/* ════════════════════════════════════════════════════════════════════
   ORIGAMIX STUDIO · Estilos del sitio
   1) Tipografías  2) Sistema de diseño (colores, tamaños, botones)
   3) Componentes del sitio  4) Ajustes de la versión HTML/PHP
   Los colores de marca se cambian desde el panel (Apariencia).
   ════════════════════════════════════════════════════════════════════ */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-italic.woff2") format("woff2"); font-weight: 100 1000; font-style: italic; font-display: swap; }
:root { --ff-bricolage: "Bricolage Grotesque"; --ff-dmsans: "DM Sans"; }

/* ════════════════════════════════════════════════════════════════════
   ORIGAMIX DESIGN SYSTEM (ODS) — tokens, base, primitives
   Brand colours come from the official logo (see docs/ODS.md) and can be
   overridden from the CMS (Apariencia), which injects --ox-* on :root.
   Breakpoints (reference — CSS custom props can’t be used in @media):
     sm 480 · md 768 · lg 1024 · xl 1280 · 2xl 1600
   ════════════════════════════════════════════════════════════════════ */

:root {
  /* Brand primitives */
  --ox-teal: #1f999c;
  --ox-orange: #f18910;
  --ox-violet: #7963ff;
  --ox-ink: #141414;
  --ox-paper: #f7f8fa;
  --ox-slate: #6b7b8a; /* logotype letters */
  --ox-white: #ffffff;

  /* Derived tints/shades */
  --ox-teal-600: color-mix(in oklab, var(--ox-teal) 82%, black);
  --ox-teal-100: color-mix(in oklab, var(--ox-teal) 14%, white);
  --ox-orange-600: color-mix(in oklab, var(--ox-orange) 80%, black);
  --ox-orange-100: color-mix(in oklab, var(--ox-orange) 14%, white);
  --ox-violet-600: color-mix(in oklab, var(--ox-violet) 82%, black);
  --ox-violet-100: color-mix(in oklab, var(--ox-violet) 13%, white);

  /* Typography */
  --font-display: var(--ff-bricolage), "DM Sans", system-ui, sans-serif;
  --font-body: var(--ff-dmsans), system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-2xs: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  --fs-xs: clamp(0.8rem, 0.78rem + 0.12vw, 0.875rem);
  --fs-sm: clamp(0.9rem, 0.87rem + 0.15vw, 1rem);
  --fs-md: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-lg: clamp(1.15rem, 1.05rem + 0.45vw, 1.45rem);
  --fs-xl: clamp(1.4rem, 1.2rem + 0.9vw, 2rem);
  --fs-2xl: clamp(1.8rem, 1.4rem + 1.8vw, 3rem);
  --fs-3xl: clamp(2.3rem, 1.6rem + 3.3vw, 4.6rem);
  --fs-4xl: clamp(2.8rem, 1.6rem + 5.6vw, 7rem);
  --fs-mega: clamp(3.1rem, 1.2rem + 8.6vw, 10.5rem);
  --lh-tight: 0.92;
  --lh-snug: 1.12;
  --lh-body: 1.6;
  --tracking-tight: -0.035em;
  --tracking-wide: 0.14em;

  /* Spacing (4px base) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;
  --section-y: clamp(4.5rem, 3rem + 7vw, 10rem);
  --gutter: clamp(1.1rem, 0.6rem + 2.4vw, 3rem);
  --container: 1440px;
  --container-narrow: 880px;

  /* Radii */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Motion — Origami Motion System (OMS) */
  --dur-1: 140ms;
  --dur-2: 260ms;
  --dur-3: 520ms;
  --dur-4: 900ms;
  --dur-5: 1400ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-fold: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --fx: 1; /* global intensity multiplier (CMS → Apariencia) */

  /* Layers */
  --z-base: 1;
  --z-header: 50;
  --z-float: 60;
  --z-menu: 80;
  --z-cursor: 100;
  --z-toast: 120;

  color-scheme: light;
}

/* ───── Semantic colours · light (default) ───── */
:root,
[data-theme="light"] {
  --bg: var(--ox-paper);
  --bg-elev: var(--ox-white);
  --bg-sunk: color-mix(in oklab, var(--ox-paper) 92%, var(--ox-slate));
  --bg-invert: var(--ox-ink);
  --text: var(--ox-ink);
  --text-soft: color-mix(in oklab, var(--ox-ink) 72%, var(--ox-paper));
  --text-muted: color-mix(in oklab, var(--ox-ink) 58%, var(--ox-paper));
  --text-invert: var(--ox-paper);
  --line: color-mix(in oklab, var(--ox-ink) 12%, transparent);
  --line-strong: color-mix(in oklab, var(--ox-ink) 26%, transparent);
  --accent: var(--ox-teal-600);
  --accent-2: var(--ox-orange);
  --accent-3: var(--ox-violet);
  --accent-text: color-mix(in oklab, var(--ox-teal) 70%, black); /* ≥4.5:1 on paper */
  --accent-2-text: color-mix(in oklab, var(--ox-orange) 62%, black);
  --focus: var(--ox-violet);
  --sh-1: 0 1px 2px rgb(20 20 20 / 0.06), 0 2px 8px rgb(20 20 20 / 0.04);
  --sh-2: 0 6px 20px rgb(20 20 20 / 0.08), 0 2px 6px rgb(20 20 20 / 0.05);
  --sh-3: 0 30px 60px -20px rgb(20 20 20 / 0.22), 0 12px 24px -12px rgb(20 20 20 / 0.12);
  --sh-fold: -10px 10px 22px -12px rgb(20 20 20 / 0.28);
  --grad-fold: linear-gradient(135deg, var(--ox-teal) 0%, var(--ox-violet) 100%);
  --grad-warm: linear-gradient(135deg, var(--ox-orange) 0%, #ffb547 100%);
  --grad-paper: linear-gradient(160deg, #ffffff 0%, var(--ox-paper) 60%, color-mix(in oklab, var(--ox-paper) 90%, var(--ox-teal)) 100%);
  --crease: color-mix(in oklab, var(--ox-ink) 7%, transparent);
  --logo-light: block;
  --logo-dark: none;
  color-scheme: light;
}

/* ───── Semantic colours · dark ───── */
[data-theme="dark"] {
  --bg: #0f1113;
  --bg-elev: #171a1d;
  --bg-sunk: #0a0b0c;
  --bg-invert: var(--ox-paper);
  --text: #eef0f2;
  --text-soft: #c3c8cd;
  --text-muted: #9aa3ab;
  --text-invert: var(--ox-ink);
  --line: rgb(255 255 255 / 0.1);
  --line-strong: rgb(255 255 255 / 0.22);
  --accent: color-mix(in oklab, var(--ox-teal) 80%, white);
  --accent-2: var(--ox-orange);
  --accent-3: color-mix(in oklab, var(--ox-violet) 80%, white);
  --accent-text: color-mix(in oklab, var(--ox-teal) 62%, white);
  --accent-2-text: color-mix(in oklab, var(--ox-orange) 80%, white);
  --focus: color-mix(in oklab, var(--ox-violet) 70%, white);
  --sh-1: 0 1px 2px rgb(0 0 0 / 0.4);
  --sh-2: 0 8px 24px rgb(0 0 0 / 0.45);
  --sh-3: 0 30px 70px -20px rgb(0 0 0 / 0.7);
  --sh-fold: -10px 10px 24px -12px rgb(0 0 0 / 0.7);
  --grad-paper: linear-gradient(160deg, #15181b 0%, #0f1113 60%, color-mix(in oklab, #0f1113 85%, var(--ox-teal)) 100%);
  --crease: rgb(255 255 255 / 0.05);
  --logo-light: none;
  --logo-dark: block;
  color-scheme: dark;
}

/* ───── Base ───── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 6rem;
  hanging-punctuation: first last;
}
html:not(.lenis) {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color var(--dur-3) var(--ease-out), color var(--dur-3) var(--ease-out);
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
::selection {
  background: var(--ox-orange);
  color: var(--ox-ink);
}
:focus-visible {
  outline: 2.5px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: var(--sp-4);
  top: var(--sp-4);
  z-index: 999;
  padding: var(--sp-3) var(--sp-5);
  background: var(--ox-ink);
  color: var(--ox-paper);
  border-radius: var(--r-pill);
  transform: translateY(-200%);
  transition: transform var(--dur-2) var(--ease-out);
}
.skip-link:focus {
  transform: none;
}

/* ───── Layout primitives ───── */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.container--narrow {
  width: min(100% - 2 * var(--gutter), var(--container-narrow));
  margin-inline: auto;
}
.section {
  padding-block: var(--section-y);
  position: relative;
}

/* ───── Type primitives ───── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-soft);
}
.eyebrow::before {
  content: "";
  width: 0.9em;
  height: 0.9em;
  background: var(--accent-2);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  flex: none;
}
.display {
  font-size: var(--fs-4xl);
  line-height: var(--lh-tight);
  font-weight: 700;
  letter-spacing: -0.045em;
  font-variation-settings: "opsz" 96;
}
.h2 {
  font-size: var(--fs-3xl);
  line-height: 0.98;
  font-weight: 650;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 96;
  white-space: pre-line;
}
.h3 {
  font-size: var(--fs-xl);
  letter-spacing: -0.025em;
}
.lead {
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--text-soft);
  max-width: 46ch;
}
.muted {
  color: var(--text-muted);
}

/* ───── Buttons ───── */
.btn {
  --btn-bg: var(--ox-ink);
  --btn-fg: var(--ox-paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  min-height: 3.1rem;
  padding: 0.85rem 1.55rem;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.005em;
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), background-color var(--dur-2);
}
[data-theme="dark"] .btn {
  --btn-bg: var(--ox-paper);
  --btn-fg: var(--ox-ink);
}
/* Folding corner sweep */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-hover, var(--ox-teal));
  clip-path: polygon(0 0, 0 0, 0 0);
  transition: clip-path var(--dur-3) var(--ease-fold);
}
.btn:hover::before,
.btn:focus-visible::before {
  clip-path: polygon(0 0, 220% 0, 0 220%);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
}
.btn:active {
  transform: translateY(0);
}
.btn--accent {
  --btn-bg: var(--ox-orange);
  --btn-fg: var(--ox-ink);
  --btn-hover: #ffb547;
}
[data-theme="dark"] .btn--accent {
  --btn-bg: var(--ox-orange);
  --btn-fg: var(--ox-ink);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  --btn-hover: color-mix(in oklab, var(--ox-teal) 18%, transparent);
}
[data-theme="dark"] .btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
}
.btn svg {
  width: 1.1em;
  height: 1.1em;
  transition: transform var(--dur-2) var(--ease-out);
}
.btn:hover svg {
  transform: translate(2px, -2px);
}
.btn[disabled] {
  opacity: 0.55;
  pointer-events: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 0.15em;
}
.link-arrow svg {
  width: 1em;
  transition: transform var(--dur-2) var(--ease-out);
}
.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ───── Form primitives ───── */
.field {
  display: grid;
  gap: var(--sp-2);
}
.field label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-soft);
}
.input,
.select,
.textarea {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.85rem 1.05rem;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line-strong);
  background: var(--bg-elev);
  color: var(--text);
  transition: border-color var(--dur-2), box-shadow var(--dur-2);
}
.textarea {
  min-height: 9rem;
  resize: vertical;
}
.input:hover,
.select:hover,
.textarea:hover {
  border-color: var(--text-muted);
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--ox-teal) 22%, transparent);
}
.input[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: #d93d3d;
}
.field-error {
  color: #c62f2f;
  font-size: var(--fs-xs);
}
[data-theme="dark"] .field-error {
  color: #ff8a8a;
}

/* ───── OMS reveal primitives (only active once JS marks the document) ───── */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, calc(28px * var(--fx)), 0);
  transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal="fold"] {
  transform: perspective(900px) rotateX(calc(-22deg * var(--fx))) translate3d(0, 18px, 0);
  transform-origin: 50% 0%;
}
.js [data-reveal="mask"] {
  opacity: 1;
  transform: none;
}
.js [data-reveal="mask"] > * {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path var(--dur-5) var(--ease-fold);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.js [data-reveal="mask"].is-in > * {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.js [data-reveal="mask"].is-in > *:nth-child(2) {
  transition-delay: 0.15s;
}
/* Line-by-line title reveal */
.reveal-lines .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.reveal-lines .line > span {
  display: inline-block;
}
.js .reveal-lines .line > span {
  transform: translate3d(0, 105%, 0) rotate(calc(4deg * var(--fx)));
  transform-origin: 0 100%;
  transition: transform var(--dur-5) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.js .reveal-lines.is-in .line > span {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal],
  .js [data-reveal="mask"] > *,
  .js .reveal-lines .line > span {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}
[data-motion="off"] [data-reveal],
[data-motion="off"] [data-reveal="mask"] > *,
[data-motion="off"] .reveal-lines .line > span {
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
}

/* ════════════════════════════════════════════════════════════════════
   Origamix 2.0 — public site components (built on ODS tokens)
   ════════════════════════════════════════════════════════════════════ */

/* ───── Shared bits ───── */
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: color-mix(in oklab, var(--bg-elev) 70%, transparent);
  color: var(--text);
  transition: background-color var(--dur-2), transform var(--dur-2) var(--ease-out), border-color var(--dur-2);
}
.icon-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}
.icon-btn:hover {
  border-color: var(--text);
  transform: rotate(-8deg);
}
.icon-btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}
.icon-btn--lg {
  width: 3.4rem;
  height: 3.4rem;
}
.btn--lg {
  min-height: 3.5rem;
  padding-inline: 1.9rem;
  font-size: var(--fs-md);
}
.badge {
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.1em 0.6em;
  border-radius: var(--r-pill);
  background: var(--ox-orange);
  color: var(--ox-ink);
  font: 600 var(--fs-2xs) / 1.6 var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}
.chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  padding: 0.55rem 1.05rem;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line-strong);
  background: transparent;
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: background-color var(--dur-2), color var(--dur-2), border-color var(--dur-2);
}
.chip sup {
  font-size: 0.7em;
  color: var(--text-muted);
}
.chip:hover {
  border-color: var(--text);
}
.chip[aria-pressed="true"] {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.chip[aria-pressed="true"] sup {
  color: inherit;
  opacity: 0.7;
}
.socials {
  display: flex;
  gap: var(--sp-2);
  list-style: none;
  padding: 0;
  margin: 0;
}
.socials a {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0.85;
  transition: opacity var(--dur-2), transform var(--dur-2) var(--ease-out), background-color var(--dur-2), color var(--dur-2);
}
.socials a:hover {
  opacity: 1;
  transform: translateY(-3px) rotate(-6deg);
  background: var(--ox-orange);
  color: var(--ox-ink);
  border-color: var(--ox-orange);
}
.socials svg {
  width: 1.1rem;
  height: 1.1rem;
}
.logo {
  height: auto;
}
.logo--light {
  display: var(--logo-light);
}
.logo--dark {
  display: var(--logo-dark);
}
.with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.with-icon svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}
.section--tight {
  padding-block: var(--sp-7) var(--section-y);
}

/* Highlight word: folded paper strip behind the text */
.hl {
  position: relative;
  display: inline-block;
  isolation: isolate;
  white-space: nowrap;
}
.hl__paper {
  position: absolute;
  z-index: -1;
  left: -0.06em;
  right: -0.08em;
  bottom: 0.08em;
  height: 0.42em;
  background: var(--ox-orange);
  clip-path: polygon(0 18%, 94% 0, 100% 100%, 3% 88%);
  transform-origin: 0 50%;
}
.hl__paper::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 0.5em;
  background: rgb(0 0 0 / 0.18);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.js .reveal-lines .hl__paper {
  transform: scaleX(0);
  transition: transform var(--dur-4) var(--ease-fold) 0.9s;
}
.js .reveal-lines.is-in .hl__paper {
  transform: none;
}

/* ───── Preview bar ───── */
.preview-bar {
  position: fixed;
  z-index: calc(var(--z-header) + 5);
  inset: auto 50% 1rem auto;
  translate: 50% 0;
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  padding: 0.6rem 1.1rem;
  border-radius: var(--r-pill);
  background: var(--ox-violet);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  box-shadow: var(--sh-3);
}

/* ═════════ Header ═════════ */
.site-header {
  position: fixed;
  z-index: var(--z-header);
  inset: 0 0 auto;
  padding: 0.9rem var(--gutter) 0;
  transition: transform var(--dur-3) var(--ease-out);
}
.site-header[data-hidden="true"] {
  transform: translateY(-120%);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  max-width: var(--container);
  margin-inline: auto;
  padding: 0.55rem 0.55rem 0.55rem 1.1rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: background-color var(--dur-3), border-color var(--dur-3), box-shadow var(--dur-3), backdrop-filter var(--dur-3);
}
.site-header[data-scrolled="true"] .site-header__inner {
  background: color-mix(in oklab, var(--bg-elev) 78%, transparent);
  border-color: var(--line);
  box-shadow: var(--sh-2);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
}
.site-header[data-open="true"] .site-header__inner {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.site-header__logo {
  display: block;
  flex: none;
  width: clamp(124px, 11vw, 168px);
}
.site-header__logo img {
  width: 100%;
}
.site-nav {
  margin-inline: auto;
}
.site-nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__link {
  position: relative;
  display: block;
  padding: 0.55rem 0.95rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 550;
  text-decoration: none;
  color: var(--text-soft);
  transition: color var(--dur-2), background-color var(--dur-2);
}
.site-nav__link:hover {
  color: var(--text);
  background: var(--bg-sunk);
}
.site-nav__link[aria-current="location"] {
  color: var(--text);
}
/* Active indicator: a small folded triangle */
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.1rem;
  width: 0.5rem;
  height: 0.5rem;
  translate: -50% 0;
  background: var(--accent-2);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: scale(0) rotate(180deg);
  transition: transform var(--dur-3) var(--ease-spring);
}
.site-nav__link[aria-current="location"]::after {
  transform: scale(1);
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-left: auto;
}
.site-nav + .site-header__actions {
  margin-left: 0;
}
.site-header__cta {
  min-height: 2.75rem;
  padding: 0.55rem 1.15rem;
}
.lang-link {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.5rem 0.65rem;
}
.lang-link:hover {
  text-decoration: underline;
}
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  height: 2.75rem;
  padding: 0 0.4rem 0 1.1rem;
  border-radius: var(--r-pill);
  border: 0;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: var(--fs-sm);
}
.menu-btn__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-2);
}
.menu-btn__icon i {
  position: absolute;
  width: 0.9rem;
  height: 1.6px;
  background: var(--ox-ink);
  transition: transform var(--dur-3) var(--ease-fold);
}
.menu-btn__icon i:first-child {
  transform: translateY(-3px);
}
.menu-btn__icon i:last-child {
  transform: translateY(3px);
}
.menu-btn[aria-expanded="true"] .menu-btn__icon i:first-child {
  transform: rotate(45deg);
}
.menu-btn[aria-expanded="true"] .menu-btn__icon i:last-child {
  transform: rotate(-45deg);
}

@media (max-width: 1100px) {
  .site-nav {
    display: none;
  }
}
@media (max-width: 640px) {
  .site-header__cta,
  .site-header .lang-link {
    display: none;
  }
  .menu-btn__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .menu-btn {
    padding: 0 0.4rem;
  }
}

/* ═════════ Menu panel (folded sheets) ═════════ */
.menu-open {
  overflow: hidden;
}
.menu-panel {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: grid;
  overflow-y: auto;
  color: var(--ox-paper);
  pointer-events: none;
}
.menu-panel[hidden] {
  display: none;
}
.menu-panel[data-open="true"] {
  pointer-events: auto;
}
.menu-panel ~ * .site-header,
.menu-open .site-header {
  z-index: calc(var(--z-menu) + 1);
}
.menu-open .site-header .site-header__logo .logo--light {
  display: none;
}
.menu-open .site-header .site-header__logo .logo--dark {
  display: block;
}
.menu-open .site-header .icon-btn,
.menu-open .site-header .lang-link {
  color: var(--ox-paper);
  border-color: rgb(255 255 255 / 0.3);
}
.menu-open .menu-btn {
  background: var(--ox-paper);
  color: var(--ox-ink);
}
.menu-panel__sheets span {
  position: fixed;
  inset: 0;
  transform-origin: 100% 0;
  animation: sheet-in var(--dur-4) var(--ease-fold) both;
}
.menu-panel__sheets span:nth-child(1) {
  background: var(--ox-teal);
}
.menu-panel__sheets span:nth-child(2) {
  background: var(--ox-violet);
  animation-delay: 70ms;
}
.menu-panel__sheets span:nth-child(3) {
  background: #121416;
  animation-delay: 140ms;
}
@keyframes sheet-in {
  from {
    clip-path: polygon(100% 0, 100% 0, 100% 0);
  }
  to {
    clip-path: polygon(-60% 0, 100% 0, 100% 160%);
  }
}
.menu-panel__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--sp-8);
  align-content: center;
  min-height: 100dvh;
  padding-block: 7rem var(--sp-7);
}
.menu-panel__nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-panel__nav li {
  overflow: hidden;
}
.menu-panel__nav a {
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
  padding-block: 0.15em;
  text-decoration: none;
  animation: menu-item var(--dur-4) var(--ease-out) both;
  animation-delay: calc(260ms + var(--i) * 55ms);
}
@keyframes menu-item {
  from {
    transform: translateY(110%) rotate(4deg);
    opacity: 0;
  }
}
.menu-panel__num {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ox-orange);
  min-width: 2ch;
}
.menu-panel__label {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.2rem + 4.6vw, 5.4rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.04em;
  transition: transform var(--dur-3) var(--ease-out), color var(--dur-2);
}
.menu-panel__nav a:hover .menu-panel__label,
.menu-panel__nav a:focus-visible .menu-panel__label {
  transform: translateX(0.25em) skewX(-6deg);
  color: var(--ox-orange);
}
.menu-panel__nav a[aria-current="location"] .menu-panel__label {
  -webkit-text-stroke: 1.5px var(--ox-paper);
  color: transparent;
}
.menu-panel__aside {
  display: grid;
  gap: var(--sp-6);
  align-content: end;
  animation: menu-item var(--dur-4) var(--ease-out) 420ms both;
}
.menu-panel__aside .eyebrow {
  color: rgb(255 255 255 / 0.7);
  margin-bottom: var(--sp-3);
}
.menu-panel__contact {
  display: block;
  font-size: var(--fs-lg);
  text-decoration: none;
}
.menu-panel__contact:hover {
  text-decoration: underline;
}
.menu-panel .socials a {
  color: var(--ox-paper);
}
@media (max-width: 860px) {
  .menu-panel__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
    align-content: start;
  }
}

/* Theme segmented control */
.theme-seg {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 0.1);
  gap: 0.2rem;
}
.theme-seg__opt {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  font-size: var(--fs-xs);
  font-weight: 600;
}
.theme-seg__opt svg {
  width: 1rem;
  height: 1rem;
}
.theme-seg__opt[aria-checked="true"] {
  background: var(--ox-paper);
  color: var(--ox-ink);
}

/* ═════════ Hero ═════════ */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: clamp(6.5rem, 5rem + 5vw, 9rem);
  padding-bottom: var(--sp-6);
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: clip;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 55% at 78% 38%, color-mix(in oklab, var(--ox-teal) 16%, transparent), transparent 70%),
    radial-gradient(40% 40% at 95% 85%, color-mix(in oklab, var(--ox-violet) 14%, transparent), transparent 70%),
    radial-gradient(35% 35% at 8% 90%, color-mix(in oklab, var(--ox-orange) 10%, transparent), transparent 70%),
    var(--grad-paper);
}
.hero__bg::after {
  /* paper crease grid */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent calc(50% - 0.5px), var(--crease) 50%, transparent calc(50% + 0.5px)) 0 0 / 180px 180px,
    linear-gradient(45deg, transparent calc(50% - 0.5px), var(--crease) 50%, transparent calc(50% + 0.5px)) 0 0 / 180px 180px;
  mask-image: radial-gradient(80% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--sp-6);
}
.hero__copy {
  position: relative;
  z-index: 2;
  padding-block: var(--sp-6);
}
.hero__eyebrow {
  margin-bottom: var(--sp-5);
}
.hero__title {
  font-size: var(--fs-mega);
  line-height: 0.88;
  letter-spacing: -0.055em;
  font-weight: 720;
  margin-bottom: var(--sp-6);
  margin-right: -18vw; /* the headline overlaps the stage — editorial tension */
}
.hero__title .line:nth-child(2) {
  padding-left: clamp(0rem, 6vw, 7rem);
}
.hero__lead {
  max-width: 44ch;
  margin-bottom: var(--sp-6);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.js .hero__eyebrow,
.js .hero__lead,
.js .hero__ctas {
  animation: hero-up var(--dur-5) var(--ease-out) both;
}
.js .hero__lead {
  animation-delay: 0.45s;
}
.js .hero__ctas {
  animation-delay: 0.6s;
}
@keyframes hero-up {
  from {
    opacity: 0;
    transform: translateY(calc(24px * var(--fx)));
  }
}

/* Stage */
.hero-stage {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 640px;
  justify-self: end;
  perspective: 1200px;
}
.hero-stage > * {
  position: absolute;
}
.hero-stage__creases {
  inset: -10%;
  opacity: 0.6;
}
.hero-stage__creases svg {
  width: 100%;
  height: 100%;
}
.hero-stage__creases path {
  stroke: var(--line-strong);
  stroke-width: 0.6;
  stroke-dasharray: 2 5;
  fill: none;
  vector-effect: non-scaling-stroke;
}
.hero-stage__glow {
  inset: -5%;
  border-radius: 50%;
  /* layered radial gradients instead of a costly blur() filter */
  background:
    radial-gradient(closest-side at 35% 40%, color-mix(in oklab, var(--ox-orange) 30%, transparent), transparent),
    radial-gradient(closest-side at 65% 55%, color-mix(in oklab, var(--ox-teal) 30%, transparent), transparent),
    radial-gradient(closest-side at 55% 75%, color-mix(in oklab, var(--ox-violet) 22%, transparent), transparent);
  opacity: 0.8;
}
.hero-stage__spin {
  inset: 10%;
}
.hero-stage__mark {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.hero-stage__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 30px 40px rgb(20 20 20 / 0.18));
}
[data-theme="dark"] .hero-stage__svg {
  filter: drop-shadow(0 30px 50px rgb(0 0 0 / 0.6));
}
.hero-stage__shadow {
  left: 15%;
  right: 15%;
  bottom: -14%;
  height: 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(20 20 20 / 0.22), transparent);
  filter: blur(6px);
}
.om-blade {
  transition: filter var(--dur-3);
}
.shard {
  display: block;
  will-change: transform;
}
.shard--teal {
  --c: var(--ox-teal);
}
.shard--orange {
  --c: var(--ox-orange);
}
.shard--violet {
  --c: var(--ox-violet);
}
.shard::before,
.shard::after {
  content: "";
  position: absolute;
  inset: 0;
}
.shard--tri::before {
  background: var(--c);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.shard--tri::after {
  background: rgb(0 0 0 / 0.2);
  clip-path: polygon(50% 0, 100% 100%, 50% 100%);
}
.shard--kite::before {
  background: var(--c);
  clip-path: polygon(50% 0, 100% 40%, 50% 100%, 0 40%);
}
.shard--kite::after {
  background: rgb(255 255 255 / 0.22);
  clip-path: polygon(50% 0, 100% 40%, 50% 100%);
}
.shard--fold::before {
  background: var(--c);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  border-radius: 3px;
}
.shard--fold::after {
  background: linear-gradient(225deg, var(--bg) 49%, color-mix(in oklab, var(--c) 70%, black) 51%);
  clip-path: polygon(62% 0, 100% 0, 100% 38%);
}

/* Folder cards (Willows/Maya-inspired, Origamix take) */
.folders {
  position: relative;
  z-index: 3;
  margin-top: var(--sp-6);
}
.folders ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.folder {
  --fc: var(--ox-teal);
  --ff: var(--ox-paper);
  animation: folder-in var(--dur-5) var(--ease-out) both;
  animation-delay: calc(0.9s + var(--i) * 0.09s);
}
.folder--orange {
  --fc: var(--ox-orange);
  --ff: var(--ox-ink);
}
.folder--teal {
  --ff: #fff;
}
.folder--violet {
  --fc: var(--ox-violet);
  --ff: #fff;
}
.folder--ink {
  --fc: var(--ox-ink);
  --ff: var(--ox-paper);
}
[data-theme="dark"] .folder--ink {
  --fc: #2a2f34;
}
.js .folder {
  animation-name: folder-in;
}
@keyframes folder-in {
  from {
    opacity: 0;
    transform: translateY(60%);
  }
}
.folder__link {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--ff);
  padding-top: 1.55rem;
}
.folder__tab {
  position: absolute;
  top: 0;
  left: 0;
  height: 1.7rem;
  padding: 0.2rem 1.6rem 0 0.9rem;
  background: var(--fc);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  clip-path: polygon(0 0, calc(100% - 1.2rem) 0, 100% 100%, 0 100%);
  border-radius: 10px 0 0 0;
}
.folder__body {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-3);
  height: clamp(5.5rem, 4rem + 4vw, 8rem);
  padding: var(--sp-4) var(--sp-5);
  background: var(--fc);
  border-radius: 0 var(--r-lg) var(--r-lg) var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-2);
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3);
}
.folder__sheet {
  position: absolute;
  right: 12%;
  top: 100%;
  width: 58%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-sm);
  background: var(--bg-elev);
  box-shadow: var(--sh-2);
  overflow: hidden;
  rotate: -4deg;
  transition: transform var(--dur-4) var(--ease-out);
}
.folder__sheet img {
  object-fit: cover;
}
.folder__title {
  position: relative;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
}
.folder__arrow {
  position: relative;
  width: 1.6rem;
  height: 1.6rem;
  flex: none;
  transition: transform var(--dur-3) var(--ease-out);
}
.folder__link:hover .folder__body,
.folder__link:focus-visible .folder__body {
  transform: translateY(-0.6rem);
  box-shadow: var(--sh-3);
}
.folder__link:hover .folder__sheet,
.folder__link:focus-visible .folder__sheet {
  transform: translateY(-78%) rotate(5deg);
}
.folder__link:hover .folder__arrow {
  transform: rotate(45deg);
}

@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__title {
    margin-right: 0;
  }
  .hero-stage {
    position: absolute;
    right: -18%;
    top: 4.5rem;
    width: min(78vw, 520px);
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
  }
  .hero__copy {
    padding-top: clamp(8rem, 30vw, 16rem);
  }
}
@media (max-width: 860px) {
  .folders ul {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--sp-3);
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .folders li {
    flex: 0 0 62%;
    scroll-snap-align: start;
  }
}
@media (max-width: 480px) {
  .hero__title .line:nth-child(2) {
    padding-left: 0;
  }
  .hero-stage {
    right: -30%;
    width: 92vw;
    top: 4rem;
  }
}

/* ═════════ Section heads ═════════ */
.section-head {
  display: grid;
  gap: var(--sp-5) var(--sp-8);
  margin-bottom: clamp(2.5rem, 2rem + 3vw, 5rem);
}
.section-head--split {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
}
.section-head .eyebrow {
  margin-bottom: var(--sp-4);
}
.section-head__intro {
  justify-self: end;
}
.section-head--stack .section-head__intro {
  justify-self: start;
}
@media (max-width: 860px) {
  .section-head--split {
    grid-template-columns: 1fr;
  }
  .section-head__intro {
    justify-self: start;
  }
}

/* ═════════ About ═════════ */
.about__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--sp-6);
  align-items: start;
}
.about__head {
  grid-column: 1 / span 7;
  grid-row: 1;
}
.about__head .eyebrow {
  margin-bottom: var(--sp-5);
}
.about__title {
  font-size: var(--fs-4xl);
  line-height: 0.92;
}
.about__body {
  grid-column: 2 / span 5;
  grid-row: 2;
  display: grid;
  gap: var(--sp-5);
  margin-top: var(--sp-6);
}
.about__intro {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.about__text {
  display: grid;
  gap: var(--sp-4);
  color: var(--text-soft);
}
.about__figure {
  grid-column: 8 / span 5;
  grid-row: 1 / span 2;
  position: relative;
  margin: 0;
  align-self: center;
}
.about__paper {
  position: absolute;
  inset: 8% 4% 4% 10%;
  background: var(--grad-fold);
  clip-path: polygon(0 8%, 86% 0, 100% 100%, 6% 92%);
  opacity: 0.18;
}
.about__figure img {
  position: relative;
  width: 100%;
}
.pillars {
  list-style: none;
  margin: var(--sp-9) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1.5px solid var(--text);
}
.pillar {
  position: relative;
  padding: var(--sp-5) var(--sp-5) var(--sp-6) 0;
  border-right: 1px solid var(--line);
}
.pillar + .pillar {
  padding-left: var(--sp-5);
}
.pillar:last-child {
  border-right: 0;
}
.pillar__num {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent-2-text);
  margin-bottom: var(--sp-6);
}
.pillar__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
}
.pillar__text {
  color: var(--text-soft);
  font-size: var(--fs-sm);
}
.pillar__corner {
  position: absolute;
  top: -1.5px;
  right: 0;
  width: 1.2rem;
  height: 1.2rem;
  background: linear-gradient(225deg, var(--bg) 50%, var(--ox-teal) 50%);
  transform: scale(0);
  transform-origin: 100% 0;
  transition: transform var(--dur-3) var(--ease-spring);
}
.pillar:hover .pillar__corner {
  transform: scale(1);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin: var(--sp-8) 0 0;
}
.stats > div {
  display: flex;
  flex-direction: column-reverse;
  gap: var(--sp-2);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  box-shadow: var(--sh-1);
}
.stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}
.stats dt {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}
@media (max-width: 1024px) {
  .about__head,
  .about__body {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .about__figure {
    grid-column: 1 / -1;
    grid-row: auto;
    max-width: 420px;
    justify-self: end;
  }
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillar:nth-child(2) {
    border-right: 0;
  }
  .pillar:nth-child(3) {
    padding-left: 0;
  }
  .pillar:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 560px) {
  .pillars {
    grid-template-columns: 1fr;
  }
  .pillar,
  .pillar + .pillar {
    padding-left: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }
  .stats {
    grid-template-columns: 1fr;
  }
}

/* ═════════ Marquee ═════════ */
.marquee {
  position: relative;
  padding-block: var(--sp-6);
  overflow: clip;
}
.marquee__band {
  overflow: hidden;
  padding-block: 0.9rem;
}
.marquee__band--a {
  background: var(--ox-ink);
  color: var(--ox-paper);
  rotate: -2deg;
  margin-inline: -2rem;
  position: relative;
  z-index: 1;
}
[data-theme="dark"] .marquee__band--a {
  background: var(--ox-paper);
  color: var(--ox-ink);
}
.marquee__band--b {
  background: var(--ox-orange);
  color: var(--ox-ink);
  rotate: 1.5deg;
  margin: -0.9rem -2rem 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-dur, 45s) linear infinite;
}
.marquee__track--rev {
  animation-direction: reverse;
  animation-duration: calc(var(--marquee-dur, 45s) * 1.3);
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__row {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.marquee__row li {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding-right: 1.4rem;
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 650;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.marquee__band--b .marquee__row li {
  font-size: var(--fs-lg);
}
.marquee__sep {
  width: 0.7em;
  height: 0.7em;
  fill: var(--ox-orange);
}
.marquee__band--b .marquee__sep {
  fill: var(--ox-ink);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
  .marquee__row[aria-hidden="true"] {
    display: none;
  }
}

/* ═════════ Projects ═════════ */
.pgrid__filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-7);
}
.pgrid__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.5rem, 1rem + 2.5vw, 3.5rem) var(--sp-6);
}
.pcard {
  grid-column: span 6;
  animation: card-in var(--dur-4) var(--ease-out) both;
  animation-delay: calc(var(--i) * 60ms);
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
}
/* Editorial rhythm: wide / narrow / offset */
.pgrid--editorial .pcard:nth-child(4n + 1) {
  grid-column: 1 / span 7;
}
.pgrid--editorial .pcard:nth-child(4n + 2) {
  grid-column: 9 / span 4;
  margin-top: 22%;
}
.pgrid--editorial .pcard:nth-child(4n + 3) {
  grid-column: 2 / span 5;
}
.pgrid--editorial .pcard:nth-child(4n + 4) {
  grid-column: 7 / span 6;
  margin-top: -12%;
}
.pgrid--index .pcard {
  grid-column: span 4;
}
.pgrid--index .pcard:nth-child(5n + 1) {
  grid-column: span 8;
}
.pcard__link {
  display: block;
  text-decoration: none;
}
.pcard__media {
  position: relative;
  aspect-ratio: 13 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-sunk);
  isolation: isolate;
}
.pcard__media img {
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter var(--dur-3);
}
.pcard__fold {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  background: linear-gradient(225deg, var(--bg) 49.5%, color-mix(in oklab, var(--ox-orange) 85%, black) 50.5%);
  box-shadow: var(--sh-fold);
  transition: width var(--dur-3) var(--ease-out), height var(--dur-3) var(--ease-out);
}
.pcard__link:hover .pcard__media img,
.pcard__link:focus-visible .pcard__media img {
  transform: scale(1.045);
}
.pcard__link:hover .pcard__fold,
.pcard__link:focus-visible .pcard__fold {
  width: 3.4rem;
  height: 3.4rem;
}
.pcard__meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--sp-4);
  padding-top: var(--sp-4);
}
.pcard__index {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-muted);
  padding-top: 0.45em;
}
.pcard__title {
  font-size: var(--fs-xl);
  margin-bottom: 0.3rem;
}
.pcard__summary {
  color: var(--text-soft);
  font-size: var(--fs-sm);
  max-width: 52ch;
}
.pcard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: var(--sp-3) 0 0;
  padding: 0;
}
.pcard__tags li {
  font-size: var(--fs-2xs);
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
}
.pcard__go {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  transition: background-color var(--dur-2), transform var(--dur-3) var(--ease-out), border-color var(--dur-2);
}
.pcard__go svg {
  width: 1.1rem;
}
.pcard__link:hover .pcard__go {
  background: var(--ox-orange);
  border-color: var(--ox-orange);
  color: var(--ox-ink);
  transform: rotate(45deg);
}
.projects__more {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-8);
}
@media (max-width: 860px) {
  .pgrid__list .pcard,
  .pgrid--editorial .pcard:nth-child(n),
  .pgrid--index .pcard:nth-child(n) {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .pgrid--index .pcard:nth-child(n) {
    grid-column: span 6;
  }
}

/* ═════════ Services (ink section) ═════════ */
.services {
  background: var(--ox-ink);
  color: var(--ox-paper);
  --text: var(--ox-paper);
  --text-soft: #c9cdd1;
  --text-muted: #9aa1a8;
  --line: rgb(255 255 255 / 0.12);
  --line-strong: rgb(255 255 255 / 0.28);
  --bg: var(--ox-ink);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  overflow: clip;
}
[data-theme="dark"] .services {
  background: #1a1d20;
}
.services__fold {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(5rem, 12vw, 12rem);
  aspect-ratio: 1;
  background: linear-gradient(225deg, var(--page-bg, var(--ox-paper)) 50%, color-mix(in oklab, var(--ox-orange) 80%, black) 50%);
}
[data-theme="dark"] .services__fold {
  --page-bg: #0f1113;
}
.services .eyebrow {
  color: var(--text-soft);
}
.svc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}
.svc {
  border-bottom: 1px solid var(--line-strong);
}
.svc__row {
  display: grid;
  grid-template-columns: 3.5rem 4.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--sp-5);
  padding-block: var(--sp-6);
  transition: padding var(--dur-3) var(--ease-out);
}
.svc__num {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ox-orange);
}
.svc__icon svg {
  width: 4rem;
  height: 4rem;
  transition: transform var(--dur-4) var(--ease-spring);
}
.svc:hover .svc__icon svg {
  transform: rotate(-12deg) scale(1.08);
}
.svc__title {
  font-size: var(--fs-2xl);
  letter-spacing: -0.035em;
  transition: transform var(--dur-3) var(--ease-out), color var(--dur-2);
}
.svc:hover .svc__title {
  transform: translateX(0.3em);
}
.svc__summary {
  color: var(--text-soft);
  max-width: 60ch;
  margin-top: 0.35rem;
}
.svc__toggle {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: transparent;
  transition: transform var(--dur-3) var(--ease-out), background-color var(--dur-2), color var(--dur-2);
}
.svc__toggle svg {
  width: 1.3rem;
}
.svc__toggle[aria-expanded="true"] {
  transform: rotate(45deg);
  background: var(--ox-orange);
  border-color: var(--ox-orange);
  color: var(--ox-ink);
}
.svc__panel-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--sp-6);
  padding: 0 0 var(--sp-6) calc(3.5rem + 4.5rem + 2 * var(--sp-5));
  color: var(--text-soft);
  animation: panel-open var(--dur-3) var(--ease-out);
}
@keyframes panel-open {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}
.svc__deliverables {
  margin: var(--sp-3) 0 0;
  padding-left: 1.1em;
}
@media (max-width: 760px) {
  .svc__row {
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    gap: var(--sp-4);
  }
  .svc__num {
    display: none;
  }
  .svc__icon svg {
    width: 3rem;
    height: 3rem;
  }
  .svc__panel-inner {
    grid-template-columns: 1fr;
    padding-left: 0;
  }
}

/* ═════════ Carousel ═════════ */
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--slide, clamp(15rem, 24vw, 21rem));
  gap: var(--sp-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  padding-block: var(--sp-3) var(--sp-5);
  margin: 0;
  list-style: none;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar {
  display: none;
}
.carousel__track:focus-visible {
  outline-offset: -4px;
}
.carousel__slide {
  scroll-snap-align: start;
}
.carousel__controls {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  margin-top: var(--sp-4);
}
.carousel__progress {
  flex: 1;
  height: 2px;
  background: var(--line);
  overflow: hidden;
}
.carousel__progress span {
  display: block;
  height: 100%;
  background: var(--text);
  transform-origin: 0 50%;
  transition: transform var(--dur-2) linear;
}
.carousel__buttons {
  display: flex;
  gap: var(--sp-2);
}

/* ═════════ Team ═════════ */
.team__carousel {
  --slide: clamp(15rem, 22vw, 19.5rem);
}
.member__frame {
  --mc: var(--ox-teal);
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(170deg, color-mix(in oklab, var(--mc) 30%, var(--bg-elev)) 0%, color-mix(in oklab, var(--mc) 70%, var(--bg-elev)) 100%);
  margin-bottom: var(--sp-4);
  isolation: isolate;
}
.member__frame--orange {
  --mc: var(--ox-orange);
}
.member__frame--violet {
  --mc: var(--ox-violet);
}
.member__frame::before {
  /* origami fold behind the avatar */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, transparent 50%, rgb(0 0 0 / 0.08) 50%);
}
.member__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  mix-blend-mode: multiply;
  transition: transform 1s var(--ease-out);
}
[data-theme="dark"] .member__frame img {
  mix-blend-mode: normal;
}
.member:hover .member__frame img {
  transform: scale(1.05) translateY(-2%);
}
.member__initials {
  display: grid;
  place-items: center;
  height: 100%;
  font: 700 var(--fs-3xl) / 1 var(--font-display);
  color: #fff;
}
.member__name {
  font-size: var(--fs-lg);
  letter-spacing: -0.02em;
}
.member__role {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}
.member__bio {
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--text-soft);
}
.member__socials {
  display: flex;
  gap: var(--sp-3);
  list-style: none;
  padding: 0;
  margin: var(--sp-2) 0 0;
  font-size: var(--fs-xs);
  text-transform: capitalize;
}

/* ═════════ Clients ═════════ */
.clients {
  padding-block: calc(var(--section-y) * 0.7);
}
.clients__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--sp-4) var(--sp-6);
  margin-bottom: var(--sp-6);
}
.clients__title {
  font-size: var(--fs-xl);
}
.clients__marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.clients__track {
  display: flex;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.clients__marquee:hover .clients__track,
.clients__marquee:focus-within .clients__track {
  animation-play-state: paused;
}
.clients__track ul {
  display: flex;
  gap: var(--sp-5);
  padding: 0 var(--sp-5) 0 0;
  margin: 0;
  list-style: none;
}
.client {
  width: clamp(8.5rem, 12vw, 11rem);
  aspect-ratio: 1.3;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3);
}
.client img {
  width: 88%;
  height: auto;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.75;
  transition: filter var(--dur-3), opacity var(--dur-3);
}
.client:hover {
  transform: translateY(-4px) rotate(-1.5deg);
  box-shadow: var(--sh-2);
}
.client:hover img {
  filter: none;
  opacity: 1;
}
[data-theme="dark"] .client {
  background: #e9ebee;
}
@media (prefers-reduced-motion: reduce) {
  .clients__track {
    animation: none;
    width: auto;
  }
  .clients__track ul {
    flex-wrap: wrap;
    justify-content: center;
    padding-inline: var(--gutter);
  }
  .clients__track ul[aria-hidden="true"] {
    display: none;
  }
}

/* ═════════ Testimonials ═════════ */
.testimonials {
  background: var(--bg-sunk);
}
.testimonials__carousel {
  --slide: clamp(18rem, 34vw, 30rem);
}
.quote {
  --qc: var(--ox-teal);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-6);
  height: 100%;
  min-height: 21rem;
  margin: 0;
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3);
}
.quote::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 3.2rem;
  height: 3.2rem;
  background: linear-gradient(225deg, var(--bg-sunk) 50%, color-mix(in oklab, var(--qc) 80%, black) 50%);
  box-shadow: var(--sh-fold);
}
.quote--orange {
  --qc: var(--ox-orange);
}
.quote--violet {
  --qc: var(--ox-violet);
}
.quote--ink {
  --qc: var(--ox-slate);
}
.quote:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-3);
}
.quote__mark {
  width: 2.6rem;
  fill: var(--qc);
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.quote figcaption strong {
  display: block;
}
.quote__meta {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.quote__avatar {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.quote__avatar--initials {
  display: grid;
  place-items: center;
  background: var(--qc);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-sm);
}
.quote--orange .quote__avatar--initials {
  color: var(--ox-ink);
}
.quote__stars {
  margin-left: auto;
  color: var(--ox-orange);
  letter-spacing: 0.1em;
}

/* ═════════ FAQ ═════════ */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: var(--sp-8);
  align-items: start;
}
.faq__head {
  position: sticky;
  top: 7rem;
}
.faq__list {
  border-top: 1.5px solid var(--text);
}
.faq__item {
  border-bottom: 1px solid var(--line-strong);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding-block: var(--sp-5);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  transition: transform var(--dur-3) var(--ease-out), background-color var(--dur-2), border-color var(--dur-2);
}
.faq__icon svg {
  width: 1.05rem;
}
.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  background: var(--ox-teal);
  border-color: var(--ox-teal);
  color: #fff;
}
.faq__item summary:hover .faq__q {
  color: var(--accent-text);
}
.faq__answer {
  overflow: hidden;
}
.faq__answer p {
  padding-bottom: var(--sp-5);
  color: var(--text-soft);
  max-width: 62ch;
}
@media (max-width: 900px) {
  .faq__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
  .faq__head {
    position: static;
  }
}

/* ═════════ Contact ═════════ */
.contact {
  overflow: clip;
}
.contact__sheet {
  position: absolute;
  inset: 8% 0 0 auto;
  width: 58%;
  background: var(--grad-fold);
  opacity: 0.1;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}
.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: var(--sp-8);
  align-items: start;
}
.contact__title {
  font-size: var(--fs-4xl);
  line-height: 0.92;
  margin: var(--sp-4) 0 var(--sp-5);
}
.contact__channels {
  margin-top: var(--sp-7);
}
.contact__channels ul {
  list-style: none;
  padding: 0;
  margin: var(--sp-3) 0 0;
  display: grid;
  gap: var(--sp-2);
}
.channel {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-lg);
  font-weight: 550;
  text-decoration: none;
}
.channel svg {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.55rem;
  border-radius: 50%;
  background: var(--bg-elev);
  box-shadow: var(--sh-1);
  transition: transform var(--dur-3) var(--ease-spring), background-color var(--dur-2);
}
.channel:hover svg {
  transform: rotate(-12deg) scale(1.08);
  background: var(--ox-orange);
  color: var(--ox-ink);
}
.channel:hover span {
  text-decoration: underline;
}
.contact__form-wrap {
  position: relative;
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  border-radius: var(--r-xl);
  background: var(--bg-elev);
  box-shadow: var(--sh-3);
}
.contact__form-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4rem;
  height: 4rem;
  border-top-right-radius: var(--r-xl);
  background: linear-gradient(225deg, var(--bg) 50%, var(--ox-orange) 50%);
  box-shadow: var(--sh-fold);
}
.contact__form-title {
  margin-bottom: var(--sp-5);
}
.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.field--full {
  grid-column: 1 / -1;
}
.check {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  font-size: var(--fs-sm);
  font-weight: 400 !important;
  color: var(--text-soft);
  letter-spacing: 0 !important;
}
.check input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  accent-color: var(--ox-teal);
  flex: none;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}
.contact-form__msg {
  color: #c62f2f;
  font-size: var(--fs-sm);
}
[data-theme="dark"] .contact-form__msg {
  color: #ff8a8a;
}
.contact-form--sent {
  display: grid;
  justify-items: start;
  gap: var(--sp-4);
  padding-block: var(--sp-6);
}
.contact-form__crane {
  width: 5rem;
  animation: crane 1.4s var(--ease-spring) both;
}
@keyframes crane {
  from {
    transform: translate(-30px, 30px) rotate(-30deg) scale(0.4);
    opacity: 0;
  }
}
@media (max-width: 960px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .contact-form__grid {
    grid-template-columns: 1fr;
  }
}

/* ═════════ Footer ═════════ */
.site-footer {
  position: relative;
  background: var(--ox-ink);
  color: var(--ox-paper);
  padding-top: var(--sp-9);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  overflow: hidden;
}
[data-theme="dark"] .site-footer {
  background: #08090a;
  border-top: 1px solid var(--line);
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
.site-footer .eyebrow {
  color: rgb(255 255 255 / 0.7);
  margin-bottom: var(--sp-4);
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: var(--sp-7);
}
.site-footer__logo {
  width: 200px;
  margin-bottom: var(--sp-5);
}
.site-footer__tagline {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  line-height: 1.15;
  white-space: pre-line;
  margin-bottom: var(--sp-5);
  max-width: 22ch;
}
.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-2);
  color: #d5d8dc;
}
.site-footer .socials a {
  color: var(--ox-paper);
}
.site-footer__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 1rem + 22vw, 26rem);
  line-height: 0.75;
  letter-spacing: -0.07em;
  text-align: center;
  margin-top: var(--sp-8);
  color: transparent;
  -webkit-text-stroke: 1px rgb(255 255 255 / 0.16);
  user-select: none;
  white-space: nowrap;
  translate: 0 12%;
}
.site-footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-block: var(--sp-5);
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: var(--fs-xs);
  color: #b9bec3;
}
@media (max-width: 960px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }
}

/* ═════════ Floating controls ═════════ */
.wa-float,
.to-top {
  position: fixed;
  right: clamp(0.9rem, 2vw, 1.6rem);
  z-index: var(--z-float);
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
}
.wa-float {
  bottom: clamp(0.9rem, 2vw, 1.6rem);
  background: #25d366;
  color: #fff;
  box-shadow: var(--sh-3);
  transition: transform var(--dur-3) var(--ease-spring);
}
.wa-float svg {
  width: 1.7rem;
  height: 1.7rem;
}
.wa-float:hover {
  transform: scale(1.08) rotate(-8deg);
}
.to-top {
  bottom: clamp(0.9rem, 2vw, 1.6rem);
  border: 0;
  padding: 0;
  background: color-mix(in oklab, var(--bg-elev) 88%, transparent);
  color: var(--text);
  box-shadow: var(--sh-2);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out), background-color var(--dur-2);
}
.to-top[data-raised="true"] {
  bottom: calc(clamp(0.9rem, 2vw, 1.6rem) + 4.2rem);
}
.to-top[data-visible="true"] {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.to-top:hover {
  background: var(--ox-orange);
  color: var(--ox-ink);
}
.to-top:hover .to-top__icon {
  transform: translateY(-3px);
}
.to-top__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  rotate: -90deg;
}
.to-top__track {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 2.5;
}
.to-top__bar {
  fill: none;
  stroke: var(--ox-teal);
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 80ms linear;
}
.to-top__icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform var(--dur-2) var(--ease-out);
}

/* ═════════ Cursor ═════════ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-cursor);
  pointer-events: none;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity var(--dur-3);
}
.cursor[data-visible="true"] {
  opacity: 1;
}
.cursor__dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: #fff;
  transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-2);
}
.cursor[data-state="hover"] .cursor__dot {
  transform: scale(2.6);
}
.cursor[data-state="label"] .cursor__dot {
  transform: scale(4.2);
}
.cursor[data-state="hidden"] .cursor__dot {
  opacity: 0;
  transform: scale(0.3);
}
.cursor[data-down="true"] .cursor__dot {
  transform: scale(0.7);
}
@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none;
  }
}

/* ═════════ Inner pages ═════════ */
.page-hero {
  padding-top: clamp(8rem, 6rem + 6vw, 12rem);
  padding-bottom: var(--sp-6);
  background: var(--grad-paper);
}
.page-hero--compact {
  padding-bottom: var(--sp-5);
}
.page-hero__title {
  margin-block: var(--sp-4) var(--sp-5);
}
.prose {
  display: grid;
  gap: var(--sp-5);
  color: var(--text-soft);
}
.prose h2 {
  color: var(--text);
  margin-bottom: var(--sp-2);
}
.case__hero {
  padding-top: clamp(7.5rem, 6rem + 5vw, 11rem);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--sp-5) var(--sp-8);
  align-items: end;
  padding-bottom: var(--sp-7);
}
.case__back {
  grid-column: 1 / -1;
  justify-self: start;
  border: 0;
  font-size: var(--fs-sm);
}
.case__heading .eyebrow {
  margin-bottom: var(--sp-4);
}
.case__title {
  margin-bottom: var(--sp-5);
}
.case__facts {
  display: grid;
  gap: var(--sp-4);
  margin: 0;
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  box-shadow: var(--sh-1);
}
.case__facts dt {
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}
.case__facts dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
}
.case__visit {
  grid-column: 2;
  justify-self: start;
}
.case__cover {
  margin-block: 0 var(--section-y);
}
.case__cover img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
}
.case__body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-7);
  margin-bottom: var(--section-y);
}
.case__num {
  color: var(--accent-2-text);
  font-size: 0.6em;
  vertical-align: super;
}
.case__text {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-3);
  color: var(--text-soft);
}
.case__video {
  aspect-ratio: 16 / 9;
  margin-bottom: var(--section-y);
}
.case__video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--r-xl);
}
.case__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-5);
  margin-bottom: var(--section-y);
}
.case__gallery figure {
  margin: 0;
}
.case__gallery figure:nth-child(3n + 1) {
  grid-column: 1 / -1;
}
.case__gallery img {
  width: 100%;
  border-radius: var(--r-lg);
}
.case__next {
  border-top: 1px solid var(--line);
}
.case__next-link {
  display: grid;
  gap: var(--sp-3);
  padding-block: var(--sp-8);
  text-decoration: none;
}
.case__next-title {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  transition: transform var(--dur-3) var(--ease-out);
}
.case__next-title svg {
  width: 0.7em;
  height: 0.7em;
}
.case__next-link:hover .case__next-title {
  transform: translateX(0.15em);
  color: var(--accent-text);
}
@media (max-width: 900px) {
  .case__hero {
    grid-template-columns: 1fr;
  }
  .case__visit {
    grid-column: 1;
  }
  .case__body {
    grid-template-columns: 1fr;
  }
  .case__gallery {
    grid-template-columns: 1fr;
  }
}

/* 404 */
.nf {
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: var(--sp-5);
  text-align: center;
  padding: var(--gutter);
  background: var(--grad-paper);
}
.nf__mark {
  width: 9rem;
  animation: nf-spin 12s linear infinite;
}
@keyframes nf-spin {
  to {
    rotate: 360deg;
  }
}

.site-footer__col ul.socials {
  display: flex;
  flex-wrap: wrap;
}

/* Mobile overflow guards */
.hero {
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 860px) {
  .pgrid__list {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Hero headline reveals with CSS from the first frame (no wait for hydration → better LCP) */
.js .hero .reveal-lines .line > span {
  transform: none;
  transition: none;
  animation: line-up 1.3s var(--ease-out) both;
  animation-delay: calc(0.1s + var(--i, 0) * 0.11s);
}
@keyframes line-up {
  from {
    transform: translate3d(0, 105%, 0) rotate(calc(4deg * var(--fx)));
  }
}
.js .hero .reveal-lines .hl__paper {
  transform: none;
  transition: none;
  animation: hl-in 0.9s var(--ease-fold) 0.85s both;
}
@keyframes hl-in {
  from {
    transform: scaleX(0);
  }
}
[data-motion="off"] .hero .reveal-lines .line > span,
[data-motion="off"] .hero .hl__paper {
  animation: none;
}

/* Accessible contrast for folder labels (WCAG AA) */
.folder--teal {
  --fc: var(--ox-teal-600);
}
.folder--violet {
  --fc: var(--ox-violet-600);
}
.folder__title {
  font-weight: 700;
}

/* Menu sheets: 4-point polygons so the final state covers the whole viewport */
@keyframes sheet-in {
  from {
    clip-path: polygon(100% 0, 100% 0, 100% 0, 100% 0);
  }
  to {
    clip-path: polygon(-100% 0, 100% 0, 100% 200%, -100% 200%);
  }
}

/* Phones/tablets: the mark sits above the headline instead of behind it */
@media (max-width: 1024px) {
  .hero-stage {
    right: -12%;
    top: 4.25rem;
    width: min(64vw, 440px);
    opacity: 1;
  }
  .hero__copy {
    padding-top: calc(min(64vw, 440px) * 0.72);
  }
}
@media (max-width: 480px) {
  .hero-stage {
    right: -14%;
    top: 4rem;
    width: 66vw;
  }
  .hero__copy {
    padding-top: 46vw;
  }
}
.menu-open .site-header .icon-btn {
  background: transparent;
}

/* ════════════════════════════════════════════════════════════════════
   Ajustes de la versión HTML/PHP
   ════════════════════════════════════════════════════════════════════ */
img.fill { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Botón de tema: muestra el ícono de la preferencia actual */
[data-tema-ciclo] svg { display: none; }
[data-tema-ciclo][data-pref="light"] .ic-light,
[data-tema-ciclo][data-pref="dark"] .ic-dark,
[data-tema-ciclo][data-pref="system"] .ic-system,
[data-tema-ciclo]:not([data-pref]) .ic-light { display: block; }
.nf { min-height: 80svh; padding-top: 8rem; }
.nf .lead { max-width: 34ch; }

/* ════════════════════════════════════════════════════════════════════
   Ronda de ajustes 2 (revisión del cliente)
   ════════════════════════════════════════════════════════════════════ */

/* 1 · Botón de tema: luna en modo claro (pasa a oscuro), sol en modo oscuro */
[data-tema-ciclo] svg { display: none; }
html[data-theme="light"] [data-tema-ciclo] .ic-luna,
html[data-theme="dark"] [data-tema-ciclo] .ic-sol { display: block; }
[data-tema-ciclo] svg { transition: transform var(--dur-3) var(--ease-spring); }
[data-tema-ciclo]:hover svg { transform: rotate(-18deg) scale(1.08); }

/* 2 · Con el menú completo abierto se ocultan el logo y los enlaces del encabezado */
.site-header__logo,
.site-nav {
  transition: opacity var(--dur-2) var(--ease-out), visibility var(--dur-2);
}
.menu-open .site-header .site-header__logo,
.menu-open .site-header .site-nav {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 12 · Cierre del menú: las hojas se repliegan en orden inverso */
.menu-panel.is-closing { pointer-events: none; }
.menu-panel.is-closing .menu-panel__sheets span {
  animation: sheet-out 560ms var(--ease-fold) both;
}
.menu-panel.is-closing .menu-panel__sheets span:nth-child(1) { animation-delay: 150ms; }
.menu-panel.is-closing .menu-panel__sheets span:nth-child(2) { animation-delay: 75ms; }
.menu-panel.is-closing .menu-panel__sheets span:nth-child(3) { animation-delay: 0ms; }
@keyframes sheet-out {
  from { clip-path: polygon(-60% 0, 100% 0, 100% 160%); }
  to { clip-path: polygon(100% 0, 100% 0, 100% 0); }
}
.menu-panel.is-closing .menu-panel__nav a,
.menu-panel.is-closing .menu-panel__aside {
  animation: menu-item-out 300ms cubic-bezier(0.55, 0, 1, 0.45) both;
  animation-delay: calc(var(--i, 0) * 22ms);
}
@keyframes menu-item-out {
  to { transform: translateY(-70%) rotate(-3deg); opacity: 0; }
}

/* 14 · Tablet: sin enlaces visibles, los botones van a la derecha */
@media (max-width: 1100px) {
  .site-nav + .site-header__actions { margin-left: auto; }
}
.site-header__cta--home svg { order: -1; }

/* 3 · Carpetas sin imagen: hoja de vidrio translúcido (el título siempre queda legible) */
.folder__title,
.folder__arrow { z-index: 1; }
.folder__sheet--vacia {
  background:
    linear-gradient(135deg, transparent calc(50% - 0.5px), rgb(255 255 255 / 0.35) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(150deg, rgb(255 255 255 / 0.34), rgb(255 255 255 / 0.08));
  border: 1px solid rgb(255 255 255 / 0.45);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5), 0 14px 30px -14px rgb(0 0 0 / 0.35);
  backdrop-filter: blur(10px) saturate(1.3);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
}

/* 4 · (flechas ↘ en botones que bajan a una sección: ver iconos) */

/* 5 · Doblez de las tarjetas de proyecto: la esquina se recorta de verdad
       (antes se pintaba con el color del fondo y dejaba un borde) */
@property --fold {
  syntax: "<length>";
  inherits: true;
  initial-value: 0px;
}
.pcard__media {
  --fold: 0px;
  -webkit-mask-image: linear-gradient(225deg, transparent calc(var(--fold) * 0.7071), #000 calc(var(--fold) * 0.7071 + 0.6px));
  mask-image: linear-gradient(225deg, transparent calc(var(--fold) * 0.7071), #000 calc(var(--fold) * 0.7071 + 0.6px));
  transition: --fold var(--dur-3) var(--ease-out);
}
.pcard__link:hover .pcard__media,
.pcard__link:focus-visible .pcard__media { --fold: 3.4rem; }
.pcard__media .pcard__fold,
.pcard__link:hover .pcard__media .pcard__fold,
.pcard__link:focus-visible .pcard__media .pcard__fold {
  z-index: 1;
  width: var(--fold);
  height: var(--fold);
  background: linear-gradient(225deg, transparent 50%, color-mix(in oklab, var(--ox-orange) 85%, black) 50%);
  border-bottom-left-radius: 5px;
  box-shadow: none;
  filter: drop-shadow(-3px 3px 4px rgb(0 0 0 / 0.25));
  transition: none;
}

/* 6 y 7 · Testimonios: esquina recortada real, sombra que sigue la forma y que no se corta */
.quote {
  background: linear-gradient(225deg, transparent calc(3.2rem * 0.7071), var(--bg-elev) calc(3.2rem * 0.7071 + 0.6px));
  box-shadow: none;
  filter: drop-shadow(0 1px 2px rgb(20 20 20 / 0.06)) drop-shadow(0 10px 18px rgb(20 20 20 / 0.06));
  transition: transform var(--dur-3) var(--ease-out), filter var(--dur-3);
}
.quote:hover {
  box-shadow: none;
  filter: drop-shadow(0 2px 4px rgb(20 20 20 / 0.08)) drop-shadow(0 24px 34px rgb(20 20 20 / 0.14));
}
.quote::after {
  background: linear-gradient(225deg, transparent 50%, color-mix(in oklab, var(--qc) 80%, black) 50%);
  border-bottom-left-radius: 6px;
  box-shadow: none;
  filter: drop-shadow(-3px 3px 3px rgb(0 0 0 / 0.2));
}
.testimonials { background: color-mix(in oklab, var(--bg-sunk) 72%, transparent); }
.carousel__track {
  padding-block: 1.75rem 4rem;
  margin-block: -1.25rem -2.5rem;
}

/* 9 · Formulario de contacto: mismo doblez limpio */
.contact__form-wrap {
  background: linear-gradient(225deg, transparent calc(4rem * 0.7071), var(--bg-elev) calc(4rem * 0.7071 + 0.6px));
  box-shadow: none;
  filter: drop-shadow(0 2px 6px rgb(20 20 20 / 0.06)) drop-shadow(0 26px 40px rgb(20 20 20 / 0.12));
}
.contact__form-wrap::before {
  background: linear-gradient(225deg, transparent 50%, var(--ox-orange) 50%);
  border-top-right-radius: 0;
  border-bottom-left-radius: 8px;
  box-shadow: none;
  filter: drop-shadow(-4px 4px 4px rgb(0 0 0 / 0.18));
}
.pillar__corner { background: linear-gradient(225deg, transparent 50%, var(--ox-teal) 50%); }

/* 8 · Carruseles arrastrables con el mouse */
.carousel__track { cursor: grab; }
.carousel__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
  -webkit-user-select: none;
}
.carousel__track.is-dragging * { pointer-events: none; }
.carousel__track img { -webkit-user-drag: none; user-select: none; }

/* 15 · Imagen de «Nosotros» sin recuadro de fondo */
.about__paper { display: none; }

/* 16 · Ambiente: esferas de color desenfocadas + esferas de vidrio */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  width: 46vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.55;
  will-change: transform;
  animation: orb-drift 28s ease-in-out infinite alternate;
}
.orb--a { left: -14vmax; top: -10vmax; background: radial-gradient(circle at 50% 50%, color-mix(in oklab, var(--ox-teal) 38%, transparent), transparent 68%); }
.orb--b { right: -16vmax; top: 30vh; background: radial-gradient(circle at 50% 50%, color-mix(in oklab, var(--ox-violet) 34%, transparent), transparent 68%); animation-duration: 34s; animation-delay: -9s; }
.orb--c { left: 22vw; bottom: -22vmax; background: radial-gradient(circle at 50% 50%, color-mix(in oklab, var(--ox-orange) 26%, transparent), transparent 68%); animation-duration: 40s; animation-delay: -18s; }
html[data-theme="dark"] .orb { opacity: 0.42; }
@keyframes orb-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6vw, 4vh, 0) scale(1.12); }
  100% { transform: translate3d(-4vw, 8vh, 0) scale(0.94); }
}
body { background: transparent; }
html { background: var(--bg); }

/* Esfera de vidrio (decorativa, se coloca dentro de una sección) */
.section { position: relative; overflow-x: clip; }
.glass-orb {
  position: absolute;
  z-index: 0;
  width: var(--s, 9rem);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 25%, rgb(255 255 255 / 0.75), rgb(255 255 255 / 0) 32%),
    radial-gradient(circle at 70% 80%, color-mix(in oklab, var(--oc, var(--ox-teal)) 45%, transparent), transparent 60%),
    linear-gradient(145deg, rgb(255 255 255 / 0.32), rgb(255 255 255 / 0.05));
  border: 1px solid rgb(255 255 255 / 0.5);
  box-shadow:
    inset -8px -10px 24px color-mix(in oklab, var(--oc, var(--ox-teal)) 30%, transparent),
    inset 6px 8px 18px rgb(255 255 255 / 0.4),
    0 30px 60px -24px color-mix(in oklab, var(--oc, var(--ox-teal)) 55%, transparent);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  animation: glass-float 9s ease-in-out infinite alternate;
}
html[data-theme="dark"] .glass-orb { border-color: rgb(255 255 255 / 0.22); }
.glass-orb::after {
  content: "";
  position: absolute;
  inset: -55%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--oc, var(--ox-teal)) 30%, transparent), transparent 65%);
}
.glass-orb--teal { --oc: var(--ox-teal); }
.glass-orb--violet { --oc: var(--ox-violet); }
.glass-orb--orange { --oc: var(--ox-orange); }
@keyframes glass-float {
  from { transform: translate3d(0, -10px, 0) rotate(-6deg); }
  to { transform: translate3d(0, 14px, 0) rotate(8deg); }
}
.section > .container,
.section > .carousel { position: relative; z-index: 1; }
@media (max-width: 760px) {
  .glass-orb { --s: 5.5rem !important; opacity: 0.85; }
}
html[data-motion="off"] .orb,
html[data-motion="off"] .glass-orb { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .orb, .glass-orb { animation: none; }
}

/* Vidrio en piezas pequeñas (estilo glassmorphism) */
.chip {
  backdrop-filter: blur(10px) saturate(1.3);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
}
.stats > div {
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, color-mix(in oklab, var(--bg-elev) 62%, transparent), color-mix(in oklab, var(--bg-elev) 22%, transparent));
  border: 1px solid color-mix(in oklab, var(--line) 80%, white);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}
html[data-theme="dark"] .stats > div { border-color: rgb(255 255 255 / 0.1); }

/* 17 · Maquetas de dispositivos (proyectos web): computadora + celular */
.devices {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(1rem, 3vw, 3rem);
  margin-block: 0 var(--section-y);
}
.devices__note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-align: center;
}
.device { margin: 0; }
.device__screen {
  position: relative;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  background: var(--bg-sunk);
}
.device__screen img { display: block; width: 100%; height: auto; }
.device--desktop {
  border-radius: 1rem;
  padding: 0;
  background: linear-gradient(160deg, color-mix(in oklab, var(--bg-elev) 90%, white), var(--bg-elev));
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.device__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
}
.device__dots { display: flex; gap: 0.4rem; }
.device__dots i { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: #ff5f57; }
.device__dots i:nth-child(2) { background: #febc2e; }
.device__dots i:nth-child(3) { background: #28c840; }
.device__url {
  flex: 1;
  max-width: 28rem;
  margin-inline: auto;
  padding: 0.3rem 0.9rem;
  border-radius: var(--r-pill);
  background: var(--bg-sunk);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.device--desktop .device__screen { aspect-ratio: 16 / 10; }
.device--phone {
  width: clamp(12rem, 22vw, 18rem);
  padding: 0.65rem;
  border-radius: 2.6rem;
  background: #111316;
  box-shadow: inset 0 0 0 2px #2a2e33, var(--sh-3);
  position: relative;
  margin-bottom: -2rem;
}
.device--phone::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 50%;
  z-index: 2;
  width: 30%;
  height: 1.3rem;
  translate: -50% 0;
  border-radius: var(--r-pill);
  background: #111316;
}
.device--phone .device__screen {
  aspect-ratio: 9 / 19.5;
  border-radius: 2rem;
  scrollbar-width: none;
}
.device--phone .device__screen::-webkit-scrollbar { display: none; }
.devices--solo { grid-template-columns: 1fr; justify-items: center; }
.devices--solo .device--phone { margin-bottom: 0; }
@media (max-width: 760px) {
  .devices { grid-template-columns: 1fr; justify-items: center; }
  .devices .device--desktop { width: 100%; }
  .device--phone { width: min(62vw, 16rem); margin-bottom: 0; }
}
