/* CLAPSHOT on CHANDRA (27 Nov 2026): Danny's CHANDRA layout and motion, dressed with the brand manual v2.0 and the rules
   measured on apple.com/iphone-18-pro (herramientas/calco/APPLE.md). style.css is untouched; this file wins.
   - Dark only: black stage, graphite #1C1C1E for every other section, no lines between them.
   - Geist (OFL) in two weights, 600 and 400. Never SF outside the app.
   - Three sizes per section: eyebrow 21, headline 96 (64 tablet, 40 phone), text 17-21.
   - One blue #0A84FF, only for what is pressed. Pills of radius 980.
   - 144 px of air per section (112 on a phone), side margins 90 px at 1440 and 24 px at 390. */
@font-face { font-family: "Geist"; src: url("letra/Geist%5Bwght%5D.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #000000;
  --ink: #F5F5F7;
  --grey: #86868B;
  --grey-2: #6E6E73;
  --card: #1C1C1E;
  --graphite: #1C1C1E;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #0A84FF;
  --accent-hover: #0077ED;
  --white: #F5F5F7;
  --blue: #1C1C1E;
  --lilac: #1C1C1E;
  --mint: #0A84FF;
  --cream: #1C1C1E;
  --gutter: clamp(24px, 6.25vw, 90px);
  --section-y: 144px;
  --contain-gap: 64px;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
body { font-size: 17px; line-height: 1.47; letter-spacing: -0.012em; -webkit-font-smoothing: antialiased; }
a:focus-visible, button:focus-visible { outline-color: var(--accent); }
b { font-weight: 600; color: #fff; }

/* sections alternate black and graphite; the change of ground is the only divider */
.services, .gong { background: var(--graphite); }
.section-contain { max-width: 1440px; margin-inline: auto; }

/* type: eyebrow, headline, text */
.ante { font-size: 21px; line-height: 1.19; font-weight: 600; letter-spacing: 0.011em; color: var(--grey-2); margin-bottom: 14px; }
.title-section { font-size: 96px; line-height: 1.04; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.section-header { align-items: flex-end; }
.statement { font-size: 48px; line-height: 1.08; font-weight: 600; letter-spacing: -0.003em; max-width: 980px; }
.heading-6 { font-size: 28px; line-height: 1.14; font-weight: 600; letter-spacing: 0.007em; }
.p-medium { font-size: 21px; line-height: 1.38; font-weight: 600; letter-spacing: 0.011em; }
.text-grey { color: var(--grey); }
.text-grey b, .gong-text b { color: #fff; }
.p-large { font-weight: 600; }

/* links: blue, never underlined, with a chevron like Apple's */
.button-link { color: var(--accent); text-decoration: none; font-size: 17px; font-weight: 400; letter-spacing: -0.022em; }
.button-link::after { content: " ›"; }
.button-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* loader: black, the name in white */
.loader { background: var(--bg); color: var(--ink); }
.loader-logo { font-weight: 600; text-transform: none; letter-spacing: -0.02em; }

/* local nav: 52 px, frosted black once past the hero */
.navbar .brand, .navbar .brand-mark, .nav-links a { color: var(--ink); }
.brand { gap: 9px; font-size: 21px; letter-spacing: 0.011em; }
.brand-mark { width: 22px; height: 22px; object-fit: contain; }
.nav-solid .navbar { background: rgba(0, 0, 0, 0.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.nav-links a { font-size: 12px; letter-spacing: -0.01em; opacity: 0.85; }
.nav-links a:hover { opacity: 1; color: var(--accent); }
.menu-panel { background: var(--bg); color: var(--ink); }
.menu-link { font-weight: 600; letter-spacing: -0.015em; }
.menu-line { background: var(--ink); }

/* one blue pill for the one action */
.contact-float, .hero-write, .pill-dark, .button-primary { background: var(--accent); color: #fff; box-shadow: none; border-radius: 980px; font-weight: 400; text-transform: none; letter-spacing: -0.022em; }
.contact-float:hover, .contact-float:focus-visible, .hero-write:hover, .hero-write:focus-visible,
.pill-dark:hover, .pill-dark:focus-visible, .button-primary:hover, .button-primary:focus-visible { background: var(--accent-hover); color: #fff; box-shadow: none; }
.pill-line { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(245, 245, 247, 0.4); border-radius: 980px; font-weight: 400; }
.pill-line:hover, .pill-line:focus-visible { background: rgba(245, 245, 247, 0.12); color: var(--ink); }
.button-primary { display: inline-flex; align-items: center; height: 48px; padding: 0 26px; font-size: 17px; }

/* hero: the picture leads, the name a small spaced line over its dark side */
.hero-words { color: var(--ink); left: var(--gutter); }
.hero-line { font-weight: 600; }
.hero-by { font-size: 17px; color: rgba(245, 245, 247, 0.86); }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-more { color: var(--ink); font-size: 17px; }
.hero-more::after { content: " ›"; }
.hero-more:hover { color: var(--accent); }
.hero .giro-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 45%), linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 30%); }
.hero-words { z-index: 2; }

/* the four doors: pills over the picture, graphite glass, the chosen one white */
.house-pills button { background: rgba(28, 28, 30, 0.62); box-shadow: inset 0 0 0 1px rgba(245, 245, 247, 0.22); color: var(--ink); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.house-pills button:hover, .house-pills button[aria-selected="true"] { background: var(--ink); color: #000; }
.house-stage, .about-image, .work-media, .gong-card { border-radius: 28px; }

/* figures over pictures: a neutral veil, not burgundy */
.stat::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.78)); }
.stat-n { font-weight: 600; letter-spacing: -0.015em; }
.stat .p-medium { color: var(--ink); }
.about-image::after { display: none; }

/* who it's for */
.gong-lead { font-weight: 600; letter-spacing: -0.003em; }
.gong-list a { color: var(--accent); }
.gong-list a::after { content: " ›"; }

/* your first Reel */
.latest-tag { color: var(--grey-2); font-size: 21px; font-weight: 600; letter-spacing: 0.011em; text-transform: none; }
.latest-title { font-weight: 600; letter-spacing: -0.015em; }

/* the closing scene: "Clap [picture] shot", then the picture opens to the whole screen */
.cta-word { font-weight: 600; text-transform: none; letter-spacing: -0.02em; color: var(--ink); }
.cta-overlay { background: rgba(0, 0, 0, 0.55); }
.cta-title { font-size: 80px; line-height: 1.05; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 12px; }
.cta-sub { font-size: 21px; line-height: 1.38; font-weight: 600; color: rgba(245, 245, 247, 0.86); margin-bottom: 28px; }
.cta-social { margin-top: 28px; }
.cta-social img { filter: none; }

@media (max-width: 1068px) {
  .title-section { font-size: 64px; line-height: 1.06; letter-spacing: -0.009em; }
  .statement { font-size: 40px; }
  .cta-title { font-size: 64px; }
}
@media (max-width: 767px) {
  :root { --section-y: 112px; --contain-gap: 40px; }
  body { font-size: 14px; line-height: 1.29; letter-spacing: -0.016em; }
  .title-section, .statement, .cta-title { font-size: 40px; line-height: 1.1; letter-spacing: 0; }
  .ante, .latest-tag { font-size: 19px; }
  .p-medium { font-size: 19px; line-height: 1.42; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .hero-words { left: 24px; right: 24px; }
  .hero .giro-frame::after { background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0) 55%); }
  .cta-sub { font-size: 17px; }
}

/* fixes after the first look (27 Nov) */
.cta-text, .cta-title { color: var(--ink); }
.nav-links a { text-transform: none; }
.gong-list a::after { content: none; }
@media (max-width: 767px) {
  .house-pills { flex-wrap: wrap; gap: 8px; }
  .house-pills button { padding: 0 14px; font-size: 14px; height: 38px; }
}

/* ===================== ROUND 2 (27 Nov): Apple's pieces where they win ===================== */
/* Grounds, top to bottom: hero #000 · statement #000 · highlights #1C1C1E · clips to Reel #000 · what it does #1C1C1E
   · why it works #000 with #1C1C1E tiles · closing scene #1C1C1E. The change of ground is the only divider.
   Colour lives inside pictures and screens. No drop shadow anywhere: the phone sits on black, the tiles are flat.
   Blue only on what is pressed. Buttons in Apple's three sizes: 12/28 in the bar, 14/36 in the page, 17/44 at the close. */
.highlights { background: var(--graphite); }
.cta-wrapper { background: var(--graphite); }
.house-pills button { box-shadow: none; }
.service-card, .latest { box-shadow: none; }

/* buttons: three sizes, one blue */
.hero-write, .pill-dark, .button-primary, .nav-get {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 980px; background: var(--accent); color: #fff;
  font-weight: 400; text-transform: none; white-space: nowrap; box-shadow: none; transition: background-color 0.2s var(--ease);
}
.nav-get { height: 28px; padding: 0 10px; font-size: 12px; line-height: 1.33; letter-spacing: -0.01em; }          /* bar */
.hero-write, .pill-dark { height: 36px; padding: 0 15px; font-size: 14px; line-height: 1.29; letter-spacing: -0.016em; } /* page */
.button-primary { height: 44px; padding: 0 21px; font-size: 17px; letter-spacing: -0.022em; }                    /* close */
.nav-get:hover, .nav-get:focus-visible { background: var(--accent-hover); color: #fff; }
.hero-more, .button-link { font-size: 17px; }

/* main nav: the one we had, at the top of the page, scrolling away with the hero (Apple's global nav does the same) */
.mainnav { position: absolute; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; gap: 40px; }
.mainnav.is-hidden { transform: none; }
.nav-solid .mainnav { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.mainnav .brand { margin-right: auto; }
.mainnav .nav-links { gap: 36px; }
@media (max-width: 991px) { .mainnav .mainnav-get { display: none; } }

/* the floating bar (apple.com/iphone-18-pro, 27 Nov): it appears only once the main nav is out of sight. 52 px, at most
   1024 wide, radius 18, frosted near-black with a 1 px ring, 10 px from the top. On a phone it fills the width, square. */
.franja {
  position: fixed; z-index: 105; top: 10px; left: 50%; width: min(1024px, calc(100% - 2 * var(--gutter))); height: 52px;
  display: flex; align-items: center; gap: 24px; padding: 0 20px; border-radius: 18px;
  background: rgba(18, 18, 18, 0.8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0 0 1px #282828;
  opacity: 0; visibility: hidden; transform: translate(-50%, -12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.franja.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s; }
.franja .brand { font-size: 19px; line-height: 1; letter-spacing: 0.012em; gap: 8px; margin-right: auto; color: var(--ink); }
.franja .brand-mark { width: 20px; height: 20px; }
.franja-links { display: flex; gap: 24px; }
.franja-links a { font-size: 12px; line-height: 1.33; letter-spacing: -0.01em; color: var(--ink); opacity: 0.8; }
.franja-links a:hover { opacity: 1; }
.is-menu-open .franja { opacity: 0; visibility: hidden; }
@media (max-width: 767px) {
  .franja { top: 0; width: 100%; border-radius: 0; padding: 0 16px; box-shadow: none; transform: translate(-50%, -100%); }
  .franja.is-on { transform: translate(-50%, 0); }
  .franja-links { display: none; }
}
.menu-head { height: 64px; }
.menu-link { font-size: 40px; }

/* ---------- the hero: the campaign picture shrinks into the screen of an iPhone ---------- */
.hero.apertura { height: 260vh; padding: 0; aspect-ratio: auto; background: #000; }
.ap-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.ap-full { position: absolute; inset: 0; z-index: 2; transform-origin: 0 0; will-change: transform, clip-path; }
.ap-full picture, .ap-full img { display: block; width: 100%; height: 100%; }
.ap-full img { object-fit: cover; object-position: 50% 35%; }
.ap-full::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 38%); opacity: var(--veil, 1); }
.apertura .hero-words { position: absolute; z-index: 3; left: 0; right: 0; top: auto; bottom: clamp(40px, 8vh, 80px); display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.apertura .hero-by { margin: 0; font-size: 21px; line-height: 1.19; font-weight: 600; letter-spacing: 0.011em; color: var(--ink); }
.apertura .hero-actions { justify-content: center; }
.ap-final { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); top: 84px; text-align: center; opacity: 0; }
.ap-name { font-size: 32px; line-height: 1.125; font-weight: 600; letter-spacing: 0.004em; color: var(--ink); }
.ap-frase { margin-top: 6px; font-size: 80px; line-height: 1.05; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.ap-device { position: absolute; z-index: 1; left: 0; right: 0; bottom: 92px; margin-inline: auto; height: calc(100svh - 336px); min-height: 280px; width: auto; }
.ap-pie { position: absolute; z-index: 3; left: 0; right: 0; bottom: 30px; display: flex; justify-content: center; align-items: center; gap: 16px; opacity: 0; }
.ap-dato { font-size: 14px; line-height: 1.29; letter-spacing: -0.016em; color: var(--grey); }
.apertura .iphone-island { z-index: 4; opacity: 0; }
.no-js .ap-device, .no-js .ap-final, .no-js .ap-pie { display: none; }
@media (max-width: 1068px) { .ap-frase { font-size: 64px; } }
@media (max-width: 767px) {
  .ap-final { top: 70px; }
  .ap-name { font-size: 21px; }
  .ap-frase { font-size: 40px; line-height: 1.1; letter-spacing: 0; }
  .ap-device { bottom: 84px; height: calc(100svh - 296px); }
}

/* the iPhone in CSS: a titanium edge, a black bezel, the screen and the island. No shadow, no box. */
.iphone { aspect-ratio: 0.479; }
.iphone-body { position: relative; width: 100%; height: 100%; border-radius: 15.5% / 7.4%; background: linear-gradient(140deg, #9a9aa0, #3c3c40 22%, #75757b 48%, #2c2c2f 74%, #8e8e93); }
.iphone-body::before { content: ""; position: absolute; inset: 0.55% 1.15%; border-radius: 15% / 7.15%; background: #000; }
.iphone-screen { position: absolute; inset: 2.1% 4.4%; overflow: hidden; border-radius: 12% / 5.75%; background: #0b0b0c; }
.iphone-island { position: absolute; left: 50%; top: 3.6%; width: 30%; height: 4.3%; transform: translateX(-50%); border-radius: 980px; background: #000; }

/* ---------- clips to Reel, scrubbed by the scroll ---------- */
.reel { position: relative; height: 320vh; background: #000; }
.reel-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 64px; max-width: 1440px; margin-inline: auto; padding: 72px var(--gutter) 0; }
.reel .title-section { font-size: 64px; line-height: 1.06; letter-spacing: -0.009em; }
.reel-pasos { margin-top: 44px; display: grid; gap: 22px; list-style: none; padding: 0; counter-reset: paso; }
.reel-pasos li { font-size: 21px; line-height: 1.38; font-weight: 600; letter-spacing: 0.011em; color: var(--grey-2); transition: color 0.4s var(--ease); max-width: 440px; }
.reel-pasos li b { color: inherit; }
.reel-pasos li.is-on { color: var(--grey); }
.reel-pasos li.is-on b { color: #fff; }
.reel-stage { position: relative; height: min(80svh, 740px); }
.reel-clip { position: absolute; left: var(--x); top: var(--y); width: 21%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; transform: rotate(var(--r)); filter: saturate(0.3) brightness(0.72); will-change: transform, opacity; }
.reel-clip img { width: 100%; height: 100%; object-fit: cover; }
.reel-phone { position: absolute; left: 0; right: 0; top: 50%; margin-inline: auto; height: 86%; width: auto; transform: translateY(-50%); }
.reel-phone .iphone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.reel-titulo { position: absolute; left: 9%; right: 9%; bottom: 9%; color: #fff; opacity: 0; }
.reel-titulo span { display: block; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
.reel-titulo small { display: block; margin-top: 6px; font-size: 12px; letter-spacing: 0.01em; color: rgba(245, 245, 247, 0.8); }
.reel-phone .iphone-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 40%); opacity: var(--tv, 0); pointer-events: none; }
@media (max-width: 1068px) {
  .reel-sticky { gap: 32px; }
  .reel .title-section { font-size: 48px; }
  .reel-pasos li { font-size: 19px; }
}
@media (max-width: 767px) {
  .reel { height: 300vh; }
  .reel-sticky { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-items: start; gap: 12px; padding: 76px 24px 20px; }
  .reel .ante { margin-bottom: 6px; }
  .reel .title-section { font-size: 32px; line-height: 1.125; }
  .reel-pasos { margin-top: 14px; gap: 0; }
  .reel-pasos li { display: none; font-size: 17px; line-height: 1.35; }
  .reel-pasos li.is-on { display: block; }
  .reel-stage { height: 100%; }
  .reel-clip { width: 24%; border-radius: 10px; }
}

/* ---------- highlights: big cards in a row, dots and play/pause underneath ---------- */
.title-section.is-48 { font-size: 48px; line-height: 1.08; letter-spacing: -0.003em; }
.highlights .section-contain { gap: 40px; }
.hl-track { --hl-w: min(calc(100vw - 2 * var(--gutter)), 1120px); display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: calc((100vw - var(--hl-w)) / 2); margin-top: 40px; outline: none; }
.hl-track::-webkit-scrollbar { display: none; }
.hl-card { position: relative; flex: none; width: var(--hl-w); aspect-ratio: 16 / 9; margin: 0; border-radius: 28px; overflow: hidden; background: #000; scroll-snap-align: center; }
.hl-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 6s linear, opacity 0.6s var(--ease); opacity: 0.55; }
.hl-card.is-on img { transform: scale(1.06); opacity: 1; }
.hl-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 42%); }
.hl-card figcaption { position: absolute; z-index: 1; left: 44px; top: 40px; max-width: 470px; font-size: 28px; line-height: 1.14; font-weight: 600; letter-spacing: 0.007em; color: rgba(245, 245, 247, 0.72); }
.hl-card figcaption b { color: #fff; }
.hl-controls { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 30px; }
.hl-dots { display: flex; align-items: center; gap: 14px; height: 56px; padding: 0 24px; border-radius: 980px; background: rgba(66, 66, 69, 0.72); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.hl-dots button { width: 8px; height: 8px; padding: 0; border-radius: 980px; background: rgba(245, 245, 247, 0.42); transition: width 0.4s var(--ease), background-color 0.4s var(--ease); }
.hl-dots button[aria-selected="true"] { width: 48px; background: var(--ink); }
.hl-dots button:hover { background: rgba(245, 245, 247, 0.7); }
.hl-play { position: relative; width: 56px; height: 56px; border-radius: 980px; background: rgba(66, 66, 69, 0.72); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.hl-icon { position: absolute; inset: 0; margin: auto; width: 14px; height: 16px; }
.hl-play[aria-pressed="true"] .hl-icon { background: linear-gradient(90deg, var(--ink) 0 35%, transparent 35% 65%, var(--ink) 65%); }
.hl-play[aria-pressed="false"] .hl-icon { left: 3px; background: var(--ink); clip-path: polygon(0 0, 100% 50%, 0 100%); }
@media (max-width: 767px) {
  .title-section.is-48 { font-size: 32px; line-height: 1.125; }
  .hl-track { gap: 12px; }
  .hl-card { aspect-ratio: 3 / 4; border-radius: 22px; }
  .hl-card figcaption { left: 24px; right: 24px; top: 26px; font-size: 21px; line-height: 1.19; }
  .hl-dots { height: 44px; padding: 0 18px; gap: 10px; }
  .hl-dots button[aria-selected="true"] { width: 32px; }
  .hl-play { width: 44px; height: 44px; }
}

/* ---------- bento: graphite tiles on black, one big thing each ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(300px, auto); gap: 20px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 300px; padding: 40px; border-radius: 28px; background: var(--graphite); overflow: hidden; }
.tile-n { font-size: 80px; line-height: 1; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.tile-txt { position: relative; z-index: 1; font-size: 21px; line-height: 1.24; font-weight: 600; letter-spacing: 0.011em; color: var(--grey); }
.tile-txt b { color: #fff; }
.tile-foto { grid-column: span 2; grid-row: span 2; justify-content: flex-end; }
.tile-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 45%); }
.tile-foto .tile-txt { font-size: 28px; line-height: 1.14; color: rgba(245, 245, 247, 0.78); max-width: 420px; }
.tile-ancha { grid-column: span 2; }
@media (max-width: 1068px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-foto { grid-row: span 1; aspect-ratio: 16 / 10; }
  .tile-n { font-size: 64px; }
}
@media (max-width: 767px) {
  .bento { grid-template-columns: 1fr; gap: 12px; grid-auto-rows: auto; }
  .tile, .tile-foto, .tile-ancha { grid-column: auto; min-height: 220px; padding: 28px; border-radius: 22px; }
  .tile-foto { aspect-ratio: 4 / 5; }
  .tile-n { font-size: 48px; }
  .tile-txt, .tile-foto .tile-txt { font-size: 19px; }
}

/* reduced motion and the static fallback: the end frames, no scrubbing */
.is-still .hero.apertura, .is-still .reel { height: auto; }
.is-still .ap-sticky, .is-still .reel-sticky { position: relative; }
.apertura { --fx: 0.66; }
@media (max-width: 767px) { .apertura { --fx: 0.5; } }
.mainnav .nav-links a { white-space: nowrap; }
@media (max-width: 1068px) { .mainnav .nav-links { gap: 28px; } }

/* the floating bar carries only the essentials, like Apple's: the name, Explore and Get */
.franja { gap: 20px; }
.franja-explore { padding: 0; background: none; border: 0; font: inherit; font-size: 12px; line-height: 1.33; letter-spacing: -0.01em; color: var(--ink); opacity: 0.8; cursor: pointer; }
.franja-explore:hover, .franja-explore:focus-visible { opacity: 1; }

/* ---------- hero, round 3: the raw clip comes out directed (look, cuts on the beat, music, title) ---------- */
.ap-full picture { position: absolute; inset: 0; }
.ap-oropel { opacity: var(--grade, 0); }
.ap-valor { margin: 14px auto 0; max-width: 640px; font-size: 21px; line-height: 1.38; font-weight: 600; letter-spacing: 0.011em; color: var(--grey); }
.ap-valor b { color: #fff; }
.ap-device { bottom: 92px; height: calc(100svh - 380px); }
.ap-reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.0); }
.ap-reel img.is-on { opacity: 1; animation: ap-punch var(--cut, 1.2s) cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes ap-punch { from { transform: scale(1.07); } to { transform: scale(1); } }
.ap-reel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 38%); }
.ap-titulo { position: absolute; z-index: 1; left: 9%; right: 9%; bottom: 10%; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity 0.35s var(--ease), transform 0.5s var(--ease); }
.ap-titulo.is-on { opacity: 1; transform: none; }
.ap-titulo span { display: block; font-size: clamp(18px, 1.7vw, 26px); line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
.ap-titulo small { display: block; margin-top: 5px; font-size: 11px; letter-spacing: 0.02em; color: rgba(245, 245, 247, 0.8); }
.ap-barra { position: absolute; z-index: 1; left: 9%; right: 9%; bottom: 5%; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.ap-barra i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(var(--pos, 0)); }
.ap-sonido { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 980px; background: rgba(66, 66, 69, 0.72); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: var(--ink); transition: background-color 0.2s var(--ease); }
.ap-sonido:hover, .ap-sonido:focus-visible { background: rgba(88, 88, 92, 0.85); }
.ap-sonido svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ap-sonido .spk { fill: currentColor; stroke: none; }
.ap-sonido[aria-pressed="true"] .off, .ap-sonido[aria-pressed="false"] .on { display: none; }
@media (max-width: 1068px) { .ap-valor { font-size: 19px; } }
@media (max-width: 767px) {
  .ap-valor { font-size: 17px; line-height: 1.35; margin-top: 10px; }
  .ap-device { height: calc(100svh - 360px); }
  .apertura .hero-by { font-size: 19px; }
}

/* the statement fills as it climbs and is complete when it reaches the middle of the screen; it gets a screen of its own */
.intro { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: 0; }
.intro .section-contain { width: 100%; }

/* ---------- round 4 (27 Nov 2026): Roshni's own clips. The hero and the Reel are video now ---------- */
.ap-full video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.ap-reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.0); }
.ap-reel video.is-on { opacity: 1; animation: ap-punch var(--cut, 1.2s) cubic-bezier(0.2, 0.7, 0.2, 1) both; }
/* Roshni stands just left of the middle of her clip: the phone closes on her face */
.apertura { --fx: 0.44; }
@media (max-width: 767px) { .apertura { --fx: 0.46; } }
/* where each of Roshni's pictures keeps its subject inside a crop */
.hl-card img[src$="f4.jpg"] { object-position: 50% 88%; }
.hl-card img[src$="c6.jpg"] { object-position: 50% 12%; }
.hl-card img[src$="f6.jpg"] { object-position: 50% 62%; }
.hl-card img[src$="c4.jpg"] { object-position: 50% 30%; }
.hl-card img[src$="c1.jpg"] { object-position: 50% 40%; }
.house-pic img[src$="f7.jpg"], .house-pic img[src$="f3.jpg"] { object-position: 50% 28%; }
.house-pic img[src$="f8.jpg"], .house-pic img[src$="f9.jpg"] { object-position: 50% 22%; }
.cta-image[src$="f2.jpg"] { object-position: 50% 30%; }

/* ---------- round 5: every promise is shown on film, in the phone, in its vertical format (Apple: the card stays wide,
   the device carries the vertical picture; each film plays once when its card comes up, then the row moves on) ---------- */
.hl-escena { background: radial-gradient(120% 90% at 72% 60%, #1d1d1f 0%, #000 62%); }
.hl-escena::after { display: none; }
.hl-phone { position: absolute; top: 7%; bottom: 7%; right: 12%; height: 86%; width: auto; }
.hl-phone .iphone-screen video, .house-phone .iphone-screen video, .house-phone .iphone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hl-escena figcaption { top: auto; bottom: 48px; max-width: 400px; }
.hl-titulo { position: absolute; z-index: 1; left: 9%; right: 9%; bottom: 11%; color: #fff; opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); }
.hl-titulo.is-on { opacity: 1; transform: none; }
.hl-titulo span { display: block; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.05; font-weight: 600; letter-spacing: -0.015em; }
.hl-titulo small { display: block; margin-top: 6px; font-size: 11px; letter-spacing: 0.02em; color: rgba(245, 245, 247, 0.8); }
.house-stage::after { display: none; }
.house-escena { position: absolute; inset: 0; background: radial-gradient(90% 100% at 50% 70%, #1d1d1f 0%, #000 70%); }
.house-phone { position: absolute; left: 0; right: 0; margin-inline: auto; top: 8%; height: 92%; width: auto; }
.house-phone .iphone-body { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
@media (max-width: 767px) {
  .hl-phone { top: auto; bottom: 5%; right: 0; left: 0; margin-inline: auto; height: 64%; }
  .hl-escena figcaption { top: 26px; bottom: auto; }
  .hl-escena { background: radial-gradient(120% 80% at 50% 80%, #1d1d1f 0%, #000 65%); }
  .house-phone { top: 9%; height: 91%; }
}
.hl-phone .iphone-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 36%); }
.hl-titulo { z-index: 2; }
/* the card, its dots and its button fit in one screen, as on apple.com */
@media (min-width: 768px) { .hl-track { --hl-w: min(calc(100vw - 2 * var(--gutter)), 1120px, calc((100svh - 330px) * 16 / 9)); } }
@media (max-width: 767px) { .house-phone { top: 6%; height: 66%; } .house-phone .iphone-body { border-radius: 15.5% / 7.4%; } }

/* ---------- sound: one plain play / pause icon in the floating bar ---------- */
.franja-sound { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 980px; background: none; color: var(--ink); opacity: 0.8; cursor: pointer; }
.franja-sound:hover, .franja-sound:focus-visible { opacity: 1; background: rgba(255, 255, 255, 0.08); }
.franja-sound svg { width: 14px; height: 14px; fill: currentColor; }
.franja-sound[aria-pressed="true"] .play, .franja-sound[aria-pressed="false"] .pause { display: none; }

/* ---------- Round 6 (27 Nov 2026): the scroll moves everything; each film plays its own sound ---------- */
/* Clips to campaign: once the clips are in, the finished Reel plays on the phone, cut to one clip's own song */
.reel-phone .iphone-screen .reel-final { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.is-still .reel-phone .iphone-screen .reel-final { opacity: 1; }
.reel-titulo { z-index: 2; }

/* Highlights: one screen that stays while the scroll slides the cards across */
.highlights.hl-scroll { padding-block: 0; height: calc(100svh + (var(--n, 4) - 1) * 90svh); }
.highlights.hl-scroll .hl-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.highlights.hl-scroll .hl-track { overflow: visible; scroll-snap-type: none; will-change: transform; }
.hl-dots span { display: block; width: 8px; height: 8px; border-radius: 980px; background: rgba(245, 245, 247, 0.42); transition: width 0.4s var(--ease), background-color 0.4s var(--ease); }
.hl-dots span.is-on { width: 48px; background: var(--ink); }
@media (max-width: 767px) { .hl-dots span.is-on { width: 32px; } }

/* What it does: the scroll walks through the four tabs; the pills only show where you are */
.services.sv-scroll { padding-block: 0; height: calc(100svh + (var(--n, 4) - 1) * 80svh); }
.services.sv-scroll .sv-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.services.sv-scroll .house-stage { aspect-ratio: auto; height: max(300px, calc(100svh - 360px)); }
.services.sv-scroll .house-pills { pointer-events: none; }
@media (max-width: 767px) { .services.sv-scroll .house-stage { height: max(300px, calc(100svh - 400px)); } }

.services.sv-scroll .section-contain { gap: 32px; }
.services.sv-scroll .house { gap: 20px; }
.highlights.hl-scroll .hl-sticky > .container, .services.sv-scroll .sv-sticky > .container { width: 100%; }
.services.sv-scroll .house-stage { height: max(280px, calc(100svh - 430px)); }
@media (max-width: 767px) { .services.sv-scroll .house-stage { height: max(280px, calc(100svh - 440px)); } }

/* ---------- Round 7 (27 Nov 2026): "A Reel, directed." as Apple lays out a closer look ----------
   The phone stands on the right; on the left the tab's words, and for The Director the timeline it cut for you.
   Tabs at Apple's page size (14 px, 36 px tall, 15 px sides), no blue: they show where the scroll is, they take no click. */
.house { position: relative; }
.house-escena { background: radial-gradient(70% 100% at 76% 62%, #1d1d1f 0%, #000 70%); }
.house-phone { left: auto; right: 8%; margin: 0; top: 7%; height: 86%; }
.house-phone .iphone-body { border-radius: 15.5% / 7.4%; }
.house-pills { left: 48px; right: auto; bottom: 40px; gap: 8px; flex-wrap: nowrap; }
.house-pills button { height: 36px; padding: 0 15px; font-size: 14px; line-height: 1; font-weight: 400; letter-spacing: -0.016em; border-radius: 980px; background: rgba(66, 66, 69, 0.72); box-shadow: none; color: #f5f5f7; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); transition: background-color 0.4s var(--ease), color 0.4s var(--ease); }
.house-pills button[aria-selected="true"] { background: #f5f5f7; color: #1d1d1f; }
.house-foot { position: absolute; z-index: 3; left: 48px; top: 44px; width: min(46%, 500px); pointer-events: none; }
.house-texts { min-height: 0; }
.house-text { gap: 10px; }
.house-text .heading-6 { font-size: 28px; line-height: 1.14; }
.house-text .p-medium { font-size: 17px; line-height: 1.47; font-weight: 400; letter-spacing: -0.022em; color: #86868b; }
.house-text .p-medium b { color: #f5f5f7; font-weight: 600; }
.services.sv-scroll .house-stage { height: max(440px, calc(100svh - 290px)); }

/* the timeline the Director built: story, look, clips and sound, a playhead that follows the film on the phone */
.linea { --t: 0; position: absolute; z-index: 3; left: 48px; bottom: 100px; width: min(50%, 600px); padding: 14px 18px 12px 14px; border-radius: 18px; background: rgba(22, 22, 23, 0.78); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); color: #86868b; font-size: 11px; line-height: 1; letter-spacing: 0; font-variant-numeric: tabular-nums; opacity: 0; transform: translateY(12px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); pointer-events: none; }
.house:has(.house-pic[data-pane="music"].is-on) .linea { opacity: 1; transform: none; }
.linea-cab { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 12px; }
.linea-cab span:first-child { color: #f5f5f7; font-weight: 600; }
.linea-cuerpo { display: grid; grid-template-columns: 50px minmax(0, 1fr); }
.linea-nombres, .linea-pistas { display: grid; grid-template-rows: 14px 20px 8px 44px 28px; row-gap: 7px; align-items: center; }
.linea-pistas { position: relative; padding-bottom: 18px; }
.linea-regla { position: relative; height: 14px; }
.linea-regla i { position: absolute; left: calc(var(--x) * 100%); bottom: 0; width: 1px; height: 3px; background: rgba(245, 245, 247, 0.22); }
.linea-regla i.is-big { height: 6px; background: rgba(245, 245, 247, 0.45); }
.linea-regla b { position: absolute; left: calc(var(--x) * 100%); top: 0; font-size: 10px; font-weight: 400; transform: translateX(-50%); }
.linea-regla b:first-of-type { transform: none; }
.linea-regla b:last-of-type { transform: translateX(-100%); }
.linea-historia, .linea-clips { position: relative; height: 100%; }
.linea-historia span, .linea-clips span { position: absolute; top: 0; bottom: 0; left: calc(var(--a) * 100% + 1px); width: calc((var(--b) - var(--a)) * 100% - 2px); }
.linea-historia span { display: flex; align-items: center; gap: 6px; padding-left: 2px; color: #f5f5f7; font-size: 11px; white-space: nowrap; overflow: hidden; }
.linea-historia em { flex: none; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: rgba(245, 245, 247, 0.14); font-style: normal; font-size: 10px; font-weight: 600; }
.linea-look { height: 8px; border-radius: 4px; }
.linea-look span { display: none; }
.linea-clips span { border-radius: 6px; background: url("medios/rosh/linea-tira.jpg") var(--p) 0 / 300% 100% no-repeat; opacity: 0.5; transition: opacity 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.linea-clips span.is-on { opacity: 1; box-shadow: inset 0 0 0 2px #f5f5f7; }
.linea-sonido { position: relative; height: 28px; }
.linea-sonido svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.linea-sonido path { fill: rgba(245, 245, 247, 0.26); }
.linea-sonido svg + svg { clip-path: inset(0 calc((1 - var(--t)) * 100%) 0 0); }
.linea-sonido svg + svg path { fill: #f5f5f7; }
.linea-cortes { position: absolute; inset: 21px 0 0 0; }
.linea-cortes span { position: absolute; left: calc(var(--x) * 100%); top: 0; bottom: 0; border-left: 1px dashed rgba(245, 245, 247, 0.4); }
.linea-cortes span::before { content: ""; position: absolute; left: -4px; top: 33px; width: 7px; height: 7px; background: #f5f5f7; transform: rotate(45deg); border-radius: 1px; }
.linea-cortes span { font-size: 0; }
.linea-cortes span::after { content: "Cut on the beat"; position: absolute; bottom: 0; left: 0; transform: translateX(-50%); font-size: 10px; color: #86868b; white-space: nowrap; }
.linea-cabezal { position: absolute; top: 0; bottom: 14px; left: calc(var(--t) * 100%); width: 1px; background: #f5f5f7; z-index: 2; }
.linea-cabezal span { position: absolute; top: -1px; left: 0; transform: translateX(-50%); padding: 2px 5px; border-radius: 4px; background: #f5f5f7; color: #1d1d1f; font-size: 10px; font-weight: 600; }

@media (max-width: 899px) {
  .house-phone { right: 18px; top: 18px; height: 46%; }
  .house-phone .iphone-body { border-radius: 15.5% / 7.4%; }
  .house-escena { background: radial-gradient(90% 70% at 80% 28%, #1d1d1f 0%, #000 70%); }
  .house-foot { left: 18px; top: 22px; width: calc(100% - 46svh * 0.24 - 54px); }
  .house-text .heading-6 { font-size: 22px; }
  .house-text .p-medium { font-size: 15px; line-height: 1.4; }
  .services.sv-scroll .house-stage { height: max(480px, calc(100svh - 270px)); }
  .linea { left: 12px; right: 12px; width: auto; bottom: 60px; padding: 12px 12px 10px 10px; }
  .linea-cab span:last-child { display: none; }
  .linea-cuerpo { grid-template-columns: 40px minmax(0, 1fr); }
  .linea-nombres, .linea-pistas { grid-template-rows: 14px 18px 6px 34px 22px; row-gap: 6px; }
  .linea-cortes { inset: 20px 0 0 0; }
  .linea-cortes span::before { top: 27px; }
  .linea-historia span { font-size: 10px; gap: 4px; }
  .linea-historia em { width: 14px; height: 14px; font-size: 9px; }
  .house-pills { left: 12px; right: 12px; bottom: 14px; overflow-x: auto; scrollbar-width: none; }
  .house-pills button { height: 32px; padding: 0 12px; font-size: 13px; flex: none; }
}
.linea-historia span { padding-right: 6px; }
@media (max-width: 899px) { .house-foot { width: auto; right: 154px; } .linea-historia span { font-size: 9.5px; } }

/* ---------- Round 8b (27 Nov 2026): back to the card; no tabs on show (the scroll changes them); the timeline sits
   low on the left, with the words high on the left, so the middle of the card breathes ---------- */
.house-pills { display: none; }
.linea { bottom: 44px; }
@media (max-width: 899px) { .linea { bottom: 14px; } }
.services.sv-scroll .house-stage { height: max(420px, calc(100svh - 340px)); }
.services.sv-scroll .sv-sticky { padding-top: 40px; }

/* ---------- Round 9: the hero ends with the phone on the right and the words on the left; the Reel keeps the eye ---------- */
.ap-final { bottom: 30px; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.ap-final a { pointer-events: auto; }
.ap-pie { position: static; margin-top: auto; }
@media (min-width: 900px) {
  .ap-final { top: 0; bottom: 0; right: auto; width: min(44vw, 560px); justify-content: center; align-items: flex-start; text-align: left; }
  .ap-name { font-size: 21px; line-height: 1.19; color: var(--grey); }
  .ap-frase { margin-top: 10px; font-size: clamp(40px, 4.2vw, 56px); line-height: 1.07; letter-spacing: -0.005em; }
  .ap-valor { margin: 18px 0 0; max-width: 460px; font-size: 19px; line-height: 1.42; }
  .ap-pie { margin-top: 32px; justify-content: flex-start; }
  .ap-device { left: auto; right: calc(var(--gutter) + 2vw); margin: 0; top: 104px; bottom: 48px; height: auto; }
}

/* ---------- Round 10: the problem before the answer; "Craft, not tricks." backed by pictures, with a before / after ---------- */
.intro-problema .section-contain { display: flex; flex-direction: column; }
.intro-problema .ante { margin-bottom: 18px; }
.tile-img { justify-content: space-between; }
.tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.tile-img:hover img { transform: scale(1.03); }
.tile-img::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.78) 100%); }
.tile-img .tile-n, .tile-img .tile-txt { position: relative; z-index: 1; }
.tile-img .tile-txt { color: rgba(245, 245, 247, 0.8); }
.tile-ancha.tile-img img { object-position: 50% 62%; }
.tile-ba { --ba: 50%; }
.tile-ba video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-ba .ba-antes { clip-path: inset(0 calc(100% - var(--ba)) 0 0); }
.ba-linea { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--ba); width: 2px; margin-left: -1px; background: rgba(255, 255, 255, 0.92); pointer-events: none; }
.ba-tirador { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: rgba(245, 245, 247, 0.92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.ba-tirador svg { width: 20px; height: 20px; fill: none; stroke: #1d1d1f; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba-etq { position: absolute; z-index: 2; top: 24px; height: 28px; padding: 0 12px; display: flex; align-items: center; border-radius: 980px; font-size: 12px; font-weight: 600; letter-spacing: 0; color: #fff; background: rgba(0, 0, 0, 0.42); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.ba-etq-antes { left: 24px; }
.ba-etq-despues { right: 24px; }
@media (max-width: 767px) { .ba-etq { top: 18px; } .ba-etq-antes { left: 18px; } .ba-etq-despues { right: 18px; } .tile-img { min-height: 260px; } }
.problema-sub { margin-top: 24px; max-width: 760px; font-size: 28px; line-height: 1.25; font-weight: 600; letter-spacing: 0.007em; color: var(--grey); }
.problema-sub b { color: #fff; }
@media (max-width: 767px) { .problema-sub { margin-top: 16px; font-size: 19px; line-height: 1.32; } }
.intro-problema .section-contain { align-items: center; text-align: center; }
.intro-problema .problema-sub { margin-inline: auto; }

/* ---------- Round 11: the problem set to Apple's scale (antetítulo 21 grey, gigante 96, entradilla 21 grey with the key words white)
   and the page's one gradient: it sweeps across the title with the scroll, from graphite to colour ---------- */
.intro-problema { padding-block: 144px; }
.intro-problema .section-contain { gap: 0; max-width: 1260px; margin-inline: auto; }
.problema-ante { margin: 0 0 12px; font-size: 21px; line-height: 1; font-weight: 600; letter-spacing: 0.011em; color: #6e6e73; }
.problema-titulo { margin: 0; max-width: 1100px; font-size: 96px; line-height: 1.04; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance;
  color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(90deg, #ffb56b 0%, #ff6a5c 12%, #e8559b 24%, #a86bff 36%, #2997ff 48%, #3a3a3c 52%, #3a3a3c 100%);
  background-size: 210% 100%; background-position: 100% 0; }
.is-still .problema-titulo, .no-js .problema-titulo { background-position: 0 0; }
.intro-problema .problema-sub { margin-top: 32px; max-width: 840px; font-size: 21px; line-height: 1.38; font-weight: 600; letter-spacing: 0.011em; color: #86868b; }
@media (max-width: 1068px) { .problema-titulo { font-size: 72px; } }
@media (max-width: 767px) {
  .intro-problema { padding-block: 112px; }
  .problema-titulo { font-size: 40px; line-height: 1.1; letter-spacing: 0; }
  .intro-problema .problema-sub { margin-top: 20px; font-size: 19px; line-height: 1.42; }
}

/* ---------- Round 12: Apple's colour resources, one per section (measured on apple.com, 27 Nov 2026; see CALCO APPLE.md §6) ----------
   problem: the page's one gradient · Director: the camera chapter's yellow, only on the data (the cuts and the count)
   · Craft, not tricks.: one hue per figure, as Apple's three environment figures · captions and close: grey with the key words white */
.hl-card figcaption { color: #86868b; }
.hl-card figcaption b { color: #fff; }
.linea-cab span:last-child { color: #ffd500; font-weight: 600; }
.linea-cortes span { border-left-color: rgba(255, 213, 0, 0.55); }
.linea-cortes span::before { background: #ffd500; }
.linea-cortes span::after { color: #ffd500; }
.tile-n { color: #fff; }
.tile-n-violeta { color: #a08bff; }
.tile-n-naranja { color: #ff791b; }
.tile-n-turquesa { color: #2ec5d3; }
.tile-img .tile-txt { font-size: 24px; line-height: 1.17; color: #86868b; }
.tile-img .tile-txt b { color: #fff; }
.tile-img::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.86) 100%); }
.cta-sub { color: #86868b; }
.cta-sub b { color: #fff; }
@media (max-width: 767px) { .tile-img .tile-txt { font-size: 19px; line-height: 1.26; } }
/* on a photograph Apple's grey sinks: the lead goes light, the key words white, over a deeper shade */
.tile-img .tile-txt { color: rgba(245, 245, 247, 0.74); }
.tile-img::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 36%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.9) 100%); }
.cta-sub { color: rgba(245, 245, 247, 0.72); }
.cta-sub { max-width: 620px; margin-inline: auto; text-wrap: balance; }
.cta-title { text-wrap: balance; }
.cta-title { margin-bottom: 32px; }

/* ---------- round 13: the licence credit line, one quiet line under the last view ---------- */
.credito { margin: 0; padding: 20px var(--gutter, 24px) 28px; background: #000; color: #6e6e73; font-size: 12px; line-height: 1.4; text-align: center; }
.credito a { color: #86868b; text-decoration: none; }
.credito a:hover { color: #f5f5f7; }
/* the AI stand-in behind «0»: keep her face in the frame on the wide tile */
.tile-img img[src*="tile-ia"] { object-position: 50% 4%; }

/* ---------- round 14: FAQ before the last ask, and the trial note (Apple, Final Cut Pro page) ---------- */
.faq { background: #000; padding-block: 144px; }
.faq-wrap { max-width: 980px; margin: 0 auto; padding-inline: var(--gutter, 24px); }
.faq-titulo { margin: 0 0 40px; font-size: 48px; line-height: 1.08; font-weight: 600; letter-spacing: -0.003em; color: #f5f5f7; }
.faq details { border-bottom: 1px solid #424245; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: 24px; line-height: 1.17; font-weight: 600; color: #f5f5f7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px; border-right: 2px solid #86868b; border-bottom: 2px solid #86868b; transform: translateY(-3px) rotate(45deg); transition: transform 0.3s var(--ease, ease); }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { color: #fff; }
.faq summary:focus-visible { outline: 2px solid #0a84ff; outline-offset: 4px; border-radius: 6px; }
.faq details p { margin: 0; max-width: 760px; padding: 0 0 28px; font-size: 17px; line-height: 1.47; color: #86868b; }
.faq details p b { color: #f5f5f7; font-weight: 600; }
.cta-nota { margin: 16px 0 0; font-size: 14px; line-height: 1.4; color: rgba(245, 245, 247, 0.72); }
.cta-nota sup { font-size: 0.7em; margin-left: 1px; }
.cta-nota sup a { color: inherit; text-decoration: none; }
.credito-nota { max-width: 840px; margin: 0 auto; padding-bottom: 0; text-align: left; }
.credito-nota + .credito { text-align: left; max-width: 840px; margin: 0 auto; padding-top: 8px; }
@media (max-width: 767px) {
  .faq { padding-block: 112px; }
  .faq-titulo { font-size: 32px; }
  .faq summary { font-size: 19px; padding: 22px 0; }
}

/* ---------- round 15: Highlights laid out to Apple's own gallery (iPhone 17, measured at 1440 × 900, 27 Nov 2026) ----------
   Heading 56/600 on the card's left edge · card 1260 × 680 (1.853), radius 28, a tile one step lighter than its ground ·
   caption at the top, 28/32 600, max 584, 48 px in · the media centred under it · dots and play/pause inside the card's foot. */
.highlights { --hl-w: min(calc(100vw - 2 * var(--gutter)), 1260px, calc((100svh - 230px) * 1.853)); background: #000; }
.highlights .hl-track, .highlights .hl-track[data-hl] { --hl-w: inherit; }
@media (min-width: 768px) { .hl-track { --hl-w: inherit; } }
.highlights .hl-sticky > .container { padding-inline: 0; }
.highlights .section-contain, .highlights.hl-scroll .hl-sticky > .container.section-contain { width: var(--hl-w); max-width: none; margin-inline: auto; }
.highlights .section-header { margin-bottom: 24px; }
.highlights .title-section.is-48 { font-size: 56px; line-height: 1.07; letter-spacing: -0.005em; }
.hl-card { aspect-ratio: 1260 / 680; border-radius: 28px; }
.hl-escena { background: #1c1c1e; }
.hl-escena figcaption, .hl-card figcaption { top: 48px; bottom: auto; left: 0; right: 0; margin-inline: auto; max-width: 584px; padding-inline: 24px; font-size: 28px; line-height: 1.143; text-align: center; text-wrap: balance; }
.hl-phone { top: 184px; bottom: auto; right: auto; left: 50%; margin: 0; height: calc(100% - 184px - 100px); width: auto; transform: translateX(-50%); }
.hl-controls { position: relative; z-index: 3; margin-top: -80px; height: 80px; align-items: center; }
.hl-dots, .hl-play { height: 44px; background: rgba(66, 66, 69, 0.72); }
.hl-dots { padding: 0 20px; }
.hl-play { width: 44px; }
.hl-play:focus-visible { outline: 2px solid #0a84ff; outline-offset: 3px; }
@media (max-width: 767px) {
  .highlights { --hl-w: calc(100vw - 2 * var(--gutter)); }
  .highlights .title-section.is-48 { font-size: 32px; line-height: 1.125; }
  .hl-card { aspect-ratio: 3 / 4.4; border-radius: 22px; }
  .hl-escena figcaption, .hl-card figcaption { top: 28px; max-width: none; padding-inline: 24px; font-size: 21px; line-height: 1.19; }
  .hl-phone { top: 152px; bottom: auto; height: calc(100% - 152px - 72px); }
  .hl-controls { margin-top: -64px; height: 64px; }
  .hl-dots, .hl-play { height: 36px; }
  .hl-play { width: 36px; }
}

/* ===== Round 16 · highlights without card tiles: the scene sits straight on the black ground ===== */
.hl-escena, .highlights .hl-card { background: transparent; border-radius: 0; }

/* ===== Round 17 · highlights: the phone leads, the caption sits beside it (no longer two equal weights) ===== */
@media (min-width: 768px) {
  .hl-phone { top: 0; height: calc(100% - 88px); left: 64%; }
  .hl-escena figcaption, .hl-card figcaption { top: calc((100% - 88px) / 2); left: 6%; right: auto; margin: 0; max-width: min(400px, 40%); padding: 0; text-align: left; transform: translateY(-50%); }
}
@media (max-width: 767px) {
  .hl-card { aspect-ratio: 3 / 5; }
  .hl-escena figcaption, .hl-card figcaption { top: 0; font-size: 17px; line-height: 1.29; }
  .hl-phone { top: 92px; height: calc(100% - 92px - 64px); }
}

/* ===== Round 18 · highlights framed on the page's own left edge: title and caption share the gutter line of every other section ===== */
@media (min-width: 768px) {
  .highlights { --hl-w: min(calc(100vw - 2 * var(--gutter)), 1260px); }
  .hl-card { aspect-ratio: auto; height: min(680px, calc(100svh - 230px)); }
  .hl-escena figcaption, .hl-card figcaption { left: 0; }
}
/* the neighbour slide's caption no longer peeks in cut at the right edge: only the slide on show carries words */
.hl-escena figcaption { transition: opacity 0.5s var(--ease, ease); }
.hl-escena:not(.is-on) figcaption { opacity: 0; }

/* ===== Round 19 · «Highlights.» stays put as the heading of the left column; each slide's words come in right under it ===== */
@media (min-width: 768px) {
  .highlights.hl-scroll .hl-sticky > .container.section-contain { position: absolute; z-index: 2; left: 0; right: 0; top: calc(50% - 68px - 20px); transform: translateY(-100%); pointer-events: none; }
  .highlights .section-header { margin: 0; }
  .hl-card { height: min(680px, calc(100svh - 160px)); }
  .hl-escena figcaption, .hl-card figcaption { top: calc((100% - 88px) / 2 - 24px); transform: none; }
}
@media (max-width: 767px) {
  .hl-escena figcaption, .hl-card figcaption { left: 0; right: 0; padding-inline: 0; text-align: left; }
}

/* ===== Round 20 · the hero opens by itself (Final Cut Pro's way): one screen tall, no scroll scrub ===== */
.hero.apertura { height: 100vh; height: 100svh; }
.ap-pausa { position: absolute; z-index: 5; right: -52px; bottom: 0; width: 36px; height: 36px; opacity: 0; visibility: hidden; }
.ap-pausa:focus-visible { outline: 2px solid #0a84ff; outline-offset: 3px; }
@media (max-width: 767px) { .ap-pausa { right: -46px; } }
/* the faded full picture sits above the phone: it must never catch the pause button's clicks */
.ap-full { pointer-events: none; }
/* the phone clips what sits outside it: the pause goes inside the screen's top corner, as on Apple's own films */
.ap-pausa, .ap-pausa.hl-play { right: 9%; left: auto; top: 3.2%; bottom: auto; width: 32px; height: 32px; }
.ap-pausa .hl-icon { width: 10px; height: 12px; }
@media (max-width: 767px) { .ap-pausa, .ap-pausa.hl-play { right: 9%; } }

/* ===== Round 21 · hero end frame: the phone comes closer to the words (a measured gap, not the far edge) ===== */
@media (min-width: 900px) {
  .ap-device { right: auto; left: calc(var(--gutter) + min(44vw, 560px) + clamp(56px, 9vw, 140px)); }
}

/* ===== Round 22 · highlights no longer hold the page: one screen, a row that slides on its own or by hand ===== */
.highlights.hl-scroll { height: auto; }
.highlights.hl-scroll .hl-sticky { position: relative; height: 100vh; height: 100svh; }
.highlights.hl-scroll .hl-track { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; transform: none !important; will-change: auto; }
.hl-card { scroll-snap-align: center; scroll-snap-stop: always; }
.hl-dots button { position: relative; cursor: pointer; }
.hl-dots button::after { content: ""; position: absolute; inset: -14px -5px; }
.hl-dots button.is-on, .hl-dots button[aria-selected="true"] { width: 48px; background: var(--ink); }
.hl-dots button:focus-visible { outline: 2px solid #0a84ff; outline-offset: 4px; }
@media (max-width: 767px) { .hl-dots button.is-on, .hl-dots button[aria-selected="true"] { width: 32px; } }

/* ===== Round 23 · the name once: the logo alone in the nav, the h1 kept for readers but not shown; the words sit lower ===== */
.ap-name { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ap-frase { margin-top: 0; }
@media (min-width: 900px) { .ap-final { padding-top: 120px; } }

/* ===== Round 24 · Apple's pace: 128 px between sections, titles close to their words, nothing holds the scroll ===== */
:root { --section-y: 128px; }
@media (max-width: 767px) { :root { --section-y: 96px; } }
.intro.intro-problema { min-height: 0; padding-block: var(--section-y); }
.intro-problema .problema-sub { margin-top: 20px; }
@media (max-width: 767px) { .intro-problema .problema-sub { margin-top: 14px; } }
.reel { height: 100vh; height: 100svh; }
.reel-pasos { margin-top: 16px; }
.cta-wrapper { height: 100vh; height: 100svh; }

/* ===== Round 25 · «From clips to campaign» sits on Apple's Creator Studio card: 28 px corners, #2b2b2b fading to clear ===== */
.reel { height: auto; padding-inline: var(--gutter); }
.reel-sticky { position: relative; width: 100%; max-width: 1260px; height: min(760px, calc(100svh - 96px)); padding: 0 clamp(32px, 6.25vw, 90px); border-radius: 28px; background: linear-gradient(0deg, rgba(0, 0, 0, 0), #2b2b2b); }
.reel-stage { height: 100%; }
@media (max-width: 767px) {
  .reel-sticky { height: min(720px, calc(100svh - 48px)); padding: 32px 20px 20px; border-radius: 22px; }
}
/* the card keeps its edge where its grey fades into the black page: a hairline all round, as on apple.com */
.reel-sticky { border: 1px solid rgba(255, 255, 255, 0.12); }

/* ===== Round 26 · the section links sit at the right edge of the page, level with the content; nothing waits for the removed pill ===== */
.mainnav .nav-links { margin-right: 0; }

/* ===== Round 27 · Apple's Pro pages: the phone in the middle, one big line under it, the rest below the fold ===== */
.apertura { --frase: clamp(40px, 4.6vw, 72px); --frase-b: clamp(32px, 5.5vh, 56px); }
.hero.apertura { height: auto; }
.apertura .ap-sticky { position: relative; }
.apertura .ap-device {
  --ph: calc(100svh - 88px - var(--frase-b) - var(--frase) * 1.1 - 28px);
  left: 0; right: 0; margin-inline: auto; top: 88px; bottom: auto; min-height: 0;
  height: var(--ph); width: calc(var(--ph) * 0.479);
}
.apertura .ap-final {
  top: auto; bottom: var(--frase-b); left: var(--gutter); right: var(--gutter); width: auto;
  padding-top: 0; justify-content: flex-end; align-items: center; text-align: center;
}
.apertura .ap-frase { margin: 0; font-size: var(--frase); line-height: 1.07; letter-spacing: -0.015em; white-space: nowrap; }
.ap-mas { display: flex; flex-direction: column; align-items: center; padding: 8px var(--gutter) 0; text-align: center; background: #000; }
.ap-mas .ap-valor { margin: 0 auto; max-width: 640px; font-size: 21px; line-height: 1.38; }
.ap-mas .ap-pie { position: static; margin-top: 28px; justify-content: center; opacity: 1; visibility: visible; transform: none; }
@media (max-width: 767px) {
  .apertura { --frase: 32px; --frase-b: 36px; }
  .apertura .ap-device { top: 76px; --ph: calc(100svh - 76px - var(--frase-b) - var(--frase) * 2.2 - 22px); }
  .apertura .ap-frase { white-space: normal; line-height: 1.1; text-wrap: balance; }
  .ap-mas .ap-valor { font-size: 17px; line-height: 1.35; }
  .ap-mas .ap-pie { margin-top: 22px; }
}

/* ===== Round 28 · the opening is a finished Reel («Desfile.»): its title lives in a column the size of the phone's screen,
   so it lands on the screen exactly as the film shrinks into it ===== */
.ap-hueco { position: absolute; top: 0; bottom: 0; left: calc(var(--fx) * 100%); aspect-ratio: 0.4565; transform: translateX(-50%); container-type: size; pointer-events: none; }
.ap-reel { container-type: size; }
.ap-titulo span { font-size: 4.4cqh; }
.ap-titulo small { font-size: max(9px, 1.7cqh); margin-top: 0.8cqh; }
.ap-reel[data-uno] video.is-on { animation: none; }

/* ===== Round 30 · Apple's Final Cut Pro picture: the iPhone Duo (open, the Reel's cover) behind, the iPhone overlapping it in
   front, the app's icon under them. --u is the Duo's height; the pair is 0.874 u wide and 1 u tall, centred. ===== */
.apertura {
  --top: 88px; --pie: calc(var(--frase-b) + var(--frase) * 1.1 + 28px); --icon: 0px;
  --hgt: calc(100svh - var(--top) - var(--pie) - var(--icon) - 24px);
  --u: min(var(--hgt), calc((100vw - 2 * var(--gutter)) / 0.874));
  --gx: calc(50% - var(--u) * 0.437); --gy: calc(var(--top) + (var(--hgt) - var(--u)) / 2);
}
.apertura .ap-device { --ph: calc(var(--u) * 0.78); top: calc(var(--gy) + var(--u) * 0.22); left: var(--gx); right: auto; margin: 0; height: var(--ph); width: calc(var(--ph) * 0.479); }
.ap-duo { position: absolute; z-index: 1; top: var(--gy); left: calc(var(--gx) + var(--u) * 0.191); height: calc(var(--u) * 0.94); aspect-ratio: 900 / 1239; opacity: 0; pointer-events: none; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55)); }
.ap-duo-pantalla { position: absolute; left: 5.2%; top: 3.75%; width: 89.6%; height: 92.5%; overflow: hidden; border-radius: 3.2% / 2.3%; background: #000; }
.ap-duo-pantalla img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ap-duo-marco { position: absolute; inset: 0; width: 100%; height: 100%; }
.ap-icono { position: absolute; z-index: 1; left: 50%; top: calc(var(--gy) + var(--u) + 20px); width: var(--icon); height: var(--icon); transform: translateX(-50%); opacity: 0; }
.no-js .ap-duo, .no-js .ap-icono { display: none; }
@media (max-width: 767px) {
  .apertura { --top: 76px; --pie: calc(var(--frase-b) + var(--frase) * 2.2 + 22px); }
}

/* 29 Nov: the support and legal links, under the trial note */
.credito-nota + .credito-enlaces { padding-top: 12px; }
.credito-enlaces { text-align: left; max-width: 840px; margin: 0 auto; padding-bottom: 0; }
.credito-enlaces + .credito { text-align: left; max-width: 840px; margin: 0 auto; padding-top: 8px; }

/* 29 Nov: the official logo is the name in two lines with the blue «o»; it replaces the blue V and the word beside it */
.brand-logo { display: block; height: 36px; width: auto; }
.franja .brand-logo, .menu-head .brand-logo { height: 30px; }

/* Android sheet (android.js, 29 Nov 2026): only Android phones see it, in place of the App Store */
.android-hoja { width: min(calc(100vw - 32px), 400px); margin: auto auto 16px; padding: 32px 24px 24px; border: 0; border-radius: 28px; background: #1C1C1E; color: #F5F5F7; font-family: var(--sans); text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.android-hoja::backdrop { background: rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.android-t { margin: 0 0 8px; font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.android-p { margin: 0 0 24px; font-size: 17px; line-height: 1.4; color: #86868B; }
.android-b { width: 100%; min-height: 50px; border: 0; border-radius: 50px; background: #0A84FF; color: #fff; font: 600 17px/1 var(--sans); cursor: pointer; transition: background 0.2s, transform 0.1s; }
.android-b:hover { background: #0077ED; }
.android-b:active { transform: scale(0.98); }
.android-b:disabled { opacity: 0.6; }
.android-ok { margin: 0; font-size: 17px; line-height: 1.4; color: #F5F5F7; }
.android-ok:empty { display: none; }
.android-x { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border: 0; background: none; color: #86868B; font-size: 26px; line-height: 1; cursor: pointer; }
.android-x:hover { color: #F5F5F7; }
.android-b:focus-visible, .android-x:focus-visible { outline: 2px solid #0A84FF; outline-offset: 3px; }
