/* =============================================================
   Secret Studio and Sun · styles
   1 Tokens · 2 Reset · 3 Utilities · 4 Type · 5 Components
   6 Sections · 7 Effects · 8 Responsive · 9 Reduced motion
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  --bg: #F0EFEB;
  --surface: #E5E4DE;
  --sand: #DAD8D0;
  --ink: #10261F;
  --muted: #3B4B45;
  --field: #0D2821;
  --field-2: #12332A;
  --field-ink: #EEECE6;
  --field-muted: #B5BEB2;
  --gold: #C6A15B;
  --gold-hi: #D8B776;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-display: clamp(52px, 9.4vw, 176px);
  --t-h2: clamp(38px, 4.4vw, 68px);
  --t-statement: clamp(22px, 2.1vw, 32px);
  --t-body: 17px;
  --t-small: 14px;
  --t-lead: 20px;

  --m: clamp(20px, 5vw, 80px);
  --g: clamp(12px, 1.7vw, 24px);
  --header-h: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; text-align: left; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
::selection { background: var(--gold); color: var(--field); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* 3. Utilities ------------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 300;
  padding: 10px 16px; background: var(--gold); color: var(--field); font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* 4. Type ------------------------------------------------------ */
.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--t-h2);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-statement);
  line-height: 1.1;
}
.statement {
  font-family: var(--serif);
  font-size: var(--t-statement);
  line-height: 1.35;
  text-indent: 3em;
}

/* 5. Components ------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  font-family: var(--sans); font-weight: 600; font-size: var(--t-small);
  border-radius: 0;
  transition: background-color .35s var(--ease-out), transform .35s var(--ease-out), color .35s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-gold { background: var(--gold); color: var(--field); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ink { background: var(--field); color: var(--field-ink); }
.btn-ink:hover { background: var(--field-2); }
.btn-sm { min-height: 44px; padding: 0 20px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: var(--t-body);
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}
.link-arrow::after { content: "→"; transition: transform .35s var(--ease-out); }
.link-arrow:hover::after { transform: translateX(5px); }

/* Splash */
.splash {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--field); color: var(--gold);
  transition: clip-path 1.1s var(--ease-out), visibility 0s 1.1s;
  clip-path: inset(0 0 0 0);
  animation: splashSafety .01s 4.5s forwards;
}
.splash-name { font-family: var(--serif); font-size: var(--t-statement); letter-spacing: .32em; text-transform: uppercase; color: var(--field-ink); }
.splash.is-out { clip-path: inset(0 0 100% 0); visibility: hidden; }
html:not(.js) .splash { display: none; }
@keyframes splashSafety { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; gap: 40px;
  padding: 0 var(--m);
  background: var(--field); color: var(--field-ink);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--gold); margin-right: auto; }
.brand-name {
  font-family: var(--serif); font-size: var(--t-lead); letter-spacing: .04em; color: var(--field-ink);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.brand-name span { color: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .js .site-header:not(.show-brand) .brand-name { opacity: 0; transform: translateY(8px); }
}
.nav { display: flex; gap: 32px; font-size: var(--t-small); }
.nav a { position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }

/* 6. Sections -------------------------------------------------- */

/* Hero */
.hero {
  background: var(--field); color: var(--field-ink);
  padding: calc(var(--header-h) + 48px) var(--m) 140px;
  overflow: clip;
}
.hero-title {
  font-family: var(--serif); font-weight: 300;
  font-size: var(--t-display); line-height: .9; letter-spacing: -0.01em;
  text-transform: uppercase;
  position: relative; z-index: 2;
  transform-origin: left top;
}
.hero-title .line { display: block; white-space: nowrap; }
.hero-title .line + .line { padding-left: 34%; color: var(--gold); }
.hero-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--g);
  margin-top: -2.2vw; align-items: start;
}
.hero-copy { grid-column: 1 / span 4; padding-top: 18vh; position: relative; z-index: 3; }
.hero-lead { font-size: var(--t-lead); line-height: 1.5; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }
.hero-status { display: flex; align-items: center; gap: 10px; margin-top: 40px; font-size: var(--t-small); color: var(--field-muted); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--field-muted); flex: none; }
.hero-status.is-open .status-dot { background: #7FC79A; animation: pulse 2.4s ease-in-out infinite; }
.hero-status.is-open { color: var(--field-ink); }
.hero-rating { margin-top: 8px; font-size: var(--t-small); color: var(--field-muted); }
.hero-rating strong { color: var(--gold); font-weight: 600; }
.hero-video { grid-column: 6 / span 4; position: relative; z-index: 1; }
.hero-video-el { width: 100%; aspect-ratio: 9 / 13; object-fit: cover; background: var(--field-2); }
.hero-video figcaption, .hero-side figcaption { margin-top: 12px; font-size: var(--t-small); color: var(--field-muted); }
.hero-side { grid-column: 10 / span 3; margin-top: 30vh; }
.hero-side img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* Intro */
.intro {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--g);
  padding: 200px var(--m) 180px;
}
.intro-frame {
  grid-column: 1 / span 4; grid-row: 1 / span 2;
  position: relative; aspect-ratio: 4 / 5; margin-top: 120px; overflow: hidden; background: var(--surface);
}
.intro-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.6s var(--ease-soft), transform 7s linear;
}
.intro-frame img.is-active { opacity: 1; transform: scale(1); }
.intro-text { grid-column: 7 / span 6; }
.intro-text .statement { margin-top: 40px; }
.intro-note { grid-column: 7 / span 3; margin-top: 96px; font-size: var(--t-small); color: var(--muted); }

/* Marquee */
.marquee { background: var(--field); color: var(--field-ink); overflow: hidden; padding: 40px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee-track span {
  font-family: var(--serif); font-weight: 300; font-size: var(--t-h2); line-height: 1;
  padding-right: .9em; white-space: nowrap;
}
.marquee-track span:nth-child(even) { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Services */
.services { padding: 20vh var(--m); }
.services-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--g);
  margin-top: 96px;
}
.svc-col:nth-child(1) { grid-column: 1 / span 3; }
.svc-col:nth-child(2) { grid-column: 4 / span 3; }
.svc-col:nth-child(3) { grid-column: 7 / span 3; }
.svc-group { font-family: var(--sans); font-size: var(--t-body); font-weight: 600; margin-bottom: 1.25em; }
.svc-list button {
  display: block; padding: 4px 0; font-size: var(--t-body); line-height: 1.3; color: var(--muted);
  transition: color .3s var(--ease-out), transform .4s var(--ease-out);
}
.svc-list button:hover, .svc-list button:focus-visible, .svc-list button.is-on { color: var(--ink); transform: translateX(6px); }
.svc-sum { display: none; }
.svc-desc {
  grid-column: 10 / span 3; grid-row: 1;
  font-family: var(--serif); font-size: var(--t-statement); line-height: 1.35; color: var(--ink);
  min-height: 6em;
}

/* Works */
.works {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--g);
  padding: 120px var(--m) 200px;
}
.works-side { grid-column: 1 / span 3; display: flex; flex-direction: column; gap: 20px; padding-right: var(--g); }
.works-note { margin-top: auto; font-size: var(--t-small); color: var(--muted); max-width: 26ch; }
.works-run {
  grid-column: 4 / span 9;
  display: flex; align-items: flex-end; gap: 6px;
  overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
}
.works-run::-webkit-scrollbar { display: none; }
.frame { flex: none; }
.frame img { height: 34vh; width: auto; object-fit: cover; }
.frame.is-lifted img { height: 70vh; }
.frame figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; font-size: var(--t-small); }
.frame figcaption span + span { color: var(--muted); }
.frame img { transition: transform .8s var(--ease-out); }
.frame:hover img { transform: scale(1.02); }

/* Sun */
.sun {
  display: grid; grid-template-columns: repeat(12, 1fr);
  background: var(--field); color: var(--field-ink);
}
.sun-media { grid-column: 1 / span 6; }
.sun-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.sun-sticky img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.sun-content { grid-column: 7 / span 6; padding: 180px var(--m) 180px calc(var(--g) * 3); }
.sun-lead { margin-top: 32px; font-size: var(--t-lead); max-width: 40ch; color: var(--field-ink); }
.calc { margin-top: 80px; }
.calc-options { border: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 0; }
.opt {
  position: relative; display: grid; gap: 2px; padding: 18px 16px 16px;
  background: var(--field-2); cursor: pointer;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out), transform .35s var(--ease-out);
}
.opt:hover { transform: translateY(-3px); }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt-min { font-family: var(--serif); font-size: var(--t-statement); line-height: 1; }
.opt-unit { font-size: 14px; color: var(--field-muted); }
.opt-price { margin-top: 12px; font-size: var(--t-small); font-weight: 600; }
.opt:has(input:checked) { background: var(--gold); color: var(--field); }
.opt:has(input:checked) .opt-unit { color: var(--field); }
.opt:has(input:focus-visible) { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.calc-result { margin-top: 72px; }
.calc-big { font-family: var(--serif); font-weight: 300; font-size: var(--t-h2); line-height: 1; color: var(--gold); }
.calc-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.calc-facts dt { font-size: 14px; color: var(--field-muted); }
.calc-facts dd { font-size: var(--t-lead); font-weight: 600; margin-top: 4px; font-variant-numeric: tabular-nums; }
.calc-note { margin-top: 24px; font-size: var(--t-small); color: var(--field-muted); }
.calc .btn { margin-top: 40px; }

/* Prices */
.prices {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--g);
  padding: 200px var(--m) 120px;
}
.prices-side { grid-column: 1 / span 3; }
.prices-intro { margin-top: 28px; font-size: var(--t-body); color: var(--muted); }
.prices-img { margin-top: 48px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.prices-cols { grid-column: 5 / span 8; columns: 2; column-gap: 64px; }
.price-group { break-inside: avoid; padding-bottom: 56px; }
.price-group h3 { font-family: var(--sans); font-size: var(--t-lead); font-weight: 500; margin-bottom: 22px; }
.price-group li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 11px 0; font-size: var(--t-body); }
.p-name small { display: block; font-size: var(--t-small); color: var(--muted); max-width: 36ch; margin-top: 2px; }
.p-val { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; }

/* Proof */
.proof {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--g);
  padding: 160px var(--m); background: var(--surface);
}
.proof > h2 { grid-column: 1 / span 3; }
.proof-cols { grid-column: 5 / span 8; display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 32px; }
.proof-cols li { font-size: var(--t-lead); line-height: 1.5; }
.proof-cols .kind { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.quotes { grid-column: 5 / span 8; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 120px; }
.quote p { font-family: var(--serif); font-size: var(--t-statement); line-height: 1.35; }
.quote footer { margin-top: 20px; font-size: var(--t-small); color: var(--muted); }

/* Gallery */
.gallery { position: relative; height: 118vh; min-height: 820px; margin: 0 var(--m); }
.gallery-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(460px, 80%); text-align: center; z-index: 2;
  display: grid; justify-items: center; gap: 16px;
}
.gallery-center .h2 { font-size: var(--t-statement); }
.g { position: absolute; margin: 0; }
.g img { width: 100%; aspect-ratio: 9 / 10; object-fit: cover; }
.g1 { left: 22%; top: 10%; width: 13%; }
.g2 { left: 40%; top: 2%; width: 11%; }
.g3 { left: 63%; top: 12%; width: 14%; }
.g4 { left: 23%; top: 62%; width: 12%; }
.g5 { left: 46%; top: 76%; width: 11%; }
.g6 { left: 66%; top: 58%; width: 12%; }

/* FAQ */
.faq {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--g);
  padding: 180px var(--m) 160px; background: var(--sand);
}
.faq-text { grid-column: 1 / span 5; }
.faq-facts { margin-top: 32px; font-size: var(--t-body); line-height: 1.6; }
.faq-list { margin-top: 48px; display: grid; gap: 28px; }
.faq-list summary {
  position: relative; list-style: none; cursor: pointer;
  padding-right: 40px; font-size: var(--t-lead); font-weight: 500; line-height: 1.35; min-height: 44px; display: flex; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg); transition: transform .35s var(--ease-out);
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { margin-top: 10px; font-size: var(--t-body); color: var(--muted); max-width: 52ch; }
.faq-actions { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; margin-top: 56px; }
.faq-media { grid-column: 7 / span 6; position: relative; margin-top: -260px; margin-bottom: 80px; }
.faq-tall { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.faq-square { position: absolute; width: 34%; aspect-ratio: 1; object-fit: cover; left: -40px; bottom: -40px; }

/* Contact */
.contact {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--g);
  align-items: start; padding: 180px var(--m) 140px;
}
.contact-sentence {
  grid-column: 1 / span 5;
  font-family: var(--serif); font-weight: 300; font-size: var(--t-statement); line-height: 1.3;
}
.contact-photo { grid-column: 7 / span 2; width: 100%; max-width: 170px; aspect-ratio: 1; object-fit: cover; justify-self: end; }
.contact-links { grid-column: 10 / span 3; display: grid; gap: 8px; justify-items: start; }
.contact-q { font-size: var(--t-lead); font-weight: 600; margin-bottom: 12px; }
.contact-links a { font-size: var(--t-body); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; transition: color .3s; }
.contact-links a:hover { color: var(--muted); }
.contact-meta { margin-top: 16px; font-size: var(--t-small); color: var(--muted); }

/* Footer */
.site-footer { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; background: var(--field); color: var(--field-ink); }
.footer-photo { overflow: hidden; }
.footer-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.footer-panel { padding: 80px var(--m) 32px clamp(32px, 8vw, 140px); display: flex; flex-direction: column; }
.footer-brand { display: inline-flex; align-items: center; gap: 14px; color: var(--gold); font-family: var(--serif); font-size: var(--t-lead); letter-spacing: .04em; }
.footer-brand span { color: var(--field-ink); }
.footer-menu { display: grid; gap: 14px; margin-top: 72px; justify-items: start; }
.footer-menu a {
  font-family: var(--serif); font-size: var(--t-h2); line-height: 1;
  transition: transform .45s var(--ease-out), color .3s var(--ease-out);
}
.footer-menu:hover a { color: var(--field-muted); }
.footer-menu a:hover, .footer-menu a:focus-visible { color: var(--gold); transform: translateX(12px); }
.footer-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 64px; font-size: var(--t-small); }
.footer-blocks p + p { margin-top: 14px; }
.footer-blocks a { text-decoration: underline; text-underline-offset: 4px; }
.legal { margin-top: auto; padding-top: 48px; font-size: var(--t-small); color: var(--field-muted); }

/* 7. Effects --------------------------------------------------- */
.js [data-reveal]:not(.reveal-self) > * {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal].reveal-self { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.js [data-reveal].is-in > *, .js [data-reveal].reveal-self.is-in { opacity: 1; transform: none; }
.js .clip-reveal { clip-path: inset(14% 0 0 0); transition: clip-path 1.4s var(--ease-out); }
.js .clip-reveal.is-in { clip-path: inset(0 0 0 0); }
@keyframes pulse { 50% { opacity: .35; } }

/* 8. Responsive ------------------------------------------------ */
@media (max-width: 959px) {
  .nav { display: none; }
  .site-header { gap: 16px; }
  .hero-grid, .intro, .services-grid, .works, .prices, .proof, .faq, .contact { grid-template-columns: 1fr; }
  .hero-title .line + .line { padding-left: 22%; }
  .hero-grid { margin-top: 32px; }
  .hero-copy { grid-column: 1; grid-row: 2; padding-top: 40px; }
  .hero-video { grid-column: 1; grid-row: 1; }
  .hero-video-el { aspect-ratio: 4 / 5; }
  .hero-side { display: none; }
  .hero { padding-bottom: 96px; }

  .intro { padding: 120px var(--m); }
  .intro-text { grid-column: 1; grid-row: 1; }
  .intro .statement { text-indent: 0; }
  .intro-frame { grid-column: 1; grid-row: 2; width: 62%; justify-self: end; margin-top: 56px; }
  .intro-note { grid-column: 1; grid-row: 3; margin-top: 32px; }

  .services { padding: 120px var(--m); }
  .services-grid { margin-top: 48px; gap: 40px; }
  .svc-col:nth-child(n) { grid-column: 1; }
  .svc-list button { line-height: 1.4; }
  .svc-sum { display: block; margin-top: 12px; color: var(--muted); }
  .svc-list button { min-height: 44px; display: flex; flex-direction: column; justify-content: center; }
  .svc-list button.is-on { transform: none; }
  .svc-list button.is-on::after {
    content: attr(data-desc); display: block; margin: 4px 0 10px;
    font-size: var(--t-small); line-height: 1.5; color: var(--muted);
  }
  .link-arrow { min-height: 44px; }
  .contact-links a, .footer-blocks a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-menu { gap: 6px; }
  .footer-menu a { padding: 6px 0; }
  .svc-desc { display: none; }

  .works { padding: 80px var(--m) 120px; }
  .works-side { grid-column: 1; padding: 0 0 32px; }
  .works-note { margin-top: 0; }
  .works-run { grid-column: 1; scroll-snap-type: x mandatory; }
  .frame { scroll-snap-align: start; }
  .frame img { height: 46vw; min-height: 180px; }
  .frame.is-lifted img { height: 104vw; max-height: 72vh; }

  .sun-media, .sun-content { grid-column: 1 / -1; }
  .sun-sticky { position: relative; height: 72svh; }
  .sun-content { padding: 72px var(--m) 96px; }
  .calc-facts { grid-template-columns: 1fr 1fr; }

  .prices { padding: 120px var(--m); }
  .prices-side, .prices-cols { grid-column: 1; }
  .prices-img { width: 60%; }
  .prices-cols { columns: 1; margin-top: 56px; }

  .proof { padding: 120px var(--m); }
  .proof > h2, .proof-cols, .quotes { grid-column: 1; }
  .proof-cols { grid-template-columns: 1fr 1fr; margin-top: 40px; justify-content: stretch; }
  .quotes { grid-template-columns: 1fr; margin-top: 72px; }

  .gallery { height: auto; min-height: 0; margin: 0; padding: 96px var(--m); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .gallery-center { position: static; transform: none; width: auto; grid-column: 1 / -1; grid-row: 2; padding: 32px 0; }
  .g { position: static; width: auto; }
  .g1 { grid-row: 1; margin-top: 40px; } .g2 { grid-row: 1; width: 78%; }
  .g3 { grid-row: 3; } .g4 { grid-row: 3; margin-top: 56px; width: 82%; justify-self: end; }
  .g5 { grid-row: 4; width: 80%; } .g6 { display: none; }

  .faq { padding: 0 var(--m) 120px; }
  .faq-text, .faq-media { grid-column: 1; }
  .faq-media { grid-row: 1; margin: 0 calc(-1 * var(--m)) 88px; }
  .faq-tall { aspect-ratio: 4 / 5; }
  .faq-square { left: auto; right: var(--m); width: 38%; bottom: -48px; }

  .contact { padding: 120px var(--m); gap: 40px; }
  .contact-sentence, .contact-photo, .contact-links { grid-column: 1; }
  .contact-photo { justify-self: start; max-width: 120px; }

  .site-footer { grid-template-columns: 1fr; }
  .footer-photo { height: 50svh; }
  .footer-panel { padding: 56px var(--m) 32px; }
  .footer-blocks { grid-template-columns: 1fr; }
}
@media (max-width: 539px) {
  .brand-name { white-space: nowrap; }
  .brand-name span { display: none; }
  .calc-options { grid-template-columns: repeat(2, 1fr); }
  :root { --header-h: 64px; }
  .hero-title { font-size: 10.6vw; }
  .btn-sm { padding: 0 14px; }
}
@media (min-width: 720px) and (max-width: 959px) {
  .prices-cols { columns: 2; column-gap: 40px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .svc-col:nth-child(3) { grid-column: 1 / -1; }
}
@media (min-width: 960px) and (max-width: 1279px) {
  .nav { gap: 22px; }
  .calc-options { grid-template-columns: repeat(2, 1fr); }
}

/* 9. Reduced motion (only intrusive effects) ------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .splash { display: none; }
  .marquee-track { animation: none; }
  .hero-status.is-open .status-dot { animation: none; }
  .intro-frame img { transition: opacity .01s; transform: none; }
}
