/* Trainor Marine — main stylesheet
   Palette from the Neptune logo: navy #0C1A33, periwinkle #93ABDC, cream-gold #FAE8AA.
   Wordmark/headings: Inknut Antiqua (as on the original site). Body: Barlow at readable weights. */

:root {
  /* REPLACEABLE IMAGES — none of the site's photos are CSS backgrounds;
     every photo is an <img src="assets/..."> listed in assets/manifest.json. */

  --navy: #0C1A33;
  --navy-900: #081325;
  --navy-800: #13264A;
  --navy-700: #1E3766;
  --peri: #93ABDC;
  --peri-700: #3B5A9A;   /* periwinkle darkened for text/links on white (6.9:1) */
  --peri-300: #BCCCEA;
  --peri-100: #E3EAF7;
  --peri-50: #F2F5FB;
  --gold: #FAE8AA;
  --gold-500: #C0B490;
  --gold-800: #6E6136;
  --ink: #141414;
  --text: #1C2638;
  --muted: #4A566B;
  --line: #D5DDEC;
  --white: #FFFFFF;
  --mist: #F6F8FB;

  --font-display: "Inknut Antiqua", Georgia, "Times New Roman", serif;
  --font-body: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --radius: 6px;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6rem;
  --shadow: 0 1px 2px rgba(12, 26, 51, .06), 0 8px 24px rgba(12, 26, 51, .08);
}

@font-face { font-family: "Inknut Antiqua"; src: url("assets/fonts/inknut-antiqua-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inknut Antiqua"; src: url("assets/fonts/inknut-antiqua-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--peri-700); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--peri-700); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

h1, h2, h3, h4 { color: var(--navy); margin: 0 0 var(--space-2); }
h1, h2 { font-family: var(--font-display); font-weight: 700; line-height: 1.3; letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.35rem); font-weight: 600; }
h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.3rem; line-height: 1.3; }
p { margin: 0 0 var(--space-2); }
ul, ol { margin: 0 0 var(--space-2); padding-left: 1.25rem; }
li + li { margin-top: .3rem; }
strong { font-weight: 600; color: var(--navy); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--text); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: var(--gold); padding: .6rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; color: var(--gold); }

/* ---------- Buttons (one vocabulary: "Request a quote" = filled, "Call or text" = outline) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem; padding: .75rem 1.4rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--navy); color: var(--gold); }
.btn-primary:hover { background: var(--navy-700); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--gold); }
.on-dark .btn-primary { background: var(--gold); color: var(--navy); }
.on-dark .btn-primary:hover { background: var(--white); color: var(--navy); }
.on-dark .btn-outline { color: var(--white); border-color: var(--peri); }
.on-dark .btn-outline:hover { background: var(--peri); color: var(--navy); border-color: var(--peri); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--space-3); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 248, 251, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 4.75rem; padding-block: .4rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--navy); }
.brand img { width: 88px; height: auto; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; line-height: 1; letter-spacing: .005em; color: var(--ink); white-space: nowrap; padding-top: .2em; }
.header-call { display: none; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header-call:hover { color: var(--peri-700); }
.header-call svg { width: 1.05em; height: 1.05em; vertical-align: -.15em; margin-right: .3rem; }
.header-cta { display: none; min-height: 2.6rem; padding: .5rem 1rem; font-size: 1rem; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 2.75rem; padding: .4rem .8rem; border: 2px solid var(--navy); border-radius: var(--radius);
  background: transparent; color: var(--navy); font: 700 1rem var(--font-body); cursor: pointer;
}
.nav-toggle svg { width: 1.2rem; height: 1.2rem; }
.nav-toggle { display: none; }
.js .nav-toggle { display: inline-flex; }
.call-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: var(--radius); background: var(--navy); color: var(--gold); }
.call-icon svg { width: 1.25rem; height: 1.25rem; }
.call-icon:hover, .call-icon:focus-visible { color: var(--gold); background: var(--navy-700); }
@media (max-width: 479px) {
  .header-inner { gap: .5rem; min-height: 4.25rem; }
  .brand { gap: .5rem; }
  .brand img { width: 62px; }
  .brand-name { font-size: 1.12rem; }
  .nav-toggle { padding: .4rem .6rem; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem 1.1rem; }
.site-nav li + li { margin: 0; }
.site-nav a { display: inline-block; padding: .55rem 0; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.02rem; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--peri-700); border-bottom-color: var(--peri); }
.site-nav a[aria-current="page"] { color: var(--navy); font-weight: 700; border-bottom-color: var(--gold-500); }
.site-nav .nav-quote { display: none; }

/* Without JS the nav simply sits below the brand row. With JS it collapses on small screens. */
.site-nav { flex-basis: 100%; order: 5; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; padding: .25rem 0 1rem; }
.js .site-nav.is-open ul { flex-direction: column; }
.js .site-nav.is-open a { padding: .7rem 0; font-size: 1.15rem; }
.js .site-nav.is-open .nav-quote { display: block; margin-top: .5rem; }
.header-inner { flex-wrap: wrap; }

@media (min-width: 600px) {
  .header-call { display: inline-block; }
  .call-icon { display: none; }
}
@media (min-width: 760px) { .header-cta { display: inline-flex; } }
.site-header .wrap { width: min(100% - 2.5rem, 1280px); }
@media (min-width: 1260px) {
  .header-inner { flex-wrap: nowrap; min-height: 5.5rem; gap: 1.5rem; }
  .brand img { width: 108px; }
  .site-nav, .js .site-nav { display: block; flex-basis: auto; order: 0; }
  .nav-toggle, .js .nav-toggle { display: none; }
  .header-call { display: none; }
  .site-nav ul { flex-wrap: nowrap; gap: 0 1rem; }
  .site-nav a { font-size: 1rem; }
}
@media (min-width: 1440px) { .header-call { display: inline-block; } .brand-name { font-size: 1.6rem; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-6); }
.section-tight { padding-block: var(--space-5); }
.section-mist { background: var(--peri-50); }
.section-navy { background: var(--navy); color: #DCE4F3; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy strong { color: var(--gold); }
.section-navy a:not(.btn) { color: var(--gold); }
.section-navy a:not(.btn):hover { color: var(--white); }
.section-head { max-width: 44rem; margin-bottom: var(--space-4); }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.section-navy .section-head p { color: #C6D2EA; }
@media (min-width: 900px) { .section { padding-block: var(--space-7); } }

/* Gold rule motif from the logo's ring */
.rule { display: block; width: 4.5rem; height: 3px; background: var(--gold-500); border: 0; margin: 0 0 var(--space-3); border-radius: 2px; }
.section-navy .rule, .on-dark .rule { background: var(--gold); }

/* ---------- Home hero ---------- */
.hero { background: var(--navy); color: #DCE4F3; position: relative; overflow: hidden; }
.hero::before { /* faint ring echoing the logo, purely decorative */
  content: ""; position: absolute; width: 60rem; height: 60rem; right: -22rem; top: -20rem;
  border: 2px solid rgba(250, 232, 170, .12); border-radius: 50%; pointer-events: none;
}
.hero-inner { position: relative; display: grid; gap: var(--space-4); padding-block: var(--space-5) var(--space-5); align-items: center; }
.hero h1 { color: var(--gold); margin-bottom: var(--space-2); }
.hero h1 .h1-sub { display: block; font-family: var(--font-body); font-weight: 600; font-size: clamp(1.2rem, 1rem + .8vw, 1.55rem); line-height: 1.35; color: var(--white); letter-spacing: 0; margin-top: .6rem; }
.hero p { font-size: 1.15rem; color: #D3DCEE; max-width: 36rem; }
.hero-figure { margin: 0; }
.hero-figure img { width: 100%; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); border: 4px solid rgba(250, 232, 170, .9); }
.hero-credentials { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-weight: 600; color: var(--white); font-size: 1rem; }
.hero-credentials li + li { margin: 0; }
.hero-credentials li { display: flex; align-items: center; gap: .45rem; }
.hero-credentials svg { width: 1.1rem; height: 1.1rem; color: var(--gold); flex: none; }
.hero-text .btn-row { margin-top: var(--space-3); }
.hero-more p { margin-bottom: 0; }
@media (max-width: 899px) {
  .hero-inner { gap: var(--space-3); padding-block: var(--space-4) var(--space-5); }
  .hero h1 .h1-sub { margin-top: .4rem; }
}
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.08fr .92fr; column-gap: var(--space-5); row-gap: var(--space-3); padding-block: var(--space-6);
    grid-template-areas: "text fig" "more fig"; align-items: start;
  }
  .hero-text { grid-area: text; align-self: end; }
  .hero-figure { grid-area: fig; align-self: center; }
  .hero-more { grid-area: more; }
  .hero-text .btn-row { margin-top: var(--space-3); }
}
.cta-band a:not(.btn), .hero a:not(.btn) { color: var(--gold); }
.cta-band a:not(.btn):hover, .hero a:not(.btn):hover { color: var(--white); }

/* Area band below hero (inside its own section) */
.area-band { background: var(--navy-800); color: var(--white); }
.area-band .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; padding-block: 1.1rem; }
.area-band p { margin: 0; font-weight: 500; }
.area-band svg { width: 1.3rem; height: 1.3rem; color: var(--gold); flex: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--peri-50); border-bottom: 1px solid var(--line); }
.page-hero-inner { display: grid; gap: var(--space-4); padding-block: var(--space-5); align-items: center; }
.page-hero h1 { margin-bottom: var(--space-2); }
.page-hero h1 .h1-sub { display: block; font-family: var(--font-body); font-weight: 600; font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); color: var(--peri-700); letter-spacing: 0; line-height: 1.35; margin-top: .4rem; }
.page-hero figure { margin: 0; }
.page-hero figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 900px) {
  .page-hero-inner { grid-template-columns: 1.1fr .9fr; gap: var(--space-5); padding-block: var(--space-6); }
  .page-hero-inner.solo { grid-template-columns: 1fr; }
}
.crumbs { font-size: .95rem; margin-bottom: var(--space-2); color: var(--muted); }
.crumbs a { color: var(--muted); }

/* ---------- Service paths (home) ---------- */
.paths { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .paths { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .paths { grid-template-columns: repeat(4, 1fr); } }
.path {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-top: 4px solid var(--navy); border-radius: var(--radius); padding: 1.5rem 1.4rem 1.4rem;
  text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.path:hover { color: var(--text); box-shadow: var(--shadow); border-top-color: var(--gold-500); transform: translateY(-2px); }
.path h3 { margin-bottom: .5rem; }
.path p { color: var(--muted); font-size: 1.05rem; }
.path .path-fact { font-weight: 700; color: var(--navy); margin-top: auto; padding-top: .5rem; }
.path .path-go { color: var(--peri-700); font-weight: 700; margin-top: .4rem; }
.path:hover .path-go { color: var(--navy); }
.also { margin-top: var(--space-4); padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--white); border: 1px dashed var(--peri-300); }
.also p { margin: 0; }

/* ---------- Story / timeline ---------- */
.split { display: grid; gap: var(--space-5); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.wide-left { grid-template-columns: 1.2fr .8fr; } }
.split figure { margin: 0; }
.split figure img { width: 100%; border-radius: var(--radius); }
@media (min-width: 900px) { .split > figure.sticky { position: sticky; top: 7.5rem; } }
figcaption { font-size: .95rem; color: var(--muted); margin-top: .6rem; }

.timeline { list-style: none; padding: 0; margin: var(--space-3) 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: .55rem; top: .4rem; bottom: .4rem; width: 2px; background: var(--peri-300); }
.timeline li { position: relative; padding-left: 2.4rem; margin: 0 0 1.1rem; }
.timeline li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--white); border: 3px solid var(--navy); }
.timeline li:last-child::before { background: var(--gold); border-color: var(--gold-800); }
.timeline .when { display: block; font-weight: 700; color: var(--navy); }
.section-navy .timeline::before { background: var(--navy-700); }
.section-navy .timeline li::before { background: var(--navy); border-color: var(--peri); }
.section-navy .timeline li:last-child::before { background: var(--gold); border-color: var(--gold); }
.section-navy .timeline .when { color: var(--gold); }

/* Mission quote */
.mission { text-align: center; max-width: 52rem; margin-inline: auto; }
.mission img { width: 120px; margin: 0 auto var(--space-3); }
.mission blockquote { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem); line-height: 1.6; color: var(--navy); }
.mission .slogans { margin-top: var(--space-3); font-weight: 700; color: var(--peri-700); font-size: 1.15rem; }
.mission .slogans span { display: block; }
.mission .slogans span:first-child { font-family: var(--font-display); color: var(--navy); font-size: 1.35rem; }

/* Area list */
.places { list-style: none; padding: 0; margin: var(--space-3) 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.places li { margin: 0; padding: .45rem .9rem; border: 1px solid var(--peri-300); border-radius: 999px; font-weight: 600; color: var(--navy); background: var(--white); }
.section-navy .places li { background: transparent; color: var(--white); border-color: var(--navy-700); }

/* Check lists */
.checks { list-style: none; padding: 0; margin: 0 0 var(--space-2); }
.checks li { position: relative; padding-left: 1.9rem; margin: 0 0 .45rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.5L12 5.5' fill='none' stroke='%23FAE8AA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.checks.cols { columns: 2 17rem; column-gap: 2.5rem; }
.checks.cols li { break-inside: avoid; }
.plus li::before { background: var(--peri-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4v8M4 8h8' fill='none' stroke='%230C1A33' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 75% no-repeat; }

/* ---------- Rates table ---------- */
.rates { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 1.05rem; }
.rates caption { text-align: left; font-weight: 600; color: var(--muted); padding-bottom: .6rem; caption-side: bottom; padding-top: .8rem; }
.rates th, .rates td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.rates thead th { background: var(--navy); color: var(--gold); font-weight: 700; font-size: .98rem; }
.rates tbody th { font-weight: 600; color: var(--navy); }
.rates td.price { font-weight: 700; color: var(--navy); white-space: nowrap; }
.rates tbody tr:nth-child(even) { background: var(--peri-50); }
@media (max-width: 680px) {
  .rates thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rates, .rates tbody, .rates tr, .rates th, .rates td { display: block; width: 100%; }
  .rates tr { padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
  .rates th, .rates td { border: 0; padding: .15rem 0; }
  .rates tbody th { font-size: 1.1rem; }
  .rates td::before { content: attr(data-label) ": "; font-weight: 500; color: var(--muted); }
  .rates td.price::before { content: ""; }
}

/* Notice panels */
.note { padding: 1.25rem 1.4rem; border-left: 4px solid var(--gold-500); background: #FFFBEE; border-radius: 0 var(--radius) var(--radius) 0; }
.note p:last-child { margin: 0; }
.safety { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; background: var(--navy); color: #DCE4F3; border-radius: var(--radius); }
.safety h3 { color: var(--gold); margin-bottom: .35rem; }
.safety p, .safety ul { margin: 0; }
.safety svg { width: 2.4rem; height: 2.4rem; color: var(--gold); flex: none; }
.safety .checks li::before { background-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.5L12 5.5' fill='none' stroke='%230C1A33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Generic grid / panels */
.grid-2 { display: grid; gap: 1.5rem; }
.grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.panel h3 { padding-bottom: .6rem; border-bottom: 2px solid var(--peri-100); }
.panel h4 { font-size: 1.02rem; font-weight: 700; margin-top: var(--space-3); color: var(--peri-700); }

/* Services list */
.svc-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.svc { display: grid; gap: .25rem 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.svc h3 { margin: 0; }
.svc p { margin: 0; color: var(--muted); }
@media (min-width: 800px) { .svc { grid-template-columns: 18rem 1fr; } }

/* Lesson menu */
.menu-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
@media (min-width: 700px) { .menu-list { grid-template-columns: repeat(2, 1fr); column-gap: 1.5rem; } }
.menu-list { gap: 0; }
.menu-list li { margin: 0; padding: .8rem 0 .8rem 2rem; border-bottom: 1px solid var(--peri-300); font-weight: 500; position: relative; }
.menu-list li::before { content: ""; position: absolute; left: .1rem; top: 1.25rem; width: .9rem; height: .9rem; border-radius: 50%; border: 2px solid var(--gold-800); background: var(--gold); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 700; color: var(--navy); list-style: none; position: relative; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .85rem; font-size: 1.5rem; color: var(--peri-700); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--peri-700); }
.faq details p { padding-bottom: 1.1rem; margin: 0; }

/* CTA band */
.cta-band { background: var(--navy); color: #DCE4F3; }
.cta-band .wrap { display: grid; gap: var(--space-3); padding-block: var(--space-6); align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: .5rem; }
.cta-band p { margin: 0; font-size: 1.15rem; }
.cta-band .btn-row { margin: 0; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1.4fr 1fr; } .cta-band .btn-row { justify-content: flex-end; } }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.gallery-grid figure { margin: 0; }
.gallery-grid img { display: block; width: 100%; height: auto; border-radius: var(--radius); transition: opacity .2s; }
.js .gallery-grid img { cursor: zoom-in; }
.js .gallery-grid img:hover { opacity: .92; }
.gallery-grid img:focus-visible { outline: 3px solid var(--peri-700); outline-offset: 3px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 19, 37, .94); display: flex; align-items: center; justify-content: center; padding: 1.25rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(100%, 1600px); max-height: 85vh; width: auto; height: auto; border-radius: 4px; }
.lightbox p { color: var(--white); text-align: center; margin-top: .75rem; }
.lightbox button { position: absolute; top: 1rem; right: 1rem; min-width: 2.75rem; min-height: 2.75rem; background: var(--gold); color: var(--navy); border: 0; border-radius: var(--radius); font: 700 1rem var(--font-body); cursor: pointer; }

/* ---------- Posts ---------- */
.post-list { display: grid; gap: 1.25rem; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.post-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.45; }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--peri-700); text-decoration: underline; }
.post-meta { font-size: .98rem; color: var(--muted); margin-bottom: .6rem; }
.article { max-width: 44rem; }
.article h2 { font-size: clamp(1.35rem, 1.15rem + .9vw, 1.8rem); margin-top: var(--space-5); }
.article figure { margin: 0 0 var(--space-4); }
.article figure img { border-radius: var(--radius); width: 100%; }

/* ---------- Forms ---------- */
.form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, fieldset legend { display: block; font-weight: 700; color: var(--navy); margin-bottom: .35rem; font-size: 1rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1.05rem/1.4 var(--font-body); color: var(--text);
  padding: .75rem .85rem; border: 1.5px solid #9AA8C2; border-radius: var(--radius); background: var(--white);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--peri); outline-offset: 0; border-color: var(--navy); }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem 1.2rem; margin: 0; }
fieldset legend { padding: 0 .4rem; }
fieldset .form-grid { margin-top: .4rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.2rem; }
.form-status { margin-top: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius); font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status.ok { background: #E8F4EC; color: #14532D; border: 1px solid #A7D3B5; }
.form-status.err { background: #FDECEC; color: #7F1D1D; border: 1px solid #F1B5B5; }
.cf-turnstile { min-height: 65px; }

.contact-list { list-style: none; padding: 0; margin: 0 0 var(--space-3); }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; margin: 0 0 1rem; }
.contact-list svg { width: 1.4rem; height: 1.4rem; color: var(--peri-700); flex: none; margin-top: .2rem; }
.contact-list a { font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.contact-list small { display: block; color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #C6D2EA; font-size: 1.02rem; }
.footer-grid { display: grid; gap: var(--space-4); padding-block: var(--space-6) var(--space-4); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand img { width: 130px; margin-bottom: .8rem; }
.footer-brand .brand-name { color: var(--white); font-size: 1.5rem; display: block; margin-bottom: .6rem; }
.footer-brand p { margin: 0 0 .3rem; }
.footer-slogan { color: var(--gold); font-weight: 600; }
.site-footer h2 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; color: var(--gold); letter-spacing: .02em; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 .45rem; }
.site-footer a { color: var(--white); text-decoration-color: rgba(255, 255, 255, .35); }
.site-footer a:hover { color: var(--gold); text-decoration-color: var(--gold); }
.footer-contact a { font-weight: 600; }
.footer-fine { border-top: 1px solid rgba(147, 171, 220, .2); padding-block: 1.25rem 1.6rem; font-size: .92rem; color: #9FB0D0; }
.footer-fine p { margin: 0 0 .3rem; }
.footer-fine a { color: #C6D2EA; }

/* 404 */
.notfound { text-align: center; }
.notfound img { width: 180px; margin: 0 auto var(--space-3); }
.notfound .btn-row { justify-content: center; }
.notfound ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: center; margin-top: var(--space-4); }
.notfound li + li { margin: 0; }

/* A single photo shows large; the grid takes over once the owner adds more */
.gallery-grid:has(> figure:only-child) { grid-template-columns: minmax(0, 860px); }
.page-hero .hero-logo img { width: min(100%, 360px); margin-inline: auto; box-shadow: none; border-radius: 0; }
@media (max-width: 899px) { .page-hero .hero-logo { display: none; } }
.site-nav .nav-quote a.btn, .js .site-nav.is-open .nav-quote a.btn { color: var(--gold); padding: .75rem 1.4rem; border-bottom: 0; font-size: 1.05rem; font-weight: 700; }
.site-nav .nav-quote a.btn:hover { color: var(--white); }
