:root {
  --ink: #0d0d0b;
  --ink-soft: #1b1b17;
  --paper: #f4f0e6;
  --paper-deep: #ded7c8;
  --gold: #c99a35;
  --gold-light: #e5c475;
  --muted: #625e55;
  --line: rgba(13,13,11,.16);
  --white: #fff;
  --shadow: 0 24px 70px rgba(0,0,0,.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.65; }
body.modal-open { overflow: hidden; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .8rem 1rem; background: var(--gold); color: var(--ink); font-weight: 800; }
.skip-link:focus { top: 1rem; }

.topbar { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding: .9rem clamp(1.25rem, 4vw, 4.5rem); background: rgba(244,240,230,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: .7rem; width: max-content; font-weight: 850; letter-spacing: .14em; text-decoration: none; line-height: 1; }
.brand small { display: block; margin-top: .3rem; font-size: .55rem; letter-spacing: .42em; color: #6b665d; }
.brand-mark, .assistant-brand, .quote-icon { display: grid; place-items: center; flex: 0 0 auto; width: 2.35rem; aspect-ratio: 1; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-family: Georgia, serif; font-size: 1.3rem; }
nav { display: flex; gap: clamp(1rem, 2.4vw, 2rem); }
nav a, .footer-links a, .footer-contact a { text-decoration: none; font-size: .9rem; font-weight: 700; }
nav a:hover, .footer-links a:hover, .footer-contact a:hover { color: #9a7121; }
.topbar > .button { justify-self: end; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.25rem; padding: .8rem 1.35rem; border: 1px solid var(--gold); border-radius: .25rem; background: var(--gold); color: var(--ink); font-weight: 850; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.button-small { min-height: 2.7rem; padding: .55rem 1rem; }
.button-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.button-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--gold-light); }
.text-link { font-weight: 850; text-underline-offset: .3rem; }
.text-link span { color: var(--gold); }

.hero { min-height: 82vh; display: grid; grid-template-columns: minmax(0,1.02fr) minmax(22rem,.98fr); gap: clamp(3rem, 6vw, 7rem); align-items: center; padding: clamp(4rem, 8vw, 7.5rem) clamp(1.25rem, 6vw, 7rem); background: var(--ink); color: var(--white); overflow: hidden; }
.hero-copy { max-width: 49rem; }
.eyebrow { margin: 0 0 1rem; color: #9c7121; font-size: .78rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.hero .eyebrow, .project .eyebrow, .quote .eyebrow { color: var(--gold-light); }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.038em; line-height: 1.02; }
h1 { max-width: 12ch; font-size: clamp(3.15rem, 6.7vw, 7.1rem); }
h2 { font-size: clamp(2.25rem, 4.2vw, 4.45rem); }
h3 { margin: .55rem 0 .45rem; font-size: 1.2rem; line-height: 1.25; }
.intro { max-width: 43rem; margin: 1.7rem 0 2rem; color: #d5d0c5; font-size: clamp(1.05rem, 1.5vw, 1.23rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.trust-list { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; margin: 2.4rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid rgba(255,255,255,.15); color: #d5d0c5; list-style: none; }
.trust-list li::before { content: "✓"; margin-right: .5rem; color: var(--gold-light); font-weight: 900; }
.hero-visual { position: relative; min-height: min(66vh, 47rem); }
.hero-main { position: absolute; inset: 0 12% 0 0; border: 1px solid rgba(201,154,53,.6); }
.hero-main img { object-position: center 34%; }
.hero-main::before { content: ""; position: absolute; inset: -1rem 1rem 1rem -1rem; z-index: 0; border: 1px solid var(--gold); pointer-events: none; }
.hero-main img { position: relative; z-index: 1; }
.hero-main figcaption, .hero-result figcaption, .project-gallery figcaption { position: absolute; z-index: 2; right: 0; bottom: 0; padding: .65rem .9rem; background: var(--paper); color: var(--ink); font-size: .74rem; font-weight: 850; }
.hero-result { position: absolute; right: 0; bottom: 7%; z-index: 3; width: 39%; height: 39%; border: 5px solid var(--ink); box-shadow: var(--shadow); }

.service-strip { display: flex; justify-content: space-around; gap: 1rem; overflow: auto; padding: 1rem clamp(1.25rem, 6vw, 7rem); background: var(--gold); font-size: .74rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.service-strip span:not(:last-child)::after { content: "•"; margin-left: clamp(1.2rem,4vw,4rem); }

.section { padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 6vw, 7rem); }
.section-heading { display: grid; grid-template-columns: .52fr 1.48fr; gap: 2rem; align-items: start; margin-bottom: 3.2rem; }
.section-heading.compact { margin-bottom: 2.5rem; }
.section-number { margin: 0; color: #b7b0a3; font-family: Georgia,serif; font-size: 2.1rem; }
.lead { max-width: 48rem; margin: 1.25rem 0 0; color: var(--muted); font-size: 1.08rem; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.services-grid article { min-height: 17rem; padding: 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s ease; }
.services-grid article:hover { background: rgba(255,255,255,.5); }
.services-grid span, .process-grid span { color: var(--gold); font-family: Georgia,serif; font-size: 1.8rem; }
.services-grid p, .process-grid p { margin: 0; color: var(--muted); }

.project { display: grid; grid-template-columns: .68fr 1.32fr; gap: clamp(2rem,5vw,5rem); padding: clamp(4.5rem,9vw,8rem) clamp(1.25rem,6vw,7rem); background: var(--ink-soft); color: var(--white); }
.project-copy { align-self: center; position: sticky; top: 7rem; }
.project-copy > p:not(.eyebrow) { max-width: 37rem; margin: 1.5rem 0; color: #d1cbc0; }
.project-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.project-tags li { padding: .35rem .7rem; border: 1px solid rgba(255,255,255,.22); border-radius: 99px; color: #d1cbc0; font-size: .76rem; }
.project-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 26rem; gap: .8rem; }
.project-gallery figure { position: relative; overflow: hidden; }
.project-gallery .gallery-result { grid-row: span 2; }
.project-gallery .gallery-result img { object-position: center 38%; }

.process-grid { display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; counter-reset: process; }
.process-grid li { padding: 1.4rem 1.4rem 2rem 0; border-bottom: 1px solid var(--line); }
.process-grid li:not(:last-child) { margin-right: 1.2rem; border-right: 1px solid var(--line); }
.process-media { display: grid; grid-template-columns: 1.35fr .65fr; min-height: 33rem; margin-top: 4rem; background: var(--paper-deep); }
.process-media img { max-height: 39rem; object-position: center 30%; }
.process-media > div { align-self: center; padding: clamp(2rem,5vw,5rem); }
.process-media h3 { max-width: 10ch; font-family: Georgia,serif; font-size: clamp(2rem,3vw,3.25rem); font-weight: 500; line-height: 1; }

.team { display: grid; grid-template-columns: minmax(18rem,.74fr) 1.26fr; gap: clamp(2.5rem,7vw,7rem); align-items: center; padding: clamp(4.5rem,9vw,8rem) clamp(1.25rem,10vw,11rem); background: #d9d1c1; }
.team figure { height: min(64vw,38rem); position: relative; }
.team figure::after { content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem; border: 1px solid var(--gold); pointer-events: none; }
.team p:not(.eyebrow) { max-width: 42rem; font-size: 1.1rem; color: #504c44; }
.contact-inline { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.contact-inline a { padding: .6rem .9rem; border: 1px solid rgba(13,13,11,.25); font-weight: 800; text-decoration: none; }

.zones { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(3rem,8vw,8rem); align-items: end; }
.zones > div > p:first-child:not(.eyebrow) { color: var(--muted); }
.town-list { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.town-list li { padding: .55rem .8rem; border: 1px solid var(--line); border-radius: .2rem; background: rgba(255,255,255,.35); font-size: .88rem; font-weight: 720; }

.faq { background: #e8e2d6; }
.faq-list { max-width: 64rem; margin-left: auto; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 2rem; padding: 1.25rem 0; font-weight: 850; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: #9c7121; font-size: 1.5rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { max-width: 52rem; margin: -.4rem 0 1.4rem; color: var(--muted); }

.quote { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem,7vw,7rem); align-items: center; padding: clamp(4.5rem,9vw,8rem) clamp(1.25rem,8vw,9rem); background: var(--ink); color: var(--white); }
.quote > div > p:last-child { max-width: 38rem; color: #cbc5b9; }
.quote-card { display: grid; padding: clamp(1.5rem,4vw,3rem); border: 1px solid rgba(229,196,117,.45); background: #171713; box-shadow: var(--shadow); }
.quote-card h3 { margin-top: 1.2rem; font-family: Georgia,serif; font-size: 2rem; font-weight: 500; }
.quote-card p { margin: .2rem 0 1.4rem; color: #cbc5b9; }
.quote-card small { margin-top: .8rem; color: #99948a; text-align: center; }
.quote-icon { width: 3rem; font-size: 1.6rem; }

footer { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding: 3rem clamp(1.25rem,6vw,7rem) 4.5rem; background: #070706; color: #d7d1c5; border-top: 1px solid #2c2b27; }
.footer-brand p { margin: 1rem 0 0; color: #8f8a81; font-size: .88rem; }
.footer-contact, .footer-links { display: flex; flex-direction: column; gap: .45rem; align-items: flex-start; }
.footer-contact strong, .footer-links strong { margin-bottom: .25rem; color: var(--gold-light); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.copyright { position: absolute; right: clamp(1.25rem,6vw,7rem); bottom: 1rem; margin: 0; color: #767168; font-size: .75rem; }

.assistant-fab { position: fixed; z-index: 35; right: 1.2rem; bottom: 1.2rem; display: flex; align-items: center; gap: .7rem; padding: .55rem .9rem .55rem .55rem; border: 1px solid rgba(255,255,255,.15); border-radius: 99px; background: var(--ink); color: var(--white); box-shadow: 0 12px 36px rgba(0,0,0,.28); font-weight: 800; cursor: pointer; }
.assistant-fab span:first-child { display: grid; place-items: center; width: 2rem; aspect-ratio: 1; border-radius: 50%; background: var(--gold); color: var(--ink); font-family: Georgia,serif; }
.mobile-contact { display: none; }
.assistant-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.62); backdrop-filter: blur(4px); }
.assistant { position: fixed; z-index: 90; right: 1.2rem; bottom: 1.2rem; width: min(94vw,29rem); max-height: min(88vh,47rem); overflow: auto; border: 1px solid rgba(201,154,53,.45); border-radius: .5rem; background: var(--paper); box-shadow: var(--shadow); }
.assistant-header { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 1rem; background: var(--ink); color: var(--white); }
.assistant-header > div { display: flex; align-items: center; gap: .75rem; }
.assistant-header strong, .assistant-header small { display: block; }
.assistant-header small { color: #aaa59b; font-size: .72rem; }
.assistant-brand { width: 2.1rem; font-size: 1.1rem; }
.assistant-close { border: 0; background: transparent; color: var(--white); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.assistant-progress { height: 4px; background: #d6d0c5; }
.assistant-progress span { display: block; width: 25%; height: 100%; background: var(--gold); transition: width .25s ease; }
#assistant-form { padding: 1.25rem; }
.assistant-step { display: none; }
.assistant-step.is-active { display: block; animation: step-in .25s ease; }
.assistant-question { margin: 0 0 1rem; font-family: Georgia,serif; font-size: 1.7rem; line-height: 1.1; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.choice-grid.one-column { grid-template-columns: 1fr; }
.choice-grid label { cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid span { display: flex; min-height: 3.2rem; align-items: center; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: .25rem; background: rgba(255,255,255,.45); font-size: .88rem; font-weight: 750; }
.choice-grid input:checked + span { border-color: var(--gold); background: #f1dfb9; box-shadow: inset 0 0 0 1px var(--gold); }
.choice-grid input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.field-label { display: block; margin-bottom: 1rem; color: #413e38; font-size: .82rem; font-weight: 800; }
.field-label input, .field-label textarea, .field-label select { display: block; width: 100%; margin-top: .35rem; padding: .8rem .9rem; border: 1px solid #aaa398; border-radius: .2rem; background: var(--white); color: var(--ink); }
.assistant-actions { display: flex; justify-content: space-between; gap: .7rem; margin-top: 1.2rem; }
.assistant-actions .button { margin-left: auto; }
.assistant-back { border: 0; background: transparent; font-weight: 800; text-decoration: underline; cursor: pointer; }
.assistant-error { min-height: 1.4rem; margin: .4rem 0 0; color: #8f2c22; font-size: .82rem; }
.privacy-note { color: var(--muted); font-size: .75rem; }
[hidden] { display: none !important; }

.legal-page { min-height: 100vh; background: var(--paper); }
.legal-main { max-width: 52rem; margin: 0 auto; padding: clamp(3.5rem,8vw,7rem) 1.25rem; }
.legal-main h1 { max-width: none; font-size: clamp(2.7rem,7vw,5rem); }
.legal-main h2 { margin-top: 2.4rem; font-family: Georgia,serif; font-size: 1.8rem; }
.legal-main p, .legal-main li { color: var(--muted); }
.legal-main .button { margin-top: 1.5rem; }

@keyframes step-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 1050px) {
  .topbar { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr .78fr; }
  .project { grid-template-columns: 1fr; }
  .project-copy { position: static; }
  .services-grid, .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid li:nth-child(2) { margin-right: 0; border-right: 0; }
}

@media (max-width: 760px) {
  body { padding-bottom: 4rem; }
  .topbar { padding: .72rem 1rem; }
  .topbar > .button { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-visual { min-height: 35rem; margin-top: .8rem; }
  .hero-main { inset: 0 9% 0 0; }
  .service-strip { justify-content: flex-start; }
  .section-heading, .zones, .team, .quote { grid-template-columns: 1fr; }
  .project-gallery { grid-auto-rows: 20rem; }
  .process-media { grid-template-columns: 1fr; }
  .process-media > div { padding: 2rem; }
  .team figure { height: 32rem; max-width: 27rem; }
  footer { grid-template-columns: 1fr 1fr; padding-bottom: 3rem; }
  .footer-brand { grid-column: 1/-1; }
  .assistant-fab { display: none; }
  .mobile-contact { position: fixed; inset: auto 0 0; z-index: 45; display: grid; grid-template-columns: .72fr 1.28fr; height: 4rem; background: var(--ink); box-shadow: 0 -10px 28px rgba(0,0,0,.18); }
  .mobile-contact a, .mobile-contact button { display: grid; place-items: center; border: 0; color: var(--white); font-weight: 850; text-decoration: none; }
  .mobile-contact button { background: var(--gold); color: var(--ink); }
  .assistant { right: .5rem; bottom: .5rem; width: calc(100vw - 1rem); max-height: calc(100vh - 1rem); }
}

@media (max-width: 520px) {
  h1 { font-size: clamp(3rem,14.5vw,4.4rem); }
  h2 { font-size: clamp(2.25rem,11vw,3.5rem); }
  .hero { padding-inline: 1rem; }
  .hero-visual { min-height: 29rem; }
  .hero-result { width: 42%; height: 36%; }
  .actions { align-items: stretch; }
  .actions .button { width: 100%; }
  .services-grid, .process-grid { grid-template-columns: 1fr; }
  .services-grid article { min-height: auto; }
  .process-grid li, .process-grid li:not(:last-child) { margin-right: 0; border-right: 0; }
  .project-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 15rem; }
  .project-gallery .gallery-result { grid-column: 1/-1; grid-row: auto; height: 28rem; }
  .project-gallery figure:last-child { display: none; }
  .team figure { height: 28rem; }
  .choice-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .copyright { position: static; grid-column: 1/-1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
