/* Studio E
   Light mode is the studio itself: limewashed brick, dark timber and the gold E.
   Dark mode is the stage: black curtains and warm light.
   Shape rule: buttons are pills, photos and panels have a 6px radius. */

:root {
  --bg: #f0f0ec;
  --bg-raise: #e5e4de;
  --line: rgb(29 27 25 / .14);
  --ink: #1d1b19;
  --ink-2: #4f4b46;
  --ink-3: #8a857e;
  --gold: #c99a3a;
  --gold-ink: #7a5a12;
  --on-gold: #1d1b19;
  --r: 6px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --header-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141210;
    --bg-raise: #1f1c19;
    --line: rgb(239 237 232 / .14);
    --ink: #efede8;
    --ink-2: #b3ada5;
    --ink-3: #7d776f;
    --gold: #d4a646;
    --gold-ink: #e0bc6a;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 1.4em; border-radius: 999px;
  font-weight: 620; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn i { font-size: 1.25em; }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 42px; padding: 0 1.1em; font-size: .95rem; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: color-mix(in srgb, var(--gold) 86%, #fff); transform: translateY(-1px); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.btn-ghost { border-color: rgb(255 255 255 / .55); color: #f4f2ee; }
.btn-ghost:hover { background: rgb(255 255 255 / .12); border-color: #fff; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.is-solid {
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; font-variation-settings: "wdth" 118; }
.brand img { width: 35px; height: 40px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 520; font-size: .98rem; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta-mobile, .menu-btn { display: none; }

/* Hero */
.hero { position: relative; }
.hero-stage { position: relative; height: 100vh; height: 100dvh; min-height: 620px; }
.hero-media {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(calc(var(--header-h) + 8px) var(--gutter) var(--gutter) 46% round var(--r));
  background: var(--bg-raise);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: translateX(23vw) scale(1.06); transform-origin: 50% 40%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgb(12 10 8 / .72), rgb(12 10 8 / 0) 38%);
  opacity: var(--scrim, 0);
}
.hero-words {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; justify-content: space-between; gap: 2vw;
  padding: 0 var(--gutter) clamp(24px, 5vh, 56px);
  color: #f6f4ef; font-weight: 800; font-size: clamp(2.2rem, 5.6vw, 6rem); line-height: .9; letter-spacing: -.03em;
  font-variation-settings: "wdth" 125;
  pointer-events: none;
}
.hero-words span { opacity: 0; transform: translateY(40%); }
.hero-copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); }
.hero-copy > * { max-width: calc(46vw - var(--gutter) - 56px); }
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem); font-weight: 780; letter-spacing: -.028em; line-height: 1;
  font-variation-settings: "wdth" 112;
}
.hero-copy p { margin-top: 22px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--ink-2); max-width: min(34ch, calc(46vw - var(--gutter) - 56px)); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Statement */
.statement { padding-block: clamp(96px, 16vw, 200px) clamp(64px, 10vw, 140px); }
.statement-text {
  font-size: clamp(1.65rem, 3.5vw, 3.1rem); font-weight: 560; line-height: 1.16; letter-spacing: -.02em;
  max-width: 30ch; font-variation-settings: "wdth" 104;
}
.statement-text .w { opacity: var(--o, 1); transition: opacity .1s linear; }

/* Chapters: Evolve, Elevate, Embrace */
.chapter { padding-bottom: clamp(80px, 12vw, 160px); }
.kinetic {
  font-size: clamp(4.2rem, 15.8vw, 15rem); font-weight: 820; line-height: .86; letter-spacing: -.035em;
  font-variation-settings: "wdth" var(--w, 112);
  white-space: nowrap; padding-bottom: .06em;
}
.kinetic .dot {
  display: inline-block; width: .15em; height: .15em; margin-left: .05em; border-radius: 50%;
  background: var(--gold); vertical-align: baseline;
}
.chapter-intro { margin-top: clamp(20px, 3vw, 36px); font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink-2); max-width: 46ch; }

/* Classes: sticky photo that follows the class you are reading */
.classes { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 6vw, 80px); }
.classes-frame {
  position: sticky; top: calc(50vh - min(34vh, 34vw)); align-self: start;
  width: 100%; max-width: calc(68vh * .8); aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--bg-raise);
}
.classes-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.2s var(--ease);
}
.classes-frame img.is-active { opacity: 1; transform: scale(1); }
.class-list { list-style: none; margin: 0; padding: 0; }
.class-item {
  min-height: 72vh; display: flex; flex-direction: column; justify-content: center;
  opacity: .32; transition: opacity .5s var(--ease);
}
.class-item.is-active { opacity: 1; }
.class-photo { display: none; }
.class-meta { color: var(--gold-ink); font-weight: 600; font-size: 1rem; }
.class-item h3 { margin-top: 10px; font-size: clamp(1.9rem, 3.2vw, 3rem); font-weight: 760; letter-spacing: -.02em; font-variation-settings: "wdth" 110; }
.class-item h3 + p { margin-top: 16px; font-size: 1.15rem; color: var(--ink-2); max-width: 44ch; }

/* Marquee of styles, the only one on the page */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(18px, 2.4vw, 28px); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li {
  display: flex; align-items: center; white-space: nowrap;
  font-size: clamp(1.8rem, 4vw, 3.6rem); font-weight: 720; letter-spacing: -.02em; font-variation-settings: "wdth" 120;
}
.marquee li::after { content: ""; width: .22em; height: .22em; border-radius: 50%; background: var(--gold); margin-inline: .7em; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Stage results */
.chapter-stage { padding-top: clamp(96px, 14vw, 180px); }
.pan { margin-top: clamp(40px, 6vw, 72px); overflow: hidden; }
.pan-track {
  display: flex; gap: clamp(16px, 2vw, 28px); width: max-content;
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.pan-card { flex: 0 0 auto; width: clamp(260px, 25vw, 380px); margin: 0; }
.pan-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); background: var(--bg-raise); }
.pan-card figcaption { margin-top: 16px; color: var(--ink-2); font-size: 1rem; max-width: 34ch; }
.pan-card figcaption strong { display: block; color: var(--ink); font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.pan-stat { display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4; padding: clamp(24px, 2.4vw, 36px); border-radius: var(--r); background: var(--bg-raise); align-self: flex-start; }
.pan-stat .stat { font-size: clamp(3.4rem, 6vw, 5.8rem); font-weight: 820; line-height: .9; letter-spacing: -.04em; font-variation-settings: "wdth" 125; }
.pan-stat .stat span { color: var(--gold-ink); }
.pan-stat p:last-child { margin-top: 18px; color: var(--ink-2); font-size: 1.05rem; }

/* Story */
.story { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: center; margin-top: clamp(48px, 6vw, 88px); }
.story-photos { position: relative; padding-bottom: 14%; }
.story-main { width: 90%; border-radius: var(--r); }
.story-inset { position: absolute; right: 0; bottom: 0; width: 48%; border-radius: var(--r); border: 6px solid var(--bg); box-sizing: content-box; }
.story-copy h3 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); font-weight: 760; letter-spacing: -.02em; font-variation-settings: "wdth" 108; }
.story-copy h3 ~ p { margin-top: 18px; color: var(--ink-2); font-size: 1.1rem; max-width: 46ch; }
.story-quote { margin: 32px 0 0; padding-left: 20px; border-left: 2px solid var(--gold); }
.story-quote p { font-size: 1.25rem; font-style: italic; line-height: 1.45; color: var(--ink); }
.story-quote footer { margin-top: 12px; font-size: .95rem; color: var(--ink-2); }

/* Reviews: staggered, no boxes */
.reviews { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: clamp(40px, 5vw, 64px); margin-top: clamp(96px, 12vw, 160px); }
.reviews h3 { grid-column: 1 / -1; font-size: 1.05rem; font-weight: 650; color: var(--gold-ink); }
.review { margin: 0; }
.review:nth-of-type(1) { grid-column: 1 / span 7; }
.review:nth-of-type(2) { grid-column: 6 / span 7; }
.review:nth-of-type(3) { grid-column: 2 / span 7; }
.review blockquote { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 560; line-height: 1.2; letter-spacing: -.015em; font-variation-settings: "wdth" 104; }
.review figcaption { margin-top: 14px; color: var(--ink-2); font-size: 1rem; }

/* Generic sections */
.section { padding-block: clamp(80px, 11vw, 150px) 0; }
.section-title { font-size: clamp(2.2rem, 4.6vw, 4.2rem); font-weight: 790; letter-spacing: -.03em; font-variation-settings: "wdth" 116; max-width: 18ch; }

/* Bento: three things, three cells */
.bento { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; gap: clamp(16px, 2vw, 24px); margin-top: clamp(36px, 5vw, 64px); }
.tile { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--bg-raise); }
.tile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tile-big { grid-row: span 2; }
.tile-big img { aspect-ratio: auto; flex: 1; min-height: 340px; }
.tile-body { padding: clamp(20px, 2.4vw, 32px); }
.tile h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 740; letter-spacing: -.015em; font-variation-settings: "wdth" 108; }
.tile p { margin-top: 10px; color: var(--ink-2); max-width: 52ch; }
.tile-plain { justify-content: space-between; }
.tile-icon { font-size: 2.6rem; color: var(--gold-ink); padding: clamp(20px, 2.4vw, 32px) clamp(20px, 2.4vw, 32px) 0; }

/* Gallery */
.gallery { columns: 3; column-gap: 16px; margin-top: clamp(36px, 5vw, 64px); }
.gallery button { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: var(--bg-raise); border-radius: var(--r); overflow: hidden; cursor: zoom-in; break-inside: avoid; }
.gallery img { width: 100%; transition: transform .8s var(--ease), opacity .4s; }
.gallery button:hover img { transform: scale(1.035); }

/* FAQ */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 640;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 2px solid var(--gold-ink); border-bottom: 2px solid var(--gold-ink); transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 58ch; }

/* Contact on the stage */
.contact { position: relative; margin-top: clamp(96px, 12vw, 160px); min-height: 92vh; display: flex; align-items: center; overflow: hidden; background: #0d0b09; color: #f4f2ee; isolation: isolate; }
.contact-bg { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; object-position: 70% 50%; z-index: -1; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 8 6 / .82), rgb(10 8 6 / .35) 55%, rgb(10 8 6 / 0)); }
.contact-inner { padding-block: 120px; }
.contact h2 { font-size: clamp(2.8rem, 7vw, 6.4rem); font-weight: 800; letter-spacing: -.035em; line-height: .95; font-variation-settings: "wdth" 118; max-width: 11ch; }
.contact-inner > p { margin-top: 22px; font-size: 1.2rem; color: #d6d1c9; max-width: 38ch; }
.contact-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: #d6d1c9; }
.contact-list i { color: #e0bc6a; font-size: 1.3rem; }
.contact-list a { text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .3); }
.contact-list a:hover { border-color: #e0bc6a; }

/* Footer */
.site-footer { padding-block: 72px 36px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 42px; height: 48px; }
.footer-brand strong { display: block; font-size: 1.4rem; font-variation-settings: "wdth" 118; }
.footer-brand p { color: var(--ink-2); line-height: 1.3; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-nav a, .legal-nav a { text-decoration: none; color: var(--ink-2); }
.footer-nav a:hover, .legal-nav a:hover { color: var(--ink); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .94rem; }
.legal-nav { display: flex; gap: 22px; }
.credit a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.credit a:hover { color: var(--gold-ink); }

/* Photo viewer */
.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(10 8 6 / .94); color: #fff; }
.viewer[open] { display: flex; align-items: center; justify-content: center; }
.viewer::backdrop { background: transparent; }
.viewer img { max-width: min(92vw, 1400px); max-height: 86dvh; border-radius: var(--r); object-fit: contain; }
.viewer button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .3); background: rgb(255 255 255 / .06); color: #fff; font-size: 1.4rem; cursor: pointer; }
.viewer button:hover { background: rgb(255 255 255 / .16); }
.viewer-close { top: 18px; right: 18px; }
.viewer-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.viewer-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* Legal pages */
.legal { padding-block: calc(var(--header-h) + 56px) 40px; max-width: 760px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; font-variation-settings: "wdth" 116; }
.legal .updated { margin-top: 10px; color: var(--ink-2); }
.legal .lead { margin-top: 28px; font-size: 1.2rem; }
.legal h2 { margin-top: 44px; font-size: 1.45rem; font-weight: 720; font-variation-settings: "wdth" 108; }
.legal p, .legal li, .legal dd { color: var(--ink-2); }
.legal p { margin-top: 14px; }
.legal ul { padding-left: 20px; margin: 14px 0 0; }
.legal li + li { margin-top: 6px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 18px 0 0; }
.legal dt { font-weight: 640; }
.legal dd { margin: 0; }
.legal a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.legal-header { background: color-mix(in srgb, var(--bg) 90%, transparent); box-shadow: 0 1px 0 var(--line); }
.notfound { min-height: 100dvh; display: grid; place-content: center; text-align: center; gap: 18px; }
.notfound h1 { font-size: clamp(5rem, 16vw, 11rem); font-weight: 820; line-height: .9; letter-spacing: -.04em; font-variation-settings: "wdth" 125; }
.notfound p { color: var(--ink-2); font-size: 1.15rem; }
.notfound .btn { justify-self: center; margin-top: 10px; }

/* Tablet and phone */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .header-cta { display: none; }
}

@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .menu-btn {
    display: grid; place-items: center; margin-left: auto; width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 70%, transparent); font-size: 1.4rem; cursor: pointer;
  }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; margin: 0; flex-direction: column; gap: 0;
    padding: 12px var(--gutter) 24px; background: var(--bg); box-shadow: 0 12px 30px rgb(0 0 0 / .12), 0 1px 0 var(--line) inset;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition: opacity .25s, transform .3s var(--ease); }
  .nav a:not(.btn) { padding: 14px 0; font-size: 1.2rem; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 20px; }
  .site-header.menu-open { background: var(--bg); }

  .hero-stage { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .hero-copy { order: 1; height: auto; padding-top: calc(var(--header-h) + 36px); padding-bottom: 32px; }
  .hero-copy > *, .hero-copy p { max-width: none; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.6rem); }
  .hero-media img { transform: none; }
  .hero-media { order: 2; position: relative; inset: auto; clip-path: none; margin-inline: var(--gutter); border-radius: var(--r); aspect-ratio: 4 / 3; }
  .hero-words { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }

  .statement { padding-block: 72px 56px; }

  .classes { grid-template-columns: 1fr; margin-top: 36px; }
  .classes-frame { display: none; }
  .class-item { min-height: 0; opacity: 1; padding-bottom: 48px; }
  .class-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); margin-bottom: 20px; }

  .pan { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .pan::-webkit-scrollbar { display: none; }
  .pan-track { padding-inline: var(--gutter); }
  .pan-card { width: 76vw; scroll-snap-align: center; }

  .story { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .review:nth-of-type(n) { grid-column: 1; }
  .review:nth-of-type(2) { padding-left: 12%; }

  .bento { grid-template-columns: 1fr; }
  .tile-big { grid-row: auto; }
  .tile-big img { flex: none; min-height: 0; aspect-ratio: 4 / 3; }

  .gallery { columns: 2; column-gap: 10px; }
  .gallery button { margin-bottom: 10px; }

  .faq { grid-template-columns: 1fr; }

  .contact { min-height: 0; }
  .contact-inner { padding-block: 96px; }
  .contact::before { background: linear-gradient(180deg, rgb(10 8 6 / .62), rgb(10 8 6 / .78) 60%, rgb(10 8 6 / .9)); }
  .contact .btn { flex: 1 1 auto; }

  .footer-base { flex-direction: column; }
  .viewer-prev, .viewer-next { top: auto; bottom: 22px; transform: none; }
  .viewer-prev { left: calc(50% - 64px); }
  .viewer-next { right: calc(50% - 64px); }
}

@media (max-width: 560px) {
  .hide-sm { display: none; }
  .legal dl { grid-template-columns: 1fr; gap: 0; }
  .legal dd { margin-bottom: 12px; overflow-wrap: anywhere; }
}

@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee ul[aria-hidden] { display: none; }
  .marquee ul { flex-wrap: wrap; padding-inline: var(--gutter); }
}
