/* =========================================================
   Cedar Sauna Builders — site styles
   Edit the colors in :root to re-theme the whole site.
   ========================================================= */
:root {
  --paper: #fbf8f3;
  --cream: #f4ede3;
  --sand: #e7dccd;
  --ink: #241f1b;
  --charcoal: #1b1815;
  --muted: #645a51;
  --cedar: #9a4b22;        /* buttons + accents */
  --cedar-dark: #73371a;
  --cedar-light: #d9a27c;
  --pine: #26332a;         /* deep green sections */
  --line: rgba(36, 31, 27, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(27, 24, 21, .06), 0 12px 32px -12px rgba(27, 24, 21, .18);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cedar-dark); text-underline-offset: 3px; }
a:hover { color: var(--cedar); }
:focus-visible { outline: 3px solid var(--cedar); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  font-variation-settings: "opsz" 120;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.75rem); }
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); line-height: 1.2; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 40rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.section--cream { background: var(--cream); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

/* Signature: heat-wave eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--cedar); margin-bottom: 1.1rem;
}
.eyebrow svg { width: 22px; height: 22px; flex: none; }
.on-dark .eyebrow { color: var(--cedar-light); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .85rem 1.5rem; border-radius: 999px;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cedar); color: #fff; }
.btn-primary:hover { background: var(--cedar-dark); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.on-dark .btn-outline, .hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.on-dark .btn-outline:hover, .hero .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.text-link::after { content: "→"; transition: transform .2s; }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo svg { width: 36px; height: 36px; flex: none; }
.logo-text { font-family: var(--serif); font-size: 1.3rem; line-height: 1; letter-spacing: -.01em; }
.logo-text small { display: block; font: 600 .62rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; padding: .55rem .8rem; border-radius: 999px; }
.nav a:hover { background: var(--cream); }
.nav a[aria-current="page"] { color: var(--cedar); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-phone { font-weight: 600; text-decoration: none; color: var(--ink); white-space: nowrap; }
.header-actions .btn { min-height: 44px; padding: .65rem 1.15rem; font-size: .95rem; }
.menu-toggle { display: none; }

@media (max-width: 1020px) {
  .header-phone { display: none; }
}
@media (max-width: 880px) {
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 1px solid var(--line); background: transparent; border-radius: 999px; cursor: pointer; color: var(--ink);
  }
  .menu-toggle svg { width: 22px; height: 22px; }
  .header-actions .btn { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem var(--pad) 1.25rem; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .95rem .25rem; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .nav-cta { margin-top: 1rem; border: 0; text-align: center; color: #fff; border-radius: 999px; }
}
@media (min-width: 881px) { .nav .nav-cta { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20,16,13,.82) 0%, rgba(20,16,13,.55) 42%, rgba(20,16,13,.05) 78%),
    linear-gradient(0deg, rgba(20,16,13,.45) 0%, transparent 35%);
}
.hero-inner { min-height: min(86svh, 820px); display: flex; flex-direction: column; justify-content: center; padding-block: 6rem 5rem; }
.hero h1 { max-width: 13ch; color: #fff; }
.hero .lead { color: rgba(255,255,255,.86); max-width: 34rem; margin-bottom: 2rem; }
.hero .eyebrow { color: var(--cedar-light); }
.hero--short .hero-inner { min-height: min(58svh, 560px); }
.hero--short h1 { max-width: 16ch; }
@media (max-width: 700px) {
  .hero::before { background: linear-gradient(0deg, rgba(20,16,13,.92) 0%, rgba(20,16,13,.6) 55%, rgba(20,16,13,.25) 100%); }
  .hero-inner { justify-content: flex-end; min-height: 88svh; padding-block: 7rem 3rem; }
  .hero--short .hero-inner { min-height: 62svh; }
}

.page-intro { padding-block: clamp(4rem, 3rem + 5vw, 7rem) clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.page-intro h1 { max-width: 18ch; }

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--paper); }
.trust ul { list-style: none; margin: 0; padding: 1.6rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.trust li { display: flex; align-items: center; gap: .8rem; font-weight: 600; font-size: .98rem; line-height: 1.3; }
.trust svg { width: 28px; height: 28px; flex: none; color: var(--cedar); }
@media (max-width: 900px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .trust ul { grid-template-columns: 1fr; gap: .9rem; } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(270px, auto); gap: 16px; }
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1.4rem, 1rem + 1vw, 2rem);
  background: var(--cream); color: var(--ink); text-decoration: none;
}
.tile--lg { grid-column: span 2; grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile-img, .tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tile-img img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tile--photo { color: #fff; }
.tile--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20,16,13,.85) 0%, rgba(20,16,13,.35) 45%, rgba(20,16,13,0) 70%); }
a.tile:hover .tile-img img { transform: scale(1.04); }
.tile h3 { margin-bottom: .35rem; }
.tile p { margin: 0; font-size: .98rem; opacity: .9; max-width: 32rem; }
.tile .text-link { color: inherit; margin-top: .9rem; }
.tile-tag { position: absolute; top: 1.25rem; left: 1.25rem; font: 600 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; background: rgba(251,248,243,.92); color: var(--ink); padding: .5rem .7rem; border-radius: 999px; }
.tile--cedar { background: var(--cedar-dark); color: #fff; }
.tile--pine { background: var(--pine); color: #fff; }
.tile--cedar, .tile--pine { background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 26px); }
.tile--cedar .tile-icon, .tile--pine .tile-icon { width: 40px; height: 40px; margin-bottom: auto; color: var(--cedar-light); }
.tile .big-num { font-family: var(--serif); font-size: clamp(2rem, 1.6rem + 1.2vw, 2.6rem); line-height: 1; margin-bottom: .5rem; }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--lg { grid-column: span 2; grid-row: span 1; min-height: 420px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: minmax(250px, auto); }
  .tile--lg, .tile--wide { grid-column: span 1; }
  .tile--lg { min-height: 380px; }
}

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.split--flip > :first-child { order: 2; }
.split-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media--wide { aspect-ratio: 16 / 11; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .split-media { aspect-ratio: 4 / 3; }
}

.feature-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.5rem; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.feature-list .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--cream); color: var(--cedar); display: grid; place-items: center; }
.feature-list .ico svg { width: 22px; height: 22px; }
.feature-list h3 { font-size: 1.2rem; margin: .15rem 0 .25rem; }
.feature-list p { margin: 0; color: var(--muted); }
.section--cream .feature-list .ico { background: var(--paper); }

.check-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .75rem; }
.check-list--2 { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--cedar) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
@media (max-width: 600px) { .check-list--2 { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.steps li { position: relative; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.steps li::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--cedar); margin-bottom: 1rem;
}
.steps h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Dark sections ---------- */
.on-dark { background: var(--pine); color: #f3ece2; }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .lead, .on-dark p { color: rgba(243,236,226,.82); }
.slats { background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 30px); }
.city-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem 2rem; }
.city-list li { padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; gap: .6rem; }
.city-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cedar-light); flex: none; }
@media (max-width: 760px) { .city-list { grid-template-columns: 1fr 1fr; } }
.area-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: start; }
@media (max-width: 860px) { .area-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.4rem 3rem 1.4rem 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .25rem; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 2px solid var(--cedar); border-bottom: 2px solid var(--cedar); transform: rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 0 1.4rem; color: var(--muted); max-width: 46rem; }
.faq .answer p:last-child { margin: 0; }

/* ---------- CTA band + forms ---------- */
.cta-band { background: var(--cedar-dark); color: #fff; border-radius: calc(var(--radius) + 8px); padding: clamp(2rem, 1.5rem + 3vw, 4rem); display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 28px); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-band .eyebrow { color: #f2cfb1; }
.form-card p.form-note { color: var(--muted); }
.cta-band .contact-lines { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
.cta-band .contact-lines a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; gap: .6rem; align-items: center; }
.cta-band .contact-lines svg { width: 20px; height: 20px; color: var(--cedar-light); }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

.form-card { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(1.4rem, 1rem + 1.5vw, 2.25rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #d6cbbd; border-radius: 10px; padding: .8rem .9rem; min-height: 50px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cedar); box-shadow: 0 0 0 4px rgba(154,75,34,.15); }
.field .err { display: none; color: #a3261b; font-size: .88rem; margin-top: .35rem; }
.field.invalid input, .field.invalid select { border-color: #a3261b; }
.field.invalid .err { display: block; }
.form-note { font-size: .88rem; color: var(--muted); margin: 1rem 0 0; }
.more-details { grid-column: 1 / -1; border: 1px dashed #d6cbbd; border-radius: 12px; padding: .25rem 1rem; }
.more-details summary { cursor: pointer; font-weight: 600; padding: .8rem 0; color: var(--cedar-dark); }
.more-details[open] { padding-bottom: 1rem; }
.more-details .form-grid { margin-top: .25rem; }
.hp { position: absolute; left: -5000px; }
.form-card .btn { width: 100%; margin-top: 1.25rem; }

/* ---------- Cards (services hub) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); }
.card-body .text-link { margin-top: auto; color: var(--cedar-dark); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; position: relative; background: var(--cream); }
.gallery figure.tall { grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: .75rem; bottom: .75rem; font-size: .8rem; font-weight: 600; background: rgba(251,248,243,.92); padding: .4rem .65rem; border-radius: 999px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } .gallery figure.wide { grid-column: span 1; } }
.empty-state { border: 1.5px dashed #cfc2b1; border-radius: var(--radius); padding: clamp(2rem, 1.5rem + 3vw, 3.5rem); text-align: center; background: var(--paper); }
.empty-state svg { width: 48px; height: 48px; color: var(--cedar); margin: 0 auto 1rem; }
.empty-state p { color: var(--muted); max-width: 34rem; margin-inline: auto; }

/* ---------- Prose / misc ---------- */
.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.note-card { background: var(--cream); border-radius: var(--radius); padding: 1.75rem; }
.note-card h3 { font-size: 1.3rem; }
.placeholder-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--sand) repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 1px, transparent 1px 24px); display: grid; place-items: center; color: var(--muted); text-align: center; padding: 2rem; font-weight: 600; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.values > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.values h3 { font-size: 1.25rem; }
.values p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .values { grid-template-columns: 1fr; } }
.breadcrumbs { font-size: .9rem; color: rgba(255,255,255,.75); margin-bottom: 1rem; }
.breadcrumbs a { color: inherit; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(243,236,226,.75); padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem) 2rem; font-size: .97rem; }
.site-footer a { color: rgba(243,236,226,.9); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-grid h4 { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer .logo { color: #fff; margin-bottom: 1rem; }
.site-footer .logo-text small { color: rgba(243,236,226,.6); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; font-size: .85rem; color: rgba(243,236,226,.55); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile call bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.3fr; gap: .5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(251,248,243,.96); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .mobile-bar .btn { min-height: 48px; padding: .6rem 1rem; }
  body { padding-bottom: 76px; }
}

/* ---------- Motion (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    @keyframes reveal {
      from { opacity: 0; transform: translateY(28px); }
      to { opacity: 1; transform: none; }
    }
  }
  .hero-inner > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-inner > *:nth-child(2) { animation-delay: .08s; }
  .hero-inner > *:nth-child(3) { animation-delay: .16s; }
  .hero-inner > *:nth-child(4) { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* ---------- Project gallery ---------- */
.gallery figure > a { display: block; width: 100%; height: 100%; }
.project-gallery figcaption { background: rgba(27,24,21,.78); color: #fff; }
.project-card { grid-row: span 2; background: var(--cream); border-radius: var(--radius-sm); padding: 1.6rem; display: flex; flex-direction: column; }
.project-card h3 { font-size: 1.35rem; }
.project-card dl { margin: 0 0 1.5rem; display: grid; gap: .9rem; }
.project-card dt { font: 600 .75rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--cedar); margin-bottom: .3rem; }
.project-card dd { margin: 0; font-size: .97rem; line-height: 1.45; }
.project-card .btn { margin-top: auto; }
@media (max-width: 760px) { .project-card { grid-column: span 2; grid-row: auto; } }
@media (max-width: 480px) { .project-card { grid-column: span 1; } }
.project-gallery { grid-auto-rows: 300px; }
.project-gallery figure.wide img { object-position: 50% 62%; }
@media (max-width: 760px) { .project-gallery { grid-auto-rows: 220px; } }

/* ---------- About: owner ---------- */
.owner-photo { margin: 0; }
.owner-photo figcaption { margin-top: .9rem; font-size: .92rem; color: var(--muted); font-weight: 600; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.75rem 0; }
.stat-row > div { background: var(--cream); border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; }
.stat-row strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.2rem; line-height: 1; color: var(--cedar); margin-bottom: .35rem; }
.stat-row span { font-size: .92rem; color: var(--muted); }
