/* Affluxi proof of concept. Hand-written CSS, no framework.
   Palette lock: off-black brand spine (their logo is black) + one saturated accent (petrol).
   Shape lock: 10px radius everywhere, 999px for pills only.
   Theme lock: light only, whatever the device is set to. The dark footer band is a brand device. */

:root {
  color-scheme: light only;
  --ink: #131316;
  --ink-2: #3A3C42;
  --ink-3: #6E717A;
  --paper: #ffffff;
  --surface: #F3F3F1;
  --surface-2: #E9E9E5;
  --line: #E0E0DC;
  --accent: #0F5257;
  --accent-2: #0B3E42;
  --accent-tint: #E7F0F0;
  --focus: #0F5257;
  --r: 10px;
  --shell: 1280px;
  --pad: clamp(20px, 5vw, 48px);
  --sp-section: clamp(56px, 8vw, 104px);
  /* set by build/assets/fonts-<pairing>.css */
  --font-display: ui-sans-serif, system-ui, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, sans-serif;
  --shadow: 0 1px 2px rgba(19,19,22,.04), 0 12px 32px -12px rgba(19,19,22,.14);
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.022em; line-height: 1.08; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--sp-section); }
.tint { background: var(--surface); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--paper); padding: 10px 16px; border-radius: var(--r); box-shadow: var(--shadow); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700;
  font-size: 19px; letter-spacing: .19em; text-decoration: none; text-transform: uppercase; line-height: 1; }
.brand img { width: 26px; height: 26px; object-fit: contain; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { text-decoration: none; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; transition: color .18s; padding: 12px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
@media (max-width: 900px) { .nav-links .opt { display: none; } .nav-in { gap: 16px; } }
@media (max-width: 560px) {
  .nav-in { height: 60px; gap: 10px; }
  .brand { font-size: 15px; letter-spacing: .14em; gap: 7px; }
  .brand img { width: 22px; height: 22px; }
  .nav-links { gap: 15px; }
  .nav-links a { font-size: 13.5px; }
}
/* very narrow: brand goes to the mark alone so every link still fits */
@media (max-width: 560px) {
  .nav-in { gap: 8px; }
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .brand img { width: 24px; height: 24px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 13px; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 22px; border-radius: var(--r); border: 1px solid transparent; text-decoration: none; cursor: pointer;
  transition: background .18s, border-color .18s, transform .12s, color .18s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-ghost:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(660px, 78dvh); display: grid; align-items: end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,13,.50) 0%, rgba(10,12,13,.22) 26%, rgba(10,12,13,.62) 62%, rgba(10,12,13,.84) 100%); }
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,12,13,.58) 0%, rgba(10,12,13,.20) 46%, rgba(10,12,13,0) 72%); }
.hero-in { position: relative; z-index: 2; padding-block: 40px 52px; color: #fff; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); width: 100%; }
.hero h1 { font-size: clamp(32px, 4.9vw, 58px); max-width: 21ch; color: #fff; text-wrap: balance; }
.hero p { margin-top: 16px; max-width: 46ch; font-size: clamp(16px, 1.5vw, 18.5px); color: rgba(255,255,255,.9); }
.hero-credit { position: absolute; right: var(--pad); bottom: 12px; font-size: 11.5px; color: rgba(255,255,255,.6); }

/* ---------- search ---------- */
.searchbar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px; }
.hero .searchbar { margin-top: 30px; }
@media (max-width: 620px) {
  .hero { min-height: 0; }
  .hero-in { padding-block: 34px 26px; }
  .hero .searchbar { margin-top: 22px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(10,12,13,.56) 0%, rgba(10,12,13,.42) 30%, rgba(10,12,13,.78) 70%, rgba(10,12,13,.9) 100%); }
  .hero-credit { position: static; display: block; margin-top: 10px; text-align: right; }
}
.search-grid { display: grid; gap: 10px; grid-template-columns: 1.4fr 1fr 1fr .9fr auto; align-items: end; }
@media (max-width: 940px) { .search-grid { grid-template-columns: 1fr 1fr; } .search-grid .go { grid-column: 1 / -1; } }
@media (max-width: 620px) {
  .search-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .search-grid .field:first-child, .search-grid .go { grid-column: 1 / -1; }
  .searchbar { padding: 12px; }
  .field select, .field input { height: 44px; font-size: 15px; }
}
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.field select, .field input { font-family: var(--font-body); font-size: 15px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; width: 100%; min-width: 0; height: 46px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field input[type="date"] { padding-right: 10px; }
/* iPhone and iPad Safari: date inputs ignore width (pushing past their column) and show nothing
   when empty. .ios and .date-wrap are added by site.js on iOS only; other browsers keep their
   native dd/mm/yyyy field. */
.ios .field input[type="date"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; max-width: 100%; text-align: left; line-height: 20px; }
.ios .field input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.date-wrap { position: relative; display: block; min-width: 0; }
.date-wrap[data-empty]::after { content: "Add date"; position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  font-size: 15px; color: var(--ink-3); pointer-events: none; }
.field select:hover, .field input:hover { border-color: var(--ink-3); }
.go .btn { width: 100%; height: 46px; }

/* ---------- section headers ---------- */
.sec-head { display: grid; gap: 12px; margin-bottom: 34px; max-width: 62ch; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.sec-head p { color: var(--ink-2); font-size: 17px; }
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }

/* ---------- property cards ---------- */
.cards { display: grid; gap: 26px 22px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; gap: 24px; } }
.card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.card-media { position: relative; border-radius: var(--r); overflow: hidden; background: var(--surface-2); aspect-ratio: 4 / 3; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.card:hover .card-media img { transform: scale(1.035); }
.card h3 { font-size: 18.5px; letter-spacing: -0.015em; line-height: 1.22; }
.card:hover h3 { color: var(--accent); }
.card-place { font-size: 13.5px; color: var(--ink-3); }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.ic { width: 1em; height: 1em; fill: currentColor; flex: none; }
.card-meta .ic { color: var(--ink-3); width: 15px; height: 15px; margin-right: 5px; vertical-align: -2px; }

/* featured: first card spans two columns on desktop */
.cards-feature { grid-template-columns: repeat(3, 1fr); }
.cards-feature > .card:first-child { grid-column: span 2; grid-row: span 2; }
.cards-feature > .card:first-child .card-media { aspect-ratio: auto; flex: 1 1 auto; min-height: 440px; }
.cards-feature > .card:first-child h3 { font-size: 26px; }
@media (max-width: 980px) { .cards-feature { grid-template-columns: repeat(2, 1fr); } .cards-feature > .card:first-child { grid-column: span 2; grid-row: auto; } .cards-feature > .card:first-child .card-media { aspect-ratio: 16/10; min-height: 0; } }
@media (max-width: 640px) { .cards-feature { grid-template-columns: 1fr; } .cards-feature > .card:first-child { grid-column: auto; } .cards-feature > .card:first-child h3 { font-size: 20px; } }

/* ---------- locations ---------- */
.places { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .places { grid-template-columns: repeat(2, 1fr); } }
.place { position: relative; border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 3 / 4; display: block; }
.place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.place::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,13,0) 38%, rgba(10,12,13,.76) 100%); }
.place:hover img { transform: scale(1.05); }
.place-in { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; }
.place-in strong { font-family: var(--font-display); font-size: 19px; font-weight: 600; display: block; }
.place-in span { font-size: 13px; color: rgba(255,255,255,.78); }
.places-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .places-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .places-3 { grid-template-columns: 1fr; } .places-3 .place { aspect-ratio: 16 / 10; } }
.place-wide { aspect-ratio: 16 / 10; grid-column: span 2; }
@media (max-width: 900px) { .place-wide { grid-column: span 2; aspect-ratio: 16/9; } }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-media { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; background: var(--surface-2); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 16px; }
.split p { color: var(--ink-2); font-size: 17px; max-width: 52ch; }
.split .btn { margin-top: 26px; }

/* ---------- points (no cards) ---------- */
.points { display: grid; gap: 34px 48px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .points { grid-template-columns: 1fr; gap: 26px; } }
.point h3 { font-size: 19px; margin-bottom: 8px; }
.point p { color: var(--ink-2); font-size: 15.8px; max-width: 46ch; }
.point .ic { color: var(--accent); width: 24px; height: 24px; display: block; margin-bottom: 12px; }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 30px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat strong { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); font-weight: 600; display: block; letter-spacing: -0.03em; }
.stat span { font-size: 14px; color: var(--ink-3); }

/* ---------- property detail ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; border-radius: var(--r); overflow: hidden; aspect-ratio: 21/9; }
.gallery button { display: block; padding: 0; border: 0; overflow: hidden; background: var(--surface-2);
  position: relative; cursor: pointer; }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.gallery button:hover img { transform: scale(1.04); }
.gallery button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.gallery-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10,12,13,.5); color: #fff; font-weight: 600; font-size: 14px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; aspect-ratio: 4/3; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; }
  .gallery button:nth-child(n+4) { display: none; }
  .gallery button:nth-child(3) .gallery-more { display: grid; } }

.detail { display: grid; grid-template-columns: minmax(0,1fr) 372px; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 980px) { .detail { grid-template-columns: 1fr; } }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 18px 0; border-block: 1px solid var(--line); font-size: 15.5px; }
.facts b { font-weight: 600; }
.facts .ic { color: var(--accent); width: 19px; height: 19px; vertical-align: -4px; margin-right: 7px; }
.prose { font-size: 17px; color: var(--ink-2); }
.prose h3 { font-size: 20px; color: var(--ink); margin: 30px 0 12px; }
.prose p { margin-bottom: 14px; max-width: 64ch; }
.prose ul { margin: 0 0 16px; padding-left: 20px; }
.prose li { margin-bottom: 5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip .ic { width: 14px; height: 14px; vertical-align: -2px; }
.chip { font-size: 13.5px; padding: 7px 13px; border-radius: 999px; background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); }
.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
.room { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.room strong { display: block; font-size: 14.5px; }
.room span { font-size: 13.5px; color: var(--ink-3); }

.bookcard { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); background: var(--paper); display: grid; gap: 14px; }
.bookcard h3 { font-size: 19px; }
.bookcard .note { font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.bookcard .dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* booking card + location map stick together in the sidebar */
.side-stick { position: sticky; top: 88px; display: grid; gap: 16px; }
.maptile { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.maptile-map { position: relative; display: block; aspect-ratio: 8 / 5; background: var(--surface); }
.maptile-map img { width: 100%; height: 100%; object-fit: cover; }
.maptile-pin { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff;
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 22%, transparent), 0 2px 6px rgba(19,19,22,.35); }
.maptile-open { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600;
  padding: 5px 11px 5px 8px; border-radius: 999px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.maptile-open .ic { width: 14px; height: 14px; color: var(--accent); }
.maptile-map:hover .maptile-open { color: var(--accent); }
.maptile-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding: 12px 16px; font-size: 13.5px; color: var(--ink-3); }
.maptile-foot strong { color: var(--ink); font-weight: 600; }
/* map credits sit on the map itself, small and light, so the footer stays clean */
.maptile-media { position: relative; }
.maptile-credit { position: absolute; right: 0; top: 0; font-size: 10px; line-height: 1.4; padding: 2px 7px;
  color: #5b5e66; background: rgba(255, 255, 255, .78); border-bottom-left-radius: 6px; }
.maptile-credit a { color: inherit; text-decoration: none; }
.maptile-credit a:hover { text-decoration: underline; }
@media (max-width: 980px) { .side-stick { position: static; } }

/* guest ratings (only rendered at 4.0 and above) */
.stars::before { content: "\2605"; color: var(--accent); margin-right: 4px; }
.stars b { color: var(--ink); font-weight: 600; }
.rating-line { font-size: 15px; color: var(--ink-3); margin: -10px 0 20px; }
.rating-line a { color: inherit; text-decoration: none; }
.rating-line a:hover { color: var(--accent); }
/* the two-column ratings grid must not prop the detail column open on phones */
.detail > * { min-width: 0; }
.ratings { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 12px 32px; max-width: 660px; }
.rating-row { display: grid; grid-template-columns: 104px 1fr 30px; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink-2); }
.rating-row b { text-align: right; color: var(--ink); font-weight: 600; }
.rating-bar { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.rating-bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }

/* ---------- cookie consent + footer legal links ----------
   Reject and Accept are the same size and weight: refusing must be as easy as agreeing. */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 90; width: min(440px, calc(100vw - 32px)); display: grid; gap: 14px;
  padding: 18px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 16px 44px -14px rgba(19,19,22,.38); }
.consent p { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.consent p strong { display: block; font-family: var(--font-display); font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.consent a { color: var(--accent); }
.consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-reject { background: var(--paper); color: var(--ink); border: 1px solid var(--ink); }
.consent-reject:hover { background: var(--surface); }
.foot-legal { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-legal button { font: inherit; font-size: 13px; color: #8C9095; background: none; border: 0; padding: 0; cursor: pointer; }
.foot-legal button:hover { color: #fff; }
.foot-legal a, .foot-legal button { padding: 6px 0; }

/* ---------- filters / results ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.result-count { font-size: 14.5px; color: var(--ink-3); margin: 22px 0 20px; }
.empty { border: 1px dashed var(--line); border-radius: var(--r); padding: 48px 24px; text-align: center; }
.empty h3 { font-size: 20px; margin-bottom: 8px; }
.empty p { color: var(--ink-3); margin-bottom: 20px; }

/* ---------- footer ---------- */
/* no margin here: every section already carries its own padding-block, and a margin
   on a white body left a blank band between the last tinted section and the footer */
.foot { background: #121316; color: #E7E7E4; padding-block: 56px 32px; }
.foot li, .foot a { color: #B9BCC0; text-decoration: none; font-size: 14.5px; line-height: 1.5; }
.foot a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot h4 { font-size: 14px; letter-spacing: 0; color: #8C9095; margin-bottom: 12px; font-family: var(--font-body); font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
/* bigger finger targets on the footer link lists, same visual rhythm (social icons keep their own size) */
.foot-grid ul:not(.foot-social) { gap: 1px; }
.foot-grid ul:not(.foot-social) a { display: inline-block; padding: 4px 0; }
.foot .brand { color: #fff; }
.foot-note { margin-top: 42px; padding-top: 22px; border-top: 1px solid #2A2C31; font-size: 13px; color: #8C9095;
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: baseline; }
.foot-note a { font-size: 13px; color: #8C9095; }
.foot-note a:hover { color: #fff; }
.foot-note-end { margin-left: auto; }
/* phones: just the copyright line (company details stay on the privacy and terms pages) */
@media (max-width: 620px) { .foot-reg { display: none; } }
@media (max-width: 620px) { .foot-note-end { margin-left: 0; } }
.foot-social { display: flex !important; gap: 10px; margin-top: 20px !important; }
.foot-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid #2A2C31; color: #B9BCC0; transition: background .16s, color .16s, border-color .16s; }
.foot-social a:hover { background: #fff; color: #121316; border-color: #fff; }
.foot-social .ic { width: 19px; height: 19px; }

/* ---------- reveal (motivated: sequences the page as you scroll, nothing decorative) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
  .js .reveal.in { opacity: 1; transform: none; }
}

.poc-flag { background: #0F5257; color: #fff; font-size: 13px; padding: 8px var(--pad); text-align: center;
  display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; justify-content: center; }
.poc-flag a { color: #fff; }
.poc-type { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 11.5px;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.poc-type button { font: inherit; letter-spacing: 0; text-transform: none; font-size: 12.5px;
  color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  padding: 4px 10px; border-radius: 999px; cursor: pointer; transition: background .16s, color .16s; }
.poc-type button:hover { background: rgba(255,255,255,.24); }
.poc-type button[aria-current] { background: #fff; color: #0F5257; border-color: #fff; font-weight: 600; }

/* ---------- UK map ---------- */
.ukmap { width: 100%; height: auto; display: block; }
.ukmap-land path { stroke-linejoin: round; }
.ukmap-gb path { fill: var(--surface-2); stroke: var(--line); stroke-width: .7; }
.ukmap-ie path { fill: none; stroke: var(--line); stroke-width: .8; opacity: .55; }
.ukmap-labels text { font-family: var(--font-body); font-size: 13.5px; font-weight: 500; fill: var(--ink-2); }
.pin-halo { fill: var(--accent); opacity: .13; }
.pin-dot { fill: var(--accent); }
.pin-num { font-family: var(--font-body); font-size: 11.5px; font-weight: 600; fill: #fff; }
.pin[data-href] { cursor: pointer; }
.pin .pin-halo, .pin .pin-dot { transition: opacity .18s; }
.pin[data-href]:hover .pin-halo { opacity: .3; }
.pin[data-href]:focus-visible { outline: none; }
.pin[data-href]:focus-visible .pin-halo { opacity: .42; }

.mapsplit { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .mapsplit { grid-template-columns: 1fr; gap: 32px; } }
.mapsplit-map { max-width: 480px; margin-inline: auto; width: 100%; }
.mapwide { max-width: 620px; margin: 4px auto 48px; }

.townlist { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 26px; }
@media (max-width: 560px) { .townlist { grid-template-columns: 1fr; } }
.townlist a { display: flex; align-items: center; gap: 13px; text-decoration: none; padding: 9px 0; border-bottom: 1px solid var(--line); }
.townlist a:hover strong { color: var(--accent); }
.townlist-n { flex: none; width: 30px; height: 30px; border-radius: 999px; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.townlist strong { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.townlist small { display: block; font-size: 12.5px; color: var(--ink-3); }

/* ---------- enquiry form ---------- */
.enquiry { display: grid; gap: 16px; max-width: 620px; }
.enquiry-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .enquiry-row { grid-template-columns: 1fr; } }
.enquiry textarea { font-family: var(--font-body); font-size: 15px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r); padding: 12px; width: 100%; resize: vertical; }
.enquiry textarea:hover { border-color: var(--ink-3); }
.enquiry textarea::placeholder { color: var(--ink-3); }
.enquiry button { justify-self: start; }


/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 80; background: #0b0d0e;
  backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px);
  display: grid; grid-template-columns: 64px minmax(0,1fr) 64px; grid-template-rows: 56px minmax(0,1fr) auto;
  align-items: center; }
.lb[hidden] { display: none; }
.lb-bar { grid-column: 1 / -1; grid-row: 1; display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px 0 22px; }
.lb-count { color: rgba(255,255,255,.7); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.lb-btn { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff;
  width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; cursor: pointer;
  transition: background .16s, transform .12s; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-btn:active { transform: scale(.94); }
.lb-btn .ic { width: 20px; height: 20px; }
.lb-prev { grid-column: 1; grid-row: 2; justify-self: center; }
.lb-next { grid-column: 3; grid-row: 2; justify-self: center; }
.lb-stage { grid-column: 2; grid-row: 2; display: grid; place-items: center; min-height: 0; height: 100%; padding: 4px 0 12px; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border-radius: 6px; box-shadow: 0 24px 70px rgba(0,0,0,.5); }
.lb-strip { grid-column: 1 / -1; grid-row: 3; display: flex; gap: 8px; overflow-x: auto; padding: 12px 22px 18px;
  scrollbar-width: thin; scroll-snap-type: x proximity; }
.lb-thumb { flex: none; width: 92px; height: 62px; padding: 0; border: 2px solid transparent; border-radius: 6px;
  overflow: hidden; background: none; cursor: pointer; opacity: .5; transition: opacity .16s, border-color .16s;
  scroll-snap-align: center; }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-thumb:hover { opacity: .85; }
.lb-thumb[aria-current] { opacity: 1; border-color: #fff; }
.lb-btn:focus-visible, .lb-thumb:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 700px) {
  .lb { grid-template-columns: 1fr; grid-template-rows: 50px minmax(0,1fr) auto; }
  .lb-stage { padding: 0 0 4px; }
  .lb-prev, .lb-next { grid-row: 2; align-self: end; margin-bottom: 8px; }
  .lb-prev { grid-column: 1; justify-self: start; margin-left: 14px; }
  .lb-next { grid-column: 1; justify-self: end; margin-right: 14px; }
  .lb-stage { grid-column: 1; }
  .lb-strip { padding: 8px 14px 14px; }
  .lb-thumb { width: 68px; height: 48px; }
}

.gallery-more { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 6px;
  background: rgba(10,12,13,.52); color: #fff; font-weight: 600; font-size: 14px; }
.gallery-more .ic { width: 22px; height: 22px; }


/* ---------- rotating hero ---------- */
.hero-slide { position: absolute; inset: 0; opacity: 0; animation: heroCycle 28s linear infinite; }
.hero-slide img, .hero-slide picture { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes heroCycle {
  0%    { opacity: 1; }
  21.4% { opacity: 1; }
  25%   { opacity: 0; }
  96.4% { opacity: 0; }
  100%  { opacity: 1; }
}
.hero-credit { display: grid; }
.hero-cred { grid-area: 1 / 1; font-weight: inherit; opacity: 0; animation: heroCycle 28s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-cred { animation: none; opacity: 0; }
  .hero-slide[data-first], .hero-cred:first-child { opacity: 1; }
}

/* ---------- search transition ----------
   Only plays when a search is run. Leaving: the cover fades up and the mark's bars rise left to right, then breathe if the
   next page is slow. Arriving: the bars retract upwards and the cover lifts off the page.
   Brand black in both themes. Without JS or with reduced motion it never shows. */
.pt { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #0b0c0e; color: #fff; pointer-events: none; visibility: hidden; }
.pt-mark { height: 64px; width: auto; overflow: visible; }
.pt-mark path { fill: currentColor; transform-box: fill-box; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .pt-leave .pt { visibility: visible; pointer-events: auto; animation: ptIn .2s ease-out both; }
  .pt-leave .pt-mark path {
    animation: ptRise .3s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 12ms) both,
               ptBreathe 1.1s ease-in-out calc(.6s + var(--i) * 45ms) infinite;
  }
  .pt-arrive .pt { visibility: visible; animation: ptLift .46s cubic-bezier(.7, 0, .2, 1) .28s both; }
  .pt-arrive .pt-mark path { transform-origin: 50% 0; animation: ptRetract .3s cubic-bezier(.6, 0, .4, 1) calc(60ms + var(--i) * 12ms) both; }
}
@keyframes ptIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ptRise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ptBreathe { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes ptRetract { from { transform: scaleY(1); } to { transform: scaleY(0); } }
@keyframes ptLift { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }
