/* FHOCS. — tokens */
:root {
  --bg: #F4F2ED;
  --surface: #E9E6DF;
  --ink: #080808;
  --muted: #4A4843;
  --white: #FFFFFF;
  --accent: #C45A34;
  --accent-ink: #A3461F;
  /* naranja FHOCS y sus tonos */
  --o-50: #FBEDE4;
  --o-100: #F6DCCB;
  --o-200: #F0B796;
  --o-300: #E8946A;
  --o-400: #E0784C;
  --o-500: #C45A34;
  --o-600: #A84824;
  --o-800: #5E2610;
  --o-900: #1E120C;
  --dark: #080808;
  --dark-2: #151514;

  --font: "Inter Tight", "Helvetica Neue", Helvetica, sans-serif;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --script: "Great Vibes", "Brush Script MT", cursive;

  --m: clamp(20px, 2.4vw, 36px);           /* page margin */
  --gap: clamp(96px, 10vw, 168px);        /* section gap */

  --t-display: clamp(64px, 9.6vw, 176px);
  --t-h2: clamp(44px, 6.4vw, 108px);
  --t-h3: clamp(24px, 2.2vw, 34px);
  --t-body: clamp(17px, 1.25vw, 20px);
  --t-small: 15px;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--t-body); line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: var(--m); top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  --b: var(--ink); --c: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--b); color: var(--c);
  font: 700 17px/1 var(--font); letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease-out), background-color .25s;
}
.btn:hover { background: var(--accent); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--small { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn--ghost { --b: var(--surface); --c: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.link-arrow { font-weight: 700; text-decoration: none; position: relative; padding: 6px 0; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: currentColor; transform-origin: right; transition: transform .45s var(--ease-out); }
.link-arrow:hover::after { transform: scaleX(0); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--m);
  transition: transform .5s var(--ease-out), background-color .3s;
}
.nav.is-solid { background: var(--bg); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo img { width: 112px; height: auto; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-size: var(--t-small); font-weight: 700; text-decoration: none; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav__links a:hover::after { transform: scaleX(1); }

.section-title { font-size: var(--t-h2); line-height: .95; letter-spacing: -0.05em; font-weight: 700; }

/* Hero */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 6fr 5fr; align-items: end; gap: 0 2vw;
  padding: 120px var(--m) clamp(40px, 6vh, 72px);
}
.hero__text { position: relative; z-index: 2; padding-bottom: 2vh; }
.hero__title { font-size: var(--t-display); line-height: .88; letter-spacing: -0.06em; font-weight: 700; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .1em .06em; margin: 0 -.1em -.06em; }
.hero__title .w > span { display: inline-block; }
.hero__lead { margin-top: 40px; max-width: 34ch; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.45; }
.hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.hero__stage { position: relative; align-self: stretch; min-height: 60vh; margin-right: calc(var(--m) * -1); }
.hero__fallback, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__canvas { z-index: 1; pointer-events: none; height: calc(100% + 40svh);
  /* soft edge so the dots fade out instead of ending on a line */ /* taste-skill-ignore */
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 62%, transparent 100%); /* taste-skill-ignore */
  mask-image: linear-gradient(to bottom, #000 0, #000 62%, transparent 100%); /* taste-skill-ignore */ }
.hero__fallback { object-fit: contain; object-position: center 60%; transition: opacity .8s; }
.hero__canvas { opacity: 0; transition: opacity .6s; touch-action: pan-y; }
.hero.is-3d .hero__canvas { opacity: 1; }
.hero.is-3d .hero__fallback { opacity: 0; }
.hero__hint { position: absolute; right: var(--m); bottom: clamp(40px, 6vh, 72px); font-size: var(--t-small); color: var(--muted); opacity: 0; transition: opacity .6s .4s; }
.hero.is-3d .hero__hint { opacity: 1; }

/* Work */
.work { position: relative; z-index: 2; padding: var(--gap) var(--m) 0; }
.work__head { text-align: center; padding-bottom: clamp(56px, 7vw, 96px); }
.work__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(76px, 12vw, 210px); line-height: .9; letter-spacing: -0.035em; }
.work__lead { margin: 28px auto 0; max-width: 34ch; font-size: clamp(18px, 1.45vw, 22px); }
.case-track { height: 175svh; }
.case-track + .case-track { margin-top: 4vh; }
.case { position: sticky; top: 84px; display: grid; grid-template-columns: 8fr 4fr; gap: 4vw; align-items: end; min-height: calc(100svh - 108px); padding: clamp(24px, 3.4vw, 56px); border-radius: 24px; }
.case--light { background: var(--surface); }
.case--dark { background: var(--dark); color: var(--white); }
.case--dark .case__desc { color: #e9e6df; }
.case__frame { perspective: 1400px; align-self: center; }
.case .browser { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease-out); }
.case--dark .browser__bar { background: #1f1f1d; }
.browser { background: var(--dark); border-radius: 14px; overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: var(--dark-2); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3936; }
.browser__url { margin: 0 auto; font-size: 13px; color: #b7b4ad; }
.browser__view { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.case__scroll { will-change: transform; }
.case__scroll img { width: 100%; height: auto; }
.case__name { font-size: clamp(34px, 3.4vw, 58px); line-height: 1; letter-spacing: -0.035em; }
.case__desc { margin: 18px 0 26px; max-width: 32ch; }

/* Services */
.services { padding: var(--gap) var(--m) 0; }
.services__head { display: grid; grid-template-columns: 7fr 5fr; gap: 4vw; align-items: end; }
.services__intro { justify-self: end; max-width: 36ch; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.35; }
.services__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 4vw; margin-top: 56px; align-items: start; }
.service { padding: 28px 0 28px 0; cursor: default; outline-offset: 6px; }
.service + .service { margin-top: 8px; }
.service h3 { font-size: var(--t-h3); line-height: 1.05; letter-spacing: -0.03em; color: var(--muted); transition: color .3s, transform .5s var(--ease-out); }
.service p { margin-top: 10px; max-width: 38ch; color: var(--muted); font-size: 17px; }
.service.is-active h3 { color: var(--ink); transform: translateX(14px); }
.service.is-active p { color: var(--ink); }
.service.is-active h3::before { content: ""; display: inline-block; width: .42em; height: .42em; border-radius: 50%; background: var(--accent); margin-right: .35em; vertical-align: .08em; }
.services__media { position: sticky; top: 96px; background: var(--surface); overflow: hidden; aspect-ratio: 4 / 3; border-radius: 14px; }
.services__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: opacity .35s; }
.services__media img.is-contain { object-fit: contain; object-position: center; padding: 8%; }
.services__media img.is-swapping { opacity: 0; }

/* Process */
.process { padding: var(--gap) var(--m) 0; }
.process__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 0 5vw; margin-top: 48px; }
.process__stage { position: relative; }
.mock { position: sticky; top: calc(50svh - 19vw); background: var(--white); border-radius: 14px; overflow: hidden; }
.mock__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: var(--surface); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9c5bc; }
.mock__url { margin-left: 12px; font-size: 13px; color: var(--muted); }
.mock__live { margin-left: auto; font-size: 13px; font-weight: 700; color: #1d6b3a; opacity: 0; transition: opacity .3s; }
.mock[data-state="3"] .mock__live, .mock[data-state="4"] .mock__live { opacity: 1; }
.mock__view { position: relative; aspect-ratio: 16 / 11; }
.mock__s { position: absolute; inset: 0; padding: 6% 7%; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .45s, transform .6s var(--ease-out), visibility 0s .45s; pointer-events: none; }
.mock[data-state="1"] .mock__s--1, .mock[data-state="2"] .mock__s--2, .mock[data-state="3"] .mock__s--3, .mock[data-state="4"] .mock__s--4 { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mock__label { font-size: 14px; font-weight: 700; color: var(--muted); }
.mock__s--1 ul.legacy { margin-top: 22px; display: grid; gap: 14px; font-size: clamp(16px, 1.5vw, 24px); }
.mock__s--1 li { padding: 16px 18px; background: var(--bg); border-radius: 8px; }
.mock__nav { display: flex; justify-content: space-between; font-size: 14px; }
.mock__nav span { color: var(--muted); }
.mock__h { margin-top: 9%; font-size: clamp(20px, 2.3vw, 34px); font-weight: 700; line-height: .95; letter-spacing: -0.04em; max-width: 16ch; }
.mock__s--2 .mock__h { color: #8f8b83; }
.mock__btn { display: inline-block; margin-top: 24px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 700; }
.mock__sketch { position: absolute; right: 7%; top: 22%; width: 42%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; filter: grayscale(1) contrast(.8); opacity: .45; }
.mock__sum { margin-top: 18px; font-size: 14px; font-weight: 700; }
.mock__note { position: absolute; bottom: 6%; left: 7%; font-size: 13px; color: var(--muted); }
.mock__hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4%; }
.mock__hero img { border-radius: 8px; aspect-ratio: 4/3; object-fit: cover; margin-top: 9%; }
.mock__checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 7%; }
.mock__checks span { font-size: 13px; padding: 8px 12px; background: var(--bg); border-radius: 999px; }
.mock__row { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 12px; align-items: center; margin-top: 14px; padding: 16px 18px; background: var(--bg); border-radius: 8px; font-size: 15px; }
.mock__row span { color: var(--muted); }
.mock__row em { font-style: normal; font-weight: 700; font-size: 13px; padding: 6px 10px; border-radius: 999px; background: var(--ink); color: var(--white); }
.mock__row + .mock__row em { background: var(--surface); color: var(--ink); }
.process__steps { padding: 4vh 0 12vh; }
.step { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; }
.step h3 { font-size: clamp(28px, 2.6vw, 42px); line-height: 1.02; letter-spacing: -0.04em; color: var(--muted); transition: color .3s; }
.step p { margin-top: 14px; max-width: 34ch; color: var(--muted); transition: color .3s; }
.step.is-active h3, .step.is-active p { color: var(--ink); }
.process__note { margin-top: 0; font-size: var(--t-small); color: var(--muted); }

/* Demo */
.demo { display: grid; grid-template-columns: 6fr 5fr; gap: 4vw; align-items: center; margin: var(--gap) 0 0; padding: clamp(80px, 10vw, 160px) var(--m); background: var(--surface); }
.demo__text p { margin-top: 28px; max-width: 42ch; }
.demo__controls { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.demo__fine { font-size: var(--t-small); color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5vw; align-items: center; padding: var(--gap) var(--m) 0; }
.about__portrait { overflow: hidden; background: var(--dark); width: 100%; max-width: 620px; max-height: 82svh; aspect-ratio: 4 / 5; justify-self: end; }
.about__portrait img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; transform: scale(1.08); will-change: transform; }
.about__title { font-size: clamp(40px, 4.6vw, 80px); line-height: .95; letter-spacing: -0.05em; }
.about__text p { margin-top: 28px; max-width: 44ch; }
.about__text p.about__sign { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.2vw, 34px); margin-top: 48px; }

/* Contact */
.contact { position: relative; margin-top: var(--gap); min-height: 118svh; background: var(--dark); color: var(--white); overflow: hidden; display: flex; align-items: flex-end; }
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.contact__inner { position: relative; padding: 0 var(--m) 18vh; max-width: 70vw; }
.contact__title { font-size: var(--t-h2); line-height: .92; letter-spacing: -0.055em; max-width: 10ch; }
.contact__lead { margin-top: 28px; max-width: 40ch; font-size: clamp(18px, 1.5vw, 22px); color: #e9e6df; }
.contact__big { display: inline-block; margin-top: 56px; font-size: clamp(32px, 4.6vw, 76px); line-height: 1; font-weight: 700; letter-spacing: -0.045em; text-decoration: none; position: relative; padding-bottom: 10px; transition: color .3s; }
.contact__big::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: currentColor; transform-origin: right; transition: transform .5s var(--ease-out); }
.contact__big:hover { color: var(--accent); }
.contact__big:hover::after { transform: scaleX(0); }
.contact__pending { margin-top: 20px; font-size: var(--t-small); color: #cfccc5; }

/* Footer */
.footer { background: var(--dark); color: var(--white); }
.footer__top { display: grid; grid-template-columns: 1fr 1fr; min-height: 82svh; }
.footer__photo { overflow: hidden; background: var(--bg); }
.footer__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 44% 40%; }
.footer__menu { display: flex; flex-direction: column; padding: 80px var(--m) 32px 6vw; }
.footer__logo { width: 120px; }
.footer__menu nav { display: grid; gap: 14px; margin-top: 72px; }
.footer__menu nav a { font-size: clamp(32px, 3.2vw, 56px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; text-decoration: none; transition: transform .4s var(--ease-out), color .3s; width: max-content; }
.footer__menu nav:hover a { color: #8f8b83; }
.footer__menu nav a:hover, .footer__menu nav a:focus-visible { color: var(--white); transform: translateX(12px); }
.footer__brand { margin-top: auto; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 30px); }
.footer__legal { margin-top: auto; font-size: 13px; color: #b7b4ad; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 1024px) {
  .case { grid-template-columns: 1fr; gap: 28px; min-height: 0; top: 76px; }
  .case-track { height: 150svh; }
  .services__head, .services__grid, .about { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav .btn--small { margin-left: auto; }
  .hero { grid-template-columns: 1fr; align-items: start; padding-top: 104px; }
  .hero__stage { order: 2; min-height: 54vh; margin: 24px calc(var(--m) * -1) 0; }
  .hero__hint { display: none; }
  .services__media { position: relative; top: 0; order: -1; }
  .services__intro { justify-self: start; }
  .services__grid { gap: 40px; }
  .process__grid { grid-template-columns: 1fr; }
  .process__stage { position: relative; margin-bottom: 40px; }
  .mock { position: relative; top: 0; }
  .process__steps { padding: 4vh 0 10vh; }
  .process__steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .step { min-height: 0; padding: 28px 0; }
  .step h3, .step p { color: var(--ink); }
  .process__note { margin-top: 0; }
  .demo { grid-template-columns: 1fr; }
  .about__portrait { max-width: 520px; }
  .contact__inner { max-width: none; }
  .contact__bg { object-position: 78% center; opacity: .55; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__photo { height: 50svh; }
}
@media (max-width: 600px) {
  .process__steps { grid-template-columns: 1fr; }
  :root { --t-display: clamp(56px, 17vw, 96px); }
  .hero__lead { margin-top: 24px; }
  .hero__actions { margin-top: 28px; gap: 22px; }
  .hero__stage { min-height: 46svh; }
  .mock__view { aspect-ratio: 4 / 4.2; }
  .mock__hero { grid-template-columns: 1fr; }
  .mock__hero img, .mock__sketch { display: none; }
  .mock__row { grid-template-columns: 1fr auto; }
  .mock__row span { grid-column: 1 / -1; grid-row: 2; }
  .step h3 { font-size: 26px; }
  .footer__menu { padding: 48px var(--m) 28px; }
  .footer__menu nav a { font-size: 9vw; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .about__portrait img { transform: none; }
}

/* Outro: the dot spins in, becomes the circle, the logo turns white */
.outro { position: relative; height: 320svh; background: var(--bg); }
.outro__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.outro__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.outro__disc { position: absolute; width: min(64vmin, 620px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); left: 50%; top: 50%; translate: -50% -50%; }
.outro.is-3d .outro__disc { display: none; }
.outro__shade { position: absolute; inset: 0; background: var(--ink); opacity: 0; pointer-events: none; }
.outro__logo { position: relative; z-index: 2; width: min(44vw, 440px); display: grid; }
.outro__logo img { grid-area: 1 / 1; width: 100%; }
.outro__logo-dark { opacity: 0; }
.outro__line { position: absolute; z-index: 2; left: 0; right: 0; bottom: 12svh; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 28px); color: var(--white); }
@media (prefers-reduced-motion: reduce) { .outro { height: 100svh; } }


/* ---------- Helvetica Bold + Garamond, naranja ---------- */
h1 em, h2 em { white-space: nowrap; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--o-500); padding-right: .04em; }
.hero__title em { color: var(--o-500); }
.work__title { color: var(--o-600); }

/* Manifiesto, al estilo de una portada de revista */
.manifesto { position: relative; z-index: 2; background: var(--o-900); color: var(--white); padding: clamp(96px, 12vw, 180px) var(--m); text-align: center; }
.manifesto__label { font-size: var(--t-small); font-weight: 700; letter-spacing: 0; color: var(--o-200); }
.manifesto__text { margin: 40px auto 0; max-width: 17ch; font-size: clamp(44px, 6.6vw, 118px); line-height: .98; font-weight: 700; letter-spacing: -0.035em; text-transform: uppercase; }
.manifesto__text em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -0.01em; color: var(--o-400); }
.manifesto__text .mw { opacity: .16; transition: opacity .35s; }
.manifesto__text .mw.is-on { opacity: 1; }
.manifesto__sign { margin-top: 40px; font-family: var(--script); font-size: clamp(56px, 6vw, 96px); line-height: 1; color: var(--o-300); transform: rotate(-4deg); }

/* Campos de color naranja */
.services { background: var(--o-50); padding-bottom: var(--gap); margin-top: var(--gap); padding-top: clamp(80px, 9vw, 140px); }
.services__media { background: var(--o-100); }
.service.is-active h3::before { background: var(--o-500); }
.case--light { background: var(--o-100); }
.case--dark { background: var(--o-900); }
.case--dark .browser__bar { background: #2a1a12; }
.case--dark .case__name { color: var(--o-200); }
.demo { background: var(--o-500); color: var(--white); }
.demo h2 em { color: var(--o-50); }
.demo__fine { color: var(--o-50); }
.demo .btn { --b: var(--white); --c: var(--ink); }
.demo .btn:hover { background: var(--o-900); color: var(--white); }
.demo .btn--ghost { --b: var(--o-600); --c: var(--white); }
.contact__title em { color: var(--o-300); }
.contact__big:hover { color: var(--o-300); }
.about__signature { margin-top: 8px; font-family: var(--script); font-size: clamp(56px, 5vw, 84px); line-height: 1; color: var(--o-500); transform: rotate(-4deg); transform-origin: left; }
.btn:hover { background: var(--o-500); }
.footer__menu nav a:hover, .footer__menu nav a:focus-visible { color: var(--o-300); }
@media (max-width: 600px) { .manifesto__text { font-size: 11vw; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.manifesto__text { margin-top: 0; }

/* ---------- Demo: teléfono de frente y chat ---------- */
.demo { overflow: hidden; }
.demo__stage { position: relative; display: grid; place-items: center; min-height: 660px; }
@media (min-width: 1025px) { .demo { grid-template-columns: 4fr 7fr; } }
.tags { position: absolute; inset: 0; pointer-events: none; }
.tag { position: absolute; max-width: 240px; display: grid; gap: 2px; padding: 14px 18px 14px 40px; border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: 0 24px 50px -24px rgba(40, 12, 2, .6); opacity: 0; transform: translateY(20px) scale(.9); transition: opacity .4s, transform .7s cubic-bezier(.34, 1.56, .64, 1); }
.tag::before { content: ""; position: absolute; left: 16px; top: 19px; width: 12px; height: 12px; border-radius: 50%; background: var(--o-500); box-shadow: 0 0 0 5px var(--o-100); }
.tag b { font-size: 15.5px; }
.tag span { font-size: 13px; color: var(--muted); }
.tag[data-i="1"] { left: 0; top: 14%; }
.tag[data-i="2"] { right: 0; top: 42%; }
.tag[data-i="3"] { left: 2%; bottom: 12%; background: var(--ink); color: var(--white); }
.tag[data-i="3"] span { color: var(--o-200); }
.tag.is-on { opacity: 1; transform: none; }
@keyframes phone-float { 50% { transform: translateY(-12px); } }
@keyframes dot { 50% { transform: translateY(-4px); opacity: .5; } }
@media (max-width: 1024px) {
  .demo__stage { min-height: 0; padding: 24px 0; }
  .tags { position: static; display: grid; gap: 12px; width: 100%; margin-top: 28px; pointer-events: auto; }
  .tag { position: relative; inset: auto !important; }
}


/* ---------- Proceso: cuatro pantallas vivas ---------- */
.mock__view { aspect-ratio: 16 / 11.5; }
.mock__s { padding: 5% 5.5%; }
.mock__tabs { display: none; }
.mock button { font: inherit; cursor: pointer; border: 0; }
/* 1. Brief */
.brief { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.brief__card { display: flex; flex-direction: column; gap: 10px; min-height: 230px; padding: 18px 16px; border-radius: 18px; transition: transform .5s var(--ease-out); }
.brief__card:hover { transform: translateY(-6px) rotate(-1deg); }
.brief__card--a { background: var(--o-100); }
.brief__card--b { background: var(--o-600); color: var(--white); }
.brief__card--c { background: var(--ink); color: var(--white); }
.brief__q { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 28px); line-height: 1; }
.brief__card--a .brief__q { color: var(--o-800); }
.brief__card--c .brief__q { color: var(--o-300); }
.brief__a { min-height: 2.6em; font-weight: 700; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.25; }
.brief__a::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: currentColor; animation: caret 1s steps(1) infinite; }
.brief__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.chip { padding: 7px 11px; border-radius: 999px; font-size: 13px !important; font-weight: 700; background: rgba(255, 255, 255, .7); color: var(--ink); transition: background-color .2s, transform .3s var(--ease-out), color .2s; }
.brief__card--b .chip { background: var(--o-800); color: var(--white); }
.brief__card--c .chip { background: #2a2826; color: var(--white); }
.chip:hover { transform: scale(1.06); }
.chip.is-on { background: var(--ink); color: var(--white); }
.brief__card--b .chip.is-on { background: var(--white); color: var(--o-600); }
.brief__card--c .chip.is-on { background: var(--o-600); color: var(--white); }
.brief__done { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 14px; }
.brief__bar { flex: 1; height: 8px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.brief__bar i { display: block; height: 100%; width: 0; background: var(--o-500); border-radius: 99px; transition: width .8s var(--ease-out); }
@keyframes caret { 50% { opacity: 0; } }
/* 2. Portada */
.mock__s--2 { padding: 0; display: flex; flex-direction: column; }
.site { position: relative; flex: 1; padding: 4% 5.5%; transition: background-color .5s, color .5s; overflow: hidden; }
.site[data-theme="dark"] { background: var(--o-900); color: var(--white); }
.site[data-theme="orange"] { background: var(--o-500); color: var(--white); }
.site[data-theme="light"] { background: var(--o-50); color: var(--ink); }
.site__nav { display: flex; justify-content: space-between; font-size: 13px; }
.site__nav span { opacity: .75; }
.site__hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2%; margin-top: 3%; }
.site__h { font-size: clamp(24px, 2.7vw, 42px); font-weight: 800; line-height: .98; letter-spacing: -0.04em; }
.site__h em { display: block; font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; color: var(--o-300); }
.site[data-theme="orange"] .site__h em { color: var(--o-900); }
.site[data-theme="orange"] .site__h em { color: var(--o-50); }
.site[data-theme="light"] .site__h em { color: var(--o-600); }
.site__p { margin-top: 12px; font-size: 14px; opacity: .85; max-width: 30ch; }
.site__cta { display: inline-block; margin-top: 16px; padding: 10px 16px; border-radius: 999px; background: var(--o-500); color: var(--white); font-size: 13.5px; font-weight: 700; }
.site[data-theme="orange"] .site__cta { background: var(--white); color: var(--o-600); }
.site__price { display: inline-block; margin: 16px 0 0 10px; font-size: 13.5px; font-weight: 700; }
.site__img { width: 118%; max-width: none; margin-left: -6%; animation: bob 4s ease-in-out infinite; }
.pin { position: absolute; display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 999px 999px 999px 4px; background: var(--white); color: var(--ink); font-size: 12.5px; font-weight: 700; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .6s cubic-bezier(.34, 1.56, .64, 1); }
.pin i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--o-500); color: var(--white); font-style: normal; font-size: 11px; }
.pin--1 { left: 30%; bottom: 14%; transition-delay: .5s; }
.pin--2 { right: 8%; top: 18%; transition-delay: 1.1s; }
.pin--2 i { background: var(--ink); }
.mock[data-state="2"] .pin { opacity: 1; transform: none; }
.swatches { display: flex; align-items: center; gap: 10px; padding: 12px 5.5%; background: var(--white); font-size: 13.5px; font-weight: 700; }
.swatches span { margin-right: auto; }
.sw { width: 28px; height: 28px; border-radius: 50%; outline: 2px solid transparent; outline-offset: 3px; transition: transform .3s var(--ease-out), outline-color .2s; }
.sw:hover { transform: scale(1.12); }
.sw.is-on { outline-color: var(--ink); }
.sw[data-theme="dark"] { background: var(--o-900); }
.sw[data-theme="orange"] { background: var(--o-500); }
.sw[data-theme="light"] { background: var(--o-100); }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-2deg); } }
/* 3. Publicación */
.launch { display: grid; grid-template-columns: 1fr 1.5fr; grid-template-rows: auto 1fr; gap: 14px 22px; height: 100%; }
.launch__toast { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 700; transform: translateY(-14px); opacity: 0; transition: transform .6s cubic-bezier(.34, 1.56, .64, 1), opacity .3s; }
.launch__toast i { width: 10px; height: 10px; border-radius: 50%; background: #2fd46b; box-shadow: 0 0 0 4px rgba(47, 212, 107, .25); }
.mock[data-state="3"] .launch__toast { transform: none; opacity: 1; }
.launch__scores { display: grid; gap: 12px; align-content: center; }
.score { display: flex; align-items: center; gap: 14px; }
.score b { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-size: 20px; color: var(--o-600); background: radial-gradient(closest-side, var(--white) 76%, transparent 78% 100%), conic-gradient(var(--o-500) calc(var(--p, 0) * 1%), var(--o-100) 0); } /* taste-skill-ignore: ring chart inside an interface fragment */
.score span { font-weight: 700; font-size: 15px; }
.launch__devices { position: relative; }
.dev { position: absolute; overflow: hidden; background: var(--o-900); color: var(--white); }
.dev img { width: 100%; height: 70%; object-fit: cover; }
.dev p { padding: 8px 10px; font-size: 12.5px; font-weight: 700; }
.dev--laptop { inset: 4% 14% 10% 0; border: 8px solid #1b1b1b; border-radius: 12px; }
.dev--phone { right: 0; bottom: 0; width: 30%; aspect-ratio: 9 / 18; border: 6px solid #1b1b1b; border-radius: 22px; }
.dev--phone img { height: 62%; }
/* 4. Seguimiento */
.hub { display: grid; grid-template-columns: 1fr auto 1.55fr; gap: 16px; align-items: center; height: 100%; }
.hub__channels { display: grid; gap: 8px; }
.ch { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--bg); color: var(--ink); font-weight: 700; font-size: 14px; text-align: left; transition: transform .35s var(--ease-out), background-color .2s; }
.ch svg { width: 20px; height: 20px; flex: none; }
.ch:hover, .ch:focus-visible { transform: translateX(6px); background: var(--o-100); }
.ch.is-hit { animation: hit .5s var(--ease-out); }
.ch--mc { justify-content: center; background: var(--o-500); color: var(--white); font-size: 13px; }
.hub__core { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--o-500); color: var(--white); font-weight: 800; position: relative; }
.hub__core::before, .hub__core::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--o-500); opacity: .35; animation: ping 2.2s ease-out infinite; }
.hub__core::after { animation-delay: 1.1s; }
.hub__core span { position: relative; z-index: 1; }
.hub__inbox ul { display: grid; gap: 8px; margin-top: 10px; }
.msg { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--bg); font-size: 13.5px; animation: drop .6s cubic-bezier(.34, 1.56, .64, 1); }
.msg__ic { grid-row: 1 / 3; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--white); }
.msg__ic svg { width: 18px; height: 18px; }
.msg span:not(.msg__ic) { grid-column: 2; color: var(--muted); }
.msg em { grid-column: 3; grid-row: 1 / 3; font-style: normal; font-weight: 700; font-size: 12px; padding: 6px 10px; border-radius: 999px; background: var(--ink); color: var(--white); white-space: nowrap; }
.msg em.ok { background: var(--surface); color: var(--ink); }
.msg em.new { background: var(--o-600); color: var(--white); }
@keyframes ping { to { transform: scale(1.9); opacity: 0; } }
@keyframes hit { 40% { transform: scale(.94); } }
@keyframes drop { from { opacity: 0; transform: translateY(-16px) scale(.96); } }
@media (max-width: 1024px) {
  .mock__tabs { display: flex; gap: 6px; margin-bottom: 10px; overflow-x: auto; }
  .mock__tabs button { flex: none; padding: 9px 14px; border: 0; border-radius: 999px; background: var(--surface); color: var(--ink); font: 700 14px/1 var(--font); cursor: pointer; }
  .mock__tabs button.is-on { background: var(--ink); color: var(--white); }
}
@media (max-width: 700px) {
  .mock__view { aspect-ratio: auto; height: 600px; }
  .brief { grid-template-columns: 1fr; gap: 8px; }
  .brief__card { min-height: 0; padding: 12px 14px; }
  .brief__a { min-height: 0; }
  .site__hero { grid-template-columns: 1fr; }
  .site__img { width: 80%; margin: 8px auto 0; }
  .launch { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; }
  .launch__scores { grid-template-columns: repeat(3, 1fr); }
  .score { flex-direction: column; gap: 6px; }
  .hub { grid-template-columns: 1fr; gap: 12px; align-content: start; }
  .hub__channels { grid-template-columns: 1fr 1fr; }
  .ch--mc { grid-column: 1 / -1; }
  .hub__core { display: none; }
}
@media (max-width: 1024px) { .case-track { height: auto; } .case { position: relative; top: 0; } }

/* ---------- Demo: WhatsApp dentro del teléfono ---------- */
.phone { position: relative; width: min(330px, 76vw); aspect-ratio: 660 / 1344; animation: phone-float 6s ease-in-out infinite; }
.phone__frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.wa { position: absolute; left: 2.72%; right: 2.87%; top: 1.41%; bottom: 1.34%; z-index: 1; border-radius: 10.9% / 5.2%; overflow: hidden; display: flex; flex-direction: column; background: #EFE7DE; color: #111B21; font-size: 13px; }
.wa__status { display: flex; align-items: center; justify-content: space-between; padding: 9px 18px 3px; background: #F0F2F5; font-size: 12px; }
.wa__island { width: 74px; height: 22px; border-radius: 20px; background: #000; }
.wa__status i { width: 22px; height: 10px; border-radius: 3px; border: 1.5px solid #111B21; }
.wa__head { display: flex; align-items: center; gap: 8px; padding: 6px 10px 8px 6px; background: #F0F2F5; }
.wa__back { width: 20px; height: 20px; color: #008069; }
.wa__avatar { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--o-900); flex: none; }
.wa__avatar img { width: 160%; max-width: none; margin: 6% 0 0 -30%; }
.wa__who { display: grid; line-height: 1.15; flex: 1; min-width: 0; }
.wa__who b { display: flex; align-items: center; gap: 4px; font-size: 14px; }
.wa__verified { width: 14px; height: 14px; }
.wa__who small { font-size: 11.5px; color: #667781; }
.wa__icon { width: 20px; height: 20px; color: #54656F; margin-left: 6px; }
.wa__body { flex: 1; display: flex; flex-direction: column; gap: 5px; padding: 10px 9px; overflow: hidden; justify-content: flex-end;
  background-color: #EFE7DE;
  background-image: radial-gradient(rgba(140, 110, 80, .12) 1.2px, transparent 1.4px), radial-gradient(rgba(140, 110, 80, .08) 1px, transparent 1.2px); /* taste-skill-ignore: WhatsApp wallpaper inside an interface fragment */
  background-size: 18px 18px, 11px 11px; background-position: 0 0, 6px 9px; }
.wa__day { align-self: center; padding: 4px 9px; border-radius: 7px; background: #fff; font-size: 10.5px; font-weight: 600; color: #54656F; }
.wa__note { align-self: center; max-width: 92%; padding: 5px 9px; border-radius: 7px; background: #FFEECD; font-size: 10.5px; text-align: center; color: #54656F; }
.bubble { position: relative; max-width: 84%; padding: 6px 8px 17px; border-radius: 9px; font-size: 13px; line-height: 1.32; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); display: none; }
.bubble time { position: absolute; right: 7px; bottom: 3px; display: inline-flex; align-items: center; gap: 3px; font-size: 10px; color: #667781; }
.ticks { width: 15px; height: 10px; color: #53BDEB; }
.bubble--in { align-self: flex-start; background: #fff; border-top-left-radius: 0; }
.bubble--out { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 0; }
.bubble--in::before, .bubble--out::before { content: ""; position: absolute; top: 0; width: 8px; height: 10px; }
.bubble--in::before { left: -7px; background: #fff; clip-path: polygon(100% 0, 0 0, 100% 100%); }
.bubble--out::before { right: -7px; background: #D9FDD3; clip-path: polygon(0 0, 100% 0, 0 100%); }
.bubble--card { padding: 4px 4px 18px; width: 84%; display: none; }
.bubble.bubble--card.is-on { display: grid; }
.card__img { display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--o-900); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.bubble--card b { padding: 6px 5px 0; font-size: 13px; }
.card__price { padding: 1px 5px 6px; font-size: 12px; color: #667781; }
.card__btn { margin: 0 -4px; padding: 7px 0; text-align: center; color: #008069; font-weight: 600; border-top: 1px solid rgba(0, 0, 0, .08); }
.bubble--typing { align-self: flex-start; padding: 9px 11px; gap: 4px; background: #fff; border-top-left-radius: 0; }
.bubble--typing i { width: 6px; height: 6px; border-radius: 50%; background: #8696A0; animation: dot 1s infinite; }
.bubble--typing i:nth-child(2) { animation-delay: .15s; } .bubble--typing i:nth-child(3) { animation-delay: .3s; }
.bubble.is-on { display: block; animation: pop .35s cubic-bezier(.34, 1.56, .64, 1); }
.bubble--typing.is-on { display: flex; }
.wa__quick { display: none; gap: 5px; align-self: flex-end; flex-wrap: wrap; justify-content: flex-end; max-width: 90%; }
.wa__quick.is-on { display: flex; animation: pop .35s cubic-bezier(.34, 1.56, .64, 1); }
.wa__quick span { padding: 6px 10px; border-radius: 16px; background: #fff; color: #008069; font-size: 12px; font-weight: 600; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.wa__input { display: flex; align-items: center; gap: 6px; padding: 6px 7px 12px; background: #F0F2F5; }
.wa__field { flex: 1; padding: 8px 12px; border-radius: 20px; background: #fff; color: #8696A0; font-size: 13px; }
.wa__mic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #00A884; }
.wa__mic svg { width: 17px; height: 17px; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.92); } }
@media (prefers-reduced-motion: reduce) { .phone { animation: none; } .bubble.is-on, .wa__quick.is-on { animation: none; } }

/* ---------- Celular ---------- */
.nav__menu { display: none; }
.menu { position: fixed; inset: 0; z-index: 49; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 96px var(--m) 40px; background: var(--o-900); color: var(--white); }
.menu[hidden] { display: none; }
.menu__links { display: grid; gap: 6px; }
.menu__links a { font-size: clamp(36px, 11vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; text-decoration: none; }
.menu__links em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--o-300); }
.menu__links a:active { color: var(--o-300); }
.menu__cta { align-self: flex-start; --b: var(--o-500); --c: var(--white); }
body.menu-open { overflow: hidden; }
body.menu-open .nav { background: var(--o-900); }
body.menu-open .nav__logo img { filter: invert(1); }
body.menu-open .nav .btn--small { visibility: hidden; }
@media (max-width: 1024px) {
  .nav { gap: 10px; padding: 14px var(--m); }
  .nav__menu { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--surface); color: var(--ink); font: 700 15px/1 var(--font); cursor: pointer; }
  body.menu-open .nav__menu { background: var(--white); }
  .mock__tabs { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; }
  .mock__tabs button { width: 100%; }
  .services__media { aspect-ratio: 16 / 10; }
  .services__list { padding-bottom: 8vh; }
}
@media (max-width: 600px) {
  .nav__logo img { width: 92px; }
  .nav .btn--small { padding: 0 14px; font-size: 14px; }
  .hero { padding-top: 92px; padding-bottom: 24px; }
  .hero__stage { min-height: 42svh; }
  .manifesto { padding: 80px var(--m); }
  .work__head { padding-bottom: 40px; }
  .case { padding: 16px; border-radius: 18px; gap: 18px; }
  .case-track + .case-track { margin-top: 16px; }
  .case__desc { margin: 12px 0 18px; }
  .mock__view { height: 560px; }
  .mock__s { padding: 16px; }
  .services { padding-top: 72px; }
  .services__grid { margin-top: 32px; gap: 24px; }
  .service { padding: 18px 0; }
  .process__grid { margin-top: 28px; }
  .step { padding: 20px 0; }
  .demo { padding-top: 72px; padding-bottom: 72px; gap: 32px; }
  .demo__stage { padding: 0; }
  .about { gap: 32px; }
  .contact__inner { padding-bottom: 72px; }
  .contact__big { font-size: clamp(28px, 8.4vw, 40px); }
  .footer__menu nav { margin-top: 40px; }
}

/* ---------- Celular: pasos que se deslizan, teléfono que entra ---------- */
.mock__tabs { display: none !important; }
.process__swipe { display: none; }
@media (max-width: 1024px) {
  .process__grid { display: flex; flex-direction: column; }
  .process__stage { margin-bottom: 16px; }
  .process__steps { display: flex !important; gap: 12px; margin: 0 calc(var(--m) * -1); padding: 4px var(--m) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--m); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .process__steps::-webkit-scrollbar { display: none; }
  .process__steps .step { flex: 0 0 84%; min-height: 0; padding: 22px 20px; border-radius: 18px; background: var(--white); scroll-snap-align: start; transition: background-color .3s, color .3s; }
  .process__steps .step h3 { font-size: 23px; color: var(--ink); }
  .process__steps .step p { margin-top: 10px; font-size: 16px; color: var(--ink); max-width: none; }
  .process__steps .step.is-active { background: var(--ink); }
  .process__steps .step.is-active h3, .process__steps .step.is-active p { color: var(--white); }
  .process__steps .step.is-active h3 { color: var(--o-300); }
  .process__swipe { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--muted); }
  .process__dots { display: flex; gap: 6px; }
  .process__dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--surface); transition: width .35s var(--ease-out), background-color .3s; }
  .process__dots i.is-on { width: 26px; background: var(--o-500); }
  /* the phone rises in when you reach it */
  .demo__stage { opacity: 0; transform: translateY(70px) scale(.92); transition: opacity .7s, transform 1s cubic-bezier(.16, 1, .3, 1); }
  .demo__stage.is-in { opacity: 1; transform: none; }
}
@media (max-width: 600px) { .mock__view { height: 520px; } }
@media (prefers-reduced-motion: reduce) { .demo__stage { opacity: 1; transform: none; } }
@media (max-width: 1024px) {
  .process__steps { order: 1; }
  .process__swipe { order: 2; margin: 10px 0 18px; }
  .process__stage { order: 3; margin-bottom: 0; }
}
@media (max-width: 700px) {
  .pin--1 { left: 5%; right: auto; bottom: 5%; top: auto; }
  .pin--2 { right: 5%; left: auto; top: 50%; bottom: auto; }
}
@media (max-width: 700px) { .hub__channels .mock__label { grid-column: 1 / -1; } }

/* ---------- Trabajos: videos y animaciones ---------- */
.reel { margin-top: 5vh; padding: clamp(28px, 4vw, 56px); border-radius: 24px; background: var(--o-900); color: var(--white); }
.reel__head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; }
.reel__title { font-size: clamp(36px, 4.4vw, 72px); line-height: .95; letter-spacing: -0.045em; }
.reel__title em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--o-300); }
.reel__head p { max-width: 36ch; color: var(--o-100); }
.reel__track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 36px; }
.clip { position: relative; display: block; padding: 0; border: 0; border-radius: 16px; background: transparent; color: var(--white); cursor: pointer; text-align: left; font: inherit; transition: transform .5s var(--ease-out); }
.clip video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; display: block; border-radius: 16px; background: #2a1a12; transition: transform 1.2s var(--ease-out); }
.clip:hover { transform: translateY(-6px); }
.clip:hover video { transform: scale(1.02); }
.clip__meta { display: grid; gap: 3px; padding: 12px 4px 0; }
.clip__meta b { font-size: 15px; line-height: 1.15; }
.clip__meta small { font-size: 13px; color: var(--o-200); }
.clip__play { position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--o-500); transition: transform .35s var(--ease-out); }
.clip__play svg { width: 18px; height: 18px; margin-left: 2px; }
.clip:hover .clip__play { transform: scale(1.12); }
.viewer { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100dvh; }
.viewer::backdrop { background: rgba(12, 6, 3, .92); }
.viewer[open] { display: grid; place-items: center; }
.viewer video { max-width: 92vw; max-height: 86dvh; border-radius: 18px; background: #000; }
.viewer__close { position: fixed; top: 18px; right: 18px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--white); color: var(--ink); font: 700 15px/1 var(--font); cursor: pointer; }
@media (max-width: 1024px) {
  .reel { padding: 24px 0 24px; border-radius: 18px; }
  .reel__head { padding: 0 20px; }
  .reel__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px; scroll-padding: 0 20px; scrollbar-width: none; }
  .reel__track::-webkit-scrollbar { display: none; }
  .clip { flex: 0 0 62%; scroll-snap-align: start; }
}
@media (min-width: 600px) and (max-width: 1024px) { .clip { flex-basis: 34%; } }
.clip { display: flex; flex-direction: column; justify-content: flex-start; align-self: start; }

@media (max-width: 1024px) { .about__portrait { justify-self: start; max-height: none; } .contact { min-height: 100svh; } }
