/* focusscout.app's one stylesheet. The look is the blend's (the owner's approval of 20 November 2026): night navy and
   the ember of the sunset, the app's serif (New York, ui-serif) for headings and the system's sans for text, dark space,
   app screens in a plain phone frame and photographs carrying the reason. In order: the colours and type; the base;
   what every page shares (the header, the buttons and the label, the footer, the block and the strip); the blend's
   shared pieces (statements, the phone-screen figure, photographs, tags, chips, jump links, the close); Home's own
   parts (body.home); the document pages (/faq, /pro, Contact, the legal pages, the 404, the mask page: .doc); and last
   the spot pages, /spots/, the county pages and /add/ (body.spots), whose rules all start .spots. */
:root {
  --night: #0C1114;
  --surface: #161D22;
  --raised: #1F282E;
  --ink: #EDF0EE;
  --muted: #96A2A6;
  /* The app's faint (Theme.faint): 5.3:1 on night, 4.8:1 on surface. It was #636F74, 3.7:1. */
  --faint: #7D8A8F;
  --hairline: rgba(255, 255, 255, 0.08);
  --ember: #F5A858;
  --rose: #EC7070;
  --dusk: #9B7ED9;
  --swell: #47B7C4;
  --reed: #A3C97B;
  --mist: #B0C8CF;
  --ice: #B8D6FA;
  /* The app's other colours (Theme.swift): Safety notes (fair), and the wildlife groups' (birds feather, reptiles and
     amphibians sand, insects orchid). */
  --fair: #EAC96E;
  --feather: #98A5EB;
  --sand: #D8B46A;
  --orchid: #E28BCB;
  /* The app's serif: New York in Safari on a Mac, iPhone or iPad, which knows it as ui-serif; Iowan Old Style in Chrome
     or Firefox on a Mac, Palatino Linotype or Georgia on Windows, Noto Serif on Android. */
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Noto Serif", serif;
  --serif-app: var(--serif);
  /* The app's rounded figures (months, positions): SF Rounded in Safari, the system's own sans elsewhere. */
  --rounded: ui-rounded, -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* The page's side margin: 16px on a phone, 40px from 720px. */
  --gutter: 16px;
  /* The widest the blend's pages go (Home, Features, and the header and footer everywhere). */
  --wide: 1240px;
}
@media (min-width: 720px) { :root { --gutter: 40px; } }

/* Text sizes are in rem, from 17px: the browser's own size (16px unless its reader set another) times 106.25%, and on an
   iPhone or iPad the system's text size (Settings > Display & Brightness > Text Size, 17pt by default), so the pages
   grow with it as the app does. Headings grow less than the text, and never past the screen's width. */
html { -webkit-text-size-adjust: 100%; font-size: 106.25%; }
@supports (-webkit-touch-callout: none) and (font: -apple-system-body) {
  html { font: -apple-system-body; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 1rem/1.6 var(--sans);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
a { color: var(--ember); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, .button:focus-visible, summary:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: max(1.2rem, min(clamp(2.118rem, 6vw, 3.412rem), 11vw)); margin: 22px 0 14px; }
.nw { white-space: nowrap; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
/* Links inside running text are underlined, not told apart by colour alone (WCAG 2.2, 1.4.1, Level A): the words of
   the document pages, Home's paragraphs, the footer's credit and credits, the small print and the second link in the
   block, the plain App Store link inside a page, and on spot pages "More spots in...", "Open in Apple Maps" and "What is
   Focus Scout?", and on /spots/ its opening words and "Tell us". The menu's and the footer's own links, the buttons,
   the chips, the jump links and the rows of spots stay as they are. */
.doc p a, .doc li a, .doc dd a, .home p a, .features p a, .close p a, footer.site .credits a, footer.site .made a,
.get-small a, .get-second, .get-link, .spots .more a, .spots .rows a, .spots .app-note a, .spots .intro a {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em;
}

/* A highlighted landing: arriving at an anchor (/support#offer-codes) gives that heading a faint ember left edge, and
   room above it to clear the top of the screen. */
:target { scroll-margin-top: 20px; }
h2:target, h3:target { margin-left: -13px; padding-left: 10px; border-left: 3px solid rgba(245, 168, 88, 0.55); }
details:target { outline: 2px solid rgba(245, 168, 88, 0.55); }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
/* The header's and footer's own rows, and the blend's pages (Home, Features): the wide measure, the page's gutter. */
.wrap.edge, .spots .wrap.edge, .home .wrap, .features .wrap { max-width: var(--wide); padding: 0 var(--gutter); }

/* "Skip to content", the first thing in every page: above the top of the screen, whatever its height at large text,
   until the Tab key reaches it. */
.skip {
  position: absolute; left: 12px; top: 10px; z-index: 5; max-width: calc(100% - 24px); padding: 10px 14px;
  border-radius: 10px; background: var(--ember); color: var(--night); font-weight: 700;
  transform: translateY(-100%) translateY(-24px);
}
.skip:focus { transform: none; }

/* The header (build.header). The name in the serif beside the app's icon, linking home; the menu in the muted grey,
   the page's own link in the ink with an ember line under it. On a phone two rows: the name, then the menu across the
   full width; where both fit, one row, the name left and the menu right. The menu's words are 0.95rem (16px at the browser's
   own size, never smaller) and every link is 44px tall. On a phone the menu is a grid of as many columns as fit at the
   reader's text size, so it never leaves one word alone under a full row: all five in one row; or three and two; or
   two, two and one; or one under another. The header is the container the grid asks (in em, so its own text size
   counts); where container queries aren't known the menu stays one link to a row. On Home, from 900px, the header sits
   over the first screen's picture. */
.wrap.top { position: relative; z-index: 3; }
header.site {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 24px;
  padding: 6px 0 0; container: site-header / inline-size;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); white-space: nowrap;
  font: 600 min(1.1rem, 7vw)/1.2 var(--serif);
}
.brand:hover { text-decoration: none; }
.brand img { display: block; width: 30px; height: 30px; border-radius: 7px; }
header.site nav {
  flex: 1 1 100%; display: grid; grid-template-columns: repeat(var(--menu-columns, 1), max-content);
  justify-content: space-between; column-gap: 0.7em; font-size: 0.95rem;
}
header.site nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); white-space: nowrap; }
header.site nav a:hover { color: var(--ink); text-decoration: none; }
header.site nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ember);
  text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
/* The widths, in the header's em, that two, three and five columns need: each column as wide as its widest label (in
   the menu's own text: Home 2.7em, Features 3.9, Locations 4.3, FAQs 2.4, Contact 3.6), with the gaps, at the menu's
   0.95em, and a little to spare for other system fonts. */
@container site-header (min-width: 9em) { header.site nav { --menu-columns: 2; } }
@container site-header (min-width: 12.2em) { header.site nav { --menu-columns: 3; } }
@container site-header (min-width: 19.2em) { header.site nav { --menu-columns: 5; } }
@media (min-width: 640px) { header.site { padding: 14px 0; } }
/* Where the name and all five links fit one row at the reader's text size (from about 640px at the browser's own
   size), the menu sits right of the name. */
@container site-header (min-width: 32em) {
  header.site nav { flex: 0 1 auto; display: flex; justify-content: flex-end; column-gap: 24px; }
}
@media (min-width: 900px) {
  .home .wrap.top { position: absolute; top: 0; left: 0; right: 0; }
}

/* Buttons, and the label in the App Store link's place. A button is a pill: ink on night, ember when pointed at; the
   main one (get-main, the App Store's after release) ember. The label "Coming soon to the App Store" (soon, and the
   block's get-app-soon) is an ember outline with a dot, never a link. Everything to tap is 44px tall or more, and its
   words wrap rather than run out of it. */
.cta, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.actions { margin: 22px 0 6px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px;
  border-radius: 999px; border: 0; background: var(--ink); color: var(--night); font-weight: 600; font-size: 0.92rem;
  line-height: 1.3; text-align: center; transition: background-color 0.2s ease;
}
.button:hover { text-decoration: none; background: var(--ember); }
.get-main { background: var(--ember); color: var(--night); }
.get-main:hover { background: #F8BC7C; }
.soon, .get-app-soon {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border: 1px solid rgba(245, 168, 88, 0.45); border-radius: 999px; color: var(--ember);
  font-size: 0.92rem; font-weight: 600; line-height: 1.3;
}
.soon::before, .get-app-soon::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); }
/* Apple's own badge (build.APP_STORE_BADGE), its artwork as Apple gives it, 48px tall, with at least a quarter of its
   height clear round it (Apple's rule): the row's 12px gap. */
.badge.store { display: inline-block; line-height: 0; }
.badge.store img { display: block; width: auto; height: 48px; max-width: none; }

/* Shared type. */
.kicker { margin: 0; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); font-weight: 600; }
.lede { margin: 0; font-size: clamp(1.1rem, 1rem + 0.6vw, 1.45rem); line-height: 1.5; color: var(--ink); max-width: 30ch; }
.quiet { color: var(--muted); }
.small { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }
.num { display: block; margin-bottom: 14px; font-family: var(--serif); font-style: italic; color: var(--ember); font-size: 1.05rem; }
section { padding: 28px 0; }
section > h2 { font-size: max(1.1rem, min(1.765rem, 8vw)); margin-bottom: 10px; }

/* The footer (build.footer), on every page: Privacy and Terms, the maker's credit (the name to the maker's own
   website, underlined), the promise in the ink, then the small print. Stacked on a phone; from 900px the links, the
   credit and the promise share a row, the small print under them. */
footer.site {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 20px; row-gap: 6px;
  border-top: 1px solid var(--hairline); margin-top: 32px; padding: 26px 0 44px; color: var(--muted); font-size: 0.85rem;
}
footer.site a { color: var(--muted); }
/* The footer's own links, in a row that wraps: each over 24px tall, with a gap to the next. */
footer.site > a { display: inline-block; padding: 5px 0; text-decoration: underline; text-underline-offset: 0.2em; }
footer.site p { margin: 0; flex: 1 1 100%; min-width: 0; }
footer.site .made { margin-top: 6px; }
footer.site .promise { color: var(--ink); }
/* The data credits in small print (owner, 18 November 2026): about 70% of the footer's size, never under 10px. */
footer.site p.credits { margin-top: 12px; color: var(--faint); font-size: max(0.75em, 10px); line-height: 1.5; overflow-wrap: anywhere; }
@media (min-width: 900px) {
  footer.site { column-gap: 28px; }
  footer.site .made { flex: 1 1 auto; margin-top: 0; }
  footer.site .promise { flex: 0 1 auto; }
}

/* Get the app (build.get_app writes it after the main content of /spots/, /faq and /pro: Home and Features end with
   the close instead). The full block: a band the full width of the page, a hairline above it and a soft ember glow;
   centred in it the title in the large serif, one sentence, the main button with the second link beside it (stacked
   and full width on a phone), then two small lines. */
.get-app {
  margin-top: 40px; padding: 56px 0 44px; border-top: 1px solid var(--hairline); text-align: center;
  background: radial-gradient(900px 340px at 50% 0%, rgba(245, 168, 88, 0.10), transparent 70%);
}
.get-app + .wrap > footer.site, .doc + .get-app { margin-top: 0; }
.get-title {
  font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 12px; letter-spacing: -0.02em;
  font-size: max(1.2rem, min(clamp(1.8rem, 4.4vw, 2.6rem), 9vw)); text-wrap: balance;
}
.get-lede { margin: 0 auto; max-width: 34em; color: var(--muted); font-size: 1.059rem; }
.get-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin: 24px 0 18px; }
.get-actions > *, .mail > * { min-width: 0; overflow-wrap: anywhere; }
.get-second { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 4px; font-weight: 600; }
/* The small print: the muted colour, not the faint grey. */
.get-small { margin: 6px auto 0; max-width: 52em; color: var(--muted); font-size: 0.85rem; }
@media (max-width: 639px) {
  .get-actions, .mail { flex-direction: column; align-items: stretch; }
}
/* The strip: one hairline box above the footer with one sentence, one button and one small line. Stacked on a phone,
   the button full width; from 640px the words left and the button right. */
.get-strip {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 28px; padding: 18px 20px;
  border: 1px solid var(--hairline); border-radius: 18px; background: var(--surface);
}
.doc + .wrap > .get-strip { margin-top: 0; }
.get-strip p { margin: 0; }
.get-strip .get-small { max-width: none; }
.get-strip .button { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 640px) {
  .get-strip { grid-template-columns: minmax(0, 1fr) minmax(0, auto); column-gap: 24px; row-gap: 4px; align-items: center; }
  .get-strip .button { grid-column: 2; grid-row: 1 / span 2; }
  .get-strip p { grid-column: 1; }
}
/* The plain link inside the longest pages (build.plain_link): words on a line of their own, the link underlined. */
.get-plain { margin: 14px 0; }

/* ---- The blend's shared pieces (Home, and Features to come) ---------------------------------------------------- */

/* A statement (Home's One to Five; Features' parts: section.statement.part): the words, then a picture or an app
   screen beside them from 900px, swapping sides with .flip. In the words: the number or label, the serif headline, the
   reader's line (.ask, serif, the ember for its turn), the proof (.proof, muted) and one quiet link (.see). */
.statement { padding: clamp(60px, 12vh, 150px) 0; border-top: 1px solid var(--hairline); }
.statement > .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.statement h2 { font-size: clamp(2.1rem, 10.5vw, 5.4rem); line-height: 0.98; letter-spacing: -0.025em; max-width: 15ch; margin: 0; }
.statement .ask { margin: 22px 0 0; font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem); line-height: 1.42; color: var(--ink); max-width: 30ch; }
.statement .ask em { color: var(--ember); }
.statement .proof { margin: 22px 0 0; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--muted); max-width: 34ch; line-height: 1.55; }
.statement .ask + .proof { margin-top: 18px; }
.statement .proof strong { color: var(--ink); font-weight: 600; }
/* A part's small label over its headline (Features), in the ember. */
.label { margin: 0 0 12px; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); font-weight: 600; }
/* The quiet link at the end of a statement: "See it in the app", an arrow drawn after it. */
.see { margin: 22px 0 0; font-size: 0.95rem; font-weight: 600; }
.see a::after {
  content: ""; display: inline-block; width: 0.42em; height: 0.42em; margin-left: 0.45em; vertical-align: 0.08em;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg);
}
@media (min-width: 900px) {
  .statement > .wrap { grid-template-columns: 1.05fr 1fr; gap: 7vw; }
  .statement.flip .words { order: 2; }
  .statement h2 { font-size: min(5.4rem, 5.2vw); max-width: 16ch; }
}
/* A long statement: the words and a picture, then a part the full width underneath. */
.statement.long .span { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 900px) {
  .statement.long > .wrap { row-gap: 72px; }
  .statement.long.flip .photo { order: 1; }
  .statement.long.flip .words { order: 2; }
  .statement.long .span { order: 3; }
  /* The headline beside the reader's line and the proof. */
  .statement.headed .words { grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 7vw; align-items: end; }
  .statement.headed .words .ask { margin-top: 0; }
}

/* A tag saying what is free and what is Pro (Features): Free in the mist blue, Pro in the ember. */
.tag {
  display: inline-block; margin: 14px 0 0; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(176, 200, 207, 0.4);
  color: var(--mist); font-size: 0.82rem; font-weight: 600; line-height: 1.4;
}
.tag.pro { border-color: rgba(245, 168, 88, 0.45); color: var(--ember); }

/* The twelve conditions as chips (build.moments: ul.moments), each edged in the app's colour for it. */
.moments { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.moments li { max-width: 100%; padding: 5px 12px; border: 1px solid var(--tint, var(--hairline)); border-radius: 999px; font-size: 0.88rem; font-weight: 600; }
.moments .t-mist { --tint: var(--mist); } .moments .t-ice { --tint: var(--ice); } .moments .t-swell { --tint: var(--swell); }
.moments .t-ember { --tint: var(--ember); } .moments .t-rose { --tint: var(--rose); } .moments .t-reed { --tint: var(--reed); }
.moments .t-dusk { --tint: var(--dusk); } .moments .t-fair { --tint: var(--fair); }

/* Jump links under a page's head (nav.jumps, labelled On this page): a row that wraps, each 44px to tap. */
nav.jumps ul { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 18px; }
nav.jumps a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 0.9rem; }
nav.jumps a:hover { color: var(--ink); }

/* A page's head (Features): kicker, a large serif headline with its ember turn, the lede. */
.page-head { padding: clamp(36px, 8vh, 96px) 0 clamp(40px, 7vh, 80px); }
.page-head h1 { font-size: clamp(3rem, 13vw, 8rem); line-height: 0.92; letter-spacing: -0.035em; margin: 18px 0 28px; max-width: 12ch; }
.page-head h1 em { color: var(--ember); font-weight: 500; }
.page-head .lede { max-width: 38ch; }

/* Photographs: full width on a phone (past the page's gutter), and a tall frame beside the words from 900px. */
.photo { margin: 0; }
.photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 899px) { .photo { margin: 0 calc(-1 * var(--gutter)); } }
@media (min-width: 900px) { .photo img { aspect-ratio: 4 / 5; border-radius: 4px; } }

/* An app screen in a plain phone frame (figure.screen > .frame > img): shown whole, large, never tiny. A .crop frame
   holds a screen already cut to the part that proves the point, with no outline of its own. */
.screen { margin: 0 auto; width: min(100%, 340px); }
@media (min-width: 900px) { .screen { width: min(100%, 400px); } }
.screen .frame { overflow: hidden; border-radius: 30px; border: 1px solid rgba(255, 255, 255, 0.12); background: var(--surface);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.screen img { display: block; width: 100%; }
.screen .frame.crop { border: 0; background: none; box-shadow: none; border-radius: 26px; }
.screen figcaption { margin-top: 12px; color: var(--muted); font-size: 0.88rem; text-align: center; }

/* The close (build.close_block), inside the main element of Home and Features: a picture, "See you out there.", the
   definition, the App Store line and Browse the locations, the small line; on Home the maker's credit (#maker). On a
   phone the picture is a band above the words; from 900px it sits behind them on the right. */
.close { padding: 0 0 56px; border-top: 1px solid var(--hairline); position: relative; overflow: hidden; }
.close h2 { font-size: clamp(3rem, 14vw, 8.5rem); line-height: 0.92; letter-spacing: -0.035em; margin: 0; }
.close h2 em { color: var(--ember); font-weight: 500; }
.close .plain { margin: 28px 0 0; max-width: 46ch; color: var(--muted); font-size: 1.05rem; }
.close .cta { margin-top: 30px; }
.close .platform { margin: 18px 0 0; max-width: 46ch; }
.close .credit { margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--hairline); max-width: 52ch;
  font-family: var(--serif); font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); line-height: 1.5; color: var(--ink); }
.close .credit a { color: var(--ink); text-decoration-color: var(--ember); }
.close-picture { margin: 0 0 28px; position: relative; }
/* The photograph (PHOTOS' close): the sun on the sea's horizon low in the frame, kept clear of the fade into the page
   below it, on a phone the whole picture (it is about 16:9 itself). */
.close-picture img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 50%; }
.close-picture::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent 84%, var(--night) 100%); }
@media (min-width: 900px) {
  .close { padding: clamp(80px, 14vh, 170px) 0 clamp(64px, 10vh, 110px); }
  .close .wrap { position: relative; z-index: 2; }
  .close-picture { position: absolute; inset: 0 0 0 42%; margin: 0; z-index: 1; }
  .close-picture::after { background: linear-gradient(to bottom, transparent 86%, var(--night) 100%); }
  /* A tall frame on the right: its left part, so the sun sits about two thirds across, clear of the fade on its left,
     which, as on the first screen, moves right as the reader's text grows (--clear). */
  .close-picture { --clear: max(0px, calc(34rem - 578px)); }
  .close-picture img { height: 100%; aspect-ratio: auto; object-position: 6% 50%; opacity: 0.85;
    -webkit-mask-image: linear-gradient(to right, transparent var(--clear), #000 calc(var(--clear) + 55%));
            mask-image: linear-gradient(to right, transparent var(--clear), #000 calc(var(--clear) + 55%)); }
}

/* ---- Features (main.features) ----------------------------------------------------------------------------------- */

/* Each part (section.statement.part): .head (label, headline, tag), .shots (the app screens), .body (the words), in
   that order on a phone; from 900px the head and body in one column, centred against the screens in the other, the
   sides swapping part by part (.flip). A long part (the map) adds .span, the layers, the full width underneath. */
main.features { overflow-x: hidden; overflow-x: clip; }
.features .page-head h1 { max-width: 10ch; }
.features .part h2 { font-size: clamp(2.1rem, 9.5vw, 4.4rem); max-width: 14ch; }
.features .part > .wrap { grid-template-areas: "head" "shots" "body"; gap: 26px; align-items: start; }
.features .part .head { grid-area: head; min-width: 0; }
.features .part .shots { grid-area: shots; min-width: 0; display: grid; gap: 22px; justify-items: center; }
.features .part .body { grid-area: body; min-width: 0; }
.features .part .tag { margin-top: 18px; }
.features .part .body > :first-child { margin-top: 0; }
.features .part .proof { max-width: 40ch; }
.features .part .ask { max-width: 26ch; }
.features .part .small { margin: 18px 0 0; max-width: 46ch; }
.features .moments { margin: 20px 0 4px; }
/* Two screens: on a phone the second sits under the first, both at full size (a sideways row showed only a sliver of
   the second, so it looked cut off); from 900px side by side in the column. */
.features .pair { display: grid; gap: 28px; justify-items: center; width: 100%; }
.features .pair .screen { width: min(100%, 340px); }
.features .screen.small { width: min(100%, 320px); }
/* The lines set apart: the map's habit and the journal's promise. */
.features .habit, .features .callout { margin: 24px 0 0; padding-left: 16px; border-left: 2px solid var(--ember);
  max-width: 40ch; font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; color: var(--ink); }
.features .body ul.tools, .features .body ul.three { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; max-width: 40ch; }
.features .body ul.tools li, .features .body ul.three li { position: relative; padding-left: 18px; color: var(--muted); }
.features .body ul.tools li::before, .features .body ul.three li::before { content: ""; position: absolute; left: 0; top: 0.8em;
  width: 8px; height: 1px; background: var(--ember); }
.features .body li strong { color: var(--ink); font-weight: 600; }
/* The map's nine layers: nine equal tiles, each a 4:5 crop of the map itself with the layer on (no status bar, day
   chips, buttons or tab bar), its name and one line under it. Two to a row on a phone, the ninth centred under the
   eighth at the same size; three rows of three from 600px. Nothing scrolls sideways. */
.features .layers-title { font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); margin: 0 0 16px; }
.features .layers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.features .layers li { min-width: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.features .layers li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); }
.features .layers img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 10px;
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.12); background: var(--surface); }
.features .layers strong { display: block; color: var(--ink); font-size: 0.95rem; margin-bottom: 2px; }
@media (min-width: 600px) {
  .features .layers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
  .features .layers li:last-child:nth-child(odd) { grid-column: auto; justify-self: stretch; width: auto; }
}
@media (min-width: 900px) {
  .features .part > .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas: ". shots" "head shots" "body shots" ". shots"; column-gap: 7vw; row-gap: 0; }
  .features .part.flip > .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-areas: "shots ." "shots head" "shots body" "shots ."; }
  .features .part.long > .wrap { grid-template-rows: 1fr auto auto 1fr auto;
    grid-template-areas: ". shots" "head shots" "body shots" ". shots" "span span"; }
  .features .part.long .span { grid-area: span; margin-top: 72px; }
  .features .part .body { margin-top: 26px; }
  .features .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; max-width: 560px; }
  .features .pair .screen { width: 100%; }
  .features .layers { gap: 40px 32px; }
  .features .layers li { font-size: 0.95rem; }
  .features .layers strong { font-size: 1.05rem; }
}
/* Good to know: a quiet grid of short facts, no screens. */
.features .facts { padding: clamp(60px, 10vh, 120px) 0; border-top: 1px solid var(--hairline); }
.features .facts h2 { font-size: clamp(1.8rem, 1.4rem + 2vw, 3rem); margin: 0 0 28px; }
.features .facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 0 32px; }
.features .facts li { min-width: 0; padding: 16px 0 18px; border-top: 1px solid var(--hairline); color: var(--muted); }
.features .facts strong { color: var(--ink); font-weight: 600; }
/* Free or Pro: the headline, a card for each, Apple's words in small print, the link to /pro. */
.features .free-or-pro { padding: clamp(60px, 12vh, 150px) 0; border-top: 1px solid var(--hairline); }
.features .free-or-pro h2 { font-size: clamp(2.1rem, 9vw, 5rem); line-height: 0.98; letter-spacing: -0.025em; max-width: 14ch; margin: 0; }
.features .free-or-pro h2 em { color: var(--ember); font-weight: 500; }
.features .tiers { display: grid; gap: 16px; margin-top: 36px; }
.features .tier { background: var(--surface); border: 1px solid var(--hairline); border-radius: 18px; padding: 22px 24px; min-width: 0; }
.features .tier.pro { border-color: rgba(245, 168, 88, 0.45); }
.features .tier .tag { margin: 0 0 12px; }
.features .tier p { margin: 0; }
.features .tier p:last-child { color: var(--ink); }
.features .tier strong { color: var(--ember); font-weight: 600; }
.features .free-or-pro .small { margin: 18px 0 0; max-width: 60rem; }
@media (min-width: 900px) { .features .tiers { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 899px) { .features .facts, .features .free-or-pro { padding: 60px 0; } }

/* ---- Home (body.home, main.home) ---------------------------------------------------------------------------------- */

main.home { overflow-x: hidden; overflow-x: clip; }
/* The first screen: the kicker, "Get out more." very large, the lede, the App Store line and Browse the locations, over
   the first photograph (PHOTOS' first-screen): under the words on a phone, behind them on the right from 900px. */
.home .hero { position: relative; overflow: hidden; padding: 0; }
/* On a phone the label in the App Store link's place stays on an iPhone SE's first screen (check.py's FIRST_SCREEN). */
.home .hero .wrap { position: relative; z-index: 2; padding-top: 8px; padding-bottom: 28px; }
.home .hero h1 { font-size: clamp(4rem, 22vw, 11.5rem); line-height: 0.88; letter-spacing: -0.035em; margin: 8px 0 18px; }
.home .hero h1 em { font-style: italic; color: var(--ember); font-weight: 500; }
.home .hero .lede { margin-bottom: 22px; }
/* The photograph (PHOTOS' first-screen, a wide panorama of mist between pines): on a phone a wide band under the
   buttons, its edges fading into the page; from 900px behind the words on the right. */
.hero-picture { margin: 8px 0 0; position: relative; }
.hero-picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 70%, var(--night) 100%); pointer-events: none; }
.hero-picture img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 58% 50%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%); }
@media (min-width: 900px) {
  .home .hero { min-height: min(900px, 100vh); display: flex; align-items: center; }
  .home .hero .wrap { width: 100%; padding-top: 110px; padding-bottom: 120px; }
  .hero-picture { position: absolute; inset: 0 0 0 30%; margin: 0; z-index: 1; }
  /* The menu sits over the pale mist at the top of the picture: a soft shade from the top, no deeper than the menu needs
     to keep its contrast (AA), as well as the fade into the page at the foot. */
  .hero-picture::after { background: linear-gradient(to bottom, rgba(12, 17, 20, 0.93) 0, rgba(12, 17, 20, 0.88) 64px, rgba(12, 17, 20, 0) 200px),
    linear-gradient(to bottom, transparent 62%, var(--night) 100%); }
  /* The fade on its left starts further right as the reader's text grows (--clear: nothing at the text's own size,
     then as far as the words reach past the headline's width at that size), so the words never sit on the picture. */
  .hero-picture { --clear: max(0px, calc(39rem - 663px)); }
  .hero-picture img { height: 100%; aspect-ratio: auto; object-position: 60% 50%; opacity: 0.9;
    -webkit-mask-image: linear-gradient(to right, transparent var(--clear), rgba(0,0,0,0.55) calc(var(--clear) + 30%), #000 calc(var(--clear) + 60%));
            mask-image: linear-gradient(to right, transparent var(--clear), rgba(0,0,0,0.55) calc(var(--clear) + 30%), #000 calc(var(--clear) + 60%)); }
  .home .hero h1 { text-shadow: 0 2px 40px rgba(12, 17, 20, 0.6); }
  #h-new { font-size: min(4.7rem, 4.4vw); }
  /* Two's photograph, upright here: the sun through the leaves, right of centre, and its reflection. */
  .home .photo img { object-position: 78% 50%; }
}

/* Two: the wall of places, serif names, each with its region in small capitals; the counts by nation, big ember
   figures over hairlines. Every name and count links to its page. */
.home .wall { list-style: none; margin: 0; padding: 0; font-family: var(--serif); letter-spacing: -0.01em; }
.home .wall a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.22);
  text-decoration-thickness: 1px; text-underline-offset: 0.18em; transition: color 0.2s ease; }
.home .wall a:hover { color: var(--ember); }
.home .wall span { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 899px) {
  .home .wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 7.5rem), 1fr)); gap: 14px 18px; font-size: 1.15rem; line-height: 1.25; }
  .home .wall li { display: block; min-width: 0; }
  .home .wall span { display: block; margin-top: 3px; white-space: normal; }
}
@media (min-width: 900px) {
  .home .wall { font-size: clamp(1.3rem, 1.05rem + 1.2vw, 2.3rem); line-height: 1.3; }
  .home .wall li { display: inline-block; max-width: 100%; margin-right: 0.8em; }
  .home .wall span { font-size: max(0.42em, 0.7rem); vertical-align: 0.35em; }
}
.home .wall-note { margin: 22px 0 0; color: var(--muted); max-width: 44ch; }
.home .nations { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.5rem), 1fr)); gap: 0 20px; }
.home .nations li { border-top: 1px solid var(--hairline); min-width: 0; }
.home .nations a { display: block; padding: 16px 0 18px; color: var(--ink); font-size: 0.95rem; }
.home .nations a:hover { color: var(--ember); text-decoration: none; }
.home .nations b { display: block; margin-bottom: 6px; font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 1.6rem + 1.6vw, 3.2rem); line-height: 1; color: var(--ember); letter-spacing: -0.02em; }
@media (min-width: 900px) { .home .nations { margin-top: 44px; grid-template-columns: repeat(4, 1fr); gap: 0 32px; } }
.home .nations-foot { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.home .nations-foot p { margin: 0; }

/* Three: the year, four quarters, each a picture over three months. */
.home .year { display: grid; gap: 20px; }
.home .season { margin: 0 calc(-1 * var(--gutter)); }
/* Each photograph's subject kept in the frame: a 5:2 strip on a phone, a 4:3 tile from 900px. January to March, the
   roe deer low in the middle; April to June, the boat with the cove's sand under it; July to September, the stags'
   locked antlers, left of centre; October to December, the breaking waves. */
.home .season img { display: block; width: 100%; aspect-ratio: 5 / 2; object-fit: cover; object-position: 50% 75%; }
.home .season.s2 img { object-position: 50% 48%; }
.home .season.s3 img { object-position: 30% 60%; }
.home .season.s4 img { object-position: 50% 45%; }
.home .months { list-style: none; margin: 0; padding: 0; }
.home .months li { display: grid; grid-template-columns: 2.8rem minmax(0, 1fr); gap: 0 12px; padding: 8px 0; border-top: 1px solid var(--hairline); }
.home .months li:first-child { border-top: 0; }
.home .months abbr { text-decoration: none; font-family: var(--serif); font-style: italic; color: var(--ember); font-size: 1.05rem; line-height: 1.5; }
.home .months h3 { font-size: 1.08rem; line-height: 1.3; letter-spacing: -0.005em; }
.home .months h3 a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.22);
  text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.home .months h3 a:hover { color: var(--ember); }
.home .months p { margin: 2px 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.home .months p a { color: var(--muted); }
@media (min-width: 900px) {
  .home .year { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .home .season { margin: 0 0 8px; }
  .home .season img { aspect-ratio: 4 / 3; border-radius: 4px; object-position: 50% 50%; }
  .home .season.s2 img { object-position: 50% 50%; }
  .home .season.s3 img { object-position: 25% 50%; }
  .home .season.s4 img { object-position: 50% 50%; }
  .home .months li { grid-template-columns: 1fr; padding: 16px 0; }
  .home .months li:first-child { border-top: 1px solid var(--hairline); }
  .home .months abbr { font-size: 0.95rem; margin-bottom: 2px; }
  .home .months h3 { font-size: 1.15rem; }
  .home .months p { margin-top: 3px; font-size: 0.92rem; line-height: 1.5; }
}

/* And one more: words only, big. */
.home .honest { padding: clamp(72px, 16vh, 200px) 0; border-top: 1px solid var(--hairline); }
.home .honest h2 { font-size: clamp(2.7rem, 11vw, 7.2rem); line-height: 0.95; letter-spacing: -0.03em; max-width: 13ch; margin: 0; }
.home .honest h2 em { color: var(--ember); font-weight: 500; }
.home .honest .proof { margin: 28px 0 0; font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); color: var(--muted); max-width: 40ch; }
.home .limits { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; max-width: 46rem; }
.home .limits li { padding-left: 22px; position: relative; color: var(--muted); }
.home .limits li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 10px; height: 1px; background: var(--ember); }
.home .limits strong { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) {
  .home .honest .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 7vw; align-items: end; }
  .home .honest h2 { font-size: min(6rem, 5.6vw); max-width: 14ch; }
  .home .honest .proof { margin-top: 0; }
  .home .limits { gap: 18px; }
}

/* Free and Pro: two cards, Pro's with an ember edge, then Apple's renewal words in small print. */
.home .price { padding: clamp(60px, 12vh, 150px) 0; border-top: 1px solid var(--hairline); }
.home .price h2 { font-size: clamp(1.55rem, 8.4vw, 5rem); line-height: 1.02; letter-spacing: -0.025em; margin: 0; }
.home .tiers { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 900px) { .home .tiers { grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; } }
.home .tier { background: var(--surface); border: 1px solid var(--hairline); border-radius: 18px; padding: 26px 24px; }
.home .tier h3 { font-size: 1.6rem; line-height: 1.1; }
.home .tier p { margin: 0; }
.home .tier .cost { font-family: var(--serif); font-size: 1.15rem; color: var(--ember); margin: 6px 0 14px; }
/* Each price keeps together ("£29.99 a year") where the line has room, and wraps inside itself only where it hasn't
   (the largest text on a small phone). */
.home .tier .nw { display: inline-block; white-space: normal; }
.home .tier .why { font-family: var(--serif); font-size: 1.12rem; line-height: 1.45; color: var(--ink); margin-bottom: 14px; }
.home .tier p + p { margin-top: 10px; }
.home .tier .why + p, .home .tier .why + ul { margin-top: 0; }
.home .tier.pro { border-color: rgba(245, 168, 88, 0.45); }
.home .tier ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.home .tier li { padding-left: 18px; position: relative; }
.home .tier li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 8px; height: 1px; background: var(--ember); }
.home .tier ul + p { margin-top: 14px; }
.home .price .fine { margin: 20px 0 0; max-width: 60rem; }
.home .price .fine a { color: var(--ember); }

/* Phones: tighter gaps between sections, to pay for the pictures. */
@media (max-width: 899px) {
  .statement, .home .price { padding: 60px 0; }
  .statement.long > .wrap { gap: 28px; }
  .home .honest { padding: 72px 0; }
}

/* One gentle arrival for the first screen's words, off when the reader asks for less motion. */
@media (prefers-reduced-motion: no-preference) {
  .home .hero h1, .home .hero .lede, .home .hero .cta { animation: rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
  .home .hero .lede { animation-delay: 0.12s; }
  .home .hero .cta { animation-delay: 0.22s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .button, .home .wall a { transition: none; }
}

/* ---- The document pages (.doc): /faq, /pro, Contact, Privacy, Terms, /privacy/contacted, the 404, the mask page ---- */

/* In the blend's look: the small ember line (kicker) over a large serif heading with its ember turn, the opening in
   the serif, and each part of the page set apart by a hairline and room above it. */
.doc { padding-top: clamp(24px, 6vh, 64px); padding-bottom: 48px; }
.doc > .kicker { margin: 18px 0 0; color: var(--ember); }
.doc h1 { font-size: max(1.2rem, min(clamp(2.4rem, 7.5vw, 4.4rem), 11vw)); line-height: 1.02; letter-spacing: -0.03em; margin: 18px 0 18px; max-width: 16ch; }
.doc .kicker + h1 { margin-top: 12px; }
.doc h1 em { color: var(--ember); font-weight: 500; }
.doc h2 { font-size: max(1.1rem, min(1.6rem, 6.5vw)); margin: 34px 0 6px; }
.doc > h2 { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--hairline); }
.doc p { color: var(--muted); margin: 8px 0; }
.doc ul, .doc ol { padding-left: 20px; }
.doc li { color: var(--muted); margin: 6px 0; }
.doc strong { color: var(--ink); }
.doc .updated { color: var(--faint); font-size: 0.824rem; }
.doc .intro { color: var(--ink); font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; }
.doc .also { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.muted { color: var(--muted); }
/* /pro and /faq: the cards (.plan; Pro's with the ember edge), two side by side from 640px (.plan-grid.even). */
.plan-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.doc .plan-grid, .doc > .plan { margin: 18px 0; }
.plan { background: var(--surface); border: 1px solid var(--hairline); border-radius: 18px; padding: 22px; }
.plan.pro { border-color: rgba(245, 168, 88, 0.45); }
.plan h2 { font-size: max(1.1rem, min(1.6rem, 8vw)); margin: 0 0 12px; }
.plan p { color: var(--muted); margin: 0; }
.plan p + p { margin-top: 12px; }
.plan strong { color: var(--ink); }
.plan p.price { color: var(--ink); border-top: 1px solid var(--hairline); padding-top: 14px; }
.plan h2 + .price { border: 0; padding: 0; }
.plan .price strong { color: var(--ember); }
.doc .plan h2 { margin-top: 0; }
/* /pro's comparison, a real table: three columns from 640px, the heading row staying in view; on a phone each row a
   block, Free and Pro each with a label drawn for the eye only (the heading row hidden as .visually-hidden hides, never
   display none: a screen reader keeps the table, by the roles in the source). /faq's score bands likewise. */
.compare, .bands { width: 100%; margin: 12px 0; border-collapse: collapse; }
.compare th, .compare td, .bands th, .bands td { padding: 10px 14px 10px 0; border-top: 1px solid var(--hairline); text-align: left; vertical-align: top; }
.compare td, .bands td { color: var(--muted); }
.compare thead th, .compare thead td { position: sticky; top: 0; border: 0; background: var(--night); }
@media (max-width: 639px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td, .bands, .bands tbody, .bands tr, .bands th, .bands td { display: block; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody tr, .bands tr { padding: 10px 0; border-top: 1px solid var(--hairline); }
  .compare tbody th, .compare td, .bands th, .bands td { padding: 2px 0; border: 0; }
  .compare td::before {
    content: "Free"; content: "Free" / ""; display: inline-block; min-width: 2.8em; margin-right: 8px;
    color: var(--ink); font-weight: 600;
  }
  .compare td + td::before { content: "Pro"; content: "Pro" / ""; color: var(--ember); }
}
@media (min-width: 640px) {
  .places, .plan-grid.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare tbody th { width: 30%; }
}
@media (min-width: 760px) {
  .plan-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; }
  .plan-grid.even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
}
/* /faq: the jump list (a row each, 44px to tap; two columns from 640px), the guide's opening in the serif, the
   Sensitive site lines in reed green, and the twelve condition notes, which fold, each edged in the app's colour, its
   plus or minus drawn here. Contact: the address large and free to break, its mail buttons (.mail) and its jump list of
   chips (nav.chips). */
.jump p { margin: 14px 0 2px; color: var(--ink); font-weight: 700; }
.jump ul { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 28px; margin: 0; padding: 0; list-style: none; }
.jump li { margin: 0; border-top: 1px solid var(--hairline); }
.doc .jump a { display: flex; align-items: center; min-height: 44px; padding: 4px 0; text-decoration: none; }
.faq > h2 { font-size: max(1.1rem, min(1.6rem, 8vw)); }
.faq h3 { font-size: 1.118rem; margin: 26px 0 4px; }
.faq strong { color: var(--ink); }
.to-top a { display: inline-flex; align-items: center; min-height: 44px; }
.faq hr { margin: 24px 0 0; border: 0; border-top: 1px solid var(--hairline); }
.morning p, .reed p, .reed li { color: var(--ink); }
.morning p { font: 1.118rem/1.5 var(--serif); }
.reed { margin: 12px 0; padding: 4px 14px; border-radius: 14px; background: rgba(163, 201, 123, 0.12); }
.faq .t-mist { --tint: var(--mist); } .faq .t-ice { --tint: var(--ice); } .faq .t-swell { --tint: var(--swell); }
.faq .t-ember { --tint: var(--ember); } .faq .t-rose { --tint: var(--rose); } .faq .t-reed { --tint: var(--reed); }
.faq .t-dusk { --tint: var(--dusk); } .faq .t-fair { --tint: var(--fair); }
.faq details { margin: 8px 0; padding: 0 14px; border-left: 3px solid var(--tint); border-radius: 0 12px 12px 0; background: var(--surface); }
.faq summary { position: relative; display: block; min-height: 44px; padding: 9px 30px 9px 0; color: var(--ink); font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--tint), var(--tint)) center / 100% 2px no-repeat, linear-gradient(var(--tint), var(--tint)) center / 2px 100% no-repeat;
}
.faq [open] > summary::after { background-size: 100% 2px, 0 0; }
.faq details p { margin: 0; padding-bottom: 12px; }
.doc .address { display: block; margin: 6px 0; font: 600 max(1.2rem, min(1.647rem, 7vw))/1.3 var(--serif); overflow-wrap: anywhere; }
nav.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 20px 0 4px; color: var(--muted); }
.places { list-style: none; margin: 0; padding: 0; }
.places { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 28px; max-width: 52em; }
.places li { display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; border-top: 1px solid var(--hairline); }
.places a { display: flex; align-items: center; min-height: 44px; min-width: 0; overflow-wrap: anywhere; }
.places a:first-child { flex: 1 1 10em; color: var(--ink); font-weight: 600; }
nav.chips a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--hairline); background: var(--raised); color: var(--ink); font-weight: 600;
}
nav.chips a:hover { text-decoration: none; border-color: rgba(245, 168, 88, 0.45); }
@media (min-width: 640px) {
  .jump ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bands th { width: 7em; }
}

/* Spot pages, /spots/, the county pages and /add/ (body.spots, from build.py): the app's spot page (OpportunityDetail,
   CardParts, Theme) for the web. Every rule starts .spots, so none reaches the home page or the others.
   Widths: under 640px a phone, one column, 16px edges; 640-959px a tablet, one column, 24px edges, the buttons and
   Getting there side by side at the foot; from 960px a laptop, the header across, then the cards and a 320px side
   column beside them that stays in view (when the window is 44em tall or more, scrolling on its own if it's taller).
   The page's code is in reading order, and every width shows it in that order, so the Tab key goes where the eye does.
   Plain CSS that Safari 14.1, Chrome, Edge and Firefox all have (flex and grid gap, min(), max() and clamp(); dvh
   where there is one, vh before): no :has(), container queries, subgrid or color-mix(). */

/* The app's colours by name, each with a soft fill and an edge. */
.spots .t-ember   { --tint: var(--ember);   --soft: rgba(245, 168, 88, 0.13);  --edge: rgba(245, 168, 88, 0.32); }
.spots .t-rose    { --tint: var(--rose);    --soft: rgba(236, 112, 112, 0.13); --edge: rgba(236, 112, 112, 0.32); }
.spots .t-dusk    { --tint: var(--dusk);    --soft: rgba(155, 126, 217, 0.15); --edge: rgba(155, 126, 217, 0.36); }
.spots .t-swell   { --tint: var(--swell);   --soft: rgba(71, 183, 196, 0.13);  --edge: rgba(71, 183, 196, 0.32); }
.spots .t-reed    { --tint: var(--reed);    --soft: rgba(163, 201, 123, 0.12); --edge: rgba(163, 201, 123, 0.30); }
.spots .t-mist    { --tint: var(--mist);    --soft: rgba(176, 200, 207, 0.12); --edge: rgba(176, 200, 207, 0.30); }
.spots .t-ice     { --tint: var(--ice);     --soft: rgba(184, 214, 250, 0.12); --edge: rgba(184, 214, 250, 0.30); }
.spots .t-fair    { --tint: var(--fair);    --soft: rgba(234, 201, 110, 0.12); --edge: rgba(234, 201, 110, 0.30); }
.spots .t-feather { --tint: var(--feather); --soft: rgba(152, 165, 235, 0.14); --edge: rgba(152, 165, 235, 0.34); }
.spots .t-sand    { --tint: var(--sand);    --soft: rgba(216, 180, 106, 0.13); --edge: rgba(216, 180, 106, 0.32); }
.spots .t-orchid  { --tint: var(--orchid);  --soft: rgba(226, 139, 203, 0.13); --edge: rgba(226, 139, 203, 0.32); }

.spots .wrap { padding: 0 16px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.spots .ic { width: 1.15em; height: 1.15em; flex: none; }
.spots .btn:focus-visible, .spots a:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.spots .crumbs { margin: 0 0 10px; font-size: 0.824rem; color: var(--muted); }
/* Each link 44px tall to tap (its padding taken back by its margin, so the line doesn't grow). */
.spots .crumbs a {
  margin: -13px 0; padding: 13px 0; font-size: inherit; display: inline-block; color: var(--muted);
  text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.2); text-underline-offset: 3px;
}
.spots .crumbs a:hover { color: var(--ink); }
/* The row above the header: the breadcrumbs (or /add/'s line) on the left and the app's button on the right, where the
   app's toolbar floats above its page; the button drops under them, still on the right, when there's no room. */
.spots .spot-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; }
.spots .spot-top > .crumbs, .spots .spot-top > .kicker { flex: 1 1 6rem; min-width: 0; margin: 0; }
.spots .spot-top > .kicker { flex-basis: 12rem; }

/* The header (OpportunityDetail's hero): the app's own picture behind (spotpages.lead_picture), then over its foot the
   chip naming the moment the picture shows (spotpages.moment_chip), the name in the serif and the area, on a shade that
   follows them. Its shape is the app's on a phone at every
   width: 240pt tall on the iPhone 17 Pro's 370pt-wide card (240pt, frame(minHeight:), on a 402pt screen less 16pt each
   side), so the picture (1536 x 1024) shows as the app shows it there, nearly whole; taller whenever a long name or
   large text needs it, so nothing overlaps (its height then is its content's: a box with an aspect-ratio grows to fit
   what's in it, as it isn't clipped; the picture and the shade keep inside its rounded corners themselves). */
.spots .spot-hero {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; aspect-ratio: 370 / 240;
  border-radius: 24px; border: 1px solid var(--hairline); background: var(--raised);
}
/* The picture covers the header as the app's fills its card, its subject's heart (focus) at the same fraction of the
   header as of the picture (HeroCrop.make), on its own average colour until it's in: the lines below, from the app. */
.spots .hero-art {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; border-radius: 23px;
  object-fit: cover; object-position: 50% 50%;
}
/* The pictures' places (HeroPicture.swift's layouts: build.py writes these lines from it, so edit the Swift) */
.spots .hero-art.p-big_seas { object-position: 63% 45%; background-color: rgb(75, 90, 96); }
.spots .spot-hero.p-big_seas { --foot: 0.66; }
.spots .hero-art.p-birds { object-position: 68% 42%; background-color: rgb(105, 105, 94); }
.spots .spot-hero.p-birds { --foot: 0.61; }
.spots .hero-art.p-cloud_inversion { object-position: 72% 55%; background-color: rgb(143, 120, 110); }
.spots .spot-hero.p-cloud_inversion { --foot: 0.63; }
.spots .hero-art.p-frost_snow { object-position: 78.5% 44%; background-color: rgb(128, 141, 145); }
.spots .spot-hero.p-frost_snow { --foot: 0.57; }
.spots .hero-art.p-insects { object-position: 72.7% 30%; background-color: rgb(137, 106, 91); }
.spots .spot-hero.p-insects { --foot: 0.55; }
.spots .hero-art.p-land_animals { object-position: 71% 48%; background-color: rgb(76, 65, 83); }
.spots .spot-hero.p-land_animals { --foot: 0.645; }
.spots .hero-art.p-marine_life { object-position: 71% 42%; background-color: rgb(101, 85, 103); }
.spots .spot-hero.p-marine_life { --foot: 0.535; }
.spots .hero-art.p-mist_fog { object-position: 72% 55%; background-color: rgb(125, 130, 122); }
.spots .spot-hero.p-mist_fog { --foot: 0.66; }
.spots .hero-art.p-night_sky { object-position: 63% 29%; background-color: rgb(34, 35, 55); }
.spots .spot-hero.p-night_sky { --foot: 0.46; }
.spots .hero-art.p-reflections { object-position: 80% 48%; background-color: rgb(122, 88, 92); }
.spots .spot-hero.p-reflections { --foot: 0.62; }
.spots .hero-art.p-reptiles_amphibians { object-position: 70.5% 56%; background-color: rgb(111, 83, 84); }
.spots .spot-hero.p-reptiles_amphibians { --foot: 0.625; }
.spots .hero-art.p-snowy_peaks { object-position: 74.5% 42%; background-color: rgb(123, 121, 128); }
.spots .spot-hero.p-snowy_peaks { --foot: 0.58; }
.spots .hero-art.p-storms { object-position: 72% 55%; background-color: rgb(52, 60, 65); }
.spots .spot-hero.p-storms { --foot: 0.74; }
.spots .hero-art.p-sunrise { object-position: 72.5% 60%; background-color: rgb(108, 80, 83); }
.spots .spot-hero.p-sunrise { --foot: 0.66; }
.spots .hero-art.p-sunset { object-position: 67.5% 65.5%; background-color: rgb(115, 63, 68); }
.spots .spot-hero.p-sunset { --foot: 0.7; }
.spots .hero-art.p-waterfalls { object-position: 73.5% 55%; background-color: rgb(78, 93, 98); }
.spots .spot-hero.p-waterfalls { --foot: 0.77; }
/* End of the pictures' places */
/* On a phone the header's shape is near the picture's own, so filling it can't move the subject from under the words
   (the chip, the name and the area cover two thirds of it). There, as the app does when filling leaves words over the
   subject (HeroCrop.make: the picture drawn as wide as the card, its foot fading into the dark under the words), the
   picture shows whole across the top, its foot faded, and the words start under its subject: the chip 8px below the
   foot of the subject's box (--foot, from the lines above; HeroCrop.clearance), the header growing to fit. A picture
   whose subject sits high, the night sky's, keeps the header at the picture's shape. */
@media (max-width: 639px) {
  .spots .spot-hero { aspect-ratio: 3 / 2; }
  .spots .spot-hero::before {
    content: ""; flex: none;
    padding-top: calc(var(--foot, 0) * 100% / 1.5 + 8px - max(16px, 53px - 0.9945rem));
  }
  .spots .hero-art {
    height: auto; aspect-ratio: 3 / 2; object-fit: fill; border-radius: 23px 23px 0 0;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  }
}
/* The app's button above the header, right, as its toolbar's are (phones and tablets; 44px tall to tap). */
.spots .hero-open {
  flex: none; margin-left: auto; max-width: 100%;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 7px 14px 7px 7px;
  border-radius: 999px; border: 1px solid var(--hairline); background: var(--surface);
  color: var(--ink); font: 600 0.824rem/1.2 var(--sans);
}
.spots .hero-open:hover { text-decoration: none; background: var(--raised); }
.spots .hero-open img { width: 28px; height: 28px; border-radius: 7px; flex: none; }
/* The shade under the words (the app's heroShade: OpportunityDetail.swift), set by them, not by the header's height, so
   it grows with a long name or large text and white always reads, even on a white sky: as the app has it, clear 67px
   above the name (the top of the words' lead, --lead, above the chip), half dark (Theme.night at 0.5) 5px above the
   name, nearly opaque (0.93) at the foot. */
.spots .hero-words {
  --gap: 6px; --lead: max(16px, 67px - var(--chip) - var(--gap));
  margin-top: auto; padding: var(--lead) 16px 16px; display: flex; flex-direction: column; align-items: flex-start; gap: var(--gap);
  border-radius: 0 0 23px 23px;
  background: linear-gradient(180deg, rgba(12, 17, 20, 0) 0, rgba(12, 17, 20, 0.5) 62px, rgba(12, 17, 20, 0.93) 100%);
}
/* The chip's height on one line (--chip, for the shade); if very large text wraps it, the name sits lower, in more shade. */
.spots .hero-words { --chip: calc(0.765rem * 1.3 + 8px); }
/* The moment the picture shows, as the app's chip names it (Label(o.kind.title, systemImage: o.symbol)): its words and
   icon in Theme.night on the moment's colour (.t-<colour>: the condition's, or a wildlife moment's group's). */
.spots .chip {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin: 0; padding: 4px 10px 4px 8px;
  border-radius: 999px; background: var(--tint); color: var(--night); font: 600 0.765rem/1.3 var(--sans);
}
.spots .chip .ic { width: 1.2em; height: 1.2em; }
/* No chip (/add/: one of your own spots has no moment a page can know, and the app shows no chip until it has one): the
   name takes the chip's place, clear 67px above it as with one, and on a phone 8px under the picture's subject. */
.spots .spot-hero.no-chip .hero-words { --lead: 67px; }
@media (max-width: 639px) {
  .spots .spot-hero.no-chip::before { padding-top: max(0px, calc(var(--foot, 0) * 100% / 1.5 + 8px - 67px)); }
}
/* A long name (spotpages.title_class: .n20 to .n60, twice its longer half where it splits best into two lines, rounded
   up to four) is set smaller where it would pass two lines, as the app's SpotTitle is: as large as two lines of the
   words' width (--hw) allow for that length, but never below 0.7 of the title's size, nor below 1.3rem, so large text
   keeps its size and takes more lines, as in the app (--fit). Then, as SpotTitle does too, smaller again wherever its
   longest word (--w, in ems: .w30 to .w100) wouldn't fit a line whole, down to half the title's size, so no word is
   broken; only a word too long even at half size still breaks. */
.spots .spot-hero h1 {
  --title: max(1.3rem, min(clamp(2rem, 1.2rem + 3.4vw, 3.3rem), 11vw));
  --fit: max(0.7 * var(--title), 1.3rem, min(var(--title), var(--hw) * 3.1 / var(--n, 1)));
  margin: 0; max-width: 100%; color: var(--ink);
  font-family: var(--serif-app); font-weight: 700; line-height: 1.04; letter-spacing: -0.01em;
  font-size: min(var(--fit), max(0.5 * var(--title), var(--hw) / var(--w, 0.1)));
  text-wrap: balance; overflow-wrap: anywhere; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.spots .spot-hero { --hw: calc(100vw - 66px); }
.spots .spot-hero h1.n20 { --n: 20; }
.spots .spot-hero h1.n24 { --n: 24; }
.spots .spot-hero h1.n28 { --n: 28; }
.spots .spot-hero h1.n32 { --n: 32; }
.spots .spot-hero h1.n36 { --n: 36; }
.spots .spot-hero h1.n40 { --n: 40; }
.spots .spot-hero h1.n44 { --n: 44; }
.spots .spot-hero h1.n48 { --n: 48; }
.spots .spot-hero h1.n52 { --n: 52; }
.spots .spot-hero h1.n56 { --n: 56; }
.spots .spot-hero h1.n60 { --n: 60; }
/* The longest word's width in ems (spotpages.word_class), for the spot's name and a county's. */
.spots h1.w30 { --w: 3; } .spots h1.w32 { --w: 3.2; } .spots h1.w34 { --w: 3.4; } .spots h1.w36 { --w: 3.6; }
.spots h1.w38 { --w: 3.8; } .spots h1.w40 { --w: 4; } .spots h1.w42 { --w: 4.2; } .spots h1.w44 { --w: 4.4; }
.spots h1.w46 { --w: 4.6; } .spots h1.w48 { --w: 4.8; } .spots h1.w50 { --w: 5; } .spots h1.w52 { --w: 5.2; }
.spots h1.w54 { --w: 5.4; } .spots h1.w56 { --w: 5.6; } .spots h1.w58 { --w: 5.8; } .spots h1.w60 { --w: 6; }
.spots h1.w62 { --w: 6.2; } .spots h1.w64 { --w: 6.4; } .spots h1.w66 { --w: 6.6; } .spots h1.w68 { --w: 6.8; }
.spots h1.w70 { --w: 7; } .spots h1.w72 { --w: 7.2; } .spots h1.w74 { --w: 7.4; } .spots h1.w76 { --w: 7.6; }
.spots h1.w78 { --w: 7.8; } .spots h1.w80 { --w: 8; } .spots h1.w82 { --w: 8.2; } .spots h1.w84 { --w: 8.4; }
.spots h1.w86 { --w: 8.6; } .spots h1.w88 { --w: 8.8; } .spots h1.w90 { --w: 9; } .spots h1.w92 { --w: 9.2; }
.spots h1.w94 { --w: 9.4; } .spots h1.w96 { --w: 9.6; } .spots h1.w98 { --w: 9.8; } .spots h1.w100 { --w: 10; }
.spots .spot-hero .area {
  margin: 0; max-width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
  color: rgba(237, 240, 238, 0.75); font: 500 0.941rem/1.35 var(--sans);
}
/* At the largest text sizes a long place name ("Gloucestershire") wraps within the header rather than off its edge. */
.spots .spot-hero .area > span { min-width: 0; }
.spots .area .leaf { display: inline-flex; color: var(--reed); }

/* The cards (the app's .card(): the surface, a hairline, 20px corners) and their small headings (Eyebrow). */
.spots .spot-layout, .spots .spot-main, .spots .spot-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; }
.spots .spot-layout { margin-top: 12px; }
.spots .card { margin: 0; padding: 16px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 20px; }
.spots .eyebrow {
  margin: 0 0 12px; color: var(--muted);
  font: 600 0.706rem/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase;
}
.spots .card hr { border: 0; border-top: 1px solid var(--hairline); margin: 16px 0; }

/* Good for: the app's score rows (the condition's tile and name), without scores. Two to a row on most phones, one on
   the narrowest or with large text, three on a laptop. */
.spots .good {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(8.5rem, 100%), 1fr)); gap: 10px 14px;
}
.spots .good li { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); font: 600 0.941rem/1.25 var(--sans); }
.spots .good li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
/* ConditionGlyph: the symbol in the night's colour on the condition's gradient (ConditionKind.gradient). */
.spots .tile {
  flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px;
  color: rgba(12, 17, 20, 0.82); background: linear-gradient(135deg, var(--g1), var(--g2));
}
.spots .tile .ic { width: 18px; height: 18px; }
.spots .g-fog { --g1: #CCDBDE; --g2: #78949E; }
.spots .g-frost { --g1: #E6F2FF; --g2: #80A8DB; }
.spots .g-flow { --g1: #9EDBD6; --g2: #337366; }
.spots .g-stars { --g1: #8C78D9; --g2: #1A1F4D; }
.spots .g-sunrise { --g1: #FFCC78; --g2: #ED785C; }
.spots .g-sunset { --g1: #F58573; --g2: #855CBF; }
.spots .g-seas { --g1: #73D4DB; --g2: #21708F; }
.spots .g-wildlife { --g1: #C7E08F; --g2: #5C9461; }
.spots .g-inversion { --g1: #FFEBB3; --g2: #9EB3C7; }
.spots .g-reflections { --g1: #A8DBF2; --g2: #386694; }
.spots .g-storm { --g1: #9E94CC; --g2: #2E2E4D; }
.spots .g-snowPeaks { --g1: #F5FAFF; --g2: #8CADD1; }

/* About this spot: the Sensitive site note (reed, a leaf), the kind of place, a dark-sky designation, the summary, the
   features as chips, then the field notes with the aperture in ember. */
.spots .sensitive-note { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; padding: 12px; border-radius: 14px; background: rgba(163, 201, 123, 0.12); }
.spots .sensitive-note .ic { width: 1.25em; height: 1.25em; margin-top: 0.1em; color: var(--reed); }
.spots .sensitive-note p { margin: 0; color: var(--ink); font-size: 0.882rem; line-height: 1.45; }
.spots .sensitive-note strong, .spots .safety-note strong { display: block; font-weight: 600; }
.spots .sensitive-note strong { color: var(--reed); }
.spots .kind-line { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--muted); font: 500 0.765rem/1.3 var(--sans); }
.spots .kind-line .ic { width: 1.25em; height: 1.25em; }
.spots .designation { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--dusk); font: 500 0.882rem/1.35 var(--sans); }
/* Their words wrap within the line, however large the text (a flex item would otherwise be as wide as its longest word). */
.spots .kind-line > span, .spots .designation > span { min-width: 0; }
.spots .summary { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.5; }
.spots .chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.spots .chips li { max-width: 100%; padding: 6px 11px; border-radius: 999px; background: var(--raised); color: var(--ink); font: 500 0.824rem/1.3 var(--sans); }
.spots .notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.spots .notes li { display: grid; grid-template-columns: 1.4em minmax(0, 1fr); gap: 8px; color: var(--ink); font-size: 0.941rem; line-height: 1.45; }
.spots .notes .ic { width: 1.15em; height: 1.15em; margin-top: 0.18em; color: var(--ember); }
.spots .private { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 0; color: var(--faint); font-size: 0.765rem; line-height: 1.4; }

/* What's here when (SeasonCard): each entry's symbol in its colour, its name and months, the twelve-month strip, the
   words and when it's best, and its safety text; spaced as the app spaces them, with no rules between. A page has no
   "now", so every entry shows in full. */
.spots .entries { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.spots .entry-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
/* The symbol stays beside the name (the name wraps beside it), and the months drop under them when there's no room. */
.spots .entry-head h3 { display: flex; align-items: flex-start; gap: 8px; margin: 0; min-width: 0; color: var(--ink); font: 600 0.941rem/1.35 var(--sans); }
.spots .entry-head h3 span { min-width: 0; overflow-wrap: anywhere; }
.spots .entry-head .ic { width: 1.05em; height: 1.05em; margin-top: 0.15em; color: var(--tint); }
.spots .months { margin-left: auto; white-space: nowrap; color: var(--faint); font: 400 0.765rem/1.35 var(--sans); font-variant-numeric: tabular-nums; }
.spots .strip { list-style: none; margin: 8px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.spots .strip li { text-align: center; color: var(--faint); font: 400 0.53rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.spots .strip li::before { content: ""; display: block; height: 6px; margin-bottom: 3px; border-radius: 2px; background: var(--raised); }
.spots .strip li.on::before { background: var(--tint); }
.spots .entry .detail, .spots .entry .best { margin: 6px 0 0; font-size: 0.824rem; line-height: 1.45; }
.spots .entry .detail { color: var(--muted); }
.spots .entry .best { color: var(--ink); font-weight: 500; }
.spots .safety-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 8px; padding: 10px; border-radius: 14px; background: rgba(234, 201, 110, 0.1); }
.spots .safety-note .ic { width: 1.25em; height: 1.25em; margin-top: 0.05em; color: var(--fair); }
.spots .safety-note p { margin: 0; color: var(--ink); font-size: 0.824rem; line-height: 1.45; }
.spots .safety-note strong { color: var(--fair); }
.spots .more { margin: 4px 2px 0; color: var(--muted); font-size: 0.882rem; }
.spots .spot-layout > .more { margin: 2px 2px 0; }

/* Getting there: the parking or access, the position (rounded figures) with Apple Maps, the way the shore faces. */
.spots .rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.spots .rows li { display: grid; grid-template-columns: 1.5em minmax(0, 1fr); gap: 8px; color: var(--ink); font-size: 0.882rem; line-height: 1.45; }
.spots .rows .ic { width: 1.3em; height: 1.3em; margin-top: 0.05em; color: var(--muted); }
.spots .coords { font-family: var(--rounded); font-variant-numeric: tabular-nums; }
.spots .rows a { font-weight: 600; }

/* The buttons: Directions the app's big one (night on ember, 16px corners); the others its secondary ones (ink on the
   surface, 14px corners, 48px tall or more, each with its icon), which stack when there's no room for two; then the
   line saying the forecast is in the app, as the app's footnote is under its buttons. /add/'s Add to Focus Scout is
   the app's white one (Save as my spot). */
.spots .spot-actions { display: grid; gap: 10px; }
.spots .btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 12px;
  border-radius: 14px; border: 1px solid var(--hairline); background: var(--surface); color: var(--ink);
  font: 600 0.882rem/1.25 var(--sans); text-align: center;
}
.spots .btn:hover { text-decoration: none; background: var(--raised); }
.spots .btn img { width: 24px; height: 24px; border-radius: 6px; flex: none; }
.spots .btn.big { min-height: 54px; border-radius: 16px; border-color: transparent; background: var(--ember); color: var(--night); font-size: 1rem; }
.spots .btn.big.ink { background: var(--ink); }
.spots .btn.big:hover { filter: brightness(1.06); }
.spots .btn.big:not(.ink):hover { background: var(--ember); }
.spots .btn.big.ink:hover { background: var(--ink); }
.spots .btn.big .ic { width: 1.35em; height: 1.35em; }
/* A button's words, centred as its partner's are when they wrap (to the left on a laptop, as all its buttons are). */
.spots .btn .two { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; }
/* Where the button opens the app, at every width: without the app, focusscout:// opens nothing, phones included. */
.spots .where-app { display: block; color: var(--muted); font: 500 0.706rem/1.3 var(--sans); }
.spots .btn.big .where-app { color: rgba(12, 17, 20, 0.7); }
.spots .app-note { margin: 0 2px; color: var(--muted); font-size: 0.882rem; line-height: 1.45; }
/* "What is Focus Scout?", a small link standing alone: 44px tall to tap, as the breadcrumbs' links are. */
.spots .app-note a { display: inline-block; margin: -13px 0; padding: 13px 0; }
.spots .app-buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr)); gap: 10px; }

/* /add/: the line where a library spot has its breadcrumbs, and a link that doesn't hold a spot. */
.spots .kicker { margin: 0 0 10px; }
.spots .notice { margin-top: 8px; }
.spots .notice h1 { margin: 0 0 8px; font: 700 1.6rem/1.15 var(--serif-app); }
.spots .notice p { margin: 8px 0 0; color: var(--muted); }
.spots .notice .btn { display: inline-flex; }

/* /spots/: each nation a card, its counties in a grid of full-row links with their number of spots. */
.spots .spots-index { --iw: calc(100vw - 32px); }
.spots .spots-index h1 {
  --t: max(1.3rem, min(clamp(2rem, 1.2rem + 3.4vw, 3rem), 11vw));
  margin: 10px 0 8px; font-family: var(--serif-app); line-height: 1.08;
  font-size: min(var(--t), max(0.5 * var(--t), var(--iw) / var(--w, 0.1)));
}
.spots .spots-index .lede { margin: 0 0 18px; max-width: 40em; color: var(--ink); font-size: 1.059rem; }
/* Locations' opening, in the blend's look: the small ember line over the heading, large in the serif (still never
   larger than its longest word allows). A hairline under it, then the index as it was. */
.spots .opening { padding: clamp(16px, 5vh, 56px) 0 clamp(20px, 4vh, 40px); margin-bottom: 28px; border-bottom: 1px solid var(--hairline); }
.spots .opening h1 {
  --t: max(1.3rem, min(clamp(2.2rem, 0.6rem + 6.5vw, 5.4rem), 13vw));
  margin: 14px 0 0; line-height: 0.98; letter-spacing: -0.025em; max-width: 16ch;
}
.spots .opening .kicker { color: var(--ember); }
/* A county's heading: "Photography locations in", a small line sized in rem, apart from the name under it, which
   stays in the large type. (Its size gives way only at the largest text on a small screen: it is never larger than
   the name, which a long word sets smaller there (1em), nor too large for its own longest word to fit the page whole.) */
.spots .spots-index h1 .over {
  display: block; margin-bottom: 3px; color: var(--muted); font: 600 min(1rem, 1em, var(--iw) / 6.4)/1.3 var(--sans); letter-spacing: 0;
}
/* Locations' opening words, in a reading column; its jump list (nav.chips); and its first card, What's in the library:
   the kinds of place as chips, then six places, a row each, 44px to tap. */
.spots .intro { max-width: 40em; margin-bottom: 16px; }
.spots .intro p, .spots .spots-index .intro .lede { margin: 0 0 12px; }
.spots .intro p { color: var(--muted); }
.spots nav.chips { margin: 0 0 16px; }
.spots .library .chips { margin: 0; }
.spots .library .start { margin: 16px 0 6px; color: var(--muted); font-size: 0.882rem; }
.spots .places a { color: var(--ink); font-size: 1rem; text-decoration: none; }
.spots .places a:hover { text-decoration: underline; }
.spots .spots-index > .card + .card { margin-top: 12px; }
/* The county index's own heading (C5's "Photography locations by county"), over the nations' cards. */
.spots .spots-index > .index-title { margin: 40px 0 14px; font-size: max(1.1rem, min(1.765rem, 8vw)); }
.spots .county-grid {
  list-style: none; margin: 0 -8px; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); gap: 2px 16px;
}
.spots .county-grid a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px; border-radius: 12px; color: var(--ink); }
.spots .county-grid a:hover { text-decoration: none; background: var(--raised); }
.spots .county-grid .name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.spots .county-grid .count {
  flex: none; padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: var(--muted);
  font: 500 0.765rem/1.4 var(--rounded); font-variant-numeric: tabular-nums;
}
.spots .county-grid > li > a > .ic, .spots .spot-rows > li > a > .ic { width: 0.9em; height: 0.9em; color: var(--faint); }

/* A county: one card of its spots, each a row with its kind's icon and colour, its name, kind and area. */
.spots .spot-rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 28px; }
.spots .spot-rows li { border-top: 1px solid var(--hairline); }
.spots .spot-rows li:first-child { border-top: 0; }
.spots .spot-rows a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 0; color: var(--ink); }
.spots .spot-rows a:hover { text-decoration: none; }
.spots .spot-rows a:hover .name { text-decoration: underline; }
.spots .spot-rows .tile { width: 36px; height: 36px; border-radius: 11px; background: var(--soft); color: var(--tint); }
.spots .spot-rows .tile .ic { width: 20px; height: 20px; }
.spots .spot-rows .text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.spots .spot-rows .name { overflow-wrap: anywhere; font-weight: 600; }
.spots .spot-rows .meta { color: var(--muted); font-size: 0.824rem; line-height: 1.4; }
.spots .spots-index > .more { margin-top: 16px; }

/* A tablet. */
@media (min-width: 640px) {
  .spots .wrap { padding: 0 24px; }
  .spots .card { padding: 20px; }
  .spots .hero-words { padding: var(--lead) 24px 22px; }
  .spots .spot-hero { --hw: calc(100vw - 98px); }
  .spots .spots-index { --iw: calc(100vw - 48px); }
  .spots .spot-layout, .spots .spot-main { gap: 14px; }
  .spots .spot-layout { margin-top: 14px; }
  .spots .spot-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
}

/* A laptop or desktop. */
@media (min-width: 960px) {
  .spots .wrap { padding: 0 20px; }
  .spots .hero-open { display: none; }
  .spots .hero-words { --gap: 8px; padding: var(--lead) 32px 28px; }
  .spots .spot-hero { --hw: calc(min(100vw, 980px) - 106px); }
  .spots .spots-index { --iw: calc(min(100vw, 980px) - 40px); }
  .spots .spot-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; margin-top: 24px; align-items: start; }
  .spots .spot-main { gap: 16px; }
  .spots .card { padding: 22px 24px; }
  .spots .spot-side {
    display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding: 20px;
    background: var(--surface); border: 1px solid var(--hairline); border-radius: 20px;
  }
  .spots .spot-side .there { padding: 18px 0 0; background: none; border: 0; border-top: 1px solid var(--hairline); border-radius: 0; }
  .spots .app-buttons .btn { justify-content: flex-start; padding: 10px 14px; text-align: left; }
  .spots .app-buttons .btn .two { align-items: flex-start; text-align: left; }
  .spots .spot-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spots .spot-rows li:nth-child(2) { border-top: 0; }
}
/* The side column stays in view where the window is tall enough (44em: 704px at the browser's usual text size, more when
   its text is set larger); never taller than the window, so with large text it scrolls on its own and nothing in it is
   out of reach. */
@media (min-width: 960px) and (min-height: 44em) {
  .spots .spot-side {
    position: -webkit-sticky; position: sticky; top: 20px;
    max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain;
  }
}

/* Where the browser or system forces its own colours (Windows contrast themes, Firefox's colour override): the shade
   over the picture goes, so the words get a plain background of their own, and the shapes keep an edge. */
@media (forced-colors: active) {
  .spots .hero-words { background: Canvas; }
  .spots .chip, .spots .tile, .spots .chips li, .spots .county-grid .count { border: 1px solid CanvasText; }
  .spots .strip li::before { border: 1px solid CanvasText; }
  .spots .strip li.on::before { background: Highlight; }
}
