/* =========================================================================
   Aurum Built v3 — light luxury editorial
   Charcoal + gold on warm paper. Scroll-driven. Self-contained fonts.
   ========================================================================= */

:root {
  --black: #14110e;
  --charcoal: #221d18;
  --ink: #2c2722;
  --muted: #6f665c;
  --line: #e4dccd;
  --paper: #f7f3ec;
  --paper-2: #efe8db;
  --white: #fffdf8;
  --gold: #b68a3c;
  --gold-dark: #7a5a1e;
  --gold-soft: rgba(182, 138, 60, 0.12);

  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --text-hero: clamp(2.6rem, 1rem + 6.5vw, 6.4rem);
  --text-display: clamp(2rem, 1rem + 3.6vw, 3.8rem);
  --text-lead: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);

  --space-section: clamp(5rem, 3rem + 7vw, 11rem);
  --maxw: 1240px;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 900ms;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-dark); text-decoration: none; }

h1, h2, h3 { font-family: var(--serif); color: var(--charcoal); line-height: 1.08; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0 0 1rem; }

.shell { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

/* Grain overlay for atmosphere */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 3;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Skip link */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--charcoal); color: var(--white); padding: 10px 18px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

/* ------------------------------------------------------------------ */
/* Scroll progress + header                                            */
/* ------------------------------------------------------------------ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  z-index: 60;
}

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 400ms ease, box-shadow 400ms ease, backdrop-filter 400ms ease;
}
.site-header.is-solid {
  background: rgba(247, 243, 236, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 58px; height: 41px; }
.brand-name { display: block; font-family: var(--serif); font-weight: 700; color: var(--charcoal); font-size: 1.05rem; line-height: 1.15; }
.brand-tagline { display: block; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-dark); }
.nav-menu { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav-menu a { color: var(--ink); font-size: 0.92rem; font-weight: 600; position: relative; }
.nav-menu a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 350ms var(--ease-expo);
}
.nav-menu a:not(.nav-cta):hover::after, .nav-menu a.is-active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--charcoal); color: var(--white) !important; padding: 11px 22px; border-radius: 999px;
  transition: background 250ms ease, transform 250ms var(--ease-expo);
}
.nav-cta:hover { background: var(--gold-dark); transform: translateY(-2px); }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none;
  background: transparent; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
}
.nav-toggle span { position: relative; display: block; width: 18px; height: 2px; background: var(--charcoal); transition: background 200ms ease; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--charcoal); transition: transform 250ms var(--ease-expo); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Keyboard focus — branded, consistent with the gold accent */
.btn:focus-visible, .nav-menu a:focus-visible, .nav-toggle:focus-visible,
.site-footer a:focus-visible, .footer-bottom button:focus-visible,
.proj-filters button:focus-visible, .faq-list summary:focus-visible,
.est-row button:focus-visible, .qform button:focus-visible {
  outline: 2px solid var(--gold-dark); outline-offset: 3px;
}

/* ------------------------------------------------------------------ */
/* HERO — pinned, scroll-scrubbed                                      */
/* ------------------------------------------------------------------ */
.hero-wrap { height: 165vh; position: relative; }
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; padding: 0; margin: 22px 0 0; list-style: none; }
.hero-chips li {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--paper); background: rgba(20, 17, 14, 0.45); border: 1px solid rgba(182, 138, 60, 0.55);
  padding: 8px 16px; border-radius: 999px; backdrop-filter: blur(6px);
}
.hero {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: flex-end;
  background: var(--charcoal);
}
.hero-media { position: absolute; inset: 0; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,17,14,0.45) 0%, rgba(20,17,14,0.05) 40%, rgba(20,17,14,0.68) 100%);
}
.hero-copy { position: relative; z-index: 2; padding-bottom: clamp(56px, 10vh, 120px); width: 100%; }
.hero-eyebrow {
  color: var(--gold); letter-spacing: 0.26em; text-transform: uppercase;
  font-size: 0.78rem; font-weight: 800; margin-bottom: 22px; display: flex; align-items: center; gap: 16px;
}
.hero-eyebrow::before { content: ""; width: 56px; height: 1px; background: var(--gold); display: inline-block; }
.hero h1 {
  color: var(--white); font-size: var(--text-hero); max-width: 13ch; margin-bottom: 26px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub { color: rgba(255, 253, 248, 0.82); font-size: var(--text-lead); max-width: 46ch; }
.hero-line { display: block; overflow: hidden; }
.hero-line > span { display: inline-block; transform: translateY(110%); transition: transform 1100ms var(--ease-expo); }
.is-loaded .hero-line > span { transform: translateY(0); }
.is-loaded .hero-line:nth-child(2) > span { transition-delay: 120ms; }
.is-loaded .hero-line:nth-child(3) > span { transition-delay: 240ms; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; border: 1px solid transparent; cursor: pointer;
  transition: transform 300ms var(--ease-expo), background 250ms ease, color 250ms ease, border-color 250ms ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--white); }
.btn-ghost { border-color: rgba(255, 253, 248, 0.5); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: var(--gold-dark); }
.hero-scroll-cue {
  position: absolute; right: clamp(20px, 4vw, 48px); bottom: 40px; z-index: 2;
  color: rgba(255,253,248,0.7); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 12px;
}
.hero-scroll-cue::after { content: ""; width: 1px; height: 54px; background: linear-gradient(180deg, var(--gold), transparent); animation: cue 2s var(--ease-expo) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ------------------------------------------------------------------ */
/* Marquee trust bar                                                   */
/* ------------------------------------------------------------------ */
.marquee { background: var(--black); color: var(--paper); overflow: hidden; padding: 20px 0; border-top: 1px solid rgba(182,138,60,0.4); }
/* Seamless loop: 4 identical groups; -25% shift = exactly one group width.
   Spacing lives inside each span (either side of the diamond) so every item
   period is identical and the loop seam is invisible at any viewport width. */
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-group { display: flex; flex: none; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: 1.15rem; white-space: nowrap; display: flex; align-items: center; }
.marquee span::after { content: "◆"; color: var(--gold); font-size: 0.6rem; margin: 0 3.5rem; }
@keyframes marquee { to { transform: translateX(-25%); } }

/* ------------------------------------------------------------------ */
/* Editorial chapters                                                  */
/* ------------------------------------------------------------------ */
.section { padding: var(--space-section) 0; position: relative; }
.section-muted { background: var(--paper-2); }
.chapter-head { display: flex; align-items: baseline; gap: 22px; margin-bottom: clamp(36px, 6vw, 72px); }
.chapter-num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; white-space: nowrap; }
.chapter-num::after { content: ""; display: inline-block; width: clamp(40px, 8vw, 120px); height: 1px; background: var(--gold); margin-left: 18px; vertical-align: middle; }
.chapter-title { font-size: var(--text-display); max-width: 20ch; margin: 0; }
.lead { font-size: var(--text-lead); color: var(--muted); max-width: 56ch; }

/* Reveal system */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity var(--dur) var(--ease-expo), transform var(--dur) var(--ease-expo); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-img { overflow: hidden; border-radius: 4px; }
.reveal-img img { transform: scale(1.12); transition: transform 1400ms var(--ease-expo); }
.reveal-img.is-in img { transform: scale(1); }

/* Craft split */
.craft-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.craft-stack { position: relative; }
.craft-stack .img-a { width: 82%; }
.craft-stack .img-b { position: absolute; width: 52%; right: 0; bottom: -14%; border: 6px solid var(--paper); box-shadow: 0 30px 70px rgba(20,17,14,0.25); }
[data-parallax] { will-change: transform; }
.feature-list { margin-top: 28px; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 14px; list-style: none; }
.feature-list ul { padding: 0; margin: 0; display: grid; gap: 18px; }
.tick { color: var(--gold); font-weight: 700; }
.feature-list h3 { font-size: 1.05rem; margin-bottom: 2px; }
.feature-list p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Credentials band */
.creds { background: var(--black); color: var(--paper); }
.creds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.cred strong { display: block; font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 3rem); color: var(--gold); }
.cred span { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(247,243,236,0.65); }

/* ------------------------------------------------------------------ */
/* Before/After sliders + timelapse                                    */
/* ------------------------------------------------------------------ */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 44px; }
.ba { margin: 0; }
.ba-frame {
  position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3;
  cursor: ew-resize; touch-action: none; background: var(--charcoal);
  user-select: none; -webkit-user-select: none;
}
.ba-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; -webkit-user-drag: none;
}
.ba-tag, .ba figcaption { user-select: none; -webkit-user-select: none; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); will-change: clip-path; }
.ba-before-wrap img { position: absolute; inset: 0; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--gold);
  box-shadow: 0 0 18px rgba(182, 138, 60, 0.8); will-change: left;
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold);
  display: grid; place-items: center; color: var(--black); font-weight: 700;
}
.ba-handle span::before { content: "\2194"; font-size: 1.2rem; }
.ba-handle:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.ba-tag {
  position: absolute; top: 14px; z-index: 2; font-size: 0.66rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
  background: rgba(20, 17, 14, 0.6); color: var(--paper); backdrop-filter: blur(4px);
}
.ba-tag-before { left: 14px; }
.ba-tag-after { right: 14px; }
.ba figcaption, .timelapse figcaption { margin-top: 12px; font-size: 0.9rem; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ai-note { font-style: normal; font-size: 0.75rem; color: var(--gold-dark); }
.timelapse { margin: 40px 0 0; }
.timelapse-frame { position: relative; overflow: hidden; border-radius: 4px; }
.timelapse-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--charcoal); }

/* ------------------------------------------------------------------ */
/* Services                                                            */
/* ------------------------------------------------------------------ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 34px 30px 30px;
  position: relative; overflow: hidden; transition: transform 400ms var(--ease-expo), box-shadow 400ms ease;
}
.svc::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 500ms var(--ease-expo); }
.svc:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(20,17,14,0.12); }
.svc:hover::before { transform: scaleX(1); }
.svc-num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 0.95rem; }
.svc h3 { font-size: 1.28rem; margin: 10px 0 8px; }
.svc p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ------------------------------------------------------------------ */
/* Horizontal gallery (pinned)                                         */
/* ------------------------------------------------------------------ */
.hgal-wrap { position: relative; background: var(--charcoal); }
.hgal { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(80px, 13vh, 150px); }
.hgal-item .frame { max-height: 52vh; }
.hgal-head { position: absolute; top: clamp(80px, 12vh, 130px); left: 0; right: 0; z-index: 2; }
.hgal-head .chapter-title, .hgal-head .chapter-num { color: var(--paper); }
.hgal-track { display: flex; gap: clamp(20px, 3vw, 44px); padding-left: clamp(20px, 4vw, 48px); will-change: transform; align-items: center; }
.hgal-item { flex: 0 0 auto; width: clamp(300px, 44vw, 640px); }
.hgal-item figure { margin: 0; }
.hgal-item .frame { overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; }
.hgal-item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 900ms var(--ease-expo); }
.hgal-item:hover img { transform: scale(1); }
.hgal-item figcaption { color: var(--paper); margin-top: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hgal-item figcaption strong { font-family: var(--serif); font-size: 1.1rem; }
.hgal-item figcaption span { color: var(--gold); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; }
.hgal-bar { position: absolute; bottom: clamp(30px, 6vh, 60px); left: clamp(20px, 4vw, 48px); right: clamp(20px, 4vw, 48px); height: 1px; background: rgba(247,243,236,0.2); }
.hgal-bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }

/* ------------------------------------------------------------------ */
/* Process — drawn gold line                                           */
/* ------------------------------------------------------------------ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.process-line { position: absolute; top: 27px; left: 0; right: 0; height: 2px; }
.process-line line { stroke: var(--gold); stroke-width: 2; }
.step { position: relative; padding-top: 64px; }
.step-dot {
  position: absolute; top: 16px; left: 0; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--gold); background: var(--paper); display: grid; place-items: center;
}
.step-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); transform: scale(0); transition: transform 500ms var(--ease-expo); }
.step.is-in .step-dot::after { transform: scale(1); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); font-size: 0.95rem; }
.step .step-k { font-family: var(--serif); font-style: italic; color: var(--gold); }

/* ------------------------------------------------------------------ */
/* Testimonials                                                        */
/* ------------------------------------------------------------------ */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.testi {
  background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 34px;
  display: flex; flex-direction: column; gap: 18px;
}
.testi blockquote { margin: 0; font-family: var(--serif); font-size: 1.12rem; line-height: 1.55; color: var(--charcoal); }
.testi blockquote::before { content: "“"; color: var(--gold); font-size: 2.6rem; line-height: 0; vertical-align: -0.34em; margin-right: 6px; }
.testi footer { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 0.86rem; color: var(--muted); }
.testi footer strong { color: var(--ink); }

/* ------------------------------------------------------------------ */
/* Quote form / CTA                                                    */
/* ------------------------------------------------------------------ */
.quote { background: var(--black); color: var(--paper); }
.quote .chapter-title { color: var(--white); }
.quote-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 90px); }
.quote-side p { color: rgba(247,243,236,0.75); }
.quote-side a { color: var(--gold); font-weight: 700; }
.quote-contact { display: grid; gap: 10px; margin-top: 28px; font-size: 1.02rem; }
.qform { display: grid; gap: 16px; }
.qform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qform label { display: grid; gap: 7px; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247,243,236,0.65); }
.qform input, .qform select, .qform textarea {
  background: rgba(247,243,236,0.06); border: 1px solid rgba(247,243,236,0.22); color: var(--white);
  padding: 14px 16px; border-radius: 4px; font: inherit; font-size: 1rem;
  transition: border-color 250ms ease, background 250ms ease;
}
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: none; border-color: var(--gold); background: rgba(247,243,236,0.1); }
.qform select option { color: var(--ink); }
.qform-status { min-height: 24px; font-size: 0.95rem; color: var(--gold); }
.qform-note { font-size: 0.8rem; color: rgba(247,243,236,0.5); }

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.site-footer { background: var(--charcoal); color: rgba(247,243,236,0.8); padding: 70px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: var(--white); font-family: var(--serif); margin: 0 0 14px; }
.site-footer nav a, .site-footer .fcol a { display: block; color: rgba(247,243,236,0.75); padding: 4px 0; }
.site-footer a:hover { color: var(--gold); }
.footer-legal { font-size: 0.82rem; color: rgba(247,243,236,0.5); margin: 4px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(247,243,236,0.14); margin-top: 44px; padding-top: 22px; font-size: 0.84rem; flex-wrap: wrap; }
.footer-bottom button { background: none; border: none; color: rgba(247,243,236,0.75); cursor: pointer; font: inherit; padding: 0; }
.footer-bottom button:hover { color: var(--gold); }

/* ------------------------------------------------------------------ */
/* Cookie banner                                                       */
/* ------------------------------------------------------------------ */
.cookie-banner {
  position: fixed; z-index: 80; left: 20px; right: 20px; bottom: 20px; margin: 0 auto; max-width: 620px;
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 30px 80px rgba(20,17,14,0.3); padding: 26px 28px;
  transform: translateY(140%); transition: transform 600ms var(--ease-expo);
}
.cookie-banner.is-open { transform: none; }
.cookie-banner h3 { font-size: 1.1rem; margin-bottom: 6px; }
.cookie-banner p { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 11px 22px; font-size: 0.88rem; }
.btn-plain { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn-plain:hover { border-color: var(--gold-dark); color: var(--gold-dark); }

/* ------------------------------------------------------------------ */
/* Sub-pages (services, packages, projects, faq, blog, contact)        */
/* ------------------------------------------------------------------ */
.page-hero { background: var(--charcoal); color: var(--paper); padding: calc(90px + clamp(40px, 8vw, 90px)) 0 clamp(40px, 7vw, 80px); }
.page-hero .chapter-num { color: var(--gold); }
.page-hero h1 { color: var(--white); font-size: var(--text-display); max-width: 22ch; margin: 14px 0 12px; }
.page-hero .lead { color: rgba(247, 243, 236, 0.78); }
.svc-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; padding: clamp(30px, 5vw, 60px) 0; border-bottom: 1px solid var(--line); }
.svc-band:last-child { border-bottom: none; }
.svc-band:nth-child(even) > .reveal-img { order: 2; }
.svc-band h2 { font-size: 1.7rem; }
.svc-band .frame { aspect-ratio: 4 / 3; }
.svc-band .frame img { width: 100%; height: 100%; object-fit: cover; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.pkg { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 34px 30px; position: relative; display: flex; flex-direction: column; gap: 14px; }
.pkg-popular { border-color: var(--gold); box-shadow: 0 24px 60px rgba(182, 138, 60, 0.18); }
.pkg-badge { position: absolute; top: -13px; left: 30px; background: var(--gold); color: var(--black); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.pkg h2 { font-size: 1.5rem; margin: 6px 0 0; }
.pkg-price { font-family: var(--serif); font-size: 1.45rem; color: var(--gold-dark); }
.pkg-price small { font-size: 0.7rem; color: var(--muted); display: block; letter-spacing: 0.1em; text-transform: uppercase; }
.pkg ul { margin: 0; padding: 0; display: grid; gap: 9px; }
.pkg li { list-style: none; padding-left: 24px; position: relative; font-size: 0.92rem; color: var(--ink); }
.pkg li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.pkg-note { font-size: 0.78rem; color: var(--muted); }
.page-hero-proof { margin-top: 14px; color: var(--gold); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.04em; }
.package-tabs { display: inline-flex; gap: 0; margin-bottom: clamp(38px, 6vw, 62px); border: 1px solid var(--line); background: rgba(255,255,255,0.45); }
.package-tab {
  appearance: none; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--muted);
  min-width: 220px; padding: 17px 26px; font: 700 0.78rem/1.2 var(--sans); letter-spacing: 0.11em;
  text-transform: uppercase; cursor: pointer; transition: background 180ms ease, color 180ms ease;
}
.package-tab:last-child { border-right: 0; }
.package-tab:hover { color: var(--ink); background: var(--paper-2); }
.package-tab[aria-selected="true"] { color: var(--black); background: var(--gold); }
.package-tab:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 3px; position: relative; z-index: 1; }
.package-panel[hidden] { display: none; }
.package-panel-intro { max-width: 780px; margin-bottom: 42px; }
.package-panel-intro .chapter-num { margin-bottom: 10px; }
.package-panel-intro h2 { margin: 0 0 10px; font-size: clamp(1.8rem, 4vw, 2.75rem); }
.package-panel-intro > p:last-child { color: var(--muted); }
.pkg-badge--light { background: var(--paper-2); color: var(--ink); }
.pkg-badge--dark { background: var(--charcoal); color: var(--gold); }
.package-basis { max-width: 860px; margin-top: 44px; padding: clamp(28px, 5vw, 46px); border-left: 3px solid var(--gold); background: var(--paper-2); }
.package-basis .chapter-num { margin: 0 0 8px; }
.package-basis h2 { margin: 0 0 14px; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.package-basis p { color: var(--muted); }
.package-basis p + p { margin-top: 12px; }
.package-basis .package-fine-print { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.74rem; line-height: 1.55; }
.package-basis .btn { margin-top: 12px; }
.est { background: var(--charcoal); color: var(--paper); border-radius: 8px; padding: clamp(28px, 5vw, 48px); display: grid; gap: 22px; }
.est-head h2 { color: var(--white); font-size: 1.6rem; margin-bottom: 6px; }
.est-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.est-row button {
  background: rgba(247, 243, 236, 0.06); border: 1px solid rgba(247, 243, 236, 0.25); color: var(--paper);
  padding: 16px 12px; border-radius: 6px; font: inherit; font-weight: 700; cursor: pointer;
  display: grid; gap: 4px; transition: background 250ms ease, border-color 250ms ease, color 250ms ease;
}
.est-row button small { font-weight: 400; font-size: 0.78rem; color: rgba(247, 243, 236, 0.6); }
.est-row button:hover { border-color: var(--gold); }
.est-row button.is-active { background: var(--gold); border-color: var(--gold); color: var(--black); }
.est-row button.is-active small { color: rgba(20, 17, 14, 0.7); }
.est-extras { display: flex; gap: 22px; flex-wrap: wrap; }
.est-extras label { display: flex; align-items: center; gap: 9px; font-size: 0.92rem; cursor: pointer; }
.est-extras input { width: 18px; height: 18px; accent-color: var(--gold); }
.est-extras em { font-style: normal; color: rgba(247, 243, 236, 0.55); font-size: 0.8rem; }
.est-out { display: grid; gap: 6px; border-top: 1px solid rgba(247, 243, 236, 0.15); padding-top: 18px; }
.est-range { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--gold); }
.est-note { font-size: 0.82rem; color: rgba(247, 243, 236, 0.6); }
.est .btn { justify-self: start; }

.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none;
  grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(20, 17, 14, 0.2);
  box-shadow: 0 -8px 30px rgba(20, 17, 14, 0.25);
}
.cta-bar a { padding: 16px 10px; text-align: center; font-weight: 800; font-size: 0.95rem; }
.cta-bar-call { background: var(--charcoal); color: var(--white); }
.cta-bar-quote { background: var(--gold); color: var(--black); }
@media (max-width: 767px) {
  .cta-bar { display: grid; }
  body.has-cta-bar { padding-bottom: 56px; }
  body.has-cta-bar .cookie-banner { bottom: 66px; }
}

.craft-stack .reveal-img { aspect-ratio: 4 / 3; }
.craft-stack .reveal-img img { width: 100%; height: 100%; object-fit: cover; }

.faq-list { max-width: 820px; display: grid; gap: 14px; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 0; overflow: hidden; }
.faq-list summary { cursor: pointer; padding: 20px 24px; font-family: var(--serif); font-weight: 700; font-size: 1.08rem; color: var(--charcoal); list-style: none; position: relative; padding-right: 56px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.5rem; font-family: var(--sans); transition: transform 300ms var(--ease-expo); }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }
.proj-filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 34px; }
.proj-filters button { background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 9px 20px; border-radius: 999px; font: inherit; font-size: 0.84rem; font-weight: 600; cursor: pointer; transition: background 250ms ease, border-color 250ms ease, color 250ms ease; }
.proj-filters button:hover, .proj-filters button.is-active { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proj-grid figure { margin: 0; }
.proj-grid figure.is-hidden { display: none; }
.proj-grid .frame { aspect-ratio: 4 / 3; }
.proj-grid figcaption { margin-top: 10px; display: flex; justify-content: space-between; gap: 10px; font-size: 0.88rem; }
.proj-grid figcaption span { color: var(--gold-dark); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.blog-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 12px; transition: transform 350ms var(--ease-expo), box-shadow 350ms ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20, 17, 14, 0.12); }
.blog-card h2 { font-size: 1.3rem; margin: 0; }
.blog-card h2 a { color: var(--charcoal); }
.blog-card p { color: var(--muted); font-size: 0.95rem; margin: 0; flex: 1; }
.blog-card .more { color: var(--gold-dark); font-weight: 700; font-size: 0.9rem; }
.article-body { max-width: 760px; }
.article-body h2 { font-size: 1.6rem; margin-top: 2.2em; }
.article-body h3 { font-size: 1.2rem; margin-top: 1.8em; }
.article-body p, .article-body li { color: var(--ink); font-size: 1.02rem; line-height: 1.75; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-body img { border-radius: 4px; margin: 1.5em 0; }
.article-body table { border-collapse: collapse; width: 100%; margin: 1.5em 0; font-size: 0.94rem; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article-body blockquote { border-left: 3px solid var(--gold); margin: 1.5em 0; padding: 4px 0 4px 20px; color: var(--muted); font-style: italic; }
@media (max-width: 960px) {
  .pkg-grid, .proj-grid { grid-template-columns: 1fr 1fr; }
  .svc-band { grid-template-columns: 1fr; }
  .svc-band:nth-child(even) > .reveal-img { order: 0; }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .pkg-grid, .proj-grid { grid-template-columns: 1fr; }
  .package-tabs { display: flex; width: 100%; }
  .package-tab { min-width: 0; flex: 1 1 50%; padding: 15px 12px; font-size: 0.69rem; }
  .package-panel-intro { margin-bottom: 34px; }
}

/* ------------------------------------------------------------------ */
/* Responsive + reduced motion                                         */
/* ------------------------------------------------------------------ */
@media (max-width: 960px) {
  .craft-grid, .quote-grid, .qform-row, .ba-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 40px 26px; }
  .process-line { display: none; }
  .creds-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  /* Mobile nav: quote CTA stays in the header row; the toggle opens the full menu */
  .nav { justify-content: flex-start; gap: 14px; }
  .brand { margin-right: auto; }
  .nav-toggle { display: inline-flex; order: 3; }
  .nav-menu a:not(.nav-cta) { display: none; }
  .nav-menu.is-open {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(247, 243, 236, 0.97); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(20, 17, 14, 0.14);
    padding: 14px clamp(20px, 5vw, 70px) 20px;
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav-menu.is-open a:not(.nav-cta) { display: block; padding: 12px 0; font-size: 1rem; }
  .nav-menu.is-open .nav-cta { margin-top: 10px; text-align: center; }
}
@media (max-width: 620px) {
  .svc-grid { grid-template-columns: 1fr; }
  .hero-wrap { height: 145vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-img img, .hero-line > span { transition: none !important; transform: none !important; opacity: 1 !important; }
  .marquee-track { animation: none; }
  .bob { animation: none; }
  .hero-scroll-cue::after { animation: none; }
  [data-parallax] { transform: none !important; }
  .hero-wrap { height: auto; }
  .hero { position: relative; height: 100vh; }
  .hgal { position: relative; height: auto; padding: 80px 0; }
  .hgal-track { overflow-x: auto; }
}

/* ------------------------------------------------------------------ */
/* Timelapse CTA — gentle attention bob (paused on hover, killed by    */
/* prefers-reduced-motion)                                             */
/* ------------------------------------------------------------------ */
.timelapse-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 30px; }
.bob { display: inline-block; animation: cta-bob 2.6s ease-in-out infinite; will-change: transform; }
.bob:hover, .bob:focus-within { animation-play-state: paused; }
@keyframes cta-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ------------------------------------------------------------------ */
/* V4 polish — typography wrapping, tactile buttons, stable counters   */
/* ------------------------------------------------------------------ */
.hero h1, .chapter-title { text-wrap: balance; }
.lead { text-wrap: pretty; }
.btn:active { transform: translateY(-1px); }
.cred strong { font-variant-numeric: tabular-nums; }
/* Estimator questionnaire (V4) */
.est-q { margin-top: 22px; }
.est-q h3 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(247,243,236,0.7); margin: 0 0 10px; font-family: var(--sans); font-weight: 700; }
.est-row--2 { grid-template-columns: 1fr 1fr; }
.est-lines { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(247,243,236,0.18); display: grid; gap: 7px; }
.est-lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; font-size: 0.88rem; color: rgba(247,243,236,0.78); }
.est-lines li span:last-child { font-variant-numeric: tabular-nums; color: var(--paper); font-weight: 700; white-space: nowrap; }

/* Full calculator entry point on the packages page */
.calculator-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--charcoal);
  color: var(--white);
}
.calculator-promo .chapter-num { margin: 0 0 8px; color: var(--gold); }
.calculator-promo h2 { margin: 0; color: var(--white); font-size: clamp(1.65rem, 3vw, 2.35rem); }
.calculator-promo p:last-child { margin: 10px 0 0; color: rgba(247,243,236,0.7); }
@media (max-width: 720px) {
  .calculator-promo { grid-template-columns: 1fr; }
  .calculator-promo .btn { width: 100%; justify-content: center; }
}

/* ------------------------------------------------------------------ */
/* v12 phone layer: the hero grows with its content and clears the     */
/* fixed transparent header (the copy was poking out the top at 390px);*/
/* Recent Work becomes a native left-right swipe gallery instead of    */
/* scroll-driven horizontal motion (Chris, 20 Jul 2026).               */
/* ------------------------------------------------------------------ */
@media (max-width: 720px) {
  .hero-wrap { height: auto; }
  .hero { position: relative; height: auto; min-height: 100vh; min-height: 100svh; padding-top: 118px; }
  .hero-copy { padding-bottom: 44px; }

  .hgal-wrap { height: auto !important; }
  .hgal { position: relative; height: auto; padding: 64px 0 44px; display: block; }
  .hgal-head { position: static; margin-bottom: 26px; }
  .hgal-track {
    overflow-x: auto; transform: none !important;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    padding-right: 20px; padding-bottom: 12px;
  }
  .hgal-item { scroll-snap-align: start; width: 78vw; }
  .hgal-bar { display: none; }
}
