/* =========================================================
   AVOLVE Media — Navigation + Hero
   Plain CSS. No build step.
   ========================================================= */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff") format("woff");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-medium.woff") format("woff");
  font-weight: 500 600; font-style: normal; font-display: swap;
}

/* ---------- Brand tokens ---------- */
:root {
  --cyan: #00f0ff;
  --warm: #ece4dc;
  --ink: #000001;
  --white: #ffffff;

  /* Canvas = warm off-white lightened with white (tint of the brand palette) */
  --canvas: #f8f6f3;
  --ink-soft: rgba(0, 0, 1, 0.64);   /* secondary text, ~6:1 on canvas */
  --line: rgba(0, 0, 1, 0.12);
  --cyan-soft: rgba(0, 240, 255, 0.35);

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --frame-gap: clamp(8px, 1.6vw, 26px);
  --radius-frame: clamp(18px, 2vw, 30px);
  --pad-x: clamp(20px, 4.6vw, 76px);
  --header-pt: clamp(14px, 2.1vw, 28px);
  --header-h: calc(var(--header-pt) + 52px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}
@supports (color: color-mix(in srgb, red, blue)) {
  :root { --canvas: color-mix(in srgb, var(--warm) 34%, var(--white)); }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
p, ul, h1 { margin: 0; }
ul { padding: 0; list-style: none; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white);
  padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(0, 240, 255, .45);
}

/* ---------- Page shell: header sits over the hero frame ---------- */
.shell { position: relative; display: flow-root; }

/* ---------- Frame with soft cyan perimeter glow ---------- */
.frame {
  position: relative;
  margin: var(--frame-gap);
  min-height: calc(100vh - var(--frame-gap) * 2);
  min-height: calc(100svh - var(--frame-gap) * 2);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-frame);
  background:
    radial-gradient(120% 70% at 50% 18%, rgba(255,255,255,.75), rgba(255,255,255,0) 60%),
    var(--canvas);
  box-shadow:
    0 0 0 1px rgba(0, 240, 255, .28),
    0 0 18px 2px rgba(0, 240, 255, .30),
    0 0 46px 6px rgba(0, 240, 255, .16),
    inset 0 0 22px rgba(0, 240, 255, .10);
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: absolute;
  top: var(--frame-gap); left: var(--frame-gap); right: var(--frame-gap);
  height: var(--header-h);
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: var(--header-pt) var(--pad-x) 0;
}

.brand {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
  border-radius: 12px;
  min-height: 44px;
}
.brand__emblem { width: clamp(36px, 3vw, 46px); height: auto; }
.brand__word { font-size: clamp(1.15rem, 1.45vw, 1.4rem); letter-spacing: -0.01em; white-space: nowrap; }
.brand__word strong { font-weight: 600; letter-spacing: 0.01em; }

.primary-nav ul {
  display: flex; align-items: center; gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.primary-nav a {
  display: inline-flex; align-items: center;
  min-height: 40px;
  padding: 0 clamp(14px, 1.5vw, 22px);
  border-radius: 999px;
  font-size: .9rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s var(--ease);
}
.primary-nav a:hover { background: rgba(0, 240, 255, .16); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn__arrow {
  width: 15px; height: 15px; flex: none;
  transition: transform .3s var(--ease);
}
.btn:hover .btn__arrow,
.btn:focus-visible .btn__arrow { transform: translate(2px, -2px); }

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #16161a; box-shadow: 0 8px 22px -8px rgba(0, 240, 255, .75); }

.btn--cyan { background: var(--cyan); color: var(--ink); box-shadow: 0 6px 18px -10px rgba(0, 240, 255, .9); }
.btn--cyan:hover { background: #33f3ff; box-shadow: 0 10px 28px -8px rgba(0, 200, 215, .8); }

.btn--ghost { background: rgba(255, 255, 255, .45); color: var(--ink); border-color: rgba(0, 0, 1, .16); }
.btn--ghost:hover { background: var(--white); border-color: rgba(0, 0, 1, .38); box-shadow: 0 8px 22px -12px rgba(0, 0, 1, .3); }

.header-cta { justify-self: end; min-height: 46px; padding: 0 24px; font-size: .95rem; }

/* ---------- Mobile menu ---------- */
.menu-toggle {
  display: none;
  justify-self: end;
  align-items: center; gap: 10px;
  min-height: 44px; min-width: 44px;
  padding: 0 16px 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  color: var(--ink);
  font: 500 .95rem/1 var(--sans);
  cursor: pointer;
}
.menu-toggle__bars { position: relative; width: 18px; height: 10px; }
.menu-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 1.6px; border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { top: 8.4px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { top: 4.2px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { top: 4.2px; transform: rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: var(--pad-x); right: var(--pad-x);
  padding: 10px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 0 1px rgba(0, 240, 255, .2), 0 24px 50px -20px rgba(0, 0, 1, .28);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { display: grid; gap: 2px; }
.mobile-menu li a {
  display: flex; align-items: center;
  min-height: 52px; padding: 0 16px;
  border-radius: 14px;
  font-size: 1.05rem;
  text-decoration: none;
}
.mobile-menu li a:hover { background: rgba(0, 240, 255, .14); }
.mobile-menu__cta { width: 100%; margin-top: 8px; min-height: 52px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Height-aware art size: fits laptop screens, never clips (page just scrolls) */
  /* Astronaut box width. Image is 1364 x 1153; ~10% of it sits below the frame edge (torso crop). */
  --orbit-w: clamp(360px, min(50vw, calc(98vh - 21.5rem - 0.7vw)), 880px);
  --orbit-w: clamp(360px, min(50vw, calc(98svh - 21.5rem - 0.7vw)), 880px);
}

.hero__copy {
  position: relative;
  z-index: 10;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: calc(var(--header-h) + clamp(28px, 5.2svh, 64px)) var(--pad-x) 0;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, min(6.9vw, 11svh), 7.5rem);
  line-height: .9;
  letter-spacing: -0.028em;
  color: var(--ink);
}
.hero__line { display: block; }
.hero__line--2 { font-style: italic; letter-spacing: -0.035em; padding-right: .04em; }

.hero__lede {
  max-width: 31em;
  margin-top: clamp(16px, 2.6svh, 26px);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.45;
  color: var(--ink-soft);
  text-wrap: balance;
}

.hero__actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
  margin-top: clamp(20px, 3.2svh, 32px);
}

/* ---------- Art area ---------- */
.hero__art {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: clamp(12px, 2.4svh, 28px);
  pointer-events: none;
}

.orbit {
  position: relative;
  width: var(--orbit-w);
  max-width: none;
  aspect-ratio: 1364 / 1153;
  container-type: inline-size;
  /* Centre the helmet (not the whole image) under the headline */
  translate: -6% 0;
  /* Top ~7% of the image is empty space: tuck it up. Bottom ~10% is cropped by the frame edge. */
  margin-top: calc(var(--orbit-w) * -0.05);
  margin-bottom: calc(var(--orbit-w) * -0.10);
}

/* Parallax + float wrappers (separate so transforms never conflict) */
.px { will-change: transform; }
.float { animation: float var(--t, 8s) ease-in-out var(--d, 0s) infinite alternate; }
@keyframes float {
  from { transform: translate3d(0, -5px, 0); }
  to   { transform: translate3d(0, 6px, 0); }
}

/* Background ghost panels */
.orbit__back { position: absolute; inset: 0; z-index: 1; }
.orbit__back > .px { position: absolute; inset: 0; }
.ghost {
  position: absolute;
  border-radius: 3.2cqw;
  border: 1px solid rgba(255, 255, 255, .95);
  background: linear-gradient(150deg, rgba(255,255,255,.75), rgba(255,255,255,.25));
  box-shadow: 0 0 0 1px rgba(0, 0, 1, .03), 0 10px 30px -14px rgba(0, 0, 1, .18);
}
.ghost--1 { left: 18%; top: 9%;  width: 16%; height: 13%; transform: perspective(700px) rotateY(32deg) rotate(-12deg); }
.ghost--2 { left: 5%;  top: 46%; width: 15%; height: 10%; transform: perspective(700px) rotateY(38deg) rotate(8deg); }
.ghost--3 { left: 76%; top: 8%;  width: 11%; height: 14%; transform: perspective(700px) rotateY(-38deg) rotate(10deg); }
.ghost--4 { left: 79%; top: 60%; width: 10%; height: 9%;  transform: perspective(700px) rotateY(-36deg) rotate(-6deg); }

/* Astronaut */
.astro { position: absolute; inset: 0; z-index: 2; }
.astro > .px { position: absolute; inset: 0; }
.astro__img {
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: 50% 100%;
}

/* Glass surface (shared by all floating cards) */
.glass {
  position: relative;
  background: linear-gradient(150deg, rgba(255,255,255,.82), rgba(255,255,255,.5));
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow:
    0 0 0 1px rgba(0, 240, 255, .10),
    0 0 26px -8px rgba(0, 240, 255, .45),
    0 22px 44px -22px rgba(0, 0, 1, .22);
  transition: box-shadow .45s var(--ease);
}
.slot:hover .glass,
.m-slot:hover .glass {
  box-shadow:
    0 0 0 1px rgba(0, 240, 255, .38),
    0 0 34px -4px rgba(0, 240, 255, .62),
    0 26px 52px -22px rgba(0, 0, 1, .28);
}

.chip {
  display: inline-grid; place-items: center; flex: none;
  width: 2.1em; height: 2.1em;
  border-radius: .6em;
  background: var(--cyan);
  color: var(--ink);
  box-shadow: 0 0 14px rgba(0, 240, 255, .55);
}
.chip svg { width: 62%; height: 62%; }
.chip--lg { width: 48px; height: 48px; border-radius: 50%; }
.chip--lg svg { width: 24px; height: 24px; }

/* Media cards (orbit foreground). Hit area = slot at rest (stable). */
.m-slot { position: absolute; z-index: 3; pointer-events: auto; }
.m-slot .px, .m-slot .float, .m-slot .glass { pointer-events: none; }
.m-slot--ugc       { left: 3%;  top: 17%; width: 29%; }
.m-slot--films     { left: 87%; top: 12%; width: 27%; }
.m-slot--campaigns { left: 88.5%; top: 38%; width: 27%; }

.media-card {
  padding: 4.6cqw 3.4cqw 3.4cqw;
  border-radius: 4.4cqw;
  font-size: max(11px, 2.35cqw);
}
.m-slot--ugc .media-card       { transform: perspective(900px) rotateY(26deg) rotate(-13deg); }
.m-slot--films .media-card     { transform: perspective(900px) rotateY(-28deg) rotate(14deg); }
.m-slot--campaigns .media-card { transform: perspective(900px) rotateY(-28deg) rotate(11deg); }

.media-card__label {
  display: flex; align-items: center; gap: .65em;
  margin-bottom: .9em;
  font-weight: 500;
  line-height: 1.15;
}
.media-card .chip { width: 1.9em; height: 1.9em; }
.thumb { width: 100%; aspect-ratio: 16 / 10; height: auto; border-radius: 2cqw; }
.thumb--photo { display: block; object-fit: cover; overflow: hidden; }   /* illustrative service visuals, clipped to the rounded window */

/* ---------- Sparkle ---------- */
.sparkle {
  position: absolute; z-index: 1;
  top: calc(var(--header-h) + clamp(14px, 3.4svh, 46px));
  right: calc(var(--pad-x) + 1vw);
  width: clamp(56px, 5.9vw, 92px);
  color: var(--ink);
  pointer-events: none;
}

/* ---------- Side info cards ---------- */
.side { position: absolute; width: clamp(190px, 15.6vw, 250px); }
.side--left  { left: clamp(40px, 5.6vw, 104px); top: calc(var(--header-h) + clamp(96px, 14.5svh, 160px)); }
.side--right { right: clamp(40px, 5vw, 96px); top: calc(var(--header-h) + clamp(170px, 23svh, 250px)); width: clamp(200px, 17vw, 270px); }

.slot { position: relative; z-index: 4; pointer-events: auto; }
.slot .px, .slot .float, .slot .glass { pointer-events: none; }

.info-card {
  padding: clamp(22px, 2vw, 30px) clamp(20px, 1.8vw, 28px);
  border-radius: clamp(20px, 1.8vw, 26px);
}
.info-card--left  { transform: perspective(1000px) rotateY(10deg) rotate(-8deg); }
.info-card--right { transform: perspective(1000px) rotateY(-10deg) rotate(8deg); }
.info-card .chip { margin-bottom: clamp(14px, 1.4vw, 20px); }
.info-card__title {
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.01em;
  max-width: 11em;
  text-wrap: balance;
}
.info-card__text {
  margin-top: 10px;
  font-size: clamp(.85rem, .98vw, .95rem);
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 15em;
  text-wrap: balance;
}

/* Orbit tails (thin curves + cyan dots) */
.tail {
  position: absolute; z-index: 1;
  width: 92%;
  top: calc(100% - 10px);
  color: rgba(0, 0, 1, .38);
  overflow: visible;
  pointer-events: none;
}
.side--left .tail  { left: 6%; }
.side--right .tail { right: 6%; }
.tail__dot { fill: var(--cyan); filter: drop-shadow(0 0 4px rgba(0, 240, 255, .9)); }

/* ---------- Corner text ---------- */
.hero__foot {
  position: absolute; z-index: 6;
  left: var(--pad-x); right: var(--pad-x);
  bottom: clamp(28px, 5svh, 58px);
  display: flex; justify-content: space-between; align-items: flex-end;
  pointer-events: none;
}
.hero__foot > * { pointer-events: auto; }
.audiences, .brandline { position: relative; padding-top: 18px; }
.audiences::before, .brandline::before {
  content: ""; position: absolute; top: 0; width: 26px; height: 1px; background: rgba(0, 0, 1, .4);
}
.audiences::before { left: 0; }
.brandline::before { right: 26px; }
.audiences { font-size: clamp(.9rem, 1vw, 1rem); line-height: 1.42; color: var(--ink-soft); }
.brandline {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 1.9vw, 1.9rem);
  line-height: 1.02;
  text-align: right;
  letter-spacing: -0.01em;
}
.brandline em { display: block; font-style: italic; }

/* ---------- Entrance (runs once; content is visible without it) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.site-header      { animation: fade .7s var(--ease) both; }
.hero__title      { animation: rise .9s var(--ease) .05s both; }
.hero__lede       { animation: rise .9s var(--ease) .18s both; }
.hero__actions    { animation: rise .9s var(--ease) .28s both; }
.hero__art, .sparkle { animation: fade 1.2s var(--ease) .3s both; }
.slot, .tail      { animation: fade 1.2s var(--ease) .45s both; }
.hero__foot       { animation: fade 1s var(--ease) .55s both; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet & below: text first, then a simplified composition */
@media (max-width: 1099px) {
  .hero { --orbit-w: min(66vw, 560px); }
  .sparkle { display: none; }

  .hero__art {
    width: auto;
    margin-top: clamp(36px, 6vw, 56px);
    margin-inline: calc(-1 * var(--pad-x));
    overflow: hidden; overflow: clip;
    -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent);
    mask-image: linear-gradient(to bottom, #000 82%, transparent);
  }

  .side {
    position: relative; left: auto; right: auto; top: auto;
    width: auto;
  }
  .tail, .ghost--2, .ghost--4 { display: none; }

  /* Side cards sit in a row under the art */
  .hero { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; padding: 0 var(--pad-x); }
  .hero__copy, .hero__art, .hero__foot { grid-column: 1 / -1; }
  .hero__copy { padding-left: 0; padding-right: 0; }
  .side--left  { grid-column: 1; }
  .side--right { grid-column: 2; }
  .side { margin-top: 28px; }
  .info-card, .info-card--left, .info-card--right { transform: none; height: 100%; padding: 22px 20px; border-radius: 22px; }
  .slot, .slot .px, .slot .float { height: 100%; }
  .info-card .chip { width: 40px; height: 40px; margin-bottom: 14px; }
  .info-card .chip svg { width: 20px; height: 20px; }
  .info-card__title { font-size: 1.05rem; max-width: none; }
  .info-card__text { font-size: .9rem; max-width: none; }

  .hero__foot {
    position: relative; left: auto; right: auto; bottom: auto;
    margin: 36px 0 clamp(28px, 6vw, 44px);
    gap: 24px;
  }
}

@media (max-width: 1060px) {
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header { grid-template-columns: 1fr auto; }
  :root { --header-h: calc(var(--header-pt) + 44px); }
}

@media (max-width: 640px) {
  .hero { --orbit-w: min(84vw, 460px); }
  .m-slot--ugc       { left: 1%;  top: 24%; width: 29%; }
  .m-slot--films     { left: 82%; top: 8%;  width: 28%; }
  .m-slot--campaigns { left: 83%; top: 38%; width: 28%; }
  .ghost--1, .ghost--3 { display: none; }

  .hero__title { font-size: clamp(2.1rem, 10.4vw, 4rem); }
  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; gap: 12px; }
  .btn { min-height: 52px; }
  .brand__word { font-size: 1.1rem; }
}

@media (max-width: 460px) {
  .hero { grid-template-columns: 1fr; }
  .side--left, .side--right { grid-column: 1; }
  .side--right { margin-top: 12px; }
  .hero__foot { flex-direction: row; }
}

@media (max-width: 380px) {
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-toggle { padding: 0; width: 46px; justify-content: center; }
  .brand { gap: 9px; }
  .brand__emblem { width: 32px; }
  .m-slot--ugc       { left: 3%; }
  .m-slot--films     { left: 78%; width: 27%; }
  .m-slot--campaigns { left: 79%; width: 27%; }
}

/* ---------- Reduced motion: no parallax, floating or entrance ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .px { transform: none !important; will-change: auto; }
}

/* =========================================================
   FEATURED VIDEOS — "Creative Gravity" (dark section)
   ========================================================= */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
html.is-locked { overflow: hidden; }

/* ---------- Shared dark environment (Creative Gravity + Creative Orbit) ---------- */
.night {
  --night: var(--ink);
  --on-night: var(--warm);
  --on-night-soft: rgba(236, 228, 220, .7);   /* ~10:1 on near-black */
  position: relative;
  isolation: isolate;
  margin: 0 var(--frame-gap) var(--frame-gap);
  border-radius: var(--radius-frame);
  overflow: hidden;
  overflow: clip;
  color: var(--on-night);
  background:
    radial-gradient(60% 28% at 16% 4%, rgba(236, 228, 220, .05), transparent 70%),
    radial-gradient(55% 22% at 90% 38%, rgba(236, 228, 220, .035), transparent 70%),
    radial-gradient(70% 30% at 10% 70%, rgba(236, 228, 220, .03), transparent 70%),
    radial-gradient(60% 25% at 85% 96%, rgba(236, 228, 220, .04), transparent 70%),
    var(--night);
}
/* Texture: sparse low-contrast dots (two tile sizes so no visible repeat) + ~3% fine grain */
.night::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='430' height='430'%3E%3Ccircle cx='139' cy='65' r='0.71' fill='%23ece4dc' fill-opacity='0.12'/%3E%3Ccircle cx='230' cy='157' r='0.47' fill='%23ece4dc' fill-opacity='0.21'/%3E%3Ccircle cx='16' cy='186' r='0.48' fill='%23ece4dc' fill-opacity='0.12'/%3E%3Ccircle cx='183' cy='356' r='0.50' fill='%23ece4dc' fill-opacity='0.15'/%3E%3Ccircle cx='270' cy='408' r='0.68' fill='%23ece4dc' fill-opacity='0.19'/%3E%3Ccircle cx='420' cy='20' r='0.79' fill='%23ece4dc' fill-opacity='0.16'/%3E%3Ccircle cx='62' cy='51' r='0.57' fill='%23ece4dc' fill-opacity='0.28'/%3E%3Ccircle cx='78' cy='250' r='0.71' fill='%23ece4dc' fill-opacity='0.18'/%3E%3Ccircle cx='236' cy='27' r='0.47' fill='%23ece4dc' fill-opacity='0.15'/%3E%3Ccircle cx='293' cy='184' r='0.58' fill='%23ece4dc' fill-opacity='0.23'/%3E%3Ccircle cx='195' cy='129' r='0.77' fill='%23ece4dc' fill-opacity='0.25'/%3E%3Ccircle cx='105' cy='247' r='0.66' fill='%23ece4dc' fill-opacity='0.29'/%3E%3Ccircle cx='314' cy='124' r='0.84' fill='%23ece4dc' fill-opacity='0.13'/%3E%3Ccircle cx='180' cy='326' r='0.51' fill='%23ece4dc' fill-opacity='0.21'/%3E%3Ccircle cx='17' cy='287' r='0.76' fill='%23ece4dc' fill-opacity='0.23'/%3E%3Ccircle cx='376' cy='135' r='0.73' fill='%23ece4dc' fill-opacity='0.23'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='670' height='670'%3E%3Ccircle cx='389' cy='306' r='0.92' fill='%23ece4dc' fill-opacity='0.25'/%3E%3Ccircle cx='318' cy='445' r='0.53' fill='%23ece4dc' fill-opacity='0.21'/%3E%3Ccircle cx='434' cy='665' r='0.91' fill='%23ece4dc' fill-opacity='0.13'/%3E%3Ccircle cx='258' cy='448' r='0.51' fill='%23ece4dc' fill-opacity='0.16'/%3E%3Ccircle cx='113' cy='78' r='0.53' fill='%23ece4dc' fill-opacity='0.22'/%3E%3Ccircle cx='87' cy='166' r='0.70' fill='%23ece4dc' fill-opacity='0.24'/%3E%3Ccircle cx='54' cy='301' r='0.77' fill='%23ece4dc' fill-opacity='0.24'/%3E%3Ccircle cx='549' cy='579' r='0.64' fill='%23ece4dc' fill-opacity='0.15'/%3E%3Ccircle cx='240' cy='592' r='0.98' fill='%23ece4dc' fill-opacity='0.11'/%3E%3Ccircle cx='118' cy='155' r='0.62' fill='%23ece4dc' fill-opacity='0.17'/%3E%3Ccircle cx='395' cy='176' r='0.50' fill='%23ece4dc' fill-opacity='0.16'/%3E%3Ccircle cx='247' cy='379' r='0.98' fill='%23ece4dc' fill-opacity='0.20'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .93 0 0 0 0 .89 0 0 0 0 .86 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 430px 430px, 670px 670px, 260px 260px;
  background-position: 0 0, 137px 211px, 0 0;
}
.night :focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(0, 240, 255, .22);
}

.gravity {
  --card-w: clamp(200px, 18.5vw, 290px);
  position: relative;
  padding-block: clamp(64px, 8vw, 120px) clamp(56px, 7vw, 104px);
  color: var(--on-night);
}

.gravity__head { text-align: center; padding-inline: var(--pad-x); }
.gravity__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  line-height: .95;
  letter-spacing: -0.025em;
  color: var(--on-night);
}
.gravity__title em { font-style: italic; letter-spacing: -0.03em; }
.gravity__lede {
  margin-top: 14px;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--on-night-soft);
}

/* ---------- Carousel ---------- */
.vc { position: relative; margin-top: clamp(36px, 5vw, 64px); }
.vc__glow {
  position: absolute; z-index: 0;
  left: 50%; top: calc(var(--card-w) * 0.78);
  width: min(1180px, 96vw); height: calc(var(--card-w) * 2.3);
  transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 240, 255, .34), rgba(0, 240, 255, .15) 46%, transparent 74%);
  filter: blur(22px);
  pointer-events: none;
}
.vc__viewport {
  position: relative; z-index: 1;
  height: calc(var(--card-w) * 1.4 + 40px);   /* fixed: layout never jumps */
  max-width: 1320px;
  margin-inline: auto;
  perspective: 1600px;
  touch-action: pan-y;                        /* vertical page scroll stays native */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent);
}
.vc__track { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; transform-style: preserve-3d; }

.vc-card {
  --shade: 0;
  position: absolute;
  left: 50%; top: 50%;
  width: var(--card-w);
  aspect-ratio: 5 / 7;
  margin-left: calc(var(--card-w) / -2);
  margin-top: calc(var(--card-w) * -0.7);
  cursor: pointer;
  transition: transform .54s cubic-bezier(.22, .8, .24, 1), opacity .54s cubic-bezier(.22, .8, .24, 1);
  will-change: transform;
}
.vc-card.is-active { cursor: default; }
.vc-card.is-hidden { pointer-events: none; }

.vc-card__inner {
  position: absolute; inset: 0;
  border-radius: clamp(14px, 1.4vw, 20px);
  overflow: hidden;
  background: #0b0c0d;
  box-shadow: 0 0 0 1px rgba(236, 228, 220, .1), 0 24px 50px -20px rgba(0, 0, 1, .9);
  transition: box-shadow .35s ease;
}
.vc-card.is-active .vc-card__inner {
  box-shadow: 0 0 0 1px rgba(0, 240, 255, .35), 0 0 30px -6px rgba(0, 240, 255, .45), 0 30px 60px -24px rgba(0, 0, 1, .95);
}
.vc-card.is-active:hover .vc-card__inner,
.vc-card.is-active:focus-within .vc-card__inner {
  box-shadow: 0 0 0 1.5px rgba(0, 240, 255, .75), 0 0 40px -4px rgba(0, 240, 255, .6), 0 30px 60px -24px rgba(0, 0, 1, .95);
}
.vc-card__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vc-card__inner::after {             /* bottom legibility gradient */
  content: ""; position: absolute; inset: 45% 0 0 0;
  background: linear-gradient(to top, rgba(0, 0, 1, .82), transparent);
  pointer-events: none;
}
.vc-card__shade {                    /* dims side cards */
  position: absolute; inset: 0; z-index: 3;
  background: var(--ink);
  opacity: var(--shade);
  transition: opacity .54s cubic-bezier(.22, .8, .24, 1);
  pointer-events: none;
}
/* if a Vimeo poster image cannot load: plain brand background with the play control (no fake still) */
.vc-card.is-noposter .vc-card__poster { display: none; }
.vc-card.is-noposter .vc-card__inner { background: radial-gradient(120% 80% at 30% 20%, #1d2024, #0b0c0d 70%); }
.vc-card__play {
  position: absolute; z-index: 2; right: 14px; bottom: 14px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(236, 228, 220, .4);
  background: rgba(0, 0, 1, .45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--on-night);
  cursor: pointer;
  transition: border-color .25s ease, background-color .25s ease, color .25s ease;
}
.vc-card__play svg { width: 20px; height: 20px; }
.vc-card__play:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0, 240, 255, .1); }
.vc-card:not(.is-active) .vc-card__play { visibility: hidden; }

/* Controls (outside the faded area) */
.vc__controls {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(20px, 3vw, 32px);
  padding-inline: var(--pad-x);
}
.vc__arrow {
  width: 54px; height: 54px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(236, 228, 220, .4);
  background: rgba(236, 228, 220, .05);
  color: var(--on-night);
  cursor: pointer;
  transition: border-color .25s ease, background-color .25s ease, color .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.vc__arrow svg { width: 22px; height: 22px; }
.vc__arrow:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0, 240, 255, .08); }
.vc__status { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 120px; }
.vc__dots { display: flex; gap: 7px; }
.vc__dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: rgba(236, 228, 220, .3);
  transition: width .4s ease, background-color .4s ease;
}
.vc__dot.is-active { width: 20px; background: var(--cyan); }
.vc__count {
  margin: 0;
  font-size: .85rem; letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
  color: var(--on-night-soft);
}

.gravity__more { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }
.btn--line { color: var(--on-night); border-color: rgba(236, 228, 220, .4); background: transparent; }
.btn--line:hover { border-color: var(--cyan); color: var(--cyan); }

@media (max-width: 640px) {
  .gravity { --card-w: min(62vw, 260px); }
  .vc__viewport {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  }
  .vc__arrow { width: 52px; height: 52px; }
}

/* =========================================================
   WAYS TO WORK WITH US — "Find your creative orbit."
   Static section. Base = stacked layout; ≥1180px = orbital composition.
   ========================================================= */
.orbit-sec {
  position: relative;
  padding: clamp(24px, 5vw, 56px) var(--pad-x) clamp(56px, 8vw, 96px);
  color: var(--on-night);
}
.orbit-stage { position: relative; max-width: 780px; margin: 0 auto; }

.orbit-title {
  position: relative; z-index: 2;
  margin: 0 0 clamp(32px, 6vw, 56px);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 12.5vw, 5.75rem);
  line-height: .9;
  letter-spacing: -0.022em;
  color: var(--on-night);
}
.orbit-title > span { display: block; }
.orbit-title__it { font-style: italic; letter-spacing: -0.03em; }
.orbit-title__dot { color: var(--cyan); }

/* ---------- Offering panels (warm off-white discs) ---------- */
.op-list { position: relative; z-index: 3; display: grid; gap: 28px; }
.op-list::before {                       /* simplified orbit thread (stacked layouts) */
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: 6%; bottom: 6%;
  border-left: 1.5px dotted rgba(0, 240, 255, .5);
}
.op {
  --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  position: relative;
  width: 400px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  color: var(--ink);
  background:
    var(--paper),
    radial-gradient(120% 120% at 28% 22%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 55%),
    var(--warm);
  box-shadow:
    inset 0 -10px 24px rgba(0, 0, 1, .10),
    inset 0 2px 1px rgba(255, 255, 255, .7),
    0 28px 60px -22px rgba(0, 0, 1, .9),
    0 0 0 1px rgba(236, 228, 220, .25);
}
.op--campaigns { justify-self: end; }
.op--assets    { justify-self: start; }
.op--partners  { justify-self: end; }

.op__body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 0 12% 0 17%;
}
.op__icon { display: block; width: 52px; margin-bottom: 18px; }
.op--partners .op__icon { width: 68px; }
.op__icon svg { width: 100%; height: auto; }
.op__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.15rem;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.op__desc {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(0, 0, 1, .78);
  max-width: 19em;
}
.op__link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px;
  padding: 6px 0 7px;
  min-height: 44px;
  border-bottom: 2px solid var(--cyan);
  font-size: 1rem; font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .25s ease;
}
.op__arrow { width: 14px; height: 14px; transition: transform .25s ease; }
.op__link:hover { border-bottom-color: var(--ink); }
.op__link:hover .op__arrow { transform: translate(2px, -2px); }
.night .op__link:focus-visible {          /* dark ring: readable on off-white */
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 4px;
  box-shadow: 0 0 0 6px rgba(0, 240, 255, .55);
}
.op__link:focus-visible .op__arrow { transform: translate(2px, -2px); }

/* ---------- Decoration (stacked layouts: only the sphere, tablet up) ---------- */
.orbit-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orbit-lines, .mk, .planet { display: none; }
.core {
  position: absolute; right: 0; top: 0;
  width: 150px; aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(0, 240, 255, .45), 0 0 110px rgba(0, 240, 255, .18);
}
.core__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.core__logo {                    /* official black AVOLVE Media logo, ~20% clear space each side */
  position: relative;
  display: block;
  width: 60%;
  height: auto;
}
.orbit-atmo {
  position: absolute; right: -150px; top: -150px;
  width: 450px; aspect-ratio: 1 / 1;
  background: radial-gradient(circle, rgba(0, 240, 255, .16), rgba(0, 240, 255, .05) 40%, transparent 70%);
}

@media (max-width: 699px) {
  .core, .orbit-atmo { display: none; }
}

/* Phones: softly rounded panels keep text readable */
@media (max-width: 599px) {
  .op, .op--campaigns, .op--assets, .op--partners {
    width: 100%; aspect-ratio: auto; justify-self: stretch;
    border-radius: 32px;
  }
  .op__body { position: relative; padding: 30px 26px 26px; }
  .op__title { font-size: 1.9rem; }
  .op-list { gap: 20px; }
  .op-list::before { left: 24px; }
}

/* ---------- Wide screens: the orbital composition ---------- */
@media (min-width: 1180px) {
  .orbit-sec { padding: 0 0 clamp(40px, 4vw, 72px); }
  .orbit-stage {
    max-width: 1536px;
    aspect-ratio: 1536 / 1024;
    container-type: inline-size;
  }
  .orbit-title {
    position: absolute; left: 4.2%; top: 8.6%;
    margin: 0;
    font-size: 8.6cqw;
  }
  .op-list { position: absolute; inset: 0; display: block; pointer-events: none; }
  .op-list::before { display: none; }
  .op { position: absolute; pointer-events: auto; }
  .op--campaigns { left: 59.4%; top: 4.4%;  width: 26.7%; }
  .op--assets    { left: 10.5%; top: 45.9%; width: 25.7%; }
  .op--partners  { left: 68%;   top: 53.5%; width: 25.7%; }
  .op__icon { width: clamp(44px, 3.4cqw, 54px); margin-bottom: clamp(12px, 1.2cqw, 18px); }
  .op--partners .op__icon { width: clamp(58px, 4.4cqw, 70px); }
  .op__title { font-size: clamp(1.75rem, 2.55cqw, 2.6rem); }
  .op__desc  { font-size: clamp(.95rem, 1.08cqw, 1.08rem); }
  .op__link  { font-size: clamp(.95rem, 1.08cqw, 1.05rem); margin-top: clamp(14px, 1.5cqw, 24px); }

  .orbit-lines { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
  .ln-dot  { stroke: var(--cyan); stroke-opacity: .55; stroke-width: 1.6; stroke-dasharray: 0 9; }
  .ln-dot--fine { stroke-opacity: .5; stroke-width: 1.4; stroke-dasharray: 0 7; }
  .ln-solid { stroke: var(--warm); stroke-opacity: .55; stroke-width: 1.3; }
  .ln-solid--soft { stroke-opacity: .4; }
  .ln-cyan { stroke: var(--cyan); stroke-opacity: .5; stroke-width: 1.2; }

  .core { left: 45.1%; top: 45.6%; right: auto; width: 12.7%; }
  .orbit-atmo {
    right: auto; left: 51.4%; top: 55.2%;
    width: 48%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 240, 255, .17), rgba(0, 240, 255, .06) 38%, transparent 68%);
  }

  .planet { display: block; position: absolute; height: auto; }
  .planet--a { z-index: 4; left: 79.1%; top: 5.2%;  width: 6.8%; }
  .planet--b {             left: 5.9%;  top: 47.3%; width: 9.8%; }
  .planet--c { z-index: 4; left: 87.2%; top: 54.5%; width: 5.2%; }

  .mk {
    display: block; position: absolute;
    width: 1.45%; aspect-ratio: 1 / 1; border-radius: 50%;
  }
  .mk--w {
    background:
      radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 45%),
      radial-gradient(circle at 65% 72%, rgba(0, 0, 1, .28), rgba(0, 0, 1, 0) 60%),
      var(--warm);
    box-shadow: 0 0 8px rgba(236, 228, 220, .35);
  }
  .mk--c {
    width: 1.6%;
    background:
      radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 42%),
      radial-gradient(circle at 65% 72%, rgba(0, 0, 1, .3), rgba(0, 0, 1, 0) 60%),
      var(--cyan);
    box-shadow: 0 0 12px rgba(0, 240, 255, .75);
  }
  .mk-1 { left: 48.7%; top: 30.8%; }
  .mk-2 { left: 36.5%; top: 40.7%; }
  .mk-3 { left: 62.9%; top: 50.5%; }
  .mk-4 { left: 38.2%; top: 77.6%; }
  .mk-5 { left: 59.8%; top: 75.3%; }
}
/* Narrower desktops: larger discs, so text never has to shrink */
@media (min-width: 1180px) and (max-width: 1439px) {
  .op--campaigns { left: 58.4%; top: 3.2%;  width: 29.4%; }
  .op--assets    { left: 9.2%;  top: 45.2%; width: 28.4%; }
  .op--partners  { left: 67%;   top: 53%;   width: 28.4%; }
  .planet--a { left: 80.6%; top: 3.6%; }
  .planet--c { left: 88.8%; top: 53.6%; }
}
.op__br { display: none; }
@media (min-width: 600px) { .op__br { display: inline; } }

/* ---------- Transition planet (decorative, static) ---------- */
.transit-planet {
  position: absolute; z-index: 0;
  display: block;
  pointer-events: none;
  user-select: none;
  height: auto;
  max-width: none;
  opacity: .92;
}
/* Wide screens: bridges carousel controls and the heading on the left */
@media (min-width: 1180px) {
  .orbit-sec { padding-top: 28px; }
  .transit-planet { left: 2.4%; top: -14.5rem; width: clamp(440px, 37.5vw, 600px); }
}
/* Tablets: smaller, beside the controls */
@media (min-width: 1180px) and (max-width: 1439px) {
  .transit-planet { top: -13rem; width: 33vw; }
}
/* Tablets: smaller, beside Explore All Work and below the arrows */
@media (min-width: 700px) and (max-width: 1179px) {
  .transit-planet { left: 1.8%; top: -7rem; width: clamp(180px, 26vw, 290px); }
}
/* Phones: hidden to avoid crowding the controls and heading */
@media (max-width: 699px) {
  .transit-planet { display: none; }
}

/* =========================================================
   WHAT WE CREATE (light section) — all rules scoped to .create
   ========================================================= */
@font-face {
  font-family: "Inter Create";
  src: url("../fonts/inter-semibold.woff") format("woff");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins Numerals";
  src: url("../fonts/poppins-bold-numerals.woff") format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}

.create {
  --c-line: rgba(0, 0, 1, .26);
  --c-soft: rgba(0, 0, 1, .74);          /* ~9:1 on the off-white */
  position: relative;
  isolation: isolate;
  margin: 0 var(--frame-gap) var(--frame-gap);
  border-radius: var(--radius-frame);
  overflow: hidden;
  overflow: clip;
  padding: clamp(48px, 5vw, 84px) var(--pad-x) clamp(36px, 3.4vw, 56px);
  color: var(--ink);
  background:
    radial-gradient(55% 50% at 76% 34%, rgba(255, 255, 255, .42), transparent 70%),
    radial-gradient(50% 40% at 8% 96%, rgba(255, 255, 255, .22), transparent 70%),
    var(--warm);
}
/* Subtle paper grain */
.create::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .17 0 0 0 0 .14 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}
.create :focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(0, 240, 255, .5);
}
.create h2, .create h3, .create p { margin: 0; }

.create__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  column-gap: clamp(36px, 4.4vw, 84px);
  align-items: center;
}

/* ---------- Copy ---------- */
.create__eyebrow {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.create__eyebrow::after,
.create__close::before {
  content: "";
  display: block;
  width: 46px; height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}
.create__eyebrow::after { margin-top: 18px; }

.create__title {
  margin-top: clamp(14px, 1.6vw, 24px);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 7.1vw, 7.6rem);
  line-height: .93;
  letter-spacing: -.025em;
}
.create__line { display: block; }
.create__line--it { font-style: italic; }

.create__intro {
  margin-top: clamp(22px, 2.4vw, 34px);
  max-width: 31em;
  font-size: clamp(1.02rem, 1.25vw, 1.22rem);
  line-height: 1.45;
}

/* Capabilities: slim vertical line, dark markers with cyan centres, short dividers */
.caps { --gap: clamp(16px, 1.7vw, 24px); --dot-y: 1.35rem; margin-top: clamp(24px, 2.6vw, 38px); }
.cap {
  position: relative;
  padding-left: 80px;
  min-height: calc(var(--dot-y) * 2);
}
.cap + .cap { margin-top: var(--gap); }
.cap::before {                               /* marker */
  content: "";
  position: absolute; left: 0; top: var(--dot-y);
  width: 18px; height: 18px; margin-top: -9px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan) 0 3.5px, var(--ink) 4.5px);
  box-shadow: 0 0 0 3px var(--warm);
  z-index: 1;
}
.cap:not(:last-child)::after {               /* line to the next marker */
  content: "";
  position: absolute; left: 8.5px; top: var(--dot-y);
  width: 1px; height: calc(100% + var(--gap));
  background: var(--ink);
  opacity: .55;
}
.cap__title {
  position: relative;
  font-family: "Inter Create", var(--sans);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.38vw, 1.32rem);
  line-height: 1.3;
  letter-spacing: -.01em;
}
.cap__title::before {                        /* short vertical divider */
  content: "";
  position: absolute; left: -30px; top: .2em;
  width: 1px; height: 2.75em;
  background: var(--c-line);
}
.cap__desc { margin-top: 3px; font-size: clamp(.94rem, 1.02vw, 1rem); line-height: 1.45; color: var(--c-soft); }

.create__close {
  margin-top: clamp(40px, 4vw, 56px);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.05vw, 2rem);
  line-height: 1.15;
  letter-spacing: -.01em;
}
.create__close::before { margin-bottom: clamp(18px, 1.9vw, 28px); }
.create__close em { font-style: italic; }

.create__cta {
  margin-top: clamp(18px, 1.7vw, 24px);
  min-height: 54px;
  padding: 0 30px;
  font-size: 1.06rem;
  color: var(--warm);
  box-shadow: 0 0 0 1px rgba(0, 240, 255, .6), 0 0 16px -3px rgba(0, 240, 255, .55);
}
.create__cta .btn__arrow { color: var(--cyan); }
.create__cta:hover {
  background: #17171b;
  box-shadow: 0 0 0 1px rgba(0, 240, 255, .9), 0 0 22px -2px rgba(0, 240, 255, .7);
}
.create__cta:focus-visible {
  box-shadow: 0 0 0 1px rgba(0, 240, 255, .9), 0 0 0 6px rgba(0, 240, 255, .5);
}

/* ---------- Screen composition (desktop arrangement) ---------- */
.create__art { position: relative; }
.screens {
  position: relative;
  width: min(90%, 680px);
  aspect-ratio: 680 / 462;
  container-type: inline-size;
  margin: clamp(90px, 9vw, 150px) auto clamp(20px, 2vw, 32px) 0;
}
.screens__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; pointer-events: none; }
.screens__lines path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ln-glow path { stroke: var(--cyan); stroke-width: 3.5; opacity: .32; }
.ln-main path { stroke: var(--ink); stroke-width: 1.4; opacity: .82; }
.ln-node circle { fill: var(--cyan); stroke: var(--ink); stroke-width: 1.6; filter: drop-shadow(0 0 3px rgba(0, 240, 255, .8)); }

.screen { position: absolute; z-index: 1; }
.screen__media { position: relative; width: 100%; height: 100%; overflow: hidden; background: #c9c2ba; }
.screen__media img,
.screen__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.screen__glass {                              /* gentle glass highlight */
  position: absolute; inset: 0; z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, .07));
}
/* looping previews (assets/js/create.js): the still poster sits under the video,
   so nothing jumps or shows grey while the video loads */
.screen.has-media .screen__media { background: #0d0d0e; }
.screen__poster,
.screen__loop { position: absolute; inset: 0; }
.screen__loop { z-index: 1; }
.create.is-reduced .screen__loop { display: none; }      /* reduced motion: still frames only */

/* one discreet pause / play for the four previews */
.create__toggle {
  position: absolute; right: 0; bottom: 0; z-index: 5;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  padding: 0;
  border: 1.5px solid rgba(0, 0, 1, .55);
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  color: var(--ink);
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.create__toggle[hidden] { display: none; }
.create__toggle:hover { background: rgba(0, 0, 1, .08); border-color: var(--ink); }
.create__toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(0, 240, 255, .45); }
.create__ico { width: 14px; height: 14px; fill: currentColor; }
.create__ico--play { display: none; }
.create.is-paused .create__ico--play { display: block; }
.create.is-paused .create__ico--pause { display: none; }

.screen--card {
  border-radius: 1.6cqw;
  padding: 2px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .95), rgba(236, 228, 220, .7));
  box-shadow:
    0 0 0 1px rgba(0, 240, 255, .5),
    0 0 14px rgba(0, 240, 255, .3),
    0 14px 26px -16px rgba(0, 0, 1, .5);
}
.screen--card .screen__media { border-radius: calc(1.6cqw - 2px); }
.screen--left         { left: 0;     top: 17.3%; width: 22.1%; height: 63.9%; }
.screen--top-right    { left: 56.6%; top: 16.5%; width: 42.9%; height: 42.6%; }
.screen--bottom-right { left: 56.9%; top: 63.2%; width: 37.4%; height: 30.5%; }

/* Phone: the only screen with a physical frame */
.phone {
  left: 23.1%; top: .4%; width: 31.3%; height: 94.8%;
  z-index: 2;
  border-radius: 14% / 6.8%;
  background: linear-gradient(135deg, #6c6e72 0%, #222326 14%, #0b0b0c 45%, #1d1e21 80%, #75777b 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .22),
    inset 0 0 0 2.5px #0a0a0b,
    0 0 0 1px rgba(0, 0, 1, .55),
    0 0 18px rgba(0, 240, 255, .16),
    0 26px 38px -20px rgba(0, 0, 1, .6);
}
.phone::before,
.phone::after {                               /* side buttons */
  content: "";
  position: absolute;
  width: 1.2%;
  border-radius: 2px;
  background: linear-gradient(90deg, #2a2b2e, #6a6c70);
}
.phone::before { right: -1%; top: 24%; height: 11%; }
.phone::after  { left: -1%;  top: 19%; height: 6%; }
.phone__screen {
  position: absolute;
  inset: 1.4% 2.9%;
  width: auto; height: auto;
  border-radius: 11.8% / 5.7%;
  background: #000001;
  box-shadow: 0 0 0 2px #050506;
}
.phone .screen__glass { inset: 1.4% 2.9%; border-radius: 11.8% / 5.7%; }
.phone__island {
  position: absolute; z-index: 3;
  top: 2.4%; left: 50%;
  width: 31%; height: 3.6%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000001;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  pointer-events: none;
}

/* Seal (overlaps the junction of the left card and phone) */
.seal {
  position: absolute; z-index: 4;
  left: 14.8%; top: 12%;
  width: 14.8%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #f6f2ee 70%, #ece4dc);
  box-shadow: 0 0 0 1px rgba(0, 0, 1, .12), 0 10px 18px -8px rgba(0, 0, 1, .45);
  pointer-events: none;
}
.seal::after {                                /* inner hairline */
  content: "";
  position: absolute; inset: 27%;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 1, .16);
}
.seal__ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform-origin: 50% 50%;
  animation: create-seal-spin 30s linear infinite;
}
.seal__ring text {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10.2px;
  letter-spacing: .545px;         /* fills the full circle exactly */
  fill: var(--ink);
}
.create.is-offscreen .seal__ring { animation-play-state: paused; }
.seal__mark {
  position: absolute; z-index: 1;
  left: 50%; top: 50%;
  width: 34%; height: 34%;
  transform: translate(-50%, -50%);
}
@keyframes create-seal-spin { to { transform: rotate(360deg); } }

/* Distant space details (behind the screens, muted) */
.space { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.space > * { position: absolute; display: block; max-width: none; }
.space__moon { left: 74.3%; top: -29.5%; width: 9.6%; height: auto; opacity: .82; filter: drop-shadow(0 0 5px rgba(0, 240, 255, .35)); }
.space__rock { height: auto; opacity: .5; }
.space__rock--1 { left: 67.4%; top: -19.6%; width: 2%; }
.space__rock--2 { left: 100.2%; top: -11.4%; width: 1.9%; }
.space__rock--3 { left: 108%; top: 95%; width: 1.9%; }
.space__star { fill: var(--ink); opacity: .4; }
.space__star--1 { left: 94.2%; top: -33.6%; width: 3%; }
.space__star--2 { left: 60.4%; top: -26.5%; width: 1.6%; }
.space__star--3 { left: 110%; top: 112%; width: 1.7%; }
.space__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink); opacity: .3; }
.space__dot--1 { left: 57.3%; top: -23.9%; }
.space__dot--2 { left: 89.3%; top: -17.3%; }

/* ---------- Metrics ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(28px, 3vw, 48px);
  border-top: 1px solid var(--c-line);
}
.stat {
  position: relative;
  padding: clamp(18px, 2vw, 26px) 12px 0;
  text-align: center;
}
.stat + .stat::before {
  content: "";
  position: absolute; left: 0; top: 18px; bottom: 0;
  width: 1px;
  background: var(--c-line);
}
.stat__num {
  font-family: "Poppins Numerals", "Inter Create", var(--sans);
  font-weight: 700;
  font-size: clamp(2.8rem, 5.3vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-variant-numeric: lining-nums;
}
.stat__plus { color: var(--cyan); margin-left: .04em; }
.stat__label {
  margin-top: 6px;
  font-size: clamp(.78rem, 1.15vw, 1.1rem);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.stat__label::after {
  content: "";
  display: block;
  width: 46px; height: 2px;
  margin: 14px auto 0;
  background: var(--cyan);
  border-radius: 2px;
}

/* ---------- Tablet: copy first, graphic below ---------- */
@media (max-width: 1099px) {
  .create__grid { grid-template-columns: minmax(0, 1fr); }
  .create__copy { max-width: 640px; }
  .screens { width: min(88%, 600px); margin: clamp(110px, 17vw, 150px) auto 8px; }
}

/* ---------- Phones: reflowed graphic, stacked metrics ---------- */
@media (max-width: 699px) {
  .create { padding-top: 52px; }
  .create__title { font-size: clamp(2.7rem, 12.4vw, 4rem); }
  .cap { padding-left: 64px; }
  .cap__title::before { left: -24px; }

  .screens {
    width: 100%; max-width: 440px;
    aspect-ratio: auto;
    margin: 44px auto 0;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 3%;
    row-gap: 14px;
    align-items: center;
  }
  .space, .screens__lines { display: none; }
  .screen, .phone { position: relative; left: auto; top: auto; width: auto; height: auto; }
  .screen--left         { grid-column: 1 / 6;  grid-row: 1; aspect-ratio: 150 / 295; border-radius: 10px; }
  .phone                { grid-column: 6 / 13; grid-row: 1; aspect-ratio: 213 / 438; }
  .screen--top-right    { grid-column: 1 / 8;  grid-row: 2; aspect-ratio: 292 / 197; border-radius: 10px; }
  .screen--bottom-right { grid-column: 8 / 13; grid-row: 2; aspect-ratio: 254 / 141; border-radius: 10px; }
  .screen--card .screen__media { border-radius: 8px; }
  .seal {
    position: relative; left: auto; top: auto;
    grid-column: 4 / 8; grid-row: 1;
    align-self: start; justify-self: center;
    width: min(24vw, 96px);
    margin-top: 14%;
  }
  /* Simplified connector: one fine line with a cyan node under the screens */
  .screens::after {
    content: "";
    grid-column: 2 / 12; grid-row: 3;
    height: 11px;
    margin-top: 6px;
    background:
      radial-gradient(circle, var(--cyan) 0 3.5px, var(--ink) 4.2px 5.2px, transparent 5.8px) center / 11px 11px no-repeat,
      linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat;
    opacity: .85;
  }
}
@media (min-width: 700px) and (max-width: 899px) {
  .stat__label { letter-spacing: .1em; }
}
@media (max-width: 699px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat { padding: 22px 0 22px; }
  .stat + .stat { border-top: 1px solid var(--c-line); }
  .stat + .stat::before { display: none; }
  .stat__label { font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .seal__ring { animation: none; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .space__rock--3, .space__star--3 { display: none; }   /* keep the metrics row clear */
}

/* =========================================================
   SCROLLING STATEMENT STRIP — scoped to .ticker
   ========================================================= */
@font-face {
  font-family: "Inter Strip";
  src: url("../fonts/inter-bold-caps.woff") format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}
.ticker {
  --ticker-gap: clamp(28px, 3.4vw, 56px);     /* identical space each side of every helmet */
  --ticker-fs: clamp(1.1rem, 2.15vw, 2.05rem);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: clamp(68px, 7vw, 104px);
  margin: 0 0 clamp(24px, 3vw, 44px);
  overflow: hidden;
  overflow: clip;
  background: var(--cyan);
  color: var(--ink);
  box-shadow:
    0 -8px 26px -6px rgba(0, 240, 255, .6),
    0 8px 26px -6px rgba(0, 240, 255, .6),
    0 0 60px -10px rgba(0, 240, 255, .35);
}
.ticker__viewport { width: 100%; overflow: hidden; }
.ticker__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: ticker-scroll var(--ticker-dur, 56s) linear infinite;
}
.ticker__group {
  display: flex;
  align-items: center;
  flex: none;
  gap: var(--ticker-gap);
  padding-right: var(--ticker-gap);
}
.ticker__text {
  font-family: "Inter Strip", "Inter Create", var(--sans);
  font-weight: 700;
  font-size: var(--ticker-fs);
  line-height: 1;
  letter-spacing: .04em;
  white-space: nowrap;
}
.ticker__icon {
  flex: none;
  width: calc(var(--ticker-fs) * .84);         /* ~1.15x the capital height */
  height: calc(var(--ticker-fs) * .84);
  fill: currentColor;
  color: var(--ink);
}
@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(var(--ticker-shift, -25%), 0, 0); }
}
/* Pauses: hover, keyboard focus, the button, or off screen */
.ticker:hover:not(.is-override) .ticker__track,
.ticker:focus-within:not(.is-override) .ticker__track,
.ticker.is-paused .ticker__track,
.ticker.is-offscreen .ticker__track { animation-play-state: paused; }

/* Discreet pause / resume control */
.ticker__ctrl {
  position: absolute; right: 0; top: 0; bottom: 0;
  display: flex; align-items: center;
  padding: 0 clamp(10px, 1.6vw, 22px) 0 44px;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0), var(--cyan) 46%);
}
.ticker__btn {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  padding: 0;
  border: 1.5px solid rgba(0, 0, 1, .55);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.ticker__btn:hover { background: rgba(0, 0, 1, .08); border-color: var(--ink); }
.ticker__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .7); }
.ticker__ico { width: 14px; height: 14px; fill: currentColor; }
.ticker__ico--play { display: none; }
.ticker.is-paused .ticker__ico--play { display: block; }
.ticker.is-paused .ticker__ico--pause { display: none; }

@media (max-width: 599px) {
  .ticker { --ticker-gap: 22px; }
  .ticker__btn { width: 32px; height: 32px; }
  .ticker__ctrl { padding-left: 32px; }
}

/* Reduced motion: one stationary, readable sentence that may wrap */
@media (prefers-reduced-motion: reduce) {
  .ticker { height: auto; min-height: clamp(68px, 7vw, 104px); }
  .ticker__track { animation: none; width: 100%; justify-content: center; padding: 18px var(--pad-x); transform: none; }
  .ticker__group { padding-right: 0; flex: 0 1 auto; }
  .ticker__group ~ .ticker__group, .ticker__icon { display: none; }
  .ticker__text { white-space: normal; text-align: center; line-height: 1.2; }
  .ticker__ctrl { display: none; }
}
