:root {
  --forest: #0d3b2f;
  --forest-deep: #082820;
  --leaf: #197347;
  --lime: #77ad45;
  --gold: #f3bf33;
  --sun: #ffd968;
  --ink: #14241e;
  --muted: #5c6d65;
  --cream: #fbf8ed;
  --sand: #f1ead7;
  --white: #fff;
  --line: #d9dfd8;
  --shadow: 0 22px 58px rgba(8, 40, 32, .14);
  --radius: 1.35rem;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { margin: 0 0 .7rem; color: var(--forest-deep); font-family: Georgia, "Times New Roman", serif; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 7vw, 5.6rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.55rem); letter-spacing: -.03em; }
h3 { font-size: 1.38rem; }
p { margin: 0 0 1rem; }
ul { padding-left: 1.2rem; }
address { font-style: normal; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7.2rem) 0; }
.section.compact { padding-block: 3rem; }
.section.sand { background: var(--sand); }
.section.forest { color: #eef8f1; background: var(--forest-deep); }
.section.forest h2, .section.forest h3 { color: var(--white); }
.section.forest .eyebrow { color: var(--sun); }
.eyebrow { margin-bottom: .8rem; color: var(--leaf); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.lede, .section-lede { max-width: 44rem; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.section.forest .lede, .section.forest .section-lede { color: #c8ded3; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 9999; padding: .7rem 1rem; transform: translateY(-150%); border-radius: .5rem; color: white; background: var(--forest-deep); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(13, 59, 47, .12); background: rgba(251, 248, 237, .95); backdrop-filter: blur(15px); }
.topbar { padding: .38rem 0; color: #e8f4ed; background: var(--forest-deep); font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; }
.topbar a { text-decoration: none; }
.nav-wrap { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; width: 176px; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { width: 176px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 1.15rem; }
.site-nav a { padding: .65rem .2rem; color: var(--forest-deep); font-size: .94rem; font-weight: 750; text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--leaf); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: .18rem; text-underline-offset: .45rem; }
.nav-toggle { display: none; min-width: 48px; min-height: 48px; border: 1px solid var(--line); border-radius: 50%; color: var(--forest-deep); background: var(--white); font-weight: 800; cursor: pointer; }

.button-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; margin-top: 1.6rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .75rem 1.15rem; border: 2px solid var(--gold); border-radius: 999px; color: var(--forest-deep); background: var(--gold); font-weight: 850; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(8,40,32,.14); }
.button.dark { border-color: var(--forest-deep); color: white; background: var(--forest-deep); }
.button.outline { border-color: rgba(255,255,255,.6); color: white; background: transparent; }
.section .button.outline { border-color: var(--forest-deep); color: var(--forest-deep); }
.section.forest .button.outline { border-color: rgba(255,255,255,.6); color: white; }
.button.small-button { min-height: 42px; padding: .55rem .9rem; }
.text-link { color: var(--leaf); font-weight: 850; }

.hero { position: relative; isolation: isolate; overflow: clip; color: white; background: var(--forest-deep); }
.hero::before { position: absolute; inset: 0; z-index: -2; content: ""; background: linear-gradient(90deg, rgba(5,33,26,.95) 0%, rgba(5,33,26,.80) 48%, rgba(5,33,26,.28) 100%), url('/assets/images/trafalgar.webp') center/cover; }
.hero::after { position: absolute; right: -10rem; bottom: -10rem; z-index: -1; width: 30rem; height: 30rem; border: 1px solid rgba(255,217,104,.38); border-radius: 50%; box-shadow: 0 0 0 4rem rgba(255,217,104,.04), 0 0 0 8rem rgba(255,217,104,.03); content: ""; }
.hero-grid { display: grid; min-height: min(760px, calc(100vh - 112px)); grid-template-columns: minmax(0, 1.18fr) minmax(270px, .72fr); align-items: center; gap: 3.4rem; padding-block: clamp(5rem, 10vw, 8.8rem); }
.hero h1 { max-width: 830px; color: white; }
.hero .lede { max-width: 660px; color: #deebe5; }
.hero-card { align-self: end; padding: 1.35rem; border: 1px solid rgba(255,255,255,.24); border-radius: var(--radius); background: rgba(7,40,31,.78); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.hero-card strong { display: block; margin-bottom: .35rem; color: var(--sun); font-family: Georgia, serif; font-size: 1.35rem; }
.trust-strip { border-top: 1px solid rgba(255,255,255,.18); background: rgba(4,27,21,.72); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 1.3rem 1rem; border-right: 1px solid rgba(255,255,255,.14); }
.trust-item:last-child { border-right: 0; }
.trust-item strong, .trust-item span { display: block; }
.trust-item strong { color: var(--sun); }
.trust-item span { color: #c8ded3; font-size: .9rem; }

.page-hero { padding: clamp(4.2rem, 8vw, 7rem) 0; color: white; background: radial-gradient(circle at 85% 15%, rgba(119,173,69,.35), transparent 26rem), var(--forest-deep); }
.page-hero h1 { max-width: 920px; color: white; font-size: clamp(2.7rem, 6vw, 4.9rem); }
.page-hero .lede { color: #d6e7de; }
.breadcrumbs { color: #b8d0c4; font-size: .86rem; }
.breadcrumbs a { color: white; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 12px 34px rgba(8,40,32,.08); }
.card > img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #dce8df; }
.card-body { padding: 1.35rem; }
.card-body p { color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: .8rem; color: var(--leaf); font-size: .78rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.pill { display: inline-flex; padding: .25rem .65rem; border-radius: 999px; color: var(--forest-deep); background: #e8f0df; }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem,5vw,5rem); align-items: center; }
.split-media { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature-grid, .info-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.feature, .info-box { padding: 1.25rem; border: 1px solid rgba(13,59,47,.13); border-radius: 1rem; background: rgba(255,255,255,.72); }
.forest .feature { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.06); }
.feature p, .info-box p { margin: 0; }
.number { color: var(--gold); font-weight: 900; }
.notice { padding: 1rem 1.1rem; border-left: .3rem solid var(--gold); border-radius: .4rem .85rem .85rem .4rem; background: #fff7d8; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.gallery-grid figure { grid-column: span 4; margin: 0; overflow: hidden; border-radius: var(--radius); background: white; }
.gallery-grid figure:nth-child(1), .gallery-grid figure:nth-child(5) { grid-column: span 8; }
.gallery-grid img { width: 100%; height: 280px; object-fit: cover; }
.gallery-grid figcaption { padding: .85rem 1rem; font-weight: 800; }
.faq-list { display: grid; gap: .75rem; max-width: 900px; }
.faq-list details { padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: 1rem; background: white; }
.faq-list summary { color: var(--forest-deep); font-weight: 850; cursor: pointer; }
.faq-list details p { margin: .8rem 0 0; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(240px,.8fr); gap: 3rem; align-items: start; }
.prose { max-width: 800px; }
.prose h2 { margin-top: 2.4rem; font-size: clamp(1.7rem,3vw,2.35rem); }
.prose h3 { margin-top: 1.6rem; }
.sidebar { position: sticky; top: 130px; display: grid; gap: .55rem; padding: 1.25rem; border-radius: 1rem; background: var(--sand); }
.sidebar a { color: var(--leaf); font-weight: 800; }

.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field.full { grid-column: 1/-1; }
.field label { color: var(--forest-deep); font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .8rem; border: 1px solid #aebbb4; border-radius: .65rem; color: var(--ink); background: white; }
.field textarea { min-height: 145px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; }
.form-status { min-height: 1.7rem; margin-top: .8rem; color: var(--forest-deep); font-weight: 750; }

.site-footer { color: #d6e7de; background: #061f18; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 2rem; padding-block: 4rem; }
.footer-brand img { width: 190px; padding: .55rem; border-radius: .8rem; background: white; }
.site-footer h2, .site-footer h3 { color: white; font-family: inherit; font-size: 1rem; }
.site-footer a { color: #d6e7de; }
.footer-links { display: grid; gap: .45rem; align-content: start; }
.footer-bottom { padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.13); font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; }

.not-found { display: grid; min-height: 70vh; place-items: center; text-align: center; }
.not-found h1 { font-size: clamp(5rem,18vw,11rem); color: var(--gold); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 960px) {
  .topbar .container { justify-content: center; }
  .topbar span { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { position: absolute; top: 100%; right: 1rem; left: 1rem; display: none; padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--cream); box-shadow: var(--shadow); }
  .site-nav[data-open="true"] { display: grid; }
  .site-nav .button { width: 100%; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 520px; align-self: auto; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .split, .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 1.25rem), var(--max)); }
  .section { padding-block: 3.7rem; }
  .brand, .brand img { width: 148px; }
  .nav-wrap { min-height: 70px; }
  .hero-grid { min-height: auto; padding-block: 4.7rem; }
  .trust-grid, .card-grid, .feature-grid, .info-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .section-head { display: block; }
  .section-head > a { display: inline-block; margin-top: 1rem; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; }
  .gallery-grid figure, .gallery-grid figure:nth-child(1), .gallery-grid figure:nth-child(5) { grid-column: auto; }
  .gallery-grid img { height: 230px; }
  .footer-bottom .container { display: grid; }
}

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