/* The Otford Boarding Kennels — site stylesheet
   One file for every page. Colours and type live in the :root tokens below. */

/* Fonts: self-hosted (open licence), latin subset. Variable files cover every weight used. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("fonts/cormorant-garamond.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/lora.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/lora-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --green: #3d4832;
  --green-deep: #2e3727;
  --green-line: rgba(255, 255, 255, 0.14);
  --cream: #f4f0e7;
  --paper: #fbf9f4;
  --gold: #d9ab4f;
  --rust: #a64a2b;
  --ink: #2c2e25;
  --muted: #5f5e53;
  --line: #dcd5c6;
  --on-green: #f4f0e7;
  --on-green-muted: rgba(244, 240, 231, 0.8);

  --display: "Cormorant Garamond", "Iowan Old Style", Garamond, Georgia, serif;
  --body: "Lora", Georgia, "Times New Roman", serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(56px, 8vw, 96px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a[href^="tel:"], .nowrap { white-space: nowrap; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.1; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
/* gold ring where the background is green */
.site-header :focus-visible, .on-green :focus-visible, .site-footer :focus-visible, .aside-card :focus-visible, .call-bar :focus-visible { outline-color: var(--gold); }
.calc :focus-visible { outline-color: var(--green); }
/* keep focused items clear of the sticky header (and the phone call bar) */
html { scroll-padding-top: calc(var(--header-h) + 16px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--paper); color: var(--ink); padding: 8px 14px; z-index: 100;
}
.skip:focus { left: 8px; }

/* ---------- Small type pieces ---------- */

.eyebrow {
  display: block;
  margin: 0 0 14px;
  font-family: var(--body);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.on-green .eyebrow { color: var(--on-green-muted); }

.lead { font-size: 1.02rem; color: var(--ink); max-width: 34em; }
.on-green .lead { color: var(--on-green); }

.small { font-size: 0.92rem; color: var(--muted); }

.text-link {
  font-size: 0.95rem;
  color: var(--rust);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.text-link:hover { color: var(--ink); }

/* Links inside text: rust on light backgrounds, gold on green */
main p a:not(.btn):not(.big):not(.call-link):not(.book-phone),
main li a:not(.btn) { color: var(--rust); text-underline-offset: 3px; }
main p a:not(.btn):hover { color: var(--ink); }
main .on-green p a:not(.btn):not(.big):not(.call-link):not(.book-phone), .aside-card a:not(.phone) { color: var(--gold); }
main .on-green p a:not(.btn):not(.big):not(.call-link):not(.book-phone):hover, .aside-card a:not(.phone):hover { color: var(--on-green); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: transparent;
  font-family: var(--body);
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.btn-quiet { color: var(--ink); border-color: #9c9787; }
.btn-quiet:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-gold { color: var(--gold); font-weight: 600; font-size: 0.95rem; }
.btn-call { min-height: 48px; gap: 10px; background: var(--green); border-color: var(--green); color: var(--on-green); }
.btn-call strong { color: var(--gold); font-weight: 600; font-size: 1.05em; }
.btn-call:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn-gold:hover { background: var(--gold); color: var(--green-deep); }
.btn-gold small { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.16em; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--green);
  color: var(--on-green);
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--header-h);
}
.brand {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.brand span { display: inline; }
.site-header .brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { flex: none; width: 30px; height: 29px; color: var(--gold); }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav a {
  white-space: nowrap;
  font-size: 0.85rem;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

.menu-btn {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--on-green);
  cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; position: relative;
  width: 22px; height: 1.5px; margin: 0 auto;
  background: currentColor;
  transition: transform .2s, background-color .2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Home: hero ---------- */

.hero { padding-block: var(--section) calc(var(--section) * 0.8); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-areas:
    "head  photo"
    "body  photo"
    "stats photo";
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(32px, 6vw, 72px);
}
.hero-head { grid-area: head; }
.hero-body { grid-area: body; }
.hero-body p { margin-bottom: 36px; }
.hero-photo { grid-area: photo; align-self: start; margin-top: 30px; }
.hero-stats { grid-area: stats; align-self: end; }

.hero h1 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.9rem, 6.4vw, 4.9rem);
  line-height: 1;
  color: var(--green);
  margin-bottom: 28px;
}
.hero-body p { max-width: 28em; }

.call-link {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin: 10px 0 40px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--gold);
  text-decoration: none;
}
.call-link small { font-size: 0.8rem; letter-spacing: 0.16em; color: var(--muted); }
.call-link strong { font-size: 1.35rem; font-weight: 600; color: var(--rust); }
.call-link:hover strong { color: var(--ink); }

.photo-frame {
  background: #fff;
  padding: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 12px 32px -12px rgba(46,55,39,.28);
}
.photo-frame img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.stats div { margin: 0; }
.stats dt { font-family: var(--display); font-size: 1.26rem; font-weight: 600; line-height: 1.2; }
.stats dd { margin: 3px 0 0; font-size: 0.85rem; color: var(--muted); }

/* ---------- Home: trust points ---------- */

.trust { padding-block: 0 var(--section); }
.trust-inner { padding-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(24px, 4vw, 56px); }
.trust-h { font-family: var(--display); font-size: 1.45rem; font-weight: 600; color: var(--green); margin-bottom: 8px; }
.trust-grid p { margin: 0; font-size: 0.95rem; color: var(--ink); }
.trust-more { margin: 28px 0 0; }

/* ---------- Home: reviews row ---------- */

.reviews { padding-block: 8px 56px; overflow: hidden; }
/* Home: drop offs flows straight into the reviews */
.visit.visit-home { padding-bottom: clamp(28px, 4vw, 40px); }
.reviews .section-title { color: var(--green); margin-bottom: 0; }
.reviews-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.reviews-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border: 1px solid #9c9787; border-radius: 3px; background: transparent; font: inherit; font-size: 0.85rem; color: var(--ink); cursor: pointer; }
.reviews-toggle[hidden] { display: none; }
.reviews-toggle:hover { border-color: var(--ink); }
.rt-icon { width: 10px; height: 11px; border-left: 3px solid var(--green); border-right: 3px solid var(--green); }
.reviews-toggle[aria-pressed="true"] .rt-icon { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--green); }
.reviews-track.is-stopped { animation-play-state: paused !important; }
.reviews-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 4px 0 12px; }
.reviews-viewport:focus-visible { outline-offset: -2px; }
.reviews-track { display: flex; gap: 0; width: max-content; padding-inline: var(--gutter); }
.review {
  width: min(330px, 80vw);
  margin: 0;
  padding: 4px 32px;
  border-left: 1px solid var(--line);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.review .stars { color: var(--gold); letter-spacing: 0.14em; font-size: 0.8rem; }
.review blockquote { margin: 0; flex: 1; font-family: var(--display); font-style: italic; font-size: 1.15rem; line-height: 1.45; color: var(--ink); }
.review blockquote::before,
.review blockquote::after { font-size: 1.35em; line-height: 0; vertical-align: -0.12em; color: var(--gold); font-style: normal; }
.review blockquote::before { content: "\201C"; margin-right: 2px; }
.review blockquote::after { content: "\201D"; margin-left: 2px; }
.review figcaption { margin: 4px 0 0; font-size: 0.85rem; font-style: normal; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); }
.review figcaption span { display: block; margin-top: 1px; font-size: 0.78rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.reviews-more { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 18px 0 0; }
.btn-star { color: var(--gold); }

/* moving version: the track holds two copies of the cards and drifts right by one copy */
.reviews-viewport.is-moving { overflow: hidden; scroll-snap-type: none; }
.reviews-track.is-moving { gap: 0; padding-inline: 0; animation: reviews-drift 70s linear infinite; }
.reviews-track.is-moving .review { margin-right: 0; }
.reviews-viewport:hover .reviews-track,
.reviews-viewport:focus-within .reviews-track,
.reviews-track.is-paused { animation-play-state: paused; }
@keyframes reviews-drift { from { transform: translateX(-50%); } to { transform: translateX(0); } }


/* ---------- Prices (dark section) ---------- */

.on-green { background: var(--green); color: var(--on-green); }

.prices { padding-block: var(--section); }
.prices-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.prices h1, .prices h2, .section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  margin-bottom: 12px;
}
.prices .lead { font-size: 0.98rem; margin-bottom: 26px; }

.price-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--green-line); }
.price-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--green-line);
  transition: color .2s;
}
.price-list .who { font-size: 1.02rem; margin-right: auto; }
.price-list .who small { display: block; margin-top: 2px; font-size: 0.85rem; color: var(--on-green-muted); }
.price-list .ex { font-size: 0.82rem; color: var(--on-green-muted); letter-spacing: 0.04em; }
.price-list .inc { font-size: 1.45rem; font-weight: 600; color: var(--gold); min-width: 4.2em; text-align: right; }

.price-notes { margin-top: 20px; font-size: 0.95rem; color: var(--on-green-muted); }
.price-notes a { color: var(--gold); }
/* Home: price list on its own, centred in the green section */
/* Prices page: calculator sits level with the middle of the price column */
.prices-grid > .calc { align-self: center; }
.prices-solo { grid-template-columns: minmax(0, 1fr); max-width: calc(760px + 2 * var(--gutter)); }
.prices-solo .eyebrow, .prices-solo h2, .prices-solo .lead, .prices-solo .price-notes { text-align: center; }
.prices-solo .lead { margin-left: auto; margin-right: auto; }

/* Calculator card */
.calc {
  background: var(--paper);
  color: var(--ink);
  border-radius: 4px;
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 18px 40px -20px rgba(0,0,0,.45);
}
.calc h3, .calc .calc-title { font-family: var(--display); font-size: 1.6rem; font-weight: 500; margin-bottom: 18px; color: var(--ink); }
.calc p { font-size: 0.92rem; color: var(--muted); }
.calc .label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.calc fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #a9a495; border-radius: 3px; overflow: hidden; }
.segmented button {
  min-height: 44px;
  padding: 6px 8px;
  border: 0;
  border-left: 1px solid #a9a495;
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.25;
  color: var(--ink);
  cursor: pointer;
}
.segmented button:first-child { border-left: 0; }
.segmented button:hover { background: #efe9dc; }
.segmented button[aria-pressed="true"] { background: var(--green); color: var(--on-green); }

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
}
.stepper button {
  width: 40px; height: 40px;
  border: 1px solid #8f8a7b;
  border-radius: 3px;
  background: transparent;
  font: inherit;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}
.stepper button:hover { background: var(--ink); color: var(--paper); }
.stepper button:disabled { opacity: .35; cursor: default; background: transparent; color: var(--ink); }
.stepper output { font-family: var(--body); font-size: 1.45rem; font-weight: 600; }
.calc .calc-hint { margin: 8px 0 0; font-size: 0.85rem; }

.calc-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 6px 0 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.calc-total .sum { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.calc-total output { font-size: clamp(1.8rem, 3.4vw, 2.2rem); font-weight: 600; color: var(--rust); letter-spacing: 0.02em; line-height: 1; }

/* Prices page: "Included in every stay" on its own */
.included > p { max-width: 46em; }
/* Prices page: "Included" and the terms share one centred reading column */
.reading-col { max-width: calc(780px + 2 * var(--gutter)); }
.reading-col > p, .reading-col .prose { max-width: none; }
/* desktop: tighter gap between "Included in every stay" and the terms */
@media (min-width: 821px) {
  .visit.included-section { padding-bottom: 40px; }
  .hero { padding-bottom: 36px; }
  .trust-inner { padding-top: 40px; }
  .trust { padding-bottom: 48px; }
  .trust + .prices { padding-top: 64px; }
  .included-section + .more-info { padding-top: 48px; }
}
.included-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin: 8px 0 0; }
.book-phone {
  display: block;
  margin: 4px 0 20px;
  font-size: clamp(1.8rem, 3.4vw, 2.2rem);
  font-weight: 600;
  color: var(--rust);
  text-decoration: none;
  white-space: nowrap;
}
.book-phone:hover { color: var(--ink); }
.calc .btn { width: 100%; }

/* ---------- Visit / map section ---------- */

.visit { padding-block: var(--section); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.statement {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 28px;
}
.statement strong { color: var(--rust); font-weight: 600; font-family: var(--body); font-size: 0.85em; }
.visit .small { max-width: 32em; }
.visit-note { display: flex; align-items: baseline; gap: 14px; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); max-width: 32em; }
.visit-note strong { flex: none; font-size: 0.8rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.map {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: repeating-linear-gradient(135deg, #efe8d7 0 14px, #f6f1e6 14px 28px);
  overflow: hidden;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}
.map-caption h3 { font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
.map-caption p { margin: 0; font-size: 0.88rem; color: var(--muted); }

/* ---------- Photo banner & tours ---------- */

.banner { height: clamp(180px, 24vw, 300px); overflow: hidden; }
.banner picture, .banner img { display: block; width: 100%; height: 100%; }
.banner img { object-fit: cover; object-position: center 55%; }

.tours { padding-block: var(--section); }
.tours-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.tours-head .section-title { margin: 0; color: var(--ink); }
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.tour-grid figure { margin: 0; }
.tour-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
figcaption { margin-top: 8px; font-size: 0.88rem; font-style: italic; color: var(--muted); }

/* ---------- Inner pages ---------- */

.page-head { padding-block: clamp(48px, 7vw, 80px) clamp(28px, 4vw, 40px); }
.page-head h1,
.prices h1.page-title {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(2.6rem, 5.6vw, 4rem);
  line-height: 1.02;
  color: var(--green);
  margin-bottom: 18px;
}
.page-head .lead { margin: 0; }
.prices h1.page-title { color: var(--on-green); }

.page-body { padding-bottom: var(--section); }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 72px); align-items: start; }

.prose { max-width: 40em; border-top: 1px solid var(--line); }
.prose section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.prose h2 { font-family: var(--display); font-size: 1.65rem; font-weight: 600; margin-bottom: 10px; color: var(--green); }
.prose p:last-child { margin-bottom: 0; }

.notice {
  margin: 0 0 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--rust);
  background: var(--paper);
  font-size: 0.95rem;
}
.notice strong { color: var(--rust); }

.aside-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--green);
  color: var(--on-green);
  padding: 26px;
  border-radius: 4px;
}
.aside-card h2 { font-family: var(--display); font-size: 1.6rem; margin-bottom: 8px; }
.aside-card p { font-size: 0.95rem; color: var(--on-green-muted); }
.aside-card .phone { display: block; margin: 6px 0 18px; font-size: 1.5rem; font-weight: 600; color: var(--gold); text-decoration: none; }
.aside-card dl { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--green-line); font-size: 0.92rem; }
.aside-card dt { color: var(--on-green-muted); font-size: 0.8rem; letter-spacing: .14em; text-transform: uppercase; }
.aside-card dd { margin: 2px 0 12px; }
.aside-photo { margin-top: 20px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 24px; }
.card h2 { font-family: var(--display); font-size: 1.45rem; font-weight: 600; margin-bottom: 6px; color: var(--green); }
.card .price { font-size: 1.35rem; font-weight: 600; color: var(--rust); margin: 8px 0 0; }
.card a { color: var(--rust); }
.card p.small a, .aside-link { display: inline-block; padding: 8px 0; }
.card .big { font-size: 1.3rem; font-weight: 600; text-decoration: none; overflow-wrap: break-word; }

/* ---------- Gallery ---------- */

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.gallery-grid a { display: block; text-decoration: none; cursor: zoom-in; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: opacity .2s; }
.gallery-grid a:hover img { opacity: .88; }

.lightbox {
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: rgba(20, 22, 17, 0.94);
  color: #fff;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(20, 22, 17, 0.94); }
.lightbox figure { margin: 0; padding: 56px 16px 24px; text-align: center; }
.lightbox img { max-width: min(92vw, 1400px); max-height: calc(100vh - 140px); width: auto; margin: 0 auto; }
.lightbox figcaption { color: rgba(255,255,255,.8); font-size: .9rem; }
.lightbox button {
  position: absolute;
  width: 48px; height: 48px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Before you book: checklist ---------- */

.checklist { max-width: 40em; margin: 0 0 32px; padding: 22px 24px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 4px; }
.checklist h2 { font-family: var(--display); font-size: 1.4rem; font-weight: 600; color: var(--green); margin-bottom: 12px; }
.checklist ul { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 30px; line-height: 1.5; }
.checklist li + li { margin-top: 10px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 600; font-size: 1.05em; }

/* ---------- Directions ---------- */

.directions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.directions h2 { font-family: var(--display); font-size: 1.45rem; font-weight: 600; color: var(--green); margin-bottom: 8px; }

/* ---------- Merged sections (Prices: terms · Contact: find us) ---------- */

[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

.more-info, .find-us { padding-block: var(--section); border-top: 1px solid var(--line); }
.more-info .section-title, .find-us .section-title { margin-bottom: 18px; }
.more-info .prose { border-top: 0; }
.more-info .prose section:first-child { padding-top: 0; }
.find-us .lead { margin-bottom: 24px; }
.contact-body { padding-bottom: clamp(28px, 4vw, 44px); }
.find-us { padding-top: clamp(32px, 5vw, 56px); }
.find-us .map { width: 100%; aspect-ratio: 16 / 7; }
.prose .cards { margin-top: 16px; }

/* ---------- Booking prompt at the end of a page ---------- */

.cta-band { background: var(--paper); border-top: 1px solid var(--line); padding-block: clamp(40px, 6vw, 64px); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-inner .section-title { color: var(--green); margin-bottom: 6px; }
.cta-inner p { margin: 0; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.cta-actions .book-phone { margin: 0; }

/* ---------- Footer ---------- */

.site-footer { background: var(--green-deep); color: var(--on-green); padding-block: 48px 32px; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 32px 48px; }
.site-footer .brand { display: inline-block; padding: 8px 0; font-size: 0.9rem; white-space: normal; }
.site-footer p { margin: 8px 0 0; font-size: 0.88rem; line-height: 1.6; color: var(--on-green-muted); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.foot-h {
  margin-bottom: 12px;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-green-muted);
}
.foot-cols ul { list-style: none; margin: 0; padding: 0; font-size: 0.95rem; }
.foot-cols li + li { margin-top: 2px; }
.foot-cols a { display: inline-block; padding: 7px 0; text-decoration: none; }
.foot-cols a:hover { color: var(--gold); }
.foot-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  padding-top: 22px;
  border-top: 1px solid var(--green-line);
}
.site-footer .foot-legal { margin: 0; }

/* Designer credit, drawn in the site's brass */
.credit { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: none; opacity: 0.9; }
.credit-mark { width: 20px; height: auto; }
.credit-rule { width: 76px; height: 1px; margin-top: 2px; background: linear-gradient(90deg, transparent, rgba(217, 171, 79, 0.75), transparent); }
.credit-by, .credit-name {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.credit-by { font-size: 0.5rem; letter-spacing: 0.28em; color: var(--on-green-muted); }
.credit-name { font-size: 0.66rem; letter-spacing: 0.2em; color: var(--on-green); }

/* Sticky call bar, phones only */
.call-bar { display: none; }

/* ---------- Tablet & phone ---------- */

/* Seven tabs + phone button need ~1180px; below that the menu folds into the menu button */
@media (max-width: 1180px) {
  .site-header .wrap { flex-wrap: wrap; gap: 12px 24px; }
  .js .menu-btn { display: block; order: 2; margin-left: 0; }
  .site-header .btn-gold { order: 1; margin-left: auto; }
  .nav { flex-basis: 100%; order: 3; }
  .js .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--green);
    border-top: 1px solid var(--green-line);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 16px 24px -12px rgba(0,0,0,.4);
  }
  .js .nav[hidden] { display: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--green-line); }
  .nav a { display: block; padding: 14px 0; font-size: 1rem; border: 0; }
}

/* Pieces shown only once the sidebar stacks (phones and small tablets) */
.phone-only { display: none; }
.page-photo { margin-top: 24px; max-width: 520px; }
.page-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 35%; }

@media (max-width: 900px) {
  .page-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  /* the sidebar box is replaced by the shared booking strip at the end of the page */
  .page-grid > .aside-card { display: none; }
  .phone-only { display: block; }
  .directions { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }

  .brand { font-size: 0.82rem; line-height: 1.35; }
  .brand span { display: block; }

  .site-header .btn-gold { display: none; }
  .js .menu-btn { margin-left: auto; }

  .hero { padding-block: 24px 40px; }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "body" "photo" "stats";
    grid-template-rows: auto;
  }
  .hero h1 { font-size: clamp(2.6rem, 12.5vw, 3.2rem); margin-bottom: 14px; }
  /* phones: the opening block is centred, like the facts row below it */
  body { font-size: 1.0625rem; }
  .hero-head { text-align: center; }
  /* one divider between the facts row and the trust points, not two */
  .hero { padding-bottom: 0; }
  .hero .hero-stats { margin-bottom: 0; }
  .trust-inner { border-top: 0; padding-top: 32px; }
  .book-card, .map-caption { text-align: center; }
  /* page titles and booking strips centred on every tab */
  .page-head, .prices .eyebrow, .prices h1, .cta-inner { text-align: center; }
  .page-photo { margin-left: auto; margin-right: auto; }
  .cta-inner { flex-direction: column; align-items: center; }
  .cta-actions { justify-content: center; }
  .hide-phone { display: none; }
  .hero .eyebrow { margin-bottom: 6px; }
  .photo-frame { padding: 6px; }
  .hero-body p { margin-bottom: 20px; }
  .hero-stats { margin: 18px 0 24px; }
  .stats { grid-template-columns: 1.15fr 1fr 1fr; gap: 0; padding: 0; border-bottom: 1px solid var(--line); }
  .stats div { padding: 12px 6px; border-left: 1px solid var(--line); text-align: center; }
  .stats div:first-child { border-left: 0; }
  .stats dt { font-size: 1.02rem; line-height: 1.25; }
  .stats dd { font-size: 0.82rem; }
  .call-link { margin-bottom: 0; }

  .prices-grid, .visit-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .map-caption { flex-direction: column; align-items: stretch; }
  .find-us .map { aspect-ratio: 4 / 3; }
  .map-caption .btn { width: 100%; min-height: 48px; }
  .hero-photo { margin-top: 0; }
  /* phones: before-VAT price sits under the total, right-aligned */
  .price-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "who inc" "who ex";
    column-gap: 16px;
    row-gap: 4px;
    align-items: start;
  }
  .price-list .who { grid-area: who; }
  .price-list .inc { grid-area: inc; min-width: 0; line-height: 1.1; }
  .price-list .ex { grid-area: ex; text-align: right; white-space: nowrap; }
  .price-list .inc { font-size: 1.5rem; }

  .tour-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tour-grid li:first-child { grid-column: 1 / -1; }
  .tours-head { flex-wrap: wrap; }

  .site-footer .wrap { grid-template-columns: 1fr; }
  /* phones: Visit and Prices & booking side by side, Contact as its own row below; all centred */
  .foot-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "visit prices" "contact contact";
    gap: 24px 24px;
    text-align: center;
  }
  .foot-cols > div:nth-child(1) { grid-area: visit; }
  .foot-cols > div:nth-child(2) { grid-area: prices; }
  /* Contact gets its own centred row under a divider */
  .foot-cols > div:nth-child(3) { grid-area: contact; padding-top: 20px; border-top: 1px solid var(--green-line); }

  /* phones: smaller, quieter credit centred under the copyright line */
  .foot-bottom { flex-direction: column; align-items: stretch; gap: 20px; }
  .site-footer .foot-legal { text-align: center; }
  .legal-sep { display: none; }
  .legal-licence { display: block; margin-top: 4px; }
  .credit { align-self: center; gap: 3px; opacity: 0.85; }
  .credit-mark { width: 13px; }
  .credit-rule { width: 46px; }
  .credit-by { font-size: 0.4rem; }
  .credit-name { font-size: 0.52rem; letter-spacing: 0.18em; }

  .call-bar {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--green-deep);
    box-shadow: 0 -8px 24px -8px rgba(0,0,0,.35);
  }
  .call-bar a {
    display: flex; align-items: baseline; justify-content: center; gap: 12px;
    min-height: 48px; padding: 10px;
    border: 1px solid var(--gold);
    border-radius: 3px;
    color: var(--gold);
    text-decoration: none;
  }
  .call-bar small { font-size: 0.8rem; letter-spacing: 0.16em; }
  .call-bar strong { font-size: 1.15rem; font-weight: 600; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .gallery-grid figcaption { font-size: 0.82rem; margin-top: 6px; }
}

/* Very small phones (e.g. 320px wide) */
@media (max-width: 360px) {
  .eyebrow-sep { display: none; }
  .foot-h { font-size: 0.72rem; letter-spacing: 0.08em; white-space: nowrap; }
  .eyebrow-place { display: block; margin-top: 2px; }
  .stats dt { font-size: 0.9rem; }
  .stats dd { font-size: 0.8rem; }
  .stats div { padding: 10px 4px; }
}

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