/* Bruno Bonnier — site styles.
   Brand kept from brunobonnier.com: Montserrat throughout, the serif wordmark (logo),
   sand #D8D2C7, charcoal #22232B, night #141618, navy ink. */

@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(/assets/fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(/assets/fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --sand: #D8D2C7;
  --sand-2: #E3DED4;
  --paper: #EEEAE3;
  --ink: #1B2233;          /* the site's navy ink, made solid */
  --ink-2: #3A4152;
  --muted: #474C57;
  --line: rgba(27, 34, 51, .18);
  --charcoal: #22232B;
  --night: #141618;
  --night-2: #1C1E22;
  --on-night: #EDE9E1;
  --on-night-2: #A9A59C;
  --line-night: rgba(237, 233, 225, .16);

  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.19, 1, .22, 1);        /* expo out: long, soft landings */
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1280px;
  --header-h: 84px;
  --radius: 2px;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--sand); color: var(--ink-2);
  font: 400 16px/1.75 var(--font); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  /* A whisper of paper grain; static, no extra request. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .15 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; background-size: cover; background-position: center; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 300; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1.5px solid currentColor; outline-offset: 4px; }
::selection { background: var(--charcoal); color: var(--sand); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--charcoal); color: #fff; padding: 10px 16px; transition: top .2s; }
.skip:focus { top: 12px; }
.i { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: calc(780px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.section { padding-block: clamp(88px, 12vw, 168px); }
.section-sm { padding-block: clamp(64px, 8vw, 112px); }
.sand-2 { background-color: var(--sand-2); }
.hide-sm { visibility: hidden; }
@media (min-width: 700px) { .hide-sm { visibility: visible; } }

/* ---------- Type ---------- */
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 22px; }
.display { font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.08; letter-spacing: -.015em; font-weight: 300; }
p.display-sm, .display-sm { color: var(--ink); }
.display-sm { font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.14; letter-spacing: -.01em; font-weight: 300; margin-bottom: 28px; }
.title-spaced { font-size: clamp(.95rem, 1.3vw, 1.08rem); font-weight: 400; letter-spacing: .26em; text-transform: uppercase; line-height: 1.6; color: var(--ink); }
.title-spaced.lg { font-size: clamp(1.05rem, 1.7vw, 1.3rem); letter-spacing: .3em; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.7; font-weight: 300; color: var(--ink); }
.pull { font-size: clamp(1.5rem, 2.8vw, 2.35rem); line-height: 1.35; font-weight: 300; color: var(--ink); letter-spacing: -.005em; margin: 0; }
.prose p { max-width: 58ch; }
.section-head { margin-bottom: clamp(48px, 7vw, 88px); }
.section-head .lede { max-width: 62ch; margin: 24px auto 0; }

/* ---------- Wordmark (client logo as a mask, takes currentColor) ---------- */
.wordmark {
  display: inline-block; aspect-ratio: 1200 / 119; width: 150px; background: currentColor;
  -webkit-mask: url(/assets/img/wordmark.png) center / contain no-repeat;
          mask: url(/assets/img/wordmark.png) center / contain no-repeat;
}
.wordmark.lockup { aspect-ratio: 1000 / 197; -webkit-mask-image: url(/assets/img/lockup.png); mask-image: url(/assets/img/lockup.png); }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--charcoal); --fg: #fff; --bd: var(--charcoal); --wipe: var(--night); --wipe-fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; isolation: isolate;
  min-height: 52px; padding: 16px 34px; border: 1px solid var(--bd); border-radius: var(--radius);
  background: var(--bg); color: var(--fg); font-size: 13px; font-weight: 500; letter-spacing: .2em; line-height: 1.2;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--wipe); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn:hover, .btn:focus-visible { color: var(--wipe-fg); border-color: var(--wipe); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 11px 22px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.btn-light { --bg: var(--sand); --fg: var(--ink); --bd: var(--sand); --wipe: #fff; --wipe-fg: var(--ink); }
.btn-outline { --bg: transparent; --fg: var(--sand); --bd: rgba(216, 210, 199, .7); --wipe: var(--sand); --wipe-fg: var(--night); }
.btn-outline-dark { --bg: transparent; --fg: var(--ink); --bd: var(--ink); --wipe: var(--charcoal); --wipe-fg: #fff; }
.link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; letter-spacing: .2em; color: var(--ink); padding-block: 8px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.link:hover, .link:focus-visible { background-size: 100% 1px; }
.link .i { transition: transform .5s var(--ease); }
.link:hover .i { transform: translateX(6px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-top: 40px; }
.actions.center { justify-content: center; }

/* ---------- Header ---------- */
/* Cookie banner. The three buttons carry the same weight on purpose: under AEPD
   guidance refusing has to be as easy as accepting, so none of them is the loud one. */
.cookie-bar { position: fixed; z-index: 70; left: var(--gutter); right: var(--gutter); bottom: 20px;
  max-width: 620px; margin-inline: auto; padding: 22px 24px; background: var(--paper); color: var(--ink);
  border: 1px solid rgba(27, 34, 51, .1); box-shadow: 0 16px 50px rgba(10, 11, 13, .22);
  opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.cookie-bar.is-in { opacity: 1; transform: none; }
.cookie-bar p { margin: 0 0 16px; font-size: 14px; line-height: 1.6; }
.cookie-bar a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-opts { display: grid; gap: 10px; margin-bottom: 16px; font-size: 13.5px; }
/* display:grid would otherwise defeat the hidden attribute. */
.cookie-opts[hidden] { display: none; }
.cookie-opts label { display: flex; align-items: center; gap: 10px; }
.cookie-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-acts button { flex: 1 1 auto; min-height: 44px; padding: 10px 18px; font: inherit; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; cursor: pointer;
  background: none; color: var(--ink); border: 1px solid rgba(27, 34, 51, .35); transition: background-color .3s, color .3s; }
.cookie-acts button:hover { background: var(--ink); color: var(--paper); }

/* The journal article exists only in English; say so where it is linked. */
.lang-tag { font-size: .75em; letter-spacing: .12em; opacity: .55; }

/* Language suggestion: offered to visitors whose browser asks for another language. */
.lang-offer { position: fixed; z-index: 60; left: var(--gutter); bottom: 20px; display: flex; align-items: center; gap: 18px;
  padding: 12px 18px; background: var(--sand); color: var(--ink); border-radius: 2px;
  box-shadow: 0 10px 40px rgba(10, 11, 13, .18); font-size: 13px; letter-spacing: .04em;
  opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.lang-offer.is-in { opacity: 1; transform: none; }
.lang-offer a { text-decoration: underline; text-underline-offset: 4px; }
/* .6 medido en 3,69:1 sobre --sand, por debajo del minimo para 13px. .7 da 4,81
   y el boton sigue leyendose como la opcion secundaria que es. */
.lang-offer button { font: inherit; letter-spacing: inherit; color: inherit; opacity: .7; background: none; border: 0; cursor: pointer; padding: 4px; }
.lang-offer button:hover { opacity: 1; }
@media (max-width: 600px) { .lang-offer { left: var(--gutter); right: var(--gutter); justify-content: space-between; } }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--ink); transition: transform .6s var(--ease), background-color .5s, color .5s, box-shadow .5s; }
.site-header .bar { display: flex; align-items: center; gap: 24px; height: var(--header-h); padding-inline: var(--gutter); max-width: calc(1440px + 2 * var(--gutter)); margin-inline: auto; }
.site-header .brand { display: inline-flex; padding-block: 10px; margin-right: auto; }
.site-header .brand .wordmark { width: clamp(118px, 12vw, 150px); }
.site-header.is-solid { background: rgba(216, 210, 199, .9); -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.has-hero .site-header:not(.is-solid) { color: #fff; }
.has-hero .site-header:not(.is-solid) .header-cta { --bg: transparent; --bd: rgba(255,255,255,.6); --wipe: #fff; --wipe-fg: var(--ink); }
.primary { display: none; }
.primary ul { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.primary a, .lang { position: relative; font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; padding-block: 8px; }
.primary a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.primary a:hover::after, .primary a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.bar-end { display: flex; align-items: center; gap: 18px; }
.lang { display: inline-flex; gap: 8px; align-items: center; }
.lang span { opacity: .5; transition: opacity .3s; }
.lang span.on, .lang:hover span { opacity: 1; }
.bar-end > .lang, .header-cta { display: none; }
.menu-toggle { position: relative; width: 44px; height: 44px; margin-right: -10px; }
.menu-toggle i { position: absolute; left: 11px; right: 11px; height: 1px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-toggle i:first-of-type { top: 18px; } .menu-toggle i:last-of-type { top: 25px; }
.menu-open .menu-toggle i:first-of-type { top: 21.5px; transform: rotate(45deg); }
.menu-open .menu-toggle i:last-of-type { top: 21.5px; transform: rotate(-45deg); }
.menu-open .site-header { color: var(--ink) !important; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (min-width: 980px) {
  .primary { display: block; }
  .bar-end > .lang, .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 40; background: var(--sand); display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header-h) + 5vh) var(--gutter) max(32px, env(safe-area-inset-bottom)); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); }
.drawer.is-open { clip-path: inset(0 0 0 0); }
.drawer li a { display: block; font-size: clamp(2rem, 9vw, 3rem); font-weight: 300; line-height: 1.35; color: var(--ink); opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease); transition-delay: calc(.12s + var(--i) * .06s); }
.drawer.is-open li a { opacity: 1; transform: none; }
.drawer li a[aria-current] { font-style: normal; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
.drawer-foot { display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 24px; }
.drawer-foot .lang { margin-top: 8px; font-size: 13px; }
.menu-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero, .page-hero { position: relative; overflow: hidden; background: var(--night); color: #fff; }
.hero { height: 100vh; height: 100svh; min-height: 560px; display: grid; place-items: center; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease-io); }
.hero-media .slide.is-on { opacity: 1; }
.hero-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 9s cubic-bezier(.25, .1, .25, 1); will-change: transform; }
.hero-media.is-ready .is-on .hero-img, .page-hero .hero-media.is-ready .hero-img { transform: scale(1); }
.hero-media .slide:not(.is-on) .hero-img { transition-duration: 0s; transition-delay: 1.8s; }
.hero-shade { background: linear-gradient(180deg, rgba(10,11,13,.55) 0%, rgba(10,11,13,.18) 32%, rgba(10,11,13,.24) 64%, rgba(10,11,13,.72) 100%); }
.hero-copy { position: relative; z-index: 1; text-align: center; padding-inline: var(--gutter); }
.hero-title { color: #fff; display: grid; justify-items: center; gap: clamp(18px, 2.4vw, 28px); font-weight: 400; }
.hero-mark { width: clamp(250px, 46vw, 640px); color: #fff; }
.hero-tag { font-size: clamp(11px, 1.2vw, 14px); font-weight: 400; letter-spacing: .42em; text-transform: uppercase; padding-left: .42em; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: max(26px, env(safe-area-inset-bottom)); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.82); z-index: 1; }
.hero-foot > span:last-child { text-align: right; }
.scroll-cue { display: grid; justify-items: center; gap: 14px; padding: 6px 10px; }
.scroll-cue i { width: 1px; height: 56px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; inset: 0; background: #fff; transform: translateY(-100%); animation: cue 2.6s var(--ease-io) infinite 2.4s; }
@keyframes cue { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* Inner page hero */
.page-hero { min-height: 74vh; min-height: 74svh; display: flex; align-items: flex-end; }
.page-hero .hero-shade { background: linear-gradient(180deg, rgba(10,11,13,.5) 0%, rgba(10,11,13,.12) 35%, rgba(10,11,13,.7) 100%); }
/* Bright photos (pale tablecloths) need a deeper shade under the headline. */
.page-hero.hero-light .hero-shade { background: linear-gradient(180deg, rgba(10,11,13,.5) 0%, rgba(10,11,13,.2) 30%, rgba(10,11,13,.6) 72%, rgba(10,11,13,.86) 100%); }
.page-hero-copy { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(48px, 8vw, 96px); }
.page-hero .eyebrow, .eyebrow.light { color: rgba(255,255,255,.85); }
.page-hero .display { color: #fff; max-width: 15ch; }
.page-hero .lede { color: rgba(255,255,255,.88); max-width: 50ch; margin-top: 24px; }

/* ---------- Intro + tiles ---------- */
.intro .display-sm { max-width: 18ch; margin-inline: auto; }
.intro .lede { max-width: 60ch; margin-inline: auto; }
.tiles { display: grid; gap: 56px; margin-top: clamp(72px, 10vw, 136px); }
.tile { display: block; }
.tile-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand-2); }
.tile-media img, .split-media img, .service-media img { width: 100%; height: 100%; object-fit: cover; }
.tile-media img[data-parallax], .split-media img[data-parallax] { height: 116%; margin-top: -8%; }
.tile-cap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 0; border-bottom: 1px solid var(--line); padding-bottom: 18px; color: var(--ink); }
.tile-cap .i { transition: transform .6s var(--ease); }
.tile:hover .tile-cap .i { transform: translateX(8px); }
.tile .tile-media img { transition: scale 1.4s var(--ease); }
.tile:hover .tile-media img { scale: 1.04; }
@media (min-width: 900px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
  .tile-offset { margin-top: clamp(80px, 12vw, 180px); }
}

/* ---------- Night band ---------- */
.band-night { background-color: var(--night); color: var(--on-night-2); }
.band-night h2, .band-night h3, .band-night .title-spaced, .band-night .display-sm, .band-night .lede { color: var(--on-night); }
.band-night .eyebrow { color: var(--on-night-2); }
.band-night .link { color: var(--on-night); }
.services { display: grid; gap: 64px; counter-reset: s; }
.service-media { display: block; aspect-ratio: 3 / 4; overflow: hidden; margin-bottom: 28px; background: var(--night-2); }
.service-media img { transition: scale 1.4s var(--ease), filter 1s; filter: saturate(.9); }
.service:hover .service-media img { scale: 1.05; filter: saturate(1); }
.service-n { font-size: 12px; letter-spacing: .3em; margin-bottom: 10px; color: var(--on-night-2); text-transform: uppercase; }
.service-title { font-size: clamp(1.4rem, 2vw, 1.7rem); font-weight: 300; margin-bottom: 14px; letter-spacing: 0; }
.service p { max-width: 42ch; }
.service .btn { margin-top: 10px; }
@media (min-width: 900px) {
  .services { grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.4vw, 56px); }
  .service:nth-child(2) { margin-top: 72px; }
}

.areas { margin-top: clamp(64px, 8vw, 104px); padding-top: 36px; border-top: 1px solid var(--line-night); text-align: center; }
.areas ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.areas a { color: var(--on-night); font-size: 14px; letter-spacing: .04em; border-bottom: 1px solid var(--line-night); padding-bottom: 2px; transition: border-color .3s; }
.areas a:hover { border-color: var(--on-night); }

/* ---------- Counters ---------- */
.counters { border-block: 1px solid var(--line); background-color: var(--sand-2); }
/* Flex rather than grid: there are five figures, so a leftover row has to centre
   instead of hanging to the left of an empty column. */
.counter-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px 24px; text-align: center; }
.counter-grid > li { flex: 0 1 calc(50% - 12px); }
.count { display: block; font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 300; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.count-label { display: block; margin-top: 14px; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); line-height: 1.6; }
@media (min-width: 700px) { .counter-grid > li { flex-basis: calc(33.333% - 16px); } }
@media (min-width: 1100px) { .counter-grid > li { flex-basis: calc(20% - 20px); } }

/* ---------- Split (image + copy) ---------- */
.split { display: grid; gap: 48px; align-items: center; }
.split-media { overflow: hidden; background: var(--sand-2); }
.split-media.portrait { aspect-ratio: 4 / 5; }
.split-media.landscape { aspect-ratio: 4 / 3; }
.band-night .split-media { background: var(--night-2); }
.split-copy .link { margin-top: 12px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 6fr; gap: clamp(56px, 8vw, 128px); }
  .split-rev { grid-template-columns: 6fr 5fr; }
  .split-rev .split-media { order: 2; }
  .split .split-media.landscape { align-self: center; }
}

/* ---------- Discretion ---------- */
.discretion { position: relative; overflow: hidden; background: var(--night); color: rgba(255,255,255,.86); min-height: 88vh; min-height: 88svh; display: flex; align-items: center; }
.discretion-media { position: absolute; inset: -8% 0; }
.discretion-media img { width: 100%; height: 100%; object-fit: cover; }
.discretion::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,13,.82) 0%, rgba(10,11,13,.55) 45%, rgba(10,11,13,.1) 100%); }
.discretion-copy { position: relative; z-index: 1; padding-block: 120px; }
.discretion-copy > * { max-width: 520px; }
.discretion .eyebrow { color: rgba(255,255,255,.8); }
.discretion .display-sm { color: #fff; }
@media (max-width: 700px) { .discretion::after { background: linear-gradient(180deg, rgba(10,11,13,.45), rgba(10,11,13,.82)); } .discretion { align-items: flex-end; } }

/* ---------- Reviews ---------- */
.reviews { background-color: var(--sand-2); overflow: hidden; }
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: clamp(40px, 5vw, 64px); }
.reviews-head .title-spaced { margin: 0; }
.reviews-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.rating { display: inline-flex; align-items: center; gap: 16px; color: var(--ink); }
.rating-n { font-size: 2.6rem; font-weight: 300; line-height: 1; }
.rating-side { display: grid; gap: 4px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.stars { display: inline-flex; gap: 3px; color: var(--ink); }
.stars svg { width: 13px; height: 13px; }
.review-track {
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2));
  display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding: 4px var(--edge) 8px; scrollbar-width: none;
}
.review-track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(86vw, 420px); scroll-snap-align: start; }
.review figure { margin: 0; height: 100%; display: flex; flex-direction: column; gap: 20px; background: var(--paper); padding: clamp(28px, 3vw, 40px); border: 1px solid rgba(27,34,51,.06); }
/* Cards share a height, so a one-line quote would otherwise hang from the top with a
   pool of empty space under it. Short quotes sit centred; long ones stay at the top. */
.review-text { margin: auto 0; font-size: 15.5px; line-height: 1.75; color: var(--ink); font-weight: 400; }
.review-text.is-long { margin-block: 0; }
.review-text p { margin: 0 0 .9em; }
.review-text p:last-child { margin: 0; }
/* Four lines, then "read the full review". Eight made every card a wall of text and
   the reviews took over the page; the point of a quote is to be read, not skimmed past. */
.review-text.is-long { max-height: calc(1.75em * 4); overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.review-more { align-self: flex-start; font-size: 12px; font-weight: 500; letter-spacing: .18em; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.review figcaption { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.review-name { color: var(--ink); font-weight: 500; letter-spacing: .06em; }
.review-meta { font-size: 13px; color: var(--muted); }
.carousel-ui { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.progress { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.progress i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, .15)); transition: transform .5s var(--ease); }
.carousel-btns { display: flex; gap: 10px; }
.round { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: background-color .4s, color .4s, border-color .4s; }
.round:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.round:disabled { opacity: .35; pointer-events: none; }
.review-dialog { width: min(680px, calc(100vw - 32px)); max-height: min(82vh, 820px); border: 0; padding: clamp(32px, 5vw, 56px); background: var(--paper); color: var(--ink); overflow: auto; }
.review-dialog::backdrop { background: rgba(20, 22, 24, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.review-dialog[open] { animation: dialog-in .6s var(--ease); }
.review-dialog[open]::backdrop { animation: fade-in .5s ease; }
.dialog-close { position: sticky; top: 0; float: right; margin: -12px -12px 0 12px; background: var(--paper); }
.dialog-body .review-text { max-height: none; -webkit-mask-image: none; mask-image: none; font-size: 16.5px; }
.dialog-body figcaption { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px); } }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- Closing ---------- */
.closing { position: relative; overflow: hidden; background: var(--night); color: rgba(255,255,255,.86); text-align: center; padding-block: clamp(120px, 16vw, 220px); }
.closing-media { position: absolute; inset: -10% 0; }
.closing-media img { width: 100%; height: 100%; object-fit: cover; }
.closing::after { content: ''; position: absolute; inset: 0; background: rgba(12, 13, 15, .66); }
.closing-copy { position: relative; z-index: 1; }
.closing .eyebrow { color: rgba(255,255,255,.8); }
.closing .display-sm { color: #fff; max-width: 20ch; margin-inline: auto; }
.closing .actions { justify-content: center; }

/* ---------- About ---------- */
.quote-band { padding-block: clamp(80px, 11vw, 150px); background-color: var(--sand-2); border-block: 1px solid var(--line); }
.quote-sand { background-color: transparent; }
.essence { display: grid; gap: 56px; }
.essence article { border-top: 1px solid var(--line-night); padding-top: 28px; }
.values { display: grid; gap: 6px; }
.values li { color: var(--on-night); font-weight: 300; font-size: 1.05rem; }
@media (min-width: 900px) { .essence { grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 64px); } }
.strip-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.strip-item { aspect-ratio: 1; overflow: hidden; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .strip-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Experiences ---------- */
.steps { display: grid; gap: 0; margin-top: clamp(56px, 7vw, 96px); counter-reset: step; }
.steps li { border-top: 1px solid var(--line); padding: 28px 0 32px; display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; }
.steps .step-n { grid-row: span 2; font-size: 12px; letter-spacing: .24em; color: var(--muted); padding-top: 4px; }
.steps h3 { font-size: 1.15rem; font-weight: 400; margin-bottom: 8px; color: var(--ink); }
.steps p { margin: 0; font-size: 15px; }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 32px; }
  .steps li { grid-template-columns: 1fr; padding-top: 32px; }
  .steps .step-n { grid-row: auto; margin-bottom: 36px; }
}
.chapter:nth-of-type(even) { background-color: var(--sand-2); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.tags li { border: 1px solid var(--line); border-radius: 100px; padding: 7px 16px; font-size: 12.5px; letter-spacing: .06em; color: var(--ink); }
.two-col { display: grid; gap: 64px; }
.two-col .title-spaced { margin-bottom: 20px; }
.places { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 1.05rem; color: var(--ink); font-weight: 300; }
.places li:not(:last-child)::after { content: '·'; margin-inline: 14px; color: var(--muted); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: clamp(56px, 8vw, 128px); } }

/* ---------- Menus ---------- */
.letter .lede { margin-bottom: 1.2em; }
.signature { font-weight: 500; letter-spacing: .14em; color: var(--ink); margin-top: 36px; }
.menus-layout { display: grid; gap: 48px; }
.menu-index { display: none; }
@media (min-width: 1000px) {
  .menus-layout { grid-template-columns: 240px 1fr; gap: clamp(48px, 7vw, 112px); align-items: start; }
  .menu-index { display: block; position: sticky; top: 120px; }
  .menu-index ol { display: grid; gap: 6px; border-left: 1px solid var(--line); }
  .menu-index a { display: block; padding: 6px 0 6px 18px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14px; color: var(--ink-2); transition: color .3s, border-color .3s; }
  .menu-index a:hover, .menu-index a.is-active { color: var(--ink); border-color: var(--ink); }
  .index-note { margin-top: 36px; font-size: 13px; color: var(--muted); line-height: 1.6; }
}
.menu-group + .menu-group { margin-top: clamp(64px, 8vw, 104px); }
.menu-group > .title-spaced { margin-bottom: 20px; }
.menu-card { border-top: 1px solid var(--line); }
.menu-group .menu-card:last-child { border-bottom: 1px solid var(--line); }
.menu-card summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center; padding: 26px 0; }
.menu-card summary::-webkit-details-marker { display: none; }
.menu-name { font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 300; color: var(--ink); letter-spacing: -.005em; transition: transform .6s var(--ease); }
.menu-card summary:hover .menu-name { transform: translateX(8px); }
.menu-format { grid-row: 2; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.menu-toggle-i { grid-row: span 2; grid-column: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: transform .6s var(--ease), background-color .4s; }
.menu-card[open] .menu-toggle-i { transform: rotate(45deg); background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.menu-card::details-content { block-size: 0; overflow: hidden; transition: block-size .7s var(--ease), content-visibility .7s allow-discrete; }
.menu-card[open]::details-content { block-size: auto; }
.menu-inner { padding: 4px 0 40px; display: grid; gap: 28px; }
.menu-note { font-size: 1.05rem; font-weight: 300; color: var(--ink); max-width: 60ch; margin: 0; }
.course-label { font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.course ul { display: grid; gap: 8px; }
.course li { position: relative; padding-left: 22px; line-height: 1.6; }
.course li::before { content: ''; position: absolute; left: 0; top: .8em; width: 10px; height: 1px; background: var(--ink-2); opacity: .6; }
@media (min-width: 700px) { .course ul { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

.marquee { overflow: hidden; padding-block: 8px; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 80s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { width: clamp(220px, 22vw, 340px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand-2); }
.marquee-item img { width: 100%; height: 100%; object-fit: cover; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
.stays { display: grid; gap: 48px; }
.stays article { border-top: 1px solid var(--line); padding-top: 28px; }
@media (min-width: 900px) { .stays { grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 64px); } }
.cellar { display: grid; gap: 40px; }
.cellar ul { display: grid; gap: 6px; }
.cellar li { color: var(--on-night); font-weight: 300; }
.band-night .course-label { color: var(--on-night-2); }
.cellar-note { margin-top: 48px; font-size: 13px; text-align: center; }
@media (min-width: 700px) { .cellar { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cellar { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Contact ---------- */
.contact { display: grid; min-height: 100vh; }
.contact-media { position: relative; overflow: hidden; background: var(--night); min-height: 56svh; display: flex; align-items: flex-end; }
.contact-media > img { position: absolute; inset: 0; }
.contact-media .hero-img { transform: none; }
.contact-media .hero-shade { background: linear-gradient(180deg, rgba(10,11,13,.5), rgba(10,11,13,.25) 40%, rgba(10,11,13,.78)); }
.contact-media-copy { position: relative; z-index: 1; padding: calc(var(--header-h) + 40px) var(--gutter) clamp(36px, 6vw, 72px); }
.contact-media .display { color: #fff; max-width: 12ch; }
.contact-panel { padding: clamp(48px, 7vw, 104px) var(--gutter); }
.contact-inner { max-width: 640px; margin-inline: auto; }
.contact-inner > .lede { margin-bottom: 48px; }
@media (min-width: 1000px) {
  .contact { grid-template-columns: 5fr 7fr; }
  .contact-media { position: sticky; top: 0; height: 100vh; height: 100svh; }
  .contact-panel { padding-top: calc(var(--header-h) + 72px); }
}
.enquiry { display: grid; gap: 28px; }
.field-row { display: grid; gap: 28px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row.three { grid-template-columns: 1.2fr .8fr 1.4fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.opt { text-transform: none; letter-spacing: .04em; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid rgba(27,34,51,.35); border-radius: 0; padding: 10px 0 12px; min-height: 48px;
  transition: border-color .3s, box-shadow .3s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%231B2233' stroke-width='1.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; background-size: 18px; padding-right: 28px; cursor: pointer; }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: rgba(58,65,82,.62); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field input[type="date"] { min-height: 48px; }
.err { margin: 0; min-height: 0; font-size: 13px; color: #8A1C1C; }
.field.invalid input, .field.invalid select { border-color: #8A1C1C; box-shadow: 0 1px 0 #8A1C1C; }
.reply { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.reply legend { margin-bottom: 12px; width: 100%; }
.reply label { position: relative; cursor: pointer; }
.reply input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.reply span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border: 1px solid var(--line); border-radius: 100px; font-size: 13px; letter-spacing: .08em; color: var(--ink); transition: background-color .3s, color .3s, border-color .3s; }
.reply input:checked + span { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.reply input:focus-visible + span { outline: 1.5px solid var(--ink); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; }
.consent { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; line-height: 1.6; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--charcoal); flex: none; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 8px; }
.form-status { margin: 0; font-size: 14px; color: var(--ink-2); }
.enquiry[aria-busy="true"] .btn { opacity: .6; pointer-events: none; }
.sent { padding: 40px 0; border-top: 1px solid var(--line); }
.sent:focus { outline: none; }
.sent:not([hidden]) { animation: dialog-in .8s var(--ease); }
.direct { margin-top: 72px; padding-top: 36px; border-top: 1px solid var(--line); }
.direct ul { display: grid; gap: 4px; }
.direct a { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; color: var(--ink); transition: gap .5s var(--ease); }
.direct a:hover { gap: 20px; }

/* ---------- Legal / 404 ---------- */
.legal { padding-top: calc(var(--header-h) + 72px); }
.legal .title-spaced { margin: 48px 0 16px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.notfound { min-height: 90vh; display: grid; place-items: center; padding: calc(var(--header-h) + 40px) 0 80px; }
.notfound .lede.es { color: var(--muted); font-size: 1rem; }


/* ---------- Area / service pages ---------- */
.picks { display: grid; gap: 20px; }
.pick { display: grid; gap: 6px; align-content: start; padding: 32px; background: var(--paper); border: 1px solid rgba(27,34,51,.06); transition: background-color .5s, transform .8s var(--ease); }
.pick:hover { background: #F4F1EB; transform: translateY(-4px); }
.pick-n { font-size: 12px; letter-spacing: .26em; color: var(--muted); margin-bottom: 14px; }
.pick .menu-format { grid-row: auto; margin-bottom: 8px; }
.pick-note { font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.pick-go { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 12px; font-weight: 500; letter-spacing: .2em; color: var(--ink); }
.pick-go .i { transition: transform .5s var(--ease); }
.pick:hover .pick-go .i { transform: translateX(6px); }
@media (min-width: 900px) { .picks { grid-template-columns: repeat(3, 1fr); } }
.quote-fig { margin: 0 auto; }
.quote-fig figcaption { margin-top: 28px; display: grid; gap: 2px; }
.faq-title { margin-bottom: 28px; }
.faq-q { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.faq .menu-card:last-child { border-bottom: 1px solid var(--line); }
.faq .menu-inner { padding-bottom: 28px; }
.related { margin-top: 72px; }
.related ul { display: grid; }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.05rem; font-weight: 300; }
.related a .i { transition: transform .5s var(--ease); }
.related a:hover .i { transform: translateX(8px); }
.places a { border-bottom: 1px solid var(--line); transition: border-color .3s; }
.places a:hover { border-color: var(--ink); }


/* Menu cards with photographs */
.menu-card.has-img summary { grid-template-columns: 72px 1fr auto; gap: 20px; padding: 18px 0; }
.menu-thumb { display: block; width: 72px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand-2); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.menu-thumb img, .menu-photo img, .pick-media img { width: 100%; height: 100%; object-fit: cover; }
.menu-card.has-img summary:hover .menu-thumb img { scale: 1.06; }
.menu-thumb img { transition: scale 1s var(--ease); }
.menu-card[open] .menu-thumb { opacity: .35; transform: scale(.92); }
.menu-title { display: grid; gap: 6px; min-width: 0; }
.menu-card.has-img .menu-format, .menu-card.has-img .menu-toggle-i { grid-row: auto; grid-column: auto; }
.menu-split { display: grid; gap: 28px; }
.menu-photo { order: -1; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-2); }
.menu-text { display: grid; gap: 28px; align-content: start; }
.menu-split .course ul { grid-template-columns: 1fr; }
@media (min-width: 1000px) {
  .menu-split { grid-template-columns: 1fr 36%; gap: clamp(32px, 4vw, 56px); align-items: start; }
  .menu-photo { order: 0; aspect-ratio: 4 / 5; position: sticky; top: 120px; }
}
@media (min-width: 1300px) { .menu-split .course ul { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
@media (max-width: 480px) { .menu-card.has-img summary { grid-template-columns: 56px 1fr auto; gap: 14px; } .menu-thumb { width: 56px; } }
.pick { overflow: hidden; }
.pick-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin: -32px -32px 22px; background: var(--sand-2); }
.pick-media img { transition: scale 1.2s var(--ease); }
.pick:hover .pick-media img { scale: 1.05; }

/* Wedding menu (area page) */
.wmenu { display: grid; gap: 48px; }
.wmenu-act { border-top: 1px solid var(--line); padding-top: 28px; display: grid; gap: 22px; align-content: start; }
.wmenu-act .course-label { margin: 0; }
.wmenu-opt .menu-name { font-size: 1.3rem; margin-bottom: 6px; }
.wmenu-opt p:last-child { margin: 0; font-size: 15px; line-height: 1.65; }
@media (min-width: 900px) { .wmenu { grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 64px); } }

/* ---------- Article ---------- */
.article .display-sm { margin-bottom: 12px; }
.byline { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 40px; }
.article .title-spaced { margin: 48px 0 14px; }
.article-aside { margin-top: 64px; padding: 36px; background: var(--sand-2); border-left: 1px solid var(--ink); }
.article-aside .title-spaced { margin-top: 0; }
.article a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background-color: var(--night); color: var(--on-night-2); padding: clamp(72px, 9vw, 120px) 0 36px; font-size: 14px; }
.site-footer .eyebrow { color: var(--on-night-2); margin-bottom: 16px; font-size: 11px; }
.foot-top { display: grid; gap: 20px; padding-bottom: 56px; border-bottom: 1px solid var(--line-night); }
.foot-top .wordmark { width: clamp(200px, 26vw, 320px); color: var(--sand); }
.foot-line { color: var(--on-night-2); letter-spacing: .06em; margin: 0; }
.foot-group { display: inline-block; margin-top: 8px; opacity: .8; } /* .72 measured 4.41:1 on --night; .8 gives 5.13:1 */
.foot-grid { display: grid; gap: 40px; padding-block: 48px; }
.foot-links { display: grid; gap: 4px; }
.foot-links a { color: var(--on-night); display: inline-flex; min-height: 36px; align-items: center; transition: opacity .3s; }
.foot-links a:hover { opacity: .7; }
.foot-links .lang { font-size: 12px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-night); padding-top: 28px; font-size: 12px; letter-spacing: .06em; }
.foot-base p { margin: 0; }
.foot-base a:hover { color: var(--on-night); }

/* Studio credit: present, never competing with the client's own name. */
.foot-credit { margin: 22px 0 0; text-align: center; font-size: 11px; letter-spacing: .1em; }
/* .75 is the quietest this can go and still clear 4.5:1 on the night footer. */
.foot-credit a { display: inline-flex; align-items: center; gap: 8px; color: var(--on-night-2); opacity: .75; transition: opacity .3s; }
.foot-credit a:hover { opacity: 1; color: var(--on-night); }
.foot-credit img { width: auto; height: 13px; }
@media (min-width: 800px) {
  .foot-top { grid-template-columns: 1fr auto; align-items: end; }
  .foot-line { text-align: right; }
  .foot-grid { grid-template-columns: 1fr 1fr 1.3fr 1fr; }
}

/* ============================================================
   Motion. Everything below is transform/opacity/clip-path only,
   so it stays on the compositor on phones. Skipped entirely under
   prefers-reduced-motion and the ?static QA switch (html.still).
   ============================================================ */
.js:not(.still) [data-reveal]:not([data-split]):not([data-reveal="mask"]),
.js:not(.still) [data-intro]:not([data-split]) {
  transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s);
}
/* Hidden only until revealed — the negations keep specificity from fighting the reveal. */
.js:not(.still) [data-reveal]:not([data-split]):not([data-reveal="mask"]):not(.is-in),
.js:not(.still):not(.loaded) [data-intro]:not([data-split]) { opacity: 0; transform: translate3d(0, 28px, 0); }

/* Image curtain: the frame opens upward while the photo settles. */
/* The clip goes on the children: IntersectionObserver treats a fully clipped target as
   invisible, so clipping the observed element itself would never let it reveal. */
.js:not(.still) [data-reveal="mask"] > * { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease); transition-delay: var(--d, 0s); }
.js:not(.still) [data-reveal="mask"] img:not([data-parallax]) { transform: scale(1.18); transition: transform 2s var(--ease), clip-path 1.5s var(--ease); transition-delay: var(--d, 0s); }
.js:not(.still) [data-reveal="mask"].is-in > * { clip-path: inset(0 0 0 0); }
.js:not(.still) [data-reveal="mask"].is-in img:not([data-parallax]) { transform: none; }

/* Headlines rise word by word. */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; }
.js:not(.still) [data-split] .w > span { transform: translate3d(0, 108%, 0); transition: transform 1.2s var(--ease); transition-delay: calc(var(--d, 0s) + var(--wi) * 55ms); }
.js:not(.still) [data-split].is-in .w > span, .js:not(.still).loaded [data-intro][data-split] .w > span { transform: none; }

/* Hero wordmark: drawn in from the left, then the tagline. */
.js:not(.still) .hero-mark { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s cubic-bezier(.77, 0, .18, 1) .25s; }
.js:not(.still).loaded .hero-mark { clip-path: inset(0 -2% 0 0); }
.js:not(.still) .hero-tag { opacity: 0; letter-spacing: .7em; transition: opacity 1.4s var(--ease), letter-spacing 2.2s var(--ease); transition-delay: var(--d); }
.js:not(.still).loaded .hero-tag { opacity: 1; letter-spacing: .42em; }

[data-parallax] { will-change: transform; }

/* Cross-document page transitions where supported (Chrome, Edge, Safari 18.2+). */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

.still *, .still *::before, .still *::after { animation: none !important; transition: none !important; }
.still .hero-img { transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; overflow-x: auto; }
  @view-transition { navigation: none; }
}
