/* ==========================================================================
   Valley Tech & Security — main stylesheet
   No build step. Edit freely. Colors and sizes are set in :root below.
   ========================================================================== */

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.woff") format("woff");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gelasio";
  src: url("../fonts/gelasio.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: only light;
  --navy-950: #0B1830;
  --navy-900: #0F1F3A;
  --navy-800: #14284B;
  --navy-700: #1E3A66;
  --navy-100: #E6ECF5;
  --teal-800: #175A51;
  --teal-700: #1F6F64;
  --teal-300: #8FD3C4;
  --teal-100: #E2F1EE;
  --teal-50:  #F1F8F6;
  --sand-500: #C9A46A;
  --sand-300: #E3C894;
  --sand-100: #F6EFE2;
  --bg:       #FBFAF7;
  --surface:  #FFFFFF;
  --ink:      #18212F;
  --ink-soft: #3A4556;
  --line:     #D5DCE4;
  --focus:    #B7791F;

  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-head: "Gelasio", Georgia, "Times New Roman", serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 31, 58, .06), 0 2px 8px rgba(15, 31, 58, .05);
  --shadow:    0 2px 4px rgba(15, 31, 58, .05), 0 12px 32px rgba(15, 31, 58, .08);
  --wrap: 74rem;
  --gutter: clamp(1.25rem, 4vw, 2.25rem);
  --section: clamp(3.5rem, 8vw, 6rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; }
html.text-lg { font-size: 131.25%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  color: var(--navy-800);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.45rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
p, li { max-width: 68ch; }
ul, ol { padding-left: 1.25em; margin: 0 0 1.1em; }
li + li { margin-top: .35em; }
a { color: var(--teal-800); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--navy-800); text-decoration-thickness: .14em; }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--sand-300); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--navy-800); color: #fff; padding: .75rem 1.25rem;
  border-radius: var(--radius-sm); font-weight: 650; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 50rem; }

/* ---------- Utility bar ---------- */
.utility-bar { background: var(--navy-900); color: #DCE4EF; font-size: .9rem; }
.utility-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.6rem; flex-wrap: wrap; }
.utility-bar p { margin: 0; display: flex; align-items: center; gap: .5rem; }
.utility-bar svg { width: 1.05rem; height: 1.05rem; color: var(--sand-300); flex: none; }
.text-size-btn {
  font: inherit; font-weight: 600; color: #fff; background: transparent;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  padding: .2rem .85rem; cursor: pointer; min-height: 2rem;
}
.text-size-btn:hover { background: rgba(255,255,255,.1); }
.text-size-btn[hidden] { display: none; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(10px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.75rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy-800); }
.brand:hover { color: var(--navy-800); }
.brand img { width: 2.6rem; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; }
.brand-tag { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-700); margin-top: .2rem; }

.nav-toggle {
  display: none; align-items: center; gap: .5rem;
  font: inherit; font-weight: 650; color: var(--navy-800);
  background: var(--surface); border: 2px solid var(--navy-800); border-radius: var(--radius-sm);
  padding: .5rem .9rem; min-height: 2.9rem; cursor: pointer;
}
.nav-toggle svg { width: 1.3rem; height: 1.3rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.primary-nav li { margin: 0; }
.primary-nav a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  padding: .4rem .7rem; border-radius: 8px;
  color: var(--ink); font-weight: 600; text-decoration: none; font-size: .98rem;
}
.primary-nav a:hover { background: var(--teal-50); color: var(--teal-800); }
.primary-nav a[aria-current="page"] { color: var(--teal-800); box-shadow: inset 0 -3px 0 var(--teal-700); border-radius: 0; }
.primary-nav .nav-cta a { background: var(--navy-800); color: #fff; padding-inline: 1.1rem; margin-left: .4rem; border-radius: 999px; box-shadow: none; }
.primary-nav .nav-cta a:hover { background: var(--navy-700); color: #fff; }
.primary-nav .nav-cta a[aria-current="page"] { background: var(--teal-700); }

@media (max-width: 68rem) {
  .header-inner { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  .primary-nav { flex-basis: 100%; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: .1rem; padding: .25rem 0 1rem; }
  .primary-nav a { display: flex; min-height: 3rem; padding: .6rem .9rem; font-size: 1.05rem; }
  .primary-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--teal-700); background: var(--teal-50); border-radius: 0 8px 8px 0; }
  .primary-nav .nav-cta a { margin: .5rem 0 0; justify-content: center; border-radius: var(--radius-sm); }
  .js-nav .primary-nav { display: none; }
  .js-nav .primary-nav.is-open { display: block; }
}
/* Without JavaScript the toggle does nothing, so hide it and show the full menu */
.no-js .nav-toggle { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.1rem; padding: .7rem 1.5rem;
  font: inherit; font-weight: 650; font-size: 1.02rem; line-height: 1.2;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.btn-primary { background: var(--teal-700); color: #fff; }
.btn-primary:hover { background: var(--teal-800); color: #fff; }
.btn-secondary { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn-secondary:hover { background: var(--navy-800); color: #fff; }
.btn-light { background: var(--sand-300); color: var(--navy-900); }
.btn-light:hover { background: #fff; color: var(--navy-900); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.7); background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy-900); }
@media (prefers-reduced-motion: no-preference) { .btn:hover { transform: translateY(-1px); } }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F3F7F6 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-800); margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: var(--sand-500); }
.hero h1 { margin-bottom: .5em; }
.hero h1 .accent { color: var(--teal-700); display: block; }
.lead { font-size: 1.22rem; color: var(--ink-soft); max-width: 36rem; }
.hero-art { position: relative; }
.hero-art .art-frame { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 640 / 520; background: #E4EEEC; }
.hero-art .art-frame img { width: 100%; height: 100%; object-fit: cover; }
.chip {
  position: absolute; display: flex; align-items: center; gap: .55rem;
  background: #fff; color: var(--navy-800); font-weight: 650; font-size: .92rem;
  padding: .6rem .95rem; border-radius: 12px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.chip svg { width: 1.25rem; height: 1.25rem; color: var(--teal-700); flex: none; }
.chip-1 { left: -1.25rem; top: 12%; }
.chip-2 { right: -1rem; top: 46%; }
.chip-3 { left: 8%; bottom: -1.1rem; }
.hero-points { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--ink-soft); font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: .45rem; margin: 0; }
.hero-points svg { width: 1.15rem; height: 1.15rem; color: var(--teal-700); }

.page-hero { background: linear-gradient(180deg, #F0F5F4, var(--bg)); border-bottom: 1px solid var(--line); padding-block: clamp(2.75rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -4rem; bottom: -1px; width: min(42rem, 60vw); height: 9rem;
  background: url("../img/ridge.svg") no-repeat right bottom / contain; opacity: .9; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 22ch; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .95rem; color: var(--ink-soft); }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .35rem; color: #6B7686; }

@media (max-width: 56rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 34rem; margin-inline: auto; width: 100%; }
  .chip-1 { left: .5rem; } .chip-2 { right: .5rem; }
}
@media (max-width: 30rem) {
  .chip { font-size: .82rem; padding: .45rem .7rem; }
  .chip-2 { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-sand { background: var(--sand-100); }
.section-dark { background: var(--navy-800); color: #E7EDF5; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a:not(.btn) { color: var(--teal-300); }
.section-dark .eyebrow { color: var(--teal-300); }
.section-dark .lead, .section-dark p { color: #D3DCE8; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.12rem; color: var(--ink-soft); }
.section-dark .section-head p { color: #D3DCE8; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 62rem) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.35rem, 2.6vw, 1.85rem); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .card-link { margin-top: auto; padding-top: .75rem; font-weight: 650; }
.icon-badge {
  width: 3rem; height: 3rem; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-100); color: var(--teal-800); margin-bottom: 1rem; flex: none;
}
.icon-badge svg { width: 1.6rem; height: 1.6rem; }
.icon-badge.navy { background: var(--navy-100); color: var(--navy-800); }
.icon-badge.sand { background: var(--sand-100); color: #7A5A23; }
.section-dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); box-shadow: none; }
.section-dark .card p { color: #D3DCE8; }
.section-dark .icon-badge { background: rgba(143,211,196,.14); color: var(--teal-300); }

.price-tag { font-weight: 700; color: var(--navy-800); font-size: 1.05rem; margin: .1rem 0 .6rem; }
.price-tag .amount { font-family: var(--font-head); font-size: 1.45rem; }
.price-tag small { font-size: .9rem; font-weight: 600; color: var(--ink-soft); }

/* Audience split */
.split-card { position: relative; overflow: hidden; padding: clamp(1.75rem, 3.5vw, 2.6rem); border-radius: 20px; }
.split-card.home { background: var(--teal-50); border: 1px solid #CFE5E0; }
.split-card.biz { background: var(--navy-800); color: #E7EDF5; }
.split-card.biz h3, .split-card.biz h2 { color: #fff; }
.split-card.biz p { color: #D3DCE8; }
.split-card h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); }
.split-card .icon-badge { width: 3.5rem; height: 3.5rem; }

/* Check lists */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--teal-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.section-dark .checklist li::before, .split-card.biz .checklist li::before { background-color: #2E8B7C; }
.checklist.two-col { columns: 2; column-gap: 2rem; }
.checklist.two-col li { break-inside: avoid; }
@media (max-width: 40rem) { .checklist.two-col { columns: 1; } }

/* Feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 56rem) { .feature-row { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-sm); }
.panel-teal { background: var(--teal-50); border-color: #CFE5E0; }
.panel-sand { background: var(--sand-100); border-color: #E7D8BC; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: step; }
.steps.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 62rem) { .steps.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .steps.grid-4 { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.5rem; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--navy-800); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; margin-bottom: .8rem;
}
.steps h3 { font-size: 1.15rem; margin-bottom: .35em; }
.steps p { margin: 0; color: var(--ink-soft); }

/* Credentials strip */
.cred-strip { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 2.5rem; align-items: center; }
.cred-badge {
  display: flex; align-items: center; gap: 1rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem 1.4rem; box-shadow: var(--shadow-sm);
}
.cred-badge svg { width: 2.6rem; height: 2.6rem; color: var(--teal-700); flex: none; }
.cred-badge strong { display: block; font-size: 1.1rem; color: var(--navy-800); }
.cred-badge span { color: var(--ink-soft); font-size: .95rem; }
.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list li { margin: 0; background: var(--surface); border: 1px solid var(--line); color: var(--navy-800); font-weight: 600; font-size: .95rem; padding: .35rem .85rem; border-radius: 999px; }
@media (max-width: 48rem) { .cred-strip { grid-template-columns: 1fr; } }

/* Service area */
.area-map { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #EEF4F2; box-shadow: var(--shadow-sm); }
.area-list { list-style: none; padding: 0; display: grid; gap: .75rem; }
.area-list li { margin: 0; display: flex; gap: .85rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1.1rem; }
.area-list svg { width: 1.4rem; height: 1.4rem; color: var(--teal-700); flex: none; margin-top: .15rem; }
.area-list strong { display: block; color: var(--navy-800); }
.area-list span { color: var(--ink-soft); font-size: .97rem; }

/* Membership cards */
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.6rem, 3vw, 2.25rem); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--teal-700); box-shadow: var(--shadow); }
.plan .plan-flag { position: absolute; top: -.85rem; left: 1.75rem; background: var(--teal-700); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .8rem; border-radius: 999px; }
.plan h3 { font-size: 1.5rem; margin-bottom: .2em; }
.plan .plan-for { color: var(--ink-soft); margin-bottom: 1rem; }
.plan .plan-price { font-family: var(--font-head); font-size: 2.6rem; font-weight: 600; color: var(--navy-800); line-height: 1; margin: .25rem 0 1.25rem; }
.plan .plan-price small { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
.plan .btn { margin-top: auto; }
.status-pill { display: inline-flex; align-items: center; gap: .45rem; background: var(--sand-100); color: #6B4E1E; border: 1px solid #E7D8BC; font-weight: 700; font-size: .85rem; padding: .3rem .85rem; border-radius: 999px; margin-bottom: 1rem; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
caption { text-align: left; padding: 1.1rem 1.25rem .4rem; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--navy-800); }
th, td { text-align: left; padding: .9rem 1.25rem; border-top: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--teal-50); color: var(--navy-800); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; border-top: 0; }
tbody th { font-weight: 600; color: var(--ink); }
td.price, th.price { text-align: right; white-space: nowrap; }
td.price { font-weight: 700; color: var(--navy-800); }
td .note, th .note { display: block; font-weight: 400; color: var(--ink-soft); font-size: .95rem; }
tbody tr:hover { background: #FAFCFB; }

/* Callouts */
.callout { border-left: 5px solid var(--teal-700); background: var(--teal-50); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.callout.warn { border-left-color: var(--sand-500); background: var(--sand-100); }
.callout.navy { border-left-color: var(--navy-800); background: var(--navy-100); }
.callout h2, .callout h3 { font-size: 1.2rem; margin-bottom: .35em; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.draft-banner { background: #FFF4DB; border: 2px dashed #B7791F; border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 2rem; color: #5A3E0B; }
.draft-banner strong { color: #5A3E0B; }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3.25rem 1.1rem 1.35rem; position: relative;
  font-weight: 650; font-size: 1.08rem; color: var(--navy-800); min-height: 3rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.25rem; top: 50%; width: .7rem; height: .7rem;
  border-right: 2.5px solid var(--teal-700); border-bottom: 2.5px solid var(--teal-700);
  transform: translateY(-70%) rotate(45deg); transition: transform .15s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details > div { padding: 0 1.35rem 1.25rem; color: var(--ink-soft); }
.faq details > div p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--navy-800); color: #fff; border-radius: 24px; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: auto -2rem -1px auto; width: 26rem; height: 7rem; background: url("../img/ridge-dark.svg") no-repeat right bottom / contain; opacity: .55; pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: #D3DCE8; margin: 0; font-size: 1.1rem; }
.cta-band .btn-row { margin-top: 0; }
@media (max-width: 52rem) { .cta-band { grid-template-columns: 1fr; } }

/* Contact */
.contact-methods { display: grid; gap: 1rem; }
.contact-method { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.contact-method .icon-badge { margin: 0; }
.contact-method h3 { font-size: 1.1rem; margin-bottom: .2em; }
.contact-method p { margin: 0; }
.contact-value { font-size: 1.2rem; font-weight: 700; color: var(--navy-800); }
.contact-value a { color: var(--navy-800); }
.pending { color: var(--ink-soft); font-weight: 600; font-style: normal; }
[data-hide-when-contact][hidden] { display: none; }

/* Forms (styles ready for a future secure contact form) */
.form-grid { display: grid; gap: 1.1rem; }
.field label { display: block; font-weight: 650; margin-bottom: .35rem; color: var(--navy-800); }
.field .hint { display: block; font-size: .95rem; color: var(--ink-soft); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 2px solid #6E7A8C; border-radius: var(--radius-sm); padding: .75rem .9rem; min-height: 3rem;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--teal-700); }

/* Prose (legal pages) */
.prose h2 { font-size: 1.6rem; margin-top: 2.25rem; }
.prose h3 { margin-top: 1.5rem; }
.prose { max-width: 48rem; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2rem; }
.toc h2 { font-size: 1.15rem; margin: 0 0 .5rem; }
.toc ol { margin: 0; }

/* Owner */
.owner-card { display: grid; grid-template-columns: 15rem 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.owner-photo { aspect-ratio: 4 / 5; border-radius: 20px; background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); display: grid; place-items: center; color: #fff; position: relative; overflow: hidden; }
.owner-photo span { font-family: var(--font-head); font-size: 4rem; font-weight: 600; letter-spacing: .02em; }
.owner-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 44rem) { .owner-card { grid-template-columns: 1fr; } .owner-photo { max-width: 14rem; } }

/* 404 */
.notfound { text-align: center; padding-block: clamp(4rem, 10vw, 7rem); }
.notfound .code { font-family: var(--font-head); font-size: clamp(4rem, 12vw, 7rem); color: var(--teal-700); line-height: 1; margin: 0 0 .5rem; }
.notfound .btn-row { justify-content: center; }
.notfound ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; margin: 2rem auto 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #D3DCE8; padding-top: clamp(3rem, 6vw, 4.5rem); margin-top: 0; }
.site-footer a { color: #fff; text-decoration-color: rgba(255,255,255,.4); }
.site-footer a:hover { color: var(--teal-300); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand img { width: 17rem; max-width: 100%; margin-bottom: 1.1rem; }
.footer-brand p { color: #D3DCE8; }
.footer-slogan { font-family: var(--font-head); font-size: 1.15rem; color: #fff; }
.site-footer h2 { font-family: var(--font-body); font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sand-300); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: .55rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 3rem; padding-block: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: .95rem; }
.footer-bottom p { margin: 0; color: #C7D2E0; }
@media (max-width: 56rem) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 28rem) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Helpers ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: .95rem; }
.big { font-size: 1.15rem; }
.stack > * + * { margin-top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .utility-bar, .site-header, .site-footer, .cta-band, .btn-row { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  a { color: #000; }
}

/* Late additions */
.h3 { font-size: 1.3rem; }
.notfound .lead { margin-inline: auto; }
.footer-note { color: #C7D2E0; margin: 0; padding-bottom: 2rem; }
.split-card .btn-row { margin-top: 1.5rem; }
.status-pill svg { width: 1.1rem; height: 1.1rem; flex: none; }
.on-dark .pending, .site-footer .pending { color: #C7D2E0; }
.ub-short { display: none; }
@media (max-width: 40rem) {
  .ub-long { display: none; }
  .ub-short { display: inline; }
  .brand img { width: 2.2rem; }
  .brand-name { font-size: 1.05rem; }
  .brand-tag { font-size: .66rem; }
  .nav-toggle { padding: .45rem .7rem; }
  .header-inner { gap: .5rem; }
}
@media (max-width: 40rem) {
  .brand { gap: .5rem; }
  .brand img { width: 2rem; }
  .brand-name { font-size: .95rem; }
  .brand-tag { letter-spacing: .12em; }
  .nav-toggle { gap: .35rem; padding: .4rem .6rem; font-size: .95rem; }
  .utility-bar { font-size: .85rem; }
}

/* Request page */
.request-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 60rem) { .request-layout { grid-template-columns: 1fr; } }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem 1.4rem; margin: 0; background: var(--surface); display: grid; gap: 1.1rem; min-width: 0; }
legend { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--navy-800); padding: 0 .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 40rem) { .field-row { grid-template-columns: 1fr; } .field-row .hint:empty, .field-row .hint:only-child { display: none; } }
.req { font-weight: 600; color: #7A3E12; font-size: .92rem; }
.field.check { display: flex; gap: .75rem; align-items: flex-start; }
.field.check input { width: 1.4rem; height: 1.4rem; min-height: 0; margin-top: .2rem; flex: none; accent-color: var(--teal-700); }
.field.check label { margin: 0; font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.form-status:empty { display: none; }
.form-status { border-radius: var(--radius); padding: 1rem 1.25rem; background: var(--teal-50); border-left: 5px solid var(--teal-700); }
.form-status.is-error { background: #FDF0EE; border-left-color: #A63A22; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #A63A22; }
.field-error { display: block; color: #8E2F1B; font-weight: 600; font-size: .95rem; margin-top: .35rem; }
[data-request-unavailable][hidden] { display: none; }
p.hint { color: var(--ink-soft); font-size: .95rem; }
p.center { margin-inline: auto; }
@media (max-width: 40rem) {
  .brand-name { font-size: 1rem; line-height: 1.12; max-width: 7.4em; }
  .brand-tag { display: none; }
}
