/* ===== Discover Lanesborough — styles =====
   Palette: lough water, peat, reed gold, bog-cotton white */
:root {
  --lough: #3A2342;
  --lough-deep: #261629;
  --lough-light: #2C6E91;
  --peat: #1F3328;
  --reed: #F2B632;
  --reed-dark: #B9821A;
  --cotton: #FBFAF7;
  --mist: #EEF2F6;
  --ink: #1E1B22;
  --muted: #5B5663;
  --line: #DCD8E2;

  --serif: "Bricolage Grotesque", "Trebuchet MS", "Segoe UI", sans-serif;
  --sans: "Figtree", "Segoe UI", Arial, sans-serif;

  --wrap: 1180px;
  --radius-s: 4px;
  --radius-l: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cotton);
}
img { max-width: 100%; display: block; }
a { color: var(--lough); }
a:hover { color: var(--reed-dark); }
:focus-visible { outline: 3px solid var(--reed); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--reed); color: var(--peat); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

/* Buttons */
.btn {
  display: inline-block; font: 700 1rem var(--sans); padding: .75rem 1.3rem;
  border-radius: var(--radius-s); border: 2px solid transparent; cursor: pointer; text-decoration: none;
}
.btn-gold { background: var(--reed); color: var(--peat); }
.btn-gold:hover { background: #F6C95C; color: var(--peat); }
.btn-outline { border-color: currentColor; color: inherit; background: none; }
.btn-outline-light { border-color: var(--cotton); color: var(--cotton); background: none; }

/* Top bar */
.topbar { background: var(--lough-deep); font-size: .9rem; }
.topbar-inner { display: flex; gap: 1.5rem; justify-content: flex-end; padding-top: .35rem; padding-bottom: .35rem; }
.topbar a { color: var(--mist); text-decoration: none; }
.topbar a:hover { color: var(--reed); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--lough); color: var(--cotton); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.logo { display: flex; align-items: baseline; gap: .45rem; color: var(--cotton); text-decoration: none; }
.logo-visit { font-size: .95rem; color: var(--reed); }
.logo-name { font-family: var(--serif); font-size: 1.65rem; letter-spacing: -.01em; }
.logo:hover { color: var(--cotton); }

.nav > ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a, .nav button {
  display: block; padding: .6rem .9rem; color: var(--cotton); text-decoration: none;
  font: 700 1rem var(--sans); background: none; border: 0; cursor: pointer; border-radius: var(--radius-s);
}
.nav > ul > li > a:hover, .nav button:hover, .nav button[aria-expanded="true"] { background: var(--lough-deep); color: var(--cotton); }
.has-sub { position: relative; }
.has-sub > button::after { content: ""; display: inline-block; margin-left: .4rem; border: 5px solid transparent; border-top-color: var(--reed); transform: translateY(3px); }
.sub {
  display: none; position: absolute; top: 100%; left: 0; min-width: 230px; list-style: none; margin: 0; padding: .4rem;
  background: var(--cotton); border-radius: 0 0 var(--radius-s) var(--radius-s); box-shadow: 0 12px 24px rgba(38,22,41,.25);
}
.sub a { color: var(--ink); font-weight: 400; }
.sub a:hover { background: var(--mist); color: var(--lough); }
.has-sub.open .sub { display: block; }
.menu-toggle { display: none; }

/* Hero */
.hero { background: var(--lough-light); color: var(--cotton); position: relative; padding-top: clamp(3rem, 8vw, 6.5rem); }
.hero-text { max-width: 900px; margin-left: max(1.25rem, calc((100vw - var(--wrap)) / 2 + 1.25rem)); padding: 0 1.25rem 0 0; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); letter-spacing: -.02em; max-width: 14ch; }
.lede { font-size: 1.2rem; max-width: 56ch; color: var(--mist); }
.hero-art { display: block; width: 100%; height: clamp(160px, 22vw, 320px); margin-top: 1.5rem; }
@media (prefers-reduced-motion: no-preference) {
  .ripple { animation: drift 9s ease-in-out infinite alternate; }
  .r2 { animation-duration: 12s; }
  .r3 { animation-duration: 15s; }
  @keyframes drift { from { transform: translateX(0); } to { transform: translateX(-40px); } }
}

/* Finder */
.finder {
  display: grid; grid-template-columns: 2fr 1.3fr auto; gap: 1rem; align-items: end;
  background: var(--cotton); color: var(--ink); padding: 1.25rem; border-radius: var(--radius-l);
  position: relative; margin-top: -3.5rem; box-shadow: 0 16px 40px rgba(38,22,41,.25);
}
.finder label span { display: block; font-size: .9rem; font-weight: 700; margin-bottom: .3rem; color: var(--muted); }
.finder input, .finder select, .newsletter-form input[type=email] {
  width: 100%; font: 1rem var(--sans); padding: .75rem .9rem; border: 2px solid var(--line);
  border-radius: var(--radius-s); background: #fff; color: var(--ink);
}
.finder input:focus, .finder select:focus { border-color: var(--lough); outline: none; }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-mist { background: var(--mist); }
.section-peat { background: var(--peat); color: var(--cotton); }
.section-peat .section-head p { color: #D5E2D8; }
.hero + .section { padding-top: clamp(4rem, 8vw, 6.5rem); }
.section-head { max-width: 60ch; margin-bottom: 2rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.chip {
  font: 700 .95rem var(--sans); padding: .45rem .95rem; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--lough); background: transparent; color: var(--lough);
}
.chip[aria-pressed="true"] { background: var(--lough); color: var(--cotton); }
.filters-dark .chip { border-color: var(--reed); color: var(--reed); }
.filters-dark .chip[aria-pressed="true"] { background: var(--reed); color: var(--peat); }
.result-count { color: var(--muted); font-size: .95rem; margin: 0 0 1.25rem; }

/* Listing grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.75rem 1.5rem; }
.listing { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-l); overflow: hidden; color: var(--ink); }
.section-peat .listing { background: #2C4538; color: var(--cotton); }
.listing-art { aspect-ratio: 16 / 10; position: relative; }
.listing-art img, .listing-art svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.listing-cat {
  position: absolute; left: .75rem; bottom: .75rem; font-size: .85rem; font-weight: 700;
  background: var(--cotton); color: var(--ink); padding: .2rem .6rem; border-radius: var(--radius-s);
}
.listing-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.listing h3 { margin-bottom: .35rem; }
.listing p { margin: 0 0 .9rem; font-size: 1rem; }
.listing-meta { font-size: .92rem; color: var(--muted); margin-top: auto; }
.section-peat .listing-meta { color: #D5E2D8; }
.listing-more {
  align-self: flex-start; margin-top: .8rem; font: 700 .95rem var(--sans); background: none; border: 0; padding: 0;
  color: var(--lough); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.section-peat .listing-more { color: var(--reed); }

/* Events */
.events { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--line); }
.event { display: grid; grid-template-columns: 5.5rem 1fr auto; gap: 1.5rem; align-items: center; padding: 1.4rem 0; border-bottom: 2px solid var(--line); }
.event-date { text-align: center; background: var(--lough); color: var(--cotton); border-radius: var(--radius-s); padding: .5rem 0; }
.event-date .m { display: block; font-size: .9rem; color: var(--reed); font-weight: 700; }
.event-date .d { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1.1; }
.event h3 { margin-bottom: .2rem; }
.event-info { color: var(--muted); font-size: .97rem; margin: 0; }
.event-price { font-weight: 700; margin-right: 1rem; }
.empty { color: var(--muted); }

/* Map */
.map-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 2.5rem; align-items: start; }
.map-copy p { color: var(--muted); }
.map-frame { border-radius: var(--radius-l); overflow: hidden; border: 3px solid var(--lough); }
#leaflet-map { height: 520px; background: var(--mist); }
.legend { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .45rem; }
.legend li { display: flex; align-items: center; gap: .6rem; font-size: .97rem; }
.legend span { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.leaflet-popup-content { font-family: var(--sans); font-size: .95rem; }
.leaflet-popup-content strong { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; display: block; margin-bottom: .2rem; }

/* Getting here */
.travel { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; margin-bottom: 2.5rem; }
.travel h3 { color: var(--lough); }
.travel p { margin: 0; }
.table-scroll { overflow-x: auto; }
.distances { border-collapse: collapse; width: 100%; max-width: 640px; background: #fff; border-radius: var(--radius-l); overflow: hidden; }
.distances caption { text-align: left; font-family: var(--serif); font-size: 1.3rem; padding-bottom: .6rem; }
.distances th, .distances td { text-align: left; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
.distances thead th { background: var(--lough); color: var(--cotton); }

/* News */
.news { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; }
.news-lead { background: var(--lough); color: var(--cotton); border-radius: var(--radius-l); padding: 2rem; display: flex; flex-direction: column; }
.news-lead h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.news-lead a { color: var(--reed); }
.news-lead time, .news-item time { font-size: .92rem; font-weight: 700; }
.news-lead time { color: var(--reed); }
.news-lead p { color: var(--mist); }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-item { padding: 1.1rem 0; border-bottom: 2px solid var(--line); }
.news-item:first-child { padding-top: 0; }
.news-item time { color: var(--reed-dark); }
.news-item h3 { font-size: 1.15rem; margin: .2rem 0 .3rem; }
.news-item h3 a { color: var(--ink); text-decoration: none; }
.news-item h3 a:hover { color: var(--lough); text-decoration: underline; }
.news-item p { margin: 0; font-size: .97rem; color: var(--muted); }
.news-source { font-size: .9rem; margin-top: auto; padding-top: 1rem; }

/* Guides */
.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.guide { background: #fff; border-radius: var(--radius-l); overflow: hidden; display: flex; flex-direction: column; }
.guide .listing-art { aspect-ratio: 16 / 9; }
.guide-body { padding: 1.2rem 1.3rem 1.4rem; }
.guide-body p { color: var(--muted); margin: 0 0 .8rem; }

/* Newsletter */
.newsletter { background: var(--reed); color: var(--peat); padding: 3rem 0; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: center; }
.newsletter h2 { margin-bottom: .2rem; }
.newsletter p { margin: 0; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: .75rem; }
.newsletter-form input[type=email] { border-color: var(--peat); }
.consent { grid-column: 1 / -1; font-size: .95rem; display: flex; gap: .5rem; align-items: center; }
.consent a { color: var(--peat); }
.newsletter .btn-gold { background: var(--peat); color: var(--cotton); }
.form-msg { grid-column: 1 / -1; font-weight: 700; min-height: 1.4em; }

/* Footer */
.site-footer { background: var(--lough-deep); color: var(--mist); padding: 3.5rem 0 1.5rem; }
.site-footer a { color: var(--cotton); }
.site-footer a:hover { color: var(--reed); }
.site-footer h3 { color: var(--cotton); font-size: 1.15rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 2rem; }
.logo-footer { margin: 0 0 .5rem; }
.tagline { color: var(--mist); }
address { font-style: normal; margin-bottom: .6rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--lough-light); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .92rem; }
.footer-base p { margin: 0; }
.social { display: flex; gap: 1.25rem; }

/* Detail dialog */
.detail { border: 0; border-radius: var(--radius-l); padding: 0; width: min(680px, 92vw); max-height: 88vh; color: var(--ink); }
.detail::backdrop { background: rgba(38,22,41,.6); }
.detail-close { position: absolute; top: .6rem; right: .6rem; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cotton); font-size: 1.6rem; cursor: pointer; }
.detail .listing-art { aspect-ratio: 16 / 7; }
.detail-inner { padding: 1.5rem 1.75rem 2rem; }
.detail-inner dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 1rem 0; }
.detail-inner dt { font-weight: 700; }
.detail-inner dd { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.tags li { background: var(--mist); padding: .15rem .6rem; border-radius: 999px; font-size: .88rem; }

/* Cookie banner */
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90; max-width: 560px;
  background: var(--peat); color: var(--cotton); padding: 1.2rem 1.4rem; border-radius: var(--radius-l);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.cookie p { margin: 0 0 .9rem; }
.cookie div { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 900px) {
  .menu-toggle {
    display: block; font: 700 1rem var(--sans); background: var(--lough-deep); color: var(--cotton);
    border: 2px solid var(--reed); border-radius: var(--radius-s); padding: .5rem 1rem; cursor: pointer;
  }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--lough); padding: .5rem 1rem 1.25rem; max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; }
  .sub { position: static; box-shadow: none; background: var(--lough-deep); border-radius: var(--radius-s); }
  .sub a { color: var(--cotton); }
  .sub a:hover { background: var(--lough-light); color: var(--cotton); }
  .finder { grid-template-columns: 1fr; margin-left: 1rem; margin-right: 1rem; }
  .map-layout, .news, .newsletter-inner { grid-template-columns: 1fr; }
  #leaflet-map { height: 400px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .topbar-inner { justify-content: space-between; gap: .5rem; font-size: .82rem; }
  .event { grid-template-columns: 4.5rem 1fr; }
  .event > .event-actions { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { grid-template-columns: 1fr; }
}

/* Community links under the news */
.community { margin-top: 2.5rem; }
.community h3 { font-size: 1.3rem; }
.community-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.community-link { display: block; padding: 1.1rem 1.25rem; border: 2px solid var(--lough); border-radius: var(--radius-l); text-decoration: none; color: var(--ink); background: #fff; }
.community-link strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--lough); }
.community-link span { color: var(--muted); font-size: .97rem; }
.community-link:hover { border-color: var(--reed); background: var(--mist); }

/* Instagram feed */
.insta-head { max-width: none; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: flex-end; justify-content: space-between; }
.insta-head > div { max-width: 60ch; }
.insta-handle { font-weight: 700; }
.insta-follow { display: inline-flex; align-items: center; gap: .5rem; color: var(--lough); }
.insta-follow svg { width: 20px; height: 20px; }
.insta-feed { width: 100%; }
.insta-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.insta-tile { aspect-ratio: 1; border-radius: var(--radius-s); overflow: hidden; }
.insta-placeholder { display: grid; place-items: center; color: rgba(246,248,246,.7); }
.insta-placeholder svg { width: 34px; height: 34px; }
.insta-placeholder.t0 { background: linear-gradient(160deg, var(--lough-light), var(--lough-deep)); }
.insta-placeholder.t1 { background: linear-gradient(160deg, #2C6E91, var(--lough-deep)); }
.insta-placeholder.t2 { background: linear-gradient(160deg, var(--reed-dark), var(--peat)); }
.insta-note { color: var(--muted); font-size: .95rem; margin-top: .9rem; }
.insta-feed #sb_instagram, .insta-feed .sbi { padding: 0 !important; }
@media (max-width: 560px) { .insta-grid { gap: .35rem; } }

/* Photo credits */
.photo-credit { position: absolute; right: .5rem; top: .5rem; max-width: 70%; font-size: .72rem; line-height: 1.3; background: rgba(38,22,41,.75); color: #fff; padding: .15rem .45rem; border-radius: var(--radius-s); }

/* Things to do / see split */
.link-btn { background: none; border: 0; padding: 0; font: 700 1em var(--sans); color: var(--lough); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.events-add { margin-top: 1.5rem; color: var(--muted); }

/* Card actions + short previews */
.listing-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .8rem; }
.listing-actions .listing-more { margin-top: 0; }
.btn-small { padding: .45rem .9rem; font-size: .92rem; text-decoration: none; }
.section-peat .btn-small { color: var(--peat); }

/* Place pages */
.listing-link { color: inherit; text-decoration: none; }
.listing-link:hover { text-decoration: underline; color: inherit; }
a.listing-more { display: inline-block; }
.place-lede { font-size: 1.15rem; color: var(--muted); margin-top: 0; }
.place-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 2rem; }
.place-actions .btn { text-decoration: none; }
.place-faq, .place-nearby { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 2px solid var(--line); }
.place-faq h3 { font-size: 1.15rem; margin: 1.25rem 0 .3rem; }
.place-faq p { margin: 0; }
.place-nearby ul { list-style: none; padding: 0; margin: 0; }
.place-nearby li { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.place-nearby li a { font-weight: 700; }
.place-nearby li span { color: var(--muted); font-size: .95rem; }
.back-link { margin-top: 2.5rem; }

.detail-about p { margin: 0 0 .8rem; }

/* Typography: Bricolage Grotesque headings, Figtree body */
h1, h2, h3, .logo-name, .community-link strong, .leaflet-popup-content strong, .distances caption, .event-date .d { font-weight: 700; letter-spacing: -0.02em; }
.hero h1 { letter-spacing: -0.035em; line-height: 1.02; }
.logo-visit { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; }
body { font-size: 1.05rem; }

.hero h1 { max-width: 18ch; text-wrap: balance; }

/* Desktop: show the section links directly; the drop-down menu is for phones and tablets */
.nav-desktop ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-desktop a { display: block; padding: .55rem .8rem; border-radius: var(--radius-s); color: var(--cotton); text-decoration: none; font-weight: 700; font-size: .98rem; white-space: nowrap; }
.nav-desktop a:hover { background: var(--lough-deep); color: var(--cotton); }
.nav-desktop a[aria-current="true"] { box-shadow: inset 0 -3px 0 var(--reed); border-radius: 0; }
@media (min-width: 901px) { .nav { display: none; } }
@media (max-width: 1100px) and (min-width: 901px) { .nav-desktop a { padding: .5rem .55rem; font-size: .93rem; } }
@media (max-width: 900px) { .nav-desktop { display: none; } }

/* Visitor essentials */
.essentials { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.essential { background: var(--mist); border-radius: var(--radius-l); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; }
.section-mist .essential { background: #fff; }
.ess-kind { align-self: flex-start; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--lough); background: rgba(58,35,66,.08); padding: .15rem .55rem; border-radius: 999px; margin-bottom: .5rem; }
.essential h3 { font-size: 1.15rem; margin: 0 0 .3rem; }
.essential p { margin: 0 0 .4rem; font-size: .97rem; }
.essential .ess-where { color: var(--muted); font-size: .9rem; }
.ess-actions { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: auto; padding-top: .4rem; }
.ess-actions a { font-weight: 700; font-size: .93rem; }

/* Phones: show the first three cards, fade the fourth, and offer "View all" */
.view-more { display: none; }
@media (max-width: 640px) {
  .collapsible.is-collapsed > :nth-child(n+5) { display: none; }
  .collapsible.is-collapsed > :nth-child(4) {
    max-height: 150px; overflow: hidden; cursor: pointer;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 55%, transparent 100%);
            mask-image: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 55%, transparent 100%);
  }
  .view-more {
    display: flex; align-items: center; justify-content: center; gap: .4rem;
    position: relative; z-index: 2; width: 100%; margin: -2.75rem 0 0; padding: .85rem 1rem;
    font: 700 1rem var(--sans); color: var(--cotton); background: var(--lough);
    border: 0; border-radius: 999px; cursor: pointer; box-shadow: 0 8px 20px rgba(38,22,41,.25);
  }
  .view-more[hidden] { display: none; }
  .view-more[aria-expanded="true"] { margin-top: 1.25rem; background: transparent; color: var(--lough); box-shadow: inset 0 0 0 2px var(--lough); }
  .section-peat .view-more { background: var(--reed); color: var(--peat); }
  .section-peat .view-more[aria-expanded="true"] { background: transparent; color: var(--reed); box-shadow: inset 0 0 0 2px var(--reed); }
}

/* Footer without the contact column */
.footer-grid { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Headings: capitalise every word */
h1, h2, h3, .distances caption { text-transform: capitalize; }

/* Headline: clearer, easier-to-read font */
.hero h1 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: 16ch; }
.lede { font-size: 1.25rem; line-height: 1.6; max-width: 52ch; }

/* Hero illustration: keep its shape on every screen size */
.hero-art { height: clamp(190px, 26vw, 380px); }

@media (max-width: 640px) {
  .hero-art { height: 200px; margin-top: .5rem; }
  .finder { margin-top: -1.25rem; }
}

/* Birds flap their wings (skipped for people who prefer less motion) */
@media (prefers-reduced-motion: no-preference) {
  .birds path { transform-box: fill-box; transform-origin: center; animation: bird-flap .7s ease-in-out infinite alternate; }
  .birds path:nth-child(2n) { animation-duration: .85s; animation-delay: -.3s; }
  .birds path:nth-child(3n) { animation-duration: .6s; animation-delay: -.5s; }
  @keyframes bird-flap { from { transform: scaleY(1); } to { transform: scaleY(.35); } }
}

/* Sunset sky: JavaScript moves these colours from sunset to night as you scroll */
.hero {
  --sky1: #2B2F63; --sky2: #7A4A82; --sky3: #F08A5D; --sky4: #FFC46B; --stars: 0;
  position: relative;
  background: linear-gradient(180deg, var(--sky1) 0%, var(--sky2) 48%, var(--sky3) 76%, var(--sky4) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--stars);
  background-image: radial-gradient(1.5px 1.2px at 52% 44%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 70% 9%, #fff 50%, transparent 52%), radial-gradient(1.5px 2px at 9% 35%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 13% 30%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.2px at 32% 8%, #fff 50%, transparent 52%), radial-gradient(2px 1.5px at 9% 55%, #fff 50%, transparent 52%), radial-gradient(2px 1.2px at 30% 43%, #fff 50%, transparent 52%), radial-gradient(2px 2px at 9% 39%, #fff 50%, transparent 52%), radial-gradient(2px 1.5px at 8% 17%, #fff 50%, transparent 52%), radial-gradient(1.2px 2px at 19% 21%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.2px at 71% 10%, #fff 50%, transparent 52%), radial-gradient(2px 1.5px at 73% 55%, #fff 50%, transparent 52%), radial-gradient(2px 1.2px at 15% 40%, #fff 50%, transparent 52%), radial-gradient(2px 2px at 26% 26%, #fff 50%, transparent 52%), radial-gradient(1.2px 2px at 93% 7%, #fff 50%, transparent 52%), radial-gradient(2px 1.2px at 81% 16%, #fff 50%, transparent 52%), radial-gradient(1.5px 2px at 70% 30%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 76% 32%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 33% 53%, #fff 50%, transparent 52%), radial-gradient(1.2px 2px at 33% 8%, #fff 50%, transparent 52%), radial-gradient(2px 1.5px at 69% 34%, #fff 50%, transparent 52%), radial-gradient(1.5px 2px at 59% 21%, #fff 50%, transparent 52%), radial-gradient(2px 1.2px at 17% 35%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.2px at 98% 24%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.5px at 55% 5%, #fff 50%, transparent 52%), radial-gradient(2px 1.2px at 73% 39%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 90% 25%, #fff 50%, transparent 52%), radial-gradient(2px 1.5px at 76% 54%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.2px at 13% 20%, #fff 50%, transparent 52%), radial-gradient(1.5px 2px at 87% 7%, #fff 50%, transparent 52%), radial-gradient(1.2px 2px at 91% 22%, #fff 50%, transparent 52%), radial-gradient(2px 2px at 89% 55%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 93% 27%, #fff 50%, transparent 52%), radial-gradient(2px 1.5px at 4% 32%, #fff 50%, transparent 52%);
}
.hero > * { position: relative; }
.hero .lede { color: #F3EEF6; }

/* Below the picture (behind the search box) shows lake water, not sky */
.hero { background-color: #163C52; background-repeat: no-repeat; background-size: 100% calc(100% - var(--below, 80px)); }
