:root {
  --navy: #0c2240;
  --navy-2: #14345f;
  --ink: #12151a;
  --forest: #1f6b3a;
  --forest-2: #16522c;
  --gold: #c4a15a;
  --gold-2: #e8d7a8;
  --stone: #efe8db;
  --paper: #f7f4ee;
  --white: #fff;
  --muted: #5c6570;
  --line: #d9d1c4;
  --danger: #9b2c2c;
  --shadow: 0 18px 50px rgba(12, 34, 64, .12);
  --radius: 16px;
  --max: 1180px;
  --sans: "Outfit", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--navy-2); }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 560; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.08; margin: 0 0 .4em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; margin: 0 0 .45em; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: .6rem;
}

/* Top bar */
.topbar {
  background: var(--navy);
  color: #d7deea;
  font-size: .86rem;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  flex-wrap: wrap;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 560; }
.topbar a:hover { color: var(--gold-2); }
.topbar-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247,244,238,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { height: 52px; width: auto; background: #fff; border-radius: 6px; }
.brand-name { font-weight: 700; line-height: 1.15; }
.brand-name small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
nav.desk { display: flex; gap: 6px; align-items: center; }
nav.desk a {
  text-decoration: none; color: var(--ink); font-weight: 560; font-size: .95rem;
  padding: 8px 10px; border-radius: 8px;
}
nav.desk a:hover, nav.desk a.active { background: #e7efe8; color: var(--forest-2); }
.nav-cta { display: flex; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; text-decoration: none; font-weight: 650;
  border-radius: 999px; padding: 12px 18px; font-size: .95rem;
  transition: .18s transform, .18s background, .18s box-shadow;
}
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--forest); color: #fff; }
.btn-green:hover { background: var(--forest-2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-wide { width: 100%; }
.menu-btn {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 10px; font-weight: 700;
}

/* Mobile nav */
.mobile {
  display: none; border-top: 1px solid var(--line); background: #fff;
  padding: 12px 20px 20px;
}
.mobile a { display: block; padding: 10px 4px; text-decoration: none; color: var(--ink); font-weight: 600; }
.mobile.open { display: block; }

/* Hero */
.hero {
  position: relative; min-height: 78vh; color: #fff;
  display: grid; place-items: end start;
  background: #0c2240 center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,18,32,.25) 0%, rgba(8,18,32,.78) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 70px 0 64px; width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.hero h1 { max-width: 16ch; }
.hero p.lead { max-width: 46ch; font-size: 1.12rem; color: #e8ecf2; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; color: #d7deea; font-size: .92rem; }
.hero-meta strong { color: #fff; display: block; font-size: 1.05rem; }

/* Sections */
section { padding: 72px 0; }
.band-navy { background: var(--navy); color: #e6ebf3; }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-stone { background: var(--stone); }
.grid-3, .grid-2, .grid-4 { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 1px 0 rgba(12,34,64,.04);
  display: flex; flex-direction: column;
}
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card-body { padding: 20px 20px 22px; }
.card a.more { font-weight: 700; color: var(--forest); text-decoration: none; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.split img { border-radius: 18px; box-shadow: var(--shadow); }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: #fff; border-radius: 14px; padding: 18px; border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--navy); }

.list-check { list-style: none; padding: 0; margin: 0 0 1rem; }
.list-check li { padding: .35rem 0 .35rem 1.5rem; position: relative; }
.list-check li::before { content: "✓"; position: absolute; left: 0; color: var(--forest); font-weight: 800; }

/* Form */
.form-panel {
  background: #fff; border-radius: 20px; padding: 28px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
label { display: block; font-size: .82rem; font-weight: 650; margin: 12px 0 6px; }
input, select, textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 12px; font: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid #cfe3d4; border-color: var(--forest); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pref { display: flex; gap: 10px; flex-wrap: wrap; }
.pref label { display: flex; align-items: center; gap: 8px; font-weight: 600; margin: 0; font-size: .92rem; }
.pref input { width: auto; }
.honeypot { position: absolute; left: -9999px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 10px; }

/* Photo upload */
.photo-field {
  border: 1.5px dashed var(--line); border-radius: 12px; padding: 16px;
  text-align: center; cursor: pointer; background: var(--paper);
  transition: border-color .15s, background .15s;
}
.photo-field:hover, .photo-field.drag { border-color: var(--forest); background: #f2f7f3; }
.photo-field input[type="file"] { display: none; }
.photo-field-label { font-weight: 650; font-size: .92rem; color: var(--navy); }
.photo-field-hint { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.photo-previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.photo-thumb { position: relative; width: 72px; height: 72px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-thumb button {
  position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(10,20,40,.75); color: #fff; border: 0; font-size: 13px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0;
}
.photo-error { color: var(--danger); font-size: .82rem; margin-top: 6px; display: none; }
.photo-error.show { display: block; }
.contact-stack { display: grid; gap: 12px; }
.contact-tile {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px;
  text-decoration: none; color: inherit;
}
.contact-tile:hover { border-color: var(--forest); }
.contact-tile b { display: block; }
.ico {
  width: 42px; height: 42px; border-radius: 10px; background: var(--stone);
  display: grid; place-items: center; font-weight: 800; color: var(--navy); flex: none;
}

/* FAQ */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 650; }
.faq p { margin: .6em 0 0; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; font-size: .88rem; font-weight: 600;
}

/* Footer */
footer.site { background: #0a1b33; color: #c5cedb; padding: 48px 0 20px; }
footer.site a { color: #fff; text-decoration: none; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
footer h3 { color: #fff; font-size: 1rem; font-family: var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.fine { margin-top: 28px; border-top: 1px solid #244064; padding-top: 16px; font-size: .8rem; color: #8fa0b5; }

.page-hero {
  background: var(--navy) url("../img/hero-original.jpg") center/cover;
  background-image: var(--navy) image-set(url("../img/hero-original.webp") type("image/webp"), url("../img/hero-original.jpg") type("image/jpeg"));
  background-position: center; background-size: cover;
  color: #fff; padding: 70px 0 48px; position: relative;
}
.page-hero::after { content:""; position:absolute; inset:0; background: rgba(8,18,32,.62); }
.page-hero .wrap { position: relative; z-index: 1; }
.crumbs { color: #d0d7e2; font-size: .88rem; margin-bottom: 10px; }
.crumbs a { color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery figure { margin: 0; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.gallery img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery figcaption { padding: 10px 12px 12px; font-size: .86rem; color: var(--muted); }

.floaters {
  position: fixed; right: 16px; bottom: 16px; z-index: 50;
  display: flex; flex-direction: column; gap: 8px;
}
.floaters a {
  box-shadow: var(--shadow);
}

@media (max-width: 960px) {
  nav.desk, .nav-cta .desk-only { display: none; }
  .menu-btn { display: inline-flex; }
  .grid-3, .grid-4, .grid-2, .split, .stat-row, .foot-grid, .form-row, .gallery { grid-template-columns: 1fr; }
  .grid-2.keep { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 86vh; }
}
@media (max-width: 620px) {
  .grid-2.keep { grid-template-columns: 1fr; }
  .brand-name { display: none; }
}

.skip {
  position: absolute; left: 12px; top: -40px; background: var(--gold); color: var(--navy);
  padding: 8px 12px; z-index: 80; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.1em; }
.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 16px 64px; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700;
}
table.plain { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
table.plain th, table.plain td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plain th { background: var(--navy); color: #fff; font-weight: 600; }
.related a { display: block; padding: 10px 0; font-weight: 650; text-decoration: none; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 0 0 22px; }
.toc a { display: block; text-decoration: none; font-weight: 600; padding: 4px 0; }
.notice { background: #fff7e6; border: 1px solid #e4d2a4; border-radius: 12px; padding: 14px 16px; }
