/*
  Fennick Holm Bird Observatory (Screenery template)
  An open mid-century field guide on green bookcloth: toned plate pages with watercolour birds, cream text pages
  set in Sorts Mill Goudy and Alegreya Sans, and a ruled pencil notebook for the log and the kit list.

  Contents
   1. Tokens
   2. Base and browser surfaces
   3. Book: spreads, pages, running heads, gutter
   4. Controls: buttons, chips, steppers, checks, fields
   5. Header
   6. Frontispiece and title page
   7. The log (notebook)
   8. Plates and facing text
   9. Bookings ledger: calendar, tide, form, price, slip
  10. Island map and key
  11. What to bring and the rules
  12. Getting there
  13. Footer
  14. Motion
  15. Narrow screens
*/

/* ---------- 1. Tokens ---------- */
:root {
  /* Binding */
  --cloth: #34432f;
  --cloth-2: #29351f;
  --cloth-ink: #efe6d2;        /* text on cloth, 9.8:1 */
  --cloth-ink-2: #cdd3bd;      /* secondary on cloth, 7.4:1 */

  /* Paper */
  --paper: #f3ecdb;            /* text pages */
  --paper-2: #e9dfc6;          /* plate pages, toned */
  --paper-3: #ddd0b2;          /* wells, hover on plate paper */
  --note: #f6f2e6;             /* notebook paper */
  --note-rule: #c3cfd3;
  --note-margin: #d29a8c;

  /* Ink */
  --ink: #2b2620;              /* 13:1 on paper */
  --ink-2: #554b40;            /* secondary, 7.3:1 on paper, 6.4:1 on paper-2 */
  --pencil: #5e564d;           /* graphite, 6:1 on note */
  --rule: rgb(43 38 32 / 0.22);
  --rule-strong: rgb(43 38 32 / 0.45);

  /* Plate printing colours */
  --red: #9b3622;              /* plate numbers, rarity, errors; 6.4:1 on paper */
  --spring: #5d7a3e;
  --colony: #3f6079;
  --autumn: #a4542a;
  --spring-wash: #dfe3c4;
  --colony-wash: #d3dde0;
  --autumn-wash: #ecd3bb;
  --ok: #3f6431;

  /* Type */
  --display: "Sorts Mill Goudy", "Goudy Old Style", Georgia, serif;
  --text: "Alegreya Sans", "Gill Sans", "Trebuchet MS", sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  --fs-hero: clamp(2.5rem, 1.4rem + 3vw, 4.2rem);

  /* Space and shape */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
  --page-pad: clamp(20px, 3.6vw, 56px);
  --r-sm: 3px;
  --r-md: 6px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow-book: 0 30px 60px -30px rgb(0 0 0 / .55), 0 8px 18px -8px rgb(0 0 0 / .35);
}

/* ---------- 2. Base and browser surfaces ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; scrollbar-color: #6c7a62 var(--cloth-2); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background-color: var(--cloth);
  /* bookcloth weave */
  background-image:
    repeating-linear-gradient(0deg, rgb(255 255 255 / .025) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgb(0 0 0 / .05) 0 1px, transparent 1px 3px);
  color: var(--ink);
  font: 400 var(--fs-md)/1.55 var(--text);
  caret-color: var(--red);
  accent-color: var(--red);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: #d9c58f; color: var(--ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; color: var(--ink); }
p, li, dd { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; }
svg { display: block; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--paper); padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }

/* ---------- 3. Book ---------- */
main { padding: var(--s6) var(--s4) var(--s7); }
.spread {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1320px;
  margin: 0 auto var(--s7);
  box-shadow: var(--shadow-book);
}
.page {
  position: relative;
  min-width: 0;
  padding: 40px;
  padding: var(--page-pad);
  background: var(--paper);
}
/* paper grain on every page */
.page::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='5'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .18 0 0 0 .10 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
.page > * { position: relative; }
.page-plate { background: var(--paper-2); }
/* the gutter: shading toward the spine on both facing pages */
.spread > .page:first-child { border-radius: 4px 0 0 4px; box-shadow: inset -28px 0 32px -26px rgb(60 44 20 / .45); }
.spread > .page:last-child { border-radius: 0 4px 4px 0; box-shadow: inset 28px 0 32px -26px rgb(60 44 20 / .4); }
.spread > .page:only-child { border-radius: 4px; box-shadow: none; grid-column: 1 / -1; }
.runhead {
  display: flex; justify-content: space-between; gap: var(--s4);
  font: italic 400 var(--fs-sm)/1.2 var(--display); color: var(--ink-2);
  border-bottom: 1px solid var(--rule); padding-bottom: var(--s2); margin-bottom: var(--s6);
}
.page h2 { font-size: var(--fs-xl); margin-bottom: var(--s4); }
.fig-n {
  display: inline-grid; place-items: center; min-width: 1.5em; height: 1.5em; padding: 0 .3em;
  font: 400 .95em/1 var(--display); color: var(--red); border: 1px solid currentColor; border-radius: 50%;
}

/* ---------- 4. Controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 46px; padding: 0 var(--s5); border-radius: var(--r-sm);
  font: 500 var(--fs-md)/1 var(--text); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #463d33; }
.btn-ink:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: progress; }
.link {
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; font-weight: 500;
  min-height: 24px;
}
.link:hover { color: var(--red); }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--rule-strong); border-radius: 50%; background: var(--paper); cursor: pointer;
  transition: background-color .2s var(--ease);
}
.icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover:not([disabled]) { background: var(--paper-3); }
.icon-btn[disabled] { opacity: .35; cursor: not-allowed; }

.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 var(--s3);
  border: 1px solid var(--rule-strong); border-radius: 999px; font-size: var(--fs-sm); background: var(--paper);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover span { background: var(--paper-3); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.stepper { display: inline-flex; align-items: center; gap: var(--s2); }
.stepper output { min-width: 2ch; text-align: center; font: 400 var(--fs-lg)/1 var(--display); font-variant-numeric: tabular-nums; }

.check { display: flex; gap: var(--s3); align-items: flex-start; cursor: pointer; font-size: var(--fs-sm); line-height: 1.45; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box {
  flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px;
  border: 1.5px solid var(--ink-2); border-radius: 2px; background: var(--paper);
}
.check .box svg { width: 14px; height: 14px; fill: none; stroke: var(--paper); stroke-width: 2; opacity: 0; }
.check input:checked + .box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .box svg { opacity: 1; }
.check input:focus-visible + .box { outline: 2px solid var(--red); outline-offset: 2px; }
.check input[aria-invalid="true"] + .box { border-color: var(--red); }

.field { display: grid; gap: var(--s1); }
.field label, .lab { font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); }
.field input {
  min-height: 46px; padding: 0 var(--s3); font: 400 var(--fs-md) var(--text); color: var(--ink);
  background: var(--paper); border: 0; border-bottom: 1.5px solid var(--ink-2); border-radius: 2px 2px 0 0;
  transition: background-color .2s var(--ease);
}
.field input::placeholder { color: #6b6155; }
.field input:hover { background: #f7f2e6; }
.field input:focus { outline: none; background: #fbf8ef; border-bottom-color: var(--ink); box-shadow: 0 2px 0 0 var(--ink); }
.field input[aria-invalid="true"] { border-bottom-color: var(--red); }
.err { display: flex; gap: var(--s2); color: var(--red); font-size: var(--fs-sm); font-weight: 500; }
.err::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 3px; border: 1.5px solid currentColor; border-radius: 50%; background: radial-gradient(circle at 50% 70%, currentColor 1.2px, transparent 1.6px), linear-gradient(currentColor, currentColor) 50% 25% / 1.5px 4px no-repeat; }

/* ---------- 5. Header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--cloth-2); color: var(--cloth-ink); border-bottom: 1px solid rgb(0 0 0 / .3); }
.top-in { display: flex; align-items: center; gap: var(--s5); max-width: 1320px; margin: 0 auto; padding: var(--s2) var(--s4); min-height: 60px; }
.mark { display: flex; align-items: center; gap: var(--s3); text-decoration: none; color: var(--cloth-ink); }
.mark svg { width: 44px; height: 30px; background: var(--paper-2); border-radius: 50%; }
.mark span { font: 400 var(--fs-lg)/1.1 var(--display); }
.mark i { color: var(--cloth-ink-2); }
.top-nav { display: flex; gap: var(--s5); margin-left: auto; }
.top-nav a { color: var(--cloth-ink-2); text-decoration: none; font-size: var(--fs-sm); padding: var(--s2) 0; }
.top-nav a:hover { color: var(--cloth-ink); text-decoration: underline; }
.top-book.btn-ink { background: var(--paper); color: var(--ink); min-height: 40px; }
.top-book.btn-ink:hover { background: #fff8e8; }

/* ---------- 6. Frontispiece and title page ---------- */
.spread-hero { min-height: min(760px, calc(100svh - 120px)); }
.front-plate { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s5); align-items: end; margin-top: var(--s5); }
.front-fig .ptr { stroke: var(--ink); stroke-width: .7; opacity: .8; }
.front-fig { margin: 0; text-align: center; }
.front-fig svg { width: 100%; height: auto; }
.front-fig figcaption { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.35; }
.front-fig figcaption i { font-family: var(--display); }
.front-fig-c { grid-column: 1 / -1; justify-self: center; width: 78%; }
.specimen { position: absolute; pointer-events: none; }
.specimen-feather { right: 10%; bottom: 7%; width: 54px; transform: rotate(-24deg); }
.specimen svg { width: 100%; height: auto; }
.tape { position: absolute; width: 44px; height: 16px; background: rgb(239 228 196 / .78); box-shadow: 0 1px 2px rgb(0 0 0 / .12); }
.specimen-feather .tape-1 { top: 18%; left: -2px; transform: rotate(14deg); }
.specimen-feather .tape-2 { bottom: 14%; left: 8px; transform: rotate(-8deg); }
.specimen-note { position: absolute; left: var(--page-pad); bottom: var(--s5); max-width: 22ch; font: italic var(--fs-xs)/1.35 var(--text); color: var(--pencil); }

.title-page { display: flex; flex-direction: column; }
.title-page h1 { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -.01em; }
.title-page h1 span { white-space: nowrap; }
.spread-hero .page-plate { display: flex; flex-direction: column; }
.spread-hero .front-plate { margin: auto 0; padding-bottom: var(--s7); }
.front-fig svg.crop { overflow: hidden; }
.title-sub { margin-top: var(--s4); font: italic 400 var(--fs-lg)/1.4 var(--display); color: var(--ink-2); max-width: 34ch; }
.title-rule { width: 64px; height: 7px; margin: var(--s6) 0 var(--s5); border-top: 1px solid var(--ink); border-bottom: 3px double var(--ink); }
.title-lede { max-width: 56ch; }
.title-facts { display: grid; gap: 0; margin: var(--s6) 0 0; }
.title-facts div { display: grid; grid-template-columns: 8.5rem 1fr; gap: var(--s3); padding: var(--s2) 0; border-top: 1px solid var(--rule); }
.title-facts div:last-child { border-bottom: 1px solid var(--rule); }
.title-facts dt { font: italic var(--fs-sm)/1.5 var(--display); color: var(--ink-2); }
.title-facts dd { margin: 0; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.title-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s5); margin-top: var(--s6); }
.imprint { margin-top: auto; padding-top: var(--s6); font: italic var(--fs-xs)/1.4 var(--display); color: var(--ink-2); }

/* ---------- 7. The log ---------- */
.page-notebook {
  background-color: var(--note);
  background-image:
    linear-gradient(90deg, transparent 54px, var(--note-margin) 54px 55px, transparent 55px),
    repeating-linear-gradient(180deg, transparent 0 31px, var(--note-rule) 31px 32px);
  background-position: 0 0, 0 14px;
}
.page-notebook h2 { font-family: var(--display); }
.log-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s5); flex-wrap: wrap; padding-left: 40px; margin-bottom: var(--s5); }
.log-meta { color: var(--pencil); font-size: var(--fs-sm); max-width: 60ch; }
.log-sum { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); font-size: var(--fs-sm); color: var(--pencil); }
.log-sum b { font: 400 var(--fs-lg)/1 var(--display); color: var(--ink); margin-right: 4px; }
.log-wrap { padding-left: 40px; }
.log { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; color: var(--pencil); background: transparent; }
.log thead th { font-weight: 500; text-align: right; padding: 0 var(--s2) var(--s2); vertical-align: bottom; border-bottom: 1.5px solid var(--pencil); }
.log thead th .d { display: block; color: var(--ink); font-size: var(--fs-sm); }
.log thead th .w { display: block; font-size: var(--fs-xs); font-style: italic; }
.log thead .log-c-sp { text-align: left; }
.log tbody th { text-align: left; font-weight: 400; padding: 6px var(--s2) 6px 0; }
.log td { text-align: right; padding: 6px var(--s2); font-size: var(--fs-sm); }
.log tbody tr { border-bottom: 1px solid rgb(94 86 77 / .18); }
.log-sp { color: var(--ink); font-weight: 500; }
.log-latin { display: block; font: italic var(--fs-xs)/1.3 var(--display); }
.log td.pk { color: var(--ink); font-weight: 700; }
.log .nil { opacity: .55; }
.log-peak { color: var(--ink); border-left: 1px solid var(--rule); }
.log-ring { text-align: left !important; white-space: nowrap; }
.log-ring-n { font-size: var(--fs-xs); margin-left: 6px; }
.tally { display: inline-block; vertical-align: middle; stroke: var(--pencil); stroke-width: 1.5; stroke-linecap: round; fill: none; }
.tally-none { font-size: var(--fs-xs); font-style: italic; opacity: .8; }
.flag {
  display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 6px; vertical-align: 1px;
  font: 700 11px/1 var(--text); color: var(--red); border: 1.5px solid var(--red); border-radius: 50%;
  transform: rotate(-8deg);
}
.log tr.rare th { padding-top: 10px; }
.log-note { display: block; max-width: 40ch; margin-top: 2px; font: italic var(--fs-xs)/1.35 var(--text); color: var(--red); }
.log tfoot th { text-align: left; padding: var(--s3) 0; font-weight: 500; color: var(--ink); }
.log tfoot td { padding: var(--s3) var(--s2); }
.log tfoot b { font: 400 var(--fs-lg)/1 var(--display); color: var(--ink); }
.log-foot-note { text-align: left !important; font-style: italic; }
.log-pencil { margin: var(--s5) 0 0 40px; max-width: 70ch; font-style: italic; color: var(--pencil); }

/* ---------- 8. Plates and facing text ---------- */
.plates-top h2 { margin-bottom: var(--s4); }
.filter { display: grid; gap: var(--s3); }
.filter fieldset { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 5.5rem 1fr; gap: var(--s3); align-items: start; }
.filter legend { float: left; padding: 8px 0 0; font: italic var(--fs-sm)/1.2 var(--display); color: var(--ink-2); }
.filter-count { margin: var(--s4) 0 var(--s5); font-size: var(--fs-sm); color: var(--ink-2); }
.plate-grid {
  list-style: none; margin: 0; padding: var(--s4) 0 0; border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2) var(--s3);
}
.fig-btn {
  display: grid; width: 100%; padding: var(--s1) var(--s1) var(--s2); border: 1px solid transparent; border-radius: var(--r-md);
  background: none; cursor: pointer; text-align: left;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), opacity .4s var(--ease), filter .4s var(--ease);
}
.fig-art { width: 100%; height: auto; }
.fig-art .ptr { stroke: var(--ink); stroke-width: .8; opacity: 0; transition: opacity .3s var(--ease); }
.fig-cap { display: flex; align-items: center; gap: var(--s2); font-size: var(--fs-sm); line-height: 1.2; }
.fig-btn:hover { background: var(--paper-3); }
.fig-btn[aria-pressed="true"] { border-color: var(--rule-strong); background: rgb(255 250 238 / .55); }
.fig-btn[aria-pressed="true"] .ptr, .fig-btn:hover .ptr { opacity: 1; }
.fig-btn[aria-pressed="true"] .fig-name { font-weight: 700; }
/* filtered out: the wash comes off and only the pencil underdrawing is left */
.fig.is-out .fig-btn { opacity: .38; filter: grayscale(1) contrast(.8); }
.fig.is-out .fig-btn:hover { opacity: .7; }
.plate-empty { margin-top: var(--s4); font-style: italic; color: var(--ink-2); }

.entries { display: grid; gap: var(--s7); }
.js .entries { gap: 0; }
.js .entry:not(.is-on) { display: none; }
.entry-head { display: flex; gap: var(--s4); align-items: flex-start; }
.entry-n { font: 400 var(--fs-xl)/1 var(--display); color: var(--red); min-width: 1.4em; }
.entry h3 { font-size: var(--fs-xl); }
.latin { font: italic var(--fs-lg)/1.3 var(--display); color: var(--ink-2); }
.entry-tags { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s4) 0 var(--s5); }
.tag { font-size: var(--fs-xs); padding: 3px 10px; border-radius: 999px; border: 1px solid var(--rule-strong); }
.tag-spring { background: var(--spring-wash); }
.tag-colony { background: var(--colony-wash); }
.tag-autumn { background: var(--autumn-wash); }
.entry-fig { width: min(100%, 520px); height: auto; margin: var(--s3) auto var(--s2); }
.entry-fig .ptr { stroke: var(--ink); stroke-width: .7; }
.ptr .dot { fill: var(--ink); stroke: none; }
.mk-pin circle { fill: var(--paper); stroke: var(--red); stroke-width: .8; }
.mk-pin text { font: italic 500 9px var(--display); fill: var(--red); stroke: none; text-anchor: middle; }
.front-fig .key { font-style: italic; color: var(--red); white-space: nowrap; }
.marks { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: var(--s1); font-size: var(--fs-sm); }
.marks li { display: flex; gap: var(--s2); align-items: baseline; }
.mk { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--red); border-radius: 50%; color: var(--red); font-size: var(--fs-xs); font-weight: 500; line-height: 1; transform: translateY(-1px); }
.entry-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, 38%); gap: var(--s5); align-items: start; }
.entry h4 { font: italic 400 var(--fs-lg)/1.2 var(--display); margin-bottom: var(--s2); }
.entry-text > p { max-width: 60ch; }
.entry-facts { display: grid; grid-template-columns: auto 1fr; gap: var(--s2) var(--s4); margin: var(--s5) 0 0; font-size: var(--fs-sm); }
.entry-facts dt { font: italic var(--fs-sm)/1.45 var(--display); color: var(--ink-2); }
.entry-facts dd { margin: 0; }
.entry-map { margin: 0; }
.range { width: 100%; height: auto; background: #dfe4dd; border: 1px solid var(--rule); border-radius: 2px; }
.range-wash circle { fill: #b4552f; opacity: .55; }
.entry-map figcaption { margin-top: var(--s1); font: italic var(--fs-xs)/1.3 var(--display); color: var(--ink-2); }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; margin-top: var(--s5); }
.m { display: grid; gap: 3px; justify-items: center; }
.m i { display: block; width: 100%; height: 10px; border: 1px solid var(--rule-strong); border-radius: 1px; }
.m b { font: 500 var(--fs-xs)/1 var(--text); color: var(--ink-2); }
.m1 i { background: repeating-linear-gradient(135deg, var(--ink-2) 0 1.5px, transparent 1.5px 4px); }
.m2 i { background: var(--ink); }
.entry-key { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); font-size: var(--fs-xs); color: var(--ink-2); }
.entry-key .m i { width: 22px; }
.js .entry.is-on { animation: turn .5s var(--ease); }

/* ---------- 9. Bookings ledger ---------- */
.page-ledger { background: var(--paper); }
.book-intro { max-width: 62ch; color: var(--ink-2); margin-bottom: var(--s5); }
.cal-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); }
.cal-month { font-size: var(--fs-lg); }
.cal-grid { display: grid; grid-template-columns: 6.4rem repeat(7, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.cal-noscript { grid-column: 1 / -1; padding: var(--s4) 0; }
.cal-dow { padding: var(--s2) 4px; font: italic var(--fs-xs)/1 var(--display); color: var(--ink-2); text-align: center; border-bottom: 1px solid var(--rule-strong); }
.cal-dow:first-child { text-align: left; }
.cal-wk {
  display: flex; flex-direction: column; gap: 2px; justify-content: center; padding: 4px 6px 4px 0;
  border-bottom: 1px solid var(--rule); font-size: 11px; line-height: 1.15; color: var(--ink);
}
.cal-wk span { display: block; padding: 2px 5px; border-radius: 2px; }
.cal-wk .w-spring { background: var(--spring-wash); }
.cal-wk .w-colony { background: var(--colony-wash); }
.cal-wk .w-autumn { background: var(--autumn-wash); }
.cal-wk .w-none { color: var(--ink-2); font-style: italic; }
.cal-wk .pk { font-weight: 700; }
.day {
  position: relative; display: grid; align-content: start; gap: 1px; min-height: 64px; padding: 5px 4px 4px;
  border: 0; border-bottom: 1px solid var(--rule); border-left: 1px solid var(--rule); background: transparent;
  text-align: left; cursor: pointer; font-variant-numeric: tabular-nums; color: var(--ink);
  transition: background-color .15s var(--ease);
}
.day:hover:not([disabled]) { background: var(--paper-3); }
.day .dn { font: 400 var(--fs-md)/1 var(--display); }
.day .beds { font-size: 11px; color: var(--ink-2); }
.day .beds.low { color: var(--red); font-weight: 500; }
.day .bt { display: flex; align-items: center; gap: 2px; font-size: 11px; color: var(--ink); }
.day .bt svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.day .bt.no { color: var(--red); }
.day.full .beds { color: var(--red); }
.day[disabled] { cursor: default; color: rgb(43 38 32 / .45); }
.day.blank { cursor: default; background: repeating-linear-gradient(135deg, transparent 0 6px, rgb(43 38 32 / .05) 6px 7px); }
.day.in-range { background: #eadfbf; }
.day.is-from, .day.is-to { background: var(--ink); color: var(--paper); }
.day.is-from .beds, .day.is-to .beds, .day.is-from .bt, .day.is-to .bt { color: #e8dec8; }
.day.is-focus { box-shadow: inset 0 0 0 2px var(--red); }
.cal-legend { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); list-style: none; margin: var(--s3) 0 0; padding: 0; font-size: var(--fs-xs); color: var(--ink-2); }
.cal-legend li { display: flex; align-items: center; gap: 6px; }
.sw { width: 18px; height: 12px; border-radius: 2px; border: 1px solid var(--rule); }
.sw-spring { background: var(--spring-wash); } .sw-colony { background: var(--colony-wash); } .sw-autumn { background: var(--autumn-wash); }

.tide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 320px); gap: var(--s5); align-items: center; margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--rule); }
.tide h4 { font-size: var(--fs-lg); margin-bottom: var(--s1); }
.tide p { font-size: var(--fs-sm); color: var(--ink-2); }
.tide-svg { width: 100%; height: auto; }
.tide-day { fill: #e4e8e2; }
.tide-curve { fill: none; stroke: var(--colony); stroke-width: 2; }
.tide-boat { fill: rgb(155 54 34 / .18); stroke: var(--red); stroke-width: 1; }
.tide-axis text { font: 11px var(--text); fill: var(--ink-2); text-anchor: middle; }

.page-form { background: var(--paper-2); }
.bk { display: grid; gap: var(--s5); }
.bk-dates { display: grid; grid-template-columns: 1fr 1fr auto; gap: var(--s3); padding-bottom: var(--s4); border-bottom: 1.5px solid var(--ink); }
.bk-dates b { display: block; font: 400 var(--fs-lg)/1.25 var(--display); font-variant-numeric: tabular-nums; }
.bk-room { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.bk-room legend { font: italic var(--fs-lg)/1.2 var(--display); margin-bottom: var(--s2); padding: 0; }
.room { position: relative; display: block; cursor: pointer; }
.room input { position: absolute; opacity: 0; }
.room-body { display: grid; gap: 2px; padding: var(--s3) var(--s4) var(--s3) 44px; border: 1px solid var(--rule-strong); border-radius: var(--r-md); background: var(--paper); transition: border-color .2s var(--ease); }
.room-body::before { content: ""; position: absolute; left: 16px; top: 17px; width: 16px; height: 16px; border: 1.5px solid var(--ink-2); border-radius: 50%; background: var(--paper); }
.room input:checked + .room-body { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.room input:checked + .room-body::before { border-color: var(--ink); background: radial-gradient(circle, var(--ink) 4px, var(--paper) 4.5px); }
.room input:focus-visible + .room-body { outline: 2px solid var(--red); outline-offset: 2px; }
.room-body span { font-size: var(--fs-sm); color: var(--ink-2); }
.row { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s3) var(--s4); }
.row .lab { min-width: 4.5rem; }
.hint { font-size: var(--fs-xs); color: var(--ink-2); }
.bk-ring { border: 0; padding: var(--s4) 0 0; margin: 0; border-top: 1px solid var(--rule); display: grid; gap: var(--s3); }
.ring-more { display: grid; gap: var(--s3); padding-left: 34px; }
.sum { border-top: 1.5px solid var(--ink); padding-top: var(--s3); }
.sum-t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: var(--fs-sm); }
.sum-t th { text-align: left; font-weight: 400; padding: 5px 0; color: var(--ink-2); }
.sum-t td { text-align: right; padding: 5px 0; white-space: nowrap; }
.sum-t tfoot tr:first-child th, .sum-t tfoot tr:first-child td { border-top: 1px solid var(--rule-strong); padding-top: var(--s2); }
.sum-total th, .sum-total td { color: var(--ink) !important; font: 400 var(--fs-lg)/1.2 var(--display) !important; }
.bk-alert { display: flex; gap: var(--s3); padding: var(--s3) var(--s4); border: 1.5px solid var(--red); border-radius: var(--r-md); background: #f6e3da; color: var(--ink); font-size: var(--fs-sm); }
.bk-alert .ico { color: var(--red); margin-top: 3px; }
.bk-submit { width: 100%; min-height: 52px; }
.bk-submit.is-loading { cursor: progress; }
.bk-submit.is-loading .bk-label::after { content: ""; display: inline-block; width: 1.2em; text-align: left; animation: dots 1.2s steps(4) infinite; }
.bk-submit.is-loading::before { content: ""; width: 16px; height: 16px; border: 2px solid rgb(243 236 219 / .35); border-top-color: var(--paper); border-radius: 50%; animation: spin .8s linear infinite; }

.slip { position: relative; padding: var(--s6) var(--s5) var(--s5); background: var(--note); border: 1px solid var(--rule-strong); box-shadow: 0 10px 24px -12px rgb(60 44 20 / .4); }
.slip:focus { outline: none; }
.slip h3 { font-size: var(--fs-xl); margin-bottom: var(--s4); max-width: 12ch; }
.stamp {
  position: absolute; right: var(--s5); top: var(--s5); display: grid; place-items: center; width: 108px; height: 108px;
  border: 3px double var(--red); border-radius: 50%; color: var(--red); transform: rotate(-12deg); text-align: center;
  font: 700 var(--fs-xs)/1.2 var(--text); text-transform: uppercase; letter-spacing: .08em; align-content: center; gap: 2px;
}
.stamp span:first-child { font: 400 var(--fs-lg)/1 var(--display); text-transform: none; letter-spacing: 0; }
.slip-list { display: grid; grid-template-columns: auto 1fr; gap: var(--s2) var(--s4); margin: 0 0 var(--s4); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.slip-list dt { font: italic var(--fs-sm)/1.45 var(--display); color: var(--ink-2); }
.slip-list dd { margin: 0; }
.slip-note { font-size: var(--fs-sm); color: var(--ink-2); margin-bottom: var(--s4); }

/* ---------- 10. Island map and key ---------- */
.page-map { display: flex; flex-direction: column; }
.map-hold { position: sticky; top: 84px; }
.map-svg { width: 100%; height: auto; margin: var(--s2) 0 0; }
.map-note { margin-top: var(--s4); font-size: var(--fs-sm); color: var(--ink-2); max-width: 56ch; }
.map-svg .sea-lines path { fill: none; stroke: var(--colony); stroke-width: .8; opacity: .45; }
.map-svg .land { fill: #d9cfa8; }
.map-svg .contours path { fill: none; stroke: #8e7b56; stroke-width: .8; opacity: .55; }
.map-svg .cliff { fill: none; stroke: var(--ink); stroke-width: 6; stroke-dasharray: 1 3.5; }
.map-svg .colony-zone { fill: rgb(164 84 42 / .16); stroke: var(--autumn); stroke-width: .8; stroke-dasharray: 3 3; }
.map-svg .loch { fill: #9fb7bd; stroke: var(--colony); stroke-width: .8; }
.map-svg .plantation circle { fill: #7d8a5b; opacity: .7; }
.map-svg .trail { fill: none; stroke: var(--red); stroke-width: 1.6; stroke-dasharray: 5 4; transition: stroke-width .3s var(--ease); }
.map-svg .trail-track { stroke: var(--ink); stroke-dasharray: none; stroke-width: 1.4; }
.map-svg .feat path, .map-svg .feat rect { fill: var(--ink); stroke: var(--ink); stroke-width: 1.4; }
.map-svg .feat[data-key="slip"] path { fill: none; }
.map-svg .hide rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; }
.map-svg .hide text, .map-svg .trap text { font: 700 10px var(--text); text-anchor: middle; fill: var(--ink); }
.map-svg .trap path { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; }
.map-svg text { paint-order: stroke; stroke: #e6dbbd; stroke-width: 3.5px; stroke-linejoin: round; }
.map-svg .compass text, .map-svg .hide text, .map-svg .trap text { stroke: none; }
.map-svg .lbl { font: 400 15px var(--display); fill: var(--ink); }
.map-svg .lbl-s { font: 500 12px var(--text); fill: var(--ink); }
.map-svg .lbl-it { font: italic 14px var(--display); fill: var(--ink-2); }
.map-svg .lbl-sea { font: italic 15px var(--display); fill: var(--colony); letter-spacing: .12em; }
.map-svg .compass path { fill: var(--paper); stroke: var(--ink); stroke-width: 1; }
.map-svg .compass .n { fill: var(--ink); }
.map-svg .compass text, .scale text { font: 11px var(--text); fill: var(--ink); text-anchor: middle; }
.scale text { text-anchor: start; }
.scale path { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.map-svg [data-key] { transition: opacity .3s var(--ease); }
.map-svg.has-focus [data-key]:not(.is-hot) { opacity: .28; }
.map-svg .is-hot.trail { stroke-width: 3.2; }
.map-svg .hide.is-hot rect, .map-svg .trap.is-hot path { fill: #f2c9a8; stroke: var(--red); stroke-width: 2.2; }
.map-intro { color: var(--ink-2); margin-bottom: var(--s5); max-width: 56ch; }
.key h3 { font: italic var(--fs-lg)/1.2 var(--display); margin: var(--s5) 0 var(--s2); }
.key h3:first-child { margin-top: 0; }
.key ul { list-style: none; margin: 0; padding: 0; }
.key button {
  display: flex; gap: var(--s3); align-items: flex-start; width: 100%; padding: var(--s2); margin: 0 calc(-1 * var(--s2));
  background: none; border: 0; border-radius: var(--r-sm); text-align: left; cursor: pointer; font-size: var(--fs-sm); line-height: 1.45;
}
.key button:hover, .key button[aria-pressed="true"] { background: var(--paper-3); }
.key button b { display: block; font-size: var(--fs-md); }
.k { flex: none; display: grid; place-items: center; width: 26px; height: 20px; margin-top: 3px; font: 700 11px/1 var(--text); }
.k-hide { border: 1.4px solid var(--ink); }
.k-trap { border: 1.4px solid var(--ink); clip-path: polygon(50% 0, 100% 30%, 100% 100%, 0 100%, 0 30%); padding-top: 3px; border-radius: 0; background: linear-gradient(var(--ink), var(--ink)) 50% 0 / 100% 1.4px no-repeat; }
.k-coast { background: repeating-linear-gradient(90deg, var(--red) 0 5px, transparent 5px 9px) 0 50% / 100% 2px no-repeat; }
.k-track { background: linear-gradient(var(--ink), var(--ink)) 0 50% / 100% 1.6px no-repeat; }
.k-obs { background: var(--ink); width: 16px; height: 12px; margin: 7px 5px 0; }

/* ---------- 11. What to bring and the rules ---------- */
.bring h2 { padding-left: 40px; margin-bottom: var(--s2); }
.bring-meta { padding-left: 40px; font-size: var(--fs-sm); color: var(--pencil); max-width: 52ch; margin-bottom: var(--s4); }
.bring-list { list-style: none; margin: 0; padding: 0 0 0 40px; display: grid; gap: var(--s2); max-width: 520px; }
.pencil-check { display: flex; gap: var(--s3); cursor: pointer; font-size: var(--fs-sm); line-height: 1.45; color: var(--pencil); padding: 4px 0; }
.pencil-check b { color: var(--ink); font-weight: 500; }
.pencil-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pbox { position: relative; flex: none; width: 22px; height: 22px; margin-top: 1px; border: 1.4px solid var(--pencil); border-radius: 1px; transform: rotate(-2deg); }
.pbox::after { content: ""; position: absolute; left: 4px; top: -2px; width: 9px; height: 17px; border: solid var(--ink); border-width: 0 2.4px 2.4px 0; transform: rotate(40deg) scale(0); transform-origin: 70% 80%; transition: transform .25s var(--ease); }
.pencil-check input:checked + .pbox::after { transform: rotate(40deg) scale(1); }
.pencil-check input:checked ~ span:last-child b { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.pencil-check input:focus-visible + .pbox { outline: 2px solid var(--red); outline-offset: 2px; }
.bring-count { padding-left: 40px; margin-top: var(--s4); font-style: italic; color: var(--pencil); }
.specimen-thrift { right: 7%; bottom: 10%; width: 70px; transform: rotate(10deg); }
.specimen-thrift .tape-1 { top: 54%; left: 10px; transform: rotate(-14deg); }
.specimen-note-thrift { left: auto; right: 4%; bottom: var(--s4); text-align: right; }
.rules-list { margin: 0; padding: 0; list-style: none; counter-reset: r; display: grid; gap: var(--s4); }
.rules-list li { counter-increment: r; position: relative; padding-left: 2.4rem; max-width: 60ch; }
.rules-list li::before { content: counter(r) "."; position: absolute; left: 0; top: -2px; font: 400 var(--fs-lg)/1.3 var(--display); color: var(--red); }
.rules-list b { font-weight: 700; }

/* ---------- 12. Getting there ---------- */
.route { list-style: none; margin: 0 0 var(--s6); padding: 0; display: grid; gap: 0; }
.route li { display: grid; grid-template-columns: 40px 1fr; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--rule); }
.route li:last-child { border-bottom: 1px solid var(--rule); }
.route .ico { width: 22px; height: 22px; margin: 2px auto 0; color: var(--ink); }
.route b { display: block; font: 400 var(--fs-lg)/1.25 var(--display); }
.route span { font-size: var(--fs-sm); color: var(--ink-2); }
.getting-notes { display: grid; gap: var(--s3); font-size: var(--fs-sm); max-width: 60ch; }
.page-crossing { display: flex; flex-direction: column; }
.crossing { width: 100%; height: auto; outline: 1px solid var(--rule); }
.cr-sea { fill: #b8c8c6; }
.cr-land { fill: #d9cfa8; }
.cr-isle { fill: #d9cfa8; stroke: var(--ink); stroke-width: .8; }
.cr-route { fill: none; stroke: var(--red); stroke-width: 1.6; stroke-dasharray: 5 4; }
.cr-boat path { fill: var(--ink); stroke: var(--ink); stroke-width: 1.2; }
.crossing .lbl { font: 400 15px var(--display); fill: var(--ink); }
.crossing .lbl-s { font: 500 12px var(--text); fill: var(--ink); }
.crossing .lbl-sea { font: italic 14px var(--display); fill: #23465a; letter-spacing: .1em; }
.crossing-note { margin-top: var(--s4); font-size: var(--fs-sm); color: var(--ink-2); max-width: 60ch; }

/* ---------- 13. Footer ---------- */
.foot { color: var(--cloth-ink-2); padding: var(--s6) var(--s4) var(--s7); font-size: var(--fs-sm); }
.foot-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); max-width: 1320px; margin: 0 auto; border-top: 1px solid rgb(239 230 210 / .25); padding-top: var(--s5); }
.foot-col { display: grid; gap: var(--s2); align-content: start; }
.foot b { color: var(--cloth-ink); font-weight: 500; }
.foot a { color: var(--cloth-ink); }
.foot-brand { font: 400 var(--fs-lg)/1.2 var(--display); color: var(--cloth-ink); }
.colophon { max-width: 1320px; margin: var(--s5) auto 0; font: italic var(--fs-xs)/1.4 var(--display); }

/* ---------- 14. Motion ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
@keyframes turn { from { opacity: .2; transform: translateX(10px); } to { opacity: 1; transform: none; } }
/* Signature: the frontispiece wash bleeds in over its pencil underdrawing as the page opens */
@keyframes bleed { from { filter: saturate(0) brightness(1.12) blur(1.5px); opacity: .55; } to { filter: none; opacity: 1; } }
@keyframes stamp { from { transform: rotate(-30deg) scale(1.6); opacity: 0; } to { transform: rotate(-12deg) scale(1); opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .front-fig svg { animation: bleed 1.6s var(--ease) both; }
  .front-fig-b svg { animation-delay: .25s; }
  .front-fig-c svg { animation-delay: .5s; }
  .slip:not([hidden]) .stamp { animation: stamp .55s var(--ease) both .15s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .bk-submit.is-loading::before { animation: none; border-top-color: rgb(243 236 219 / .35); }
}

/* ---------- 15. Narrow screens ---------- */
@media (max-width: 1180px) {
  .top-nav { gap: var(--s4); }
  /* the ledger needs the full width for seven day columns: its spread folds into one column */
  .spread-book { grid-template-columns: 1fr; }
  .spread-book > .page:first-child { border-radius: 4px 4px 0 0; box-shadow: inset 0 -24px 28px -26px rgb(60 44 20 / .45); }
  .spread-book > .page:last-child { border-radius: 0 0 4px 4px; box-shadow: inset 0 24px 28px -26px rgb(60 44 20 / .4); }
  .spread-book .bk { grid-template-columns: 1fr 1fr; column-gap: var(--s6); align-items: start; }
  .spread-book .bk > * { grid-column: 1 / -1; }
  .spread-book .bk > .field { grid-column: auto; }
  .entry-body { grid-template-columns: 1fr; }
  .entry-map { max-width: 280px; }
  .plate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .top-nav { display: none; }
  .top-book { margin-left: auto; }
  .spread { grid-template-columns: 1fr; }
  .spread > .page:first-child { border-radius: 4px 4px 0 0; box-shadow: inset 0 -24px 28px -26px rgb(60 44 20 / .45); }
  .spread > .page:last-child { border-radius: 0 0 4px 4px; box-shadow: inset 0 24px 28px -26px rgb(60 44 20 / .4); }
  .spread > .page:only-child { border-radius: 4px; }
  .spread-hero { min-height: 0; }
  .map-hold { position: static; }
  .spread-hero .page-plate { padding-bottom: 96px; }
  .plate-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .entry-body { grid-template-columns: minmax(0, 1fr) 38%; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .log-wrap, .log-head, .log-pencil { padding-left: 0; margin-left: 0; }
  .page-notebook { background-image: repeating-linear-gradient(180deg, transparent 0 31px, var(--note-rule) 31px 32px); }
  /* log rows become a name line and a strip of seven days */
  .log thead { display: none; }
  .log, .log tbody, .log tfoot { display: block; }
  .log tbody tr { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)) auto; gap: 0 2px; padding: var(--s2) 0; }
  .log tbody th { grid-column: 1 / -1; padding: 0 0 4px; }
  .log td { padding: 2px 0; text-align: center; font-size: 12px; }
  .log td::before { content: attr(data-day); display: block; font-size: 11px; font-style: italic; color: var(--pencil); white-space: nowrap; }
  .log td.log-peak { display: none; }
  .log td.log-ring { grid-column: 1 / -1; text-align: left; padding-top: 4px; }
  .log td.log-ring::before { content: "Ringed"; display: inline; margin-right: 8px; }
  .log tfoot tr { display: grid; grid-template-columns: 1fr auto; padding-top: var(--s2); }
  .log tfoot td:empty { display: none; }
  .log tfoot .log-foot-note { grid-column: 1 / -1; grid-row: 2; font-size: var(--fs-xs); }
}
@media (max-width: 720px) {
  .bring h2, .bring-meta, .bring-list, .bring-count { padding-left: 0; }
  .plate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry-body { grid-template-columns: 1fr; }
  .cal-grid { grid-template-columns: 30px repeat(7, minmax(0, 1fr)); }
  .cal-wk { padding: 2px; align-items: stretch; }
  .cal-wk span { font-size: 0; padding: 0; flex: 1; min-height: 8px; }
  .cal-wk .w-none { display: none; }
  .cal-dow:first-child { font-size: 0; }
  .map-svg .lbl { font-size: 21px; }
  .map-svg .lbl-s { font-size: 17px; }
  .map-svg .lbl-it, .map-svg .lbl-sea { font-size: 19px; }
  .map-svg .scale text, .map-svg .compass text { font-size: 15px; }
  .day { min-height: 56px; padding: 4px 2px; }
  .day .dn { font-size: var(--fs-sm); }
  .day .bt span { display: none; }
  .tide { grid-template-columns: 1fr; }
  .spread-book .bk { grid-template-columns: 1fr; }
  .front-plate { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .specimen-feather { width: 40px; right: 6%; bottom: 4%; }
  .specimen-thrift { width: 52px; right: 2%; bottom: 0; opacity: .9; }
  .specimen-note-thrift { display: none; }
  .bring-list { padding-right: 48px; }
}
@media (max-width: 440px) {
  main { padding-left: 10px; padding-right: 10px; }
  .mark span i { display: none; }
  .top-in { gap: var(--s3); }
  .filter fieldset { grid-template-columns: 1fr; gap: var(--s2); }
  .filter legend { padding: 0; }
  .bk-dates { grid-template-columns: 1fr 1fr; }
  .bk-dates > div:last-child { grid-column: 1 / -1; }
  .stamp { width: 84px; height: 84px; right: var(--s3); top: var(--s3); }
  .day .beds { font-size: 11px; }
  .title-facts div { grid-template-columns: 1fr; gap: 0; }
}
