:root {
  --patina: #1E3B3A;
  --verdigris: #6FA597;
  --copper: #B0602C;
  --copper-dark: #924E22;
  --copper-light: #F0B488;
  --paper: #EEF2F0;
  --ink: #142221;
  --muted: #4E615E;
  --line: #C9D4D0;
  --ok: #2F7A55;
  --error: #B23A2B;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(88px + env(safe-area-inset-top, 0px)); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 3px; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Top bar and header */
.topbar { background: var(--patina); color: var(--paper); font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; flex-wrap: wrap; }
.topbar a { color: var(--copper-light); font-weight: 600; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.status { display: inline-flex; align-items: center; gap: .5rem; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7BD3A6; box-shadow: 0 0 0 3px rgba(123,211,166,.25); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(238,242,240,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 72px; position: relative; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 800; font-variation-settings: "wdth" 112; font-size: 1.25rem; color: var(--ink); }
.logo svg { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; gap: 1.6rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.nav-cta { display: flex; gap: .6rem; align-items: center; }
.menu-btn { display: none; background: none; border: 2px solid var(--patina); border-radius: 10px; padding: .4rem .75rem; font: inherit; font-weight: 600; color: var(--patina); cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px;
       font: inherit; font-weight: 650; text-decoration: none; border: 2px solid var(--patina); color: var(--patina); background: transparent;
       cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--patina); color: var(--paper); }
.btn-primary { background: var(--copper); border-color: var(--copper); color: #fff; }
.btn-primary:hover { background: var(--copper-dark); border-color: var(--copper-dark); color: #fff; }
.btn-dark { background: var(--patina); color: var(--paper); }
.btn-dark:hover { background: var(--ink); border-color: var(--ink); }
.btn-light { border-color: var(--paper); color: var(--paper); }
.btn-light:hover { background: var(--paper); color: var(--patina); }
.btn-small { padding: .55rem 1rem; font-size: .95rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* Type */
h1, h2, h3 { color: var(--patina); margin: 0; }
.display { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: .96; font-weight: 850; font-variation-settings: "wdth" 72; letter-spacing: -.015em; }
.h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.02; font-weight: 800; font-variation-settings: "wdth" 78; }
.h3 { font-size: 1.2rem; font-weight: 700; font-variation-settings: "wdth" 102; }
.lede { font-size: 1.2rem; max-width: 38ch; }
.muted { color: var(--muted); }
section { padding: 5.5rem 0; }
.sec-head { max-width: 46rem; margin-bottom: 3rem; }
.sec-head p { font-size: 1.15rem; margin: 1rem 0 0; max-width: 54ch; }
.sec-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--ink); color: #C7D3CF; padding: 4rem 0 2rem; }
.site-footer .logo { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.foot-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }

/* Forms */
label, .label { font-weight: 600; display: block; margin-bottom: .4rem; }
.field { margin-bottom: 1.25rem; }
.hint { font-size: .88rem; color: var(--muted); margin-top: .35rem; }
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: .75rem .9rem;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--patina); box-shadow: 0 0 0 3px rgba(30,59,58,.18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.error-msg { color: var(--error); font-size: .88rem; margin-top: .35rem; display: none; }
.field.invalid .error-msg { display: block; }
.req { color: var(--copper); }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-block; }
  .nav-links.open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; left: -1.25rem; right: -1.25rem; top: 72px;
                    background: var(--paper); padding: 1.25rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line); gap: 1rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav-cta .btn-call { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  section { padding: 4rem 0; }
  .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
