/* =========================================================
   FTPRENEUR — Hero · Concept 01 (final)
   ---------------------------------------------------------
   Every position is derived from custom properties on .hero.
   Breakpoints only override tokens, not rules, wherever possible.

   --u    1% of hero height (svh with floor)
   --pcx  portrait centre-x      --pt/--ph  portrait top / height
   --fr   disc radius            --fcy      disc centre-y
   --or   orbit radius           (orbit + disc are concentric = "around you")
   --h1   BUILT/AROUND size      --yfs      YOU. size
   ========================================================= */

:root {
  --ultra: #2E47FF;
  --mint: #00B79B;
  --marigold: #FF9E2C;
  --ink: #141B31;
  --canvas: #F8FAFC;
  --body: #3C4763;
  --muted: rgba(20, 27, 49, .58);
  --hair: rgba(20, 27, 49, .07);

  --f-display: "Bricolage Grotesque", "Schibsted Grotesk", system-ui, sans-serif;
  --f-body: "Karla", "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.16, .84, .24, 1);
  /* editorial ease-out */
  --ease-io: cubic-bezier(.7, 0, .25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--ultra);
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* =========================================================
   TOKENS — desktop ≥ 1200
   ========================================================= */
.hero {
  --H: max(100vh, 680px);
  --gx: clamp(24px, 4.4vw, 72px);

  /* message stack */
  --msg-top: calc(var(--u) * 15);
  --eb-h: 38px;
  /* eyebrow + gap */
  --h1: min(7.6vw, calc(var(--u) * 12.2));
  --yfs: min(10vw, calc(var(--u) * 16));
  --you-gap: calc(var(--h1) * .14);
  --you-top: calc(var(--msg-top) + var(--eb-h) + var(--h1) * .84 + var(--you-gap));
  --you-left: calc(var(--gx) - var(--yfs) * .045);
  --copy-top: calc(var(--you-top) + var(--yfs) * .81 + var(--u) * 4.8);
  --copy-w: min(30.5vw, 440px);

  /* portrait (cutout 660×1400 → 0.4714) */
  --ph: calc(var(--u) * 122);
  --pt: calc(var(--u) * 10.5);
  --pcx: 70.5vw;
  --pw: calc(var(--ph) * .4714);
  --pl: calc(var(--pcx) - var(--pw) / 2);

  /* disc + orbit (concentric) */
  --fr: min(21vw, calc(var(--u) * 33));
  --fcy: calc(var(--u) * 70);
  --ab: 0px;
  /* disc clipped above this distance from bottom */
  --or: calc(var(--u) * 49);
  --sa: -46deg;
  /* marigold angle on the orbit */
  --ma: -16deg;
  /* mint marker angle (inner orbit) */

  /* satellites */
  --pil-dx: 5.4vw;
  --pil-top: calc(var(--u) * 38);
  --vn-dx: 1.3vw;
  --vn-b: calc(var(--u) * 5);

  position: relative;
  height: var(--H);
  overflow: hidden;
  isolation: isolate;
}

@supports (height: 1svh) {
  .hero {
    --H: max(100svh, 680px);
  }
}

.hero {
  --u: calc(var(--H) / 100);
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  --gx: clamp(24px, 4.4vw, 72px);
  position: absolute;
  z-index: 40;
  inset: 0 0 auto 0;
  height: 92px;
  padding: 0 var(--gx);
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand__logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav__links {
  margin-left: auto;
  display: flex;
  gap: clamp(24px, 2.5vw, 40px);
}

.nav__links a {
  position: relative;
  padding: 8px 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: color .35s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background: var(--ultra);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}

.nav__links a:hover {
  color: var(--ultra);
}

.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__phone {
  margin-left: clamp(24px, 2.5vw, 40px);
  display: inline-flex;
  align-items: center;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color .3s var(--ease);
}

.nav__phone:hover {
  color: var(--ultra);
}

.nav__cta {
  margin-left: clamp(20px, 2vw, 32px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px 0 20px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: background-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}

.nav__cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .4s var(--ease);
}

.nav__cta:hover {
  color: #FFFFFF !important;
  background: var(--ultra);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -12px rgba(46, 71, 255, .7);
}

.nav__cta:hover svg {
  transform: translateX(3px);
}

.nav__cta:active {
  transform: translateY(0);
}

.nav__menu {
  display: none;
  margin-left: auto;
  margin-right: -8px;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  position: relative;
}

.nav__menu span {
  position: absolute;
  right: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: width .4s var(--ease), transform .4s var(--ease);
}

.nav__menu span:first-child {
  top: 17px;
  width: 26px;
}

.nav__menu span:last-child {
  top: 25px;
  width: 17px;
}

.nav__menu:hover span:last-child {
  width: 26px;
}

.nav a:focus-visible,
.nav__menu:focus-visible {
  outline: 2px solid var(--ultra);
  outline-offset: 4px;
  border-radius: 6px;
}

/* =========================================================
   LAYERS
   ========================================================= */
.layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
}

.layer--you {
  z-index: 4;
}

.layer--portrait {
  z-index: 5;
}

.layer--you-front {
  z-index: 6;
}

.layer--meta {
  z-index: 8;
}

.layer--msg {
  z-index: 10;
}

/* grid */
.grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.grid span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--hair);
  transform-origin: top;
}

.grid span:nth-child(1) {
  left: var(--gx);
}

.grid span:nth-child(2) {
  left: calc(var(--pcx) - var(--or));
  opacity: .7;
}

.grid span:nth-child(3) {
  right: var(--gx);
}

/* orbit */
.orbit {
  position: absolute;
  left: calc(var(--pcx) - var(--or));
  top: calc(var(--fcy) - var(--or));
  width: calc(var(--or) * 2);
  height: calc(var(--or) * 2);
}

.orbit__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orbit__outer {
  fill: none;
  stroke: rgba(46, 71, 255, .28);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.orbit__inner {
  fill: none;
  stroke: rgba(20, 27, 49, .16);
  stroke-width: 1.2;
  stroke-dasharray: 1 7;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  transform-origin: 500px 500px;
}

.orbit__node {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform: rotate(58deg);
}

.orbit__node::before {
  content: "";
  position: absolute;
  left: calc(50% - 4.5px);
  top: -4.5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ultra);
  box-shadow: 0 0 0 4px rgba(46, 71, 255, .12);
}

.orbit__mint {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  left: calc(50% + var(--or) * .84 * cos(var(--ma)) - 3.5px);
  top: calc(50% + var(--or) * .84 * sin(var(--ma)) - 3.5px);
}

/* ultramarine disc */
.field-clip {
  position: absolute;
  inset: 0 0 var(--ab) 0;
  overflow: hidden;
}

.field {
  position: absolute;
  left: calc(var(--pcx) - var(--fr));
  top: calc(var(--fcy) - var(--fr));
  width: calc(var(--fr) * 2);
  height: calc(var(--fr) * 2);
  border-radius: 50%;
  background: var(--ultra);
  overflow: hidden;
}

.field__light {
  position: absolute;
  inset: -20%;
  background: radial-gradient(38% 34% at 32% 26%, rgba(255, 255, 255, .2), transparent 70%);
}

.field::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .32;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* marigold orbital accent */
.sun {
  --sd: min(2.6vw, calc(var(--u) * 4.2));
  position: absolute;
  width: var(--sd);
  height: var(--sd);
  border-radius: 50%;
  background: var(--marigold);
  left: calc(var(--pcx) + var(--or) * cos(var(--sa)) - var(--sd) / 2);
  top: calc(var(--fcy) + var(--or) * sin(var(--sa)) - var(--sd) / 2);
  box-shadow: 0 0 0 7px rgba(255, 158, 44, .14);
}

/* =========================================================
   YOU. + PORTRAIT
   ========================================================= */
.you {
  position: absolute;
  left: var(--you-left);
  top: var(--you-top);
  bottom: var(--you-bottom, auto);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--yfs);
  line-height: .8;
  letter-spacing: .04em;
  white-space: nowrap;
  font-variation-settings: "opsz" 96;
}

.you__w {
  display: inline-block;
}

.you__dot {
  position: relative;
  display: inline-block;
  vertical-align: 0.12em;
  width: 0.16em;
  height: 0.16em;
  min-width: 14px;
  min-height: 14px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--marigold);
  margin-left: 0.1em;
  color: transparent;
  font-size: 0;
  line-height: 0;
  box-shadow: 0 0 0 1px rgba(255, 158, 44, 0.15);
}

.you__dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 158, 44, 0.55) 0%, rgba(255, 158, 44, 0) 70%);
  pointer-events: none;
  animation: dot-breath 3.6s ease-in-out infinite;
}

@keyframes dot-breath {

  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.85);
  }

  50% {
    opacity: 0.75;
    transform: scale(1.3);
  }
}

.you--solid {
  color: var(--ink);
  -webkit-text-stroke: 0 transparent;
  paint-order: stroke fill;
  pointer-events: auto;
  cursor: default;
  transition: color .6s var(--ease), -webkit-text-stroke-color .6s var(--ease);
}

.you--solid .you__dot {
  -webkit-text-stroke: 0;
}

.portrait {
  position: absolute;
  left: var(--pl);
  top: var(--pt);
  width: var(--pw);
  height: var(--ph);
  display: block;
  user-select: none;
  pointer-events: none;
}

.you-front {
  position: absolute;
  inset: 0;
  -webkit-mask: url("../images/visphy-cutout.webp") no-repeat;
  mask: url("../images/visphy-cutout.webp") no-repeat;
  -webkit-mask-size: var(--pw) var(--ph);
  mask-size: var(--pw) var(--ph);
  -webkit-mask-position: calc(var(--pl) + var(--mdx, 0px)) calc(var(--pt) + var(--mdy, 0px));
  mask-position: calc(var(--pl) + var(--mdx, 0px)) calc(var(--pt) + var(--mdy, 0px));
}

.you--line {
  color: var(--ink);
  -webkit-text-stroke: 3.5px rgba(248, 250, 252, .92);
  paint-order: stroke fill;
  transition: color .6s var(--ease), -webkit-text-stroke-color .6s var(--ease);
}

.you--line .you__dot {
  color: transparent;
  -webkit-text-stroke: 0;
}

/* YOU. hover: solid ink → ultramarine outline (behind), outline → marigold (front) */
.hero.is-you .you--solid {
  color: var(--canvas);
  -webkit-text-stroke: 5px var(--ultra);
  paint-order: stroke fill;
}

.hero.is-you .you--line {
  color: var(--ink);
  -webkit-text-stroke: 3.5px var(--marigold);
  paint-order: stroke fill;
}

/* =========================================================
   IDENTITY + DISCIPLINES
   ========================================================= */
.vname {
  position: absolute;
  left: calc(var(--pcx) - 140px);
  bottom: calc(var(--u) * 6.5);
  writing-mode: horizontal-tb;
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  pointer-events: auto;
}

.vname__name {
  order: 1;
  display: flex;
  gap: .3em;
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: .03em;
  line-height: .95;
  font-size: min(1.75vw, calc(var(--u) * 2.8));
}

.vname__a {
  color: rgba(248, 250, 252, .92);
}

.vname__b {
  color: var(--ink);
  -webkit-text-stroke: 2.2px rgba(248, 250, 252, .92);
  paint-order: stroke fill;
}

.vname__role {
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .24em;
  color: rgba(248, 250, 252, .6);
  order: 2;
}

.vname__role::after {
  display: none;
}

.pillars {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: calc(var(--u) * 1.2);
  margin-top: calc(var(--u) * 2.2);
  margin-bottom: 0;
  list-style: none;
  padding: 0;
  pointer-events: auto;
}

.pillars li {
  margin-top: 0;
}

.pillars li+li {
  margin-top: 0;
}

.pillars a,
.pillars__item {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding-left: 20px;
  transition: opacity .4s var(--ease);
}

.pillars a::before,
.pillars__item::before {
  /* connector line */
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 12px;
  height: 1px;
  background: rgba(20, 27, 49, .3);
  transform-origin: left;
  transition: transform .45s var(--ease), background-color .45s var(--ease);
}

.pillars__n {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--muted);
  transition: color .35s var(--ease);
}

.pillars__w {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.04;
  font-size: min(1.35vw, calc(var(--u) * 2.2));
  width: clamp(96px, 7.6vw, 112px);
  transition: color .35s var(--ease), transform .45s var(--ease);
}

@media (hover: hover) {
  .pillars:hover a {
    opacity: .4;
  }

  .pillars a:hover {
    opacity: 1;
  }

  .pillars a:hover::before {
    transform: scaleX(1.5);
    background: var(--ultra);
  }

  .pillars a:hover .pillars__n {
    color: var(--ultra);
  }

  .pillars a:hover .pillars__w {
    transform: translateX(3px);
  }
}

.pillars a:focus-visible {
  outline: 2px solid var(--ultra);
  outline-offset: 4px;
  border-radius: 4px;
}

/* =========================================================
   MESSAGE
   ========================================================= */
.eyebrow {
  position: absolute;
  left: var(--gx);
  top: var(--msg-top);
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  line-height: 1.5;
  text-transform: uppercase;
  color: rgba(20, 27, 49, .78);
}

.eyebrow b {
  font-weight: 500;
  color: var(--ultra);
}

.eyebrow i {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: .45em;
  border-radius: 50%;
  background: var(--mint);
}

.eyebrow i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0;
}

.br-m {
  display: none;
}

.headline {
  position: absolute;
  left: var(--gx);
  top: calc(var(--msg-top) + var(--eb-h));
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--h1);
  line-height: .83;
  letter-spacing: -.018em;
  font-variation-settings: "opsz" 96;
  color: var(--ink);
}

.headline .line {
  display: block;
  overflow: hidden;
  padding: .06em .08em 0 0;
  margin-top: -.06em;
}

.line__in {
  display: inline-block;
}

.copy {
  position: absolute;
  left: var(--gx);
  top: var(--copy-top);
  width: var(--copy-w);
  pointer-events: auto;
}

.lede {
  margin: 0;
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.55;
  color: var(--body);
  text-wrap: pretty;
}

.lede em {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}

.ctas {
  margin-top: calc(var(--u) * 2.6);
  display: flex;
  align-items: center;
  gap: 32px;
}

/* primary */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex: none;
  height: 62px;
  padding: 7px 7px 7px 26px;
  border-radius: 16px;
  background: var(--ultra);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 16px 34px -18px rgba(46, 71, 255, .7);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .45s var(--ease);
}

.btn-primary__tile {
  position: relative;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 11px;
  overflow: hidden;
  background: var(--marigold);
  color: var(--ink);
  transition: transform .45s var(--ease);
}

.btn-primary__tile svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .45s var(--ease);
}

.btn-primary:hover,
.btn-primary:hover .btn-primary__label {
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 22px 40px -18px rgba(46, 71, 255, .75);
}

.btn-primary:hover .btn-primary__tile {
  transform: translateX(2px);
}

.btn-primary:hover .btn-primary__tile svg {
  transform: translateX(3px);
}

.btn-primary:active {
  transform: translateY(0) scale(.985);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 10px 22px -14px rgba(46, 71, 255, .7);
  transition-duration: .12s;
}

.btn-primary:focus-visible {
  outline: 3px solid var(--ultra);
  outline-offset: 4px;
}

/* secondary */
.btn-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  flex: none;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .35s var(--ease);
}

.btn-ghost::before,
.btn-ghost::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1.5px;
}

.btn-ghost::before {
  background: rgba(20, 27, 49, .18);
}

.btn-ghost::after {
  background: currentColor;
  transform: scaleX(.28);
  transform-origin: left;
  transition: transform .6s var(--ease);
}

.btn-ghost svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .45s var(--ease);
}

.btn-ghost:hover {
  color: var(--ultra);
}

.btn-ghost:hover::after {
  transform: scaleX(1);
}

.btn-ghost:hover svg {
  transform: translateY(2px);
}

.btn-ghost:focus-visible {
  outline: 2px solid var(--ultra);
  outline-offset: 4px;
  border-radius: 4px;
}

.note {
  margin: calc(var(--u) * 1.8) 0 0;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  color: rgba(20, 27, 49, .45);
}

/* lower-left editorial animated loop (horizontal) */
.editorial-loop {
  margin-top: calc(var(--u) * 2.8);
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-start;
  gap: .35em;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1;
  letter-spacing: -.025em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
}

.editorial-loop__word {
  color: var(--ultra);
  font-weight: 800;
  line-height: 1;
  display: inline-block;
  vertical-align: baseline;
  transition: opacity .35s var(--ease), transform .35s var(--ease), filter .35s var(--ease);
  will-change: opacity, transform, filter;
  font-variation-settings: "opsz" 96;
}

.editorial-loop__word.is-out {
  opacity: 0;
  transform: translateY(-8px);
  filter: blur(2px);
}

.editorial-loop__word.is-in-prep {
  opacity: 0;
  transform: translateY(8px);
  filter: blur(2px);
  transition: none;
}

.editorial-loop__fixed {
  color: var(--ink);
  font-weight: 800;
  line-height: 1;
  vertical-align: baseline;
  font-variation-settings: "opsz" 96;
}

/* scroll */
.scroll {
  position: absolute;
  z-index: 9;
  right: var(--gx);
  bottom: calc(var(--u) * 4.5);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .26em;
  color: var(--muted);
}

.scroll__line {
  position: relative;
  width: 1px;
  height: 38px;
  overflow: hidden;
  background: rgba(20, 27, 49, .14);
}

.scroll__line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 45%;
  background: var(--ink);
  transform: translateY(-100%);
}

.grain {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
}

/* =========================================================
   1366 / 1280 — laptop
   ========================================================= */
@media (max-width: 1399px) {
  .hero {
    --copy-w: min(31vw, 420px);
  }
}

/* =========================================================
   1024–1199 — small laptop / landscape tablet
   ========================================================= */
@media (max-width: 1199px) {
  .hero {
    --h1: min(7.2vw, calc(var(--u) * 11));
    --yfs: min(9.6vw, calc(var(--u) * 15.3));
    --pcx: 71.5vw;
    --ph: calc(var(--u) * 110);
    --fr: min(22vw, calc(var(--u) * 31));
    --or: calc(var(--u) * 47);
    --copy-w: 36vw;
    --pil-top: calc(var(--u) * 16);
    --sa: -24deg;
  }

  .note {
    display: none;
  }

  .nav__links {
    gap: 22px;
  }

  .ctas {
    gap: 24px;
  }

  .btn-primary {
    height: 56px;
    padding-left: 22px;
    gap: 16px;
    font-size: 14px;
  }

  .btn-primary__tile {
    width: 44px;
    height: 44px;
  }
}

/* The wrapper adds no desktop box or stacking context. */
.hero__visual { display: contents; }

/* =========================================================
   ≤ 1024 — a flowing stack with one self-contained visual
   ========================================================= */
@media (max-width: 1024px) {
  .hero {
    --gx: clamp(20px, 4.4vw, 45px);
    --title-width: min(calc(100vw - var(--gx) * 2), 640px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    height: auto;
    min-height: 0;
    padding: 20px var(--gx) 48px;
  }
  .nav { position: relative; height: 72px; }
  .brand__logo { height: 36px; }
  .nav__links, .nav__cta, .nav__phone { display: none; }
  .nav__menu { display: block; }

  /* Parallax must not move flow content or detach the visual layers. */
  .hero .layer { transform: none !important; will-change: auto; }
  .hero .layer--msg { display: contents; }
  .hero .eyebrow, .hero .headline, .hero .layer--you, .hero .copy {
    position: relative;
    inset: auto;
    width: var(--title-width);
    max-width: 640px;
    margin: 0;
  }
  .hero .eyebrow {
    order: 1;
    font-size: clamp(9px, 1.3vw, 11px);
    letter-spacing: .18em;
  }
  .hero .headline {
    order: 2;
    font-size: calc(var(--title-width) * .105);
    line-height: .95;
  }
  .hero .layer--you { order: 3; margin-top: -8px; }
  .hero .you {
    position: relative;
    inset: auto;
    font-size: calc(var(--title-width) * .112);
    line-height: .9;
  }
  .hero .layer--you-front, .hero .layer--meta, .hero .scroll,
  .hero .grid span:nth-child(2) { display: none; }

  .hero__visual {
    /* All geometry uses the same width, independent of viewport height. */
    --visual-size: min(100%, 400px);
    --pcx: 50%;
    --fcy: 50%;
    --or: 44%;
    --fr: 35%;
    display: block;
    order: 4;
    position: relative;
    isolation: isolate;
    width: var(--visual-size);
    aspect-ratio: 1;
    margin: 4px 0;
  }
  .hero__visual .field-clip { inset: 0; overflow: visible; }
  .hero__visual .layer--portrait {
    /* Keep the upper half open; crop the lower body to the blue disc.
       Mask the layer so the portrait's entrance animation stays independent. */
    -webkit-mask:
      linear-gradient(#000 50%, transparent 50%),
      radial-gradient(circle closest-side, #000 calc(100% - .5px), transparent 100%)
        center / calc(var(--fr) * 2) calc(var(--fr) * 2) no-repeat;
    mask:
      linear-gradient(#000 50%, transparent 50%),
      radial-gradient(circle closest-side, #000 calc(100% - .5px), transparent 100%)
        center / calc(var(--fr) * 2) calc(var(--fr) * 2) no-repeat;
  }
  .hero__visual .portrait {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .hero__visual .sun {
    width: 5%;
    height: 5%;
    left: 80%;
    top: 18%;
  }
  .hero .copy { order: 5; }
  .hero .lede { font-size: clamp(15px, 2vw, 18px); line-height: 1.55; }
  .hero .pillars { flex-wrap: wrap; gap: 12px 20px; margin-top: 20px; }
  .hero .pillars a,
  .hero .pillars__item { padding-left: 0; gap: 5px; }
  .hero .pillars a::before,
  .hero .pillars__item::before { display: none; }
  .hero .pillars__n { font-size: 9.5px; color: var(--ultra); }
  .hero .pillars__w { width: auto; font-size: clamp(15px, 2vw, 17px); color: var(--ink); }
  .hero .ctas { flex-wrap: wrap; gap: 16px 24px; margin-top: 24px; }
  .hero .btn-primary { height: 56px; padding: 6px 6px 6px 20px; gap: 16px; font-size: 13px; }
  .hero .btn-primary__tile { width: 44px; height: 44px; }
  .hero .btn-ghost { font-size: 12px; }
  .hero .editorial-loop { margin-top: 24px; font-size: clamp(24px, 4vw, 30px); }
}

@media (max-width: 599px) {
  .hero { --title-width: calc(100vw - 90px); }
  .nav { height: 68px; }
  .brand__logo { height: 32px; }
  .hero .eyebrow { display: none; }
  .hero .copy {
    width: min(260px, calc(100vw - 72px));
  }
  /* Keep only the space already reserved below the orbit. */
  .hero__visual { margin-bottom: -16px; }
  .hero .pillars, .hero .btn-ghost { display: none; }
  .hero .ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero .btn-primary { justify-content: space-between; }
}

/* =========================================================
   ENTRANCE  (html.js → .is-ready)   total ≈ 1.8s
   ========================================================= */
.js .grid span {
  transform: scaleY(0);
}

.js .nav {
  opacity: 0;
  transform: translateY(-10px);
}

.js .eyebrow i {
  transform: scale(0);
}

.js .eyebrow span {
  clip-path: inset(0 100% 0 0);
}

.js .headline .line__in {
  transform: translateY(104%);
}

.js .field {
  clip-path: circle(0% at 50% 60%);
}

.js .portrait {
  clip-path: inset(100% -5% 0 -5%);
  transform: scale(1.02);
  transform-origin: 50% 30%;
}

.js .you {
  clip-path: inset(100% -2% -10% -2%);
  transform: translateY(.06em);
}

.js .orbit {
  opacity: 0;
  transform: scale(.97);
}

.js .sun {
  opacity: 0;
  transform: scale(.6);
}

.js .vname {
  clip-path: inset(0 0 100% 0);
}

.js .pillars li {
  opacity: 0;
  transform: translateY(10px);
}

.js .motto {
  opacity: 0;
}

.js .lede {
  opacity: 0;
  transform: translateY(14px);
}

.js .ctas>* {
  opacity: 0;
  transform: translateY(12px);
}

.js .note,
.js .scroll {
  opacity: 0;
}

.is-ready .grid span {
  transform: none;
  transition: transform 1.1s var(--ease-io);
}

.is-ready .grid span:nth-child(2) {
  transition-delay: .06s;
}

.is-ready .grid span:nth-child(3) {
  transition-delay: .12s;
}

.is-ready .nav {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease) .05s, transform .6s var(--ease) .05s;
}

.is-ready .eyebrow i {
  transform: none;
  transition: transform .45s var(--ease) .14s;
}

.is-ready .eyebrow span {
  clip-path: inset(0 0 0 0);
  transition: clip-path .7s var(--ease) .2s;
}

.is-ready .headline .line__in {
  transform: none;
  transition: transform .85s var(--ease);
}

.is-ready .headline .line:nth-child(1) .line__in {
  transition-delay: .24s;
}

.is-ready .headline .line:nth-child(2) .line__in {
  transition-delay: .34s;
}

.is-ready .field {
  clip-path: circle(71% at 50% 50%);
  transition: clip-path 1s var(--ease-io) .42s;
}

.is-ready .portrait {
  clip-path: inset(-5% -5% 0 -5%);
  transform: none;
  transition: clip-path 1.05s var(--ease-io) .52s, transform 1.3s var(--ease) .52s;
}

.is-ready .you {
  clip-path: inset(-10% -2% -10% -2%);
  transform: none;
  transition: clip-path .85s var(--ease) .74s, transform .85s var(--ease) .74s;
}

.is-ready .orbit {
  opacity: 1;
  transform: none;
  transition: opacity 1s var(--ease) .7s, transform 1.2s var(--ease) .7s;
}

.is-ready .sun {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease) 1s, transform .7s var(--ease) 1s;
}

.is-ready .vname {
  clip-path: inset(0 0 0 0);
  transition: clip-path .8s var(--ease) .92s;
}

.is-ready .pillars li {
  opacity: 1;
  transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

.is-ready .pillars li:nth-child(1) {
  transition-delay: 1s;
}

.is-ready .pillars li:nth-child(2) {
  transition-delay: 1.07s;
}

.is-ready .pillars li:nth-child(3) {
  transition-delay: 1.14s;
}

.is-ready .motto {
  opacity: 1;
  transition: opacity .8s var(--ease) 1.05s;
}

.is-ready .lede {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease) 1.1s, transform .6s var(--ease) 1.1s;
}

.is-ready .ctas>* {
  opacity: 1;
  transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

.is-ready .ctas> :nth-child(1) {
  transition-delay: 1.2s;
}

.is-ready .ctas> :nth-child(2) {
  transition-delay: 1.28s;
}

.is-ready .note,
.is-ready .scroll {
  opacity: 1;
  transition: opacity .8s var(--ease) 1.35s;
}

/* after the entrance, restore the interactive transitions */
.is-settled .ctas>*,
.is-settled .pillars li {
  transition: none;
}

.is-settled .you {
  transition: none;
}

.is-settled .you--solid {
  transition: color .6s var(--ease), -webkit-text-stroke-color .6s var(--ease);
}

.is-settled .you--line {
  transition: -webkit-text-stroke-color .6s var(--ease);
}

.is-settled .btn-primary {
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}

.is-settled .btn-ghost {
  transition: color .35s var(--ease);
}

/* =========================================================
   AMBIENT — only geometry moves; type + Visphy stay still
   ========================================================= */
@keyframes spin {
  to {
    transform: rotate(418deg);
  }
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes drift {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 3px -4px;
  }
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: .5;
  }

  80%,
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

@keyframes tick {
  0% {
    transform: translateY(-100%);
  }

  60%,
  100% {
    transform: translateY(230%);
  }
}

@keyframes light {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(5%, 4%);
  }
}

.is-settled .orbit__node {
  animation: spin 110s linear infinite;
}

.is-settled .orbit__inner {
  animation: spin-slow 240s linear infinite;
}

.is-settled .sun {
  animation: drift 14s ease-in-out infinite;
}

.is-settled .eyebrow i::after {
  animation: ping 2.8s var(--ease) infinite;
}

.is-settled .scroll__line::after {
  animation: tick 2.8s var(--ease-io) infinite;
}

.is-settled .field__light {
  animation: light 18s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {

  .js .grid span,
  .js .nav,
  .js .eyebrow i,
  .js .eyebrow span,
  .js .headline .line__in,
  .js .field,
  .js .portrait,
  .js .you,
  .js .orbit,
  .js .sun,
  .js .vname,
  .js .pillars li,
  .js .motto,
  .js .lede,
  .js .ctas>*,
  .js .note,
  .js .scroll,
  .editorial-loop__word {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
    filter: none !important;
  }

  .orbit__node,
  .orbit__inner,
  .sun,
  .eyebrow i::after,
  .scroll__line::after,
  .field__light,
  .you__dot::after {
    animation: none !important;
  }
}

/* =========================================================
   MOBILE NAVIGATION DRAWER
   ========================================================= */
body.is-nav-drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

.nav__menu[aria-expanded="true"] span:first-child,
.nav__menu.is-active span:first-child {
  top: 21px;
  width: 24px;
  transform: rotate(45deg);
}

.nav__menu[aria-expanded="true"] span:last-child,
.nav__menu.is-active span:last-child {
  top: 21px;
  width: 24px;
  transform: rotate(-45deg);
}

.nav__drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  pointer-events: none;
  transition: visibility .35s var(--ease);
}

.nav__drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.nav__drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 27, 49, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .35s var(--ease);
}

.nav__drawer.is-open .nav__drawer-scrim {
  opacity: 1;
}

.nav__drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: var(--canvas, #F8FAFC);
  display: flex;
  flex-direction: column;
  padding: 24px 24px 32px;
  transform: translateX(100%);
  transition: transform .35s var(--ease-io);
  box-shadow: -12px 0 40px rgba(20, 27, 49, 0.15);
  border-left: 1px solid rgba(20, 27, 49, 0.08);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav__drawer.is-open .nav__drawer-panel {
  transform: translateX(0);
}

.nav__drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(20, 27, 49, 0.08);
}

.nav__drawer-title {
  font-family: var(--f-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--ultra, #2E47FF);
  text-transform: uppercase;
}

.nav__drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(20, 27, 49, 0.1);
  background: #ffffff;
  color: var(--ink, #141B31);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.nav__drawer-close svg {
  width: 20px;
  height: 20px;
}

.nav__drawer-close:hover {
  background: var(--ink, #141B31);
  color: #ffffff;
  border-color: var(--ink, #141B31);
}

.nav__drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 0;
  flex: 1;
}

.nav__drawer-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}

.nav__drawer-link:hover,
.nav__drawer-link:focus-visible {
  background: rgba(46, 71, 255, 0.06);
}

.nav__drawer-num {
  font-family: var(--f-mono, monospace);
  font-size: 12px;
  font-weight: 700;
  color: var(--ultra, #2E47FF);
  opacity: .7;
}

.nav__drawer-text {
  font-family: var(--f-display, sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink, #141B31);
  letter-spacing: -.01em;
}

.nav__drawer-link:hover .nav__drawer-text {
  color: var(--ultra, #2E47FF);
}

.nav__drawer-foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(20, 27, 49, 0.08);
}

.nav__drawer-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  font-family: var(--f-body, sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink, #141B31);
  text-decoration: none;
}

.nav__drawer-phone:hover {
  color: var(--ultra, #2E47FF);
}

.nav__drawer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  border-radius: 12px;
  background: var(--ink, #141B31);
  color: #ffffff;
  font-family: var(--f-body, sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}

.nav__drawer-cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav__drawer-cta:hover {
  background: var(--ultra, #2E47FF);
  color: #ffffff !important;
  box-shadow: 0 8px 20px -8px rgba(46, 71, 255, .6);
}