/* Cool Castles: tokens in DESIGN.md */
:root {
  --ink: #14243A;
  --ink-2: #2C3E55;
  --muted: #4D5D72;
  --line: #D3DEEA;
  --line-strong: #B9C9DB;

  --band: #0E1B3D;      /* navy: booking band and dark sections */
  --band-deep: #08122B;
  --on-band: #E6EEF7;
  --on-band-muted: #BCCDE0;

  --yellow: #FFCB1F;
  --yellow-hover: #FFD84D;
  --navy: #0E1B3D;      /* hero text and buttons */
  --navy-hover: #1F3263;
  --cream: #FBF6EC;     /* header and hero */
  --lawn: #86B53A;      /* hero ground under the castles */
  --sky-top: #A8D8F8;   /* hero sky, and the header above it */
  --grass: #3F6A12;
  --butter: #FFF1BF;    /* logo sun */
  --sky: #E5EEF7;       /* photo placeholders */
  --white: #FFFFFF;

  --font-display: "Archivo", "Figtree", sans-serif;
  --font-body: "Figtree", "Segoe UI", Arial, sans-serif;

  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4.5rem; --s9: 7rem;

  --r-sm: 8px; --r-md: 14px; --r-lg: 22px;
  /* one light source, top; tinted navy, layered */
  --shadow-1: 0 1px 2px rgb(20 36 58 / 0.06), 0 2px 6px rgb(20 36 58 / 0.05);
  --shadow-2: 0 2px 4px rgb(20 36 58 / 0.05), 0 10px 24px rgb(20 36 58 / 0.09);
  --shadow-3: 0 4px 10px rgb(10 30 55 / 0.12), 0 24px 48px rgb(10 30 55 / 0.22);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
input, select, textarea, button { font: inherit; color: inherit; }
h1, h2 { font-family: var(--font-display); font-weight: 900; font-variation-settings: "wdth" 80; line-height: 1; text-wrap: balance; letter-spacing: -0.01em; color: var(--navy); }
h3, h4 { line-height: 1.25; }
p { text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s4); }
@media (min-width: 720px) { .wrap { padding: 0 var(--s6); } }

.skip { position: absolute; left: -9999px; top: 0; background: var(--yellow); padding: var(--s3) var(--s4); z-index: 100; }
.skip:focus { left: var(--s4); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0 1.4rem;
  border-radius: 999px; border: 0;
  font-weight: 800; letter-spacing: 0.005em; text-decoration: none; cursor: pointer;
  transition: background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
.btn-lg { min-height: 56px; padding: 0 1.75rem; font-size: 1.05rem; }
.btn-sm { min-height: 42px; padding: 0 1.1rem; font-size: 0.95rem; }
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: inset 0 -2px 0 rgb(0 0 0 / 0.12), 0 6px 16px rgb(255 203 31 / 0.25); }
.btn-ghost { background: rgb(255 255 255 / 0.08); color: var(--white); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.45); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--yellow-hover); transform: translateY(-1px); }
  .btn-ghost:hover { background: rgb(255 255 255 / 0.16); }
}
.btn:active { transform: translateY(1px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--cream); color: var(--navy);
}
.header-inner { display: flex; align-items: center; gap: var(--s5); min-height: 76px; }
.site-header .wrap { max-width: none; padding: 0 44px; }   /* full width, like the hero band */
@media (max-width: 760px) { .site-header .wrap { padding: 0 18px; } }
.brand { display: block; flex: none; }
.brand img { width: 88px; height: auto; margin: 4px 0; }
.main-nav { display: none; gap: var(--s6); margin-left: var(--s5); }
.main-nav a { text-decoration: none; font-weight: 600; color: var(--navy); padding: var(--s2) 0; }
@media (hover: hover) { .main-nav a:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; text-decoration-color: var(--yellow); } }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s5); }
.header-phone { font-weight: 800; text-decoration: none; white-space: nowrap; }
.header-actions .btn { display: none; }
.menu-btn {
  min-height: 42px; padding: 0 1.1rem; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--navy); color: var(--cream); font-weight: 800; font-size: 0.95rem;
}
.menu-btn[aria-expanded="true"] { background: var(--yellow); color: var(--navy); }
.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  display: flex; flex-direction: column; padding: var(--s2) 18px var(--s5);
  background: var(--cream); box-shadow: 0 18px 30px rgb(14 27 61 / 0.12);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu > a { padding: 14px 0; border-bottom: 1px solid #EADFC8; text-decoration: none; font-family: "Archivo", var(--font-body); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.btn-ghost-ink { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .header-actions .btn { display: inline-flex; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* Hero: blue sky with drifting clouds, the logo in a soft sun, castles standing on a lawn */
.hero { position: relative; background: linear-gradient(180deg, var(--sky-top) 0%, #C9E7FB 38%, #EAF5FC 62%, #F6FAF4 74%); color: var(--navy); overflow: hidden; font-family: "Archivo", var(--font-body); }
body:not(.inner) .site-header { background: var(--sky-top); }
.hero-clouds { position: absolute; inset: 0 0 auto 0; height: 60%; pointer-events: none; overflow: hidden; }
.hero-clouds svg { position: absolute; width: calc(190px * var(--s)); fill: var(--white); opacity: 0.92; filter: drop-shadow(0 6px 10px rgb(80 140 190 / 0.15)); animation: drift 60s linear infinite alternate; }
@keyframes drift { from { transform: translateX(-30px); } to { transform: translateX(40px); } }
@media (prefers-reduced-motion: reduce) { .hero-clouds svg { animation: none; } }
.hero-top { position: relative; z-index: 1; isolation: isolate; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 12px 24px 0; }
.hero-top::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -140px;
  width: 900px; height: 900px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, #FFF2B8 0%, rgb(255 244 200 / 0.75) 32%, rgb(255 244 200 / 0) 62%);
  /* fade the part above the hero out, so the header doesn't cut it with a hard line */
  -webkit-mask-image: linear-gradient(to bottom, transparent 140px, #000 320px);
  mask-image: linear-gradient(to bottom, transparent 140px, #000 320px);
}
.hero-card {
  position: absolute; top: 170px; width: 240px; margin: 0; padding: 18px 20px;
  background: var(--white); border-radius: 18px; text-align: left;
  font-family: var(--font-body); font-size: 15px; line-height: 1.45;
  box-shadow: 0 2px 6px rgb(14 27 61 / 0.06), 0 18px 40px rgb(14 27 61 / 0.10);
}
.hero-card-review { left: 3vw; --tilt: -2.5deg; transform: rotate(var(--tilt)); animation: bob 5s ease-in-out infinite; }
.hero-card-stars { color: #F5A700; font-size: 18px; letter-spacing: 2px; line-height: 1; }
.hero-card-review blockquote { margin-top: 8px; font-weight: 600; }
.hero-card-review figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.hero-card-units { right: 3vw; --tilt: 2deg; transform: rotate(var(--tilt)); animation: bob 5.6s ease-in-out -2.2s infinite; }
/* The side cards float gently up and down */
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(var(--tilt)); }
  50% { transform: translateY(-12px) rotate(calc(var(--tilt) * -0.4)); }
}
@media (prefers-reduced-motion: reduce) { .hero-card { animation: none; } }
.hero-card-big { font-family: "Archivo", var(--font-display); font-weight: 900; font-variation-settings: "wdth" 70; font-size: 64px; line-height: 1; }
.hero-card-units p + p { margin: 6px 0 12px; }
.hero-card-units a { font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--yellow); }
@media (hover: hover) { .hero-card-units a:hover { border-bottom-color: var(--navy); } }
@media (max-width: 1199px) { .hero-card { display: none; } }
@media (min-width: 1200px) { .hero-top .hero-title, .hero-top .hero-lead { max-width: min(820px, calc(100vw - 6vw - 560px)); } }   /* keep clear of the side cards */
.hero-logo img { height: clamp(220px, 20vw, 300px); width: auto; }
.hero-title {
  margin-top: 14px; color: var(--navy);
  font-weight: 900; font-variation-settings: "wdth" 78; text-transform: uppercase;
  font-size: clamp(40px, 4.6vw, 70px); line-height: 0.92; letter-spacing: -0.015em;
}
.hero-title span { display: block; color: #E8461E; }
/* Title: each line drops in with a small bounce, then "Around Omagh" gently breathes, like a castle being blown up */
.hero-title { animation: title-drop 700ms cubic-bezier(.2, 1.4, .4, 1) both; }
.hero-title span { transform-origin: 50% 70%; animation: title-drop 700ms cubic-bezier(.2, 1.4, .4, 1) 120ms both, title-breathe 3.6s ease-in-out 1.2s infinite; }
/* "Bouncy castle hire": the words hop one after another, a small wave every 3.6s, landing as "Around Omagh" swells */
.hero-title b { display: inline-block; font-weight: inherit; transform-origin: 50% 100%; animation: word-hop 3.6s ease-in-out 1.2s infinite; }
.hero-title b:nth-child(2) { animation-delay: 1.32s; }
.hero-title b:nth-child(3) { animation-delay: 1.44s; }
@keyframes word-hop { 0%, 22%, 100% { transform: none; } 7% { transform: translateY(-9px) scale(.98, 1.03); } 15% { transform: translateY(0) scale(1.04, .95); } }
@keyframes title-drop { from { opacity: 0; transform: translateY(-18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes title-breathe { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.035, 1.05); } 60% { transform: scale(1.025, 1.035); } }
@media (prefers-reduced-motion: reduce) { .hero-title, .hero-title span, .hero-title b { animation: none; } }
.hero-lead {
  max-width: 820px; margin-top: 14px; color: var(--ink-2);
  font-weight: 600; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.35;
}
.hero-btn {
  margin-top: 22px; display: inline-block;
  background: var(--navy); color: var(--cream); text-decoration: none;
  font-size: 17px; font-weight: 700; letter-spacing: -0.005em; font-variation-settings: "wdth" 110;
  padding: 15px 28px; border-radius: 999px; line-height: 1;
  transition: background-color 150ms ease, transform 150ms ease;
}
@media (hover: hover) { .hero-btn:hover { background: var(--navy-hover); transform: translateY(-1px); } }
.hero-band { position: relative; z-index: 1; margin-top: max(130px, 8.5vw); height: min(170px, 12vw);
  background: linear-gradient(180deg, var(--lawn) 0%, #7DAA35 100%); }
.hero-hills { position: absolute; left: 0; bottom: 100%; width: 100%; height: min(170px, 12vw); margin-bottom: -1px; overflow: hidden; }
.hill-defs { position: absolute; }
/* Each hill layer is two copies of a tile that joins up seamlessly, moved left by one copy; further hills move slower */
.hill { position: absolute; inset: 0 auto 0 0; width: 200%; display: flex; animation: roll 120s linear infinite; }
.hill svg { width: 50%; height: 100%; flex: none; }
.hill-near { bottom: -1px; }
/* The castles roll slowly along the lawn: two copies of the row, moved left by one copy's width, then loop */
.hero-units { position: absolute; left: 0; right: 0; bottom: 26px; height: min(290px, 20vw); }
.hero-track { display: flex; align-items: flex-end; height: 100%; width: max-content; animation: roll 90s linear infinite; }
.hero-track img { flex: none; margin-right: 70px; height: calc(var(--h) * 100%); width: auto; filter: drop-shadow(0 10px 10px rgb(0 0 0 / 0.15)); }
@keyframes roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hero-track, .hill { animation: none; } }
@media (max-width: 760px) {
  /* Phones: the whole scene, down to the road and van, fits above the Call bar on the first screen */
  .hero-top { padding: 10px 18px 0; }
  .hero-logo img { width: 160px; height: auto; }   /* big logo on every phone */
  .hero-title { margin-top: 4px; font-size: clamp(30px, 9.4vw, 40px); }
  .hero-lead { margin-top: 10px; font-size: 16px; }
  .hero-btn { margin-top: 16px; padding: 13px 24px; font-size: 16px; }
  .hero-top::before { width: 560px; height: 560px; top: -100px; }
  .hero-band { margin-top: 64px; height: 96px; }
  .hero-hills { height: 66px; }
  .hero-clouds svg { width: calc(110px * var(--s)); }
  .hero-units { bottom: 14px; height: 140px; }
  .hero-track { animation-duration: 65s; }
  .hero-track img { margin-right: 36px; }
}

/* Section heads */
.section-head { max-width: 42rem; }
.section-head h2, .areas h2, .how h2, .book h2 { font-size: clamp(2.1rem, 2.2vw + 1.3rem, 3.2rem); }
.section-head p { margin-top: var(--s3); color: var(--muted); font-size: 1.1rem; }

/* Hire */
.hire { padding: var(--s8) 0; }
@media (min-width: 960px) { .hire { padding-top: calc(var(--s9) + var(--s4)); } }
.filters { margin-top: var(--s6); }
.chips { display: flex; gap: var(--s2); overflow-x: auto; margin: 0 calc(var(--s4) * -1); padding: 2px var(--s4); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 2px 0; } }
.chip {
  flex: none; min-height: 42px; padding: 0 1.05rem;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white);
  font-weight: 600; font-size: 0.95rem; color: var(--ink-2); cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
@media (hover: hover) { .chip:hover { border-color: var(--ink); color: var(--ink); } }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip-toggle[aria-pressed="true"] { background: var(--grass); border-color: var(--grass); }
.chip-toggle::before { content: ""; display: inline-block; width: 0.9em; height: 0.9em; margin-right: 0.45em; vertical-align: -0.1em; border: 1.5px solid currentColor; border-radius: 3px; }
.chip-toggle[aria-pressed="true"]::before { background: currentColor; box-shadow: inset 0 0 0 2px var(--grass); }

/* The fit checker: the one loud element */
.fit {
  position: relative; overflow: hidden;
  display: grid; gap: var(--s4);
  margin-top: var(--s5);
  background: var(--yellow); color: var(--ink);
  border-radius: var(--r-lg);
  padding: var(--s5) var(--s5) calc(var(--s5) + 6px);
  box-shadow: var(--shadow-2);
}
.fit::after {
  /* castle crenellation along the bottom edge, from the logo */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: linear-gradient(90deg, rgb(20 36 58 / 0.12) 50%, transparent 50%) 0 0 / 24px 8px repeat-x;
}
.fit h3 { font-family: var(--font-display); font-weight: 900; font-variation-settings: "wdth" 80; font-size: 2rem; line-height: 1.05; }
.fit-text p { margin-top: var(--s2); max-width: 30em; color: var(--ink-2); }
.fit-inputs { display: flex; align-items: flex-end; gap: var(--s2) var(--s3); }
.fit-inputs label { display: grid; gap: var(--s1); font-weight: 800; font-size: 0.85rem; }
.unit-input { display: inline-flex; align-items: center; gap: var(--s2); background: var(--white); border-radius: 12px; padding: 0 var(--s4) 0 var(--s3); font-weight: 600; color: var(--muted); box-shadow: inset 0 0 0 1.5px rgb(20 36 58 / 0.25); }
.unit-input input { width: 3.6ch; min-height: 52px; border: 0; background: transparent; font-size: 1.4rem; font-weight: 800; color: var(--ink); }
.unit-input input:focus { outline: none; }
.unit-input:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.times { font-size: 1.4rem; font-weight: 800; padding-bottom: var(--s3); }
.fit-clear { min-height: 52px; padding: 0 var(--s2); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; cursor: pointer; }
.fit-result { font-weight: 800; }
.fit-result:empty { display: none; }
@media (min-width: 900px) {
  .fit { grid-template-columns: 1fr auto; align-items: center; column-gap: var(--s7); padding: var(--s6) var(--s7) calc(var(--s6) + 6px); }
  .fit-result { grid-column: 1 / -1; }
}

/* Grouped catalogue */
.groups { margin-top: var(--s7); display: grid; gap: var(--s8); }
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); padding-bottom: var(--s3); border-bottom: 1px solid var(--line-strong); }
.group-head h3 { font-family: var(--font-display); font-weight: 900; font-variation-settings: "wdth" 85; color: var(--navy); font-size: 1.75rem; }
.group-count { color: var(--muted); font-size: 0.95rem; font-weight: 600; }

.grid { list-style: none; padding: 0; margin-top: var(--s5); display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
@media (max-width: 559px) { .grid { grid-template-columns: 1fr 1fr; gap: var(--s3); } }
.card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--r-md);
  padding: 8px; box-shadow: var(--shadow-1);
  transition: box-shadow 200ms ease;
}
@media (hover: hover) { .card:hover { box-shadow: var(--shadow-2); } }
.card-photo { border-radius: 9px; overflow: hidden; background: var(--sky); }
.card-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { flex: 1; display: flex; flex-direction: column; padding: var(--s3) var(--s2) var(--s2); }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.card h3, .card h4 { font-family: var(--font-body); font-size: 1.04rem; font-weight: 800; line-height: 1.25; }
.card h4 a { text-decoration: none; }
@media (hover: hover) { .card h4 a:hover { text-decoration: underline; } }
.card-price { flex: none; color: var(--navy); font-weight: 800; font-size: 1.04rem; }
.card-price span { font-weight: 600; font-size: 0.78rem; color: var(--muted); margin-right: 1px; }
.card-meta { margin-top: var(--s1); font-size: 0.9rem; line-height: 1.5; color: var(--muted); display: flex; flex-direction: column; }
.card-meta .fits { color: var(--grass); font-weight: 700; }
.card-note { font-size: 0.88rem; color: var(--muted); margin-top: 2px; }
.card-ask {
  margin-top: auto; padding-top: var(--s3);
  font-size: 0.9rem; font-weight: 700; color: var(--band);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--yellow);
  align-self: flex-start;
}
@media (hover: hover) { .card-ask:hover { text-decoration-color: currentColor; } }
@media (max-width: 559px) {
  .card { padding: 6px; }
  .card-top { flex-direction: column; gap: 0; }
  .card h3, .card h4 { font-size: 0.95rem; }
  .card-meta { font-size: 0.82rem; }
  .card-ask { font-size: 0.85rem; }
}
.empty { margin-top: var(--s6); padding: var(--s5); background: var(--white); border-radius: var(--r-md); }

/* Reviews */
.reviews { background: var(--butter); padding: var(--s8) 0; }
.reviews-inner { display: grid; gap: var(--s6); }
.review blockquote p { font-size: 1.05rem; color: var(--ink-2); }
.review figcaption { margin-top: var(--s2); font-weight: 800; font-size: 0.95rem; }
.review-lead blockquote p { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 85; color: var(--navy); font-size: clamp(1.7rem, 1.9vw + 1rem, 2.6rem); line-height: 1.15; }
.review-lead blockquote p::before { content: "\201C"; }
.review-lead blockquote p::after { content: "\201D"; }
.review-side { display: grid; gap: var(--s5); align-content: start; }
.review-side .review { border-top: 1px solid rgb(20 36 58 / 0.15); padding-top: var(--s5); }
.text-link { font-weight: 700; text-underline-offset: 4px; }
@media (min-width: 900px) { .reviews-inner { grid-template-columns: 1.25fr 1fr; gap: var(--s9); align-items: start; } }

/* Areas */
.areas { padding: var(--s8) 0; }
.areas-inner { display: grid; gap: var(--s5); }
.areas p { margin-top: var(--s3); color: var(--muted); max-width: 30em; font-size: 1.1rem; }
.towns { list-style: none; padding: 0; columns: 2; column-gap: var(--s6); font-weight: 600; font-size: 1.08rem; }
.towns li { padding: var(--s3) 0; border-bottom: 1px solid var(--line-strong); break-inside: avoid; }
@media (min-width: 600px) { .towns { columns: 3; } }
@media (min-width: 900px) { .areas-inner { grid-template-columns: 1fr 1.3fr; gap: var(--s9); } }

/* Hero ground: the van driving along the road past a sign for each town.
   Speeds are set in app.js from data-speed so hills, castles, signs and road lines move as one scene. */
.road { position: relative; z-index: 1; height: 178px; overflow: hidden; background: linear-gradient(180deg, #7DAA35 0%, #739F30 100%); }
.road-signs { position: absolute; left: 0; right: 0; bottom: 58px; overflow: hidden; }
.road-track { display: flex; align-items: flex-end; width: max-content; animation: roll 70s linear infinite; }
.sign { position: relative; flex: none; margin-right: 90px; padding-bottom: 40px; display: flex; flex-direction: column; align-items: center; }
.sign::after { content: ""; position: absolute; bottom: 0; width: 6px; height: 42px; background: linear-gradient(90deg, #9AA6B5, #6F7C8C); border-radius: 2px 2px 0 0; }
.sign b, .sign i { display: block; background: #1F6B3A; color: #fff; border: 3px solid #fff; outline: 2px solid #1F6B3A; font-style: normal; font-weight: 800; }
.sign b { padding: 6px 14px; border-radius: 6px 6px 0 0; font-size: 1.05rem; white-space: nowrap; box-shadow: 0 6px 10px rgb(20 36 58 / 0.18); }
.sign i { margin-top: -3px; padding: 2px 10px; border-radius: 0 0 6px 6px; color: #FFCB1F; font-size: 0.95rem; align-self: stretch; text-align: center; }
.sign b:only-child { border-radius: 6px; }
/* Grass verge, kerb, tarmac */
.road-surface { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(180deg, #555E6B 0%, #454D59 100%); border-top: 5px solid #B9C4CF; box-shadow: 0 -3px 0 #6F9A2E; }
.road-surface::after { content: ""; position: absolute; left: 0; right: 0; top: 25px; height: 5px;
  background: repeating-linear-gradient(90deg, #F4F4F0 0 44px, transparent 44px 88px); animation: lines 1.9s linear infinite; }
@keyframes lines { from { background-position: 0 0; } to { background-position: -88px 0; } }
.van { position: absolute; left: 8%; bottom: 6px; width: 210px; height: auto; z-index: 1; }
.van-body { animation: bump 0.9s ease-in-out infinite; }
.wheel { animation: spin 0.7s linear infinite; }
@keyframes bump { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .road { height: 124px; } .road-surface { height: 44px; } .road-surface::after { top: 17px; height: 4px; } .road-signs { bottom: 44px; }
  .sign { margin-right: 50px; padding-bottom: 22px; } .sign::after { height: 24px; width: 5px; } .sign b { font-size: 0.85rem; padding: 4px 10px; border-width: 2px; } .sign i { font-size: 0.78rem; padding: 1px 8px; border-width: 2px; }
  .van { width: 132px; left: 5%; bottom: 3px; } }
/* Taller phones have room for the big logo too */
@media (max-width: 760px) and (min-height: 780px) { .hero-logo img { width: 190px; } }
@media (prefers-reduced-motion: reduce) {
  .road-track, .road-surface::after, .van-body, .wheel { animation: none; }
}

/* Photo strip of real units */
.photo-strip { padding: var(--s7) 0; overflow: hidden; }
.strip-track { display: flex; width: max-content; animation: roll 120s linear infinite; }
.photo-strip:hover .strip-track, .photo-strip:focus-within .strip-track { animation-play-state: paused; }
.strip-track a { flex: none; width: 300px; margin-right: var(--s5); text-decoration: none; color: var(--ink); }
.strip-track img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow-2); }
.strip-track span { display: block; margin-top: var(--s2); font-weight: 700; }
@media (max-width: 599px) { .strip-track a { width: 220px; } .strip-track { animation-duration: 90s; } }
@media (prefers-reduced-motion: reduce) {
  .photo-strip { overflow-x: auto; }
  .strip-track { animation: none; }
  .strip-track a[aria-hidden] { display: none; }
}

/* How */
.how { padding: 0 0 var(--s8); }
.how-list { margin-top: var(--s6); display: grid; gap: var(--s4); }
.how-list > div { background: var(--white); border-radius: var(--r-md); padding: var(--s5); box-shadow: var(--shadow-1); }
.how-list dt { font-weight: 800; font-size: 1.08rem; }
.how-list dd { margin-top: var(--s2); color: var(--ink-2); }
@media (min-width: 760px) { .how-list { grid-template-columns: 1fr 1fr; gap: var(--s5); } }
@media (min-width: 1100px) { .how-list { grid-template-columns: repeat(3, 1fr); } }

/* Book */
.book { background: var(--band); color: var(--white); padding: var(--s8) 0 var(--s9); }
.book h2 { color: var(--yellow); }
.book-inner { display: grid; gap: var(--s6); }
.book-text p { margin-top: var(--s3); color: var(--on-band); max-width: 28em; font-size: 1.1rem; }
.contact-list { list-style: none; padding: 0; margin-top: var(--s6); display: grid; gap: var(--s4); }
.contact-list li { display: grid; padding-bottom: var(--s4); border-bottom: 1px solid rgb(255 255 255 / 0.14); }
.contact-list span { font-size: 0.85rem; color: var(--on-band-muted); }
.contact-list a { font-weight: 800; font-size: 1.2rem; text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) { .contact-list a:hover { text-decoration: underline; text-underline-offset: 5px; } }
.enquiry { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: var(--s5); display: grid; gap: var(--s4); box-shadow: var(--shadow-3); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.92rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: var(--s2) var(--s4);
  border: 1px solid #8C9BAD; border-radius: 10px; background: #FBFCFE;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--band); box-shadow: 0 0 0 3px rgb(29 74 120 / 0.2); background: var(--white); }
.enquiry .btn { min-height: 56px; }
.form-status { font-weight: 600; }
.form-status:empty { display: none; }
@media (min-width: 600px) { .enquiry { grid-template-columns: 1fr 1fr; padding: var(--s6); } .field-wide { grid-column: 1 / -1; } }
@media (min-width: 960px) { .book-inner { grid-template-columns: 1fr 1.4fr; gap: var(--s9); align-items: start; } }

/* Footer */
.site-footer { background: var(--band-deep); color: var(--on-band-muted); padding: var(--s8) 0 calc(var(--s5) + 72px); font-size: 0.95rem; }
.footer-inner { display: grid; gap: var(--s6); }
.footer-brand img { width: 96px; }
.footer-brand p { margin-top: var(--s3); max-width: 24em; }
.site-footer h3 { color: var(--white); font-size: 0.95rem; margin-bottom: var(--s2); }
.site-footer a { color: var(--on-band); text-decoration: none; line-height: 2; }
@media (hover: hover) { .site-footer a:hover { text-decoration: underline; } }
.footer-base { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid rgb(255 255 255 / 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); font-size: 0.88rem; }
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .site-footer { padding-bottom: var(--s5); }
}

/* Mobile bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--s2);
  padding: var(--s2) var(--s3) calc(var(--s2) + env(safe-area-inset-bottom));
  background: var(--white);
  box-shadow: 0 -4px 16px rgb(20 36 58 / 0.08);
}
.mobile-bar a { min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 800; text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.mobile-bar a.mobile-bar-primary { background: var(--yellow); box-shadow: none; }
.mobile-bar.is-hidden { display: none; }
@media (min-width: 720px) { .mobile-bar { display: none; } }

/* Inner pages (built by build.js) */
.card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 0.9rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 10px; color: var(--line-strong); }
.crumbs a { color: var(--ink-2); text-underline-offset: 3px; }
.page-head { background: var(--cream); padding: var(--s5) 0 var(--s7); }
.page-head-tight { padding-bottom: 0; }
.page-head h1, .product h1, .book-page h1 { font-family: "Archivo", var(--font-display); font-weight: 900; font-variation-settings: "wdth" 80; letter-spacing: -0.01em; color: var(--navy); font-size: clamp(2.2rem, 3vw + 1.2rem, 3.8rem); line-height: 1; margin-top: var(--s4); }
.page-lede { margin-top: var(--s4); max-width: 40rem; font-size: 1.15rem; color: var(--ink-2); }
.page-body { padding: var(--s7) 0 var(--s8); }
.other-cats { margin-top: var(--s8); }
.other-cats h2, .page-body .group-head h2 { font-size: 1.6rem; color: var(--navy); }
.other-cats .chips { margin-top: var(--s4); }
.other-cats .chip { text-decoration: none; }

.product { background: var(--cream); padding: var(--s5) 0 var(--s8); }
.product-inner { display: grid; gap: var(--s6); align-items: start; }
.product-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-2); }
.product h1 { margin-top: 0; }
.product-price { margin-top: var(--s3); font-size: 2rem; font-weight: 800; color: var(--navy); }
.product-price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.product-facts { margin-top: var(--s5); display: grid; border-top: 1px solid #EADFC8; }
.product-facts div { display: grid; grid-template-columns: 9.5rem 1fr; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid #EADFC8; }
.product-facts dt { font-weight: 800; }
.product-actions { margin-top: var(--s6); display: flex; flex-wrap: wrap; gap: var(--s3); }
.product-about { margin-top: var(--s6); display: grid; gap: var(--s3); color: var(--ink-2); max-width: 36rem; }
@media (min-width: 900px) { .product-inner { grid-template-columns: 1.15fr 1fr; gap: var(--s8); } }
@media (max-width: 559px) { .product-facts div { grid-template-columns: 1fr; gap: 2px; } .product-actions .btn { width: 100%; } }

.btn-ghost-ink { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line-strong); }

.cta-band { background: var(--navy); color: var(--cream); padding: var(--s8) 0; }
.cta-band-inner { display: grid; gap: var(--s5); align-items: center; }
.cta-band h2 { font-family: "Archivo", var(--font-display); font-weight: 900; font-variation-settings: "wdth" 80; font-size: clamp(2rem, 2vw + 1.2rem, 3rem); color: var(--yellow); }
.cta-band p { margin-top: var(--s2); max-width: 34rem; color: var(--on-band); }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
@media (min-width: 900px) { .cta-band-inner { grid-template-columns: 1fr auto; } }

.review-grid { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.review-card { margin: 0; background: var(--white); border-radius: var(--r-md); padding: var(--s5); box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: var(--s3); }
.stars { color: #F5A700; letter-spacing: 2px; font-size: 1.1rem; line-height: 1; }
.review-card blockquote { font-size: 1.05rem; color: var(--ink-2); }
.review-card figcaption { margin-top: auto; font-weight: 800; display: flex; flex-direction: column; }
.review-card figcaption span { font-weight: 400; font-size: 0.88rem; color: var(--muted); }

.gallery-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }

.prose { max-width: 44rem; }
.prose h2 { font-family: var(--font-body); font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-top: var(--s6); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: var(--s3); color: var(--ink-2); }

.book-page { padding-top: var(--s5); }
.book-page .crumbs ol { color: var(--on-band-muted); }
.book-page .crumbs a { color: var(--on-band); }
.book-page h1 { color: var(--yellow); margin-top: 0; }
.book-page .book-inner { margin-top: var(--s5); }

/* Home page category tiles (built by build.js) */
.types { padding: var(--s9) 0 var(--s6); text-align: center; }
.types h2, .hire .section-head h2 { font-size: clamp(2.2rem, 2.6vw + 1rem, 3.4rem); }
.types-lede { margin: var(--s3) auto 0; max-width: 36rem; color: var(--ink-2); font-size: 1.1rem; }
.type-grid { margin-top: var(--s7); display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); text-align: left; }
.type-tile { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--white); text-decoration: none; color: var(--navy); box-shadow: 0 2px 6px rgb(14 27 61 / 0.06), 0 18px 40px rgb(14 27 61 / 0.10); transition: transform 200ms ease, box-shadow 200ms ease; }
@media (hover: hover) { .type-tile:hover { transform: translateY(-3px); box-shadow: 0 2px 6px rgb(14 27 61 / 0.06), 0 24px 48px rgb(14 27 61 / 0.16); } }
.type-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.type-label { position: relative; flex: 1; display: block; padding: 18px 60px 18px 22px; font-size: 0.95rem; color: var(--ink-2); }
.type-label strong { display: block; font-family: var(--font-display); font-weight: 900; font-variation-settings: "wdth" 85; font-size: 1.45rem; line-height: 1.05; color: var(--navy); margin-bottom: 4px; }
.type-label::after { content: "→"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--cream); display: grid; place-items: center; font-weight: 800; }
@media (max-width: 900px) {
  .types { padding: var(--s8) 0 var(--s4); }
  .type-grid { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: var(--s6); }
  .type-label { padding: 12px 44px 12px 14px; font-size: 0.82rem; }
  .type-label strong { font-size: 1.1rem; }
  .type-label::after { width: 28px; height: 28px; right: 10px; }
}
.hire .section-head { max-width: none; text-align: center; }
.hire .section-head p { margin-left: auto; margin-right: auto; max-width: 36rem; }
@media (min-width: 720px) { .hire .chips { justify-content: center; } }
.page-head + .page-body { padding-top: 0; }   /* same cream now, so no gap between them */

/* Town pages and the areas hub (built by build.js) */
.towns a { text-underline-offset: 3px; }
.town-units { margin-top: var(--s7); }
.town-fit { margin-top: var(--s5); color: var(--muted); max-width: 44rem; }
.town-info { margin-top: var(--s7); }
.area-list { list-style: none; padding: 0; max-width: 44rem; border-top: 1px solid var(--line-strong); }
.area-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line-strong); }
.area-list a { font-weight: 800; font-size: 1.1rem; color: var(--navy); text-underline-offset: 3px; }
.area-list span { color: var(--muted); }
