/*
 * Beachy web: guides index, place guides, beach pages.
 * One stylesheet, no inline styles, no script needed. Mobile first;
 * the one layout breakpoint is 760px, plus 1080px for the widest grids.
 *
 * Tokens match the app (src/design_system/tokens.ts) and site.css.
 * Sea is the one accent; amber only for small marks; light mode only.
 */

/*
 * Copied from the "Beachy Guides" design canvas (project/beachy-web.css,
 * https://claude.ai/artifact/5mp9HiYeLJEZJuxzrVfVZj) with three additions: the
 * self-hosted fonts below, the same rules as site.css, and at the end the
 * static world map's Mapbox logo (2026-11-02) and the lists' real photos
 * (2026-11-03). Keep the rest identical to the canvas, so a change can go
 * both ways by copying the file.
 */

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/newsreader-normal-latin.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: 'Newsreader';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/newsreader-normal-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/newsreader-italic-latin.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: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/newsreader-italic-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-normal-latin.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: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-normal-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}


:root {
  color-scheme: light;

  /* Colour */
  --shell: #fbf7ef;
  --sand: #f3eada;
  --sand-2: #e9ddc6;
  --cream: #fffdf8;
  --ink: #1c1a17;
  --ink-2: #4a463f;
  --ink-3: #6a645b;
  --line: rgb(28 26 23 / 10%);
  --sea: #3f7a8c;
  --sea-deep: #2f6070;
  --sea-ink: #356b7c; /* sea for text under 24px: 5.5:1 on shell, 5.0:1 on sand */
  --sea-soft: #d6e5ea;
  --amber: #e3a857;

  /* Type */
  --serif: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Inter', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-display: clamp(46px, calc(2.1rem + 3.9vw), 90px);
  --fs-title: clamp(42px, calc(1.9rem + 3.2vw), 76px);
  --fs-h2: clamp(32px, calc(1.5rem + 1.5vw), 46px);
  --fs-h3: clamp(20px, calc(1.1rem + 0.35vw), 23px);
  --fs-stand: clamp(21px, calc(1.05rem + 0.75vw), 28px);
  --fs-lead: clamp(15px, calc(0.8rem + 0.3vw), 17px);
  --fs-body: 15px;
  --fs-small: 14px;
  --fs-meta: 13px;
  --fs-micro: 12px;

  /* Space: 4 8 12 16 24 32 48 64 96 */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --page: 1200px;
  --wide: 1320px;
  --section: clamp(56px, 6vw, 88px);

  /* Shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --pill: 999px;
  --shadow-float: 0 12px 30px -16px rgb(28 26 23 / 40%);

  background: var(--shell);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--shell);
}
/* height: auto, so width/height attributes reserve space without fixing the height. */
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: var(--sea-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--sea-deep);
}
:focus-visible {
  outline: 2px solid var(--sea);
  outline-offset: 3px;
  border-radius: 4px;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}
h1 em,
h2 em {
  color: var(--sea);
}
p {
  margin: 0;
  text-wrap: pretty;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
/* One inline SVG sprite per page; icons reference it with <use>. */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.page {
  min-height: 100%;
  background: var(--shell);
}
.wrap {
  width: min(var(--page), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
/* A beach page runs to the header's and footer's width (owner, 2026-10-29). */
.wrap--wide {
  width: min(var(--wide), 100% - 2 * var(--gutter));
}
.section {
  padding-top: var(--section);
}
.section-head {
  display: grid;
  gap: var(--s3);
  margin-bottom: var(--s6);
}
.section-head h2 {
  font-size: var(--fs-h2);
}
.section-head p {
  max-width: 58ch;
  color: var(--ink-3);
  font-size: var(--fs-small);
}
@media (min-width: 760px) {
  .section-head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: var(--s6);
    margin-bottom: var(--s7);
  }
  .section-head p {
    padding-bottom: 6px;
  }
}

.eyebrow {
  margin: 0;
  color: var(--sea-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.text-link {
  font-weight: 600;
  text-decoration: none;
}
.text-link::after {
  content: '→';
  display: inline-block;
  margin-left: 0.35em;
  transition: transform 300ms cubic-bezier(0.16, 0.84, 0.3, 1);
}
.text-link:hover::after {
  transform: translateX(4px);
}
.num {
  font-variant-numeric: tabular-nums;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgb(251 247 239 / 92%);
  backdrop-filter: blur(16px) saturate(1.3);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s5);
  width: min(var(--wide), 100% - 2 * var(--gutter));
  min-height: 68px;
  margin-inline: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover {
  color: var(--ink);
}
.brand svg {
  width: 30px;
  height: 30px;
}
.brand span {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--s5);
  margin-left: auto;
  font-size: var(--fs-small);
  font-weight: 500;
}
.site-nav a {
  color: var(--ink-2);
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current] {
  color: var(--ink);
}
.site-nav a[aria-current] {
  text-decoration: underline;
  text-decoration-color: var(--sea);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 8px;
}
/* Getting the app from the header. On a computer a quiet link that opens the
   QR code on hover; on a phone a small filled button, because the phone is
   where the app gets installed and the header is the one place always in
   reach. It stands beside Safari's Smart App Banner on purpose: in-app
   browsers (Google, Instagram) never show that banner. */
.site-nav .nav-app {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sea-ink);
  font-weight: 600;
  white-space: nowrap;
}
.site-nav .nav-app:hover {
  color: var(--sea-deep);
}
.nav-app svg {
  width: 16px;
  height: 16px;
}
/* The menu: only on a phone, where the bar keeps the brand, the button and
   this. A details element, so it opens without script. */
.nav-menu {
  position: relative;
  display: none;
}
.nav-menu summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border-radius: 12px;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}
.nav-menu summary::-webkit-details-marker {
  display: none;
}
.nav-menu summary svg {
  width: 24px;
  height: 24px;
}
.nav-menu .nav-menu__close,
.nav-menu[open] .nav-menu__open {
  display: none;
}
.nav-menu[open] .nav-menu__close {
  display: block;
}
.nav-menu__panel {
  position: absolute;
  z-index: 60;
  top: calc(100% + 12px);
  right: -10px;
  display: grid;
  width: min(280px, calc(100vw - 2 * var(--gutter)));
  padding: 8px;
  border: 1px solid var(--sand-2);
  border-radius: var(--r-lg);
  background: var(--cream);
  box-shadow: 0 24px 60px -24px rgb(28 26 23 / 40%);
}
.nav-menu__panel a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.nav-menu__panel a:hover,
.nav-menu__panel a[aria-current] {
  background: var(--sand);
  color: var(--ink);
}
@media (max-width: 759px) {
  .site-header__inner {
    gap: var(--s3);
  }
  .site-nav {
    gap: var(--s3);
  }
  .site-nav > a {
    display: none;
  }
  .site-nav .nav-app {
    min-height: 40px;
    padding: 0 16px;
    border-radius: var(--pill);
    background: var(--sea-deep);
    color: var(--cream);
    font-size: 14px;
  }
  .site-nav .nav-app:hover {
    background: var(--ink);
    color: var(--cream);
  }
  .nav-menu {
    display: block;
  }
}

/* ---------- App Store badge and QR (Apple's artwork, unmodified, >= 40px) ---------- */

.badge {
  display: inline-block;
  flex: none;
  height: 40px;
  border-radius: 8px;
}
.badge img {
  width: auto;
  height: 100%;
}
.badge--lg {
  height: 52px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s4) var(--s5);
}
/*
 * Getting the app on a computer. Beside the badge, a QR button opens a large
 * code on hover or keyboard focus, and hovering any badge does the same; no
 * script. Touch screens never see it: they are the phone already.
 */
.get-app {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.qr-btn {
  display: none;
  flex: none;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--sand-2);
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
}
.qr-btn svg {
  width: 24px;
  height: 24px;
}
.qr-pop {
  position: absolute;
  z-index: 30;
  top: calc(100% + 12px);
  left: 0;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 232px;
  padding: 16px 16px 18px;
  border: 1px solid var(--sand-2);
  border-radius: var(--r-lg);
  background: var(--cream);
  box-shadow: 0 24px 60px -24px rgb(28 26 23 / 40%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 180ms ease-out,
    transform 180ms ease-out,
    visibility 180ms;
}
.qr-pop img {
  width: 176px;
  height: 176px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  image-rendering: pixelated;
}
.qr-pop p {
  color: var(--ink-2);
  font-size: var(--fs-meta);
  line-height: 1.4;
  text-align: center;
}
.qr-pop--up {
  top: auto;
  bottom: calc(100% + 12px);
}
.qr-pop--end {
  right: 0;
  left: auto;
}
@media (hover: hover) and (pointer: fine) {
  .qr-btn {
    display: grid;
  }
  .get-app:hover .qr-pop,
  .get-app:focus-within .qr-pop,
  .get-app.is-open .qr-pop {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

/* ---------- breadcrumbs ---------- */

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  row-gap: var(--s1);
  color: var(--ink-3);
  font-size: var(--fs-meta);
}
.crumbs li + li::before {
  content: '›';
  margin: 0 var(--s2);
  color: var(--ink-3);
}
.crumbs a {
  color: var(--ink-2);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--sea-ink);
  text-decoration: underline;
}

/* ---------- page head ---------- */

.page-head {
  display: grid;
  gap: var(--s6);
  padding: clamp(28px, 5vw, 64px) 0 clamp(28px, 4vw, 48px);
}
.page-head__main {
  display: grid;
  justify-items: start;
  gap: var(--s5);
}
.page-head__main .crumbs {
  margin-bottom: var(--s2);
}
.display {
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.032em;
}
.title {
  font-size: var(--fs-title);
  line-height: 1;
  letter-spacing: -0.03em;
}
.lead {
  max-width: 56ch;
  color: var(--ink-2);
  font-size: var(--fs-lead);
  line-height: 1.55;
}
.standfirst {
  max-width: 34ch;
  color: var(--sea-ink);
  font-family: var(--serif);
  font-size: var(--fs-stand);
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.page-head .cta-row {
  margin-top: var(--s2);
}
@media (min-width: 760px) {
  .page-head {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    align-items: end;
    column-gap: var(--s7);
  }
  .page-head--solo {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- season ---------- */

.season {
  display: grid;
  gap: var(--s3);
  width: 100%;
}
.season__months {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4px;
}
.season__months li {
  display: grid;
  gap: 6px;
  justify-items: center;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1;
}
.season__months li::before {
  content: '';
  width: 100%;
  height: 34px;
  border-radius: 7px;
  background: var(--sand);
}
.season__months .is-good::before {
  background: var(--sea-soft);
}
.season__months .is-best {
  color: var(--ink);
  font-weight: 600;
}
.season__months .is-best::before {
  background:
    radial-gradient(circle at 50% 9px, var(--amber) 3.5px, transparent 4px),
    var(--sea);
}
.season__legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  color: var(--ink-3);
  font-size: 13px;
}
.season__legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.season__legend span::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--sea-soft);
}
.season__legend .is-best::before {
  background: var(--sea);
}

/* A place's best time to visit: a section of its own, after the map. */
.season-section__body {
  display: grid;
  gap: var(--s5);
}
.season-section .season-line {
  max-width: 40ch;
}
@media (min-width: 760px) {
  .season-section__body {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: var(--s7);
    align-items: center;
  }
}

/* ---------- photo credits ---------- */

/* Unsplash covers say "Photo by … on Unsplash", as Unsplash's API guidelines
   require, but quietly: small type in the photo's corner, no box, over the
   photo's own dark gradient. Google photos get one once the catalogue stores
   their authors (roadmap §16). */
.photo-credit {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 8px;
  max-width: calc(100% - 20px);
  overflow: hidden;
  color: rgb(255 255 255 / 88%);
  font-size: 11px;
  line-height: 1.4;
  text-align: right;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgb(0 0 0 / 60%);
  white-space: nowrap;
}
.photo-credit a {
  color: inherit;
  text-decoration: none;
}
.photo-credit a:hover {
  text-decoration: underline;
}

/* ---------- chips ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chips li {
  padding: 3px 10px;
  border: 1px solid var(--sand-2);
  border-radius: var(--pill);
  background: var(--cream);
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
}
.chips--facts {
  gap: var(--s2);
}
.chips--facts li {
  padding: 7px 14px;
  font-size: var(--fs-meta);
}

/* ---------- ten to start with ---------- */

.picks {
  display: grid;
  counter-reset: pick;
  border-bottom: 1px solid var(--line);
}
.pick {
  position: relative;
  display: grid;
  grid-template-columns: 30px 68px minmax(0, 1fr);
  gap: var(--s3) 14px;
  padding: var(--s5) 0;
  border-top: 1px solid var(--line);
  counter-increment: pick;
}
/* The beach's first photo as a colour field: proof the photos exist, nothing
   of them shown. A beach without photos gets the app's sea placeholder. */
.pick__thumb {
  position: relative;
  display: block;
  overflow: hidden;
  align-self: start;
  aspect-ratio: 1;
  border-radius: 14px;
  background: var(--sand-2);
}
.pick__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  filter: blur(9px) saturate(1.15);
  transform: scale(1.5);
}
.pick__thumb--none {
  display: grid;
  place-items: center;
  background: var(--sea);
  color: rgb(255 255 255 / 55%);
}
/* Lifted clear of the photo-count pill in the corner. */
.pick__thumb--none > svg {
  width: 24px;
  height: 24px;
  transform: translateY(-9px);
}
.pick__photos {
  position: absolute;
  right: 5px;
  bottom: 5px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 6px;
  border-radius: var(--pill);
  background: rgb(255 253 248 / 92%);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.pick__photos svg {
  width: 11px;
  height: 11px;
}
.pick::before {
  content: counter(pick, decimal-leading-zero);
  color: var(--sea-ink);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
/* Held to the top: a row's height comes from the taller row beside it, and
   stretching would spread one beach's lines apart. */
.pick__body {
  display: grid;
  align-content: start;
  gap: 6px;
}
.pick__name {
  font-size: var(--fs-h3);
  line-height: 1.15;
}
.pick__name a {
  color: var(--ink);
  text-decoration: none;
}
/* The whole row is the link's target; the name stays the accessible label. */
.pick__name a::after {
  content: '';
  position: absolute;
  inset: 0;
}
.pick:hover .pick__name a {
  color: var(--sea-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.pick__place {
  color: var(--ink-3);
  font-size: var(--fs-meta);
}
.pick__line {
  color: var(--ink-2);
  line-height: 1.5;
}
.pick .chips {
  margin-top: 6px;
}
.pick__go {
  display: none;
  align-self: center;
  color: var(--sea);
  font-size: 18px;
  transition: transform 300ms cubic-bezier(0.16, 0.84, 0.3, 1);
}
.pick:hover .pick__go {
  transform: translateX(4px);
}
.picks--plain .pick {
  grid-template-columns: minmax(0, 1fr);
}
.picks--plain .pick::before {
  content: none;
}
@media (min-width: 760px) {
  .picks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--s8);
    border-bottom: 0;
  }
  .pick {
    grid-template-columns: 36px 96px minmax(0, 1fr) 20px;
    gap: var(--s4) var(--s5);
    padding: var(--s5) 0 calc(var(--s5) + 4px);
  }
  .pick__go {
    display: block;
  }
  .picks--plain .pick {
    grid-template-columns: minmax(0, 1fr) 20px;
  }
  /* A closing rule under each column. */
  .picks > .pick:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .picks > .pick:nth-last-child(2):nth-child(even) {
    border-bottom: 0;
  }
  /* Ten in two columns read down, then across. */
  .picks--ten {
    grid-auto-flow: column;
    grid-template-rows: repeat(5, auto);
  }
  .picks--ten > .pick:nth-child(5) {
    border-bottom: 1px solid var(--line);
  }
  /* Ninth is mid-column when the ten flow down; only the tenth closes it. */
  .picks--ten > .pick:nth-child(9) {
    border-bottom: 0;
  }
}

/* ---------- what kind of beach ---------- */

.kinds {
  display: grid;
  border-bottom: 1px solid var(--line);
}
.kind {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: baseline;
  gap: var(--s4);
  padding: var(--s4) 0;
  border-top: 1px solid var(--line);
}
.kind__n {
  color: var(--sea);
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.kind__label {
  font-weight: 600;
}
.kind__line {
  color: var(--ink-3);
  font-size: var(--fs-meta);
}
.kinds-note {
  margin-top: var(--s4);
  color: var(--ink-3);
  font-size: var(--fs-meta);
}

/* Kinds beside the map, from 1080px. */
.split {
  display: grid;
  gap: var(--section);
}
@media (min-width: 1080px) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--s8);
    align-items: start;
    padding-top: var(--section);
  }
  .split .section-head {
    grid-template-columns: 1fr;
    margin-bottom: var(--s6);
  }
  .split > .section {
    padding-top: 0;
  }
}

/* ---------- links to places ---------- */

.place-group + .place-group {
  margin-top: var(--s7);
}
.place-group h3 {
  margin-bottom: var(--s4);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0;
}
.place-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: var(--s3);
}
.place-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 56px;
  padding: 15px 20px;
  border: 1px solid var(--sand-2);
  border-radius: var(--r-md);
  background: var(--cream);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  transition: border-color 200ms;
}
.place-links a:hover {
  border-color: var(--sea);
}
.place-links .count {
  flex: none;
  color: var(--ink-3);
  font-size: var(--fs-meta);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
/* Many places: a dense, column-flowing index. */
.place-index {
  columns: 1;
  column-gap: var(--s7);
}
.place-index li {
  break-inside: avoid;
}
.place-index a {
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.place-index a:hover {
  color: var(--sea-deep);
}
.place-index .count {
  flex: none;
  color: var(--ink-3);
  font-size: var(--fs-meta);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 760px) {
  .place-index {
    columns: 2;
  }
}
@media (min-width: 1080px) {
  .place-index {
    columns: 3;
  }
}

/* ---------- beach page body ---------- */

/* The app's Beach Detail in its order, each part a section with a hairline
   above it: the description, What to expect, Nearby, Weather and tides,
   Best time to visit, On the map, Reviews, More beaches nearby. From 1080
   the page runs to the header's width (.wrap--wide) and its content, one
   column of 720px, sits in the middle of the page; each section's heading
   and its "See all …" sit on the header's left edge, in a column that stays
   in view while the section scrolls past, and the crumbs and the title
   line up with the content (owner, 2026-10-29, layout Wide). At 1440 the
   heading column is 252px, every heading on one line; below about 1400 it
   keeps 240px and the content moves a little right of the middle. Below
   1080 the heading comes first and the button after the content. Headings
   are labels, without a full stop. */
.beach-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s4);
  padding-block: var(--s6);
  border-top: 1px solid var(--line);
}
.beach-section h2 {
  font-size: clamp(25px, calc(1.1rem + 0.86vw), 30px);
}
.beach-section__side {
  display: contents;
}
.beach-section__side > :not(h2) {
  order: 2;
}
.beach-section__main {
  display: grid;
  gap: var(--s4);
  min-width: 0;
}
.beach-section__main > .head-rating,
.beach-section__main > .head-chips {
  justify-self: start;
}
/* The description opens the page, under the title: no hairline. */
.beach-section--about {
  padding-top: var(--s3);
  border-top: 0;
}
.summary {
  max-width: 64ch;
  color: var(--ink-2);
  line-height: 1.7;
}
.season-line {
  max-width: 64ch;
  color: var(--ink-2);
}
.bd-reviews-wrap {
  max-width: 800px;
}
@media (min-width: 760px) {
  .beach-section--about {
    padding-top: var(--s7);
  }
}
/* Below 1080 the description and the facts show no heading, as in the app
   (owner, 2026-10-29); screen readers still get it. The facts table's own
   top rule is that section's divider. */
@media (max-width: 1079px) {
  .beach-section--about h2,
  .beach-section--facts h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .beach-section--facts {
    border-top: 0;
  }
}
@media (min-width: 1080px) {
  .beach-sections {
    padding-top: var(--s4);
  }
  .beach-section,
  .hero-cover--beach .hero-cover__text,
  .beach-head {
    grid-template-columns: minmax(240px, 1fr) minmax(0, 720px) minmax(0, 1fr);
    column-gap: var(--s7);
  }
  .hero-cover--beach .hero-cover__text > *,
  .beach-head > * {
    grid-column: 2;
  }
  .beach-section {
    padding-block: 56px;
  }
  .beach-section__side {
    position: sticky;
    top: 96px;
    display: grid;
    align-self: start;
    justify-items: start;
    gap: var(--s3);
  }
  .beach-section__side h2 {
    max-width: 11em;
    line-height: 1.12;
  }
  .beach-section__side > :not(h2) {
    margin-top: var(--s2);
  }
  .beach-section__main {
    align-content: start;
  }
  .beach-section .live-map__frame {
    aspect-ratio: 16 / 10;
  }
  .beach-section .picks--near {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.checklist {
  display: grid;
  gap: var(--s3);
  margin: var(--s1) 0 var(--s2);
}
.checklist li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: var(--s3);
  color: var(--ink-2);
  line-height: 1.45;
}
.checklist li::before {
  content: '✓';
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--sea-soft);
  color: var(--sea-deep);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

/* ---------- closing call to action ---------- */

.closing {
  overflow: hidden;
  margin-top: var(--section);
  background: var(--sea-deep);
  color: var(--cream);
}
.closing__inner {
  display: grid;
  gap: var(--s7);
  padding-top: clamp(56px, 8vw, 96px);
}
.closing__text {
  display: grid;
  justify-items: start;
  gap: var(--s4);
  align-content: center;
}
.closing .eyebrow {
  color: var(--sea-soft);
}
.closing h2 {
  font-size: clamp(36px, calc(1.6rem + 2.4vw), 64px);
  letter-spacing: -0.03em;
}
/* The line under the heading only: the eyebrow and the QR popover keep their
   own size and colour. */
.closing__text > p:not(.eyebrow) {
  max-width: 44ch;
  color: var(--sea-soft);
  font-size: var(--fs-lead);
}
.closing .cta-row {
  margin-top: var(--s3);
}
.closing .qr-btn {
  border-color: transparent;
}
.closing__phone {
  justify-self: center;
  width: min(280px, 72%);
  margin-bottom: -120px;
}
@media (min-width: 760px) {
  .closing__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .closing__text {
    padding-bottom: clamp(56px, 8vw, 96px);
  }
  .closing__phone {
    width: 300px;
    margin-bottom: -150px;
  }
}
/* On a computer, hovering the phone turns its screen into the QR code. */
.phone__qr {
  position: absolute;
  inset: 9px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  border-radius: 38px;
  background: rgb(255 253 248 / 96%);
  color: var(--ink);
  text-align: center;
  opacity: 0;
  transition: opacity 220ms ease-out;
}
.phone__qr img {
  width: 172px;
  height: 172px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  image-rendering: pixelated;
}
.phone__qr p {
  max-width: 18ch;
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.35;
}
@media (hover: hover) and (pointer: fine) {
  .closing__phone:hover .phone__qr,
  .home-hero__visual:hover .phone__qr,
  .is-open > .phone__qr,
  .is-open > .phone > .phone__qr {
    opacity: 1;
  }
}
.phone {
  position: relative;
  padding: 9px;
  border-radius: 46px;
  background: #121110;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 14%) inset,
    0 40px 80px -30px rgb(0 0 0 / 55%);
}
.phone img {
  width: 100%;
  aspect-ratio: 660 / 1434;
  border-radius: 38px;
  object-fit: cover;
}

/* ---------- guides index ---------- */

/* The world, as the live map (see Live map) over the dot map: the app's
   style, every beach a dot, nothing to click (owner, 2026-10-24). */
.live-map--world .live-map__frame {
  aspect-ratio: 5 / 2;
}
.index-layout {
  display: grid;
  gap: var(--s6);
  padding-top: clamp(40px, 6vw, 72px);
}
.continent-nav ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}
.continent-nav a {
  display: inline-flex;
  align-items: baseline;
  gap: var(--s2);
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--sand-2);
  border-radius: var(--pill);
  background: var(--cream);
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
}
.continent-nav a:hover {
  border-color: var(--sea);
}
.continent-nav .count {
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
/* Each part of the world is a details element. Below 1080 they start
   closed, so a phone gets six rows instead of 115 countries, and the jump
   links go (the rows are the jump links). From 1080 every list is open and
   the heading is only a heading (owner, 2026-10-24). */
.continent__head {
  list-style: none;
}
.continent__head::-webkit-details-marker {
  display: none;
}
.continent__head h2 {
  font-size: var(--fs-h2);
}
@media (max-width: 1079px) {
  .continent-nav {
    display: none;
  }
  .continent__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2px var(--s4);
    min-height: 64px;
    padding: var(--s4) 0;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
  }
  .continent:first-child .continent__head {
    border-top: 1px solid var(--line);
  }
  .continent__head h2 {
    font-size: clamp(24px, calc(1.1rem + 1vw), 30px);
  }
  .continent__head::after {
    content: '+';
    grid-column: 2;
    grid-row: 1 / span 2;
    color: var(--sea);
    font-family: var(--sans);
    font-size: 24px;
  }
  .continent__fold[open] > .continent__head::after {
    content: '−';
  }
  .continent__fold[open] > .countries {
    padding-bottom: var(--s6);
  }
}
@media (min-width: 1080px) {
  .continent + .continent {
    margin-top: var(--section);
  }
  .continent__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s2) var(--s5);
    padding-bottom: var(--s4);
    border-bottom: 1px solid var(--ink);
  }
}
/* Open from 1080 without script. A browser without ::details-content keeps
   the lists folded there too, which still works. */
@supports selector(::details-content) {
  @media (min-width: 1080px) {
    .continent__fold::details-content {
      display: block;
      content-visibility: visible;
    }
    .continent__head {
      pointer-events: none;
    }
  }
}
.continent__head p {
  color: var(--ink-3);
  font-size: var(--fs-meta);
  font-variant-numeric: tabular-nums;
}
.countries {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  column-gap: var(--s6);
}
.country {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line);
}
.country__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s3);
}
.country h3 {
  font-size: 24px;
  letter-spacing: -0.015em;
}
.country h3 a {
  color: var(--ink);
  text-decoration: none;
}
.country h3 a:hover {
  color: var(--sea-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.country .count {
  flex: none;
  color: var(--ink-3);
  font-size: var(--fs-meta);
  font-variant-numeric: tabular-nums;
}
/* Largest places as one comma-separated line; the commas are CSS, not text. */
.country__places {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.32em;
  color: var(--ink-3);
  font-size: var(--fs-meta);
  line-height: 1.6;
}
.country__places li:not(:last-child)::after {
  content: ',';
}
.country__places a {
  color: var(--ink-2);
  text-decoration-color: var(--sand-2);
}
.country__places a:hover {
  color: var(--sea-deep);
  text-decoration-color: currentColor;
}
@media (min-width: 1080px) {
  .index-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: var(--s8);
    align-items: start;
  }
  .continent-nav {
    position: sticky;
    top: 100px;
  }
  .continent-nav ol {
    display: grid;
    gap: 2px;
  }
  .continent-nav a {
    justify-content: space-between;
    width: 100%;
    min-height: 0;
    padding: 9px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: none;
  }
}

/* ---------- home (proposal) ---------- */

.home-hero {
  display: grid;
  gap: var(--s7);
  align-items: center;
  padding: clamp(32px, 6vw, 80px) 0 0;
}
.home-hero__text {
  display: grid;
  justify-items: start;
  gap: var(--s5);
}
.home-hero .display {
  font-size: clamp(54px, calc(2.4rem + 4.6vw), 112px);
}
.stats {
  display: flex;
  gap: var(--s7);
  margin-top: var(--s2);
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
}
.stats p {
  color: var(--ink-3);
  font-size: 13px;
}
.stats strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.home-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: var(--s6) 0;
}
.home-hero__visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(520px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sea-soft);
  transform: translate(-50%, -50%);
}
.home-hero__visual .phone {
  position: relative;
  width: min(290px, 68%);
}
@media (min-width: 760px) {
  .home-hero {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.place-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s5) var(--s4);
}
.place-card a {
  display: grid;
  gap: var(--s3);
  color: var(--ink);
  text-decoration: none;
}
.place-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  background: var(--sand);
}
.place-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.16, 0.84, 0.3, 1);
}
.place-card a:hover .place-card__img img {
  transform: scale(1.04);
}
.place-card__name {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.place-card a:hover .place-card__name {
  color: var(--sea-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.place-card__meta {
  margin-top: -6px;
  color: var(--ink-3);
  font-size: var(--fs-meta);
}
@media (min-width: 760px) {
  .place-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--s6) var(--s5);
  }
}

.features {
  display: grid;
  gap: var(--s7);
}
.feature {
  display: grid;
  align-content: start;
  gap: var(--s3);
}
.feature__visual {
  overflow: hidden;
  height: 360px;
  margin-bottom: var(--s3);
  padding-top: var(--s6);
  border-radius: var(--r-xl);
  background: var(--sand);
}
.feature__visual .phone {
  width: 230px;
  margin-inline: auto;
}
.feature h3 {
  font-size: 26px;
}
.feature p {
  max-width: 40ch;
  color: var(--ink-2);
}
/* The second row (list, facts, saved) only where the features sit three
   across; a phone keeps three (owner, 2026-10-24). */
.feature--more {
  display: none;
}
@media (min-width: 760px) {
  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s7) var(--s6);
  }
  .feature--more {
    display: grid;
  }
}

.faq {
  max-width: 820px;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 64px;
  padding: var(--s4) 0;
  font-family: var(--serif);
  font-size: clamp(20px, calc(1.1rem + 0.4vw), 24px);
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  color: var(--sea);
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 400;
}
.faq details[open] summary::after {
  content: '−';
}
.faq details p {
  max-width: 64ch;
  padding-bottom: var(--s5);
  color: var(--ink-2);
}

/* ---------- footer ---------- */

.site-footer {
  padding: 56px 0 40px;
  background: var(--sand);
  color: var(--ink-2);
  font-size: var(--fs-small);
}
.site-footer__inner {
  display: grid;
  gap: var(--s6) var(--s7);
  width: min(var(--wide), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.site-footer a {
  color: var(--ink-2);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--sea-ink);
}
.site-footer__brand {
  display: grid;
  justify-items: start;
  gap: var(--s3);
}
.site-footer__brand p {
  max-width: 26ch;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
/* "your" as in the home page's title; sea-ink, since sea on sand is 4.0:1. */
.site-footer__brand em {
  color: var(--sea-ink);
}
.site-footer h2 {
  margin-bottom: var(--s3);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}
.site-footer ul {
  display: grid;
  gap: 10px;
}
.site-footer__legal {
  grid-column: 1 / -1;
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: var(--fs-micro);
}
@media (min-width: 760px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  }
}


/* =========================================================
   Heroes: the photo full-bleed with the title on it, places and beaches
   ========================================================= */

/* Places: the cover full-bleed, the title on a scrim at its foot. A place
   without a cover keeps the plain page head (.page-head). */
.hero-cover {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 520px;
  overflow: hidden;
  background: var(--sea-deep);
  color: var(--cream);
}
.hero-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(18 17 15 / 74%), rgb(18 17 15 / 22%) 52%, rgb(18 17 15 / 0%) 78%);
}
.hero-cover__text {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: var(--s4);
  padding-block: 40px 40px;
}
.hero-cover .crumbs ol,
.hero-cover .crumbs li + li::before {
  color: rgb(255 253 248 / 78%);
}
.hero-cover .crumbs a {
  color: var(--cream);
}
.hero-cover .display {
  color: var(--cream);
}
.hero-cover .display em {
  color: var(--sea-soft);
}
/* The cover's credit, in the corner, on the scrim, aligned with the page. */
.hero-cover > .photo-credit {
  right: var(--gutter);
  bottom: 12px;
}
@media (min-width: 760px) {
  .hero-cover {
    min-height: 560px;
  }
  .hero-cover__text {
    padding-block: 64px 56px;
  }
  .hero-cover > .photo-credit {
    right: max(var(--gutter), calc((100% - var(--page)) / 2));
  }
}

/* Beaches open like places (owner, 2026-10-22): photo 1 full-bleed with the
   title and the crumbs on its scrim. A Google photo tops out around 1,600px,
   so on a large retina screen it is a little soft; the scrim and the type
   carry it. No credit: the catalogue has no author to name (roadmap §16), and
   "a Google Maps contributor" credits nobody (owner, 2026-10-24). Everything
   under it sits in the page's own column. */
.hero-cover .title {
  color: var(--cream);
}
/* A beach with no photo: the crumbs and the title under the map. */
.beach-head {
  display: grid;
  justify-items: start;
  row-gap: var(--s4);
  padding-top: var(--s6);
}
.beach-head .crumbs {
  margin-bottom: var(--s2);
}
@media (min-width: 760px) {
  .beach-head {
    padding-top: var(--s7);
  }
}

/* A long name wraps before the corner photo, which is 132px wide, 8px in
   from the page's right edge, with its cards fanning out 16px more. From
   1300 the empty space right of the content holds the photo, so the name
   may use the content column's full width. */
@media (min-width: 760px) {
  .hero-cover--beach .crumbs,
  .hero-cover--beach .title {
    max-width: calc(100% - 180px);
  }
}
@media (min-width: 1300px) {
  .hero-cover--beach .crumbs,
  .hero-cover--beach .title {
    max-width: none;
  }
}

/* The rest of a beach's photos: one of them, blurred, in the hero's corner,
   with how many more there are. It opens the app prompt. On a phone a single
   card at the photo's foot, bottom right, above the sheet (owner,
   2026-10-24); from 760 a little deck of cards, bottom right (D3, owner,
   2026-10-23), that fans out a little on hover. */
.hero-more {
  position: absolute;
  z-index: 3;
  top: 232px;
  right: var(--gutter);
  width: 96px;
  height: 72px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.hero-more:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 8px;
  border-radius: var(--r-md);
}
.hero-more__photo {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  border: 2px solid rgb(255 253 248 / 90%);
  border-radius: var(--r-md);
  background: var(--sand-2);
}
.hero-more__photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px);
  transform: scale(1.3);
}
.hero-more__count {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  background: rgb(18 17 15 / 22%);
  color: #fff;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 8px rgb(0 0 0 / 30%);
}
.hero-more__count small {
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 11px;
}
@media (min-width: 760px) {
  .hero-more {
    top: auto;
    right: calc(max(var(--gutter), calc((100% - var(--wide)) / 2)) + 8px);
    bottom: 52px;
    width: 132px;
    height: 96px;
  }
  .hero-more::before,
  .hero-more::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgb(255 253 248 / 75%);
    border-radius: var(--r-md);
    background: rgb(255 253 248 / 40%);
    transition: transform 400ms cubic-bezier(0.16, 0.84, 0.3, 1);
  }
  .hero-more::before {
    transform: rotate(-8deg) translate(-8px, 3px);
  }
  .hero-more::after {
    transform: rotate(6deg) translate(7px, -4px);
  }
  .hero-more:hover::before {
    transform: rotate(-11deg) translate(-12px, 4px);
  }
  .hero-more:hover::after {
    transform: rotate(9deg) translate(11px, -6px);
  }
  .hero-more__count {
    font-size: 26px;
  }
  .hero-more__count small {
    font-size: 12px;
  }
}

/* A place's beach count on its cover, under the title (owner, 2026-10-23):
   the number and "beaches" beside it, so it says what it counts, all in Inter
   so it reads as a label, not a headline (owner, 2026-10-24). Without a cover
   it sits under the title on the page. */
.count-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgb(255 253 248 / 32%);
  border-radius: var(--pill);
  background: rgb(255 253 248 / 16%);
  backdrop-filter: blur(8px);
  color: var(--cream);
  font-size: 15px;
  font-weight: 500;
}
.count-badge b {
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.count-badge svg {
  width: 18px;
  height: 18px;
  color: var(--sea-soft);
}
.page-head .count-badge {
  border-color: transparent;
  background: var(--sea-soft);
  backdrop-filter: none;
  color: var(--sea-deep);
}
.page-head .count-badge svg {
  color: var(--sea);
}

/* A phone: the app's Beach Detail. The photo on top, then the sheet with the
   place as an eyebrow, the title, the one-liner, the rating and the chips.
   The title is not on the photo here. */
@media (max-width: 759px) {
  .hero-cover--beach {
    display: block;
    min-height: 0;
    overflow: visible;
    background: none;
    color: inherit;
  }
  .hero-cover--beach > img {
    position: relative;
    inset: auto;
    display: block;
    height: 340px;
  }
  /* The sheet's rounded top, over the foot of the photo. */
  .hero-cover--beach::after {
    z-index: 2;
    inset: 316px 0 auto;
    height: 25px;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    background: var(--shell);
  }
  .hero-cover--beach .hero-cover__text {
    gap: var(--s3);
    padding-block: var(--s1) 0;
  }
  .hero-cover--beach .title {
    color: var(--ink);
  }
  /* The crumbs as the app's eyebrow: country · region · place. */
  .hero-cover--beach .crumbs ol,
  .beach-head .crumbs ol {
    color: var(--ink-3);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .hero-cover--beach .crumbs a,
  .beach-head .crumbs a {
    color: var(--ink-3);
  }
  .hero-cover--beach .crumbs li:first-child,
  .hero-cover--beach .crumbs li:last-child,
  .beach-head .crumbs li:first-child,
  .beach-head .crumbs li:last-child {
    display: none;
  }
  .hero-cover--beach .crumbs li + li::before,
  .beach-head .crumbs li + li::before {
    content: '·';
    margin: 0 6px;
    color: var(--ink-3);
  }
  .hero-cover--beach .crumbs li:nth-child(2)::before,
  .beach-head .crumbs li:nth-child(2)::before {
    content: none;
  }
  .beach-head {
    gap: var(--s3);
    padding-top: var(--s3);
  }
  /* No photo: the map's foot gets the same rounded sheet. */
  .map-hero::after {
    content: '';
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 25px;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    background: var(--shell);
  }
  .map-hero .live-map__credit {
    bottom: 30px;
  }
  .map-hero .live-map__logo {
    bottom: 36px;
  }
  /* Places nearby as the app's sideways row: the next card peeks in at the
     edge. It does not scroll: the whole block is the prompt's button. */
  .bd-places {
    display: flex;
    gap: var(--s3);
    margin-right: calc(-1 * var(--gutter));
    overflow: hidden;
  }
  .bd-place,
  .bd-place:nth-child(n + 3) {
    display: grid;
    flex: 0 0 64%;
  }
}

/* The rating under the one-liner: blurred, a mock like the reviews, and a
   way into the app prompt. */
.head-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--sea-ink);
  font: inherit;
  font-size: var(--fs-meta);
  font-weight: 500;
  cursor: pointer;
}
.head-rating__score {
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 600;
}
.head-rating__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--amber);
}
.head-rating__stars svg {
  width: 15px;
  height: 15px;
}
/* Lighter than other blurred values, so the stars still read as stars. */
.head-rating__stars.bl {
  filter: blur(2.5px);
}
.head-rating .bl svg {
  filter: none;
}
.head-rating:hover .head-rating__note {
  text-decoration: underline;
}

/* A beach without a hotlinkable photo: the live map, full-bleed, is the
   hero, and the title sits under it. Mapbox centres on the beach; the canvas
   fakes that with object-position at the marker. */
.map-hero {
  position: relative;
  height: 360px;
  margin: 0;
  overflow: hidden;
  background: var(--sand);
}
.map-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-hero > .live-map__dots {
  object-fit: contain;
}
/* In the hero the beach's marker is the subject, so it is larger. */
.map-hero .live-map__pin {
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-width: 4px;
  box-shadow:
    0 0 0 8px rgb(227 168 87 / 90%),
    0 10px 24px -6px rgb(0 0 0 / 45%);
}
.map-hero .live-map__name {
  top: 16px;
  left: var(--gutter);
}
.map-hero .live-map__zoom {
  top: 16px;
  right: var(--gutter);
}
@media (min-width: 760px) {
  .map-hero {
    height: 480px;
  }
  .map-hero .live-map__name {
    top: 24px;
    left: max(var(--gutter), calc((100% - var(--page)) / 2));
  }
  .map-hero .live-map__zoom {
    top: 24px;
    right: max(var(--gutter), calc((100% - var(--page)) / 2));
  }
}

/* =========================================================
   Live map
   ========================================================= */

/*
 * Mapbox GL with the app's style, loaded by default (owner, 2026-10-21), once
 * the map is near the viewport so it never competes with the hero image.
 * Underneath sits the same set of points as an inline dot map: what shows
 * before the map loads, and without JavaScript. One dot per beach, at its
 * exact position (owner, 2026-10-23); directions stay in the app.
 */
.live-map {
  display: grid;
  gap: var(--s3);
  margin: 0;
}
.live-map__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1320 / 1020;
  border-radius: var(--r-xl);
  background: var(--sand);
}
.live-map__dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: clamp(20px, 4vw, 44px);
  object-fit: contain;
}
.live-map__tiles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.live-map__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  box-shadow: var(--shadow-float);
}
.live-map__zoom span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}
.live-map__zoom span + span {
  border-top: 1px solid var(--line);
}
.live-map__credit {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 2px 8px;
  border-top-left-radius: 8px;
  background: rgb(255 253 248 / 78%);
  color: var(--ink-2);
  font-size: 11px;
}
.live-map__logo {
  position: absolute;
  bottom: 8px;
  left: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 2px rgb(0 0 0 / 45%);
}
/* The beach, on a beach page's map: the dot map's highlight, as a marker. The
   map places it; the left/top here only stand in for that. */
.live-map__pin {
  position: absolute;
  z-index: 1;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 3px solid var(--cream);
  border-radius: 50%;
  background: var(--sea-deep);
  box-shadow:
    0 0 0 6px rgb(227 168 87 / 85%),
    0 8px 20px -6px rgb(0 0 0 / 45%);
}
.live-map__name {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--pill);
  background: rgb(255 253 248 / 94%);
  box-shadow: var(--shadow-float);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.live-map__name svg {
  width: 14px;
  height: 14px;
  color: var(--sea-deep);
}
.live-map figcaption {
  color: var(--ink-3);
  font-size: var(--fs-meta);
}

/* =========================================================
   Beach detail
   ========================================================= */

/*
 * The app's Beach Detail in its own order (About, What to expect, Places
 * nearby, Weather and tides, Best time to visit, Where it is, Reviews), drawn
 * as ordinary web sections: one reading column, hairlines and the site's
 * type, no panels. What the page knows is shown. What only the app has is
 * blurred under a veil, and a "See all …" button opens the app prompt (a tap
 * on the blurred part does the same). When the site gets that data, the lock
 * comes off and the section stays as drawn.
 *
 * The blurred values are mock values, the same on every page, never the
 * beach's real data: blur is only CSS, and anything in the HTML can be read
 * from the source, reader mode or a crawler.
 */
.locked {
  position: relative;
}
/* Over the foot only, at most 120px, so what the page knows stays clear and
   the fade never opens a gap in the page; order a section's content known
   first, app-only last. */
.locked__veil {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: min(44%, 120px);
  background: linear-gradient(rgb(251 247 239 / 0%), var(--shell) 92%);
  pointer-events: none;
}
/* The whole blurred block opens the prompt too. Out of the tab order and
   hidden from screen readers: the "See all" button below is the real one. */
.locked__open {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
/* Values only the app has. The blur scales with the text (a third of an em),
   so a large number is as unreadable as a small one; icons get a fixed one. */
.bl {
  filter: blur(0.34em);
  user-select: none;
}
svg.bl,
.bl svg {
  filter: blur(5px);
}
.bd-sub {
  color: var(--ink-3);
  font-size: var(--fs-small);
}

/* "See all facts", "Read more": a text button under a section that opens the
   app prompt. Quiet on purpose; the prompt does the selling. */
.more-btn {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  min-height: 44px;
  margin: calc(-1 * var(--s2)) 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--sea-ink);
  font: inherit;
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
}
.more-btn::after {
  content: '→';
  transition: transform 300ms cubic-bezier(0.16, 0.84, 0.3, 1);
}
.more-btn:hover {
  color: var(--sea-deep);
}
.more-btn:hover::after {
  transform: translateX(4px);
}

/* About: a few lines of the summary, fading out, then "Read more". */
.summary--tease {
  -webkit-mask-image: linear-gradient(#000 40%, rgb(0 0 0 / 0%));
  mask-image: linear-gradient(#000 40%, rgb(0 0 0 / 0%));
}

/* What to expect: the facts table, facilities, activities, before you go. */
.bd-facts {
  display: grid;
  border-bottom: 1px solid var(--line);
}
.bd-fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4);
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.bd-fact span {
  color: var(--ink-3);
  font-size: var(--fs-small);
}
.bd-fact b {
  font-size: var(--fs-small);
  font-weight: 500;
  text-align: right;
}
/* Facilities, Activities and Before you go: one under the other on a phone,
   two across from 760 with Before you go under them. */
.bd-groups {
  display: grid;
  gap: var(--s6) var(--s7);
  margin-top: var(--s6);
}
.bd-group {
  display: grid;
  align-content: start;
  gap: var(--s3);
}
@media (min-width: 760px) {
  .bd-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bd-group--before {
    grid-column: 1 / -1;
  }
}
.bd-group h3 {
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.bd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}
.bd-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--sand-2);
  border-radius: var(--pill);
  background: var(--cream);
  color: var(--ink-2);
  font-size: var(--fs-small);
}
.bd-chip svg {
  width: 15px;
  height: 15px;
  color: var(--sea);
}
.bd-rows li {
  display: flex;
  gap: var(--s3);
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}
.bd-rows li:first-child {
  border-top: 0;
}
.bd-rows li > svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--amber);
}
.bd-rows .is-tip > svg {
  color: var(--sea);
}
@media (min-width: 760px) {
  .bd-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--s7);
  }
}

/* Places nearby: food and drink within a kilometre. */
.bd-places {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s5) var(--s4);
}
.bd-place {
  display: grid;
  align-content: start;
  gap: 4px;
}
.bd-place__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: var(--s2);
  border-radius: var(--r-md);
  background: var(--sand-2);
}
.bd-place__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px);
  transform: scale(1.15);
}
.bd-place__name {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.2;
}
.bd-place p:not(.bd-place__name) {
  color: var(--ink-3);
  font-size: var(--fs-meta);
}
.bd-place:nth-child(n + 3) {
  display: none;
}
@media (min-width: 760px) {
  .bd-places {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .bd-place:nth-child(3) {
    display: grid;
  }
}
/* Nearby fades card by card, not under one veil, so each card's photo and
   its first lines show (owner, 2026-10-23). */
.locked--places > .locked__veil {
  display: none;
}
.locked--places .bd-place {
  -webkit-mask-image: linear-gradient(#000 calc(100% - 56px), transparent);
  mask-image: linear-gradient(#000 calc(100% - 56px), transparent);
}

/* Weather and tides: seven days with a score, then the chosen day. */
.bd-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.bd-day {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 12px 2px;
  border-radius: var(--r-md);
}
.bd-day.is-active {
  background: var(--sea-soft);
}
.bd-day__name {
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
}
.bd-day > svg {
  width: 24px;
  height: 24px;
  color: var(--ink-2);
}
.bd-day__temp {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.bd-day__temp em {
  color: var(--ink-3);
  font-style: normal;
  font-weight: 400;
}
.bd-score {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}
.bd-score--great {
  background: #dde8dc;
  color: #3e704d;
}
.bd-score--fair {
  background: #f3e4b7;
  color: #7a5916;
}
.bd-score--poor {
  background: #f1d5cf;
  color: #a33a2e;
}
.bd-today {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  margin-top: var(--s5);
  padding: var(--s4) 0;
  border-top: 1px solid var(--line);
}
.bd-today__day {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
}
.bd-badge {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink-3);
  font-size: var(--fs-meta);
}
.bd-badge b {
  color: var(--sea);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
}
.bd-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s3);
  padding: var(--s4) 0;
  border-top: 1px solid var(--line);
}
.bd-stat {
  display: grid;
  gap: 2px;
}
.bd-stat b {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
}
.bd-stat span {
  color: var(--ink-3);
  font-size: 12.5px;
  line-height: 1.3;
}
.bd-sun {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s6);
  padding: var(--s4) 0;
  border-top: 1px solid var(--line);
}
.bd-sun div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bd-sun svg {
  width: 22px;
  height: 22px;
  color: var(--sea);
}
.bd-sun b {
  display: block;
  font-weight: 600;
}
.bd-sun span {
  color: var(--ink-3);
  font-size: 13px;
}
.bd-row {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.bd-row > div {
  flex: 1;
}
.bd-row__title {
  font-weight: 600;
}
.bd-row__title small {
  margin-left: 6px;
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 400;
}
.bd-row > svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--sea);
}
.bd-uv {
  flex: none;
  width: 14px;
  height: 14px;
  margin: 0 4px;
  border-radius: 50%;
  background: var(--amber);
}
.bd-tide {
  width: 100%;
  height: 64px;
}

/* Reviews: the score, its spread, the latest two. */
.bd-rsum {
  display: flex;
  align-items: center;
  gap: var(--s6);
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--line);
}
.bd-big {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
}
.bd-stars {
  display: flex;
  gap: 2px;
  margin-top: 6px;
  color: var(--amber);
}
.bd-stars svg {
  width: 14px;
  height: 14px;
}
.bd-bars {
  flex: 1;
  display: grid;
  gap: 6px;
  max-width: 360px;
}
.bd-bars p {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1;
}
.bd-bars i {
  position: relative;
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--sand-2);
}
.bd-bars i::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: 3px;
  background: var(--amber);
}
.bd-bars p:nth-child(1) {
  --w: 78%;
}
.bd-bars p:nth-child(2) {
  --w: 15%;
}
.bd-bars p:nth-child(3) {
  --w: 5%;
}
.bd-bars p:nth-child(4) {
  --w: 2%;
}
.bd-bars p:nth-child(5) {
  --w: 0%;
}
.bd-review {
  display: grid;
  gap: var(--s2);
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--line);
}
.bd-review__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bd-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sea-soft);
  color: var(--sea-deep);
  font-size: 13px;
  font-weight: 700;
}
.bd-review__name {
  font-weight: 600;
}
.bd-review__time {
  color: var(--ink-3);
  font-size: 13px;
}
.bd-review p {
  color: var(--ink-2);
}
/* None yet: nothing to blur, so nothing is. Only the app takes a review. */
.bd-empty {
  display: grid;
  justify-items: start;
  gap: var(--s2);
  padding: var(--s5) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bd-empty .bd-stars {
  margin: 0 0 4px;
  color: var(--sand-2);
}
.bd-empty .bd-stars svg {
  width: 18px;
  height: 18px;
}
.bd-empty__title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
}
.bd-write {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: var(--s2);
  padding: 0 20px;
  border: 1px solid var(--sea);
  border-radius: var(--pill);
  background: none;
  color: var(--sea-deep);
  font: inherit;
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.bd-write:hover {
  background: var(--sea-soft);
  color: var(--sea-deep);
}
.bd-write svg {
  width: 16px;
  height: 16px;
}

/* Where it is: the live map and "Get directions", which opens the app
   prompt like every other app-only action on the page. */
.bd-action {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--pill);
  background: var(--sea-deep);
  color: var(--cream);
  font: inherit;
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.bd-action:hover {
  background: var(--ink);
  color: var(--cream);
}
.bd-action svg {
  width: 16px;
  height: 16px;
}

/* =========================================================
   Smaller pieces
   ========================================================= */

/* The app's chips under the one-liner: the page's first four facts, tinted
   as in the app. */
.head-chips {
  margin-top: calc(-1 * var(--s1));
}
.head-chips li {
  border-color: transparent;
  background: var(--sea-soft);
  color: var(--sea-deep);
}

/* Beaches near one: no rank, the same photo proof as the ten. */
.picks--near .pick {
  grid-template-columns: 68px minmax(0, 1fr);
}
.picks--near .pick::before {
  content: none;
}
@media (min-width: 760px) {
  .picks--near .pick {
    grid-template-columns: 96px minmax(0, 1fr) 20px;
  }
}

/* The first call to install on a guide: after the list, never above the fold. */
.list-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5) var(--s6);
  margin-top: var(--s6);
  padding: var(--s5);
  border-radius: var(--r-xl);
  background: var(--sand);
}
.list-cta p {
  max-width: 46ch;
  color: var(--ink-2);
}
.list-cta strong {
  color: var(--ink);
  font-weight: 600;
}
@media (min-width: 760px) {
  .list-cta {
    padding: var(--s5) var(--s6);
  }
}

/* On a phone the list shows five, with a button for the rest; all ten stay
   in the HTML. A checkbox and its label, so it needs no script. */
.more-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.more-toggle__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  margin-top: var(--s4);
  border: 1px solid var(--sand-2);
  border-radius: var(--pill);
  background: var(--cream);
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
}
.more-toggle__label::after {
  content: '';
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.more-toggle:focus-visible ~ .more-toggle__label {
  outline: 2px solid var(--sea);
  outline-offset: 3px;
}
.more-toggle:checked ~ .more-toggle__label {
  display: none;
}
@media (max-width: 759px) {
  .more-toggle:not(:checked) + .picks > .pick:nth-child(n + 6) {
    display: none;
  }
}
@media (min-width: 760px) {
  .more-toggle__label {
    display: none;
  }
}

/* =========================================================
   The app prompt
   ========================================================= */

/*
 * What every "See all …", every blurred photo and "Read more" opens: a native
 * popover (popover on the element, popovertarget on the button), so it needs
 * no script and closes on Escape or a tap outside. One per page, with that
 * page's place or beach in the heading. On a phone it rises from the bottom
 * with the badge; on a computer it sits in the middle, with a phone showing
 * the app and the QR code beside the badge.
 */
.app-modal {
  width: min(560px, 100% - 32px);
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--r-xl);
  background: var(--shell);
  box-shadow: 0 40px 100px -30px rgb(28 26 23 / 55%);
  color: var(--ink);
}
.app-modal::backdrop {
  background: rgb(28 26 23 / 48%);
  backdrop-filter: blur(3px);
}
.app-modal__inner {
  position: relative;
  display: grid;
  gap: var(--s6);
  padding: var(--s6) var(--s5) var(--s5);
}
.app-modal__media {
  display: none;
}
.app-modal__body {
  display: grid;
  justify-items: start;
  gap: var(--s4);
}
.app-modal__close {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
  cursor: pointer;
}
.app-modal__close svg {
  width: 18px;
  height: 18px;
}
.app-modal__close:hover {
  background: var(--sand-2);
}
.app-modal__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-3);
  font-size: var(--fs-meta);
}
.app-modal__brand svg {
  width: 40px;
  height: 40px;
}
.app-modal__brand b {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
}
.app-modal h2 {
  padding-right: 40px;
  font-size: clamp(28px, calc(1.3rem + 1vw), 36px);
  line-height: 1.08;
}
.app-modal .checklist {
  margin: 0;
}
.app-modal__get {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s4) var(--s5);
  margin-top: var(--s2);
}
.app-modal__qr {
  display: none;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.app-modal__qr img {
  width: 96px;
  height: 96px;
  padding: 6px;
  border: 1px solid var(--sand-2);
  border-radius: 12px;
  background: #fff;
  image-rendering: pixelated;
}
.app-modal__qr figcaption {
  max-width: 13ch;
  color: var(--ink-3);
  font-size: var(--fs-meta);
  line-height: 1.4;
}
.app-modal__note {
  color: var(--ink-3);
  font-size: var(--fs-meta);
}
@media (hover: hover) and (pointer: fine) {
  .app-modal__qr {
    display: flex;
  }
}
/* A phone: a sheet from the bottom edge, like the app's own. */
@media (max-width: 759px) {
  .app-modal {
    width: 100%;
    max-width: none;
    max-height: 92%;
    margin: auto 0 0;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
  }
  .app-modal__inner {
    padding-bottom: calc(var(--s6) + env(safe-area-inset-bottom));
  }
}
@media (min-width: 760px) {
  .app-modal {
    width: min(780px, 100% - 64px);
  }
  .app-modal__inner {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
    column-gap: var(--s7);
    padding: var(--s7);
  }
  .app-modal__media {
    display: block;
  }
  /* The screen is lazy, so a phone never downloads it (the column is hidden
     there) and a laptop fetches it when the prompt opens. Until it arrives
     the screen is light, not the frame's black. */
  .app-modal__media .phone img {
    background: var(--cream);
  }
}

/* ---------- not on the canvas: the static world map's logo ---------- */

/* Mapbox's logo on the guides index's static world map, which Mapbox's
   terms require (cloudflare/site/static-maps.ts): drawn by the page, clear
   of the frame's rounded corner, and on a phone the round mark alone, as
   Mapbox GL's compact attribution draws it. */
.map-logo {
  position: absolute;
  z-index: 2;
  left: 10px;
  bottom: 8px;
  width: 17px;
  height: 17px;
  object-fit: cover;
  object-position: left;
}
@media (min-width: 760px) {
  .map-logo {
    left: 14px;
    bottom: 10px;
    width: 66px;
    height: auto;
  }
}

/* ---------- not on the canvas: the lists' photos ---------- */

/* A listed beach's photo 1 as it is (owner, 2026-11-03), where the canvas
   blurs a colour field: cropped square, unblurred. */
.pick__thumb img {
  object-fit: cover;
  filter: none;
  transform: none;
}
