/* Hallmark · macrostructure: Photographic (H6 knobs: area=full-bleed 16/9, caption=lower-left, text=overlaid) · tone: utilitarian-local · anchor hue: sky 199°
 * theme: custom (brand-fixed) · vibe: "desert backyard water, orca navy and splash blue"
 * paper oklch(15% 0.03 255) navy · accent oklch(66% 0.15 235) sky · display Barlow 700 + body Inter
 * axes: dark / grotesk-sans / cool · nav: N9 edge-aligned + link row · footer: Ft1 mast-headed
 * Palette and fonts are the client's (shrammupools.com theme CSS + GBP logo), not rotated.
 */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/fonts/barlow-700-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2"); }

:root {
  /* brand: old-site theme --background hsl(217 68% 6%), --primary hsl(199 89% 48%); GBP logo navy + splash cyan */
  --color-navy-900: #050d1a;
  --color-navy-800: #0a1830;
  --color-navy-700: #10254a;
  --color-logo-navy: #0b1489;
  --color-sky: #0da2e7;
  --color-splash: #00c4ff;
  --color-white: #ffffff;
  --color-paper: #f2f7fb;
  --color-paper-2: #e3eef6;
  --color-ink: #0a1630;
  --color-ink-soft: #3a4a63;
  --color-on-dark: #f5f7fa;
  --color-on-dark-soft: #a9bed3;   /* old-site --muted-foreground hsl(206 41% 64%) */
  --color-rule-dark: rgba(169, 190, 211, 0.22);
  --color-rule-light: #c9d9e6;
  --color-focus: #00c4ff;
  --color-error: #ffb4a8;
  --color-error-light: #b3261e;
  --color-success: #0b6b3a;

  --font-display: "Barlow", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --text-sm: 0.875rem; --text-base: 1.0625rem; --text-lg: 1.25rem; --text-xl: 1.5rem;
  --text-2xl: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  --text-display: clamp(2.3rem, 1.4rem + 4vw, 4.5rem);

  --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px;
  --space-xl: 32px; --space-2xl: 48px; --space-3xl: 72px; --space-4xl: 104px;
  --radius: 8px; --radius-sm: 6px;
  --ease-out: cubic-bezier(.2, .7, .2, 1); --dur-fast: 140ms;
  --wrap: 1180px;
  /* overlays + borders lifted out of the rules (veils over photos, field border) */
  --color-field-border: #8ba1b6;
  --color-veil-05: rgba(5, 13, 26, 0.05);
  --color-veil-82: rgba(5, 13, 26, 0.82);
  --color-veil-85: rgba(5, 13, 26, 0.85);
  --color-veil-88: rgba(5, 13, 26, 0.88);
  --color-veil-94: rgba(5, 13, 26, 0.94);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--color-navy-900); color: var(--color-on-dark); font: 400 var(--text-base)/1.6 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--color-white); color: var(--color-ink); padding: var(--space-xs) var(--space-md); z-index: 20; }
.skip:focus { left: 8px; }

.h1, .h2, .h3 { font-family: var(--font-display); font-weight: 700; font-style: normal; line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 var(--space-md); overflow-wrap: anywhere; min-width: 0; text-wrap: balance; }
.h1 { font-size: var(--text-display); }
.h2 { font-size: var(--text-2xl); margin-top: var(--space-2xl); }
.h2:first-child, .h3:first-child { margin-top: 0; }
.h3 { font-size: var(--text-xl); line-height: 1.15; }

/* buttons + links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border-radius: var(--radius); font: 600 var(--text-base)/1 var(--font-body); text-decoration: none; white-space: nowrap; border: 2px solid transparent; cursor: pointer; transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
.btn--sky { background: var(--color-sky); color: var(--color-navy-900); }
.btn--sky:hover { background: var(--color-splash); }
.btn--navy { background: var(--color-logo-navy); color: var(--color-white); }
.btn--navy:hover { background: var(--color-navy-700); }
.btn--line { border-color: var(--color-on-dark-soft); color: var(--color-on-dark); background: transparent; }
.btn--line:hover { border-color: var(--color-white); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link { color: var(--color-splash); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; white-space: nowrap; }
.link:hover { text-decoration-thickness: 3px; }
.link--light { color: var(--color-white); }
.link--dark, .band--paper .link { color: var(--color-logo-navy); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); margin-top: var(--space-lg); }

/* masthead (N9 edge-aligned, link row between) */
.mast { position: sticky; top: 0; z-index: 10; background: var(--color-veil-94); border-bottom: 1px solid var(--color-rule-dark); }
@supports (backdrop-filter: blur(8px)) { .mast { background: var(--color-veil-82); backdrop-filter: blur(8px); } }
.mast__row { display: flex; align-items: center; gap: var(--space-lg); min-height: 72px; }
.mast__brand img { height: 56px; width: auto; }
.mast__nav { margin-left: auto; }
.mast__nav ul { display: flex; gap: var(--space-lg); list-style: none; margin: 0; padding: 0; }
.mast__nav a { text-decoration: none; font-weight: 600; font-size: var(--text-sm); color: var(--color-on-dark-soft); white-space: nowrap; padding: var(--space-xs) 0; }
.mast__nav a:hover, .mast__nav a[aria-current] { color: var(--color-white); }
.mast__nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--color-sky); }
@media (max-width: 960px) {
  .mast__row { flex-wrap: wrap; gap: 0 var(--space-md); padding-top: var(--space-xs); }
  .mast__brand img { height: 46px; }
  .mast__call { margin-left: auto; min-height: 42px; padding: 0 var(--space-md); font-size: var(--text-sm); }
  .mast__nav { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; }
  .mast__nav ul { gap: var(--space-md); padding: var(--space-xs) 0 var(--space-sm); }
}

/* photographic fold */
.fold { position: relative; isolation: isolate; min-height: min(86vh, 760px); display: flex; align-items: flex-end; }
.fold__media { position: absolute; inset: 0; z-index: -1; }
.fold__media img { width: 100%; height: 100%; object-fit: cover; }
.fold__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--color-veil-05) 30%, var(--color-veil-88) 78%, var(--color-navy-900) 100%); }
.fold__caption { padding: var(--space-4xl) 0 var(--space-2xl); }
.fold__where { font-size: var(--text-sm); font-weight: 600; color: var(--color-on-dark-soft); margin: 0 0 var(--space-sm); }
.fold .h1 { max-width: 15ch; }
.fold__lede { max-width: 60ch; font-size: var(--text-lg); color: var(--color-on-dark); margin: 0; }
@media (max-width: 640px) {
  .fold { display: block; min-height: 0; }
  .fold__media { position: relative; inset: auto; }
  .fold__media img { aspect-ratio: 4 / 3; height: auto; }
  .fold__media::after { background: linear-gradient(180deg, transparent 70%, var(--color-navy-900) 100%); }
  .fold__caption { padding: var(--space-md) 0 var(--space-2xl); }
  .fold__lede { font-size: var(--text-base); }
}

/* page head (non-photo pages) */
.head { padding: var(--space-3xl) 0 var(--space-2xl); background: linear-gradient(180deg, var(--color-navy-800), var(--color-navy-900)); }
.head .h1 { max-width: 20ch; }
.head__lede { max-width: 62ch; font-size: var(--text-lg); color: var(--color-on-dark); margin: 0 0 var(--space-sm); }
.head__lede a { color: var(--color-splash); }
.head--404 { min-height: 55vh; }

/* bands */
.band { padding: var(--space-3xl) 0; }
.band--deep { background: var(--color-navy-800); }
.band--paper { background: var(--color-paper); color: var(--color-ink); }
.band--paper a:not(.btn) { color: var(--color-logo-navy); }
.prose p { margin: 0 0 var(--space-md); max-width: 68ch; }
.sub { color: var(--color-on-dark-soft); margin: 0 0 var(--space-xl); }
.more { margin: var(--space-xl) 0 0; }
.muted { color: var(--color-ink-soft); font-size: var(--text-sm); }

.intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: start; }
.intro__big { font-size: var(--text-xl); line-height: 1.45; margin: 0; }
.intro__big a { color: var(--color-splash); white-space: nowrap; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-rule-dark); }
.facts li { padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-rule-dark); font-weight: 600; }
.facts span { display: block; font-size: var(--text-sm); font-weight: 400; color: var(--color-on-dark-soft); }

/* service plates: photo + text, alternating */
.plate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: center; padding: var(--space-2xl) 0; border-top: 1px solid var(--color-rule-dark); }
.plate--flip .plate__media { order: 2; }
.plate__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.plate__text p { color: var(--color-on-dark-soft); max-width: 52ch; }

.wide-photo { position: relative; }
.wide-photo__img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.wide-photo__cap { position: absolute; left: 0; right: 0; bottom: var(--space-lg); margin: 0 auto; font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); text-shadow: 0 1px 12px var(--color-veil-85); }

/* quotes */
.quote { margin: 0 0 var(--space-xl); padding-left: var(--space-lg); border-left: 3px solid var(--color-sky); }
.quote blockquote { margin: 0; }
.quote p { margin: 0 0 var(--space-xs); }
.quote figcaption { font-size: var(--text-sm); color: var(--color-on-dark-soft); }
.quote--big p { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.2; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--space-lg) var(--space-2xl); }
.quotes--wall .quote { margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: start; }
.split--media { align-items: center; }
.split--form { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.framed img { width: 100%; border-radius: var(--radius); }
.framed--logo { background: var(--color-navy-900); border-radius: var(--radius); padding: var(--space-2xl); }

.towns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: var(--space-sm); }
.towns a { display: block; padding: var(--space-md) var(--space-lg); border: 1px solid var(--color-rule-dark); border-radius: var(--radius); text-decoration: none; font-family: var(--font-display); font-size: var(--text-xl); white-space: nowrap; transition: border-color var(--dur-fast) var(--ease-out); }
.towns a:hover { border-color: var(--color-sky); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--space-xl); }
.card { display: block; text-decoration: none; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: var(--space-md); }
.card p { color: var(--color-on-dark-soft); margin: 0; }
.card:hover .h3 { color: var(--color-splash); }

.towngrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: var(--space-lg); }
.town { display: block; text-decoration: none; padding: var(--space-lg); border: 1px solid var(--color-rule-dark); border-radius: var(--radius); }
.town p { color: var(--color-on-dark-soft); margin: 0; }
.town:hover { border-color: var(--color-sky); }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--space-lg); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { font-size: var(--text-sm); color: var(--color-on-dark-soft); margin-top: var(--space-xs); }

/* lists */
.ticks { padding: 0; margin: 0 0 var(--space-lg); list-style: none; }
.ticks li { position: relative; padding-left: var(--space-xl); margin-bottom: var(--space-xs); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 12px; height: 6px; border-left: 2px solid var(--color-logo-navy); border-bottom: 2px solid var(--color-logo-navy); transform: rotate(-45deg); }
.ticks--cols { columns: 2 260px; column-gap: var(--space-2xl); }
.ticks--cols li { break-inside: avoid; }
.linklist { list-style: none; margin: 0; padding: 0; }
.linklist li { border-bottom: 1px solid var(--color-rule-dark); }
.band--paper .linklist li { border-color: var(--color-rule-light); }
.linklist a { display: block; padding: var(--space-sm) 0; text-decoration: none; font-weight: 600; }
.linklist a:hover { color: var(--color-splash); }
.band--paper .linklist a:hover { color: var(--color-logo-navy); text-decoration: underline; }
.linklist--cols { columns: 2 200px; column-gap: var(--space-xl); }
.linklist--cols li { break-inside: avoid; }

.specs { margin: 0 0 var(--space-lg); display: grid; gap: 0; border-top: 1px solid var(--color-rule-light); }
.specs div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: var(--space-md); padding: var(--space-md) 0; border-bottom: 1px solid var(--color-rule-light); }
.specs dt { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); }
.specs dd { margin: 0; }

/* faq */
.faq { border-top: 1px solid var(--color-rule-light); }
.faq__item { border-bottom: 1px solid var(--color-rule-light); }
.faq__item summary { cursor: pointer; list-style: none; padding: var(--space-md) var(--space-xl) var(--space-md) 0; position: relative; font-weight: 600; font-size: var(--text-lg); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: var(--space-md); font-weight: 400; color: var(--color-logo-navy); }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { margin: 0 0 var(--space-md); max-width: 68ch; color: var(--color-ink-soft); }

/* cta */
.cta { padding: var(--space-3xl) 0; background: var(--color-logo-navy); }
.cta p { margin: 0; color: var(--color-on-dark); max-width: 60ch; }
.cta .link { color: var(--color-white); }

/* contact + form */
.contact { margin: 0; }
.contact div { padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-rule-light); }
.contact dt { font-size: var(--text-sm); color: var(--color-ink-soft); }
.contact dd { margin: 0; font-weight: 600; }
.form { background: var(--color-white); color: var(--color-ink); border: 1px solid var(--color-rule-light); border-radius: var(--radius); padding: var(--space-xl); }
.field { margin-bottom: var(--space-md); }
.field label { display: block; font-weight: 600; font-size: var(--text-sm); margin-bottom: var(--space-2xs); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--color-ink); background: var(--color-white); border: 1px solid var(--color-field-border); border-radius: var(--radius-sm); padding: var(--space-sm); min-height: 48px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-ink-soft); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--color-logo-navy); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--color-error-light); }
.field input:disabled { background: var(--color-paper-2); }
.form__hint { font-size: var(--text-sm); color: var(--color-ink-soft); }
.form__status { margin: var(--space-md) 0 0; font-weight: 600; min-height: 1.6em; }
.form__status[data-state="error"] { color: var(--color-error-light); }
.form__status[data-state="success"] { color: var(--color-success); }
.map { display: block; width: 100%; height: 380px; border: 0; border-radius: var(--radius); }

/* footer (Ft1 mast-headed) */
.foot { background: var(--color-navy-900); border-top: 1px solid var(--color-rule-dark); padding: var(--space-3xl) 0 calc(var(--space-xl) + 72px); }
.foot__mast { display: flex; align-items: center; gap: var(--space-xl); padding-bottom: var(--space-2xl); border-bottom: 1px solid var(--color-rule-dark); }
.foot__mast img { width: 160px; height: auto; }
.foot__name { font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xl); margin: 0; }
.foot__line { margin: 0; color: var(--color-on-dark-soft); }
.foot__phone { margin: var(--space-xs) 0 0; font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); }
.foot__phone a { color: var(--color-splash); text-decoration: none; }
.foot__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl); padding: var(--space-2xl) 0; }
.foot__h { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; color: var(--color-on-dark-soft); margin: 0 0 var(--space-sm); }
.foot__h--gap { margin-top: var(--space-lg); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: var(--space-xs); font-size: var(--text-sm); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--color-splash); text-decoration: underline; }
.foot__towns { columns: 2; column-gap: var(--space-md); }
.foot__fine { font-size: var(--text-sm); color: var(--color-on-dark-soft); margin-top: 0; }

.callbar { display: none; }
@media (max-width: 760px) {
  .intro, .plate, .split, .split--form { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .plate--flip .plate__media { order: 0; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__mast { flex-direction: column; align-items: flex-start; }
  .specs div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .wide-photo__img { aspect-ratio: 4 / 3; }
  .callbar { display: flex; gap: var(--space-xs); position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; padding: var(--space-xs) var(--space-md) calc(var(--space-xs) + env(safe-area-inset-bottom)); background: var(--color-navy-900); border-top: 1px solid var(--color-rule-dark); }
  .callbar .btn { flex: 1 1 0; min-width: 0; padding: 0 var(--space-xs); font-size: var(--text-sm); }
  .band { padding: var(--space-2xl) 0; }
}
@media (max-width: 380px) { .foot__grid { grid-template-columns: minmax(0, 1fr); } .mast__call { font-size: 0.8rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 1ms !important; } }
