/* Otley Eye Care — design system
   Ink navy + warm stone + brass. Fraunces (headings) + Source Sans 3 (body), self-hosted, OFL. */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #16212f;
  --ink-2: #26364b;
  --ink-soft: #46546a;
  --paper: #fbf8f3;
  --stone: #f2ece2;
  --stone-2: #e7dfd1;
  --line: #d9cfbe;
  --white: #ffffff;
  --brass: #b07d24;
  --brass-deep: #7a520c;
  --moss: #3d5a4b;
  --moss-tint: #e6ede7;
  --alert: #8f2d1f;
  --alert-tint: #f8e9e4;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --measure: 68ch;
  --wrap: 72rem;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(22, 33, 47, .06), 0 8px 24px rgba(22, 33, 47, .07);
  --step-0: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  --step-1: clamp(1.25rem, 1.15rem + .45vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.3rem + .9vw, 2.05rem);
  --step-3: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  --step-4: clamp(2.6rem, 1.8rem + 3.6vw, 4.6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: var(--brass); }
a:hover { text-decoration-thickness: 2px; color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 560; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; font-variation-settings: "opsz" 72; }
h1 { font-size: var(--step-4); font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: var(--step-3); margin-top: 0; }
h3 { font-size: var(--step-1); font-weight: 600; }
p, ul, ol, dl, table, blockquote { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .35em; }
strong { font-weight: 650; }
small { font-size: .88em; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--white); padding: .75rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.prose { max-width: var(--measure); }
.eyebrow {
  font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass-deep); margin: 0 0 .9rem; display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: var(--brass); display: inline-block; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, .94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand svg { width: 2.6rem; height: auto; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; line-height: 1; }
.brand-name span { display: block; font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-top: .3rem; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 600 1rem var(--sans); color: var(--ink);
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: .55rem 1rem; min-height: 44px; cursor: pointer;
}
.nav-toggle-bars { width: 18px; height: 12px; position: relative; display: inline-block; }
.nav-toggle-bars::before, .nav-toggle-bars::after, .nav-toggle-bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
}
.nav-toggle-bars::before { top: 0; } .nav-toggle-bars span { top: 5px; } .nav-toggle-bars::after { bottom: 0; }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  max-height: calc(100vh - 4.25rem); overflow-y: auto;
}
.site-nav ul { list-style: none; margin: 0; padding: .5rem 1rem 1.25rem; }
.site-nav li + li { margin-top: 0; }
.site-nav a { display: block; padding: .8rem .25rem; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--stone-2); }
.site-nav a[aria-current="page"] { color: var(--brass-deep); }
.site-nav .nav-cta { margin-top: 1rem; border: 0; }

/* Without JavaScript the menu is simply shown in full. */
.no-js .nav-toggle { display: none; }
.no-js .header-inner { flex-wrap: wrap; }
.no-js .site-nav { display: block; width: 100%; }

@media (min-width: 70rem) {
  .nav-toggle { display: none; }
  .no-js .header-inner { flex-wrap: nowrap; }
  .no-js .site-nav { width: auto; }
  .site-nav, .site-nav.is-open { display: block; position: static; box-shadow: none; border: 0; background: transparent; max-height: none; overflow: visible; }
  .site-nav ul { display: flex; align-items: center; gap: .25rem; padding: 0; }
  .site-nav a { border: 0; padding: .5rem .7rem; font-size: 1rem; border-radius: 999px; }
  .site-nav a:hover { background: var(--stone); }
  .site-nav a[aria-current="page"] { background: var(--stone); color: var(--ink); }
  .site-nav .nav-cta { margin: 0 0 0 .5rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px;
  font: 650 1.02rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--ink-2); color: var(--white); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--white); color: var(--ink); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.site-nav .btn { padding: .6rem 1.1rem; min-height: 44px; }
.site-nav .btn-primary, .site-nav .btn-primary:hover { color: var(--white); background: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ---------- Breadcrumbs ---------- */
.crumbs { padding: 1.1rem 0 0; font-size: .92rem; color: var(--ink-soft); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--line); }
.crumbs a { color: var(--ink-soft); }

/* ---------- Hero / page head ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (min-width: 56rem) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { margin-bottom: .35em; }
.capsule { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 36em; margin-bottom: 1.6rem; }
.hero .btn-row { margin-bottom: 1.5rem; }
.hero-note { font-size: .95rem; color: var(--ink-soft); display: flex; gap: .5rem; align-items: flex-start; max-width: 34em; }
.hero-note svg { width: 1.2rem; flex: none; margin-top: .2rem; color: var(--moss); }
.hero-art { position: relative; }
.hero-art svg { display: block; width: 100%; height: auto; }

.page-head { padding: clamp(1.75rem, 4vw, 3.25rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: var(--step-3); max-width: 20ch; }
.page-head .capsule { margin-bottom: 1.4rem; }
.page-head-grid { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 56rem) { .page-head-grid { grid-template-columns: 1fr auto; } }
.page-meta { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-stone { background: var(--stone); border-top: 0 !important; }
.section-stone + .section { border-top: 0; }
.section-ink { background: var(--ink); color: #e9edf3; border-top: 0 !important; }
.section-ink h2, .section-ink h3 { color: var(--white); }
.section-ink a { color: var(--white); }
.section-ink .eyebrow { color: #e0b563; }
.section-ink .eyebrow::before { background: #e0b563; }
.section-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head p { color: var(--ink-soft); font-size: 1.1em; }
.section-ink .section-head p { color: #c9d1dc; }

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 56rem) { .split { grid-template-columns: 1fr 1fr; } .split-wide { grid-template-columns: 1.3fr .7fr; } }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 64rem) { .content-grid { grid-template-columns: minmax(0, 48rem) 20rem; justify-content: space-between; align-items: start; } }
.content-main > section { padding-block: clamp(2.25rem, 5vw, 3.25rem); border-bottom: 1px solid var(--line); }
.content-main > section:last-child { border-bottom: 0; }
.content-main h2 { font-size: var(--step-2); }
.content-main > section > * { max-width: var(--measure); }
.content-main > section > .table-wrap, .content-main > section > .cards, .content-main > section > .form-shell { max-width: none; }
.site-nav a.btn-primary[aria-current="page"] { background: var(--ink); color: var(--white); }

/* ---------- Aside / sticky enquiry card ---------- */
.aside-stack { display: grid; gap: 1.25rem; padding-top: clamp(2.25rem, 5vw, 3.25rem); }
@media (min-width: 64rem) { .aside-stack { position: sticky; top: 5.5rem; } }
.enquire-card { background: var(--ink); color: #e9edf3; border-radius: var(--radius); padding: 1.6rem; }
.enquire-card h2 { color: var(--white); font-size: 1.45rem; margin-bottom: .5rem; }
.enquire-card p { color: #c9d1dc; font-size: 1rem; }
.enquire-card .btn { width: 100%; }
.enquire-card .btn + .btn { margin-top: .6rem; }
.enquire-card .mail-line { font-size: .95rem; margin: 1rem 0 0; color: #c9d1dc; word-break: break-word; }
.enquire-card .mail-line a { color: var(--white); }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; font-size: 1rem; }
.info-card h2, .info-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.info-card p:last-child, .info-card ul:last-child { margin-bottom: 0; }
.info-card ul { padding-left: 1.1em; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
@media (min-width: 56rem) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.35rem; display: flex; flex-direction: column; gap: .5rem;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: var(--ink-soft); box-shadow: var(--shadow); }
.card h3 { margin: 0; font-size: 1.3rem; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.card .card-more { margin-top: auto; padding-top: .6rem; font-weight: 650; font-size: .95rem; color: var(--brass-deep); }
.card-icon { width: 2.6rem; height: 2.6rem; color: var(--brass); margin-bottom: .25rem; }
.section-stone .card { background: var(--paper); }

/* Town list */
.towns { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.towns li { margin: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.towns a { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; align-items: baseline; padding: 1.15rem .25rem; text-decoration: none; }
.towns a:hover .town-name { text-decoration: underline; text-decoration-color: #e0b563; }
.town-name { font-family: var(--serif); font-size: var(--step-2); font-weight: 520; color: var(--white); }
.town-note { grid-column: 1 / -1; color: #c9d1dc; font-size: 1rem; }
.town-arrow { color: #e0b563; font-weight: 700; }
@media (min-width: 48rem) { .towns a { grid-template-columns: 12rem 1fr auto; } .town-note { grid-column: auto; } }

/* ---------- Lists, steps, facts ---------- */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--moss-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%233d5a4b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1rem; }
.steps > li { counter-increment: step; position: relative; padding: 1.1rem 1.25rem 1.1rem 4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 0; }
.steps > li::before {
  content: counter(step); position: absolute; left: 1.1rem; top: 1rem; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--ink); color: var(--white); font: 600 1rem/2rem var(--serif); text-align: center;
}
.steps strong { display: block; font-size: 1.05rem; }
.section-stone .steps > li { background: var(--paper); }

.fact-row { display: grid; gap: 1.25rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); margin: 0 0 1.25rem; padding: 0; list-style: none; }
.fact-row li { margin: 0; border-top: 2px solid var(--brass); padding-top: .8rem; }
.fact-row b { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 560; line-height: 1.2; margin-bottom: .3rem; }
.fact-row span { color: var(--ink-soft); font-size: .98rem; }
.section-ink .fact-row span { color: #c9d1dc; }

.callout { border-left: 4px solid var(--moss); background: var(--moss-tint); padding: 1.1rem 1.25rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.callout p:last-child { margin-bottom: 0; }
.callout-alert { border-left-color: var(--alert); background: var(--alert-tint); }
.callout-alert strong:first-child { color: var(--alert); }
.source { font-size: .92rem; color: var(--ink-soft); }
.source a { color: var(--ink-soft); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); margin: 0 0 1.25rem; }
table { border-collapse: collapse; width: 100%; font-size: 1rem; margin: 0; }
caption { text-align: left; padding: .9rem 1rem; font-weight: 650; border-bottom: 1px solid var(--line); }
th, td { text-align: left; padding: .75rem 1rem; vertical-align: top; border-bottom: 1px solid var(--stone-2); }
thead th { background: var(--stone); font-weight: 650; white-space: nowrap; }
tbody th { font-weight: 650; }
tr:last-child td, tr:last-child th { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 3rem 1.05rem 1.25rem; position: relative;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 560; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.2rem; top: 50%; width: .7rem; height: .7rem; margin-top: -.5rem;
  border-right: 2px solid var(--brass-deep); border-bottom: 2px solid var(--brass-deep); transform: rotate(45deg); transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -.15rem; }
.faq .faq-a { padding: 0 1.25rem 1.1rem; }
.faq .faq-a p:last-child { margin-bottom: 0; }
.section-stone .faq details { background: var(--paper); }

/* ---------- Related ---------- */
.related { padding: clamp(2.5rem, 6vw, 4rem) 0; background: var(--stone); }
.related h2 { font-size: var(--step-2); }
.related .cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.related .card { background: var(--paper); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #e9edf3; padding: clamp(2.75rem, 6vw, 4.5rem) 0; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--white); font-size: var(--step-2); max-width: 22ch; }
.cta-band p { color: #c9d1dc; max-width: 40rem; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band-art { position: absolute; right: -4rem; bottom: -6rem; width: 26rem; opacity: .14; color: #e0b563; pointer-events: none; }

/* ---------- Form ---------- */
.form-shell { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2.25rem); box-shadow: var(--shadow); }
.form-shell h2 { font-size: var(--step-2); }
.form-intro { color: var(--ink-soft); }
.form-grid { display: grid; gap: 1.15rem 1.25rem; }
@media (min-width: 40rem) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
fieldset.form-group { border: 0; padding: 0; margin: 0 0 1.75rem; }
fieldset.form-group legend { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; padding: 0; margin-bottom: 1rem; display: flex; gap: .6rem; align-items: center; }
.legend-num { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--stone); font-family: var(--sans); font-size: .9rem; font-weight: 700; color: var(--ink); }
.field label { display: block; font-weight: 650; margin-bottom: .35rem; font-size: 1rem; }
.field .hint { display: block; font-weight: 400; color: var(--ink-soft); font-size: .92rem; margin-top: .1rem; }
.req, .opt { font-weight: 500; font-size: .85rem; margin-left: .35rem; color: var(--ink-soft); }
.req { color: var(--brass-deep); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid #857862; /* 4.1:1 on paper — WCAG non-text 3:1 */ border-radius: var(--radius-sm);
  padding: .75rem .9rem; min-height: 48px;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%2316212f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.1rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--brass); outline-offset: 1px; border-color: var(--ink); background: var(--white); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--alert); }
.consent { display: flex; gap: .75rem; align-items: flex-start; background: var(--stone); padding: 1rem 1.1rem; border-radius: var(--radius-sm); font-size: 1rem; }
.consent input { width: 1.35rem; height: 1.35rem; margin-top: .15rem; flex: none; accent-color: var(--ink); }
.form-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-actions p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.honey { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: #0f1822; color: #c9d1dc; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: 1rem; }
.site-footer a { color: #e9edf3; text-decoration-color: rgba(224,181,99,.7); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand .brand { color: var(--white); margin-bottom: 1rem; }
.footer-brand .brand-name span { color: #9aa6b6; }
.site-footer h2 { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #e0b563; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: .5rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.55; }
.footer-base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .9rem; color: #9aa6b6; }
.footer-base p { margin: 0; }

@media (min-width: 56rem) { .fact-row-3 { grid-template-columns: repeat(3, 1fr); } }
.promise-list { list-style: none; padding: 0; }
.promise-list li { position: relative; padding-left: 1.6rem; }
.promise-list li::before { content: ""; position: absolute; left: .1rem; top: .7em; width: .8rem; height: 2px; background: var(--brass); }

/* ---------- Misc ---------- */
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); }
.muted { color: var(--ink-soft); }
.map-link-card { display: grid; gap: 1rem; }
.address-block { font-style: normal; font-family: var(--serif); font-size: var(--step-2); line-height: 1.25; margin-bottom: 1rem; }
.pill-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list li { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-size: .98rem; }
.section-stone .pill-list li { background: var(--paper); }
.not-found { padding: clamp(3rem, 8vw, 6rem) 0; }

/* ---------- Mobile calm (phone density) ---------- */
/* Keep desktop design system; reduce type, padding, and CTA weight on small screens. */
@media (max-width: 48rem) {
  :root {
    --step-0: 1.05rem;
    --step-1: clamp(1.12rem, 1.05rem + .3vw, 1.28rem);
    --step-2: clamp(1.3rem, 1.18rem + .7vw, 1.65rem);
    --step-3: clamp(1.5rem, 1.3rem + 1.2vw, 2rem);
    --step-4: clamp(1.75rem, 1.5rem + 1.8vw, 2.25rem);
  }
  html { scroll-padding-top: 4rem; }
  body { line-height: 1.55; }
  .wrap { width: min(100% - 1.5rem, var(--wrap)); }
  .header-inner { min-height: 3.5rem; gap: .75rem; }
  .brand svg { width: 2.15rem; }
  .brand-name { font-size: 1.12rem; }
  .brand-name span { font-size: .62rem; letter-spacing: .12em; margin-top: .18rem; }
  .nav-toggle { padding: .45rem .85rem; font-size: .95rem; }
  .site-nav.is-open { max-height: calc(100vh - 3.5rem); }
  .site-nav ul { padding: .35rem 1rem 1rem; }
  .site-nav a { padding: .65rem .2rem; font-weight: 600; font-size: 1rem; }
  .site-nav .nav-cta { margin-top: .75rem; }
  .site-nav .btn { width: 100%; justify-content: center; }

  .hero { padding: 1.35rem 0 1.5rem; }
  .hero-grid { gap: 1.35rem; }
  .hero h1 { margin-bottom: .28em; line-height: 1.12; }
  .capsule { margin-bottom: 1rem; line-height: 1.45; }
  .hero .btn-row { margin-bottom: .9rem; gap: .55rem; }
  .hero-note { font-size: .9rem; gap: .4rem; }
  .hero-art { max-width: 14rem; margin-inline: auto; }

  .page-head { padding: 1rem 0 1.25rem; }
  .page-head h1 { max-width: none; }
  .page-head .capsule { margin-bottom: 1rem; }
  .page-head-grid { gap: 1.25rem; }
  .crumbs { padding: .75rem 0 0; font-size: .88rem; }

  .section { padding: 1.85rem 0; }
  .section-head { margin-bottom: 1.15rem; }
  .section-head p { font-size: 1.02em; }
  .split { gap: 1.5rem; }
  .content-grid { gap: 1.5rem; }
  .content-main > section { padding-block: 1.4rem; }
  .aside-stack { gap: 1rem; padding-top: 1.4rem; }

  .btn { min-height: 46px; padding: .65rem 1.15rem; font-size: 1rem; }
  .btn-row { gap: .55rem; }

  /* One primary CTA prominence: keep secondary reachable but quieter */
  .hero .btn-row .btn-secondary,
  .page-head .btn-row .btn-secondary,
  .cta-band .btn-row .btn-ghost-light {
    min-height: 44px;
    padding: .5rem 1rem;
    font-size: .95rem;
    font-weight: 600;
  }
  .hero .btn-row .btn-secondary,
  .page-head .btn-row .btn-secondary {
    border-width: 1.5px;
    border-color: var(--line);
    color: var(--ink-2);
    background: transparent;
  }
  .hero .btn-row .btn-secondary:hover,
  .page-head .btn-row .btn-secondary:hover {
    border-color: var(--ink-soft);
    background: var(--stone);
    color: var(--ink);
  }
  .cta-band .btn-row .btn-ghost-light {
    border-color: rgba(255,255,255,.35);
  }

  .cards { gap: .75rem; }
  .card { padding: 1.1rem 1.15rem 1rem; gap: .35rem; border-radius: 12px; }
  .card h3 { font-size: 1.15rem; }
  .card p { font-size: .95rem; }
  .card-icon { width: 2.1rem; height: 2.1rem; margin-bottom: .1rem; }
  .card .card-more { padding-top: .4rem; font-size: .9rem; }

  .enquire-card { padding: 1.25rem; border-radius: 12px; }
  .enquire-card h2 { font-size: 1.25rem; }
  .enquire-card .btn + .btn {
    margin-top: .45rem;
    min-height: 44px;
    font-size: .95rem;
    font-weight: 600;
    border-color: rgba(255,255,255,.35);
  }
  .info-card { padding: 1.1rem 1.15rem; }

  .steps { gap: .75rem; }
  .steps > li { padding: .85rem 1rem .85rem 3.4rem; }
  .steps > li::before { left: .9rem; top: .85rem; width: 1.75rem; height: 1.75rem; font: 600 .9rem/1.75rem var(--serif); }
  .fact-row { gap: 1rem 1.25rem; margin-bottom: 1rem; }
  .fact-row b { font-size: 1.2rem; }
  .towns a { padding: .85rem .15rem; }
  .faq { gap: .55rem; }
  .faq summary { padding: .85rem 2.6rem .85rem 1rem; font-size: 1.05rem; }
  .faq .faq-a { padding: 0 1rem 1rem; }
  .callout { padding: .9rem 1rem; }
  .related { padding: 1.75rem 0; }
  .cta-band { padding: 1.85rem 0; }
  .cta-band-art { width: 16rem; right: -6rem; bottom: -8rem; opacity: .1; }
  .form-shell { padding: 1.1rem 1rem 1.25rem; border-radius: 12px; box-shadow: 0 1px 2px rgba(22,33,47,.05), 0 4px 14px rgba(22,33,47,.05); }
  .site-footer { padding: 2.1rem 0 1.4rem; }
  .footer-grid { gap: 1.35rem; }
  .footer-base { margin-top: 1.75rem; padding-top: 1.15rem; }
  .eyebrow { margin-bottom: .55rem; font-size: .72rem; letter-spacing: .12em; }
  .eyebrow::before { width: 1.25rem; }
  .lead { line-height: 1.45; }
  .address-block { font-size: 1.35rem; }
}

@media (max-width: 30rem) {
  :root {
    --step-4: 1.65rem;
    --step-3: 1.4rem;
    --step-1: 1.08rem;
  }
  .capsule { font-size: 1.02rem; margin-bottom: .85rem; }
  .hero { padding: 1.15rem 0 1.25rem; }
  .hero-art { max-width: 10.5rem; }
  .brand-name span { display: none; } /* lighten sticky header on small phones */
  .header-inner { min-height: 3.15rem; }
  .hero .btn-row,
  .page-head .btn-row,
  .cta-band .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero .btn-row .btn-primary,
  .page-head .btn-row .btn-primary,
  .cta-band .btn-row .btn-primary,
  .cta-band .btn-row .btn-light {
    width: 100%;
  }
  /* Secondary as supporting text action (still ≥44px tap) */
  .hero .btn-row .btn-secondary,
  .page-head .btn-row .btn-secondary {
    width: auto;
    align-self: flex-start;
    border-color: transparent;
    border-width: 0;
    padding: .55rem .15rem;
    min-height: 44px;
    color: var(--brass-deep);
    text-decoration: underline;
    text-decoration-color: rgba(176, 125, 36, .55);
    text-underline-offset: .18em;
    font-weight: 650;
    background: transparent;
  }
  .hero .btn-row .btn-secondary:hover,
  .page-head .btn-row .btn-secondary:hover {
    background: transparent;
    border-color: transparent;
    color: var(--ink);
    text-decoration-thickness: 2px;
  }
  .cta-band .btn-row .btn-ghost-light {
    width: auto;
    align-self: flex-start;
    border-color: transparent;
    padding: .55rem .15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .cta-band, .related, .aside-stack, .skip-link { display: none !important; }
  body { background: #fff; }
}
