/* ==========================================================================
   NorCal Outdoor Living — design system
   Palette: warm ivory / stone neutrals, charcoal ink, powder-coat bronze accent.
   Contrast (WCAG): ink-2 on ivory 8.9:1 · bronze on ivory 4.7:1 · white on bronze 5.2:1
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}

:root {
  --ivory: #f7f4ee;
  --stone: #eee8de;
  --stone-2: #e3dbce;
  --paper: #ffffff;
  --ink: #1c1a17;
  --ink-2: #4b463f;
  --ink-3: #635c52;
  --line: #d9d1c4;
  --line-strong: #bfb4a3;
  --bronze: #8a6640;
  --bronze-dark: #6f5133;
  --bronze-light: #c9a77d;
  --night: #161513;
  --night-2: #201e1b;
  --night-line: #38342e;
  --on-night: #f2ede4;
  --on-night-2: #bdb5a8;
  --error: #a3361f;
  --success: #3d6b45;

  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 128px);
  --radius: 3px;
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(28, 26, 23, .04), 0 12px 32px -12px rgba(28, 26, 23, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--bronze-dark); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 2px; }
.section--night :focus-visible, .site-footer :focus-visible { outline-color: var(--bronze-light); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
strong { font-weight: 650; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 600; }
h1, h2, .display {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-family: var(--font-sans); font-size: 1.18rem; letter-spacing: -.005em; line-height: 1.3; }
h4 { font-size: 1rem; }
.display-italic { font-family: var(--font-display); font-style: italic; font-weight: 500; }

.eyebrow {
  display: inline-block; margin: 0 0 1.1rem; color: var(--bronze);
  font: 650 .74rem/1.3 var(--font-sans); letter-spacing: .2em; text-transform: uppercase;
}
.section--stone .eyebrow, .page-hero .eyebrow { color: var(--bronze-dark); } /* 5.9:1 on stone */
.section--night .eyebrow, .aside-card .eyebrow { color: var(--bronze-light); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.section--night .lead { color: var(--on-night-2); }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px;
  background: var(--ink); color: var(--ivory); text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--stone { background: var(--stone); }
.section--paper { background: var(--paper); }
.section--night { background: var(--night); color: var(--on-night); }
.section--night a:hover { color: var(--bronze-light); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

.grid { display: grid; gap: clamp(20px, 2.6vw, 36px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

.split { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: .75em 1.6em; border: 1px solid transparent; border-radius: var(--radius);
  font: 650 .95rem/1.2 var(--font-sans); letter-spacing: .02em; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--bronze); color: #fff; }
.btn--primary:hover { background: var(--bronze-dark); color: #fff; }
.btn--dark { background: var(--ink); color: var(--ivory); }
.btn--dark:hover { background: #000; color: #fff; }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.section--night .btn--ghost, .cta-band .btn--ghost, .aside-card .btn--ghost { border-color: rgba(242, 237, 228, .38); color: var(--on-night); }
.section--night .btn--ghost:hover, .cta-band .btn--ghost:hover, .aside-card .btn--ghost:hover { border-color: var(--on-night); color: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link {
  display: inline-flex; align-items: center; gap: .45em; font-weight: 650; font-size: .95rem;
  color: var(--bronze-dark); text-decoration: none; letter-spacing: .01em;
}
.text-link::after { content: "→"; transition: transform .2s var(--ease); }
.text-link:hover::after { transform: translateX(4px); }
.section--night .text-link { color: var(--bronze-light); }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(247, 244, 238, .94); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
}
.site-header .wrap { display: flex; align-items: center; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand__wordmark { display: block; width: 165px; height: 48px; }

.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.primary-nav li { margin: 0; }
.primary-nav a {
  display: block; padding: 10px 11px; font-size: .9rem; font-weight: 550; text-decoration: none; color: var(--ink-2);
  border-radius: var(--radius); white-space: nowrap;
}
.header-actions .btn { white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--ink); }
.primary-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--bronze); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { font-weight: 650; font-size: .95rem; text-decoration: none; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.header-phone svg { width: 16px; height: 16px; color: var(--bronze); }
.header-actions .btn { min-height: 44px; padding: .6em 1.15em; font-size: .9rem; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); background: transparent;
  border-radius: var(--radius); color: var(--ink); cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1319px) {
  .header-phone span { display: none; }
}
@media (max-width: 1023px) {
  .header-actions .btn, .header-phone { display: none; }
}
@media (max-width: 1199px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--ivory); padding: 24px var(--gutter) 120px;
    overflow-y: auto; display: none; border-top: 1px solid var(--line);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a { padding: 16px 0; font-size: 1.35rem; font-family: var(--font-display); font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); border-radius: 0; }
  .primary-nav a[aria-current="page"] { box-shadow: none; color: var(--bronze-dark); }
  .primary-nav .nav-cta { display: grid; gap: 12px; margin-top: 28px; }
  html:not(.js) .primary-nav { position: static; display: block; padding: 0; }
  html:not(.js) .site-header { height: auto; position: static; }
}
@media (min-width: 1200px) { .primary-nav .nav-cta { display: none; } }

/* --------------------------------------------------------------- hero */

.page-hero { background: var(--stone); padding-block: clamp(40px, 6vw, 88px) clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.3rem, 4.8vw, 4rem); max-width: 20ch; }
.page-hero .lead { margin-bottom: 1.8rem; }
.page-hero--split .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .page-hero--split .wrap { grid-template-columns: 1.1fr .9fr; } }

/* --------------------------------------------------------------- breadcrumbs */
.breadcrumbs { font-size: .84rem; color: var(--ink-3); margin-bottom: 1.6rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li { margin: 0; display: flex; gap: 6px; align-items: center; }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink-2); }

/* --------------------------------------------------------------- media */
.media { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); }
/* No suitable photo yet: a quiet decorative panel, dropped entirely where the layout stacks. */
.media--placeholder {
  aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--line-strong);
  background: linear-gradient(160deg, var(--ivory), var(--stone-2)); border: 1px solid var(--line);
}
.media__mark { width: 18%; height: auto; opacity: .55; }
@media (max-width: 1023px) { .media--placeholder { display: none; } }
/* Frames match the 4:3 sources except service cards (3:2). The stone fill shows while a lazy image loads. */
.media--photo { aspect-ratio: 4 / 3; background: var(--stone-2); }
.section--night .media--photo { background: var(--night-2); }
.media--photo picture { height: 100%; }
.media--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* Caption sits on the photo: a 72% charcoal plate keeps white text above 7:1 even over a white sky. */
.media__credit {
  position: absolute; right: 10px; bottom: 10px; padding: 4px 9px 3px; border-radius: 2px;
  font: 600 .64rem/1.4 var(--font-sans); letter-spacing: .09em; text-transform: uppercase;
  color: #fff; background: rgba(22, 21, 19, .72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.slot-tag {
  position: absolute; left: 8px; top: 8px; padding: 3px 8px; font: 600 .66rem/1.3 var(--font-sans);
  letter-spacing: .04em; background: rgba(28,26,23,.78); color: #fff; border-radius: 2px; pointer-events: none;
}

/* --------------------------------------------------------------- cards */
.card {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card .media { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); }
.card .media--photo { border-bottom: 0; }
.card:not(.card--plain) .media--photo { aspect-ratio: 3 / 2; }
.card:not(.card--plain) .media--photo img { object-position: 50% 30%; transition: transform .7s var(--ease); }
.card:not(.card--plain):hover .media--photo img { transform: scale(1.035); }
.card__body { padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--ink-2); }
.card__body .text-link { margin-top: auto; }
.card__kicker { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .6rem; font-weight: 650; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.section--night .card { background: var(--night-2); border-color: var(--night-line); }
.section--night .card__body p { color: var(--on-night-2); }
.section--night .card .media { border-bottom-color: var(--night-line); }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 8px;
  border-left: 1.5px solid var(--bronze); border-bottom: 1.5px solid var(--bronze); transform: rotate(-45deg);
}

/* --------------------------------------------------------------- steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: step; }
.step { counter-increment: step; padding: 28px 28px 8px 0; border-top: 1px solid var(--line-strong); margin: 0; }
.step::before {
  content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: 2.6rem;
  line-height: 1; color: var(--bronze); margin-bottom: 18px;
}
.step h3 { margin-bottom: .45em; }
.step p { color: var(--ink-2); font-size: .97rem; }
.section--night .step { border-color: var(--night-line); }
.section--night .step::before { color: var(--bronze-light); }
.section--night .step p { color: var(--on-night-2); }

/* --------------------------------------------------------------- areas */
.area-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.area-list li { margin: 0; }
.area-list > li > a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; height: 100%;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
  font-weight: 600; font-size: 1.02rem; line-height: 1.3; transition: border-color .2s var(--ease);
}
.area-list > li > a:hover { border-color: var(--bronze); color: var(--ink); }
.area-list small { display: block; font-weight: 400; color: var(--ink-3); font-size: .8rem; margin-top: 2px; }
.area-list > li > a::after { content: "→"; color: var(--bronze); flex: none; }

/* --------------------------------------------------------------- home (design by Codex) */
.home-hero { background: var(--stone); }
.home-hero__inner {
  max-width: 1360px; margin: auto; padding: clamp(30px, 4vw, 58px) var(--gutter);
  display: grid; grid-template-areas: "title" "photo" "intro"; gap: 22px;
}
.home-hero__title { grid-area: title; }
.home-hero__title .eyebrow { color: var(--bronze-dark); margin-bottom: 14px; }
.home-hero h1 { margin: 0; font-size: clamp(2.85rem, 5.1vw, 4.8rem); line-height: 1.01; }
.home-hero h1 em { display: block; color: var(--bronze-dark); }
.home-hero__photo { grid-area: photo; min-width: 0; }
.home-hero__intro { grid-area: intro; }
.home-hero__intro p { max-width: 35ch; margin-bottom: 20px; color: var(--ink-2); }
.home-hero__intro .btn-row { align-items: center; gap: 18px; }
.home-projects { background: var(--night); color: var(--on-night); }
.home-projects .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; padding-block: 22px; }
.home-projects .eyebrow { margin: 0; color: var(--bronze-light); }
.home-projects a { font-weight: 600; text-decoration: none; color: var(--on-night); }
.home-projects a:hover, .home-concept a:hover { text-decoration: underline; }
.home-projects a span, .home-concept a span { color: var(--bronze-light); margin-left: .3em; }
.home-concepts { padding-block: clamp(44px, 5.5vw, 80px); }
.home-concepts h2 { margin-bottom: clamp(20px, 2.5vw, 36px); }
.home-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.home-concept { position: relative; }
.home-concept .media { aspect-ratio: 3 / 2; }
.home-concept h3 { margin: 14px 0 4px; font: 600 clamp(1.55rem, 2.4vw, 2.1rem)/1.12 var(--font-display); }
.home-concept a { color: inherit; text-decoration: none; }
.home-concept a::after { content: ""; position: absolute; inset: 0; }
.home-concept a span { font: 400 .65em var(--font-sans); color: var(--bronze-dark); }
.home-concept p { margin: 0; color: var(--ink-2); }
.home-consult { background: var(--stone); padding-block: clamp(44px, 6vw, 84px); }
.home-consult__inner { display: grid; gap: 22px; align-items: start; }
.home-consult h2 { margin-bottom: 12px; }
.home-consult p:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .home-hero__inner { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-areas: "title photo" "intro photo"; column-gap: clamp(32px, 4vw, 64px); }
  .home-hero__title { align-self: end; }
  .home-hero__intro { align-self: start; }
  .home-hero__photo { align-self: center; }
  .home-consult__inner { grid-template-columns: 2fr 3fr; gap: 64px; }
}
@media (max-width: 639px) {
  .home-hero__intro .btn--dark { display: none; }
  .home-projects .wrap { display: grid; grid-template-columns: 1fr; gap: 0; padding-block: 18px; }
  .home-projects .eyebrow { margin-bottom: 6px; }
  .home-projects a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
  .home-projects a + a { border-top: 1px solid var(--night-line); }
  .home-gallery { grid-template-columns: 1fr; gap: 28px; }
}

/* --------------------------------------------------------------- prose */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-top: 2.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-2); }
.prose a { color: var(--bronze-dark); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0 2em; font-size: .95rem; }
.table-scroll { overflow-x: auto; margin: 1.6em 0 2em; -webkit-overflow-scrolling: touch; }
.table-scroll table { margin: 0; min-width: 560px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); border-bottom-color: var(--line-strong); }
.prose caption { caption-side: bottom; text-align: left; font-size: .8rem; color: var(--ink-3); padding-top: 10px; }
.prose .media { margin: 2em 0 2.2em; }
.callout { background: var(--stone); border-left: 3px solid var(--bronze); padding: 20px 24px; margin: 1.8em 0; border-radius: 0 var(--radius) var(--radius) 0; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }
.sources { font-size: .86rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 1.4em; margin-top: 3em; }
.sources li { color: var(--ink-3); }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 0 0 2.4em; }
.toc p { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 650; color: var(--ink-3); margin-bottom: .8em; }
.toc ol { margin: 0; }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--bronze-dark); text-decoration: underline; }
.article-meta { font-size: .88rem; color: var(--ink-3); }
.layout-article { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); }
.layout-article > *, .consult-layout > *, .split > * { min-width: 0; } /* let wide tables scroll instead of widening the page */
@media (min-width: 1100px) {
  .layout-article { grid-template-columns: minmax(0, 1fr) 320px; }
  .aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
}
.aside-card { background: var(--night); color: var(--on-night); padding: 30px 28px; border-radius: var(--radius); }
.aside-card h2 { font-size: 1.7rem; color: #fff; }
.aside-card p { color: var(--on-night-2); font-size: .95rem; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-links { margin-top: 24px; padding: 24px 0 0; border-top: 1px solid var(--line); }
.aside-links h2 { font-family: var(--font-sans); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.aside-links ul { list-style: none; padding: 0; margin: 0; }
.aside-links a { text-decoration: none; font-weight: 550; }
.aside-links a:hover { text-decoration: underline; }

/* --------------------------------------------------------------- faq */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-weight: 620; font-size: 1.06rem; line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 1.5px solid var(--bronze); border-bottom: 1.5px solid var(--bronze); transform: rotate(45deg);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq__a { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }
.faq .faq__a p:last-child { margin: 0; }

/* --------------------------------------------------------------- disclosure */
.disclosure {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); font-size: .93rem; color: var(--ink-2);
}
.disclosure svg { width: 22px; height: 22px; flex: none; color: var(--bronze); margin-top: 2px; }
.disclosure p { margin: 0; }
.disclosure strong { color: var(--ink); }

/* --------------------------------------------------------------- cta band */
.cta-band { background: var(--night); color: var(--on-night); padding-block: clamp(56px, 7vw, 96px); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 100% 0%, rgba(201,167,125,.16), transparent 60%); }
.cta-band .wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1.3fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: var(--on-night-2); margin: 0; max-width: 58ch; }

/* --------------------------------------------------------------- form */
/* Compact two-step form. Layout follows the form's own width (container queries), not the viewport. */
.form-shell { container-type: inline-size; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.6vw, 30px); box-shadow: var(--shadow); }
.section--night .form-shell { color: var(--ink); }
.form-progress { display: flex; gap: 8px; margin-bottom: 18px; }
.form-progress span {
  flex: 1; padding-top: 8px; border-top: 2px solid var(--line); font-size: .7rem; font-weight: 650;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.form-progress span.is-active { border-top-color: var(--bronze); color: var(--ink); }
html:not(.js) .form-progress { display: none; }
.form-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step + .form-step { margin-top: 22px; }
.js .form-step[hidden] { display: none; }
.field { margin-bottom: 14px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr; }
.field-row--zip { grid-template-columns: minmax(96px, .7fr) 1.3fr; }
.field-row .field--wide-mobile { grid-column: 1 / -1; }
@container (min-width: 520px) {
  .field-row, .field-row--zip { grid-template-columns: .8fr 1fr 1.15fr; }
  .field-row .field--wide-mobile { grid-column: auto; }
}
.field__label, .field legend { display: block; font-weight: 650; font-size: .86rem; margin-bottom: 6px; padding: 0; color: var(--ink); }
.field__hint { font-weight: 400; color: var(--ink-3); font-size: .8rem; }
.req { color: var(--bronze-dark); }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; font: 400 1rem/1.4 var(--font-sans); color: var(--ink);
  background: var(--ivory); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease); -webkit-appearance: none; appearance: none;
}
.select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; text-overflow: ellipsis; }
.textarea { min-height: 84px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(138, 102, 64, .18); background: #fff; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: .82rem; margin: 5px 0 0; font-weight: 550; }
.field__error[hidden] { display: none; }

/* choice chips (radio buttons): two columns in a narrow form, a wrapping row in a wide one */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@container (min-width: 520px) { .choices { display: flex; flex-wrap: wrap; } }
.choice { position: relative; display: block; margin: 0; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex; align-items: center; height: 100%; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line-strong);
  border-radius: var(--radius); background: var(--ivory); color: var(--ink-2); cursor: pointer; font-size: .9rem; line-height: 1.25;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.choice span:hover { border-color: var(--bronze); color: var(--ink); }
.choice input:checked + span { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 2px; }
.field.has-error .choice span { border-color: var(--error); }

/* ownership question + Continue share one line */
.form-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-bar .btn { flex: 1 1 100%; }
.field--inline { margin: 0; }
.field--inline legend { float: left; margin: 0 12px 0 0; line-height: 40px; }
.field--inline .choices { display: inline-flex; }
.field--inline .field__error { clear: both; }
.choices--inline .choice span { min-width: 64px; justify-content: center; }
@container (min-width: 520px) { .form-bar .btn { flex: 0 0 auto; margin-left: auto; } }

/* optional details, folded */
.field--details summary { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; cursor: pointer; list-style: none; font-weight: 650; font-size: .86rem; color: var(--bronze-dark); }
.field--details summary::-webkit-details-marker { display: none; }
.field--details summary::before { content: "+"; width: 1em; font-weight: 700; text-align: center; }
.field--details[open] summary::before { content: "\2212"; }
.field--details summary:hover { text-decoration: underline; }
.field--details .textarea { margin-top: 6px; }

.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: .8rem; color: var(--ink-2); line-height: 1.45; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--bronze); }
.consent a { color: var(--bronze-dark); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.form-actions .btn--primary { flex: 1 1 240px; }
html:not(.js) [data-step-next], html:not(.js) [data-step-back] { display: none; }
.form-errors { background: #fbefea; border: 1px solid #e7c3b6; color: var(--error); padding: 12px 14px; border-radius: var(--radius); margin-bottom: 14px; font-size: .9rem; }
.form-errors[hidden] { display: none; }
.form-note { font-size: .78rem; color: var(--ink-3); margin: 10px 0 0; }
.form-note svg { display: inline-block; width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; color: var(--bronze); }
.turnstile-slot { margin: 0; }
.turnstile-slot:has(iframe) { margin: 4px 0 12px; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

.consult-layout { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 1024px) { .consult-layout { grid-template-columns: 1.25fr .75fr; } }
.consult-aside h2 { font-size: 1.9rem; }
.consult-aside .steps { grid-template-columns: 1fr; }
.consult-aside .step { padding: 20px 0 4px; }
.consult-aside .step::before { font-size: 1.9rem; margin-bottom: 10px; }
.phone-card { margin-top: 28px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.phone-card a.phone-big { display: inline-block; font-family: var(--font-display); font-size: 2rem; font-weight: 600; text-decoration: none; margin: 4px 0; }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--night); color: var(--on-night-2); padding: clamp(56px, 7vw, 88px) 0 calc(28px + env(safe-area-inset-bottom)); font-size: .93rem; }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { color: var(--bronze-light); text-decoration: underline; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); padding-bottom: 44px; border-bottom: 1px solid var(--night-line); }
.footer-grid h2 { font-family: var(--font-sans); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-light); margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-brand .brand { color: var(--on-night); margin-bottom: 16px; }
.footer-brand .brand__wordmark { --logo-ink: var(--on-night); --logo-bronze: var(--bronze-light); }
.footer-phone { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; }
.footer-legal { padding-top: 28px; display: grid; gap: 14px; font-size: .82rem; line-height: 1.6; }
.footer-legal p { margin: 0; max-width: 100ch; }
.footer-legal p a { text-decoration: underline; }
.footer-legal nav ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; }
.footer-legal li { margin: 0; }

/* --------------------------------------------------------------- mobile CTA bar */
.mobile-cta { display: none; }
@media (max-width: 1023px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(22, 21, 19, .96); border-top: 1px solid var(--night-line);
  }
  .mobile-cta .btn { min-height: 48px; padding: .6em .8em; font-size: .9rem; }
  .mobile-cta .btn--ghost { border-color: rgba(242, 237, 228, .4); color: var(--on-night); }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  body.no-mobile-cta { padding-bottom: 0; }
  body.no-mobile-cta .mobile-cta { display: none; }
}

/* --------------------------------------------------------------- misc */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1.4rem; }
.tag-list li { margin: 0; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 99px; font-size: .82rem; color: var(--ink-2); }
.section--night .tag-list li { border-color: var(--night-line); color: var(--on-night-2); }
.stat-note { font-size: .8rem; color: var(--ink-3); }
.error-page { min-height: 60vh; display: grid; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .card:hover .media--photo img { transform: none; }
}
@media print {
  .site-header, .mobile-cta, .cta-band, .site-footer, .nav-toggle { display: none !important; }
  body { background: #fff; padding: 0; }
}
