:root {
  --navy: #182637;
  --deep: #111d2b;
  --gold: #dfc08d;
  --paper: #fcfaf6;
  --cream: #f0e9dd;
  --ink: #243244;
  --muted: #515d68;
  --line: #d6cbbb;
  --accent: #765425;
  --serif: Georgia, "Times New Roman", serif;
  --gutter: clamp(1.15rem, 4vw, 3.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 6rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 system-ui, sans-serif; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--gold); color: var(--deep); }
.wrap { width: min(100%, 86rem); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; top: .5rem; left: .5rem; transform: translateY(-200%); padding: .75rem; background: var(--paper); z-index: 3; }
.skip-link:focus { transform: none; }
.header, .hero, footer { background: var(--navy); color: var(--paper); }
.header :focus-visible, .hero :focus-visible, footer :focus-visible { outline-color: var(--gold); }
.header { position: sticky; z-index: 2; top: 0; border-bottom: 1px solid #415063; }
.nav, .foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5rem; }
.logo { width: clamp(10rem, 22vw, 16rem); }
.nav nav, .actions { display: flex; align-items: center; gap: .85rem 1.35rem; flex-wrap: wrap; }
.nav a { text-decoration: none; }
.nav nav > a:not(.btn):hover { color: var(--gold); }
.btn, .menu { display: inline-flex; min-height: 2.9rem; align-items: center; justify-content: center; padding: .62rem 1.12rem; border: 1px solid transparent; border-radius: .3rem; font-weight: 650; text-decoration: none; cursor: pointer; }
.btn { background: var(--gold); color: var(--deep); }
.btn:hover { background: #eed6af; }
.btn.outline, .menu { color: inherit; background: transparent; border-color: currentColor; }
.btn.outline:hover, .menu:hover { background: #ad997224; }
.menu { display: none; }
.hero { position: relative; isolation: isolate; min-height: min(52rem, 85svh); display: flex; align-items: center; padding-block: clamp(2.5rem, 6vw, 6rem); }
.hero-background { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-copy { width: min(100%, 46rem); padding: clamp(1.3rem, 3vw, 3rem); background: rgb(24 38 55 / 50%); border-radius: .65rem; }
.hero-copy h1, .hero-copy .lead { text-shadow: 0 2px 6px #000; }
.hero-layout, .split, .contact-layout { display: grid; align-items: start; gap: clamp(1.5rem, 5vw, 5.5rem); }
.hero-layout { display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -.028em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.2rem, 4.3vw, 4.7rem); }
h1 em { color: var(--gold); font-weight: inherit; }
h2 { font-size: clamp(2rem, 3.7vw, 3.8rem); }
h3 { font-size: clamp(1.65rem, 2.25vw, 2.4rem); }
.lead { max-width: 43ch; margin: 1.3rem 0 1.8rem; color: #e2e5e8; font-size: clamp(1.05rem, 1.7vw, 1.24rem); }
.section { padding-block: clamp(3.15rem, 7.3vw, 7rem); }
.intro { margin: .85rem 0 2rem; color: var(--muted); }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.75rem, 4vw, 3.8rem); }
.service { border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
.service img { width: 100%; aspect-ratio: 1.8; object-fit: cover; border-radius: .65rem; }
.service:first-child img { object-position: center 29%; }
.service h3 { margin-top: .7rem; }
.service p { max-width: 58ch; margin: .65rem 0; color: var(--muted); }
.service a { display: inline-flex; gap: .55rem; align-items: center; min-height: 2.75rem; color: var(--accent); font-weight: 650; }
.office { grid-column: 1 / -1; display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(1rem, 4vw, 3.8rem); padding: clamp(1rem, 3vw, 2.3rem); background: var(--cream); border: 0; border-radius: .75rem; }
.office h3 { margin-top: 0; }
.sustainability, .contact { background: var(--cream); }
.sustainability { border-block: 1px solid var(--line); }
.split { grid-template-columns: 1fr 1fr; }
.split p:first-child { margin-top: 0; }
.split p:last-child { margin-bottom: 0; }
.contact-layout { grid-template-columns: .85fr 1.15fr; }
.contact-layout > div:first-child a { overflow-wrap: anywhere; }
.fault-note { padding: 1rem; border: 1px solid #b5a28a; border-radius: .4rem; }
.form-panel { background: var(--paper); border: 1px solid var(--line); border-radius: .8rem; padding: clamp(1.1rem, 3vw, 2.4rem); min-width: 0; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.field { margin-bottom: .9rem; }
.field label { display: block; margin-bottom: .25rem; font-weight: 650; }
.field :is(input, select, textarea) { width: 100%; min-height: 2.85rem; color: var(--ink); caret-color: var(--accent); background: #fff; border: 1px solid #827d76; border-radius: .35rem; padding: .55rem .65rem; }
.field textarea { resize: vertical; }
.consent { display: flex; align-items: baseline; gap: .55rem; margin: 0 0 1rem; }
.consent input { accent-color: var(--navy); }
.honeypot { position: absolute; left: -9999px; }
.form-status { margin: .65rem 0 0; overflow-wrap: anywhere; }
.form-status:empty { margin: 0; }
button:disabled { opacity: .65; cursor: default; }
.footer-logo { width: 11.5rem; }
.foot { padding-block: 1.15rem; flex-wrap: wrap; }
.reading { max-width: 54rem; }
.reading h2 { font-size: clamp(1.55rem, 2.5vw, 2.2rem); margin-top: 1.35em; }
@media (max-width: 820px) {
  .nav { min-height: 4.4rem; flex-wrap: wrap; padding-block: .65rem; }
  .nav nav { width: 100%; }
  .nav.enhanced .menu { display: inline-flex; }
  .nav.enhanced nav { display: none; }
  .nav.enhanced nav.open { display: flex; flex-direction: column; align-items: stretch; padding-bottom: .6rem; gap: .25rem; }
  .nav.enhanced nav a { min-height: 2.75rem; display: flex; align-items: center; }
  .hero-layout, .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .services, .office, .split, .form-row { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .office { padding: 1rem; }
  .nav { column-gap: .55rem; }
  .hero .actions { gap: .55rem; }
  .hero .btn { padding-inline: .7rem; }
}
@media (max-width: 820px) {
  .nav.enhanced nav.open { max-height: calc(100dvh - 4.4rem); overflow-y: auto; }
}
.preview-note { padding: .55rem var(--gutter); background: var(--gold); color: var(--deep); font-size: .92rem; }

.area-map { position: relative; height: 34rem; min-height: 34rem; background: var(--cream); isolation: isolate; }
.google-map { position: absolute; inset: 0; display: block; border: 0; width: 100%; height: 100%; z-index: 0; }
.area-layout { z-index: 1; position: relative; pointer-events: none; min-height: inherit; display: flex; align-items: center; }
.area-copy { width: min(100%, 26rem); padding: clamp(1.5rem, 3vw, 2.5rem); background: rgb(252 250 246 / 95%); border-radius: .65rem; pointer-events: auto; margin-block: 4rem; }
.area-copy h2 { font-size: clamp(2rem, 3.2vw, 3rem); }
.foot address { font-style: normal; }
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
#terms-dialog { width: min(52rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: .8rem; }
#terms-dialog[open] { display: flex; flex-direction: column; }
#terms-dialog::backdrop { background: rgb(17 29 43 / 70%); }
.terms-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1rem, 3vw, 2rem); border-bottom: 1px solid var(--line); }
.terms-header h2 { font-size: 2rem; }
.terms-body { padding: .5rem clamp(1rem, 3vw, 2rem) 2rem; overflow-y: auto; overscroll-behavior: contain; }
.terms-body h3 { font-size: 1.6rem; margin-top: 1.2em; }
.terms-body a, .reading a { overflow-wrap: anywhere; }
.terms-updated { color: var(--muted); font-size: .9rem; }
.needs-review { padding: .8rem 1rem; background: var(--cream); border: 1px solid var(--line); border-radius: .4rem; }
body:has(#terms-dialog[open]) { overflow: hidden; }
@media (max-width: 560px) {
  .hero { min-height: 40rem; }
  .hero-background { object-position: 63% center; }
  .hero-copy { padding: 1.2rem; }
  .hero-copy h1 { font-size: clamp(2rem, 8.5vw, 2.8rem); }
  .area-map { height: 39rem; min-height: 39rem; }
  .area-layout { align-items: flex-start; }
  .area-copy { margin-block: 1.5rem 20rem; }
  .foot { align-items: flex-start; gap: 1.5rem; }
}
