:root {
  --ink: #071942;
  --muted: #52627b;
  --sage: #4f7a55;
  --sage-soft: #eaf1ec;
  --ice: #f4f8fb;
  --acid: #d7ff4f;
  --coral: #ff6b4a;
  --line: #dfe7ee;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(7, 25, 66, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #f8fbfd 48%, #fff 100%);
  cursor: none;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 4px;
}
main {
  overflow-x: clip;
  overflow-y: visible;
}
.lucide { width: 1em; height: 1em; stroke-width: 1.8; }

.cursor-dot,
.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  pointer-events: none;
  border-radius: 999px;
  transform: translate3d(-50%, -50%, 0);
}

.cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--ink);
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(7, 25, 66, 0.35);
  mix-blend-mode: multiply;
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

body.cursor-active .cursor-ring {
  width: 68px;
  height: 68px;
  border-color: rgba(79, 122, 85, 0.35);
  background: rgba(215, 255, 79, 0.18);
}

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 84px;
  padding: 0 max(22px, calc((100vw - 1440px) / 2 + 42px));
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(223, 231, 238, 0.78);
  backdrop-filter: blur(20px);
}
.brand { display: flex; align-items: center; gap: 16px; font-size: 13px; text-transform: uppercase; font-weight: 700; }
.brand-copy { display: grid; gap: 3px; line-height: 1; }
.brand-copy strong { letter-spacing: 0.14em; }
.brand-copy small { color: var(--sage); font-size: 10px; letter-spacing: 0.16em; }
.monogram { font-family: Georgia, "Times New Roman", serif; font-size: 38px; color: var(--ink); letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 3vw, 46px); color: #2a3854; font-size: 14px; }
.download, .primary, .secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border: 1px solid var(--ink); border-radius: 2px; font-weight: 700;
}
.download { min-height: 44px; background: #fff; font-size: 14px; }
.primary { background: var(--ink); color: #fff; box-shadow: 8px 8px 0 var(--acid); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.primary:hover { transform: translate(-3px, -3px); box-shadow: 13px 13px 0 var(--acid); }
.secondary { border: 0; border-bottom: 1px solid var(--sage); color: var(--ink); padding-inline: 12px; }
.menu-button { display: none; border: 0; background: transparent; color: var(--ink); font-size: 22px; }

.hero {
  position: relative;
  width: min(1440px, 100%);
  min-height: 880px;
  margin: 0 auto;
  padding: 178px 42px 178px;
  display: grid;
  grid-template-columns: minmax(480px, 1.04fr) minmax(480px, 0.96fr);
  align-items: center;
  gap: 10px;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(7, 25, 66, 0.18);
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.hero::before {
  width: 150px;
  height: 150px;
  right: 16%;
  top: 150px;
  transform: rotate(14deg);
  animation: floatCard 8s ease-in-out infinite;
}

.hero::after {
  width: 106px;
  height: 106px;
  left: 43%;
  bottom: 220px;
  transform: rotate(-18deg);
  animation: floatCard 7s ease-in-out infinite reverse;
}
.topography {
  position: absolute;
  inset: 70px -4vw 0 14vw;
  background:
    repeating-radial-gradient(ellipse at 35% 20%, transparent 0 28px, rgba(79, 122, 85, 0.11) 29px 30px),
    linear-gradient(180deg, rgba(244, 248, 251, 0.2), rgba(244, 248, 251, 0.8));
  mask-image: linear-gradient(180deg, transparent, black 16%, black 78%, transparent);
  opacity: 0.65;
}
.hero-copy { position: relative; z-index: 2; max-width: 670px; }
.editor-chip {
  display: inline-flex;
  margin-top: 20px;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  background: var(--acid);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: rotate(-2deg);
  box-shadow: 7px 7px 0 rgba(7, 25, 66, 0.1);
}
.eyebrow, .section-kicker {
  display: inline-flex; align-items: center; gap: 8px; color: var(--sage);
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800;
}
h1, h2, h3, p { margin: 0; }
.hero h1, .hero h2, .section h2, .cta h2 {
  font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: 0;
}
.hero h1 { margin-top: 22px; max-width: 690px; font-size: 78px; line-height: 0.94; }
.hero h1 {
  animation: headlineIn 0.95s cubic-bezier(0.2, 0.85, 0.18, 1) both;
}
.hero h2 { margin-top: 22px; max-width: 620px; font-size: 46px; line-height: 1.04; color: var(--sage); }
.hero p { margin-top: 28px; max-width: 590px; font-size: 18px; line-height: 1.62; color: #263752; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; }

.portrait-stage { position: relative; min-height: 650px; display: flex; align-items: flex-end; justify-content: center; }
.portrait-stage::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 78px 60px 36px 112px;
  background:
    radial-gradient(ellipse at 54% 42%, rgba(244, 248, 251, 0.92), rgba(255, 255, 255, 0.4) 52%, transparent 76%),
    linear-gradient(135deg, rgba(244, 248, 251, 0.36), rgba(255, 255, 255, 0));
  border: 1px solid rgba(223, 231, 238, 0.34);
}
.three-scene { position: absolute; z-index: 1; inset: 0 15% 10% 0; opacity: 0.42; pointer-events: none; }
.portrait {
  position: relative; z-index: 3; width: min(710px, 112%); max-height: 730px; object-fit: contain;
  transform: translateX(-34px);
  filter: saturate(0.98) drop-shadow(0 34px 38px rgba(7, 25, 66, 0.16));
  animation: portraitFloat 6.5s ease-in-out infinite;
}
.floating-stack { position: absolute; z-index: 4; right: -10px; top: 142px; display: grid; gap: 16px; width: min(292px, 42%); }
.expertise-pill {
  display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 12px; min-height: 74px;
  padding: 15px 18px; background: rgba(255,255,255,0.82); border: 1px solid rgba(223,231,238,0.88);
  box-shadow: 0 14px 36px rgba(7,25,66,0.08); backdrop-filter: blur(18px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.28;
  transform-style: preserve-3d;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}
.expertise-pill:hover {
  background: #fff;
  box-shadow: 10px 10px 0 rgba(7, 25, 66, 0.08), 0 18px 40px rgba(7,25,66,0.12);
}
.expertise-pill svg, .stat svg { color: var(--sage); }

.motion-sticker {
  position: absolute;
  z-index: 5;
  padding: 9px 12px;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 6px 6px 0 rgba(7, 25, 66, 0.11);
  pointer-events: none;
}

.sticker-one { left: -2%; top: -20px; transform: rotate(-8deg); animation: stickerDrift 5s ease-in-out infinite; }
.sticker-two { left: 8%; bottom: 96px; background: var(--acid); transform: rotate(8deg); animation: stickerDrift 6s ease-in-out infinite reverse; }
.sticker-three { right: 11%; bottom: 80px; color: #fff; background: var(--ink); transform: rotate(-4deg); animation: stickerDrift 5.8s ease-in-out infinite; }
.stockholm {
  position: absolute; left: 0; right: 0; bottom: 120px; height: 160px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.92)), linear-gradient(90deg, rgba(7,25,66,0.08) 0 3px, transparent 3px 7px);
  clip-path: polygon(0 88%, 5% 72%, 8% 88%, 10% 52%, 12% 88%, 16% 76%, 23% 84%, 30% 70%, 38% 86%, 48% 78%, 58% 90%, 70% 74%, 82% 88%, 100% 68%, 100% 100%, 0 100%);
  opacity: 0.42;
}

.stats-panel {
  position: relative; z-index: 8; width: min(1260px, calc(100% - 84px)); margin: -118px auto 100px;
  display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255,255,255,0.92);
  border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(18px);
}
.stat { min-height: 178px; padding: 30px 24px; text-align: center; display: grid; justify-items: center; gap: 6px; border-right: 1px solid var(--line); transform-style: preserve-3d; transition: background 0.25s ease, transform 0.25s ease; }
.stat:hover { background: rgba(215, 255, 79, 0.18); }
.stat:last-child { border-right: 0; }
.stat strong { max-width: 100%; font-family: Georgia, "Times New Roman", serif; font-size: 28px; line-height: 1.05; font-weight: 500; overflow-wrap: anywhere; }
.stat span, .stat p { color: var(--muted); }
.stat p { font-size: 14px; line-height: 1.4; }

.motion-marquee {
  width: 100%;
  overflow: hidden;
  margin: -42px 0 92px;
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
  transform: rotate(-1deg) scale(1.02);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  padding: 18px 0;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 44px);
  white-space: nowrap;
}

.marquee-track i {
  width: 12px;
  height: 12px;
  background: var(--acid);
  display: block;
  transform: rotate(45deg);
}

.section { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin: 24px 0 44px; }
.section-heading h2, .experience-band h2, .about-grid h2, .cta h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.08; }
.section-heading p { max-width: 410px; color: var(--muted); line-height: 1.65; font-size: 17px; }

.solutions {
  padding: 20px 0 120px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.solution-item {
  position: relative;
  min-height: 430px;
  padding: 34px 30px 38px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  transition: background 0.25s ease;
}

.solution-item:last-child { border-right: 0; }
.solution-item:hover { background: rgba(215, 255, 79, 0.12); }

.solution-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  color: var(--sage);
  font-size: 24px;
}

.solution-number {
  margin-top: 38px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.solution-item h3 {
  margin-top: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.04;
  font-weight: 500;
}

.solution-item > p:not(.solution-number) {
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.solution-outcome {
  margin-top: auto;
  padding-top: 26px;
  color: #315d3b;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}
.work-scroll {
  position: relative;
  --work-scroll-distance: 0px;
  --work-end-hold: 280px;
  height: calc(100vh + var(--work-scroll-distance) + var(--work-end-hold));
  margin-top: 20px;
}

.work-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  overflow: hidden;
  display: block;
  padding: 56px 0 64px;
  background:
    radial-gradient(circle at 10% 20%, rgba(215, 255, 79, 0.18), transparent 20%),
    linear-gradient(180deg, #f8fbfd, #ffffff);
  border-block: 1px solid var(--line);
}

.work-intro {
  position: relative;
  z-index: 4;
  left: auto;
  top: auto;
  width: min(100% - 48px, 1080px);
  max-width: none;
  margin: 0 auto 28px;
}

.work-intro h2 {
  margin-top: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 62px;
  line-height: 0.92;
  letter-spacing: 0;
}

.work-intro p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.work-track {
  display: flex;
  gap: 72px;
  width: auto;
  padding-left: max(42px, calc((100vw - 1240px) / 2 + 42px));
  padding-right: max(42px, calc((100vw - 1240px) / 2 + 42px));
  margin-top: 0;
  overflow-x: visible;
  scroll-snap-type: none;
  scrollbar-width: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.work-track::-webkit-scrollbar { display: none; }

.work-card {
  position: relative;
  flex: 0 0 min(500px, 78vw);
  width: min(500px, 78vw);
  margin-top: 0;
  scroll-snap-align: center;
  transform-style: preserve-3d;
}

.work-card.offset { margin-top: 72px; }

.see-more-card {
  width: min(520px, 78vw);
  min-height: 520px;
  display: grid;
  align-items: center;
}

.see-more-panel {
  min-height: 430px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  border: 1px solid var(--ink);
  background:
    radial-gradient(circle at 18% 18%, rgba(215, 255, 79, 0.55), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(244,248,251,0.72));
  box-shadow: 18px 18px 0 rgba(7, 25, 66, 0.1);
  backdrop-filter: blur(18px);
}

.see-more-panel h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 5vw, 78px);
  line-height: 0.95;
  font-weight: 500;
}

.see-more-panel p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.work-number {
  position: absolute;
  left: -22px;
  top: -40px;
  z-index: 3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 84px;
  color: var(--acid);
  -webkit-text-stroke: 1px var(--ink);
  text-shadow: 7px 7px 0 rgba(7, 25, 66, 0.08);
}

.work-card img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  border: 1px solid var(--ink);
  box-shadow: 18px 18px 0 rgba(7, 25, 66, 0.1);
  filter: saturate(1.03);
}

.work-copy {
  margin-top: 18px;
  padding: 0 4px;
}

.work-copy h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 500;
}

.work-type {
  margin: 6px 0 9px;
  color: var(--sage);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.work-copy p:not(.work-type) {
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
}

.work-description {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.55;
}

.work-copy p:not(.work-type) + p { margin-top: 6px; }
.work-copy p strong { color: var(--ink); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tags span { padding: 5px 10px; background: var(--sage-soft); color: #315d3b; font-size: 12px; font-weight: 700; }

.audit-band {
  width: 100%;
  padding: 120px 24px;
  background: var(--ink);
  color: #fff;
}

.audit-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px, 0.84fr) minmax(520px, 1.16fr);
  gap: clamp(56px, 8vw, 110px);
  align-items: start;
}

.audit-band .section-kicker { color: var(--acid); }

.audit-heading h2 {
  margin-top: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 0.98;
  font-weight: 500;
}

.audit-heading > p {
  margin-top: 28px;
  max-width: 510px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.65;
}

.audit-heading .primary { margin-top: 38px; background: var(--acid); color: var(--ink); box-shadow: 8px 8px 0 rgba(255, 255, 255, 0.22); }
.audit-heading .primary:hover { box-shadow: 13px 13px 0 rgba(255, 255, 255, 0.22); }

.audit-details {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.deliverables { padding: 34px 0 42px; }
.deliverables ul { margin: 28px 0 0; padding: 0; display: grid; gap: 22px; list-style: none; }
.deliverables li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; color: rgba(255, 255, 255, 0.7); line-height: 1.55; }
.deliverables li svg { margin-top: 2px; color: var(--acid); }
.deliverables li strong { color: #fff; }

.process-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.process-steps li {
  min-height: 190px;
  padding: 26px;
  display: grid;
  align-content: start;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.process-steps span { color: var(--acid); font-size: 12px; font-weight: 900; letter-spacing: 0.12em; }
.process-steps strong { margin-top: 22px; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; }
.process-steps p { margin-top: 10px; color: rgba(255, 255, 255, 0.62); line-height: 1.5; }

.experience-band {
  width: min(1080px, calc(100% - 48px));
  margin-top: 110px; padding: 78px clamp(24px, 5vw, 70px); display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 56px;
  background: repeating-radial-gradient(ellipse at 0% 100%, transparent 0 28px, rgba(79,122,85,0.08) 29px 30px), linear-gradient(110deg, #f6fbfd, #ffffff);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transform-style: preserve-3d;
}
.experience-band h2 { margin-top: 22px; }
.experience-intro { margin-top: 24px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.timeline { display: grid; gap: 22px; }
.timeline article { display: grid; grid-template-columns: 60px 0.65fr 1fr; gap: 26px; align-items: start; padding: 10px 0 28px; border-bottom: 1px solid var(--line); }
.timeline svg, .check-list svg, .certs svg { color: var(--sage); flex: 0 0 auto; }
.timeline h3 { font-size: 24px; }
.timeline p { color: var(--muted); line-height: 1.55; }
.timeline span { display: inline-block; margin-top: 8px; color: var(--sage); font-weight: 700; }

.tech-stack {
  width: 100%;
  max-width: none;
  margin-top: 110px;
  padding: 100px max(24px, calc((100vw - 1180px) / 2)) 110px;
  color: #f7f2ff;
  background:
    radial-gradient(circle at 24% 26%, rgba(139, 92, 246, 0.22), transparent 18%),
    radial-gradient(circle at 72% 62%, rgba(215, 255, 79, 0.16), transparent 20%),
    linear-gradient(135deg, #08070c 0%, #120f19 48%, #07070b 100%);
  overflow: hidden;
  position: relative;
}

.tech-stack::before,
.tech-stack::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(16px);
  opacity: 0.55;
  animation: liquidDrift 12s ease-in-out infinite;
}

.tech-stack::before {
  left: -160px;
  top: 70px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.24), transparent 64%);
}

.tech-stack::after {
  right: -140px;
  bottom: 20px;
  background: radial-gradient(circle, rgba(215, 255, 79, 0.18), transparent 64%);
  animation-delay: -5s;
}

.tech-stack .section-heading {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
  margin-bottom: 48px;
}

.tech-stack .section-kicker {
  color: var(--acid);
}

.tech-stack h2 {
  margin-top: 14px;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.82;
  font-weight: 950;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.tech-stack .section-heading p {
  color: rgba(247, 242, 255, 0.68);
  max-width: 620px;
}

.tech-group-label {
  position: relative;
  z-index: 2;
  width: min(1050px, 100%);
  margin: 0 auto 24px;
  padding-bottom: 14px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.tech-group-label span {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tech-group-label small {
  color: rgba(247, 242, 255, 0.5);
  font-size: 12px;
}

.tech-group-label-secondary {
  margin-top: 62px;
}

.tech-grid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 26px;
  max-width: 1050px;
  margin: 0 auto;
  perspective: 1200px;
}

.tech-grid a {
  width: 55px;
  height: 68px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 8px 6px 7px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(247, 242, 255, 0.88);
  font-size: 9px;
  line-height: 1.1;
  font-weight: 800;
  text-align: center;
  transform-style: preserve-3d;
  backdrop-filter: blur(8px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  animation: techIcon3d 6.8s ease-in-out infinite;
  animation-delay: calc((var(--i, 0) % 9) * -0.22s);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.tech-grid a::before {
  content: "";
  position: absolute;
  inset: -70% -120%;
  background:
    linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.32), transparent 62%),
    radial-gradient(circle at 50% 50%, rgba(215, 255, 79, 0.18), transparent 42%);
  transform: translateX(-36%) rotate(18deg);
  opacity: 0;
  transition: transform 0.55s ease, opacity 0.35s ease;
}

.tech-grid a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(215, 255, 79, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 42px rgba(0, 0, 0, 0.3),
    0 0 34px rgba(215, 255, 79, 0.16);
}

.tech-grid a:hover::before {
  opacity: 1;
  transform: translateX(34%) rotate(18deg);
}

.tech-grid img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.24));
  transform: translateZ(18px);
  animation: iconLiquidSpin 7s ease-in-out infinite;
  animation-delay: calc((var(--i, 0) % 11) * -0.18s);
}

.tech-grid span {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.about-grid { margin-top: 70px; display: grid; grid-template-columns: 1fr 1fr 1.05fr; gap: 52px; }
.about-grid h2 { margin: 18px 0; }
.about-grid p { color: var(--muted); line-height: 1.65; }
.contact-lines { display: grid; gap: 12px; margin-top: 26px; color: var(--muted); }
.contact-lines span, .contact-lines a, .check-list li, .certs p { display: flex; align-items: center; gap: 10px; }
.signature { margin-top: 34px; font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 42px; transform: rotate(-4deg); }
.check-list { margin: 24px 0 0; padding: 0; display: grid; gap: 14px; list-style: none; color: #253650; }
.certs { display: grid; gap: 16px; margin-top: 24px; }
.certs p { min-height: 54px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); color: #253650; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.certs p:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 rgba(215, 255, 79, 0.55); }

.cta { width: min(1040px, calc(100% - 48px)); margin: 76px auto 42px; padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border: 1px solid var(--ink); background: #fff; box-shadow: 14px 14px 0 rgba(7,25,66,0.08); transform-style: preserve-3d; }
.cta > div { display: grid; grid-template-columns: 60px 1fr; column-gap: 20px; align-items: center; }
.paper-plane { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--sage-soft); color: var(--sage); grid-row: span 2; }
.cta h2 { font-size: clamp(24px, 3vw, 34px); }
.cta p { color: var(--muted); margin-top: 7px; }

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

body.animations-ready .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(30px);
}

body.animations-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes floatCard {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 18px; }
}

@keyframes stickerDrift {
  0%, 100% { translate: 0 0; }
  50% { translate: 14px -10px; }
}

@keyframes portraitFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes headlineIn {
  from { opacity: 0; transform: translateY(32px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes glassFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@keyframes techIcon3d {
  0%, 100% {
    transform: rotateX(0deg) rotateY(0deg) translate3d(0, 0, 0);
  }
  35% {
    transform: rotateX(8deg) rotateY(-12deg) translate3d(0, -8px, 24px);
  }
  68% {
    transform: rotateX(-7deg) rotateY(10deg) translate3d(0, 5px, 10px);
  }
}

@keyframes iconLiquidSpin {
  0%, 100% {
    transform: translateZ(18px) rotate3d(0, 1, 0, 0deg) scale(1);
  }
  50% {
    transform: translateZ(32px) rotate3d(0.25, 1, 0.15, 12deg) scale(1.08);
  }
}

@keyframes liquidDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(46px, -28px, 0) scale(1.12); }
}

@media (max-width: 980px) {
  .nav { height: 72px; }
  .nav-links { position: absolute; top: 72px; left: 16px; right: 16px; display: none; padding: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: grid; }
  .download { display: none; }
  .menu-button { display: inline-flex; }
  .hero { grid-template-columns: 1fr; padding-top: 130px; min-height: auto; }
  .hero h1 { max-width: 760px; font-size: 64px; }
  .hero h2 { max-width: 680px; font-size: 40px; }
  .hero::before, .hero::after, .motion-sticker { display: none; }
  .portrait-stage { min-height: 610px; }
  .floating-stack { right: 4%; top: 70px; width: 250px; }
  .stats-panel { grid-template-columns: repeat(2, 1fr); margin-top: -110px; }
  .motion-marquee { margin-top: -36px; }
  .stat { border-bottom: 1px solid var(--line); }
  .section-heading, .experience-band, .about-grid, .cta { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-item { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .solution-item:last-child { border-bottom: 0; }
  .solution-outcome { margin-top: 34px; }
  .work-scroll { height: auto; }
  .work-sticky { position: relative; top: auto; height: auto; padding: 78px 0; }
  .work-intro { position: relative; left: auto; top: auto; width: min(100% - 48px, 620px); margin: 0 auto 34px; }
  .work-track { width: auto; padding: 0 24px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .work-card, .work-card.offset { margin-top: 0; scroll-snap-align: center; flex: 0 0 min(520px, 82vw); }
  .see-more-card { min-height: auto; }
  .audit-inner { grid-template-columns: 1fr; }
  .audit-heading h2 { max-width: 760px; font-size: 54px; }
  .tech-stack { padding: 86px 24px 96px; }
  .tech-grid { gap: 18px; max-width: 640px; }
  .tech-group-label { width: min(640px, 100%); }
  .timeline article { grid-template-columns: 52px 1fr; }
  .timeline article > p { grid-column: 2; }
  .cta, .cta > div { display: grid; }
}

@media (max-width: 620px) {
  .hero { padding-inline: 20px; }
  .brand { gap: 10px; }
  .brand-copy strong { font-size: 11px; }
  .brand-copy small { font-size: 9px; }
  .monogram { font-size: 32px; }
  .hero h1 { font-size: 50px; }
  .hero h2 { font-size: 34px; }
  .hero-actions { align-items: stretch; }
  .primary, .secondary { width: 100%; }
  .floating-stack { position: relative; inset: auto; width: 100%; margin-top: -18px; }
  .portrait-stage { min-height: auto; display: grid; }
  .portrait { width: 100%; }
  .three-scene { inset: 0; }
  .stats-panel { grid-template-columns: 1fr; }
  .stat { border-right: 0; }
  .stat strong { font-size: 30px; }
  .solutions { padding-bottom: 82px; }
  .solution-item { padding: 30px 22px 34px; }
  .solution-item h3 { font-size: 34px; }
  .work-card, .work-card.offset { flex-basis: 84vw; }
  .work-card img { height: 210px; }
  .work-copy h3 { font-size: 34px; }
  .see-more-panel { min-height: 380px; padding: 32px; }
  .audit-band { padding: 82px 20px; }
  .audit-heading h2 { font-size: 44px; }
  .audit-heading .primary { width: 100%; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps li { min-height: 160px; }
  .tech-stack h2 { font-size: 58px; }
  .tech-grid { gap: 14px; }
  .tech-group-label { align-items: start; flex-direction: column; gap: 7px; }
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}
