/* Cali Renderings. Palette drawn from the portfolio: limestone, walnut, olive cabinetry, charcoal stone. */
:root {
  --paper: #f5f1ea;
  --paper-2: #ece6dc;
  --ink: #1d1b18;
  --ink-2: #4a453e;
  --muted: #6b645a;
  --line: #d8d0c3;
  --walnut: #6a4a33;
  --olive: #4c5541;
  --olive-ink: #3c4433;
  --stone: #2b2a27;
  --white: #fffdf9;
  --focus: #1f5f8b;
  --error: #9b2c1f;
  --ok: #2f5a2f;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 2px;
  --header-h: 72px;
}

*, *::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(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.eyebrow { font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--white); padding: 10px 14px; z-index: 100; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .8em 1.4em; border: 1px solid var(--ink); background: var(--ink); color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem; letter-spacing: .02em; border-radius: var(--radius); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--olive-ink); border-color: var(--olive-ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--paper-2); border-color: var(--paper-2); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.8); }
.btn--outline-light:hover { background: var(--white); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.text-link { font-weight: 600; text-decoration: underline; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Preview banner */
.preview-bar { background: #2d3a4a; color: #f1f4f8; font-size: .82rem; text-align: center; padding: 6px 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245,241,234,.96); border-bottom: 1px solid var(--line); }
@media (min-width: 981px) { @supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(245,241,234,.86); backdrop-filter: blur(10px); } } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; letter-spacing: .01em; }
.brand-sub { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav-list { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav-list a { text-decoration: none; font-size: .95rem; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav-list a:hover, .nav-list a[aria-current="page"] { border-bottom-color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { min-height: 42px; padding: .55em 1.1em; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); min-height: 42px; min-width: 42px; padding: 0 12px; border-radius: var(--radius); cursor: pointer; }
.menu-toggle .bars { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); }
.menu-toggle .bars::before { top: -6px; } .menu-toggle .bars::after { top: 6px; }
@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .site-nav { position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 60; background: var(--paper); padding: 24px var(--gutter) 40px; overflow-y: auto; display: none; border-top: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; font-family: var(--serif); font-size: 1.7rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-contact { margin-top: 28px; }
  .header-cta .btn-call { display: none; }
}
@media (min-width: 981px) { .nav-contact { display: none; } }
.cta-short { display: none; }
.preview-short { display: none; }
@media (max-width: 640px) { .preview-long { display: none; } .preview-short { display: inline; } }
@media (max-width: 520px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 1.25rem; white-space: nowrap; }
  .header-cta .btn { padding: .5em .9em; font-size: .88rem; }
  .cta-long { display: none; } .cta-short { display: inline; }
}
@media (max-width: 640px) { .hero h1, .hero p { text-shadow: none; } }

/* Hero */
.hero { position: relative; min-height: min(88vh, 880px); display: flex; align-items: flex-end; color: var(--white); background: var(--stone); overflow: hidden; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,15,.72) 0%, rgba(20,18,15,.5) 38%, rgba(20,18,15,.08) 68%, rgba(20,18,15,0) 100%), linear-gradient(180deg, rgba(20,18,15,0) 55%, rgba(20,18,15,.55) 100%); }
.hero h1, .hero p { text-shadow: 0 1px 18px rgba(0,0,0,.25); }
.hero-content { position: relative; z-index: 1; padding-top: 120px; padding-bottom: clamp(40px, 7vw, 88px); width: 100%; }
.hero h1 { max-width: 15ch; margin-bottom: .35em; }
.hero p { max-width: 52ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255,253,249,.92); }
.hero .eyebrow { color: rgba(255,253,249,.82); }
.hero-meta { margin-top: 28px; font-size: .88rem; color: rgba(255,253,249,.8); display: flex; flex-wrap: wrap; gap: 6px 22px; }
.hero-meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; background: rgba(255,253,249,.7); border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.hero .hero-caption { margin: 22px 0 0; font-size: .78rem; color: rgba(255,253,249,.72); max-width: none; }
.hero .hero-caption a { color: inherit; }
@media (max-width: 640px) {
  .hero .hero-caption { color: var(--muted); }
  .hero { min-height: auto; display: block; color: var(--ink); background: var(--paper); }
  .hero picture { position: relative; display: block; aspect-ratio: 4 / 4.4; }
  .hero picture img { position: absolute; }
  .hero::after { display: none; }
  .hero-content { padding-top: 28px; padding-bottom: 40px; }
  .hero p { color: var(--ink-2); }
  .hero .eyebrow, .hero-meta { color: var(--muted); }
  .hero-meta span::before { background: var(--muted); }
  .hero .btn--outline-light { color: var(--ink); border-color: var(--ink); }
  .hero .btn--outline-light:hover { background: var(--ink); color: var(--white); }
  .hero .btn--light { background: var(--ink); color: var(--white); border-color: var(--ink); }
}

/* Page header (inner pages) */
.page-head { padding: clamp(48px, 8vw, 104px) 0 clamp(28px, 4vw, 48px); }
.page-head h1 { max-width: 20ch; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; }

/* Sections */
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--stone); color: var(--white); }
.section--dark .eyebrow, .section--dark .muted { color: #bfb6a8; }
.section--olive { background: var(--olive-ink); color: var(--white); }
.section--olive .eyebrow { color: #cfd5c3; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin: 0; max-width: 22ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split--wide-left { grid-template-columns: 1.25fr 1fr; }
@media (max-width: 860px) { .split, .split--wide-left { grid-template-columns: 1fr; } }

/* Service pair on home */
.service-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.service-card { display: flex; flex-direction: column; }
.service-card .media { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 24px; background: var(--paper-2); }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.service-card:hover .media img { transform: scale(1.02); }
.service-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; font-size: .95rem; }
.service-card li { padding-left: 14px; position: relative; }
.service-card li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--ink); }
.service-card .btn-row { margin-top: auto; }
@media (max-width: 760px) { .service-pair { grid-template-columns: 1fr; } }

/* Project grid (varied scales) */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.work-item { grid-column: span 6; text-decoration: none; display: block; }
.work-item .media { overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; }
.work-item .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.work-item:hover .media img { transform: scale(1.025); }
.work-item h3 { margin: 14px 0 4px; font-size: 1.45rem; }
.work-item .meta { font-size: .88rem; color: var(--muted); }
.work-grid--feature .work-item:nth-child(6n+1) { grid-column: span 7; }
.work-grid--feature .work-item:nth-child(6n+2) { grid-column: span 5; }
.work-grid--feature .work-item:nth-child(6n+2) .media { aspect-ratio: 4 / 4.6; }
.work-grid--feature .work-item:nth-child(6n+1) .media { aspect-ratio: 4 / 3.2; }
.work-grid--feature .work-item:nth-child(6n+3), .work-grid--feature .work-item:nth-child(6n+4), .work-grid--feature .work-item:nth-child(6n+5) { grid-column: span 4; }
.work-grid--feature .work-item:nth-child(6n+3) .media, .work-grid--feature .work-item:nth-child(6n+4) .media, .work-grid--feature .work-item:nth-child(6n+5) .media { aspect-ratio: 4 / 5; }
.work-grid--feature .work-item:nth-child(6n+6) { grid-column: 3 / span 8; }
.work-grid--feature .work-item:nth-child(6n+6) .media { aspect-ratio: 16 / 8; }
.work-grid--index .work-item { grid-column: span 4; }
@media (max-width: 980px) { .work-grid--index .work-item { grid-column: span 6; } }
@media (max-width: 760px) {
  .work-grid .work-item, .work-grid--feature .work-item:nth-child(n) { grid-column: 1 / -1; }
  .work-grid--feature .work-item:nth-child(n) .media { aspect-ratio: 4 / 3.2; }
}
.work-item[hidden] { display: none; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters fieldset { border: 0; padding: 0; margin: 0 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters legend { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); float: left; margin-right: 10px; padding: 0; }
.chip { border: 1px solid var(--line); background: transparent; padding: 7px 14px; border-radius: 999px; font-size: .88rem; cursor: pointer; min-height: 38px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.filter-status { font-size: .9rem; color: var(--muted); margin: -16px 0 24px; }

/* Process */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.process li { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); counter-increment: step; }
.process li::before { content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 1rem; color: var(--muted); display: block; margin-bottom: 10px; }
.process h3 { font-size: 1.3rem; margin-bottom: .4em; }
.process p { font-size: .96rem; color: var(--ink-2); margin: 0; }
.section--dark .process, .section--dark .process li { border-color: #48443e; }
.section--dark .process p { color: #d9d1c4; }
.section--dark .process li::before { color: #b9b0a2; }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; } .process li { padding-right: 0; } }

/* Andres intro */
.portrait { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }

/* Credibility */
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.cred { border-top: 1px solid var(--ink); padding-top: 18px; }
.cred h3 { font-size: 1.25rem; }
.cred p { font-size: .95rem; color: var(--ink-2); }
@media (max-width: 860px) { .cred-grid { grid-template-columns: 1fr; } }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 14px; font-family: var(--serif); font-size: 1.22rem; line-height: 1.45; }
.quote figcaption { font-size: .88rem; color: var(--muted); }
.quotes--all { grid-template-columns: repeat(2, 1fr); }
.quotes--all .quote { border-top: 1px solid var(--line); padding-top: 24px; }
.quotes--all blockquote { font-size: 1.12rem; }
@media (max-width: 860px) { .quotes, .quotes--all { grid-template-columns: 1fr; } }

/* Weekly Edit */
.edit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.edit-card { text-decoration: none; display: block; }
.edit-card .media { aspect-ratio: 9 / 16; overflow: hidden; background: var(--stone); position: relative; }
.edit-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.edit-card:hover .media img { transform: scale(1.025); }
.edit-card .tag { position: absolute; left: 10px; top: 10px; background: rgba(255,253,249,.92); color: var(--ink); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; }
.edit-card h3 { font-size: 1.25rem; margin: 12px 0 4px; }
.edit-card p { font-size: .92rem; color: var(--muted); margin: 0; }
.section--dark .edit-card p { color: #bfb6a8; }
@media (max-width: 980px) { .edit-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .edit-grid { grid-template-columns: repeat(2, 1fr); } }

.concept-note { display: inline-flex; gap: 8px; align-items: baseline; font-size: .88rem; background: var(--white); border: 1px solid var(--line); padding: 8px 12px; color: var(--ink-2); }
.concept-note strong { white-space: nowrap; }

.edit-layout { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .edit-layout { grid-template-columns: 1fr; } }
.player { position: relative; aspect-ratio: var(--ar, 9 / 16); max-height: 82vh; width: 100%; margin: 0 auto; background: var(--stone); overflow: hidden; }
@media (max-width: 860px) { .player { max-width: 420px; } }
.player img, .player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--stone); }
.player-btn { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: 18px; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); border: 0; cursor: pointer; color: var(--white); width: 100%; }
.player-btn .play { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,253,249,.95); color: var(--ink); padding: 10px 16px; font-weight: 600; font-size: .92rem; }
.player-btn .play svg { width: 14px; height: 14px; }
.player-btn:focus-visible { outline-offset: -4px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; font-size: .95rem; margin: 0 0 28px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.consider { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 28px; }
.consider ul { padding-left: 1.1em; }

/* Project page */
.project-hero { position: relative; }
.project-hero .media { max-height: 82vh; overflow: hidden; background: var(--paper-2); }
.project-hero img { width: 100%; height: 100%; max-height: 82vh; object-fit: cover; }
.project-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 80px); }
@media (max-width: 860px) { .project-intro { grid-template-columns: 1fr; } }
.role-box { background: var(--white); border: 1px solid var(--line); padding: 24px; }
.role-box h2 { font-size: 1.3rem; }
.gallery { columns: 2; column-gap: clamp(12px, 2vw, 24px); }
.gallery a, .gallery > div { display: block; margin-bottom: clamp(12px, 2vw, 24px); break-inside: avoid; background: var(--paper-2); }
.gallery img { width: 100%; height: auto; }
@media (max-width: 560px) { .gallery { columns: 1; } }
.credit-line { font-size: .88rem; color: var(--muted); }
.pager { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 24px; }
.pager a { text-decoration: none; max-width: 48%; }
.pager span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.pager strong { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; }

/* Lightbox */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: rgba(18,17,15,.96); color: var(--white); }
.lightbox::backdrop { background: rgba(18,17,15,.96); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 64px 20px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; }
.lightbox figcaption { font-size: .88rem; color: #cfc7ba; margin-top: 12px; text-align: center; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); color: var(--white); min-width: 48px; min-height: 48px; cursor: pointer; font-size: 1.1rem; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox figure { padding: 64px 8px 20px; } .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; } }

/* Service page */
.deliverables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.deliverables li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.deliverables strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; margin-bottom: 4px; }
.deliverables span { font-size: .95rem; color: var(--ink-2); }
@media (max-width: 760px) { .deliverables { grid-template-columns: 1fr; } }
.callout { background: var(--white); border-left: 3px solid var(--olive); padding: 20px 24px; }
.callout p:last-child { margin-bottom: 0; }
.image-band { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(12px, 2vw, 24px); }
.image-band img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.image-band > :first-child { aspect-ratio: 3 / 2; overflow: hidden; }
.image-band > :last-child { aspect-ratio: 3 / 4; overflow: hidden; align-self: end; }
@media (max-width: 640px) { .image-band { grid-template-columns: 1fr; } .image-band > :last-child { display: none; } }
.service-links { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.service-links li { border-bottom: 1px solid var(--line); }
.service-links a { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 24px 0; text-decoration: none; align-items: center; }
.service-links h3 { margin: 0 0 4px; }
.service-links p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.service-links .arrow { font-size: 1.4rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--serif); font-size: 1.25rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-family: var(--sans); font-size: 1.5rem; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); max-width: 70ch; }

/* Areas */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid currentColor; }
.area-grid > * { padding: 22px 22px 22px 0; }
.area-grid h3 { font-size: 1.4rem; margin-bottom: .3em; }
.area-grid p { font-size: .93rem; margin: 0; opacity: .85; }
@media (max-width: 860px) { .area-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .area-grid { grid-template-columns: 1fr; } }

/* Form */
.form-wrap { background: var(--white); border: 1px solid var(--line); padding: clamp(20px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #b9b0a2; background: var(--white); border-radius: var(--radius); font: 400 1rem/1.4 var(--sans); color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .err { color: var(--error); font-size: .88rem; margin-top: 6px; display: none; }
.field .err.is-shown { display: block; }
.field .hint { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.radio-set { border: 0; padding: 0; margin: 0; }
.radio-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 480px) { .radio-options { grid-template-columns: 1fr; } }
.radio-options label { display: flex; gap: 10px; align-items: center; border: 1px solid #b9b0a2; padding: 10px 12px; min-height: 48px; font-weight: 400; cursor: pointer; margin: 0; }
.radio-options input { width: 18px; height: 18px; min-height: 0; accent-color: var(--ink); }
.radio-options label:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; padding: 14px 16px; display: none; }
.form-status.is-shown { display: block; }
.form-status.is-error { background: #f8e9e6; color: var(--error); border: 1px solid #e5c2bb; }
.form-status.is-ok { background: #e8efe4; color: var(--ok); border: 1px solid #c4d4bb; }
.form-status.is-preview { background: #e9eef4; color: #23384f; border: 1px solid #c4d1df; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.next-steps { counter-reset: n; list-style: none; padding: 0; }
.next-steps li { counter-increment: n; padding-left: 44px; position: relative; margin-bottom: 18px; }
.next-steps li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-size: .85rem; }

/* CTA band */
.cta-band { background: var(--olive-ink); color: var(--white); }
.cta-band .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.cta-band h2 { margin: 0; max-width: 18ch; }
.cta-band p { color: #dfe3d6; }
.cta-band .contact-lines a { color: var(--white); }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--stone); color: #d9d1c4; padding: 56px 0 32px; font-size: .93rem; }
.site-footer a { color: #f1ebe1; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #a89f91; margin-bottom: 14px; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand { font-family: var(--serif); font-size: 1.6rem; color: var(--white); margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #45413b; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; color: #a89f91; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Subtle entrance: only when the visitor has not asked for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
}
