/* CHIMICHURRI — Arquitectura & Real Estate
   Sistema: marca CHIMI 2026 (Plus Jakarta Sans, #FF5C00, negro, hueso)
   en clave editorial / arquitectónica. */

:root {
  --black: #0a0a0a;
  --ink: #141414;
  --graphite: #111827;
  --bone: #f3eee6;
  --paper: #faf7f2;
  --white: #ffffff;
  --orange: #ff5c00;
  --orange-2: #ff7a1a;
  --line-dark: rgba(10, 10, 10, .14);
  --line-light: rgba(255, 255, 255, .14);
  --muted-dark: #5d5852;
  --muted-light: #a39d95;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bone); color: var(--black); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; }
em { font-style: normal; color: var(--orange); }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-size: 11px; line-height: 1.5; letter-spacing: .02em; }
.wrap { width: min(var(--max), 100%); margin-inline: auto; padding-inline: var(--gutter); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.skip { position: fixed; left: 12px; top: 12px; transform: translateY(-200%); z-index: 100; padding: 10px 14px; background: var(--orange); color: var(--black); font-weight: 700; text-decoration: none; border-radius: 8px; }
.skip:focus { transform: none; }

.label { font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); display: flex; align-items: center; gap: 12px; }
.label::before { content: ""; width: 28px; height: 1px; background: var(--orange); }
.label--light { color: var(--muted-light); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); border: 1px solid transparent; }
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translate(2px, -2px); }
.btn--solid { background: var(--orange); color: var(--black); }
.btn--solid:hover { background: var(--orange-2); }
.btn--ghost { border-color: rgba(255, 255, 255, .4); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn--light { background: var(--bone); color: var(--black); }
.btn--light:hover { background: var(--white); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #262626; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.text-link { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: 14px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--orange); }

/* Header */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 20px; min-height: 64px; padding: 10px var(--gutter); color: var(--white); transition: background .35s var(--ease), border-color .35s var(--ease); border-bottom: 1px solid transparent; }
.bar.is-solid { background: rgba(10, 10, 10, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line-light); }
.bar__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.bar__brand img { width: 26px; height: auto; }
.bar__brand span { display: grid; line-height: 1.1; }
.bar__brand b { font-size: 14px; font-weight: 800; letter-spacing: .02em; }
.bar__brand small { font: 400 10px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.bar__nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.bar__nav a { padding: 8px 12px; font-size: 13px; font-weight: 600; text-decoration: none; opacity: .82; border-radius: 999px; }
.bar__nav a:hover { opacity: 1; }
.bar__nav .bar__cta { opacity: 1; margin-left: 8px; background: var(--orange); color: var(--black); padding: 9px 16px; }
.bar__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-light); background: transparent; border-radius: 999px; place-items: center; align-content: center; gap: 5px; }
.bar__toggle span:not(.sr) { display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.bar__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.bar__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; color: var(--white); background: var(--black); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 10, .78) 0%, rgba(10, 10, 10, .35) 55%, rgba(10, 10, 10, .1) 100%), linear-gradient(0deg, rgba(10, 10, 10, .85) 0%, rgba(10, 10, 10, 0) 45%); }
.hero__inner { align-self: end; width: min(var(--max), 100%); margin-inline: auto; padding: 120px var(--gutter) 40px; }
.kicker { font: 500 11px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .78); margin-bottom: 22px; }
.kicker span { color: var(--orange); margin-right: 10px; }
.hero h1 { font-size: clamp(42px, 6.3vw, 96px); max-width: 14ch; letter-spacing: -.045em; line-height: .96; }
.nw { white-space: nowrap; }
.pt { margin-left: -.09em; }
.hero h1 em { color: inherit; position: relative; display: inline-block; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .07em; background: var(--orange); transform-origin: left; transform: scaleX(0); animation: underline 1s var(--ease) forwards; }
.hero h1 > em:nth-of-type(1)::after { animation-delay: .25s; }
.hero h1 > em:nth-of-type(2)::after { animation-delay: .5s; }
@keyframes underline { to { transform: scaleX(1); } }
.hero__lead { max-width: 560px; margin: 26px 0 32px; font-size: clamp(16px, 1.5vw, 19px); color: rgba(255, 255, 255, .84); }
.hero__foot { width: min(var(--max), 100%); margin-inline: auto; padding: 18px var(--gutter) 22px; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line-light); color: rgba(255, 255, 255, .62); }

/* Brecha */
.gap { padding: clamp(80px, 12vw, 170px) 0; background: var(--bone); }
.gap__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px var(--gutter); }
.gap .label { grid-column: 1 / -1; }
.gap h2 { grid-column: 1 / span 8; font-size: clamp(32px, 4.4vw, 64px); }
.gap__side { grid-column: 9 / -1; align-self: end; display: grid; gap: 16px; color: var(--muted-dark); border-top: 1px solid var(--line-dark); padding-top: 18px; }
.gap__side p:first-child { color: var(--black); font-weight: 700; font-size: 19px; }

/* Caso */
.case { background: var(--black); color: var(--white); padding: clamp(80px, 10vw, 140px) 0; }
.case__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px var(--gutter); margin-bottom: clamp(40px, 6vw, 72px); }
.case__head .label { grid-column: 1 / -1; }
.case__head h2 { grid-column: 1 / span 7; font-size: clamp(64px, 13vw, 200px); letter-spacing: -.06em; line-height: .85; }
.case__intro { grid-column: 8 / -1; align-self: end; font-size: clamp(17px, 1.6vw, 21px); color: rgba(255, 255, 255, .78); }
.case__steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.case__steps li { border-right: 1px solid var(--line-light); }
.case__steps li:last-child { border-right: 0; }
.case__steps a { display: block; padding: 14px 14px 0 0; text-decoration: none; color: var(--muted-light); transition: color .2s; }
.case__steps li + li a { padding-left: 14px; }
.case__steps a:hover { color: var(--orange); }

.plate { position: relative; background: #151515; overflow: hidden; }
.plate img { width: 100%; height: auto; aspect-ratio: 1672 / 941; object-fit: cover; transition: transform 1.6s var(--ease); }
.plate:hover img { transform: scale(1.02); }
.plate figcaption { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 12px 0 0; color: var(--muted-light); background: var(--black); }
.plate figcaption span { color: var(--orange); }
.plate--full { margin-bottom: clamp(16px, 2vw, 24px); }
.plates { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }

.motion { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px var(--gutter); margin-top: clamp(72px, 9vw, 130px); }
.motion__copy { grid-column: 1 / span 4; display: grid; align-content: start; gap: 18px; }
.motion__copy h3, .pano__copy h3 { font-size: clamp(28px, 3.2vw, 44px); }
.motion__copy p:not(.label), .pano__copy p:not(.label) { color: rgba(255, 255, 255, .72); }
.motion__grid { grid-column: 5 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.clip { position: relative; display: block; padding: 0; border: 0; background: #151515; overflow: hidden; aspect-ratio: 9 / 16; text-align: left; }
.clip--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.clip img, .clip video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .4s; }
.clip:hover img { transform: scale(1.03); }
.clip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .6), transparent 40%); pointer-events: none; }
.clip__tag { position: absolute; left: 14px; bottom: 14px; z-index: 1; color: var(--white); }
.clip__play { position: absolute; right: 14px; bottom: 12px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: var(--black); font-size: 13px; padding-left: 2px; transition: transform .3s var(--ease); }
.clip:hover .clip__play { transform: scale(1.08); }

.pano { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px var(--gutter); margin-top: clamp(72px, 9vw, 130px); }
.pano__copy { grid-column: 1 / span 4; display: grid; align-content: start; gap: 18px; }
.pano__stage { grid-column: 5 / -1; position: relative; aspect-ratio: 16 / 10; background: #111; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.pano__fallback, .pano__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pano__fallback { object-position: 40% 50%; transform: scale(1.35); filter: saturate(.9); }
.pano__canvas { opacity: 0; transition: opacity .6s var(--ease); cursor: grab; }
.pano.is-live .pano__canvas { opacity: 1; }
.pano.is-live .pano__canvas:active { cursor: grabbing; }
.pano__start { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; border: 0; background: rgba(10, 10, 10, .32); color: var(--white); font-weight: 700; font-size: 16px; transition: background .3s; }
.pano__start:hover { background: rgba(10, 10, 10, .18); }
.pano__ring { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); font: 500 15px var(--mono); position: relative; }
.pano__ring::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--orange); border-left-color: transparent; border-bottom-color: transparent; animation: spin 3.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pano.is-live .pano__start { display: none; }
.pano__ui { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: end; gap: 12px; padding: 14px; pointer-events: none; background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent); }
.pano__hint { color: rgba(255, 255, 255, .85); }
.pano__tools { display: flex; gap: 6px; pointer-events: auto; }
.pano__tools button { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(10, 10, 10, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; color: var(--white); }
.pano__tools button:hover { border-color: var(--orange); }
.pano__stage:fullscreen { aspect-ratio: auto; touch-action: none; }
.pano__stage:fullscreen .pano__fallback { display: none; }

.case__web { margin-top: clamp(56px, 7vw, 96px); padding-top: 26px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted-light); }

/* Section heads */
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head h2 { font-size: clamp(36px, 5.4vw, 80px); max-width: 16ch; }
.sec-head__lead { max-width: 560px; color: rgba(255, 255, 255, .72); font-size: 17px; }

/* Servicios */
.services { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper); }
.disc { border-top: 1px solid var(--line-dark); }
.disc__item { display: grid; grid-template-columns: 90px minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px var(--gutter); padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--line-dark); }
.disc__no { font-size: 13px; color: var(--orange); padding-top: 8px; }
.disc__item h3 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 12px; }
.disc__item > div p { color: var(--muted-dark); max-width: 46ch; }
.disc__note { margin-top: 14px; padding-left: 14px; border-left: 2px solid var(--orange); font-size: 14px; }
.disc__item .text-link { margin-top: 18px; }
.disc__item--accent h3 { color: var(--orange); }
.tags { display: flex; flex-wrap: wrap; align-content: start; gap: 8px; }
.tags li { padding: 6px 11px; border: 1px solid var(--line-dark); border-radius: 999px; color: #2c2925; background: rgba(255, 255, 255, .5); }

/* Revalorización */
.refresh { position: relative; padding: clamp(90px, 11vw, 160px) 0; background: var(--ink); color: var(--white); overflow: hidden; }
.refresh::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px); background-size: 88px 88px; opacity: .25; pointer-events: none; mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); }
.refresh .wrap { position: relative; }
.refresh__head { display: grid; gap: 26px; max-width: 1080px; margin-bottom: clamp(48px, 7vw, 90px); }
.refresh__head h2 { font-size: clamp(36px, 5.6vw, 84px); }
.refresh__lead { max-width: 640px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .76); }

.formats { border: 1px solid var(--line-light); padding: clamp(18px, 3vw, 32px); background: rgba(255, 255, 255, .02); }
.formats__title { color: var(--orange); margin-bottom: 22px; text-transform: uppercase; letter-spacing: .12em; }
.formats__grid { display: grid; grid-template-columns: 1.5fr 1.5fr .9fr .62fr 1.25fr; gap: clamp(10px, 1.6vw, 22px); align-items: end; }
.fmt figcaption { margin-top: 10px; color: var(--muted-light); }
.fmt__frame { position: relative; overflow: hidden; background: #222; }
.fmt__frame img { width: 100%; height: 100%; object-fit: cover; }
.fmt--src .fmt__frame { aspect-ratio: 16 / 9; filter: grayscale(.65) contrast(.9) brightness(.85); }
.fmt--web .fmt__frame { aspect-ratio: 16 / 10; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .25); padding-top: 18px; background: #1d1d1d; }
.fmt--web .fmt__frame img { height: 100%; }
.fmt__chrome { position: absolute; top: 6px; left: 8px; display: flex; gap: 4px; }
.fmt__chrome i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.fmt--feed .fmt__frame { aspect-ratio: 4 / 5; }
.fmt--feed img { object-position: 30% 50%; }
.fmt--story .fmt__frame { aspect-ratio: 9 / 16; border-radius: 10px; }
.fmt--story img { object-position: 62% 50%; }
.fmt__frame--move img { animation: drift 14s ease-in-out infinite alternate; transform-origin: 60% 50%; }
@keyframes drift { from { transform: scale(1.05) translateX(0); } to { transform: scale(1.22) translateX(-6%); } }
.fmt--book .fmt__frame { aspect-ratio: 3 / 2; background: var(--bone); padding: 12% 46% 12% 8%; box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1); }
.fmt--book .fmt__frame::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(0, 0, 0, .14); }
.fmt--book .fmt__frame::before { content: ""; position: absolute; right: 8%; top: 18%; width: 30%; height: 3px; background: var(--black); box-shadow: 0 10px 0 rgba(0, 0, 0, .25), 0 18px 0 rgba(0, 0, 0, .25), 0 26px 0 rgba(0, 0, 0, .25); }
.formats__note { margin-top: 18px; color: var(--muted-light); }

.refresh__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(56px, 7vw, 96px); }
.refresh__cols h3 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 22px; }
.checks { display: grid; border-top: 1px solid var(--line-light); }
.checks li { position: relative; padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line-light); color: rgba(255, 255, 255, .84); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 1.5px; background: var(--orange); }
.process { counter-reset: p; display: grid; gap: 16px; margin-bottom: 30px; }
.process li { counter-increment: p; position: relative; padding-left: 40px; color: rgba(255, 255, 255, .76); }
.process li::before { content: "0" counter(p); position: absolute; left: 0; top: 0; font: 500 12px/1.9 var(--mono); color: var(--orange); }
.process b { color: var(--white); }
.refresh__punch { font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 28px; max-width: 18ch; }

/* Oficio */
.craft { padding: clamp(80px, 10vw, 140px) 0; background: var(--bone); }
.craft__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.craft__media video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #111; }
.craft__media p { margin-top: 10px; color: var(--muted-dark); }
.craft__copy { display: grid; gap: 20px; }
.craft__copy h2 { font-size: clamp(36px, 4.6vw, 68px); }
.craft__copy > p:not(.label) { color: var(--muted-dark); font-size: 17px; }
.craft__brands { padding: 14px 0; border-block: 1px solid var(--line-dark); color: var(--black) !important; font-size: 12px !important; }
.craft__punch { font-size: clamp(20px, 2vw, 26px) !important; font-weight: 800; letter-spacing: -.02em; color: var(--black) !important; line-height: 1.2; }

/* Webs */
.webs { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper); }
.sites { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(28px, 4vw, 48px) clamp(16px, 2vw, 28px); }
.site { grid-column: span 2; display: grid; gap: 18px; align-content: start; }
.site--lead { grid-column: span 3; }
.site__shot { display: block; overflow: hidden; border-radius: 10px; border: 1px solid var(--line-dark); background: #ddd6cc; box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .35); }
.site__shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.site__shot:hover img { transform: scale(1.03); }
.site__info { display: grid; gap: 8px; }
.site__info .mono { color: var(--orange); text-transform: uppercase; letter-spacing: .12em; }
.site__info h3 { font-size: clamp(20px, 1.8vw, 26px); }
.site__info > p:not(.mono) { color: var(--muted-dark); font-size: 15px; }
.site__info .text-link { justify-self: start; margin-top: 4px; }
.site__links { display: flex; gap: 20px; flex-wrap: wrap; }

/* Marca */
.brand { padding: clamp(80px, 10vw, 140px) 0; background: var(--black); color: var(--white); }
.manual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(24px, 4vw, 56px); }
.manual__info { display: grid; gap: 14px; align-content: start; position: sticky; top: 96px; }
.manual__info .mono { color: var(--orange); text-transform: uppercase; letter-spacing: .12em; }
.manual__info h3 { font-size: clamp(26px, 2.8vw, 38px); }
.manual__info p:not(.mono) { color: rgba(255, 255, 255, .72); }
.manual__spreads { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 18px); }
.spread { overflow: hidden; background: #1a1a1a; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.spread img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s var(--ease); }
.spread:hover img { transform: scale(1.025); }
.spread--cover { grid-column: 1 / -1; }

/* Modelo */
.model { padding: clamp(80px, 10vw, 140px) 0; background: var(--bone); }
.model__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.model h2 { font-size: clamp(36px, 4.8vw, 72px); margin: 22px 0 24px; }
.model__lead { color: var(--muted-dark); font-size: 17px; max-width: 52ch; }
.entry { border-top: 1px solid var(--line-dark); }
.entry li { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: clamp(18px, 1.8vw, 24px); font-weight: 700; letter-spacing: -.02em; transition: padding .3s var(--ease), color .3s; }
.entry li:hover { padding-left: 8px; }
.entry .mono { color: var(--orange); font-weight: 500; }
.entry__all { color: var(--orange); }

/* Final */
.final { position: relative; padding: clamp(110px, 14vw, 200px) 0; background: var(--black); color: var(--white); overflow: hidden; isolation: isolate; }
.final__media { position: absolute; inset: 0; z-index: -1; }
.final__media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.final__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 10, .9), rgba(10, 10, 10, .45)); }
.final__inner { display: grid; gap: 26px; }
.final h2 { font-size: clamp(40px, 6.4vw, 100px); max-width: 15ch; letter-spacing: -.05em; }
.final__inner > p:not(.mono) { font-size: clamp(17px, 1.6vw, 21px); color: rgba(255, 255, 255, .8); max-width: 560px; }
.final__alt { color: var(--muted-light); }

.foot { background: var(--black); color: var(--white); border-top: 1px solid var(--line-light); }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-block: 28px calc(28px + env(safe-area-inset-bottom)); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; }
.foot nav a { text-decoration: none; opacity: .75; }
.foot nav a:hover { opacity: 1; color: var(--orange); }

/* Player */
.player { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.player::backdrop { background: rgba(5, 5, 5, .9); }
.player video { width: 100%; max-height: 86vh; background: #000; }
.player__close { position: absolute; top: -50px; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: var(--white); font-size: 24px; line-height: 1; }
.player.is-vertical { width: min(420px, 92vw); }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .bar__nav a:not(.bar__cta) { padding: 8px 8px; font-size: 12px; }
  .formats__grid { grid-template-columns: repeat(6, 1fr); }
  .fmt--src, .fmt--web { grid-column: span 3; }
  .fmt--feed, .fmt--story, .fmt--book { grid-column: span 2; }
}

@media (max-width: 900px) {
  .bar__toggle { display: grid; }
  .bar__nav { position: fixed; inset: 64px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: rgba(10, 10, 10, .97); border-bottom: 1px solid var(--line-light); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
  .bar.is-open { background: rgba(10, 10, 10, .97); }
  .bar.is-open .bar__nav { opacity: 1; visibility: visible; transform: none; }
  .bar__nav a, .bar__nav a:not(.bar__cta) { padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--line-light); border-radius: 0; }
  .bar__nav .bar__cta { margin: 18px 0 0; text-align: center; border-radius: 999px; padding: 15px; border: 0; }

  .gap h2, .gap__side { grid-column: 1 / -1; }
  .case__head h2, .case__intro { grid-column: 1 / -1; }
  .case__steps { grid-template-columns: 1fr 1fr; }
  .case__steps li:nth-child(2) { border-right: 0; }
  .case__steps li:nth-child(3) a { padding-left: 0; }
  .case__steps a { padding-bottom: 12px; }
  .motion__copy, .motion__grid, .pano__copy, .pano__stage { grid-column: 1 / -1; }
  .pano__stage { aspect-ratio: 4 / 5; }
  .disc__item { grid-template-columns: 1fr; gap: 14px; }
  .disc__no { padding: 0; }
  .refresh__cols, .craft__grid, .model__grid, .manual { grid-template-columns: 1fr; }
  .manual__info { position: static; }
  .sites { grid-template-columns: 1fr 1fr; }
  .site, .site--lead { grid-column: span 1; }
  .site--lead { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .hero__inner { padding-bottom: 28px; }
  .hero h1 { font-size: clamp(40px, 12.2vw, 60px); }
  .hero__foot { flex-direction: column; gap: 4px; }
  .hero__media img, .hero__media video { object-position: 70% 50%; }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
  .plates { grid-template-columns: 1fr; }
  .motion__grid { gap: 10px; }
  .clip__tag { left: 10px; bottom: 10px; right: 58px; font-size: 10px; }
  .clip__play { width: 38px; height: 38px; right: 10px; bottom: 10px; }
  .pano__ui { flex-direction: column; align-items: stretch; }
  .pano__hint { display: none; }
  .pano__tools { justify-content: flex-end; }
  .formats__grid { grid-template-columns: repeat(2, 1fr); }
  .fmt--src, .fmt--web, .fmt--book { grid-column: 1 / -1; }
  .fmt--feed, .fmt--story { grid-column: span 1; }
  .fmt--story .fmt__frame { width: 72%; margin-inline: auto; }
  .sites { grid-template-columns: 1fr; }
  .site, .site--lead { grid-column: 1 / -1; }
  .manual__spreads { grid-template-columns: 1fr; }
  .case__web .actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
