/* ===== Agora Flooring — design tokens ===== */
:root {
  --ink: #141311;
  --ink-soft: #2a2825;
  --paper: #f5f2ec;
  --marble: #ebe6dd;
  --line: #d9d2c5;
  --muted: #6b645a;
  --bronze: #95703f;
  --bronze-light: #c8a36f;
  --stage: #0e0d0b;
  --white: #ffffff;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 2px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(44px, 6.4vw, 92px); }
h2 { font-size: clamp(36px, 4.6vw, 64px); }
h3 { font-size: 28px; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font: 600 12px/1.2 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 18px;
}
.lede { font-size: 19px; color: var(--muted); max-width: 44ch; }
h1 > .eyebrow { display: block; }

:focus-visible { outline: 2px solid var(--bronze-light); outline-offset: 3px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  font: 600 14px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--bronze); color: var(--white); }
.btn-primary:hover { background: #7f5f33; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 12px; }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius);
  font: 600 13px var(--sans); text-decoration: none;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* ===== Header: glass over the opening footage, solid dark after it (body.past-tour, set by js/nav.js) ===== */
html { scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px); }
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  color: var(--white);
  padding-top: env(safe-area-inset-top, 0px);
  background-color: rgba(14,13,11,0);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
/* The blur sits on its own layer: a backdrop-filter on the header itself would trap the fixed mobile menu inside it. */
.site-header::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: 0;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: opacity .3s var(--ease);
}
.past-tour .site-header::after, .nav-open .site-header::after { opacity: 1; }
/* glass: darkest at the very top, fading to nothing at the bottom edge */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(14,13,11,.7), rgba(14,13,11,0));
  transition: opacity .3s var(--ease);
}
.past-tour .site-header::before, .nav-open .site-header::before { opacity: 0; }
.header-inner {
  height: var(--header-h); max-width: 1440px; margin: 0 auto;
  padding: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px));
  display: flex; align-items: center; gap: 32px;
}
.brand { position: relative; display: block; width: 150px; flex: none; }
.brand img { width: 100%; height: auto; }
.brand .brand-dark { display: none; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.site-nav a { font: 600 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; opacity: .9; }
.site-nav a:hover { opacity: 1; color: var(--bronze-light); }
.site-nav .nav-cta { display: none; }
#nav-list:focus { outline: none; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { font: 600 14px var(--sans); text-decoration: none; letter-spacing: .04em; }
.nav-toggle { display: none; }

.past-tour .site-header, .nav-open .site-header {
  background: rgba(14,13,11,.93);
  border-bottom-color: rgba(255,255,255,.1);
}
@media (prefers-reduced-motion: reduce) { .site-header, .site-header::before, .site-header::after { transition: none; } }

.tour-progress { height: 2px; background: rgba(255,255,255,.12); }
.tour-progress-bar { height: 100%; background: var(--bronze-light); transform-origin: left; transform: scaleX(0); }
.past-tour .tour-progress { opacity: 0; }

/* ===== Fly-through stage ===== */
.tour { position: relative; background: var(--stage); }
.stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden; background: var(--stage); color: var(--white);
}
.stage-canvas, .stage-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-poster { object-fit: cover; object-position: 50% 45%; transition: opacity .5s; }
.stage-poster.is-hidden { opacity: 0; }
.stage-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,7,6,.62) 0%, rgba(8,7,6,.18) 42%, rgba(8,7,6,0) 60%, rgba(8,7,6,.18) 80%, rgba(8,7,6,.55) 100%),
    linear-gradient(to top, rgba(8,7,6,.55), rgba(8,7,6,0) 38%);
}

.chapters { position: absolute; inset: 0; pointer-events: none; }
.chapter {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 64px;
  opacity: 0; will-change: opacity, transform;
}
.chapter[data-chapter="hero"] { opacity: 1; }
.chapter--left { justify-content: flex-start; }
.chapter--right { justify-content: flex-end; }
.chapter--center { justify-content: center; text-align: center; align-items: flex-end; }
.chapter-card {
  max-width: 580px; pointer-events: auto;
  padding: clamp(24px, 3vw, 40px);
  background: linear-gradient(135deg, rgba(12,11,9,.52), rgba(12,11,9,.32));
  backdrop-filter: blur(10px) saturate(110%); -webkit-backdrop-filter: blur(10px) saturate(110%);
  border: 1px solid rgba(255,255,255,.1);
  text-shadow: 0 1px 12px rgba(0,0,0,.3);
}
.chapter[data-chapter="hero"] .chapter-card { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; padding-left: 0; }

/* Finale: the wordmark large and centred over the pulled-back view of the tower */
.chapter--finale { justify-content: center; align-items: center; text-align: center; }
.chapter--finale .chapter-card {
  max-width: 1200px; background: none; border: 0;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  text-shadow: 0 2px 30px rgba(0,0,0,.45);
}
.chapter--finale::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(8,7,6,.55), rgba(8,7,6,0) 70%);
}
.chapter--finale .chapter-card { position: relative; }
.chapter-logo { margin: 0 auto 18px; }
.chapter-logo img { width: min(1040px, 88vw, 115vh); height: auto; margin: 0 auto; filter: drop-shadow(0 6px 28px rgba(0,0,0,.45)); }
.chapter--finale .chapter-body { margin: 0 auto; font: italic 500 clamp(20px, 2vw, 26px)/1.4 var(--serif); color: rgba(255,255,255,.92); max-width: none; }
.chapter--finale .chapter-actions { justify-content: center; }
.chapter--center .chapter-card { max-width: 760px; }
.chapter[inert] .chapter-card { pointer-events: none; }
.chapter .eyebrow { color: var(--bronze-light); }
.chapter h1, .chapter h2 { margin-bottom: 20px; }
.chapter-body { font-size: 19px; color: rgba(255,255,255,.88); max-width: 46ch; }
.chapter--center .chapter-body { margin-left: auto; margin-right: auto; }
.chapter-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chapter--center .chapter-actions { justify-content: center; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font: 600 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.8);
  transition: opacity .4s;
}
.scroll-cue i { width: 1px; height: 42px; background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,0)); animation: cue 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Always-visible way past the flight */
.skip-tour {
  position: absolute; z-index: 4;
  right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px;
  font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--white); text-decoration: none;
  background: rgba(14,13,11,.45); border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.skip-tour:hover { background: rgba(14,13,11,.7); }
.skip-tour { transition: opacity .25s, visibility .25s; }
.skip-tour.is-hidden { opacity: 0; visibility: hidden; }
.tour-static .skip-tour { display: none; }

/* Static fallback (reduced motion / data saver / frames missing):
   each chapter becomes its own full-height panel over a representative still. */
.tour-static .tour { height: auto !important; }
.tour-static .stage { position: relative; height: auto; }
.tour-static .stage-canvas, .tour-static .stage-shade, .tour-static .scroll-cue, .tour-static .stage-poster { display: none; }
.tour-static .chapters { position: relative; }
.tour-static .chapter {
  position: relative; opacity: 1 !important; transform: none !important;
  min-height: 100vh; min-height: 100svh;
  background: linear-gradient(90deg, rgba(8,7,6,.7), rgba(8,7,6,.2)), var(--still, url("../assets/stills/poster.webp")) center / cover no-repeat;
}

/* ===== Sections ===== */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { margin-bottom: 18px; }

.services { background: var(--paper); }

/* By the numbers */
.stats { background: var(--paper); padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); }
.stats-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stats-list li { border-left: 1px solid var(--line); padding: 4px 0 4px 28px; }
.stats-list li:first-child { border-left: 0; padding-left: 0; }
.stats-list strong { display: block; font: 600 clamp(48px, 5.4vw, 84px)/1 var(--serif); color: var(--ink); margin-bottom: 12px; }
.stats-list span { display: block; font-size: 15px; line-height: 1.45; color: var(--muted); max-width: 24ch; }
@media (max-width: 860px) {
  .stats-list { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .stats-list li:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* Services: full-width picture bands, as on the current Agora site */
/* ===== What we install (written services, for visitors and search) ===== */
.install { background: var(--paper); }
.install-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; border-top: 1px solid var(--line); }
.install-grid article { padding: 32px 0; border-bottom: 1px solid var(--line); }
.install-grid h3 { margin-bottom: 12px; }
.install-grid p { color: var(--muted); font-size: 16px; margin: 0; }
.install-grid a, .install-area a { color: var(--bronze); }
.install-area { margin: 40px 0 0; color: var(--muted); max-width: 70ch; }
@media (max-width: 960px) { .install-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .install-grid { grid-template-columns: 1fr; } }

.svc-band { position: relative; overflow: hidden; isolation: isolate; }
.svc-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.svc-band { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.svc-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,11,9,.62), rgba(12,11,9,.15) 60%); }
.svc-band-inner { color: var(--white); }
.svc-band h3 { font-size: clamp(48px, 7vw, 104px); line-height: 1; margin-bottom: 30px; text-shadow: 0 2px 24px rgba(0,0,0,.3); }

.svc-slides { display: block; min-height: 100vh; min-height: 100svh; background: var(--stage); }
.svc-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity .9s var(--ease); isolation: isolate; }
.svc-slide.is-active { opacity: 1; }
.svc-slide .svc-band-bg { transform: scale(1.04); transition: transform 6s linear; }
.svc-slide.is-active .svc-band-bg { transform: scale(1); }
.svc-slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,11,9,.62), rgba(12,11,9,.15) 60%); }
.svc-slides::after { display: none; }
.svc-slide .svc-band-inner { padding-left: max(var(--gutter), 96px); padding-right: max(var(--gutter), 96px); }
.svc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
  background: rgba(12,11,9,.3); color: var(--white); font: 400 34px/1 var(--serif); cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .25s;
}
.svc-arrow:hover { background: rgba(12,11,9,.6); }
.svc-prev { left: 20px; } .svc-next { right: 20px; }
.svc-dots { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.svc-dots i { width: 28px; height: 3px; background: rgba(255,255,255,.4); transition: background .3s; }
.svc-dots i.on { background: var(--bronze-light); }
@media (prefers-reduced-motion: reduce) { .svc-slide, .svc-slide .svc-band-bg { transition: none; } }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.service-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--marble); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.04); }
.service-body { padding: 26px 26px 30px; }
.service-body h3 { margin-bottom: 10px; }
.service-body p { color: var(--muted); margin: 0; font-size: 16px; }

.projects { background: var(--ink); color: var(--white); }
.projects .lede { color: rgba(255,255,255,.7); }
.projects .eyebrow { color: var(--bronze-light); }
.projects .container { max-width: 1480px; }

/* Featured projects: big alternating image/text rows */
.featured-list { display: grid; gap: clamp(48px, 6vw, 96px); }
.featured { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(28px, 4vw, 72px); align-items: center; }
.featured--flip { grid-template-columns: 1fr 1.55fr; }
.featured--flip .featured-media { order: 2; }
.featured-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-soft); }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.featured:hover .featured-media img { transform: scale(1.03); }
.featured-index { font: 600 13px var(--sans); letter-spacing: .22em; color: var(--bronze-light); margin-bottom: 14px; }
.featured-body h3 { font-size: clamp(40px, 4.2vw, 64px); line-height: 1; margin-bottom: 12px; }
.featured-sub { font: italic 500 22px/1.3 var(--serif); color: rgba(255,255,255,.72); margin-bottom: 26px; }
.featured-specs { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.16); }
.featured-link { margin-top: 28px; }
.projects-more { text-align: center; margin-top: clamp(56px, 7vw, 96px); }
.projects-more .btn { color: var(--white); min-height: 56px; padding: 0 34px; }

/* ---- Design Studio teaser ---- */
.studio-teaser { background: var(--marble); overflow: hidden; }
.studio-teaser .container { max-width: 1480px; }
.studio-teaser-inner { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.studio-teaser-copy h2 { font-size: clamp(40px, 4.6vw, 72px); line-height: 1.02; }
.studio-teaser-copy h2 em { font-style: italic; font-weight: 500; color: var(--bronze); }
.studio-teaser-copy .eyebrow { color: var(--bronze); }
.studio-teaser-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: clamp(24px, 3vw, 44px); }
.studio-teaser-facts strong { display: block; font: 600 clamp(30px, 2.6vw, 40px)/1 var(--serif); }
.studio-teaser-facts span { display: block; margin-top: 4px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.studio-teaser .btn-ghost { color: var(--ink); }
.studio-teaser .btn-ghost:hover { background: rgba(0,0,0,.05); }
.studio-teaser-rooms { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.studio-room {
  position: relative; display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; background: var(--ink-soft);
  box-shadow: 0 18px 40px -18px rgba(20,19,17,.45); text-decoration: none;
}
.studio-room-main { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.studio-room img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.studio-room:hover img { transform: scale(1.05); }
.studio-room span {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  font: 600 13px var(--sans); letter-spacing: .04em; color: var(--white); background: rgba(14,13,11,.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.studio-room span i { font-style: normal; transition: transform .3s var(--ease); }
.studio-room:hover span i { transform: translateX(4px); }
.studio-room:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; }
@media (max-width: 960px) {
  .studio-teaser-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .studio-teaser-rooms { grid-template-columns: 1fr; }
  .studio-room-main { aspect-ratio: 4 / 3; }
  .studio-teaser-facts { gap: 20px; }
}
.featured-specs li { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 17px; color: rgba(255,255,255,.88); }

.about { background: var(--marble); }
.about .container { max-width: 1480px; }
.about-inner { display: grid; grid-template-columns: minmax(0, 675px) 1fr; gap: clamp(32px, 4vw, 56px); align-items: center; }
/* Emblem stretched horizontally at its original height (requested). */
.about-mark { margin-block: -3.5px; }   /* lets the emblem sit a hair into the padding so the section keeps its size */
.about-mark img { width: min(675px, 100%); max-width: none; height: clamp(320px, 45.4vw, 654px); object-fit: fill; margin: 0 auto; mix-blend-mode: multiply; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy > p { color: var(--ink-soft); max-width: 52ch; }
.about-points { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.about-points li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); display: grid; grid-template-columns: 140px 1fr; gap: 16px; }
.about-points span { font: 600 12px/1.9 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }

.reviews { background: var(--paper); }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.review { margin: 0; padding: 36px 36px 32px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--bronze); }
.review p { font: 500 22px/1.45 var(--serif); margin-bottom: 20px; }
.review footer { font: 600 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.estimate { background: var(--ink); color: var(--white); }
.estimate .eyebrow { color: var(--bronze-light); }
.estimate .lede { color: rgba(255,255,255,.72); }
.estimate-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.estimate-copy h2 { margin-bottom: 18px; }
.contact-list { margin: 40px 0 0; display: grid; gap: 18px; }
.contact-list div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 16px; }
.contact-list dt { font: 600 12px/1.9 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.contact-list dd { margin: 0; font-size: 18px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--bronze-light); }

.estimate-form { background: var(--paper); color: var(--ink); padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field span { font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px var(--sans); color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 14px; min-height: 50px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(149,112,63,.18); }
.estimate-form .btn { justify-self: start; }
.form-note { font-size: 14px; color: var(--muted); margin: 0; }
.form-note.is-sent { color: #2f6b3f; font-weight: 600; }
.form-note a { color: var(--bronze); }
.estimate-form .btn:disabled { opacity: .7; cursor: progress; }

.site-footer { background: #0a0908; color: rgba(255,255,255,.75); padding: 64px 0 48px; text-align: center; }
/* Stretched horizontally by the same factor as the About emblem (615 wide at 576 high ≈ 1.07×),
   keeping the logo's original height (420 × 162). */
.footer-logo { width: min(448px, 80vw); height: 162px; object-fit: fill; margin: 0 auto 14px; }
.footer-tag { font: italic 500 20px var(--serif); color: var(--bronze-light); }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--white); }
.footer-small { font-size: 13px; color: rgba(255,255,255,.45); margin: 24px 0 0; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .header-phone { display: none; }
}

/* ---- Tablets and phones: compact header + full-screen menu ---- */
@media (max-width: 860px) {
  :root { --header-h: 60px; }
  .header-inner { gap: 16px; }
  .brand { width: 124px; }
  .header-actions { display: none; }
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; color: inherit; cursor: pointer; position: relative; z-index: 2;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease), background .2s; }
  .nav-toggle-bars::before { position: absolute; top: -7px; }
  .nav-toggle-bars::after { position: absolute; top: 7px; }
  .nav-open .nav-toggle-bars { background: transparent; }
  .nav-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav ul {
    position: fixed; left: 0; right: 0; bottom: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    display: none; flex-direction: column; gap: 0; overflow-y: auto; overscroll-behavior: contain;
    padding: 12px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
    background: var(--stage);
  }
  .nav-open .site-nav ul { display: flex; }
  .site-nav ul a {
    display: flex; align-items: center; min-height: 56px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.1);
    font: 600 30px/1.1 var(--serif); letter-spacing: 0; text-transform: none; opacity: 1;
  }
  .site-nav ul a[aria-current="page"] { color: var(--bronze-light); }
  .site-nav .nav-cta { display: grid; gap: 12px; margin-top: auto; padding-top: 28px; }
  .site-nav .nav-cta a { border: 0; }
  .site-nav .nav-cta .btn { min-height: 54px; font: 600 14px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; justify-content: center; }
  .site-nav .nav-cta .nav-phone { justify-content: center; min-height: 48px; font: 600 15px var(--sans); letter-spacing: .04em; color: rgba(255,255,255,.85); }
  html.nav-lock, html.nav-lock body { overflow: hidden; }

  .about-inner, .estimate-inner { grid-template-columns: 1fr; }
  .about-mark img { height: auto; aspect-ratio: 1.07 / 1; }
  .footer-logo { height: auto; aspect-ratio: 2.77 / 1; }
  .featured, .featured--flip { grid-template-columns: 1fr; }
  .featured--flip .featured-media { order: 0; }
  .review-grid { grid-template-columns: 1fr; }

  /* Fly-through copy sits low, over a bottom-up scrim, clear of the path ahead */
  .chapter, .chapter--right, .chapter--center { align-items: flex-end; justify-content: flex-start; text-align: left; }
  .chapter { padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 16px) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(96px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); }
  .chapter--center .chapter-actions { justify-content: flex-start; }
  .chapter.chapter--finale { align-items: center; justify-content: center; text-align: center; }
  .stage-shade { background: linear-gradient(to top, rgba(8,7,6,.86) 0%, rgba(8,7,6,.5) 26%, rgba(8,7,6,0) 52%); }

  /* Services slideshow: text at the bottom over a scrim */
  .svc-slide { align-items: flex-end; }
  .svc-slide::after { background: linear-gradient(to top, rgba(12,11,9,.82) 0%, rgba(12,11,9,.35) 40%, rgba(12,11,9,0) 65%); }
  .svc-slide .svc-band-inner { padding: 0 var(--gutter) calc(84px + env(safe-area-inset-bottom, 0px)); }
  .svc-band h3 { margin-bottom: 22px; }
  .svc-arrow { top: auto; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: none; width: 48px; height: 48px; font-size: 28px; }
  .svc-prev { left: var(--gutter); } .svc-next { right: var(--gutter); }
  .svc-dots { bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
}

/* ---- Phones: minimal overlays during the flight ---- */
@media (max-width: 700px) {
  .chapter-card, .chapter[data-chapter="hero"] .chapter-card {
    max-width: 100%; padding: 0; background: none; border: 0;
    backdrop-filter: none; -webkit-backdrop-filter: none; text-shadow: 0 1px 16px rgba(0,0,0,.55);
  }
  .chapter .eyebrow, .chapter-body, .chapter-actions { display: none; }
  .chapter h1, .chapter h2 { margin-bottom: 0; }
  .chapter h1 { font-size: clamp(34px, 9.4vw, 46px); }
  .chapter h2 { font-size: clamp(30px, 8.4vw, 40px); }
  /* opening screen: headline + one primary action */
  .chapter[data-chapter="hero"] h1 { margin-bottom: 20px; }
  .chapter[data-chapter="hero"] .chapter-actions { display: flex; margin-top: 0; }
  .chapter[data-chapter="hero"] .chapter-actions .btn:not(.btn-primary) { display: none; }
  /* final reveal: logo, one line, one action */
  .chapter--finale .chapter-body { display: block; font-size: 19px; margin-top: 4px; }
  .chapter--finale .chapter-actions { display: flex; justify-content: center; margin-top: 22px; }
  .chapter--finale .chapter-actions .btn:not(.btn-primary) { display: none; }
  .chapter-logo img { width: min(86vw, 520px); }
  .scroll-cue { bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
  .scroll-cue span { display: none; }
  .skip-tour { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); min-height: 44px; padding: 0 14px; font-size: 11px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .estimate-form .btn { justify-self: stretch; min-height: 54px; }
  .field input, .field select, .field textarea { min-height: 52px; font-size: 16px; }
  .about-points li, .contact-list div { grid-template-columns: 1fr; gap: 2px; }
  .review { padding: 28px 24px; }
  .review p { font-size: 20px; }
  .stats-list strong { font-size: 44px; }
  .studio-teaser .chapter-actions .btn, .projects-more .btn { width: 100%; }
  .featured-body h3 { font-size: 36px; }
  .featured-sub { font-size: 19px; }
  .featured-specs li { font-size: 15px; }
}

/* ---- Phones held sideways: short screens ---- */
@media (max-height: 500px) and (orientation: landscape) {
  :root { --header-h: 52px; }
  .chapter { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .chapter h1 { font-size: clamp(28px, 5vw, 38px); }
  .chapter h2 { font-size: clamp(24px, 4.4vw, 34px); }
  .chapter-body, .chapter .eyebrow { display: none; }
  .chapter-logo img { width: min(60vw, 70vh * 2.6); }
  .scroll-cue { display: none; }
  .site-nav ul a { min-height: 48px; font-size: 24px; }
}