/* Never Forget Loyalty LLC — glass and light
   ------------------------------------------------------------------ */

:root {
  --section-y: clamp(64px, 12vw, 128px);
  --night: #04060b;
  --deep: #070b16;
  --dusk: #0c1324;
  --ice: #eef4ff;
  --frost: #c9d6ea;
  --mist: #93a3bd;
  --warm: #ffe2b8;
  --lime: #c6ff4a;
  --ink: #0a0f1c;

  --glass-bg: rgba(220, 232, 255, .055);
  --glass-line: rgba(235, 243, 255, .16);
  --glass-hi: rgba(255, 255, 255, .42);

  --f-sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  --gutter: clamp(16px, 5vw, 72px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-glass: cubic-bezier(.65, 0, .25, 1);

  /* device-orientation drift (set from JS, 0 when unavailable) */
  --ox: 0px;
  --oy: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--night);
  color: var(--ice);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  background:
    radial-gradient(90% 55% at 50% -5%, #15203a 0%, transparent 65%),
    linear-gradient(180deg, var(--night) 0%, var(--deep) 30%, var(--dusk) 58%, var(--deep) 82%, var(--night) 100%);
  background-color: var(--night);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:where(ul[role="list"]) { list-style: none; margin: 0; padding: 0; }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 4px;
  border-radius: 14px;
}
main:focus-visible { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  display: inline-flex; align-items: center;
  padding: 10px 18px; min-height: 44px;
  font: 600 .95rem var(--f-sans); text-decoration: none;
  color: var(--ink); background: var(--ice);
  border-radius: 999px;
  transform: translateY(-200%);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s var(--ease-out), opacity .2s ease;
}
.skip:focus, .skip:focus-visible { transform: none; opacity: 1; pointer-events: auto; }

/* Glass ------------------------------------------------------------- */
.glass {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(165deg, rgba(255,255,255,.11) 0%, rgba(255,255,255,.025) 38%, rgba(255,255,255,.04) 100%),
    var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    inset 0 -1px 0 rgba(255,255,255,.05),
    inset 0 0 0 1px rgba(255,255,255,.035),
    0 24px 60px -18px rgba(0,0,0,.7);
}
/* thin bright refraction edge, strongest where the light comes from */
.glass::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(255,255,255,.75) 0%, rgba(255,255,255,.16) 28%, rgba(255,255,255,.06) 60%, rgba(214,228,255,.34) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}
/* specular highlight that follows the finger / cursor (moved with transform only) */
.glare {
  position: absolute; inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}
.glare i {
  position: absolute; left: 0; top: 0;
  width: 440px; height: 440px;
  margin: -220px 0 0 -220px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.24), rgba(220,234,255,.08) 50%, transparent 100%);
  will-change: transform;
}

/* Shared light: beams + mist ---------------------------------------- */
.beam {
  position: absolute;
  top: -10%;
  width: 22vw;
  min-width: 120px;
  max-width: 320px;
  height: 120%;
  background: linear-gradient(90deg, transparent 0%, rgba(214,230,255,.09) 30%, rgba(240,246,255,.22) 50%, rgba(214,230,255,.09) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.65) 45%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.65) 45%, transparent 92%);
  transform-origin: 50% 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.mist {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
@keyframes sway {
  0%, 100% { transform: rotate(var(--r, 18deg)) translateX(0); opacity: var(--o, .9); }
  50% { transform: rotate(calc(var(--r, 18deg) + 4deg)) translateX(3vw); opacity: calc(var(--o, .9) * .55); }
}
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6vw, -2vh, 0) scale(1.08); }
}

/* Touch / cursor light -------------------------------------------- */
.touchlight {
  position: fixed;
  left: 0; top: 0;
  width: 420px; height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(236,244,255,.13), rgba(200,220,255,.05) 45%, transparent 100%);
  opacity: 0;
  z-index: 55; /* above the glass so moving it never forces a re-blur */
  pointer-events: none;
  transition: opacity .5s ease;
  will-change: transform, opacity;
}
.touchlight.on { opacity: 1; }
.touchlight.touching { opacity: 1; transition-duration: .15s; }
.pulses { position: fixed; inset: 0; z-index: 80; pointer-events: none; overflow: hidden; }
.pulse {
  position: absolute;
  left: 0; top: 0;
  width: 160px; height: 160px;
  margin: -80px 0 0 -80px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55);
  background: radial-gradient(closest-side, rgba(255,255,255,.22), rgba(220,234,255,.06) 60%, transparent);
  opacity: 0;
  animation: pulse .7s var(--ease-out) forwards;
  will-change: transform, opacity;
}
@keyframes pulse {
  0% { opacity: .95; scale: .12; }
  100% { opacity: 0; scale: 1.25; }
}
main, .footer { position: relative; z-index: 1; }

/* Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: clamp(28px, 6vw, 44px);
  padding: calc(env(safe-area-inset-top) + clamp(64px, 11vh, 120px)) var(--gutter) clamp(24px, 4vh, 48px);
  overflow: hidden;
}
.hero__light {
  position: absolute; inset: 0;
  z-index: -1;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  translate: var(--ox) var(--oy);
  transition: translate .6s ease-out;
}
.mist--1 {
  width: 120vw; height: 70vh; left: -10vw; top: 8vh;
  background: radial-gradient(closest-side, rgba(150,176,220,.2), rgba(120,146,200,.07) 55%, transparent);
  animation: drift 22s ease-in-out infinite;
}
.mist--2 {
  width: 90vw; height: 60vh; right: -30vw; bottom: 0;
  background: radial-gradient(closest-side, rgba(255,226,184,.08), transparent 70%);
  animation: drift 28s ease-in-out -9s infinite reverse;
}
.hero .beam--1 { left: 8%;  --r: 22deg; --o: .9; animation: sway 14s ease-in-out infinite; }
.hero .beam--2 { left: 34%; --r: 16deg; --o: .7; width: 14vw; animation: sway 17s ease-in-out -5s infinite; }
.hero .beam--3 { left: 58%; --r: 12deg; --o: .85; animation: sway 19s ease-in-out -11s infinite; }
.hero .beam--4 { left: 82%; --r: 8deg;  --o: .55; width: 10vw; animation: sway 15s ease-in-out -3s infinite; }

.hero__copy {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(18px, 4vw, 28px);
  text-align: center;
  max-width: 100%;
}
.hero__copy::before { /* soft light pooled behind the wordmark */
  content: "";
  position: absolute;
  left: 50%; top: 45%;
  width: 150%; height: 190%;
  translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(190,210,245,.16), rgba(150,176,220,.05) 55%, transparent);
  z-index: -1;
  pointer-events: none;
}
.hero__title {
  margin: 0;
  font-family: var(--f-sans);
  font-weight: 250;
  font-size: min(15.4vw, 8.4rem);
  line-height: 1;
  letter-spacing: -.035em;
}
.hero__line { display: block; }
.hero__text {
  --lx: 30%;
  --ly: -80%;
  display: inline-block;
  padding: .06em .04em .26em;
  margin: -.06em -.04em -.26em;
  white-space: nowrap;
  color: var(--ice);
  background-image:
    radial-gradient(260px circle at var(--lx) var(--ly), rgba(255,244,226,1), rgba(255,255,255,0) 70%),
    linear-gradient(100deg, transparent 38%, rgba(255,255,255,.95) 50%, transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #e7efff 48%, #b3c3dc 100%);
  background-size: 100% 100%, 260% 100%, 100% 100%;
  background-position: 0 0, 130% 0, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__title .hero__line + .hero__line .hero__text {
  background-image:
    radial-gradient(260px circle at var(--lx) var(--ly), rgba(255,244,226,1), rgba(255,255,255,0) 70%),
    linear-gradient(100deg, transparent 38%, rgba(255,255,255,.95) 50%, transparent 62%),
    linear-gradient(180deg, #f6f9ff 0%, #d9e4f6 48%, #9fb1cd 100%);
}

.hero__who {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 20px 10px 16px;
  border-radius: 999px;
  font-size: clamp(.9375rem, 3.8vw, 1.0625rem);
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ice);
  white-space: nowrap;
}
.hero__dot {
  width: 8px; height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px 2px rgba(198,255,74,.6);
}

.hero__figure {
  position: relative;
  width: min(84vw, 400px, calc((100svh - 340px) * .8));
  min-width: 220px;
  margin-top: 0;
}
.hero__rays { /* light streaming down behind the portrait */
  position: absolute;
  left: 50%; top: -30%;
  width: 190%; height: 140%;
  translate: -50% 0;
  background:
    radial-gradient(40% 34% at 50% 52%, rgba(220,234,255,.22), transparent 70%),
    conic-gradient(from 180deg at 50% 0%, transparent 148deg, rgba(225,236,255,.18) 162deg, transparent 170deg, rgba(235,243,255,.26) 180deg, transparent 190deg, rgba(255,232,200,.15) 198deg, transparent 212deg);
  -webkit-mask-image: radial-gradient(closest-side at 50% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(closest-side at 50% 30%, #000 30%, transparent 100%);
  pointer-events: none;
  animation: rays 12s ease-in-out infinite;
}
@keyframes rays {
  0%, 100% { opacity: 1; transform: rotate(0deg); }
  50% { opacity: .65; transform: rotate(3deg); }
}

/* Photo panes ------------------------------------------------------- */
.pane {
  --rx: 0deg; --ry: 0deg; --press: 1;
  border-radius: 30px;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background:
    linear-gradient(165deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.03) 40%, rgba(255,255,255,.05) 100%),
    rgba(26, 36, 60, .55);
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--press));
  transition: transform .6s var(--ease-out);
}
.pane.is-tilting { transition: transform .12s linear; }
.pane__clip { /* the photo and its light never leave the pane */
  position: absolute; inset: 0;
  border-radius: inherit;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
}
.pane__light { /* soft light behind the person, fades out well inside the pane */
  position: absolute;
  left: 50%; top: 34%;
  width: 104%; height: 76%;
  translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(228,238,255,.3), rgba(200,218,250,.12) 48%, rgba(200,218,250,0) 100%);
  pointer-events: none;
}
.pane__light::after { /* slow caustic shimmer */
  content: "";
  position: absolute; inset: -20%;
  background:
    radial-gradient(18% 9% at 30% 30%, rgba(255,255,255,.07), transparent 70%),
    radial-gradient(14% 7% at 68% 46%, rgba(255,255,255,.06), transparent 70%),
    radial-gradient(22% 8% at 46% 72%, rgba(255,255,255,.05), transparent 70%),
    radial-gradient(12% 6% at 80% 20%, rgba(255,255,255,.06), transparent 70%);
  animation: caustic 16s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes caustic {
  0% { transform: translate3d(-4%, 2%, 0) rotate(0deg); }
  100% { transform: translate3d(5%, -3%, 0) rotate(8deg); }
}
.pane picture {
  --fade: 74%;
  position: absolute; inset: 0;
  display: block;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 0 18px rgba(205,222,255,.28));
  -webkit-mask-image: linear-gradient(180deg, #000 var(--fade), transparent 100%);
  mask-image: linear-gradient(180deg, #000 var(--fade), transparent 100%);
}
.pane__img {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  max-width: none;
}
/* lei portrait: headroom above, shoulders run off the sides, chest fades into the glass */
.pane--hero { width: 100%; aspect-ratio: 4 / 5; }
.pane--hero .pane__img { width: 100%; top: 8%; }

/* Gallery ------------------------------------------------------------ */
.gallery {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(44px, 8vw, 72px);
  padding: calc(var(--section-y) * .75) var(--gutter) calc(var(--section-y) * .6);
  isolation: isolate;
}
.gallery__light, .upcoming__light {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  /* fade the whole light layer at both ends so tilted beams never meet a hard clip line */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 80%, transparent 100%);
}
.gallery__light .beam, .upcoming__light .beam {
  top: 0;
  height: 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, rgba(0,0,0,.55) 55%, transparent 96%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 20%, rgba(0,0,0,.55) 55%, transparent 96%);
}
.gallery .beam--g1 { left: 12%; --r: 16deg; --o: .8; animation: sway 18s ease-in-out infinite; }
.gallery .beam--g2 { left: 64%; --r: -10deg; --o: .7; animation: sway 21s ease-in-out -7s infinite; }

.about {
  margin: 0;
  max-width: 15ch;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 9vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.01em;
  text-align: center;
  text-wrap: balance;
  color: var(--ice);
}
.gallery__row {
  display: grid;
  justify-items: center;
  gap: clamp(28px, 6vw, 40px);
  width: 100%;
  max-width: 880px;
}
.gallery__item { position: relative; width: min(84vw, 360px); }
.pane--overlook, .pane--car { width: 100%; aspect-ratio: 18 / 25; }
/* full-length figure: padding on every side, standing on a pool of light */
.pane--overlook picture { --fade: 100%; }
.pane--overlook .pane__img { height: 84%; width: auto; top: 7.5%; }
.pane--overlook .pane__clip::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 4.5%;
  width: 56%; height: 8%;
  translate: -50% 0;
  background: radial-gradient(closest-side, rgba(225,236,255,.26), rgba(225,236,255,0));
  z-index: 0;
}
/* bust in the car: runs off both sides, the rough bottom sits below the pane edge and fades out */
.pane--car picture { --fade: 66%; }
.pane--car .pane__img { width: 104%; top: 7%; }

/* Section headings -------------------------------------------------- */
.heading {
  margin: 0 0 clamp(28px, 5vw, 44px);
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 7vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
  color: var(--ice);
}

/* Current project --------------------------------------------------- */
.projects {
  position: relative;
  padding: calc(var(--section-y) * .6) var(--gutter);
  text-align: center;
  isolation: isolate;
}
.lamp { /* overhead light pooling onto the link */
  position: absolute;
  left: 50%; top: 8%;
  width: min(100%, 900px); height: 84%;
  translate: -50% 0;
  background: radial-gradient(closest-side, rgba(200,218,250,.15), rgba(200,218,250,.05) 55%, rgba(200,218,250,0) 100%);
  z-index: -1;
  pointer-events: none;
}
.projects__stage { display: flex; justify-content: center; }
.sheen {
  position: absolute; inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
.sheen::before {
  content: "";
  position: absolute; top: -30%; bottom: -30%; left: 0;
  width: 40%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.05) 30%, rgba(255,255,255,.3) 50%, rgba(255,255,255,.05) 70%, transparent 100%);
  transform: translateX(-140%) skewX(-16deg);
  animation: sweep 5s var(--ease-glass) infinite;
}
@keyframes sweep {
  0% { transform: translateX(-140%) skewX(-16deg); }
  55%, 100% { transform: translateX(340%) skewX(-16deg); }
}
.pill {
  --press: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  max-width: 100%;
  padding: .85em 1.35em .9em;
  border-radius: 999px;
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: clamp(1.35rem, 7.2vw, 3rem);
  letter-spacing: -.02em;
  line-height: 1;
  text-decoration: none;
  color: #fff;
  text-shadow: 0 0 24px rgba(220,234,255,.45);
  transform: scale(var(--press));
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 0 0 8px rgba(255,255,255,.025),
    0 30px 70px -20px rgba(0,0,0,.8),
    0 0 80px -10px rgba(200,220,255,.22);
}
.pill:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 0 0 8px rgba(255,255,255,.04),
    0 30px 70px -20px rgba(0,0,0,.8),
    0 0 110px -6px rgba(210,228,255,.35);
}
.pill:focus-visible { border-radius: 999px; outline-offset: 6px; }
.sheen ~ *, .pill > :not(.sheen) { position: relative; }

/* Upcoming ----------------------------------------------------------- */
.upcoming {
  position: relative;
  padding: calc(var(--section-y) * .6) var(--gutter);
  isolation: isolate;
}
.upcoming .beam--u1 { left: 40%; width: 34vw; max-width: 460px; --r: 6deg; --o: .7; animation: sway 20s ease-in-out infinite; }
.tba {
  display: grid;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}
.tba__card {
  --rx: 0deg; --ry: 0deg; --press: 1;
  display: grid;
  place-items: center;
  min-height: 128px;
  padding: 28px 20px;
  border-radius: 26px;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--press));
  transition: transform .6s var(--ease-out), translate 1.1s var(--ease-out), opacity .9s ease, box-shadow .3s ease;
}
.tba__card.is-tilting { transition: transform .12s linear, translate 1.1s var(--ease-out), opacity .9s ease; }
.tba__card:nth-child(2) .sheen::before { animation-delay: .6s; }
.tba__card:nth-child(3) .sheen::before { animation-delay: 1.2s; }
.tba__text {
  position: relative;
  z-index: 2;
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: clamp(1.125rem, 5vw, 1.375rem);
  letter-spacing: .02em;
  color: var(--ice);
  text-align: center;
  white-space: nowrap;
}
.is-pressed { --press: .97; }
.tba__card.is-pressed, .pane.is-pressed {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    inset 0 0 0 1px rgba(255,255,255,.12),
    inset 0 0 40px rgba(220,234,255,.12),
    0 18px 50px -18px rgba(0,0,0,.7),
    0 0 50px -8px rgba(210,228,255,.3);
}

/* Contact ------------------------------------------------------------- */
.contact {
  position: relative;
  padding: var(--section-y) var(--gutter);
  display: grid;
  justify-items: center;
}
.contact__stage { position: relative; display: grid; place-items: center; width: 100%; }
.contact__halo {
  position: absolute; left: 50%; top: 50%;
  width: min(100%, 760px); height: 260px;
  translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(225,236,255,.2), rgba(160,186,230,.06) 55%, transparent);
  pointer-events: none;
}
.call {
  --press: 1;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 20px);
  min-height: 72px;
  max-width: 100%;
  padding: 12px clamp(24px, 4vw, 40px) 12px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(240,245,255,.96) 50%, rgba(214,226,246,.94) 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -2px 6px rgba(120,140,180,.35),
    0 0 0 1px rgba(255,255,255,.35),
    0 0 0 8px rgba(255,255,255,.05),
    0 26px 60px -16px rgba(0,0,0,.8),
    0 0 90px -6px rgba(220,234,255,.45);
  transform: scale(var(--press));
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.call:hover { box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -2px 6px rgba(120,140,180,.35),
    0 0 0 1px rgba(255,255,255,.45),
    0 0 0 10px rgba(255,255,255,.07),
    0 26px 60px -16px rgba(0,0,0,.8),
    0 0 120px 0 rgba(220,234,255,.55); }
.call:focus-visible { border-radius: 999px; outline-offset: 6px; }
.call .sheen::before { background: linear-gradient(100deg, transparent, rgba(255,255,255,.9), transparent); animation-duration: 6s; animation-delay: 1.5s; }
.call__icon {
  position: relative;
  z-index: 3;
  display: grid; place-items: center;
  width: clamp(48px, 9vw, 60px); height: clamp(48px, 9vw, 60px);
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,.9) 0 8%, transparent 34%), linear-gradient(160deg, #d6ff7a, #8fd61f 75%);
  box-shadow: inset 0 -2px 5px rgba(40,80,0,.3), 0 0 18px rgba(198,255,74,.55);
}
.call__icon svg { width: 46%; height: 46%; fill: #13300a; }
.call__num {
  position: relative;
  z-index: 3;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: clamp(1.4rem, 6.6vw, 2.75rem);
  letter-spacing: -.02em;
  white-space: nowrap;
  line-height: 1;
}

/* Sticky call bar (phones) */
.callbar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .callbar {
    position: fixed;
    left: 12px; right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 54px;
    max-width: 440px;
    margin: 0 auto;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--f-sans);
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--ink);
    background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(222,232,248,.95));
    box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(255,255,255,.3), 0 12px 30px rgba(0,0,0,.6), 0 0 36px rgba(220,234,255,.25);
    transition: transform .45s var(--ease-out), opacity .35s ease;
  }
  .callbar__icon {
    width: 30px; height: 30px; padding: 7px;
    border-radius: 50%;
    fill: #13300a;
    background: linear-gradient(160deg, #d6ff7a, #8fd61f);
  }
  .callbar.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
  /* first screen: the portrait pane ends above the resting call bar */
  .hero__figure { width: min(84vw, 400px, calc((100svh - 410px) * .8)); }
  .is-intro .callbar { opacity: 0; }
}

/* Footer ---------------------------------------------------------------- */
.footer {
  padding: 28px var(--gutter) 36px;
  text-align: center;
  border-top: 1px solid rgba(235,243,255,.08);
}
.footer p { margin: 0; font-size: .875rem; color: var(--mist); letter-spacing: .01em; }

/* Entrance + scroll reveals ---------------------------------------- */
.js .hero__text { opacity: 0; translate: 0 .28em; }
.js .hero__who, .js .hero__figure { opacity: 0; translate: 0 24px; }
.js .hero__light { opacity: 0; }
.ready .hero__light { opacity: 1; transition: opacity 1.6s ease, translate .6s ease-out; }
.ready .hero__text { opacity: 1; translate: 0 0; transition: opacity 1.1s ease, translate 1.3s var(--ease-out); }
.ready .hero__line + .hero__line .hero__text { transition-delay: .12s; }
.ready .hero__text { animation: sweep-text 2.4s var(--ease-glass) .7s 1 both; }
.ready .hero__who { opacity: 1; translate: 0 0; transition: opacity .9s ease .5s, translate 1s var(--ease-out) .5s; }
.ready .hero__figure { opacity: 1; translate: 0 0; transition: opacity 1.1s ease .3s, translate 1.4s var(--ease-out) .3s; }
@keyframes sweep-text {
  from { background-position: 0 0, 130% 0, 0 0; }
  to { background-position: 0 0, -30% 0, 0 0; }
}
.io .rv { opacity: 0; translate: 0 28px; transition: opacity .9s ease, translate 1.1s var(--ease-out); }
.io .rv.in { opacity: 1; translate: 0 0; }
.io .tba__card.rv { transition: transform .6s var(--ease-out), translate 1.1s var(--ease-out), opacity .9s ease, box-shadow .3s ease; }
.io .tba__card.rv.is-tilting { transition: transform .12s linear, translate 1.1s var(--ease-out), opacity .9s ease, box-shadow .3s ease; }
.io .tba__card.rv:nth-child(2) { transition-delay: 0s, .12s, .12s, 0s; }
.io .tba__card.rv:nth-child(3) { transition-delay: 0s, .24s, .24s, 0s; }

/* Intro: frosted panes part around a beam of light ------------------- */
.intro { display: none; }
html.is-intro .intro {
  display: block;
  position: fixed; inset: 0;
  z-index: 150;
  cursor: pointer;
  overflow: hidden;
}
html.is-intro { overflow: hidden; }
.intro__pane {
  position: absolute; top: 0; bottom: 0;
  width: 50.5%;
  background: linear-gradient(180deg, rgba(10,14,26,.96), rgba(5,7,13,.98));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.intro__pane--l { left: 0; border-right: 1px solid rgba(255,255,255,.5); animation: pane-l 2.8s var(--ease-glass) forwards; }
.intro__pane--r { right: 0; border-left: 1px solid rgba(255,255,255,.5); animation: pane-r 2.8s var(--ease-glass) forwards; }
.intro__beam {
  position: absolute; left: 50%; top: -10%;
  width: 46vw; height: 120%;
  translate: -50% 0;
  background: linear-gradient(90deg, transparent, rgba(230,240,255,.1) 35%, rgba(255,255,255,.35) 50%, rgba(230,240,255,.1) 65%, transparent);
  opacity: 0;
  animation: intro-beam 2.8s ease forwards;
}
.intro__word {
  position: absolute; inset: 0;
  margin: 0;
  display: grid;
  place-content: center;
  padding: 0 16px;
  text-align: center;
  font-family: var(--f-sans);
  font-weight: 250;
  font-size: min(13.6vw, 6.6rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  color: #fff;
  text-shadow: 0 0 40px rgba(220,234,255,.55);
  animation: intro-word 2.8s var(--ease-out) forwards;
}
.intro__word span { display: block; }
@keyframes intro-beam {
  0% { opacity: 0; transform: scaleX(.1); }
  22% { opacity: 1; transform: scaleX(1); }
  60% { opacity: .9; }
  100% { opacity: 0; transform: scaleX(2.4); }
}
@keyframes intro-word {
  0%, 6% { opacity: 0; letter-spacing: .04em; filter: blur(10px); }
  30% { opacity: 1; letter-spacing: -.03em; filter: blur(0); }
  62% { opacity: 1; }
  80%, 100% { opacity: 0; filter: blur(4px); }
}
@keyframes pane-l { 0%, 58% { transform: none; } 100% { transform: translateX(-102%); } }
@keyframes pane-r { 0%, 58% { transform: none; } 100% { transform: translateX(102%); } }
html.intro-skip .intro { opacity: 0; transition: opacity .3s ease; pointer-events: none; }

/* Wider layouts --------------------------------------------------------- */
@media (min-width: 768px) {
  .tba { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .tba__card { min-height: 200px; aspect-ratio: 4 / 3; padding: 24px 12px; }
  .tba__text { font-size: clamp(1rem, 1.9vw, 1.3rem); }
  .gallery__row { grid-template-columns: 1fr 1fr; }
  .gallery__item { width: 100%; max-width: 420px; }
}
@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-content: center;
    align-items: center;
    justify-items: start;
    column-gap: clamp(24px, 4vw, 72px);
    max-width: 1440px;
    margin: 0 auto;
    padding-top: clamp(88px, 12vh, 140px);
  }
  .hero__copy { justify-items: start; text-align: left; }
  .hero__copy::before { left: 40%; }
  .hero__title { font-size: min(7.6vw, 15vh, 8.4rem); }
  .hero__figure {
    justify-self: center;
    margin-top: 0;
    width: min(100%, 420px, calc((100svh - 200px) * .8));
  }
}

/* Phones: lighter blur keeps scrolling smooth */
@media (max-width: 767px) {
  .glass {
    -webkit-backdrop-filter: blur(12px) saturate(1.25);
    backdrop-filter: blur(12px) saturate(1.25);
  }
  .pane { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Battery: pause loops that are off screen or in a hidden tab */
.paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }
.tab-hidden * { animation-play-state: paused !important; }

/* Reduced motion ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  .intro, .touchlight, .pulses, .glare { display: none !important; }
  .js .hero__text, .js .hero__who, .js .hero__figure, .js .hero__light,
  .io .rv { opacity: 1 !important; translate: none !important; }
  [data-speed] { translate: none !important; }
  .pane, .tba__card { transform: none !important; }
  .sheen { display: none; }
}
