/* ============ EVOLVV, design tokens ============ */
:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --muted: #767676;
  --faint: #a8a8a8;
  --line: #e7e7e7;
  --card: #f3f3f3;
  --accent: #4f25ec;        /* deep violet, agent ring / selection */
  --accent-dot: #6a38ff;    /* dot / glow */
  --accent-soft: #c8b8ff;   /* halo */
  --lime: #BCF96D;          /* lime, CTAs, eyebrow balls, contact glow */
  --lime-deep: #5c9a1f;     /* darker lime, readable text on white */
  --footer-bg: #050505;

  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --pad: clamp(20px, 4.5vw, 80px);
  --maxw: 1680px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  overflow-x: clip;
  line-height: 1.15;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--lime); color: var(--ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* ============ shared type ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.eyebrow::before {
  content: "";
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--lime) 45%, transparent);
}

.display {
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.86;
}
.italic { font-style: italic; }

.body-lg {
  font-size: clamp(17px, 1.45vw, 23px);
  line-height: 1.38;
  letter-spacing: -0.01em;
  max-width: 30ch;
  text-wrap: pretty;
}

/* ============ buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--lime);
  color: var(--ink);
  font-size: clamp(17px, 1.3vw, 21px);
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 16px 16px 16px 28px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s;
}
.btn .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--ink); color: var(--lime);
  display: grid; place-items: center;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.btn:hover { transform: translateY(-3px); background: color-mix(in srgb, var(--lime) 86%, #000); }
.btn:hover .ico { transform: rotate(45deg); }
.btn .ico svg { width: 18px; height: 18px; }

/* ============ nav ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: clamp(20px,3vw,40px) var(--pad);
  color: #fff;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
  will-change: transform;
}
.nav.nav-hidden { transform: translateY(-130%); opacity: 0; pointer-events: none; }
/* Nav text is dark on the light page; the scroll handler adds .nav-dark when the
   bar overlaps the dark footer, flipping text to white. The lime "v" keeps its
   true #BCF96D in BOTH states (no mix-blend distortion). */
.nav a, .nav button { color: var(--ink); }
.nav .sub { color: var(--muted); }
.nav.nav-dark a, .nav.nav-dark button { color: #fff; }
.nav.nav-dark .sub { color: rgba(255,255,255,.72); }

/* glowing CTA, lives OUTSIDE the nav's blend so it keeps its true violet,
   positioned right under the "AI systems studio" line */
.nav-cta {
  position: fixed; left: var(--pad); z-index: 61;
  top: calc(clamp(20px,3vw,40px) + 62px);
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--lime); color: var(--ink);
  font-size: clamp(13px, 1vw, 15px); font-weight: 600; letter-spacing: -0.01em;
  padding: 10px 11px 10px 18px; border-radius: 13px;
  animation: navGlow 2.8s ease-in-out infinite;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
  will-change: transform;
}
.nav-cta.nav-hidden { transform: translateY(-230%); opacity: 0; pointer-events: none; }
.nav-cta .ico {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--ink); color: var(--lime);
  display: grid; place-items: center;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.nav-cta .ico svg { width: 13px; height: 13px; }
.nav-cta:hover { transform: translateY(-3px); }
.nav-cta:hover .ico { transform: rotate(45deg); }
@keyframes navGlow {
  0%, 100% { box-shadow: 0 0 16px -2px color-mix(in srgb, var(--lime) 55%, transparent), 0 8px 22px -8px color-mix(in srgb, var(--lime) 50%, transparent); }
  50% { box-shadow: 0 0 30px 1px color-mix(in srgb, var(--lime) 78%, transparent), 0 10px 26px -6px color-mix(in srgb, var(--lime) 60%, transparent); }
}
@media (prefers-reduced-motion: reduce) { .nav-cta { animation: none; } }
.brand { display: flex; flex-direction: column; gap: 2px; }
.brand .mark {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1;
}
.brand .mark sup { font-size: .42em; top: -1.1em; font-weight: 500; }
.brand .sub { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: -0.01em; }

.menu-btn {
  display: flex; flex-direction: column; gap: 6px;
  width: 40px; height: 30px; justify-content: center; align-items: flex-end;
}
.menu-btn span { display: block; height: 2px; width: 30px; background: currentColor; transition: transform .4s cubic-bezier(.2,.8,.2,1), width .3s, opacity .3s; }
.menu-btn span:nth-child(2) { width: 22px; }

/* menu overlay */
.overlay {
  position: fixed; inset: 0; z-index: 80;
  background: var(--footer-bg); color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s cubic-bezier(.76,0,.24,1);
  pointer-events: none;
}
.overlay.open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.overlay-top { position: absolute; top: clamp(20px,3vw,40px); left: var(--pad); right: var(--pad);
  display: flex; justify-content: space-between; align-items: center; }
.overlay-close { font-family: var(--mono); font-size: 14px; letter-spacing: .02em; }
.overlay nav { display: flex; flex-direction: column; gap: clamp(4px, 1vh, 14px); }
.overlay nav a {
  font-size: clamp(46px, 9vw, 132px);
  font-weight: 700; letter-spacing: -0.045em; line-height: 1;
  width: max-content; position: relative;
  opacity: .55; transition: opacity .35s, transform .5s cubic-bezier(.2,.8,.2,1), color .35s;
  transform: translateY(30px);
}
.overlay.open nav a { transform: translateY(0); }
.overlay nav a:hover { opacity: 1; color: var(--lime); padding-left: 30px; }
.overlay nav a .idx { font-family: var(--mono); font-size: .16em; vertical-align: super; opacity: .6; font-weight: 500; margin-left: 10px; }
.overlay-foot { position: absolute; bottom: clamp(20px,3vw,40px); left: var(--pad); right: var(--pad);
  display: flex; gap: 40px; flex-wrap: wrap; font-family: var(--mono); font-size: 13px; color: var(--faint); }
.overlay-foot a:hover { color: #fff; }

/* ============ HERO (compact band, ring + rotating word above the fold) ============ */
.hero { position: relative; min-height: auto; padding-top: clamp(78px, 8.5vh, 116px); padding-bottom: 0; overflow: hidden; }
.hero-label { font-family: var(--mono); font-size: clamp(13px,1vw,15px); font-weight: 500; margin-left: 2px; }

.hero-topright {
  position: static; text-align: right; padding-inline: var(--pad);
  margin-top: clamp(6px, 1.4vh, 16px);
}
.hero-topright .display { font-size: min(clamp(2.4rem, 5vw, 4.8rem), 8vh); }

/* rotating word now lives BELOW the voice-agent ring */
.hero-bottom { position: static; padding-inline: var(--pad); margin-top: clamp(-56px, -4vh, -24px); padding-bottom: clamp(18px, 3.5vh, 48px); }
.hero-bottom .rot {
  font-size: min(clamp(2.4rem, 6.4vw, 7.2rem), 9.5vh);
  font-weight: 700; letter-spacing: -0.05em; line-height: 0.82;
  display: inline-block;
}
.rot-word { display: inline-block; }
.rot-word .char { display: inline-block; }

/* ===== true 3D orbital gallery =====
   .cluster      → perspective stage
   .orbit-tilt   → tilted ring plane (preserve-3d)
   .orbit-ring   → carries the orbital anchors (preserve-3d)
   .tile         → billboarded floating card */
.cluster {
  position: absolute; left: 50%; top: 52%;
  width: min(52vw, 640px); height: min(52vw, 640px);
  transform: translate(-50%, -50%);
  perspective: 1300px;
  perspective-origin: 50% 44%;
}
.cluster::before { /* soft volumetric glow behind the orbit */
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-dot) 28%, transparent), transparent 68%);
  filter: blur(54px); opacity: .55; z-index: 0; pointer-events: none;
}
.orbit-tilt {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(-13deg) rotateZ(-3deg);
}
.orbit-ring {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
}
.tile {
  position: absolute; left: 50%; top: 50%;
  width: clamp(112px, 13vw, 178px); aspect-ratio: 4/5;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 34px 64px -26px rgba(0,0,0,.34), 0 6px 16px -10px rgba(0,0,0,.22);
  transform-style: preserve-3d;
  will-change: transform, filter, opacity;
  cursor: pointer;
  /* glassmorphism edge */
  outline: 1px solid rgba(255,255,255,.14); outline-offset: -1px;
}

/* placeholder visuals */
.ph {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 8px, transparent 8px 16px),
    var(--ph, linear-gradient(150deg,#2a2540,#0e0c1a));
  position: relative;
  display: grid; place-items: end start;
}
.ph .cap { font-family: var(--mono); font-size: 9px; letter-spacing: .04em; color: rgba(255,255,255,.62); padding: 8px 9px; text-transform: lowercase; }
/* enlarged tile captions (About section), same bottom-left anchor */
.ph .cap.cap-lg { font-size: clamp(13px, 1.05vw, 17px); color: rgba(255,255,255,.9); letter-spacing: -0.01em; text-transform: none; padding: 12px 14px; font-weight: 500; }

/* ============ generic section ============ */
section { position: relative; }
.section-pad { padding-block: clamp(90px, 14vh, 200px); }

.lime-v { color: #BCF96D !important; }
.srv { scroll-margin-top: 104px; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ============ INTRO (the future) ============ */
.intro { padding-top: clamp(60px, 10vh, 120px); }
.intro-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.intro .display { font-size: clamp(4rem, 15vw, 17rem); white-space: nowrap; }
.intro-sub { display: flex; flex-direction: column; gap: clamp(40px, 8vh, 120px); align-items: flex-start; padding-top: clamp(20px,4vh,60px); }

/* ============ ABOUT (oversized word + images) ============ */
.about { padding-block: clamp(80px,12vh,160px); }
.about-word {
  position: relative;
  font-size: clamp(5rem, 28vw, 30rem);
  font-weight: 700; letter-spacing: -0.05em; line-height: .8;
  display: flex; align-items: center; justify-content: center;
  margin-block: clamp(20px,5vh,80px);
}
.about-word .floattile {
  position: absolute; width: clamp(120px, 16vw, 230px); aspect-ratio: 4/5;
  border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(0,0,0,.4); z-index: 0;
}
/* text label rides above the tiles, mix-blend keeps it visible everywhere:
   dark over the white page, auto-inverting to light where it crosses a tile */
.about-word > span { position: relative; z-index: 1; color: #fff; mix-blend-mode: difference; }
.about-word .ft-1 { left: 3%; bottom: 6%; }
.about-word .ft-2 { left: 50%; top: -42%; transform: translateX(-50%); aspect-ratio: 3/4; }
.about-word .ft-3 { right: 3%; bottom: 4%; }
.about-copy { display: flex; justify-content: flex-end; }

/* ============ WHAT WE DO ============ */
.wwd-head { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 28px; }
.wwd-head .display { font-size: clamp(3.4rem, 11vw, 13rem); }
.service-list { margin-top: clamp(50px, 9vh, 120px); border-top: 1px solid var(--line); }
.srv {
  display: grid;
  grid-template-columns: 90px minmax(180px, 1fr) 1.3fr 1fr;
  gap: clamp(20px,3vw,50px);
  align-items: center;
  padding-block: clamp(34px, 5vh, 64px);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.srv .num { font-family: var(--mono); font-style: italic; font-size: clamp(15px,1.2vw,19px); color: var(--muted); }
.srv-visual { position: relative; height: clamp(110px,11vw,150px); }
.srv-visual .stack {
  position: absolute; width: clamp(78px,8vw,116px); aspect-ratio: 1; border-radius: 16px; overflow: hidden; top: 50%; left: 30%;
  box-shadow: 0 20px 40px -22px rgba(0,0,0,.4);
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
}
.srv-visual .s1 { transform: translate(-60%,-50%) rotate(-9deg); z-index: 1; }
.srv-visual .s2 { transform: translate(-10%,-50%) rotate(0deg); z-index: 3; }
.srv-visual .s3 { transform: translate(40%,-50%) rotate(9deg); z-index: 2; }
.srv:hover .s1 { transform: translate(-95%,-50%) rotate(-15deg); }
.srv:hover .s3 { transform: translate(75%,-50%) rotate(15deg); }
.srv:hover .s2 { transform: translate(-10%,-58%) rotate(0deg); }
.srv-title { font-size: clamp(1.9rem, 3.4vw, 3.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: .95; transition: color .3s; }
.srv:hover .srv-title { color: var(--lime-deep); }
.srv-desc { font-size: clamp(15px,1.15vw,18px); line-height: 1.45; color: var(--muted); max-width: 32ch; text-wrap: pretty; }
.srv-cat { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.srv-cat .lab { font-family: var(--mono); font-size: 13px; color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--ink); border-radius: 14px; padding: 9px 18px; font-size: clamp(14px,1vw,17px); font-weight: 500; white-space: nowrap; transition: background .3s, color .3s; }
.srv:hover .chip { background: var(--ink); color: #fff; }

/* ============ WORKS ============ */
.works-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 30px; }
.works-head .display { font-size: clamp(3.4rem, 9vw, 9rem); }
.works-head .italic { font-size: clamp(2.4rem, 5.5vw, 5.5rem); font-weight: 700; }
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px,2vw,30px); margin-top: clamp(40px,7vh,90px); }
.work {
  border-radius: 22px; overflow: hidden; position: relative; aspect-ratio: 16/10;
  box-shadow: 0 40px 80px -50px rgba(0,0,0,.5);
}
.work.big { grid-column: span 7; } .work.small { grid-column: span 5; }
.work .meta { position: absolute; left: 22px; bottom: 18px; color:#fff; z-index:2; }
.work .meta h4 { font-size: clamp(20px,1.7vw,26px); font-weight: 700; letter-spacing: -0.02em; }
.work .meta p { font-family: var(--mono); font-size: 12px; opacity: .8; margin-top: 4px; }
.work .ph { transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.work:hover .ph { transform: scale(1.05); }
.work .viewmore {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  font-family: var(--mono); font-size: 12px; color: #fff; border: 1px solid rgba(255,255,255,.4);
  padding: 8px 14px; border-radius: 30px; backdrop-filter: blur(4px);
  display: inline-flex; gap: 8px; align-items: center;
  transition: background .3s, border-color .3s;
}
.work[data-work-open] { cursor: pointer; }
.work[data-work-open]:hover .viewmore { background: var(--lime); color: var(--ink); border-color: var(--lime); }

/* ----- Flowstate brand lockup ----- */
.work-logo {
  position: absolute; top: clamp(16px,1.4vw,22px); left: clamp(16px,1.4vw,24px); z-index: 3;
  display: inline-flex; align-items: center; gap: 9px; color: #fff;
}
.work-logo .wl-mark {
  width: 28px; height: 28px; flex: none; display: grid; place-items: center;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.28);
  border-radius: 9px; backdrop-filter: blur(6px);
}
.work-logo .wl-mark svg { width: 18px; height: 17px; }
.work-logo .wl-mark.wl-img { background: #fff; border-color: rgba(255,255,255,.5); padding: 0; overflow: hidden; }
.work-logo .wl-mark.wl-img img { width: 100%; height: 100%; object-fit: cover; }
.work-logo .wl-name { font-size: clamp(15px,1.1vw,18px); font-weight: 700; letter-spacing: -0.025em; }

/* ============ Flowstate case-study modal ============ */
.work-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: clamp(16px,3vw,40px); }
.work-modal[hidden] { display: none; }
.wm-backdrop { position: absolute; inset: 0; background: rgba(8,8,10,.62); backdrop-filter: blur(7px); opacity: 0; transition: opacity .4s ease; }
.work-modal.open .wm-backdrop { opacity: 1; }
.wm-panel {
  position: relative; z-index: 2; width: min(960px, 100%); max-height: 90vh; overflow: auto;
  background: #0e0f13; color: #fff; border-radius: 26px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 50px 130px -30px rgba(0,0,0,.75);
  transform: scale(.96) translateY(14px); opacity: 0;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .4s ease;
}
.work-modal.open .wm-panel { transform: none; opacity: 1; }
.wm-panel { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.22) transparent; }
.wm-panel::-webkit-scrollbar { width: 14px; }
/* keep the thumb clear of the panel's rounded corners (radius 26px) */
.wm-panel::-webkit-scrollbar-track { margin: 26px 0; background: transparent; }
.wm-panel::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.2); border-radius: 99px;
  border: 4px solid transparent; background-clip: padding-box;
}
.wm-panel::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.34); background-clip: padding-box; }
.wm-close {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.4);
  color: #fff; font-size: 15px; display: grid; place-items: center;
  backdrop-filter: blur(6px); transition: background .25s;
}
.wm-close:hover { background: rgba(0,0,0,.7); }

.wm-media {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 10px, transparent 10px 20px),
    var(--wm-grad, linear-gradient(135deg,#7a2f1e,#ff7a3d));
  display: grid; place-items: center;
}
.wm-fallback { display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.92); text-align: center; }
.wm-play { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; font-size: 18px; padding-left: 4px; }
.wm-fallback-t { font-weight: 600; font-size: clamp(15px,1.3vw,18px); letter-spacing: -0.01em; }
.wm-fallback-s { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.65); }
.wm-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .5s ease; }
.wm-video.ready { opacity: 1; }
.wm-media .wm-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.wm-media.has-embed .wm-fallback { opacity: 0; }

.wm-body { padding: clamp(24px,3.2vw,46px); }
.wm-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(18px,2.2vw,28px); }
.wm-head .work-logo { position: static; }
.wm-tag { font-family: var(--mono); font-size: 12px; color: var(--lime); border: 1px solid color-mix(in srgb, var(--lime) 45%, transparent); padding: 7px 13px; border-radius: 30px; white-space: nowrap; }
.wm-title { font-size: clamp(1.7rem,3.4vw,2.8rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
.wm-lead { margin-top: 14px; font-size: clamp(15px,1.25vw,18px); line-height: 1.5; color: rgba(255,255,255,.74); max-width: 62ch; text-wrap: pretty; }
.wm-steps { list-style: none; margin-top: clamp(24px,3vw,38px); display: grid; gap: clamp(14px,1.6vw,20px); }
.wm-steps li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.wm-steps .n { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--lime); color: #13230a; font-family: var(--mono); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.wm-steps b { display: block; font-size: clamp(16px,1.35vw,19px); font-weight: 650; letter-spacing: -0.015em; margin-bottom: 3px; }
.wm-steps li span:last-child { display: block; color: rgba(255,255,255,.7); font-size: clamp(14px,1.05vw,16px); line-height: 1.46; text-wrap: pretty; }
@media (max-width: 560px) { .wm-head { flex-direction: column; align-items: flex-start; } }

/* ============ TEAM ============ */
.team-head { max-width: 1100px; margin-left: auto; text-align: right; }
.team-head .display { font-size: clamp(2.4rem, 5.2vw, 5.4rem); letter-spacing: -0.035em; line-height: 1.04; max-width: 26ch; margin-left: auto; }
.team-head .team-sub { max-width: 52ch; margin-left: auto; }
.team-strip { display: flex; justify-content: center; gap: clamp(12px,1.5vw,24px); margin-top: clamp(50px,9vh,110px); flex-wrap: wrap; }
.member { width: clamp(146px,13.5vw,208px); aspect-ratio: 3/4; border-radius: 20px; overflow: hidden; position: relative; background: #121218; isolation: isolate;
  box-shadow: 0 26px 54px -32px rgba(0,0,0,.55); transition: transform .55s cubic-bezier(.2,.8,.2,1), box-shadow .55s cubic-bezier(.2,.8,.2,1); }
.member::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); pointer-events: none; }
.member:hover { transform: translateY(-12px) scale(1.035); box-shadow: 0 46px 90px -38px rgba(0,0,0,.62); z-index: 5; }
.member .ph { position: absolute; inset: 0; z-index: 1; }
.member .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--fy,38%);
  transform: scale(var(--z,1.18)); transform-origin: 50% var(--fy,38%); transition: transform .65s cubic-bezier(.2,.8,.2,1); }
.member:hover .ph img { transform: scale(calc(var(--z,1.18) + .07)); }
.member .scrim { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(7,7,9,.94) 4%, rgba(7,7,9,.55) 24%, rgba(7,7,9,0) 50%); }
.member .tag { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 0 14px 15px; text-align: left; }
.member .tag b { display: block; color: #fff; font-size: clamp(14px,1.05vw,16.5px); font-weight: 700; letter-spacing: -.02em; }
.member .tag span { display: block; margin-top: 4px; color: rgba(255,255,255,.7); font-family: var(--mono); font-size: clamp(9.5px,.72vw,11px); line-height: 1.32; text-wrap: balance; }

/* ============ CONTACT ============ */
.contact { padding-block: clamp(90px,16vh,220px); position: relative; }
.contact .display { font-size: clamp(4rem, 16vw, 18rem); }
.contact-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-top: clamp(30px,5vh,60px); }
.contact .glow { position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, var(--lime), transparent 65%); filter: blur(40px); opacity:.6;
  right: 22%; top: 40%; pointer-events: none; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-26px); } }

/* ============ FOOTER ============ */
.footer { background: var(--footer-bg); color: #fff; padding-top: clamp(50px,7vh,90px); padding-bottom: clamp(30px,4vh,50px); overflow: hidden; }
.footer .wordmark { font-size: clamp(5rem, 24vw, 26rem); font-weight: 700; letter-spacing: -0.05em; line-height: .8; }
.footer .wordmark sup { font-size: .28em; top: -1.6em; }
.footer-cols { display: flex; gap: clamp(50px,10vw,140px); flex-wrap: wrap; margin-top: clamp(40px,6vh,70px); }
.fcol h5 { font-family: var(--mono); font-size: 16px; font-weight: 600; margin-bottom: 26px; }
.fcol ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.fcol a { font-family: var(--mono); font-size: 15px; color: rgba(255,255,255,.66); transition: color .25s, padding .25s; }
.fcol a:hover { color: #fff; padding-left: 6px; }
.footer-email { margin-left: auto; align-self: flex-end; }
.footer-email a { font-family: var(--mono); font-size: clamp(15px,1.4vw,20px); }
.footer-email a:hover { color: var(--lime); }
.fcol-contact { margin-left: auto; }
.fcol-contact .contact-list { gap: 20px; }
.fcol-contact .contact-list > li > a { font-size: clamp(15px,1.3vw,18px); color: #fff; }
.fcol-contact .contact-list > li > a:hover { color: var(--lime); padding-left: 0; }
.fcol-contact .ci { display: flex; flex-direction: column; gap: 3px; font-family: var(--mono); font-size: 15px; }
.fcol-contact .ci .ci-lab { color: #fff; }
.fcol-contact .ci .ci-val { color: rgba(255,255,255,.55); font-size: 13px; }
.fcol-contact .wa { display: inline-flex; align-items: center; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: clamp(50px,8vh,90px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14);
  font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.5); }
.socials { display: flex; gap: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; transition: background .25s, color .25s; }
.socials a:hover { background: #fff; color: #000; }
.socials svg { width: 16px; height: 16px; }

/* ============ responsive ============ */
@media (max-width: 1000px) {
  .srv { grid-template-columns: 60px 1fr; row-gap: 18px; }
  .srv .num { grid-row: 1; }
  .srv-visual { grid-column: 2; }
  .srv-title { grid-column: 2; }
  .srv-desc { grid-column: 2; }
  .srv-cat { grid-column: 2; }
  .work.big, .work.small { grid-column: span 12; }
  .about-word .floattile { display: none; }
  .hero-topright { position: static; text-align: left; padding: 0 var(--pad); margin-top: 30px; }
  .cluster { position: relative; left: auto; top: auto; transform: none; margin: 40px auto; width: min(78vw, 420px); height: min(78vw,420px); animation-play-state: running; }
  .hero { min-height: auto; padding-bottom: 40px; }
  .hero-bottom { position: static; margin-top: 20px; padding: 0 var(--pad); }
}
@media (max-width: 600px) {
  .intro .display { white-space: normal; }
  .team-strip { flex-wrap: wrap; }
}

/* keep the one-line intro from overflowing on small laptops/tablets */
@media (max-width: 1300px) { .intro .display { white-space: normal; } }

/* ============ mobile + tablet polish ============ */
@media (max-width: 1000px) {
  /* push the hero word clear of the fixed nav + glowing CTA so they don't overlap */
  .hero { padding-top: 152px; padding-bottom: 24px; }
  .hero-topright { margin-top: 0; }
  .hero-topright .display { font-size: clamp(2.6rem, 13vw, 4.2rem); line-height: .9; }

  /* tame oversized display type so nothing clips on a phone */
  .intro { padding-top: clamp(40px, 7vh, 80px); }
  .intro .display { font-size: clamp(2.8rem, 15vw, 5rem); white-space: normal; line-height: .92; }
  .intro-row { gap: 24px; }
  .about-word { font-size: clamp(3rem, 20vw, 6.5rem); margin-block: clamp(16px,4vh,40px); }
  .wwd-head { align-items: flex-start; text-align: left; }
  .wwd-head .display { font-size: clamp(2.6rem, 13vw, 5rem); }
  .works-head { align-items: flex-start; }
  .works-head .display { font-size: clamp(2.8rem, 14vw, 5rem); }
  .works-head .italic { font-size: clamp(1.8rem, 8vw, 3.2rem); }
  .srv-title { font-size: clamp(1.6rem, 7.5vw, 2.6rem); }
  .team-head { text-align: left; }
  .team-head .display { font-size: clamp(1.9rem, 7.4vw, 3.2rem); margin-left: 0; max-width: none; }
  .team-head .team-sub { margin-left: 0; }
  .about-copy { justify-content: flex-start; }
  .contact .display { font-size: clamp(3rem, 17vw, 6.5rem); line-height: .9; }
  .footer .wordmark { font-size: clamp(3.4rem, 21vw, 8rem); }
  .footer-email { margin-left: 0; align-self: flex-start; }
  .fcol-contact { margin-left: 0; }
  .footer-cols { gap: 40px; }

  /* comfortable tap target for the eyebrow + buttons */
  .btn { font-size: 17px; }
}

@media (max-width: 400px) {
  .hero { padding-top: 142px; }
  .hero-topright .display { font-size: clamp(2.3rem, 12.5vw, 3rem); }
  .nav-cta { font-size: 12.5px; padding: 9px 10px 9px 15px; }
  .nav-cta .ico { width: 24px; height: 24px; }
}
