/* Page chrome and sections. Breakpoints: sm 40rem · md 48rem · lg 64rem (plus portrait/landscape on the hero). */
@layer sections {
  .arrow { flex-shrink: 0; }
  .is-hidden { visibility: hidden; }

  /* ───────────── Intro overlay ───────────── */
  .intro { position: fixed; inset: 0; z-index: 300; }
  .intro__veil { position: absolute; inset: 0; height: 100%; width: 100%; }
  .intro__center { position: absolute; inset: 0; display: grid; place-items: center; }
  .intro__mark { position: relative; font-size: clamp(34px, 7.2vw, 56px); }
  .intro__glyph { visibility: hidden; position: relative; will-change: transform; }
  html[data-motion="reduced"] .intro__glyph { visibility: visible; }
  .intro__logo { display: flex; align-items: center; gap: .32em; font-weight: 900; letter-spacing: -.01em; line-height: 1; color: var(--c-cream); white-space: nowrap; }
  .intro__logo .logo__icon { height: 1.5em; width: 1.5em; }

  /* ───────────── Skip link ───────────── */
  .skip { position: fixed; left: .75rem; top: .75rem; z-index: 120; translate: 0 -200%; }
  .skip:focus { translate: 0 0; }

  /* ───────────── Header ───────────── */
  .hdr { pointer-events: none; position: fixed; inset-inline: 0; top: 0; z-index: 100; }
  .hdr__bar {
    position: absolute; inset-inline: 0; top: 0; height: calc(90px + env(safe-area-inset-top));
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    transition-property: opacity, background-color; transition-timing-function: var(--ease-std); transition-duration: .3s;
    opacity: 0; background-color: var(--c-accent-95);
    -webkit-mask-image: linear-gradient(#000 calc(100% - 18px), transparent); mask-image: linear-gradient(#000 calc(100% - 18px), transparent);
  }
  .hdr__in { position: relative; margin-inline: auto; display: flex; height: 72px; max-width: 1808px; align-items: center; justify-content: space-between; gap: 1rem; padding-top: env(safe-area-inset-top); }
  .hdr__logo {
    pointer-events: auto; margin-left: -1rem; display: grid; height: 46px; place-items: center; border-radius: 10px; padding-inline: 1rem;
    transition-property: background-color, color, box-shadow; transition-timing-function: var(--ease-std); transition-duration: .3s;
  }
  .hdr__mark { display: block; transition-property: transform, translate, scale, rotate; transition-timing-function: var(--ease-kick); transition-duration: .5s; }
  @media (hover: hover) { .hdr__logo:hover .hdr__mark { scale: 105% 105%; } }
  .logo { display: inline-flex; align-items: center; gap: .5em; font-size: 18.7px; font-weight: 900; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
  .logo__icon { display: block; height: 1.75em; width: 1.75em; flex: none; border-radius: .26em; }
  .logo__word { color: var(--c-cream); }
  .hdr__nav { pointer-events: auto; display: flex; align-items: center; gap: .5rem; }
  .hdr__btn { min-height: 46px; transition-property: background-color, color, box-shadow; transition-timing-function: var(--ease-std); transition-duration: .3s; }
  .hdr__menu { gap: .75rem; }
  .hdr__tools { background-color: var(--c-umber-75); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--c-cream); box-shadow: inset 0 0 0 1.5px currentColor; }
  @media not all and (min-width: 64rem) { .hdr__tools { display: none; } }
  @media not all and (min-width: 40rem) { .hdr__cta { display: none; } }
  @media (min-width: 64rem) { .hdr__bar { display: none; } .hdr__in { height: 84px; } .logo { font-size: 20px; } }

  /* scrolled past 40% of the first screen: pills become solid and cast a shadow */
  .hdr[data-solid] .hdr__bar { opacity: 1; }
  .hdr[data-solid] .hdr__logo { background-color: var(--c-umber-75); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-pill); }
  .hdr[data-solid] .hdr__cta, .hdr[data-solid] .hdr__menu { box-shadow: var(--shadow-pill); }

  /* light sections */
  .hdr[data-scheme="light"] .hdr__bar { background-color: color-mix(in oklab, var(--c-cream) 95%, transparent); }
  .hdr[data-scheme="accent"] .logo__word { text-shadow: 0 0 .1em oklab(var(--rust-lab) / 1), 0 0 .25em oklab(var(--rust-lab) / 1), 0 0 .5em oklab(var(--rust-lab) / .9); }
  .hdr[data-scheme="light"] .logo__word { color: var(--c-ink); }
  .hdr[data-scheme="light"][data-solid] .hdr__logo { background-color: var(--c-cream); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hdr[data-scheme="light"] .hdr__tools { background-color: var(--c-cream); color: var(--c-ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hdr[data-scheme="light"] .hdr__menu { box-shadow: var(--sh0), inset 0 0 0 1.5px #0B0B0B; }

  /* dark sections */
  .hdr[data-scheme="dark"] .hdr__bar { background-color: color-mix(in oklab, var(--c-ink) 95%, transparent); }
  .hdr[data-scheme="dark"] .logo__word { color: var(--c-cream); }
  .hdr[data-scheme="dark"] .hdr__logo { background-color: var(--c-ink); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .hdr[data-scheme="dark"] .hdr__tools { background-color: var(--c-ink); color: var(--c-cream); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hdr[data-scheme="dark"] .hdr__cta { background-color: var(--c-cream); color: var(--c-ink); box-shadow: none; }
  .hdr[data-scheme="dark"] .hdr__menu { background-color: var(--c-ink); color: var(--c-cream); box-shadow: var(--sh0), inset 0 0 0 1.5px #F6F1E6; }

  /* hover accents follow the pill's own background, not the scheme */
  .hdr[data-scheme="light"] .hdr__tools, .hdr[data-scheme="dark"] .hdr__cta { --luz: #ff8a339e; --r: 110px; --ab: #0b0b0b; --ac: #f6f1e6; }
  .hdr[data-scheme="dark"] .hdr__tools, .hdr[data-scheme="dark"] .hdr__menu { --luz: #ff6a0080; --r: 78px; --ab: #ff6a00; --ac: #0b0b0b; }

  /* ───────────── Menu ───────────── */
  .menu { position: fixed; inset: 0; z-index: 99; }
  .menu__back { position: absolute; inset: 0; touch-action: none; background-color: color-mix(in oklab, var(--c-ink) 40%, transparent); }
  .menu__panel {
    visibility: hidden; position: absolute; right: max(var(--gutter), env(safe-area-inset-right)); top: 80px;
    max-height: calc(100svh - 96px); width: min(560px, calc(100vw - 2 * var(--gutter)));
    overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; border-radius: 18px;
    background-color: var(--c-ink); padding: clamp(22px, 2.4vw, 36px); color: var(--c-cream); box-shadow: var(--shadow-panel);
  }
  @media (min-width: 64rem) { .menu__panel { top: 92px; } }
  html[data-motion="reduced"] .menu__panel { visibility: visible; }
  .menu__item { border-bottom: 1px solid var(--c-ink-2); }
  .menu__link { display: flex; align-items: center; justify-content: space-between; padding-block: clamp(6px, 1vh, 12px); }
  .menu__label { font-size: var(--fs-menu); line-height: 1.08; }
  .menu__go { font-size: 1.875rem; line-height: 1.2; color: var(--c-orange); opacity: 0; translate: -12px 0; transition-property: opacity, translate; transition-timing-function: var(--ease-kick); transition-duration: .5s; }
  @media (hover: hover) {
    .menu__link:hover .menu__label { color: var(--c-orange); }
    .menu__link:hover .nudge { transform: translate(8px); }
    .menu__link:hover .menu__go { opacity: 1; translate: 0 0; }
  }
  .menu__foot { margin-top: 1.75rem; display: grid; gap: 1.25rem; }
  .menu__cta { width: fit-content; }
  .menu__info { display: grid; gap: 1rem; font-size: .875rem; line-height: calc(1.25 / .875); }
  .menu__mailbox { display: grid; gap: .25rem; }
  .menu__mailcap { font-weight: 600; color: var(--c-sand); }
  .menu__mail { width: fit-content; padding-block: .25rem; font-weight: 700; overflow-wrap: anywhere; }
  .menu__prefs { display: flex; align-items: center; gap: 1rem; }
  .menu__lang { display: flex; gap: .75rem; font-weight: 700; }
  .menu__lang a { margin-block: -.5rem; display: inline-flex; min-height: 40px; min-width: 32px; align-items: center; justify-content: center; text-transform: uppercase; color: color-mix(in oklab, var(--c-cream) 65%, transparent); }
  .menu__lang a[aria-current="true"] { color: var(--c-orange); }
  .menu__motion { color: color-mix(in oklab, var(--c-cream) 60%, transparent); }
  @media (hover: hover) { .menu__lang a:not([aria-current="true"]):hover, .menu__motion:hover { color: var(--c-cream); } }

  /* ───────────── Hero ───────────── */
  .hero { position: relative; height: var(--app-h, 100svh); min-height: 560px; overflow: hidden; background-color: var(--c-accent); color: var(--c-cream); }
  .hero__zoom { position: absolute; inset: 0; }
  .hero__pan { position: absolute; inset: -.75rem; }
  @media (orientation: portrait) { .hero__land { display: none; } }
  @media (orientation: landscape) { .hero__port { display: none; } }
  .hero__clip { position: absolute; }
  .hero__light { pointer-events: none; position: absolute; }
  .hero__land .hero__light { left: 40.5%; top: 23.5%; height: 52%; width: 31%; }
  .hero__port .hero__light { left: 21%; top: 44%; height: 34%; width: 60%; }
  .hero__night { visibility: hidden; }
  div.hero__night { position: absolute; inset: 0; background-color: var(--c-dusk-85); }
  .hero__shade-b { pointer-events: none; position: absolute; inset-inline: 0; bottom: 0; height: 26%; background-image: linear-gradient(to top, var(--c-shade-low) 0%, transparent 100%); }
  .hero__shade-t { pointer-events: none; position: absolute; inset-inline: 0; top: 0; height: 50%; background-image: radial-gradient(ellipse 46% 40% at 50% 55%, oklab(var(--rust-lab) / .5) 0%, transparent 100%), linear-gradient(to bottom, var(--c-shade-high) 0%, transparent 34%); }   /* a11y: the radial part darkens the headline zone slightly (contrast) */
  .hero__title { position: absolute; inset-inline: 0; top: 17.5%; text-align: center; font-size: var(--fs-hero); line-height: 1; text-shadow: 0 0 .06em oklab(var(--rust-lab) / .8), 0 .02em .2em oklab(var(--rust-lab) / .85), 0 0 .55em oklab(var(--rust-lab) / .65); }
  @media (orientation: portrait) { .hero__title { top: 21%; font-size: var(--fs-hero-portrait); } }
  .hero__line { display: block; }
  .hero__foot { position: absolute; inset-inline: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(20px, 4.4vh, 48px)); }
  .hero__row { margin-inline: auto; display: flex; max-width: 1760px; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; column-gap: 2.5rem; row-gap: 1.25rem; }
  .hero__lede { max-width: 34ch; font-size: clamp(1.05rem, 1.3vw, 1.4rem); line-height: 1.375; }
  .hero__cta { display: flex; flex-wrap: wrap; gap: .625rem; }

  /* ───────────── Proyectos ───────────── */
  .work { position: relative; overflow: hidden; background-color: var(--c-stone); color: var(--c-ink); }
  .work__view { position: relative; overflow: hidden; }
  @media not all and (min-width: 48rem) { .work__view { height: 92vw; } .work__room { width: 212vw !important; } }
  @media (min-width: 48rem) { .work__view { height: max(56.14vw, 560px); } }
  .work__scene { position: absolute; inset: 0; }
  .work__scene > img { position: absolute; inset: 0; height: 100%; width: 100%; }
  .work__screen { position: absolute; left: 28%; top: 32.1%; height: 40.1%; width: 44.6%; overflow: hidden; background-color: var(--c-ink); }
  .work__slides { position: absolute; inset: 0; }
  .work__slide { position: absolute; inset: 0; overflow: hidden; }
  .work__slide img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: top; }
  .work__glow { pointer-events: none; position: absolute; inset: 0; background-image: radial-gradient(ellipse at center, rgb(255 244 228 / .55), rgb(255 244 228 / .08) 70%); }
  .work__scan { pointer-events: none; position: absolute; inset-inline: 0; top: 50%; margin-top: -1px; display: block; height: 2px; background-color: #FFF4E4; box-shadow: var(--sh0), 0 0 18px 4px rgb(255 236 210 / .75); }
  .work__info { padding-bottom: var(--section); padding-top: clamp(28px, 3.4vw, 56px); }
  .work__wrap { margin-inline: auto; max-width: 1760px; }
  .work__tabs { position: relative; margin-inline: -.75rem; display: flex; flex-wrap: wrap; row-gap: .25rem; }
  .work__beam { pointer-events: none; position: absolute; left: 0; top: 0; border-radius: 10px; background-color: var(--c-ink); }
  .work__tab {
    position: relative; min-height: 44px; padding-inline: .875rem; font-size: clamp(1rem, 1.2vw, 1.25rem); font-weight: 500; letter-spacing: -.02em;
    transition-property: var(--tp-colors); transition-timing-function: var(--ease-std); transition-duration: .5s;
    color: color-mix(in oklab, var(--c-ink) 70%, transparent);
  }
  .work__tab[aria-selected="true"] { color: var(--c-cream); }
  @media (hover: hover) { .work__tab[aria-selected="false"]:hover { color: var(--c-ink); } }
  .work__grid { margin-top: clamp(28px, 4vw, 72px); display: grid; align-items: flex-end; column-gap: 2.5rem; row-gap: 1.75rem; }
  .work__title { font-size: var(--fs-xl); }
  .work__name { display: block; }
  .work__cat { font-weight: 600; }
  .work__desc { margin-top: .5rem; max-width: 46ch; font-size: clamp(1.05rem, 1.25vw, 1.25rem); line-height: 1.375; color: var(--c-ink-2); }
  .work__links { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .625rem; }
  @media (min-width: 64rem) {
    .work__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .work__title { grid-column: span 7 / span 7; }
    .work__meta { grid-column: span 5 / span 5; padding-bottom: .75rem; }
  }

  /* ───────────── Servicios ───────────── */
  .svc { position: relative; overflow: hidden; background-color: var(--c-accent); color: var(--c-cream); }
  .svc__wall { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: right; }
  .svc__tint { position: absolute; inset: 0; background-image: linear-gradient(to right, oklab(var(--rust-lab) / 0.7) 0%, oklab(var(--rust-lab) / 0.5) 50%, oklab(var(--rust-lab) / 0.62) 100%); }
  .svc__lightbox { position: absolute; inset-inline: 0; bottom: 9.2%; top: 0; overflow: hidden; }
  .svc__light { pointer-events: none; position: absolute; left: 0; top: 0; height: clamp(130px, 17vw, 300px); width: clamp(280px, 44vw, 820px); }
  .svc__light .light__bar { opacity: .5; }   /* a11y: keeps the window light from washing out the service names (contrast) */
  .svc__pad { position: relative; padding-block: clamp(96px, 11vw, 190px); }
  .svc__grid { margin-inline: auto; display: grid; max-width: 1760px; column-gap: 2.5rem; row-gap: 2.5rem; }
  .svc__label { font-size: clamp(1.1rem, 1.4vw, 1.5rem); font-weight: 600; }
  .svc__list { margin-top: clamp(18px, 2vw, 36px); }
  .svc__btn { display: block; width: 100%; text-align: left; }
  .svc__n { display: block; }
  .svc__word { display: block; font-size: var(--fs-service); line-height: 1.14; text-shadow: 0 0 .08em oklab(var(--rust-lab) / .8), 0 0 .3em oklab(var(--rust-lab) / .7); transition-property: color; transition-timing-function: var(--ease-std); transition-duration: .5s; }
  .svc__btn[aria-pressed="false"] .svc__word { color: color-mix(in oklab, var(--c-cream) 88%, transparent); }
  .svc__w { position: relative; display: inline-block; white-space: pre; }
  .svc__letters { display: block; }
  .svc__letters i { position: absolute; left: 0; top: 0; font-style: normal; will-change: transform; }
  .svc__detail { padding-bottom: 1.5rem; padding-top: .5rem; }
  .svc__aside { max-width: 40ch; align-self: flex-end; }
  .svc__desc { font-size: clamp(1.15rem, 1.55vw, 1.6rem); line-height: 1.375; }
  .svc__feat { margin-top: 1rem; color: color-mix(in oklab, var(--c-cream) 94%, transparent); }
  .svc__ideal { margin-top: .75rem; color: color-mix(in oklab, var(--c-cream) 94%, transparent); }
  .svc__links { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .625rem; }
  @media not all and (min-width: 64rem) { .svc__aside { display: none; } }
  @media (min-width: 64rem) {
    .svc__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .svc__main { grid-column: span 8 / span 8; }
    .svc__aside { grid-column: span 4 / span 4; padding-bottom: 1.5rem; }
    .svc__detail { display: none; }
  }

  /* ───────────── Proceso ───────────── */
  .proc { background-color: var(--c-stone); padding-block: var(--section); }
  .proc__wrap { margin-inline: auto; max-width: 1680px; }
  .proc__head { display: grid; align-items: flex-end; gap: 1.5rem; }
  .proc__title { font-size: var(--fs-xl); }
  .proc__word { display: block; }
  .proc__intro { display: grid; gap: 1.25rem; }
  .proc__intro p { max-width: 32ch; font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.375; color: var(--c-ink-2); }
  .proc__cta { width: fit-content; }
  @media (min-width: 64rem) {
    .proc__head { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .proc__title { grid-column: span 7 / span 7; }
    .proc__intro { grid-column: span 4 / span 4; grid-column-start: 9; padding-bottom: .75rem; }
  }
  .proc__stage {
    position: relative; margin-top: clamp(36px, 4vw, 64px); display: grid; height: clamp(250px, 42vw, 660px); place-items: center; overflow: hidden;
    border-radius: var(--radius-stage); background-color: var(--c-accent); background-size: cover; background-position: center;
  }
  .proc__win { position: relative; aspect-ratio: 16 / 10.6; height: 84%; overflow: hidden; border-radius: clamp(8px, 1.1vw, 18px); background-color: #1C1915; box-shadow: var(--shadow-window); container-type: inline-size; }
  .proc__chrome { display: flex; height: 4.4cqw; align-items: center; gap: .8cqw; padding-inline: 1.6cqw; }
  .proc__chrome i { display: block; width: 1.1cqw; height: 1.1cqw; border-radius: calc(infinity * 1px); background-color: color-mix(in oklab, var(--c-cream) 25%, transparent); }
  .proc__chrome span { margin-inline: auto; padding-right: 4cqw; font-size: 1.7cqw; font-weight: 600; color: color-mix(in oklab, var(--c-cream) 70%, transparent); }
  .proc__body { position: absolute; inset-inline: 0; bottom: 0; top: 4.4cqw; overflow: hidden; }
  .proc__scene { position: absolute; inset: 0; }
  .proc__fill { position: absolute; inset: 0; }
  .proc__fill > img, .proc__scene > img, .proc__reveal > img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: top; }
  /* 1 · moodboard */
  .mood { background-color: #E9E2D3; }
  .mood > * { position: absolute; border-radius: 1cqw; }
  .mood > i { display: block; }
  .mood__a { left: 4%; top: 7%; height: 52%; width: 38%; }
  .mood__b { left: 44.5%; top: 7%; height: 30%; width: 30%; }
  .mood__c { left: 77%; top: 7%; height: 52%; width: 19%; }
  .mood__type { left: 44.5%; top: 41%; display: flex; height: 18%; width: 30%; align-items: center; justify-content: center; background-color: #22160E; font-size: 5.4cqw; font-weight: 700; letter-spacing: -.04em; color: #F4E7D2; }
  .mood__palette { left: 4%; top: 63%; display: flex; height: 30%; width: 38%; overflow: hidden; }
  .mood__palette i { display: block; flex: 1 1 0%; }
  .mood__d { left: 44.5%; top: 63%; height: 30%; width: 24%; }
  .mood__e { left: 71%; top: 63%; height: 30%; width: 25%; }
  /* 2 · wireframe */
  .wire { position: absolute; inset: 0; height: 100%; width: 100%; background-color: #FBFAF6; }
  /* 3 · design */
  .pick { position: absolute; left: 22%; top: 24%; height: 19%; width: 56%; border: 2px solid var(--c-orange); }
  .pick i { position: absolute; display: block; width: .5rem; height: .5rem; border: 2px solid var(--c-orange); background-color: #fff; }
  .pick i:nth-child(1) { left: -.25rem; top: -.25rem; }
  .pick i:nth-child(2) { right: -.25rem; top: -.25rem; }
  .pick i:nth-child(3) { left: -.25rem; bottom: -.25rem; }
  .pick i:nth-child(4) { right: -.25rem; bottom: -.25rem; }
  .proc__fill > img.cursor { inset: auto; left: 77%; top: 42%; width: 3.6cqw; height: auto; object-fit: fill; object-position: 50% 50%; }
  /* 4 · build */
  .build { display: flex; background-color: #141210; }
  .build pre { width: 40%; overflow: hidden; padding: 2.4cqw; font-family: var(--font-mono); font-size: 1.75cqw; line-height: 1.95; }
  .build pre span { display: block; white-space: pre; }
  .proc__reveal { position: relative; flex: 1 1 0%; overflow: hidden; }
  .proc__phone {
    visibility: hidden; position: absolute; bottom: 7%; right: clamp(10px, 7.5vw, 150px); z-index: 3; height: 66%; width: auto;
    border-radius: clamp(8px, 1.3vw, 22px); box-shadow: var(--sh0), 0 0 0 clamp(3px, .35vw, 6px) #0B0B0B, 0 30px 50px -20px rgba(60, 20, 0, .7);
  }
  .proc__tabs { margin-top: .75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  @media not all and (min-width: 64rem) { .proc__tab:last-child { grid-column: span 2 / span 2; } }
  .proc__tab button {
    display: flex; height: 100%; width: 100%; flex-direction: column; overflow: hidden; border-radius: 12px; padding: clamp(16px, 1.5vw, 26px); text-align: left;
    transition-property: var(--tp-colors); transition-timing-function: var(--ease-std); transition-duration: .5s;
    background-color: var(--c-cream);
  }
  .proc__tab button[aria-selected="true"] { background-color: var(--c-ink); color: var(--c-cream); }
  @media (hover: hover) { .proc__tab button[aria-selected="false"]:hover { background-color: #fff; } }
  .proc__name { font-size: clamp(1.2rem, 1.75vw, 2rem); line-height: 1; }
  .proc__text { margin-top: .75rem; display: none; line-height: 1.375; color: var(--c-ink-2); }
  .proc__tab button[aria-selected="true"] .proc__text { color: color-mix(in oklab, var(--c-cream) 75%, transparent); }
  .proc__bar { position: absolute; inset-inline: 0; bottom: 0; display: block; height: .25rem; transform-origin: 0; scale: 0% 100%; background-color: var(--c-orange); }
  /* Pause / resume for the steps that advance on their own (WCAG 2.2.2); only shown while animations are on */
  .proc__pause { position: absolute; z-index: 5; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: 0 1em; border-radius: 10px; background-color: var(--c-cream); color: var(--c-ink); font-size: .9rem; font-weight: 600; line-height: 1; }
  .proc__pause:focus-visible { outline-offset: -4px; outline-color: var(--c-ink); }
  .proc__pause .i-play, .proc__pause.is-paused .i-pause { display: none; }
  .proc__pause.is-paused .i-play { display: inline; }
  .proc__now { margin-top: 1.25rem; display: grid; }
  .proc__now p { grid-column-start: 1; grid-row-start: 1; max-width: 52ch; font-size: 1.05rem; line-height: 1.375; transition-property: opacity; transition-timing-function: var(--ease-std); transition-duration: .5s; opacity: 0; }
  .proc__now p[aria-hidden="false"] { opacity: 1; }
  @media (min-width: 64rem) {
    .proc__tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
    .proc__tab button { border-radius: 14px; }
    .proc__text { display: block; }
    .proc__now { display: none; }
  }

  /* ───────────── Estudio ───────────── */
  .studio { position: relative; background-color: var(--c-cream); color: var(--c-ink); }
  .studio__open { position: relative; overflow: hidden; background-color: var(--c-accent-deep); color: var(--c-cream); }
  .studio__room { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: 78% 60%; }
  .studio__tint { position: absolute; inset: 0; background-image: linear-gradient(to right, oklab(var(--rust-lab) / 0.6) 0%, oklab(var(--rust-lab) / 0.15) 50%, transparent 100%); }
  .studio__over { position: relative; display: flex; min-height: max(56vw, 620px); flex-direction: column; justify-content: space-between; gap: 3.5rem; padding-block: clamp(90px, 9vw, 150px); }
  @media not all and (min-width: 64rem) {
    .studio__tint { background-image: linear-gradient(to bottom, oklab(var(--rust-lab) / 0.6) 0%, oklab(var(--rust-lab) / 0.15) 50%, transparent 100%); }
    .studio__over { min-height: 150vw; }
    .studio__lede { display: none; }
  }
  .studio__title { max-width: 15ch; font-size: var(--fs-studio); }
  .studio__w { display: inline-block; }
  .studio__lede { max-width: 34ch; font-size: clamp(1.1rem, 1.4vw, 1.45rem); line-height: 1.375; }
  .studio__body { padding-block: var(--section); }
  .studio__wrap { margin-inline: auto; max-width: 1760px; }
  .studio__feats { display: grid; column-gap: clamp(28px, 4vw, 80px); row-gap: clamp(36px, 4vw, 64px); }
  @media (min-width: 40rem) { .studio__feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (min-width: 64rem) { .studio__feats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .studio__feats h3 { font-size: clamp(1.4rem, 1.9vw, 2.1rem); font-weight: 600; line-height: 1.25; letter-spacing: -.03em; }
  .studio__feats p { margin-top: .625rem; max-width: 36ch; font-size: 1.08rem; line-height: 1.375; color: var(--c-ink-2); }
  .studio__founder { margin-top: clamp(80px, 9vw, 160px); display: grid; column-gap: 2.5rem; row-gap: 2rem; }
  .studio__quote { font-size: var(--fs-quote); font-weight: 500; line-height: 1.14; letter-spacing: -.035em; }
  .studio__name { font-weight: 600; }
  .studio__role { color: var(--c-ink-2); }
  .studio__links { margin-top: 1.25rem; display: flex; flex-wrap: wrap; column-gap: 1.25rem; row-gap: .5rem; font-weight: 600; }
  @media (min-width: 64rem) {
    .studio__founder { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .studio__quote { grid-column: span 9 / span 9; }
    .studio__who { grid-column: span 3 / span 3; }
  }

  /* ───────────── Preguntas ───────────── */
  .faq { background-color: var(--c-cream); padding-block: var(--section); }
  .faq__grid { margin-inline: auto; display: grid; max-width: 1680px; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .faq__title { font-size: var(--fs-faq); }
  .faq__tl { display: block; }
  .faq__lede { margin-top: 1.5rem; max-width: 34ch; font-size: clamp(1.05rem, 1.3vw, 1.25rem); line-height: 1.375; color: var(--c-ink-2); }
  .faq__chips { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
  .faq__chip {
    min-height: 44px; gap: .5rem; border-color: color-mix(in oklab, var(--c-ink) 20%, transparent);
    transition-property: var(--tp-colors); transition-timing-function: var(--ease-std); transition-duration: .3s;
  }
  .faq__chip span { font-size: .75rem; line-height: calc(1 / .75); color: var(--c-ink-2); }
  @media (hover: hover) { .faq__chip:not(.is-on):hover { border-color: var(--c-ink); } }
  .faq__chip.is-on { border-color: var(--c-ink); background-color: var(--c-ink); color: var(--c-cream); }
  .faq__chip.is-on span { color: var(--c-orange); }
  .faq__more { position: relative; margin-top: 3rem; display: none; border-radius: var(--radius-card); background-color: var(--c-ink); padding: clamp(22px, 2.2vw, 32px); color: var(--c-cream); }
  .faq__more-t { font-size: clamp(1.6rem, 2.2vw, 2.3rem); line-height: 1; }
  .faq__more-p { margin-top: .75rem; line-height: 1.375; color: color-mix(in oklab, var(--c-cream) 70%, transparent); }
  .faq__more-row { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .625rem; }
  .faq__more-mail { margin-top: .75rem; display: inline-block; word-break: break-all; padding-block: .25rem; font-size: .875rem; line-height: calc(1.25 / .875); font-weight: 700; color: color-mix(in oklab, var(--c-cream) 80%, transparent); }
  .faq__list { display: grid; gap: .625rem; }
  .faq__item {
    border-radius: var(--radius-card); background-color: color-mix(in oklab, #fff 70%, transparent); padding-inline: clamp(18px, 2vw, 32px);
    transition-property: var(--tp-colors); transition-timing-function: var(--ease-std); transition-duration: .5s;
  }
  @media (hover: hover) { .faq__item:hover { background-color: #fff; } }
  .faq__q { position: relative; display: flex; cursor: pointer; list-style-type: none; align-items: center; gap: 1.25rem; padding-block: clamp(20px, 2vw, 28px); }
  .faq__q::-webkit-details-marker { display: none; }
  .faq__q h3 { position: relative; flex: 1 1 0%; font-weight: 500; letter-spacing: -.03em; font-size: clamp(1.2rem, 1.65vw, 1.75rem); line-height: 1.12; }
  .faq__icon {
    position: relative; display: grid; width: 3rem; height: 3rem; flex-shrink: 0; place-items: center; border-radius: calc(infinity * 1px);
    border: 1.5px solid var(--c-ink); font-size: 1.25rem; line-height: calc(1.75 / 1.25);
    transition-property: var(--tp-colors); transition-timing-function: var(--ease-std); transition-duration: .3s;
  }
  @media (hover: hover) { .faq__q:hover .faq__icon { background-color: var(--c-orange); } }
  .faq__item.is-open .faq__icon { background-color: var(--c-ink); color: var(--c-cream); }
  .faq__icon svg { flex-shrink: 0; }
  .faq__a { overflow: hidden; }
  .faq__a p { max-width: 62ch; padding-bottom: 2rem; padding-right: clamp(0px, 6vw, 72px); font-size: clamp(1.02rem, 1.2vw, 1.18rem); line-height: 1.625; color: var(--c-ink-2); }
  .faq__a p span { margin-bottom: .75rem; display: block; font-size: .75rem; line-height: calc(1 / .75); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--c-ink-2); }
  .faq__more2 { position: relative; margin-top: 2.5rem; overflow: hidden; border-radius: var(--radius-card); background-color: var(--c-ink); padding: 1.5rem; color: var(--c-cream); }
  .faq__more2 .display { font-size: 1.7rem; line-height: 1; }
  .faq__more2 .faq__more-p { margin-top: .75rem; }
  .faq__more2 .btn { margin-top: 1.5rem; }
  .faq__more2 .link { margin-top: 1rem; display: block; width: fit-content; padding-block: .25rem; font-size: .875rem; line-height: calc(1.25 / .875); font-weight: 700; color: color-mix(in oklab, var(--c-cream) 80%, transparent); overflow-wrap: anywhere; }
  @media (min-width: 64rem) {
    .faq__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 80px); }
    .faq__side { grid-column: span 5 / span 5; }
    .faq__sticky { position: sticky; top: 110px; }
    .faq__main { grid-column: span 7 / span 7; }
    .faq__more { display: block; }
    .faq__more2 { display: none; }
  }

  /* ───────────── Contacto ───────────── */
  .contact {
    position: relative; display: flex; min-height: max(100svh, 640px); flex-direction: column; justify-content: space-between; overflow: hidden;
    background-color: var(--c-night); padding-bottom: clamp(36px, 3.4vw, 60px); padding-top: clamp(100px, 17vh, 190px); color: var(--c-cream);
  }
  .contact__room, .contact__day { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; }
  .contact__day { opacity: 0; transition-property: opacity; transition-timing-function: var(--ease-std); transition-duration: 1.1s; }
  .contact__day.is-on { opacity: 1 !important; }
  .contact__tint { position: absolute; inset: 0; background-image: linear-gradient(to top, #0B0B0B 0%, oklab(var(--ink-lab) / 0.1) 50%, transparent 100%); }
  @media not all and (min-width: 48rem) { .contact__tint { background-image: linear-gradient(to top, #0B0B0B 0%, oklab(var(--ink-lab) / 0.7) 50%, transparent 100%); } }
  .contact__wrap { position: relative; margin-inline: auto; display: flex; width: 100%; max-width: 1760px; flex: 1 1 0%; flex-direction: column; justify-content: space-between; }
  .contact__title { text-align: center; font-size: var(--fs-contact); }
  .contact__line, .contact__line > span { display: block; }
  .contact__grid { margin-top: clamp(32px, 4vw, 64px); display: grid; gap: 3rem; }
  .contact__lede { max-width: 40ch; font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.375; }
  .contact__cta { margin-top: 1.75rem; }
  .contact__label { font-size: .875rem; line-height: calc(1.25 / .875); font-weight: 700; }
  .contact__mailrow { margin-top: .5rem; display: flex; flex-wrap: wrap; align-items: center; column-gap: 1rem; row-gap: .75rem; }
  .contact__mail { margin-block: -.25rem; display: inline-block; word-break: break-all; padding-block: .25rem; font-size: clamp(1.05rem, 5.2vw, 2.2rem); font-weight: 700; line-height: 1.25; }
  .contact__copy {
    border-color: color-mix(in oklab, var(--c-cream) 60%, transparent);
    transition-property: var(--tp-colors); transition-timing-function: var(--ease-std); transition-duration: .15s;
  }
  @media (hover: hover) { .contact__copy:hover { background-color: var(--c-cream); color: var(--c-ink); } }
  @media (min-width: 64rem) {
    .contact__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: flex-end; }
    .contact__left { grid-column: span 6 / span 6; }
    .contact__right { grid-column: span 5 / span 5; grid-column-start: 8; }
    .contact__mail { font-size: clamp(1.3rem, 2.2vw, 2.4rem); }
  }

  /* ───────────── Footer ───────────── */
  .foot { overflow: hidden; background-color: var(--c-ink); padding-top: clamp(64px, 8vw, 120px); color: var(--c-cream); }
  .foot__wrap { margin-inline: auto; max-width: 1680px; }
  .foot__grid { display: grid; gap: 3rem; }
  .foot__logo { display: inline-flex; align-items: center; gap: .5em; font-size: 22px; font-weight: 900; letter-spacing: -.01em; line-height: 1; color: var(--c-cream); }
  .foot__logo .logo__word { color: var(--c-cream); }
  .foot__tag { margin-top: 1rem; max-width: 30ch; color: color-mix(in oklab, var(--c-cream) 70%, transparent); }
  .foot__h { font-size: .875rem; line-height: calc(1.25 / .875); font-weight: 700; color: var(--c-sand); }
  .foot__list { margin-top: 1rem; display: grid; gap: .625rem; }
  .foot__mail { word-break: break-all; }
  .foot__quote { color: var(--c-orange); }
  .foot__lang { margin-top: 1rem; display: flex; gap: 1rem; }
  .foot__lang a { margin-block: -.5rem; display: inline-flex; min-height: 40px; min-width: 32px; align-items: center; justify-content: center; font-weight: 700; text-transform: uppercase; color: color-mix(in oklab, var(--c-cream) 65%, transparent); }
  .foot__lang a[aria-current="true"] { color: var(--c-cream); }
  @media (hover: hover) { .foot__lang a:hover { color: var(--c-cream); } }
  .foot__motion { margin-top: .75rem; text-align: left; color: color-mix(in oklab, var(--c-cream) 75%, transparent); }
  .foot__base { margin-top: clamp(48px, 6vw, 96px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 2rem; row-gap: 1rem; padding-block: 1.5rem; font-size: .875rem; line-height: calc(1.25 / .875); color: var(--c-sand); }
  .foot__legal { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.5rem; row-gap: .75rem; }
  .foot__legal .link, .foot__top { margin-block: -.625rem; display: inline-flex; min-height: 44px; align-items: center; }
  .foot__top { gap: .5rem; }
  @media (min-width: 40rem) {
    .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .foot__brand { grid-column: span 2 / span 2; }
  }
  @media (min-width: 64rem) {
    .foot__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .foot__brand { grid-column: span 3 / span 3; }
    .foot__col { grid-column: span 2 / span 2; }
    .foot__col--first { grid-column-start: 4; }
    .foot__col--wide { grid-column: span 3 / span 3; }
  }

  /* ───────────── Cookie panel ───────────── */
  .cookie { position: fixed; bottom: max(12px, env(safe-area-inset-bottom)); left: max(12px, env(safe-area-inset-left)); z-index: 150; width: min(360px, calc(100vw - 24px)); }
  .cookie__card { position: relative; border-radius: var(--radius-card); border: 1.5px solid var(--c-ink); background-color: var(--c-cream); padding: 1rem; box-shadow: var(--shadow-card); }
  @media (min-width: 40rem) { .cookie__card { padding: 1.25rem; } }
  .cookie__title { font-size: 1.35rem; line-height: 1; }
  .cookie__title--lg { font-size: 1.6rem; }
  .cookie__text { margin-top: .625rem; font-size: .875rem; line-height: 1.375; color: var(--c-ink-2); }
  .cookie__text a { font-weight: 600; color: var(--c-ink); text-decoration-line: underline; text-decoration-color: var(--c-orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
  .cookie__pair { margin-top: 1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .cookie__pair .btn { justify-content: center; }
  .cookie__pair--sm .btn { min-height: 44px; padding-inline: .75rem; padding-block: .5rem; font-size: .875rem; line-height: calc(1.25 / .875); }
  .cookie__more { margin-top: .75rem; font-size: .875rem; line-height: calc(1.25 / .875); font-weight: 700; }
  .cookie__list { margin-top: 1rem; display: grid; gap: .75rem; }
  .cookie__opt { border-radius: 16px; background-color: var(--c-paper); padding: .875rem; }
  .cookie__opt label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .cookie__opt label.is-fixed { cursor: default; }
  .cookie__name { font-weight: 700; }
  .cookie__always { font-size: .875rem; line-height: calc(1.25 / .875); font-weight: 600; color: var(--c-ink-2); }
  .cookie__opt p { margin-top: .375rem; font-size: .875rem; line-height: 1.375; color: var(--c-ink-2); }
  .switch { position: relative; display: inline-flex; }
  .switch__track { height: 1.75rem; width: 3rem; border-radius: calc(infinity * 1px); background-color: color-mix(in oklab, var(--c-ink) 25%, transparent); transition-property: var(--tp-colors); transition-timing-function: var(--ease-std); transition-duration: .3s; }
  .switch__knob { position: absolute; left: .25rem; top: .25rem; width: 1.25rem; height: 1.25rem; border-radius: calc(infinity * 1px); background-color: var(--c-cream); box-shadow: var(--sh0), 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1); transition-property: transform, translate, scale, rotate; transition-timing-function: var(--ease-kick); transition-duration: .3s; }
  .switch input:checked ~ .switch__track { background-color: var(--c-orange); }
  .switch input:checked ~ .switch__knob { translate: 1.25rem 0; }
  .switch input:focus-visible ~ .switch__track { outline: 3px solid var(--c-ink); outline-offset: 2px; }
  .cookie__pair--lg { margin-top: 1.25rem; gap: .625rem; }
  .cookie__save { margin-top: .625rem; width: 100%; justify-content: center; }
  .cookie__back { margin-top: 1rem; font-size: .875rem; line-height: calc(1.25 / .875); font-weight: 700; }

  /* route-transition layer (unused on a single page; kept so the layer stack matches) */
  .curtain { pointer-events: none; position: fixed; inset: 0; z-index: 400; display: none; }
  /* back on the home page from another page of the site: no intro cover; after its home link the route iris reopens here */
  html[data-return] [data-intro] { display: none; }
  html[data-motion="full"][data-return="link"] .curtain { display: block; background: #0B0B0B; }
}

/* ───────────── Scroll smoothness: promote the big moving layers, isolate repaints ───────────── */
.hero__zoom, .hero__pan, .work__room { will-change: transform; backface-visibility: hidden; }
.hdr__bar { transform: translateZ(0); }

/* Header logo: icon and wordmark centred in the pill, at every scheme */
.hdr__logo { display: flex; align-items: center; justify-content: center; }
.hdr__mark { display: flex; align-items: center; line-height: 1; }
.hdr__mark .logo { display: flex; align-items: center; height: 100%; }
.hdr__mark .logo__icon { align-self: center; }
