/* ==========================================================================
   Long Stride Running — site styles
   Sea blue, sand, sunrise orange and deep ink. Tomorrow headings, Geologica body. Generous rounded corners and "km"
   markers on the cards. The home hero is a coastal-path photograph across the full width with the headline on the sky,
   the race predictor card floating low over its bottom edge, and a drawn elevation profile of the Porthcawl seafront
   5k running underneath. One file.
   ========================================================================== */

@font-face { font-family: "Tomorrow Fallback"; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica-Bold"); size-adjust: 109.4%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Geologica Fallback"; font-weight: 100 500; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 108.8%; ascent-override: 94%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: "Geologica Fallback"; font-weight: 600 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica-Bold"); size-adjust: 105.0%; ascent-override: 94%; descent-override: 25%; line-gap-override: 0%; }

:root {
  --paper: #F3ECDD;
  --paper-2: #E9DFCA;
  --card: #FFFDF8;
  --ink: #13222E;
  --ink-2: #1F3546;
  --text: #17252F;
  --text-2: #4A5560;
  --muted: #56616B;
  --line: rgba(19,34,46,.12);
  --line-strong: rgba(19,34,46,.3);
  --accent: #155E8C;
  --accent-hover: #0F4A6F;
  --on-accent: #FFFFFF;
  --accent-ink: #155E8C;
  --accent-on-dark: #F2A06B;
  --sun: #EE7B30;
  --sun-ink: #9A4510;
  --sea-light: #BFD6E6;
  --dark: #13222E;
  --on-dark: #D6E2EA;
  --on-dark-head: #FFFFFF;
  --tint: #DCE8F0;
  --red: #A3261C;
  --star: #EE7B30;
  --focus: #155E8C;
  --header-bg: #F3ECDD;
  --header-text: #13222E;
  --header-line: rgba(19,34,46,.16);
  --cta-bg: #155E8C;
  --footer-bg: #13222E;
  --page-hero-bg: #DCE8F0;
  --page-hero-text: #13222E;

  --font-head: "Tomorrow", "Tomorrow Fallback", Arial, sans-serif;
  --font: "Geologica", "Geologica Fallback", Arial, sans-serif;
  --head-weight: 700;
  --head-case: none;
  --head-track: -.015em;
  --head-lh: 1.08;
  --radius: 16px;
  --radius-sm: 10px;
  --btn-radius: 999px;
  --step--1: clamp(.9rem, .86rem + .2vw, .99rem);
  --step-0: clamp(1.04rem, .99rem + .25vw, 1.14rem);
  --step-1: clamp(1.22rem, 1.1rem + .55vw, 1.55rem);
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
  --step-3: clamp(1.95rem, 1.5rem + 2vw, 3.1rem);
  --step-4: clamp(2.4rem, 1.7rem + 3.2vw, 4.3rem);
  --step-5: clamp(2.8rem, 1.6rem + 5vw, 5.8rem);
  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 6vw + 1.5rem, 7rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::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; } }
body { margin: 0; font-family: var(--font); font-size: var(--step-0); line-height: 1.65; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: var(--head-weight); line-height: var(--head-lh); letter-spacing: var(--head-track); text-transform: var(--head-case); color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }
.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; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; font-weight: 700; }
.skip:focus { top: 1rem; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section.tight { padding-block: calc(var(--section) * .6); }
.section.dark { background: var(--dark); color: var(--on-dark); }
.section.dark h2, .section.dark h3 { color: var(--on-dark-head); }
.section.dark p { color: var(--on-dark); }
.section.card-bg { background: var(--card); }
.section.tint { background: var(--tint); }
.section.paper2 { background: var(--paper-2); }

/* ---------- Type ---------- */
.display { font-size: var(--step-5); line-height: var(--head-lh); }
.h1 { font-size: var(--step-4); }
.h2 { font-size: var(--step-3); }
.h3 { font-size: var(--step-2); }
.h4 { font-size: var(--step-1); font-family: var(--font); font-weight: 700; text-transform: none; letter-spacing: 0; }
.display em, .h2 em, .h1 em { font-style: normal; color: var(--accent-ink); }
.section.dark .h2 em, .section.dark .display em { color: var(--accent-on-dark); }
.kicker { font-family: var(--font); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--accent-ink); margin: 0 0 1rem; }
.section.dark .kicker { color: var(--accent-on-dark); }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--text-2); max-width: 40em; }
.section.dark .lede { color: var(--on-dark); }
.section-head { max-width: 50rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.section-head p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .section-head.split { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.6rem; min-height: 3.1rem; border-radius: var(--btn-radius); border: 2px solid transparent; font-family: var(--font); font-weight: 700; font-size: var(--step-0); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn .ico { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ink:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { border-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: .1rem; }
.link-arrow .ico { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.section.dark .link-arrow { color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem 1.25rem; align-items: center; margin-top: 2rem; }
.ico { width: 1.25rem; height: 1.25rem; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); color: var(--header-text); border-bottom: 1px solid var(--header-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.brand .mark { width: 2.6rem; height: 2.6rem; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: var(--head-weight); text-transform: var(--head-case); font-size: 1.3rem; letter-spacing: var(--head-track); }
.brand-sub { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; margin-top: .3rem; }
.sub-short { display: none; }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-list { display: flex; gap: .1rem; list-style: none; }
.nav-link { display: block; padding: .55rem .75rem; text-decoration: none; font-weight: 700; font-size: var(--step--1); color: inherit; white-space: nowrap; border-bottom: 3px solid transparent; }
.nav-link:hover { border-bottom-color: var(--header-line); }
.nav-link.is-active { border-bottom-color: var(--accent); }
.nav-extra { display: flex; align-items: center; gap: 1rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-weight: 700; font-size: var(--step--1); color: inherit; white-space: nowrap; }
.nav-phone .ico { width: 1rem; height: 1rem; }
.nav-cta { padding: .55rem 1.1rem; min-height: 2.6rem; font-size: var(--step--1); }
.nav-toggle { display: none; background: transparent; color: inherit; border: 2px solid var(--header-line); border-radius: var(--btn-radius); width: 2.9rem; height: 2.9rem; align-items: center; justify-content: center; cursor: pointer; }
.burger { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.burger span { display: block; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1240px) { .nav-phone { display: none; } .nav-link { padding-inline: .5rem; } }
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; position: relative; z-index: 3; }
  .brand { position: relative; z-index: 1; }
  .nav.is-open { z-index: 2; }
  .nav { position: fixed; inset: 0; z-index: 0; background: var(--header-bg); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 6rem var(--gutter) 3rem; gap: 1.5rem; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; gap: .25rem; }
  .nav-link { font-family: var(--font-head); font-weight: var(--head-weight); text-transform: var(--head-case); font-size: var(--step-2); padding: .6rem .25rem; white-space: normal; border-bottom: 1px solid var(--header-line); }
  .nav-extra { flex-direction: column; align-items: stretch; gap: 1rem; }
  .nav-phone { display: inline-flex; justify-content: center; font-size: var(--step-1); }
  .nav-cta { width: 100%; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 480px) { .brand-name { font-size: 1.05rem; } .brand-sub { font-size: .55rem; white-space: nowrap; } .brand .mark { width: 2.2rem; height: 2.2rem; } .sub-long { display: none; } .sub-short { display: inline; } }

/* ---------- Photo ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Standards strip ---------- */
.cert-strip { display: grid; grid-template-columns: 1fr; gap: 1rem 1.5rem; }
@media (min-width: 600px) { .cert-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cert-strip { grid-template-columns: repeat(4, 1fr); } }
.cert { display: flex; gap: .8rem; align-items: flex-start; }
.cert-ico { width: 2.1rem; height: 2.1rem; border-radius: var(--radius-sm); background: var(--accent); color: var(--on-accent); display: grid; place-items: center; flex: none; }
.cert-ico .ico { width: 1.1rem; height: 1.1rem; }
.cert strong { display: block; font-size: var(--step--1); font-weight: 700; }
.cert span { display: block; font-size: .82rem; opacity: .85; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 600px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; height: 100%; }
.card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1.2rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-num { font-weight: 700; font-size: .8rem; letter-spacing: .1em; margin: 0; color: var(--accent-ink); }
.card-title { font-size: var(--step-2); line-height: 1.1; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-text { color: var(--text-2); font-size: var(--step--1); margin: 0; flex: 1; }
.card-from { font-weight: 700; font-size: var(--step--1); margin: .25rem 0 0; color: var(--ink); }

/* ---------- Tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { background: var(--card); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .75rem; }
.tile .tile-ico { width: 2.8rem; height: 2.8rem; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--tint); color: var(--ink); }
.tile .tile-ico .ico { width: 1.4rem; height: 1.4rem; }
.tile h3 { font-size: var(--step-1); }
.tile p { color: var(--text-2); font-size: var(--step--1); margin: 0; }
.section.dark .tile { background: rgba(255,255,255,.07); }
.section.dark .tile p { color: var(--on-dark); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); background: var(--card); }
.data { width: 100%; min-width: 520px; border-collapse: collapse; font-size: var(--step--1); }
.data th, .data td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data thead th { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); background: var(--paper-2); }
.data td.num, .data th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data tbody tr:last-child td { border-bottom: 0; }
.data tfoot td { font-weight: 700; border-top: 2px solid var(--ink); border-bottom: 0; }

/* ---------- Rate card ---------- */
.walks { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 600px) { .walks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .walks { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 600px) and (max-width: 999px) { .walks.three { grid-template-columns: 1fr; } }
.walk { background: var(--card); border-radius: var(--radius); padding: clamp(1.1rem, 2vw, 1.6rem); min-width: 0; display: flex; flex-direction: column; gap: .5rem; }
.walk-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.walk h3 { font-size: var(--step-1); }
.walk .len { font-size: .76rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; color: var(--text-2); }
.walk .price { font-family: var(--font-head); font-weight: var(--head-weight); font-size: var(--step-3); line-height: 1; color: var(--ink); margin: .2rem 0; }
.walk .price small { font-family: var(--font); font-size: var(--step--1); font-weight: 700; color: var(--muted); }
.walk p { margin: 0; color: var(--text-2); font-size: var(--step--1); flex: 1; }
.extras { list-style: none; display: grid; grid-template-columns: 1fr; gap: .4rem 1.5rem; }
@media (min-width: 700px) { .extras { grid-template-columns: repeat(2, 1fr); } }
.extras li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: .7rem 0; border-bottom: 1px dashed var(--line-strong); font-size: var(--step--1); }
.extras li span:first-child { font-weight: 700; }
.extras li strong { text-align: right; }

/* ---------- Feature ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature.flip > .feature-media { order: 2; }
.feature-media .photo { aspect-ratio: 4 / 3; }
.feature-copy .h2 { margin-bottom: 1.25rem; }
.feature-copy p { color: var(--text-2); }
.section.dark .feature-copy p { color: var(--on-dark); }
.check-list { list-style: none; display: grid; gap: .7rem; margin: 1.5rem 0; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--text-2); }
.check-list .ico { width: 1.3rem; height: 1.3rem; color: var(--on-accent); background: var(--accent); border-radius: var(--radius-sm); padding: .2rem; margin-top: .15rem; }
.section.dark .check-list li { color: var(--on-dark); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature.flip > .feature-media { order: 0; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 2rem; list-style: none; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { border-top: 3px solid var(--accent); padding-top: .9rem; }
.stats strong { display: block; font-family: var(--font-head); font-weight: var(--head-weight); font-size: var(--step-3); line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.stats span { font-size: var(--step--1); color: var(--text-2); }
.section.dark .stats strong { color: #fff; } .section.dark .stats span { color: var(--on-dark); }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 800px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review { background: var(--card); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .9rem; margin: 0; }
.review blockquote { margin: 0; font-size: var(--step-0); line-height: 1.55; flex: 1; }
.review blockquote p { margin: 0; }
.review footer { font-size: var(--step--1); color: var(--text-2); display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.review footer strong { color: var(--text); }
.review .kind { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.stars { display: inline-flex; gap: .1rem; }
.stars .star { width: 1rem; height: 1rem; color: var(--star); }
.stars .star.off { color: var(--line-strong); }
.rating-badge { display: inline-flex; align-items: center; gap: .9rem; padding: .7rem 1.1rem; background: var(--card); border-radius: var(--radius); }
.rating-badge strong { font-family: var(--font-head); font-weight: var(--head-weight); font-size: var(--step-2); line-height: 1; }
.rating-badge span { font-size: var(--step--1); color: var(--text-2); }

/* ---------- Find us ---------- */
.areas-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 600px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .areas-grid { grid-template-columns: repeat(3, 1fr); } }
.area { background: var(--card); border-radius: var(--radius); padding: 1.5rem; min-width: 0; }
.area h3 { font-size: var(--step-1); }
.area p { margin: .5rem 0 0; font-size: var(--step--1); color: var(--text-2); }
.map { width: 100%; aspect-ratio: 16 / 7; border: 0; border-radius: var(--radius); filter: grayscale(.5); }
.map-wide { margin-top: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--cta-bg); color: #fff; padding-block: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.cta-band .h2 { color: #fff; margin-bottom: .75rem; }
.cta-band p { color: var(--on-dark); max-width: 44rem; margin: 0; }
.cta-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: .9rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding: clamp(2.5rem, 5vw, 4.5rem) 0; background: var(--page-hero-bg); color: var(--page-hero-text); }
.page-hero .display { font-size: calc(var(--step-4) * .95); margin-bottom: 1.1rem; color: inherit; }
.page-hero .lede { margin-bottom: 0; color: inherit; opacity: .92; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.page-hero-media .photo { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ---------- Service page ---------- */
.service-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.service-body p { color: var(--text-2); }
.service-body .lede { color: var(--text); }
.aside-card { background: var(--card); border-radius: var(--radius); padding: 1.6rem; position: sticky; top: 6rem; border-top: 6px solid var(--accent); }
.aside-card + .aside-card { margin-top: 1.5rem; position: static; border-top-color: var(--ink); }
.aside-card .h4 { margin-bottom: 1rem; }
.aside-card .price { font-size: var(--step--1); color: var(--text-2); border-top: 1px solid var(--line); padding-top: 1rem; margin: 1rem 0; }
.aside-card .btn { width: 100%; }
.service-nav { list-style: none; display: grid; gap: .1rem; }
.service-nav a { display: flex; justify-content: space-between; align-items: center; padding: .6rem .5rem; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: var(--step--1); }
.service-nav a.is-active, .service-nav a:hover { background: var(--tint); }
.service-nav .ico { width: 1rem; height: 1rem; }
@media (max-width: 900px) { .service-layout { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* ---------- Forms ---------- */
.field label { display: block; font-weight: 700; font-size: var(--step--1); margin-bottom: .4rem; }
.field input, .field textarea, .field select { width: 100%; padding: .85rem 1.1rem; font: inherit; font-size: var(--step-0); color: var(--text); background: #fff; border: 2px solid var(--line-strong); border-radius: var(--radius-sm); min-height: 3.1rem; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23222'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.2rem; padding-right: 2.6rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent); }
.field textarea { resize: vertical; min-height: 7rem; }
.field .hint { font-size: .84rem; color: var(--text-2); margin: .35rem 0 0; }
.field .error { font-size: .88rem; color: var(--red); font-weight: 700; margin: .4rem 0 0; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--red); }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form { background: var(--card); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 1.1rem; border-top: 6px solid var(--accent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-weight: 700; margin: 0; }
.form-alert.ok { background: #E3F1E6; color: #14401F; border: 1px solid #9CC9A6; }
.form-alert.bad { background: #F9E6E3; color: #7A1F18; border: 1px solid #EBB8B3; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-aside { display: grid; gap: 1.1rem; }
.contact-card { background: var(--card); border-radius: var(--radius); padding: 1.5rem; }
.contact-card.urgent { background: var(--dark); color: #fff; }
.contact-card.urgent h2, .contact-card.urgent a { color: #fff; } .contact-card.urgent p { color: var(--on-dark); }
.contact-card h2 { font-size: var(--step-2); margin-bottom: .8rem; }
.contact-card p { margin: 0 0 .4rem; }
.contact-card a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 700; padding: .3rem 0; max-width: 100%; overflow-wrap: anywhere; }
.contact-card .ico { width: 1.05rem; height: 1.05rem; }
.address-block { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.5; }
.hours-list { list-style: none; display: grid; gap: .5rem; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--step--1); border-bottom: 1px dashed var(--line-strong); padding-bottom: .5rem; }
.hours-list strong { text-align: right; }
.field, .form-row > *, .contact-aside, .contact-card { min-width: 0; }
.field select, .field input, .field textarea { max-width: 100%; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.tool-form { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); align-items: end; }
.tool-out { margin-top: 2rem; }
.note { font-size: var(--step--1); color: var(--text-2); border-left: 4px solid var(--accent); padding: .2rem 0 .2rem 1rem; margin: 1.5rem 0; }
.warn { background: #FFF4D6; color: #4A3500; border: 1px solid #E9CF7E; border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1rem 0; font-size: var(--step--1); }
.warn strong { color: #3A2900; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.person { background: var(--card); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.person .media { aspect-ratio: 3 / 4; overflow: hidden; }
.person .media img { width: 100%; height: 100%; object-fit: cover; }
.person .body { padding: 1.4rem 1.5rem; }
.person h3 { font-size: var(--step-2); }
.person .role { font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin: .4rem 0 .75rem; color: var(--accent-ink); }
.person p { color: var(--text-2); font-size: var(--step--1); }
@media (max-width: 1000px) { .person { grid-template-columns: 1fr; } .person .media { aspect-ratio: 4 / 3; } }

/* ---------- FAQ & prose ---------- */
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.15rem 0; font-weight: 700; font-size: var(--step-1); line-height: 1.3; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { width: 1.2rem; height: 1.2rem; transform: rotate(90deg); transition: transform .3s var(--ease); flex: none; }
.faq-item[open] .faq-ico { transform: rotate(-90deg); }
.faq-body { padding: 0 0 1.4rem; color: var(--text-2); max-width: 64ch; }
.faq-body p:last-child { margin: 0; }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin: 2.25rem 0 .75rem; }
.prose p, .prose li { color: var(--text-2); }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
.legal-meta { font-size: var(--step--1); color: var(--text-2); border-left: 4px solid var(--accent); padding-left: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--on-dark); }
.footer-strip { padding: clamp(2rem, 4vw, 3rem) 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-strip .cert strong { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding: clamp(3rem, 5vw, 4.5rem) 0 2.5rem; }
.brand-footer { color: #fff; }
.footer-tag { margin: 1.25rem 0; font-size: var(--step--1); max-width: 36ch; }
.social-row { display: flex; gap: .6rem; }
.social { width: 2.6rem; height: 2.6rem; border: 1px solid rgba(255,255,255,.3); border-radius: var(--btn-radius); display: grid; place-items: center; color: #fff; }
.social:hover { background: rgba(255,255,255,.1); }
.social .ico { width: 1.1rem; height: 1.1rem; }
.footer-h { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #fff; margin-bottom: 1rem; font-family: var(--font); }
.footer-address { font-size: var(--step--1); line-height: 1.7; }
.footer-contact { margin-top: .9rem; display: grid; gap: .1rem; font-size: var(--step--1); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer a.btn-primary { color: var(--on-accent); text-decoration: none; }
.footer-contact a, .footer-links a, .footer-bottom a { display: inline-block; padding: .3rem 0; }
.footer-links { list-style: none; display: grid; gap: .1rem; font-size: var(--step--1); }
.footer-hours { list-style: none; display: grid; gap: .5rem; font-size: var(--step--1); margin-bottom: 1.25rem; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed rgba(255,255,255,.2); padding-bottom: .5rem; }
.footer-hours strong { color: #fff; text-align: right; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding: 1.25rem 0 .5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-bottom .legal { display: flex; gap: 1.25rem; }
.footer-bottom a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: .2em; }
.footer-fine { padding: .5rem 0 2rem; }
.footer-fine p { margin: 0; font-size: .76rem; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal (transform only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { transform: translateY(14px); transition: transform .6s var(--ease); }
  .reveal.in, .no-js .reveal { transform: none; }
  .reveal.instant { transition: none; }
  .reveal.d1 { transition-delay: .06s; } .reveal.d2 { transition-delay: .12s; } .reveal.d3 { transition-delay: .18s; } .reveal.d4 { transition-delay: .24s; }
}
@media print { .site-header, .cta-band, .nav-toggle, .skip, .social-row { display: none !important; } }

/* ---------- Site type ---------- */
.kicker { color: var(--accent); }
.page-hero .kicker { color: var(--accent); }
.page-hero .display em { color: var(--accent); font-style: normal; }
.display em, .h2 em { color: var(--accent); }
.section.dark .kicker, .section.dark .h2 em { color: var(--accent-on-dark); }
.btn-sun { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.btn-sun:hover { background: #F2924F; border-color: #F2924F; }
.site-header .nav-link.is-active { border-bottom-color: var(--sun); }

/* ---------- Hero: a full-width coastal photograph, the headline on the sky, the predictor card floating low, the seafront elevation underneath ---------- */
.hero { position: relative; background: var(--paper); }
.hero-photo { position: relative; height: clamp(30rem, 46vw, 40rem); overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(243,236,221,.9) 0%, rgba(243,236,221,.55) 30%, rgba(243,236,221,0) 58%); }
.hero-copy { position: absolute; left: 0; right: 0; top: 0; z-index: 1; padding-top: clamp(2rem, 4vw, 3.5rem); }
.hero-stage { position: relative; }
.hero-copy .kicker { color: var(--ink); }
.hero-title { font-size: clamp(2.6rem, 1.5rem + 4vw, 5rem); line-height: 1.02; max-width: 13ch; margin: 0 0 1rem; color: var(--ink); }
.hero-title em { color: var(--accent); font-style: normal; }
.hero-copy .lede { color: var(--ink); max-width: 31rem; font-size: var(--step-0); margin: 0; background: rgba(243,236,221,.9); padding: .75rem 1rem; border-radius: 12px; margin-left: -1rem; }
.predict-card { position: absolute; right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); bottom: 1.75rem; z-index: 2; width: min(25rem, 100% - 2 * var(--gutter)); background: var(--card); border-radius: var(--radius); padding: 1.4rem 1.5rem 1.5rem; box-shadow: 0 24px 50px -24px rgba(19,34,46,.55); border-top: 6px solid var(--sun); }
.predict-card h2 { font-size: var(--step-1); margin-bottom: .35rem; }
.predict-card > p { font-size: var(--step--1); color: var(--text-2); margin: 0 0 .9rem; }
.predict-card form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .7rem; }
.predict-card label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: .25rem; }
.predict-card input, .predict-card select { width: 100%; min-width: 0; padding: .6rem .8rem; font: inherit; border: 2px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; min-height: 2.9rem; color: var(--text); }
.predict-card .btn { grid-column: 1 / -1; }
.predict-card .example { font-size: .84rem; color: var(--text-2); margin: .8rem 0 0; }
.elevation { background: var(--paper); padding: 1.1rem 0 1.4rem; border-bottom: 1px solid var(--line); }
.elev-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1.5rem; font-size: var(--step--1); color: var(--text-2); margin-bottom: .5rem; }
.elev-head strong { color: var(--ink); }
.elev-svg { width: 100%; height: 5.5rem; display: block; }
.elev-labels, .elev-places { position: relative; height: 1.15rem; font-size: .74rem; font-weight: 700; color: var(--text-2); margin-top: .3rem; }
.elev-places { font-size: .8rem; font-weight: 400; color: var(--ink); margin-top: .1rem; }
.elev-labels span, .elev-places span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.elev-labels span:first-child, .elev-places span:first-child { transform: none; }
.elev-labels span:last-child, .elev-places span:last-child { transform: translateX(-100%); }
@media (max-width: 1000px) {
  .hero-copy { position: static; padding: 1.75rem 0 1.25rem; }
  .hero-copy .lede { background: none; padding: 0; margin-left: 0; }
  .hero-photo { height: auto; aspect-ratio: 16 / 8; }
  .hero-photo::after { display: none; }
  .predict-card { position: relative; right: auto; bottom: auto; margin: -5rem auto 0; width: min(36rem, 100% - 2 * var(--gutter)); } }
@media (max-width: 700px) {
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-title { font-size: clamp(2.2rem, 1.2rem + 6vw, 3rem); }
  .predict-card { margin-top: -2.5rem; }
  .predict-card form { grid-template-columns: 1fr; }
  .elev-places span:nth-child(2), .elev-places span:nth-child(3) { display: none; }
}

/* ---------- Cards: rounded, a "km" marker ---------- */
.service-card { box-shadow: 0 1px 0 var(--line); }
.card-media { margin: 8px 8px 0; border-radius: calc(var(--radius) - 6px); }
.card-num { display: inline-block; width: max-content; background: var(--tint); color: var(--accent); padding: .15rem .6rem; border-radius: 999px; font-family: var(--font-head); letter-spacing: .04em; }
.tile .tile-ico { background: var(--tint); color: var(--accent); border-radius: 50%; }
.tile:nth-child(even) .tile-ico { background: #FBE3D2; color: var(--sun-ink); }
.walk { border-top: 6px solid var(--accent); }
.walk:nth-child(even) { border-top-color: var(--sun); }
.walk .len { background: var(--tint); color: var(--accent); padding: .15rem .55rem; border-radius: 999px; }
.review .kind { color: var(--accent); }
.stats li { border-top-color: var(--sun); }
.cert-ico { background: var(--sun); color: var(--ink); border-radius: 50%; }
.footer-strip .cert span { color: var(--on-dark); }
.site-footer a.btn-primary { color: #fff; }
.cta-band { background: var(--accent); }
.cta-band p { color: #E5EFF6; }
.cta-band .btn-primary { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.cta-band .btn-primary:hover { background: #F2924F; border-color: #F2924F; }
.page-hero { border-bottom: 6px solid var(--sun); }
.page-hero-media .photo { border-radius: var(--radius); }

/* ---------- Next run band ---------- */
.next-run { background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center; }
.next-run .when { font-family: var(--font-head); font-size: var(--step-2); color: var(--sun); line-height: 1.1; margin: 0; }
.next-run p { margin: 0; color: var(--on-dark); }
.next-run strong { color: #fff; }
.next-run .light { display: inline-block; margin-top: .4rem; background: rgba(238,123,48,.18); color: #FFD4B5; padding: .2rem .65rem; border-radius: 999px; font-size: .84rem; font-weight: 700; }
@media (max-width: 800px) { .next-run { grid-template-columns: 1fr; } }

/* ---------- Predictor page ---------- */
.pred-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; list-style: none; }
.pred { background: var(--card); border-radius: var(--radius); padding: 1.2rem 1.3rem; border: 2px solid transparent; }
.pred.is-given { border-color: var(--line-strong); background: var(--paper-2); }
.pred.is-target { border-color: var(--sun); box-shadow: 0 0 0 3px rgba(238,123,48,.25); }
.pred h3 { font-size: var(--step-0); font-family: var(--font); }
.pred .t { font-family: var(--font-head); font-size: var(--step-3); line-height: 1; color: var(--ink); margin: .4rem 0; }
.pred p { margin: 0; font-size: .86rem; color: var(--text-2); }
.pred .tag { display: inline-block; margin-top: .5rem; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sun-ink); }
@media (max-width: 1000px) { .pred-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .pred-grid { grid-template-columns: 1fr; } }
.tool-panel { background: var(--card); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); border-top: 6px solid var(--sun); }
.tool-error { background: #F9E6E3; color: #7A1F18; border: 1px solid #EBB8B3; padding: 1rem 1.2rem; font-weight: 700; border-radius: var(--radius-sm); }
.example-tag { display: inline-block; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
