/* ==========================================================================
   Puras Almas 23 — Marketing strategy studio
   ========================================================================== */

/* Registered props so theme colours can transition smoothly */
@property --bg { syntax: '<color>'; inherits: true; initial-value: #0D0D0B; }
@property --fg { syntax: '<color>'; inherits: true; initial-value: #EEE9E0; }
@property --muted { syntax: '<color>'; inherits: true; initial-value: rgba(238, 233, 224, .6); }
@property --line { syntax: '<color>'; inherits: true; initial-value: rgba(238, 233, 224, .14); }
@property --accent { syntax: '<color>'; inherits: true; initial-value: #FF4A1C; }
@property --accent-fg { syntax: '<color>'; inherits: true; initial-value: #0D0D0B; }

:root {
  --ink: #0D0D0B;
  --ink-2: #161613;
  --bone: #EEE9E0;
  --bone-2: #E2DACC;
  --signal: #FF4A1C;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(1rem, 3.2vw, 3rem);
  --nav-h: 76px;
  --radius: 6px;

  --ease: cubic-bezier(.76, 0, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

body[data-theme="dark"] {
  --bg: #0D0D0B; --fg: #EEE9E0;
  --muted: rgba(238, 233, 224, .6); --line: rgba(238, 233, 224, .14);
  --accent: #FF4A1C; --accent-fg: #0D0D0B;
}
body[data-theme="light"] {
  --bg: #EEE9E0; --fg: #0D0D0B;
  --muted: rgba(13, 13, 11, .62); --line: rgba(13, 13, 11, .15);
  --accent: #D9370F; --accent-fg: #0D0D0B;
}
body[data-theme="signal"] {
  --bg: #FF4A1C; --fg: #0D0D0B;
  --muted: rgba(13, 13, 11, .8); --line: rgba(13, 13, 11, .25);
  --accent: #0D0D0B; --accent-fg: #FF4A1C;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
img, svg, canvas { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
fieldset { border: 0; min-width: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-display);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: --bg .8s var(--ease), --fg .8s var(--ease), --muted .8s var(--ease),
              --line .8s var(--ease), --accent .8s var(--ease), --accent-fg .8s var(--ease);
}

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.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;
}
.skip {
  position: fixed; top: 1rem; left: 1rem; z-index: 10001;
  background: var(--signal); color: var(--ink); padding: .75rem 1rem; border-radius: 4px;
  transform: translateY(-200%); transition: transform .3s;
}
.skip:focus { transform: none; }

.container { width: min(100% - 2 * var(--gutter), 1680px); margin-inline: auto; }

em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; }

.ico { width: 1em; height: 1em; flex-shrink: 0; }

/* ---------- Shared type ---------- */
.eyebrow, .sec-label {
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: .6rem;
}
.sec-label span { color: var(--accent); }

.sec-head { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); margin-bottom: clamp(3rem, 7vw, 6rem); }
.sec-head--split {
  grid-template-columns: 1.4fr 1fr; align-items: end; gap: var(--gutter);
}
.sec-head--split > div { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }

.sec-title {
  font-size: clamp(2.6rem, 6.6vw, 7rem);
  line-height: .94;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: -.045em;
  max-width: 14ch;
}
.sec-title em, .contact__title em, .faq__title em, .hero__title em, .manifesto__text em {
  color: var(--accent);
  letter-spacing: -.02em;
}
.sec-title em { font-size: 1.08em; line-height: .8; }

.sec-intro { max-width: 40ch; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.15rem); }

/* SplitText masks: keep italic overhang and descenders visible */
.ln-mask { padding: 0 .12em .1em 0; margin: 0 -.12em -.1em 0; }

/* ---------- Roll hover text ---------- */
.roll { display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.2; }
.roll > span { display: inline-block; position: relative; transition: transform .7s var(--ease-out); }
.roll > span::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%; white-space: nowrap;
}
@media (hover: hover) {
  a:hover .roll > span, button:hover .roll > span { transform: translateY(-100%); }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: .65rem;
  height: 3.25rem; padding: 0 1.5rem;
  border-radius: 999px;
  font-size: .95rem; font-weight: 500; font-stretch: 105%;
  white-space: nowrap;
  transition: color .5s var(--ease-out), border-color .5s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--fg);
  transform: translateY(101%);
  transition: transform .6s var(--ease-out);
}
.btn .ico { transition: transform .6s var(--ease-out); }
.btn--signal { background: var(--accent); color: var(--accent-fg); }
.btn--ghost { border: 1px solid var(--line); }
.btn--lg { height: 3.75rem; padding: 0 2rem; font-size: 1.05rem; }
@media (hover: hover) {
  .btn:hover::before { transform: none; }
  .btn:hover { color: var(--bg); }
  .btn:hover .ico { transform: rotate(45deg); }
}
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 500; position: relative; padding-bottom: .25rem;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: right; transition: transform .6s var(--ease-out);
}
.link-arrow .ico { transition: transform .6s var(--ease-out); }
@media (hover: hover) {
  .link-arrow:hover::after { transform: scaleX(0); }
  .link-arrow:hover .ico { transform: translateX(.35rem); }
}

/* ---------- Brand mark ---------- */
.mark { width: 28px; height: 28px; }
.mark-bg { fill: var(--accent); transition: fill .8s var(--ease); }
.mark-fg { stroke: var(--accent-fg); transition: stroke .8s var(--ease); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--ink); color: var(--bone);
  display: grid; grid-template-rows: auto 1fr auto auto;
  padding: var(--gutter);
  clip-path: inset(0 0 0 0);
  /* failsafe: never block the page if JS fails */
  animation: preloader-failsafe 0s 7s forwards;
}
.no-js .preloader { display: none; }
@keyframes preloader-failsafe { to { visibility: hidden; } }
.preloader__brand {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 600; font-stretch: 115%; letter-spacing: -.03em; font-size: 1.25rem;
  --accent: #FF4A1C; --accent-fg: #0D0D0B;
}
.preloader__claim {
  align-self: end; justify-self: end;
  font-family: var(--f-serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.6rem);
  color: rgba(238, 233, 224, .6); margin-bottom: 1rem;
}
.preloader__count {
  font-size: clamp(6rem, 22vw, 22rem); font-weight: 700; font-stretch: 125%;
  letter-spacing: -.06em; line-height: .78; font-variant-numeric: tabular-nums;
}
.preloader__pct { font-size: .3em; vertical-align: top; color: var(--signal); margin-left: .1em; }
.preloader__bar { height: 2px; background: rgba(238, 233, 224, .14); margin-top: 1.5rem; }
.preloader__bar span { display: block; height: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input:not([type="checkbox"]):not([type="radio"]), .has-cursor textarea { cursor: text !important; }
.cursor__dot, .cursor__ring {
  position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none;
  border-radius: 50%;
}
.cursor__dot { width: 6px; height: 6px; background: var(--signal); }
.cursor__ring {
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, .9);
  mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width .5s var(--ease-out), height .5s var(--ease-out), background-color .4s, border-color .4s, opacity .3s;
}
.cursor__label {
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase;
  color: #000; opacity: 0; transition: opacity .3s; white-space: nowrap;
}
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; background: rgba(255, 255, 255, .08); }
.cursor.is-label .cursor__ring { width: 104px; height: 104px; background: #fff; border-color: #fff; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot, .cursor.is-hidden .cursor__dot { opacity: 0; }
.cursor.is-hidden .cursor__ring { opacity: 0; }

/* ---------- Grain + progress ---------- */
.grain {
  position: fixed; inset: -100%; z-index: 9000; pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); } 60% { transform: translate(-6%, -2%); }
  80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 0 var(--gutter);
  transition: transform .6s var(--ease), background-color .5s, backdrop-filter .5s;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 600; font-stretch: 115%; letter-spacing: -.035em; font-size: 1.3rem;
}
.nav__logo .mark { transition: transform .8s var(--ease-out); }
.nav__logo sup, .preloader__brand sup {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%;
  font-size: .72em; letter-spacing: 0; color: var(--accent); margin-left: .12em; vertical-align: .45em; line-height: 0;
}
.nav__logo:hover .mark { transform: rotate(45deg); }
.nav__links { display: flex; gap: clamp(1.25rem, 2.5vw, 2.5rem); font-size: .95rem; font-weight: 500; margin-left: auto; }
.nav__cta { height: 2.75rem; padding: 0 1.2rem; }
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav__toggle-line {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor;
  transition: transform .5s var(--ease-out);
}
.nav__toggle-line:first-child { top: 18px; }
.nav__toggle-line:nth-child(2) { top: 25px; }
.menu-open .nav__toggle-line:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__toggle-line:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.menu-open .nav { color: var(--ink); --accent: #0D0D0B; --accent-fg: #FF4A1C; background: transparent; backdrop-filter: none; }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--signal); color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 2rem;
  clip-path: circle(0% at calc(100% - 2.5rem) 2.4rem);
  transition: clip-path .9s var(--ease);
  visibility: hidden;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 2.5rem) 2.4rem); visibility: visible; }
.menu:not(.is-open) { transition: clip-path .7s var(--ease), visibility 0s .7s; }
.menu__nav { display: grid; gap: .25rem; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 1rem; overflow: hidden;
  font-size: clamp(2.6rem, 11vw, 5rem); font-weight: 600; font-stretch: 115%; letter-spacing: -.045em; line-height: 1.05;
}
.menu__num { font-family: var(--f-mono); font-size: .8rem; letter-spacing: 0; font-weight: 400; }
.menu__txt { display: inline-block; }
.menu__foot { display: flex; flex-direction: column; gap: .5rem; font-family: var(--f-mono); font-size: .85rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner {
  position: relative; z-index: 1;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto; gap: 2rem;
  padding-top: calc(var(--nav-h) + 1.5rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  pointer-events: none;
}
.hero__inner a, .hero__inner button { pointer-events: auto; }
.hero__top { display: flex; justify-content: space-between; gap: 1rem; }
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 74, 28, .6); animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 74, 28, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 74, 28, 0); } }

.hero__title {
  align-self: center;
  font-size: clamp(3rem, 8.4vw, 10.5rem);
  line-height: .9;
  font-weight: 600;
  font-stretch: 115%;
  letter-spacing: -.05em;
}
.hero__title .line { display: block; overflow: hidden; padding: 0 .15em .08em 0; margin-bottom: -.08em; }
.hero__title .line__in { display: inline-block; will-change: transform; }
.hero__title .line--indent { padding-left: 18vw; }
.hero__title em { font-size: 1.32em; line-height: .78; letter-spacing: -.03em; }

.hero__bottom {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: end; gap: 2rem;
}
.hero__lead { max-width: 36ch; font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.4; color: var(--muted); }
.hero__actions { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.hero__scroll {
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll i { width: 1px; height: 56px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  animation: scrollline 2.2s var(--ease) infinite;
}
@keyframes scrollline { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Marquee ---------- */
.marquee { padding: clamp(3rem, 7vw, 6rem) 0; overflow: hidden; position: relative; z-index: 2; }
.marquee__band {
  width: 112vw; margin-left: -6vw;
  overflow: hidden;
}
.marquee__band--a { background: var(--signal); color: var(--ink); transform: rotate(-2.5deg); position: relative; z-index: 2; }
.marquee__band--b { background: var(--bone); color: var(--ink); transform: rotate(1.8deg); margin-top: -.6rem; }
.marquee__row { display: flex; width: max-content; }
.marquee__track {
  display: flex; align-items: center; gap: .45em; flex-shrink: 0;
  padding: .28em .45em .28em 0;
  white-space: nowrap;
}
.marquee__band--a .marquee__track {
  font-size: clamp(2.2rem, 6vw, 6rem); font-weight: 700; font-stretch: 120%;
  letter-spacing: -.045em; line-height: 1; text-transform: uppercase;
}
.marquee__band--a .ico { width: .7em; height: .7em; }
.marquee__band--b .marquee__track {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(1.8rem, 4.4vw, 4.4rem); line-height: 1; padding-block: .22em;
}
.marquee__band--b i { font-style: normal; font-family: var(--f-display); font-size: .6em; color: var(--signal); }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(7rem, 16vw, 15rem) 0; }
.manifesto__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem var(--gutter); }
.manifesto .sec-label { grid-column: 1 / span 3; align-self: start; padding-top: 1rem; }
.manifesto__text {
  grid-column: 4 / -1;
  font-size: clamp(1.9rem, 4.3vw, 4.8rem);
  line-height: 1.04; font-weight: 500; font-stretch: 105%; letter-spacing: -.035em;
}
.manifesto__text em { font-size: 1.1em; }
.manifesto__foot {
  grid-column: 4 / span 6; margin-top: clamp(1.5rem, 4vw, 3.5rem);
  display: grid; gap: 1.5rem; justify-items: start;
  color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.15rem); max-width: 46ch;
}
.manifesto__foot .link-arrow { color: var(--fg); }

/* ---------- Services ---------- */
.services { padding: clamp(6rem, 13vw, 12rem) 0; position: relative; }
.svc-list { border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); }
.svc__head {
  position: relative; isolation: isolate;
  width: 100%; text-align: left;
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto 2.75rem; align-items: center; gap: 1.5rem;
  padding: clamp(1.4rem, 2.6vw, 2.4rem) 0;
  transition: color .5s var(--ease-out);
}
.svc__head::before {
  content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1;
  background: var(--fg);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .7s var(--ease-out);
}
.svc__num { font-family: var(--f-mono); font-size: .8rem; color: var(--accent); transition: color .5s; }
.svc__title {
  font-size: clamp(1.55rem, 3.6vw, 3.7rem); font-weight: 500; font-stretch: 110%;
  letter-spacing: -.04em; line-height: 1.02;
  transition: transform .7s var(--ease-out);
}
.svc__tags { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); transition: color .5s; }
.svc__icon { position: relative; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 50%; transition: transform .7s var(--ease-out), border-color .5s; }
.svc__icon::before, .svc__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor;
  transform: translate(-50%, -50%);
}
.svc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.svc.is-open .svc__icon { transform: rotate(135deg); background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
@media (hover: hover) {
  .svc__head:hover { color: var(--bg); }
  .svc__head:hover::before { transform: scaleY(1); }
  .svc__head:hover .svc__title { transform: translateX(1.25rem); }
  .svc__head:hover .svc__tags { color: color-mix(in srgb, var(--bg) 70%, transparent); }
  .svc__head:hover .svc__num { color: var(--signal); }
  .svc__head:hover .svc__icon { border-color: color-mix(in srgb, var(--bg) 40%, transparent); }
}
.svc__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .7s var(--ease-out); }
.js .svc__body { grid-template-rows: 0fr; }
.js .svc.is-open .svc__body { grid-template-rows: 1fr; }
.svc__body-in {
  overflow: hidden; min-height: 0;
  display: grid; grid-template-columns: 4.5rem minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.5rem;
}
.svc__body-in > p { grid-column: 2; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.45; max-width: 44ch; padding-bottom: 2.5rem; }
.svc__body-in .chips { grid-column: 3; align-content: start; padding-bottom: 2.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: .45rem .9rem; font-size: .85rem; }

.svc-preview {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  width: clamp(200px, 17vw, 280px); aspect-ratio: 4 / 5;
  border-radius: var(--radius); overflow: hidden;
  background: var(--signal);
  opacity: 0; transform: scale(.3);
  display: none;
}
.has-cursor .svc-preview { display: block; }
.svc-preview__inner { display: flex; flex-direction: column; }
.svc-preview__inner svg {
  width: 100%; aspect-ratio: 4 / 5; flex-shrink: 0; padding: 18%;
  fill: none; stroke: var(--ink); stroke-width: 3;
}
.svc-preview__inner .fill { fill: var(--ink); }
.svc-preview__inner .thin { stroke-width: 1.5; stroke-dasharray: 4 6; }
.svc-preview__inner .ink-on-fill { stroke: var(--signal); }

/* ---------- Method ---------- */
.method { padding: clamp(6rem, 12vw, 10rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.method__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.method__track {
  display: flex; gap: clamp(1rem, 2.5vw, 2.5rem);
  padding-inline: max(var(--gutter), (100vw - 1680px) / 2);
  width: max-content;
}
.step {
  width: min(82vw, 1040px); min-height: min(62vh, 580px); flex-shrink: 0;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1.5rem, 3vw, 3rem);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(238, 233, 224, .045), rgba(238, 233, 224, 0) 60%);
}
.step__side { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.step__num {
  font-size: clamp(5.5rem, 13vw, 14rem); font-weight: 700; font-stretch: 125%; line-height: .78; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1.2px var(--fg);
}
.step__art { width: min(100%, 300px); height: auto; fill: none; stroke: var(--muted); stroke-width: 1.4; }
.step__art .accent { stroke: var(--signal); stroke-width: 2.2; }
.step__art .dot { fill: var(--signal); stroke: none; }
.js .step__art .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.step__body { display: flex; flex-direction: column; gap: 1rem; }
.step__title { font-size: clamp(2.2rem, 4.6vw, 4.8rem); font-weight: 600; font-stretch: 115%; letter-spacing: -.045em; line-height: .95; }
.step__kicker { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 2.1rem); color: var(--accent); line-height: 1.1; }
.step__body > p:not(.step__kicker) { color: var(--muted); max-width: 42ch; font-size: clamp(1rem, 1.2vw, 1.12rem); }
.step__list { display: grid; gap: .5rem; margin-top: .5rem; }
.step__list li { display: flex; align-items: center; gap: .75rem; font-size: .95rem; }
.step__list li::before { content: ""; width: 14px; height: 1px; background: var(--accent); }
.step__time {
  margin-top: auto; align-self: flex-start;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px; padding: .4rem .85rem;
}
.method__progress { display: flex; align-items: center; gap: 1.5rem; margin-top: clamp(2rem, 4vw, 3rem); }
.method__count { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); white-space: nowrap; }
.method__count b { color: var(--fg); font-weight: 500; }
.method__bar { flex: 1; height: 1px; background: var(--line); }
.method__bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* ---------- Stats ---------- */
.stats { padding: clamp(6rem, 13vw, 12rem) 0; }
.stats__head { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); margin-bottom: clamp(3rem, 7vw, 6rem); }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 2rem) 0 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: clamp(1rem, 2vw, 2rem); }
.stat:last-child { border-right: 0; }
.stat__num {
  display: flex; align-items: flex-start;
  font-size: clamp(3.2rem, 6.4vw, 8.5rem); font-weight: 700; font-stretch: 125%; letter-spacing: -.06em; line-height: .9;
  font-variant-numeric: tabular-nums;
}
.stat__unit { font-size: .45em; line-height: 1.1; letter-spacing: -.02em; }
.stat p { margin-top: 1rem; color: var(--muted); max-width: 22ch; font-size: clamp(.95rem, 1.1vw, 1.05rem); }

/* ---------- Cases ---------- */
.cases { padding: clamp(6rem, 13vw, 12rem) 0; }
.cases__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 4vw, 4.5rem);
}
.case { display: block; }
.case:nth-child(even) { margin-top: clamp(4rem, 14vw, 14rem); }
.case__media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 5; background: var(--ink-2);
}
.case:nth-child(4n+2) .case__media, .case:nth-child(4n+3) .case__media { aspect-ratio: 1 / 1; }
.case__art { position: absolute; inset: -10% 0; transition: scale 1.4s var(--ease-out); }
.art-1__sun, .art-4 i { transition: transform 1.4s var(--ease-out); }
.case__metric {
  position: absolute; left: clamp(1rem, 2vw, 1.75rem); bottom: clamp(.75rem, 1.6vw, 1.5rem);
  font-size: clamp(3rem, 7.5vw, 8rem); font-weight: 700; font-stretch: 125%; letter-spacing: -.06em; line-height: .9;
  color: var(--bone);
}
.case__metric--ink { color: var(--ink); }
.case__metric--signal { color: var(--signal); }
.case__metric--top { top: clamp(1rem, 2vw, 1.75rem); bottom: auto; }
.case__meta {
  display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.25rem;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
}
.case__title {
  margin-top: .6rem; font-size: clamp(1.3rem, 2.1vw, 2.1rem); font-weight: 500; font-stretch: 105%;
  letter-spacing: -.03em; line-height: 1.12; max-width: 24ch;
}
.case__result { margin-top: .6rem; color: var(--accent); font-weight: 500; }
@media (hover: hover) {
  .case:hover .case__art { scale: 1.06; }
  .case:hover .art-4 i { transform: translate(-50%, -50%) rotate(calc(var(--r) + 25deg)); }
  .case:hover .art-1__sun { transform: translate(-6%, -8%); }
}

/* Case art: generated visuals */
.art-1 {
  background:
    repeating-linear-gradient(90deg, rgba(238, 233, 224, .06) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(238, 233, 224, .06) 0 1px, transparent 1px 48px),
    #151411;
}
.art-1__sun {
  position: absolute; width: 95%; aspect-ratio: 1; border-radius: 50%; right: -28%; top: 12%;
  background: radial-gradient(circle at 32% 30%, #FF8A5C, #FF4A1C 42%, #8A1C04 100%);
  box-shadow: 0 0 120px rgba(255, 74, 28, .35);
}
.art-1__ring {
  position: absolute; width: 45%; aspect-ratio: 1; border-radius: 50%; left: 8%; top: 18%;
  border: 1px solid rgba(238, 233, 224, .35);
}
.art-2 {
  background:
    repeating-radial-gradient(circle at 0% 100%, transparent 0 34px, rgba(13, 13, 11, .9) 34px 35.5px),
    var(--bone-2);
}
.art-2__q {
  position: absolute; right: 0; top: 10%; width: 58%; aspect-ratio: 1;
  background: var(--signal); border-radius: 100% 0 0 0;
}
.art-3 { background: var(--signal); display: flex; align-items: flex-end; gap: 4%; padding: 0 8% 10%; }
.art-3 i { flex: 1; background: var(--ink); border-radius: 3px 3px 0 0; transform-origin: bottom; }
.art-3 i:nth-child(1) { height: 30%; } .art-3 i:nth-child(2) { height: 24%; }
.art-3 i:nth-child(3) { height: 38%; } .art-3 i:nth-child(4) { height: 33%; }
.art-3 i:nth-child(5) { height: 46%; } .art-3 i:nth-child(6) { height: 58%; background: var(--bone); }
.art-4 { background: radial-gradient(circle at 50% 50%, #3A3328, #1E1B16 70%); }
.art-4 i {
  position: absolute; left: 50%; top: 50%; aspect-ratio: 1; border: 1px solid rgba(238, 233, 224, .5);
  transform: translate(-50%, -50%) rotate(var(--r));
}
.art-4 i:nth-child(1) { width: 18%; --r: 12deg; border-color: var(--signal); background: var(--signal); }
.art-4 i:nth-child(2) { width: 34%; --r: 24deg; }
.art-4 i:nth-child(3) { width: 50%; --r: 36deg; }
.art-4 i:nth-child(4) { width: 66%; --r: 48deg; }
.art-4 i:nth-child(5) { width: 82%; --r: 60deg; border-color: rgba(238, 233, 224, .25); }

/* ---------- Formats ---------- */
.formats { padding: clamp(6rem, 13vw, 12rem) 0; }
.formats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.fmt {
  position: relative;
  display: flex; flex-direction: column; gap: 1.25rem;
  padding: clamp(1.5rem, 2.6vw, 2.5rem);
  border: 1px solid var(--line); border-radius: var(--radius);
  min-height: 30rem;
  transition: translate .7s var(--ease-out), box-shadow .7s var(--ease-out);
}
.fmt::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; border-radius: var(--radius) var(--radius) 0 0;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out);
}
@media (hover: hover) {
  .fmt:hover { translate: 0 -8px; box-shadow: 0 30px 60px -30px rgba(13, 13, 11, .35); }
  .fmt:hover::before { transform: scaleX(1); }
}
.fmt--featured {
  background: var(--ink); color: var(--bone); border-color: var(--ink);
  --muted: rgba(238, 233, 224, .62); --line: rgba(238, 233, 224, .16); --accent: #FF4A1C;
}
.fmt__badge {
  position: absolute; top: clamp(1.5rem, 2.6vw, 2.5rem); right: clamp(1.5rem, 2.6vw, 2.5rem);
  background: var(--signal); color: var(--ink); border-radius: 999px; padding: .3rem .75rem;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase;
}
.fmt__top { display: flex; align-items: baseline; gap: 1rem; }
.fmt__idx { font-family: var(--f-serif); font-style: italic; font-size: 3.5rem; line-height: .8; color: var(--accent); }
.fmt__dur { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.fmt__title { font-size: clamp(1.8rem, 2.8vw, 2.8rem); font-weight: 600; font-stretch: 112%; letter-spacing: -.04em; line-height: 1; margin-top: 1.5rem; }
.fmt > p { color: var(--muted); }
.fmt__list { display: grid; gap: .55rem; border-top: 1px solid var(--line); padding-top: 1.25rem; margin-bottom: auto; }
.fmt__list li { display: flex; gap: .75rem; align-items: center; font-size: .95rem; }
.fmt__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.fmt .link-arrow { align-self: flex-start; }

/* FAQ */
.faq {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: var(--gutter);
  margin-top: clamp(6rem, 12vw, 11rem);
}
.faq__head { display: grid; gap: 1.5rem; align-content: start; }
.faq__title { font-size: clamp(2rem, 3.6vw, 3.6rem); font-weight: 600; font-stretch: 112%; letter-spacing: -.045em; line-height: 1; max-width: 12ch; }
.faq__title em { font-size: 1.08em; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; text-align: left;
  padding: 1.6rem 0; font-size: clamp(1.1rem, 1.7vw, 1.55rem); font-weight: 500; letter-spacing: -.02em;
}
.faq__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; transition: transform .6s var(--ease-out); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transform: translateY(-50%);
}
.faq__icon::after { transform: translateY(-50%) rotate(90deg); transition: transform .6s var(--ease-out); }
.faq__item.is-open .faq__icon::after { transform: translateY(-50%) rotate(0); }
.faq__item.is-open .faq__icon { transform: rotate(180deg); color: var(--accent); }
.faq__a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .6s var(--ease-out); }
.js .faq__a { grid-template-rows: 0fr; }
.js .faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; min-height: 0; }
.faq__a p { padding-bottom: 1.6rem; color: var(--muted); max-width: 60ch; font-size: clamp(1rem, 1.2vw, 1.1rem); }

/* ---------- Contact ---------- */
.contact { padding: clamp(6rem, 13vw, 12rem) 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 8rem); }
.contact__left { display: flex; flex-direction: column; gap: clamp(1.25rem, 2.5vw, 2rem); position: relative; }
.contact__title {
  font-size: clamp(2.8rem, 7.2vw, 8rem); font-weight: 600; font-stretch: 112%; letter-spacing: -.05em; line-height: .92;
}
.contact__title em { font-size: 1.1em; }
.contact__lead { color: var(--muted); max-width: 40ch; font-size: clamp(1rem, 1.25vw, 1.15rem); }
.contact__mail {
  align-self: flex-start;
  font-size: clamp(1.4rem, 2.6vw, 2.4rem); font-weight: 500; letter-spacing: -.03em;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  padding-bottom: .2rem; transition: background-size .7s var(--ease-out), color .4s;
}
@media (hover: hover) { .contact__mail:hover { color: var(--accent); background-size: 0 1px; background-position: right bottom; } }

.round-btn {
  position: relative; width: clamp(8.5rem, 11vw, 11rem); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; margin-top: auto;
  background: var(--accent); color: var(--accent-fg);
}
.round-btn__ring { position: absolute; inset: 6%; width: 88%; height: 88%; animation: spin 14s linear infinite; }
.round-btn__ring text {
  font-family: var(--f-mono); font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; fill: currentColor;
}
.round-btn__arrow { width: 32%; height: 32%; transition: transform .7s var(--ease-out); }
@media (hover: hover) { .round-btn:hover .round-btn__arrow { transform: rotate(45deg) scale(1.1); } }
@keyframes spin { to { transform: rotate(360deg); } }

.form { display: grid; gap: 1.75rem; align-content: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.field { position: relative; border-bottom: 1px solid var(--line); }
.field::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out);
}
.field:focus-within::after { transform: scaleX(1); }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; outline: none; border-radius: 0;
  padding: 1.7rem 0 .7rem; font-size: 1.1rem; color: var(--fg);
}
.field textarea { resize: vertical; min-height: 7.5rem; line-height: 1.5; }
.field label {
  position: absolute; left: 0; top: 1.65rem; color: var(--muted); pointer-events: none;
  transform-origin: left top; transition: transform .5s var(--ease-out), color .4s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-1.15rem) scale(.78); color: var(--accent);
}
.field.is-invalid { border-color: #FF6B47; }
.field.is-invalid label { color: #FF6B47; }

.chips-field { display: flex; flex-wrap: wrap; gap: .55rem; }
.chips-field legend {
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  margin-bottom: .9rem; float: left; width: 100%;
}
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.chip span {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem; font-size: .9rem;
  transition: background-color .4s var(--ease-out), color .4s, border-color .4s;
}
.chip:hover span { border-color: var(--fg); }
.chip input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.consent { display: flex; gap: .85rem; align-items: flex-start; font-size: .9rem; color: var(--muted); position: relative; }
.consent input { position: absolute; opacity: 0; width: 20px; height: 20px; }
.consent__box {
  width: 20px; height: 20px; flex-shrink: 0; border: 1px solid var(--muted); border-radius: 4px; margin-top: .1rem;
  display: grid; place-items: center; transition: background-color .3s, border-color .3s;
}
.consent__box::after {
  content: ""; width: 10px; height: 6px; border-left: 2px solid var(--accent-fg); border-bottom: 2px solid var(--accent-fg);
  transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .3s var(--ease-out);
}
.consent input:checked + .consent__box { background: var(--accent); border-color: var(--accent); }
.consent input:checked + .consent__box::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.consent.is-invalid { color: #FF6B47; }
.consent.is-invalid .consent__box { border-color: #FF6B47; }

.form__submit { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.form__status { font-size: .95rem; color: var(--muted); }
.form__status.is-ok { color: var(--fg); }
.form__status.is-error { color: #FF6B47; }

/* ---------- Footer ---------- */
.footer { padding-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.footer__col { display: flex; flex-direction: column; gap: .4rem; color: var(--muted); }
.footer__col h4 {
  font-family: var(--f-mono); font-weight: 400; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg); margin-bottom: .6rem;
}
.footer__col a { align-self: flex-start; transition: color .3s; }
.footer__col a:hover { color: var(--accent); }
.footer__brand {
  display: flex; align-items: flex-end; justify-content: center;
  font-size: 13.4vw; font-weight: 700; font-stretch: 125%; letter-spacing: -.07em; line-height: .78;
  margin-top: clamp(3rem, 7vw, 6rem); white-space: nowrap; overflow: hidden; padding-bottom: .17em;
}
.footer__brand span { display: inline-block; }
.footer__sp { width: .24em; flex-shrink: 0; }
.footer__num {
  align-self: flex-start; margin: .02em 0 0 .06em;
  font-size: .36em; line-height: 1; letter-spacing: -.02em; color: var(--accent);
}
.footer__bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.5rem 0 2rem; border-top: 1px solid var(--line); margin-top: 1.25rem;
  font-family: var(--f-mono); font-size: .75rem; color: var(--muted);
}
.footer__bottom a:hover { color: var(--accent); }

/* ---------- Reveal helpers (only when JS runs) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js.is-static [data-reveal] { opacity: 1; transform: none; }

/* ---------- No-JS fallbacks ---------- */
.no-js section[data-theme="light"] { background: var(--bone); color: var(--ink); }
.no-js section[data-theme="signal"] { background: var(--signal); color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .svc__tags { display: none; }
  .svc__head { grid-template-columns: 3.5rem minmax(0, 1fr) 2.75rem; }
  .svc__body-in { grid-template-columns: 3.5rem minmax(0, 1fr); }
  .svc__body-in > p { padding-bottom: 1.25rem; }
  .svc__body-in .chips { grid-column: 2; }
  .formats__grid { grid-template-columns: 1fr; }
  .fmt { min-height: 0; }
  .fmt__title { margin-top: .5rem; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(2n+1) { padding-left: 0; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .hide-sm { display: none; }

  .hero__title { font-size: clamp(2.9rem, 14vw, 6rem); }
  .hero__title .line--indent { padding-left: 10vw; }
  .hero__bottom { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero__scroll { display: none; }

  .manifesto__grid { grid-template-columns: 1fr; }
  .manifesto .sec-label, .manifesto__text, .manifesto__foot { grid-column: 1; }
  .manifesto .sec-label { padding-top: 0; }

  .sec-head--split { grid-template-columns: 1fr; }

  .method__track { flex-direction: column; width: auto; padding-inline: var(--gutter); }
  .step { width: 100%; min-height: 0; grid-template-columns: 1fr; }
  .step__side { flex-direction: row; align-items: flex-end; }
  .step__art { width: 46%; }
  .method__progress { display: none; }

  .cases__grid { grid-template-columns: 1fr; }
  .case:nth-child(even) { margin-top: 0; }
  .case .case__media { aspect-ratio: 4 / 4.4 !important; }

  .faq { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .round-btn { position: absolute; right: 0; top: 0; width: 6.5rem; }
  .round-btn__ring text { font-size: 15px; }
  .contact__title { padding-right: 6.5rem; }

  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
}

@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat, .stat + .stat { border-right: 0; padding-left: 0; }
  .stat__num { font-size: 4.4rem; }
  .hero__actions { gap: 1.25rem; }
  .contact__title { padding-right: 0; padding-top: 7rem; }
  .round-btn { top: 2.5rem; }
  .footer__bottom { flex-direction: column; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .grain { display: none; }
}
