/* Love in Hong Kong: the site's one style sheet. Written by hand; tools/publish.py builds the pages that use it.
   The look was settled piece by piece in design tests H1 to H7 (see PROJECT_NOTES, design log). */
:root { --brand: #967E9D; --button: #BA96AF; --nav: #5c5c5c; --text: #6b6b6b; --line: #D9CBD6; --blush: #F8F3F6; --plum: #5e4f63;
        --side-link: #85708C; --side-label: #9d90a0; }   /* H9, 9 Oct: her pick B, a touch darker lines and sidebar text (line was #EADFE7) */
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: #fff; color: #555; font-family: 'Open Sans', 'Segoe UI', sans-serif; }
a { color: inherit; }

/* Header (test H1, without the hero photo) */
.utility { display: flex; justify-content: flex-end; align-items: center; height: 56px; padding: 0 27px; gap: 9px; }
.utility .social { color: #6b6b6b; font-size: 17px; text-decoration: none; }
.utility input { border: 0; outline: 0; width: 142px; margin-left: 12px; font: 400 12.5px 'Open Sans', sans-serif; background: transparent; }
.utility input::placeholder { color: #b8b8b8; text-transform: uppercase; }
.utility .sbtn { color: #555; font-size: 13px; padding-left: 18px; }
.brand { text-align: center; }
.brand a { text-decoration: none; }
.brand .name { display: block; margin: 16px 0 0; font-weight: 300; font-size: 44px; line-height: 1.15; color: var(--brand); }
.brand p { margin: 5px 0 0; font-size: 14px; color: var(--brand); }
nav ul { list-style: none; margin: 34px 0 0; padding: 0; display: flex; justify-content: center; align-items: center; gap: 31px;
         font: 400 15px 'Montserrat', sans-serif; letter-spacing: .05em; text-transform: uppercase; color: var(--nav); }
nav a { text-decoration: none; }
nav .here { color: var(--brand); }
nav .icon { color: #6b6b6b; }
.rule { max-width: 1180px; margin: 26px auto 0; border: 0; border-top: 1px solid #f0eaee; }

/* Page */
.page { max-width: 1180px; margin: 0 auto; padding: 26px 24px 70px; }
.crumbs { margin: 0; font: 400 11px 'Montserrat', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #a79aa9; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { margin: 0 8px; }
.follow { margin: 56px 0 0; text-align: center; font: 300 16px 'Open Sans', sans-serif; color: var(--text); }
.follow a { color: var(--brand); text-decoration: none; border-bottom: 1px solid var(--line); }

/* Neighbourhood page (test H7): the list of neighbourhoods beside the reels as cards */
.hoodhead { margin: 20px 0 36px; text-align: center; }
.hoodhead h1 { margin: 0; font-weight: 300; font-size: 34px; letter-spacing: .12em; color: var(--brand); text-transform: uppercase; }
.hoodhead p { max-width: 720px; margin: 10px auto 0; font-size: 16px; font-weight: 300; font-style: italic; line-height: 1.6; color: var(--text); }
/* List pages (H14, 18 Oct): three columns, the side columns equal so the cards centre under the brand and the title */
.page.wide { max-width: 1320px; }
.layout { display: grid; grid-template-columns: 210px 1fr 210px; gap: 36px; align-items: start; }
.layout.lists { grid-template-columns: 1fr 1fr; gap: 44px; }
.side { border: 1px solid var(--line); padding: 20px 20px 6px; position: sticky; top: 16px; }
.shead { margin: 0 0 16px; font: 400 11px 'Montserrat', sans-serif; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: #9b8f9e; }
.sregion { display: flex; align-items: center; gap: 9px; margin: 0 0 5px; font: 400 11.5px 'Montserrat', sans-serif; letter-spacing: .08em;
           text-transform: uppercase; color: var(--text); }
.dia { width: 8px; height: 8px; transform: rotate(45deg); flex: none; }
.side ul { list-style: none; margin: 0 0 16px 17px; padding: 0; }
.side li { padding: 2px 0; font-size: 14px; font-weight: 300; color: var(--text); }
.side li a { color: var(--side-link); text-decoration: none; }
.side li a:hover { text-decoration: underline; }
.side li.now { color: #fff; background: var(--button); display: inline-block; padding: 1px 8px; margin: 1px 0 1px -8px; }
.side li.soon { color: #c2bcc4; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 22px; }
/* A second group of reels under the main series (29 Sep: "Festivals", for special events) */
.grouphead { display: flex; align-items: center; gap: 16px; margin: 52px 0 22px; font: 400 12px 'Montserrat', sans-serif;
             letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.grouphead::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
/* the first heading of a list sorted under headings (Country parks, by park) needs no gap above it */
.reels > .grouphead:first-child { margin-top: 4px; }
/* a second line under "In collaboration with": the country park a reel is in */
.story .collab + .collab { margin-top: -10px; }
/* on the Country parks page: a reel that is only near its park, or on its edge, says so on its card */
.card .pnote { margin: 8px 0 0; font-size: 12px; font-style: italic; line-height: 1.45; color: var(--brand); }
.card .cover { display: block; }
.card img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.card .cover:hover img { opacity: .92; }
.card .panel { position: relative; margin: -26px 12px 0; padding: 16px 16px 12px; background: var(--blush); }
.card h2 { margin: 0 0 8px; font-weight: 300; font-size: 19px; line-height: 1.3; color: var(--plum); }
.card h2 a { text-decoration: none; }
.card p { margin: 0; font-size: 13.5px; font-weight: 300; line-height: 1.55; color: #6f6f6f; }
.card .meta { display: flex; justify-content: space-between; margin-top: 12px; font: 400 10.5px 'Montserrat', sans-serif;
              letter-spacing: .1em; text-transform: uppercase; color: #aaa; }
.card .meta a { color: var(--brand); text-decoration: none; }
.card .meta { align-items: flex-end; }
.card .meta .when { display: flex; flex-direction: column; gap: 3px; }
.card .meta .place { display: block; }
.story .collab { margin: -6px 0 14px; font: 400 11px 'Montserrat', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.card .meta .place { font-size: 9px; color: #bdbdbd; }

/* Reel page (test H7) */
.reel { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; margin-top: 24px; }
/* Her mock (29 Sep): the reel's top edge sits a touch ABOVE the title's letters, "otherwise, our eye will think the text is
   higher". The title's capitals start 14 px below its box (38 px Open Sans Light); her mock puts the edge 7 px above the "B". */
.reelcol { margin-top: 7px; }
.note { margin: 10px 0 0; font-size: 12px; color: #aaa; text-align: center; }
.note a { color: var(--brand); text-decoration: none; }
.story h1 { margin: 0; font-weight: 300; font-size: 38px; letter-spacing: .02em; line-height: normal; color: var(--plum); }
.story .sub { margin: 6px 0 0; font-size: 17px; font-weight: 300; font-style: italic; color: var(--brand); }
.story .date { margin: 16px 0 24px; font: 400 11px 'Montserrat', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #aaa; }
.story h2 { margin: 30px 0 8px; font: 400 12px 'Montserrat', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.story p, .story li { font-size: 16px; font-weight: 300; line-height: 1.8; color: #555; }
.story p { margin: 0; }
.story p + p { margin-top: 14px; }
.story ul, .story ol { margin: 0; padding-left: 1.3em; }
.story p + ul, .story p + ol { margin-top: 10px; }
.story li + li { margin-top: 4px; }
.story ul + p, .story ol + p { margin-top: 12px; }
.story b { font-weight: 400; color: var(--plum); }
.story a { color: var(--brand); text-decoration: none; border-bottom: 1px solid var(--line); }
.story a:hover { border-bottom-color: var(--button); }
/* Notes on a reel (her rule, 29 Sep): a dated notation when something in a live reel has changed or was wrong */
.update { margin: 0 0 26px; padding: 12px 16px; border-left: 3px solid var(--button); background: var(--blush); }
.story .update p { font-size: 14.5px; line-height: 1.65; }
.update b { font-weight: 400; color: var(--plum); }
.story .update.after { margin: 18px 0 0; }
.story .update + p { margin-top: 18px; }
/* The culture guide's numbered stops */
/* a stop's own facts (9 Oct): the "Good to know" grid inside the stop, a narrower label column */
.stop .stopfacts { margin: 10px 0 0; }
.stop .stopfacts dl.facts { grid-template-columns: minmax(84px, 128px) 1fr; column-gap: 14px; row-gap: 8px; margin: 0; }
.stop .stopfacts dt { white-space: nowrap; }   /* "Opening hours" on one line: the column sizes to the longest label (9 Oct) */
.stop { margin: 26px 0 0; }
/* 9 Oct: after the stops, the next sections' headings were overlooked ("it sits close to the 6 stops"): every section heading that
   follows the stops gets more air above and a hairline, so Where to eat and Getting there read as new sections */
.story .stop ~ h2 { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
/* her layout test, 9 Oct: the stop number hangs in the left margin so the heading, the text and the facts labels share one
   left edge; on phones, where the margin is 16 px, the number stays inline */
.stop h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-weight: 400; font-size: 17px; color: var(--plum); position: relative; }
.stop h3 .num { position: absolute; left: -36px; top: 50%; transform: translateY(-50%); }
.stop .num { display: inline-flex; flex: none; width: 26px; height: 26px; border-radius: 50%; align-items: center; justify-content: center;
             background: var(--blush); color: var(--brand); font: 500 12px 'Montserrat', sans-serif; }
/* Her drawn maps (29 Sep): a supporting picture beside the reel, not the focus. Her test: about three quarters of the
   text column, centred, with a thin frame ("right now the map is too big, so it become the focus"). A small map also
   sits beside each route (tap to open full size). */
.story .figure { width: 74%; margin: 24px auto 8px; }
.story .figure a { display: block; border: 0; }
/* no frame (her test, 29 Sep: "it seems it's better without a frame of the map") */
.story .figure img { display: block; width: 100%; height: auto; }
.story .figure.portrait { width: auto; max-width: 300px; }
.story figcaption { margin-top: 6px; font-size: 12px; color: #aaa; text-align: center; }
.stop .stopmap { float: right; width: 112px; margin: 2px 0 10px 18px; border: 0; }
.stop .stopmap img { display: block; width: 100%; border: 1px solid var(--line); }
/* a reel's key map beside a stop's description (23 Nov, the Tai Kwun guide) */
.stop.keyed { display: grid; grid-template-columns: minmax(0, 1fr) clamp(118px, 30%, 190px); grid-template-rows: auto 1fr; column-gap: 26px; align-items: start; }   /* rows: the title keeps its own height, so a short description stays right under it */
.stop.keyed::after { display: none; }
/* her note (23 Nov): the key plan's top lines up with the stop's title */
.stop.keyed h3 { grid-column: 1; grid-row: 1; }
.stop.keyed .stopbody { grid-column: 1; grid-row: 2; min-width: 0; }
.stop.keyed .stopmap.key { grid-column: 2; grid-row: 1 / span 2; float: none; width: auto; margin: 3px 0 0; }
.stop::after { content: ''; display: block; clear: both; }
.stop .stopmeta { margin: 0 0 4px 0; font: 400 11px 'Montserrat', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #a79aa9; }
.stop p + p { margin-top: 10px; }
.stop .watch { margin-left: 4px; font: 400 10.5px 'Montserrat', sans-serif; letter-spacing: .1em; text-transform: uppercase; border: 0; }
.mapbox { margin: 34px 0 0; padding: 18px 20px 20px; background: var(--blush); }
.mapbox p { font-size: 15px; }
.btn { display: inline-block; margin: 14px 10px 0 0; padding: 9px 20px; background: var(--button); color: #fff; text-decoration: none;
       font: 400 11.5px 'Montserrat', sans-serif; letter-spacing: .1em; text-transform: uppercase; border: 0; }
.btn.line { background: #fff; color: var(--brand); border: 1px solid var(--button); padding: 8px 19px; }
.story .mapbox .disclose { margin: 14px 0 0; font-size: 12.5px; line-height: 1.6; color: #9a9a9a; }
.story .btn { color: #fff; border-bottom: 0; }
.story .btn.line { color: var(--brand); border: 1px solid var(--button); }
.more { margin: 64px 0 0; }
.more h2 { margin: 0 0 20px; text-align: center; font-weight: 300; font-size: 22px; letter-spacing: .1em; color: var(--brand); text-transform: uppercase; }
/* one centred row: publish sets --cols to the number of other reels (up to 7); each at most 170 px wide */
.minis { display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 170px)); justify-content: center; gap: 14px; }
.mini { text-decoration: none; }
.mini img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.mini:hover img { opacity: .92; }
.mini span { display: block; margin-top: 8px; font-size: 13px; font-weight: 300; line-height: 1.35; color: var(--plum); }

/* The reel player (29 Sep). Her calls: the reel plays on the page ("not everyone has instagram"); no black bars; full screen
   shows the whole reel on a light, still background made for each reel (--fs-bg); the site's own controls. */
.vplayer { position: relative; aspect-ratio: 9 / 16; background: #000; overflow: hidden; }
.vplayer video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; cursor: pointer; }
.vplayer:fullscreen { width: 100vw; height: 100vh; max-width: none; margin: 0; aspect-ratio: auto;
                      background: #F4EEF2 var(--fs-bg, none) center / cover no-repeat; }
.vplayer:-webkit-full-screen { width: 100vw; height: 100vh; max-width: none; margin: 0; aspect-ratio: auto;
                               background: #F4EEF2 var(--fs-bg, none) center / cover no-repeat; }
.vplayer.fs-preview { position: fixed; inset: 0; z-index: 100; width: 100vw; height: 100vh; max-width: none; margin: 0;
                      aspect-ratio: auto; background: #F4EEF2 var(--fs-bg, none) center / cover no-repeat; }
.vplayer:fullscreen video, .vplayer.fs-preview video { background: transparent; }
.vplayer:-webkit-full-screen video { background: transparent; }
.vstart { position: absolute; z-index: 2; inset: 0; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
.vstart[hidden] { display: none; }
.vstart .ig { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 30px 14px 14px;
              background: linear-gradient(transparent, rgba(0,0,0,.55)); font: 400 12px 'Montserrat', sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.vstart .play { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--brand);
                display: flex; align-items: center; justify-content: center; font-size: 12px; padding-left: 2px; }
.vstart:hover .play { background: #fff; }
.vbar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 30px 10px 10px; color: #fff;
        background: linear-gradient(transparent, rgba(0,0,0,.5)); transition: opacity .3s; }
.vbar[hidden] { display: none; }
.vplayer.idle .vbar { opacity: 0; pointer-events: none; }
.vplayer.idle { cursor: none; }
.vplayer:fullscreen .vbar, .vplayer.fs-preview .vbar { left: 50%; right: auto; width: calc(100vh * 9 / 16); transform: translateX(-50%); }
.vplayer:-webkit-full-screen .vbar { left: 50%; right: auto; width: calc(100vh * 9 / 16); transform: translateX(-50%); }
.vb-row { display: flex; align-items: center; gap: 4px; }
.vbar button { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff;
               font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.vbar button:hover, .vbar button:focus-visible { background: rgba(255,255,255,.18); outline: none; }
.vb-time { margin-left: 4px; font: 400 12px 'Montserrat', sans-serif; letter-spacing: .04em; }
.vb-space { flex: 1; }
.vb-seek { display: block; width: 100%; height: 16px; margin: 4px 0 0; accent-color: var(--button); cursor: pointer; }

@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .page { padding: 20px 16px 50px; }
  .utility input { display: none; }
  .brand .name { font-size: clamp(22px, 6.4vw, 40px); white-space: nowrap; }
  nav ul { flex-wrap: wrap; gap: 8px 16px; font-size: 11px; padding: 0 12px; }
  nav .icon { display: none; }
  .hoodhead h1 { font-size: 28px; }
  .layout { grid-template-columns: 1fr; gap: 40px; }
  .aside-right { grid-template-columns: 1fr; }
  .side { position: static; order: 2; }
  .grid { gap: 24px 12px; }
  .card .panel { margin: -18px 6px 0; padding: 11px 10px 9px; }
  .card h2 { font-size: 15.5px; }
  .card p { font-size: 12.5px; }
  .card .meta { font-size: 9.5px; }
  .card .meta .place { font-size: 8.5px; }
  .reel { grid-template-columns: 1fr; gap: 26px; }
  .reelcol { margin-top: 0; }
  .story .figure { width: 100%; }
  .vplayer { width: 100%; max-width: 300px; margin: 0 auto; }
  .story h1 { font-size: 30px; }
  .minis { grid-template-columns: repeat(3, 1fr); gap: 16px 10px; }
  /* 29 Nov, her phone test on the trial address (the Tai Kwun guide): "it lost the alignment we did on the computer
     version". The number sat in the line, so a stop's name began 36 px to the right of its own text. Now each stop is
     set in by the number's width and the number hangs in that gutter, as on the computer: the name, the text and the
     facts labels share one left edge. The facts' label column is narrower here (it only has to hold "Opening hours"),
     so the facts themselves keep the width they had. */
  .stop { padding-left: 36px; }
  .stop .stopfacts dl.facts { grid-template-columns: 104px 1fr; column-gap: 12px; }
}
/* 29 Nov, an iPad held upright (768 to 834 px; she shows the site on her iPad at the 6 Dec meetup): the tabs need 964 px
   in one line, so below 1000 px each label broke in two ("ABOUT / ME", "START / HERE"). Between the phone layout and
   1000 px the tabs are a little smaller and closer, and a label never breaks. From 1000 px up nothing changes. */
@media (min-width: 761px) and (max-width: 1199px) {   /* 1 Dec: eight tabs now (Moments), so the compact tabs reach 1200 px */
  nav ul { gap: clamp(12px, 1.9vw, 24px); font-size: clamp(11px, 1.45vw, 14px); letter-spacing: .04em; padding: 0 12px; }
  nav li { white-space: nowrap; }
}

/* "Good to know" as a facts grid (9 Oct, Ping Shan first): the label left, one fact per line right, a grey note under a
   label that needs a word of explanation. Replaces the bullet list with bold labels, which read as a messy paragraph. */
.story dl.facts { display: grid; grid-template-columns: minmax(120px, 170px) 1fr; column-gap: 26px; row-gap: 14px; margin: 10px 0 0; }
.story .facts dt { font-size: 14.5px; font-weight: 400; line-height: 1.65; color: var(--plum); }
.story .facts dt small { display: block; font-size: 12.5px; font-weight: 300; line-height: 1.45; color: #9a9a9a; }
.story .facts dd { margin: 0; font-size: 14.5px; font-weight: 300; line-height: 1.65; color: #555; }
/* 9 Oct, her second round: the facts about the place as text first, then the hours and rules as a block under them */
.story .facts dd p.about { margin: 0; font-size: inherit; line-height: inherit; }
.story .facts dd p.about + p.about { margin-top: 6px; }
.story .facts dd .about + .lines { margin-top: 7px; }
.story .facts dd span { display: block; }
.story .facts + p { margin-top: 14px; }
.story .facts + ul, .story .facts + ol { margin-top: 14px; }
@media (max-width: 600px) {
  .story dl.facts { grid-template-columns: 1fr; row-gap: 2px; }
  .story .facts dd { margin-bottom: 10px; }
}

/* a row of her photos on a reel page (1 Oct: the Ahmad Tea event) */
.story .photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0 10px; }
.story .photos figure { margin: 0; }
.story .photos a { display: block; border: 0; }
.story .photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.story .photos figcaption { margin-top: 6px; font: 300 12px/1.5 'Open Sans', sans-serif; color: #8a8a8a; }
@media (max-width: 600px) { .story .photos { gap: 10px; } }

/* several reels of one place on one page (1 Oct: bamboo scaffolding, Antique Street) */
.morereels { margin-top: 44px; }
.morereels h2 { margin: 0 0 6px; font: 400 13px 'Montserrat', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #9b8f9e; }
.subreel { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); }
.subreel .substory h3 { margin: 0 0 6px; font: 300 22px/1.25 'Open Sans', sans-serif; color: var(--text); }
.subreel .substory .date { margin: 0 0 12px; }
@media (max-width: 760px) { .subreel { grid-template-columns: 1fr; gap: 18px; } }
/* A page's reels side by side in one row (29 Nov, test H19, the Clockenflap page; her words: "it's better to line them up
   same row or something, otherwise people don't even know they should scroll down"). The title first, then the reels at
   one size, each with its name and date under it; two by two on a phone. Below 1100 px a reel in the row is too narrow
   for the full control bar, so the time is left out and the buttons are a little smaller. */
.rowhead .date { margin-bottom: 0; }
.reelrow { display: grid; grid-template-columns: repeat(var(--n), minmax(0, var(--w, 262px))); gap: 28px; margin: 26px 0 0; }
/* 29 Nov, her marked picture of Antique Street (an equal box under each reel; "it's out of balance wit the long
   description"): what stands under a reel is short (its name, its date, one line at most; publish.py warns about more),
   and the Instagram lines of a row sit on one level, at the foot of the tallest caption */
.reelrow figure { margin: 0; display: flex; flex-direction: column; }
.reelrow figcaption { margin-top: 12px; }
.reelrow figure .note { margin-top: auto; padding-top: 10px; }
.reelrow figcaption b { display: block; font: 300 19px/1.3 'Open Sans', sans-serif; color: var(--text); }
.reelrow figcaption span { display: block; margin-top: 4px; font: 400 10.5px 'Montserrat', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #a79aa9; }
.reelrow figcaption p { margin: 8px 0 0; font-size: 14px; font-weight: 300; line-height: 1.6; color: #555; }
.reelrow .note { text-align: left; font-size: 11.5px; }
/* under a row of reels, the page's words keep the width they have beside a reel (they must not run across the page) */
.rowfoot { margin-top: 34px; max-width: 760px; }
/* the moving postcards of a guided reel's page: one row at the bottom, under their heading */
.morereels .reelrow { margin-top: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 1100px) {
  .reelrow { gap: 24px 20px; }
  .reelrow .vstart .ig { gap: 8px; padding: 24px 10px 10px; font-size: 10px; }
  .reelrow .vstart .play { width: 28px; height: 28px; font-size: 10px; }
  .reelrow .vb-time { display: none; }
  .reelrow .vbar button { width: 30px; height: 30px; font-size: 13px; }
}
@media (max-width: 760px) {
  .reelrow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; margin-top: 18px; }
  .reelrow .vplayer { max-width: none; }
  .reelrow figcaption b { font-size: 15.5px; }
  .reelrow .note { font-size: 10.5px; }
}

/* the neighbourhood list on short inline lines, in her geographic order (2 Oct) */
.side .hoods { margin: 0 0 9px 17px; line-height: 1.85; }
.side .hoods:last-of-type { margin-bottom: 16px; }
.side .hood { display: inline-block; margin-right: 11px; font-size: 13.5px; font-weight: 300; color: var(--side-link); text-decoration: none; }
a.hood:hover { text-decoration: underline; text-underline-offset: 3px; }
.side .hood.now { color: #fff; background: var(--button); padding: 0 7px; margin-left: -7px; }
.side .hood.soon { color: #c2bcc4; }
.side .hood.plain { color: var(--text); }

/* the list by region and district (3 Oct, test H8 A): district label, names a step to the right */
.side .sregion a { color: var(--text); text-decoration: none; }
.side .sregion a:hover { color: var(--brand); }
.side .district { margin: 12px 0 3px 17px; font: 400 10.5px 'Montserrat', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--side-label); }
.side ul.hoodlist { margin: 0 0 4px 27px; }
.side .other { margin: 22px 0 10px; }
.side ul.regions { margin: 0 0 12px; }
.side ul.regions li { padding: 4px 0; }
.side ul.regions a { display: flex; align-items: center; gap: 9px; color: var(--text); font: 400 11.5px 'Montserrat', sans-serif; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.side ul.regions a:hover { color: var(--brand); }
.side ul.regions .count { color: var(--side-label); font-size: 11px; letter-spacing: 0; }
.reels .coming { margin: 28px 0 0; font-size: 13px; font-weight: 300; color: #b3a7b6; }
.side ul.hoodlist.solo { margin-left: 17px; margin-top: 10px; }   /* a one-neighbourhood district sits at the district level */


/* The right column of a list page (H14): a map card where there is a map, and a short hello; nothing that competes with the reels */
.aside-right { position: sticky; top: 16px; }
.rmod { margin: 0 0 30px; }
.rhead { margin: 0 0 10px; font: 400 10.5px 'Montserrat', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.rmod p { margin: 0 0 10px; font-size: 13.5px; font-weight: 300; line-height: 1.6; color: #6f6f6f; }
.rmap { padding: 16px 18px 18px; background: var(--blush); }
.rmap .button { display: inline-block; background: var(--button); color: #fff; font: 400 10.5px 'Montserrat', sans-serif; letter-spacing: .12em; text-transform: uppercase; padding: 9px 16px; text-decoration: none; }
.rmap .button:hover { background: var(--brand); }
/* her verdict (23 Nov), after a square was tried at 210 px ("too loud") and at 104 px: "keep it the circle. so the circle
   can center in that collumn and not over powering. it also echo back to the IG page". The circle is her Instagram
   profile picture; it and its few words are centred in the column. */
.rabout { text-align: center; }
.rabout img { display: block; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; }
.rabout a { color: var(--brand); text-decoration: none; font: 400 10.5px 'Montserrat', sans-serif; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 1240px) { .layout:not(.lists) .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .layout { grid-template-columns: 210px 1fr; }
  .aside-right { grid-column: 1 / -1; position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
/* 25 Nov, found while checking the Type of Trip test on a phone: the tablet rule above stands later in this file than the
   phone rules, so on a phone it won. Every list page had its reels squeezed into the 210 px column (cards 123 px wide,
   a blank strip beside them) and the hello sat in the left half. On a phone the page is one column again. */
@media (max-width: 760px) {
  .layout { grid-template-columns: 1fr; }
  .aside-right { grid-template-columns: 1fr; }
}

/* Labels and search (26 Oct): small #buttons at the foot of a reel, each leading to the label's page; the search page */
.utility .sform { display: flex; align-items: center; margin: 0; }
.utility .sform .sbtn { border: 0; background: none; cursor: pointer; font: inherit; }
.labels { margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.labels .label { display: inline-block; padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; font: 400 11px 'Montserrat', sans-serif;
                 letter-spacing: .06em; color: var(--brand); text-decoration: none; background: #fff; }
.labels .label:hover { background: var(--blush); border-color: var(--button); }
.labels.big { justify-content: center; gap: 10px; margin-top: 0; }
.labels.big .label { font-size: 12px; padding: 6px 14px; }
.side ul.labellist li { display: flex; justify-content: space-between; }
.side ul.labellist .count { font-size: 11px; color: var(--side-label); }
.page.search .searchform { display: flex; justify-content: center; align-items: center; gap: 10px; max-width: 560px; margin: 0 auto 18px; border-bottom: 1px solid var(--line); padding: 0 0 8px; }
.page.search .searchform input { flex: 1; border: 0; outline: 0; font: 300 20px 'Open Sans', sans-serif; color: #555; background: transparent; }
.page.search .searchform input::placeholder { color: #c2bcc4; }
.page.search .searchform button { border: 0; background: none; color: var(--brand); font-size: 16px; cursor: pointer; }
.page.search .summary { margin: 0 0 24px; text-align: center; font: 400 11px 'Montserrat', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #a79aa9; min-height: 14px; }
/* "> h2": the group titles only (Places, Reels); without it the rule also restyled the titles inside the result cards */
.page.search #results > h2 { margin: 30px 0 14px; font: 400 12px 'Montserrat', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
/* her note (24 Nov): three result cards in a row were "huge" (363 px). Four across is close to a neighbourhood page's cards */
.page.search #results .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .page.search #results .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .page.search #results .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; } }
.page.search .hits { list-style: none; margin: 0; padding: 0; }
.page.search .hits li { padding: 6px 0; font-size: 15px; font-weight: 300; }
.page.search .hits li a { color: var(--plum); text-decoration: none; margin-right: 10px; }
.page.search .hits li span { color: #8a8a8a; font-size: 13.5px; }
.page.search .labelsection { margin: 40px 0 0; text-align: center; }
.page.search .labelsection h2 { margin: 0 0 18px; font: 400 12px 'Montserrat', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.home .labelband .labels.big { max-width: 900px; margin: 0 auto; }

/* Home page (17 Oct) */

/* Hero: her crop of the pink-sky photo (H1): one thin white line in the sky, a small button low over the water */
.hero { position: relative; margin: 0 auto; aspect-ratio: 1792 / 555; overflow: hidden; }
.hero img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 26.16%; }
.hero .line { position: absolute; left: 0; right: 0; top: 25.5%; transform: translateY(-50%); margin: 0; text-align: center;
              font: italic 300 23px/1.2 'Open Sans', sans-serif; color: #fff; letter-spacing: .01em; }
.hero .start { position: absolute; left: 50%; top: 86%; transform: translate(-50%, -50%); background: var(--button); color: #fff;
               font: 400 12px/14px 'Open Sans', sans-serif; letter-spacing: .07em; padding: 8px 29px; white-space: nowrap; text-decoration: none; }
.hero .start:hover { background: var(--brand); }
/* her mockup: no line between the tabs and the photo; the tabs sit close to it with breathing space (H1: 28 px) */
header:has(+ .hero) .rule { display: none; }
.hero { margin-top: 28px; }
.home { max-width: 1180px; margin: 0 auto; padding: 0 24px 60px; }
.home .band { padding: 52px 0 0; }
/* "> h2": the band's own title only. Without it this rule also restyled the titles inside the series cards (26 px capitals) */
.home .band > h2 { margin: 0 0 30px; text-align: center; font-weight: 300; font-size: 26px; letter-spacing: .1em; color: var(--brand); text-transform: uppercase; }
/* Hello: a postcard from her (H16, 23 Nov). A real postcard's 3:2; her photo taped on the left, the message, a stamp
   and a postmark on the right. --k is the size she chose: 85 per cent of the first drawing (760 x 507 px). Every
   measurement is written as k times its size in that drawing, so one number resizes the whole card. */
.home .hello { --k: .85; max-width: calc(var(--k) * 760px); margin: 0 auto; }
.home .hello .card { position: relative; display: grid; grid-template-columns: calc(var(--k) * 262px) calc(var(--k) * 8px) minmax(0, 1fr);
  column-gap: calc(var(--k) * 28px); align-items: center; aspect-ratio: 3 / 2; box-sizing: border-box;
  padding: calc(var(--k) * 34px) calc(var(--k) * 34px) calc(var(--k) * 34px) calc(var(--k) * 38px); background-color: #F0E4EC;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .37  0 0 0 0 .31  0 0 0 0 .39  0 0 0 .075 0'/></filter><rect width='180' height='180' filter='url(%23g)'/></svg>");
  box-shadow: 0 1px 2px rgba(94,79,99,.12), 0 16px 34px rgba(94,79,99,.14); }
.home .hello .photo { position: relative; }
.home .hello .photo img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; box-sizing: border-box;
  border: calc(var(--k) * 9px) solid #fff; box-shadow: 0 1px 2px rgba(94,79,99,.14), 0 8px 18px rgba(94,79,99,.15); }
.home .hello .tape { position: absolute; z-index: 2; left: 50%; top: calc(var(--k) * -14px); width: calc(var(--k) * 108px);
  height: calc(var(--k) * 29px); margin-left: calc(var(--k) * -70px); transform: rotate(-4deg);
  background: rgba(206,176,196,.62) repeating-linear-gradient(90deg, rgba(255,255,255,.20) 0 2px, rgba(255,255,255,0) 2px 9px);
  box-shadow: 0 1px 2px rgba(94,79,99,.12);
  clip-path: polygon(2.5% 0, 97.5% 0, 100% 17%, 97.5% 34%, 100% 50%, 97.5% 67%, 100% 84%, 97.5% 100%, 2.5% 100%, 0 84%, 2.5% 67%, 0 50%, 2.5% 34%, 0 17%); }
.home .hello .mid { display: block; width: calc(var(--k) * 8px); height: calc(var(--k) * 400px); color: #BDA0B3; overflow: visible; }
.home .hello .msg { position: relative; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding-top: calc(var(--k) * 96px); box-sizing: border-box; }
.home .hello .post { position: absolute; top: calc(var(--k) * -6px); right: calc(var(--k) * -4px); display: flex; align-items: center; color: #A9839D; }
.home .hello .mark { display: block; width: calc(var(--k) * 206px); height: calc(var(--k) * 96px); margin-right: calc(var(--k) * -44px);
  transform: rotate(-7deg); opacity: .88; }
.home .hello .stamp { position: relative; display: block; padding: calc(var(--k) * 5px); background: #fff; border: calc(var(--k) * 3px) dotted #F0E4EC;
  transform: rotate(2deg); box-shadow: 0 1px 3px rgba(94,79,99,.14); }
.home .hello .stamp img { display: block; width: calc(var(--k) * 56px); height: calc(var(--k) * 70px); object-fit: cover; }
.home .hello .label { margin: 0 0 calc(var(--k) * 10px); font: 400 calc(var(--k) * 13px) 'Montserrat', sans-serif; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand); }
.home .hello .txt { margin: 0; max-width: calc(var(--k) * 322px); font-size: calc(var(--k) * 16px); font-weight: 300; line-height: 1.7; color: #555; }
/* her own signature (23 Nov), a transparent picture already in the brand plum */
.home .hello .sign { margin: calc(var(--k) * 8px) 0 0; line-height: 0; transform: rotate(-3deg); }
/* aspect-ratio and object-fit are reset because the postcard is a .card, and the reel cards' rule (.card img, 3:4, cover) cut the signature */
.home .hello .sign img { display: block; width: calc(var(--k) * 136px); height: auto; aspect-ratio: auto; object-fit: contain; }
.home .hello .go { display: inline-block; margin-top: calc(var(--k) * 12px); padding: calc(var(--k) * 9px) calc(var(--k) * 26px);
  background: var(--button); color: #fff; font: 400 calc(var(--k) * 11px) 'Montserrat', sans-serif; letter-spacing: .14em;
  text-transform: uppercase; text-decoration: none; }
.home .hello .go:hover { background: var(--brand); }
.home .hello .count { margin: 18px 0 0; text-align: center; font: 400 10.5px 'Montserrat', sans-serif; letter-spacing: .12em;
  text-transform: uppercase; color: #a79aa9; }
/* Explore by neighbourhood: the map with the side list (H6) */
.explore { display: grid; grid-template-columns: 330px 1fr; gap: 40px; align-items: start; }
.areas { border: 1px solid var(--line); padding: 22px 24px 10px; }
.areas .hint { margin: 0 0 16px; font: 400 11px 'Montserrat', sans-serif; letter-spacing: .12em; color: #9b8f9e; text-transform: uppercase; }
.areas .region { margin: 0 0 18px; }
.areas .rname { margin: 0 0 6px; font: 400 12.5px 'Montserrat', sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.areas .rname a { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.areas .region.on .rname a, .areas .rname a:hover { color: var(--brand); }
.areas .dia { width: 11px; height: 11px; transform: rotate(45deg); flex: none; }
.areas .hoods { margin: 0 0 4px 21px; line-height: 1.8; }
.areas .hood { display: inline-block; margin-right: 12px; font-size: 14px; font-weight: 300; color: var(--side-link); text-decoration: none; }
.areas a.hood:hover, .areas a.hood.on { text-decoration: underline; text-underline-offset: 3px; }
.areas .hood.soon { color: #c2bcc4; cursor: default; }
.map { position: relative; }
.map .land { display: block; width: 100%; height: auto; }
.map .near path { fill: #F0F0F0; }
.map .district path { stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; transition: fill .2s; }
.map .district { cursor: default; }

.district[data-r="1"] path { fill: #E3D9E6; }
.district[data-r="1"].on path { fill: #D4C4DA; }
.region[data-r="1"] .dia { background: #E3D9E6; }
.district[data-r="2"] path { fill: #EDDDE2; }
.district[data-r="2"].on path { fill: #E1C8D1; }
.region[data-r="2"] .dia { background: #EDDDE2; }
.district[data-r="3"] path { fill: #DCE6DB; }
.district[data-r="3"].on path { fill: #C8D9C6; }
.region[data-r="3"] .dia { background: #DCE6DB; }
.district[data-r="4"] path { fill: #EAE2D6; }
.district[data-r="4"].on path { fill: #DDD0BD; }
.region[data-r="4"] .dia { background: #EAE2D6; }
.mapwrap .credit { margin: 8px 0 0; text-align: right; font-size: 11px; color: #aaa; }
.mapwrap .credit a { color: inherit; }
.map .dtag { position: absolute; transform: translate(-50%, calc(-100% - 14px)); white-space: nowrap; pointer-events: none; opacity: 0;
             font: 400 11px 'Montserrat', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #6f5e74;
             background: rgba(255,255,255,.92); padding: 4px 9px; box-shadow: 0 1px 5px rgba(0,0,0,.1); transition: opacity .15s; z-index: 3; }
.map .dtag.on { opacity: 1; }
.map .dot { position: absolute; transform: translate(-50%, -50%); width: 11px; height: 11px; padding: 0; border-radius: 50%;
            border: 2px solid #fff; background: var(--brand); cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.2);
            transition: transform .15s, background .15s; z-index: 2; }
.map .dot em { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-style: normal;
               font: 400 12px 'Open Sans', sans-serif; color: #5f4f64; background: #fff; padding: 3px 8px;
               box-shadow: 0 1px 5px rgba(0,0,0,.12); opacity: 0; pointer-events: none; transition: opacity .15s; }
.map .dot.on, .map .dot:hover { transform: translate(-50%, -50%) scale(1.45); background: var(--button); z-index: 4; }
.map .dot.on em, .map .dot:hover em { opacity: 1; }
/* Latest reels: six covers with names */
.home .latest .minis { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.home .latest .mini small { display: block; margin-top: 3px; font: 400 10px 'Montserrat', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #a79aa9; }
/* Series: the same cards as a region page, three across */
/* her note (24 Nov): "the card of the series in the landing page is huge" (three across, covers 363 x 484 px). Now the
   five series stand in one row, a little smaller than a neighbourhood page's reel cards */
/* --cols is the number of series cards (four since Collaborations left the row, 26 Nov); a card is at most 250 px wide */
.home .series-band .grid { grid-template-columns: repeat(var(--cols, 5), minmax(0, 250px)); justify-content: center; gap: 30px 18px; }
.home .series-band .card h2 { font-size: 17px; }
.home .series-band .card .panel { margin: -22px 9px 0; padding: 13px 13px 11px; }
.home .series-band .card p { font-size: 12.5px; }
/* at this width the count and the link no longer fit on one line, so they stand one above the other */
.home .series-band .card .meta { flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 10px; white-space: nowrap; }
@media (max-width: 1000px) { .home .series-band .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.home .allpages { margin: 48px 0 0; text-align: center; font-size: 12px; color: #aaa; }
.home .allpages a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) {
  .hero { aspect-ratio: 2.3 / 1; }
  .hero .line { font-size: 15px; top: 27%; }
  .hero .start { font-size: 9.5px; padding: 6px 20px; top: 84%; }
  .home { padding: 0 16px 40px; }
  .home .band { padding-top: 36px; }
  .home .band > h2 { font-size: 20px; margin-bottom: 20px; }
  /* the postcard on a phone: stood up, the photo above the message, at full size so the words stay readable */
  .home .hello { --k: 1; max-width: 420px; }
  .home .hello .card { display: block; aspect-ratio: auto; padding: 30px 22px; }
  .home .hello .photo { width: 230px; max-width: 100%; margin: 0 auto; }
  .home .hello .mid { display: none; }
  .home .hello .msg { margin-top: 26px; padding-top: 118px; border-top: 1.5px dashed #C9AFC1; }
  .home .hello .post { top: 14px; right: 0; }
  .home .hello .txt { max-width: none; }
  .explore { grid-template-columns: 1fr; gap: 22px; }
  .mapwrap { order: -1; }
  .map .dot { width: 8px; height: 8px; border-width: 1.5px; }
  .map .district path { stroke-width: 1.8; }
  .home .latest .minis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .home .series-band .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .home .series-band .card .meta { white-space: normal; letter-spacing: .08em; }
}

/* Look closer (23 Nov, PMQ first): a reel's drawings as stills to read slowly, full width under the story;
   two across (one on a phone), a wide one alone on its row; each opens large on a tap */
.drawings { margin: 64px 0 0; padding-top: 46px; border-top: 1px solid var(--line); }
.drawings h2 { margin: 0 0 8px; text-align: center; font-weight: 300; font-size: 22px; letter-spacing: .1em; color: var(--brand); text-transform: uppercase; }
.drawings .lead { margin: 0 auto 34px; max-width: 560px; text-align: center; font-size: 15px; font-weight: 300; line-height: 1.7; color: #888; }
/* her rule (23 Nov): the two pictures of a row are the same height; each takes a share of the row equal to its own
   width-to-height ratio (set on the figure by publish.py), so nothing is cropped */
.drawings .row { display: flex; gap: 48px; align-items: flex-start; justify-content: center; }
.drawings .row + .row { margin-top: 44px; }
/* three or more in one row (26 Nov, the cathedral's old photos): a narrower gap, and smaller words under each */
.drawings .row.many { gap: 30px; }
.drawings .row.many figcaption { font-size: 14px; }
.drawings .row.many figcaption small { font-size: 11.5px; }
.drawings figure { margin: 0; min-width: 0; }
.drawings figure.wide { flex: 0 1 840px; }
.drawings .row.solo figure { flex: 0 1 calc(50% - 24px); }
.drawings figure > a { display: block; cursor: zoom-in; }   /* the picture's own link only: a credit link stays in its line */
.drawings img { display: block; width: 100%; height: auto; }
.drawings figcaption { margin: 12px auto 0; max-width: 460px; text-align: center; font-size: 15.5px; font-weight: 300; font-style: italic; line-height: 1.6; color: var(--brand); }
.drawings .drawnote { margin: 38px auto 0; max-width: 620px; text-align: center; font-size: 12.5px; font-weight: 300; line-height: 1.65; color: #9a9a9a; }
/* her note (23 Nov): a credit or an explanation sits under its own picture, below the caption */
.drawings figcaption small { display: block; margin-top: 6px; font-size: 12.5px; font-style: normal; line-height: 1.6; color: #9a9a9a; }
.drawings figcaption small a, .drawings .drawnote a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) {
  .drawings { margin-top: 44px; padding-top: 32px; }
  .drawings .row { display: block; }
  .drawings .row + .row, .drawings .row figure + figure { margin-top: 32px; }
}

/* Coming-soon pages (24 Nov): Travel Shop and Event & Community, so the tabs lead somewhere */
.soon .hoodhead { margin-top: 56px; }
.soon .soonbox { max-width: 520px; margin: 0 auto; padding: 22px 0 96px; border-top: 1px solid var(--line); text-align: center; }
.soon .soonbox p { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.7; color: #555; }
.soon .soonbox .btn { margin: 20px 0 0; }

/* The About page (23 Nov): her photo in a narrow column, the words beside it; the photo's top sits on the first title's
   capitals (her alignment rule). Second round the same day, her note "the text can be smaller, so it looks tighter":
   titles as the small spaced capitals of the reel pages, words at 15 px in a narrower column. On a phone the photo
   goes above the words. */
.about .hoodhead { margin-bottom: 40px; }
.about .ablock { display: grid; grid-template-columns: 240px minmax(0, 1fr); column-gap: 44px; align-items: start; max-width: 780px; margin: 0 auto 48px; }
.about .ablock figure { margin: 5px 0 0; }
.about .ablock figure img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.about .ablock figcaption { margin-top: 8px; font: 400 10px 'Montserrat', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #a79aa9; }
/* third round (23 Nov), her note "the spacing make it seems the title is the context [content]": a title has to read as
   a title, so it is larger light capitals (the home page's band titles, smaller) with clear air under it and more above,
   and the paragraphs under it sit closer to each other than the title sits to them */
.about .awords h2 { margin: 38px 0 14px; font-weight: 300; font-size: 20px; line-height: 1.25; letter-spacing: .1em; color: var(--brand); text-transform: uppercase; }
.about .awords h2:first-child { margin-top: 0; }
.about .awords p { margin: 0 0 9px; font-size: 15px; font-weight: 300; line-height: 1.7; color: #555; }
.about .awords p:last-child { margin-bottom: 0; }
.about .aclose { max-width: 780px; margin: 0 auto; padding-top: 30px; border-top: 1px solid var(--line); text-align: center; }
.about .aclose .welcome { margin: 0 0 8px; font-size: 15px; font-weight: 300; line-height: 1.7; color: #555; }
.about .aclose .line { margin: 0; font-size: 18px; font-weight: 300; font-style: italic; color: var(--brand); }
.about .aclose .btn { margin: 18px 0 0; }
@media (max-width: 760px) {
  .about .hoodhead { margin-bottom: 26px; }
  .about .ablock { grid-template-columns: 1fr; row-gap: 22px; margin-bottom: 40px; }
  .about .ablock figure { width: 220px; max-width: 100%; margin: 0 auto; text-align: center; }
  .about .awords h2 { font-size: 18px; margin: 32px 0 12px; }
  .about .aclose .line { font-size: 17px; }
}

/* Type of Trip (25 Nov, a test). The opening page: the types as cards the size of the home page's series cards, in one
   centred row, Collaborations the last of them (first built as a row of its reels under the cards; her note the same
   day: it "shoudn't list all of them").
   A type's page: its reels on shelves. A shelf's name has to read as a title (her rule of 23 Nov), so it is the About
   page's light capitals with a thin line running on from it, and one quiet line of words under it. */
.trips .typegrid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 250px)); justify-content: center; gap: 30px 18px; }
.trips .typegrid .card h2 { font-size: 17px; }
.trips .typegrid .card .panel { margin: -22px 9px 0; padding: 13px 13px 11px; }
.trips .typegrid .card p { font-size: 12.5px; }
.trips .typegrid .card .meta { flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 10px; white-space: nowrap; }
/* her note (25 Nov): a type's card takes her own cover for the type, never a reel's ("we shouldn't put a hike's cover").
   Until a cover comes, a plain block the shape of a cover stands in its place. */
.trips .typegrid .cover.blank { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; background: #fff;
                                border: 1px solid var(--line); text-decoration: none; }
.trips .typegrid .cover.blank span { margin-bottom: 30px; font: 400 10px 'Montserrat', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #c2b6c4; }
.trips .shelf + .shelf { margin-top: 64px; }
.trips .shelf > h2 { display: flex; align-items: center; gap: 18px; margin: 0; font-weight: 300; font-size: 20px; line-height: 1.25; letter-spacing: .1em; color: var(--brand); text-transform: uppercase; }
.trips .shelf > h2::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.trips .shelf > .line { margin: 6px 0 0; font-size: 14.5px; font-weight: 300; font-style: italic; line-height: 1.6; color: var(--text); }
.trips .shelf > .grid { margin-top: 24px; }
/* The Type of trip side list. Her note (28 Nov): "once i clicked in to the sub catogories, they all look the same catogories,
   no hierchy": these rules were written for the type pages only (.trips), so on a series page every line looked alike.
   They now hold wherever the list stands: a type is a line of the list, what belongs to it sits under it, set in and smaller. */
.side .shead a { color: inherit; text-decoration: none; }
.side .shead a:hover { color: var(--brand); }
.side li.sub { padding: 1px 0 1px 18px; font-size: 12.5px; }
/* "nowrap": the lit box has 8 px of padding on its right that a plain line has not, so the longest name ("Autumn & Winter
   Hikes") no longer fitted and broke in two when lit (her note, 28 Nov). The box may now run a few px into the list's margin. */
.side li.sub.now { padding: 1px 8px; margin: 1px 0 1px 10px; white-space: nowrap; }
.trips .shelf { scroll-margin-top: 20px; }
@media (max-width: 900px) { .trips .typegrid { grid-template-columns: repeat(2, minmax(0, 250px)); } }
@media (max-width: 760px) {
  .trips .typegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .trips .typegrid .card .meta { white-space: normal; letter-spacing: .08em; }
  .trips .shelf + .shelf { margin-top: 48px; }
  .trips .shelf > h2 { font-size: 18px; }
}

/* The foot of every page (26 Nov): a section of its own, a pale band across the page, so the Work with me link does not
   "disappear with the follow me". A short menu on the left, her line and the Instagram line in the middle, her postmark
   (the one on the hello postcard) on the right. */
.sitefoot { margin: 0; padding: 46px 24px 44px; background: var(--blush); border-top: 1px solid var(--line); }
.sitefoot .in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; max-width: 1132px; margin: 0 auto; }
/* "display: block": the header's rule for "nav ul" lays a menu out in a row, and this one is a column */
.sitefoot .fmenu ul { display: block; margin: 0; padding: 0; list-style: none; }
.sitefoot .fmenu li { margin: 0 0 12px; }
.sitefoot .fmenu li:last-child { margin-bottom: 0; }
.sitefoot .fmenu a { font: 400 11.5px 'Montserrat', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--nav); text-decoration: none; }
.sitefoot .fmenu a:hover { color: var(--brand); }
.sitefoot .fmid { text-align: center; }
.sitefoot .fline { margin: 0 0 14px; font: 300 17px 'Open Sans', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.sitefoot .follow { margin: 0; font-size: 15px; }
.sitefoot .fmark { justify-self: end; color: #A9839D; line-height: 0; }
.sitefoot .fmark .mark { display: block; width: 190px; height: 89px; transform: rotate(-7deg); opacity: .88; }
@media (max-width: 760px) {
  .sitefoot { padding: 36px 20px 34px; }
  .sitefoot .in { grid-template-columns: 1fr; gap: 26px; justify-items: center; }
  .sitefoot .fmenu ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; }
  .sitefoot .fmenu li { margin: 0; }
  .sitefoot .fline { font-size: 15px; }
  .sitefoot .fmark { justify-self: center; }
  .sitefoot .fmark .mark { width: 160px; height: 75px; }
}

/* Work with me (test of 26 Nov, workwith.py): her past collaborations, then a postcard to write to her.
   The postcard is the back of the hello postcard on the home page: the same paper, centre line, postmark and stamp,
   and the same size (her note: "will that look a bit big on the page?"; it was drawn at 760 x 507 px). --k is that
   size, 85 per cent as on the hello postcard: every measurement of the card is k times its size in the first drawing,
   so one number resizes it. The words people type stay at a readable size whatever k is.
   The message is written on the left; "To Sophia" and who it is from stand on the right, as on a real postcard. */
.workwith .hoodhead a { color: var(--brand); text-decoration: none; border-bottom: 1px solid var(--line); }
.workwith .hoodhead a:hover { border-bottom-color: var(--brand); }
.workwith .sect { margin: 0 0 28px; text-align: center; font-weight: 300; font-size: 22px; letter-spacing: .1em; color: var(--brand); text-transform: uppercase; }
/* her notes (26 Nov): "how do people know the catogories?", then, when two short kinds shared a row: "What if each catogories
   have one line, instead of stack them in the same line? and all aligh to the left. so it will read clearly it's catogorized".
   So: one row per kind of partner, every row starting at the same left edge, under a heading that looks like the shelf
   headings of the Type of Trip pages (light capitals with a line running on). The block is four cards wide, in the middle. */
.workwith .folio { max-width: 1054px; margin: 0 auto; }
.workwith .kgroup + .kgroup { margin-top: 54px; }
.workwith .kgroup > h3 { display: flex; align-items: center; gap: 18px; margin: 0 0 22px; font-weight: 300; font-size: 20px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand); }
.workwith .kgroup > h3::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.workwith .krow { display: flex; flex-wrap: wrap; gap: 30px 18px; }
.workwith .folio .card { width: 250px; }
/* a past collaboration's card (26 Nov): the title, then "with <partner>" */
.workwith .folio .card h2 { margin: 0; font-size: 17px; }
.workwith .folio .with { margin: 6px 0 0; font-size: 13px; font-weight: 300; font-style: italic; line-height: 1.45; color: #6f6f6f; }
/* the date and "See the reel" stand one above the other, as on the home page's series cards: side by side they touched at this width */
.workwith .folio .card .meta { flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 10px; }
.workwith .write { margin-top: 84px; scroll-margin-top: 24px; }
/* her note (26 Nov): "all these could be handwriting style since it's the same content": "Dear Sophia," and the letter
   are written in one hand. --hand is the font (loaded by workwith.py for this page only), --hand-size its size, --ink the
   colour of what people write, --pencil the lighter colour of the greeting and the sample. */
.workwith .reply { --k: .85; --pitch: 28px; --hand: 'Caveat', 'Segoe Print', cursive; --hand-size: 20px; --ink: #5e4f63; --pencil: #8f7a8f;
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1fr) calc(var(--k) * 8px) minmax(0, 1fr); column-gap: calc(var(--k) * 28px);
  max-width: calc(var(--k) * 760px); min-height: calc(var(--k) * 507px); margin: 0 auto 30px; box-sizing: border-box;
  padding: calc(var(--k) * 34px) calc(var(--k) * 34px) calc(var(--k) * 28px) calc(var(--k) * 38px); background-color: #F0E4EC;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .37  0 0 0 0 .31  0 0 0 0 .39  0 0 0 .075 0'/></filter><rect width='180' height='180' filter='url(%23g)'/></svg>");
  box-shadow: 0 1px 2px rgba(94,79,99,.12), 0 16px 34px rgba(94,79,99,.14); }
.workwith .reply .mid { display: block; align-self: center; width: calc(var(--k) * 8px); height: calc(var(--k) * 400px); color: #BDA0B3; overflow: visible; }
.workwith .reply .post { position: absolute; top: calc(var(--k) * 28px); right: calc(var(--k) * 30px); display: flex; align-items: center; color: #A9839D; pointer-events: none; }
.workwith .reply .mark { display: block; width: calc(var(--k) * 206px); height: calc(var(--k) * 96px); margin-right: calc(var(--k) * -44px); transform: rotate(-7deg); opacity: .88; }
.workwith .reply .stamp { position: relative; display: block; padding: calc(var(--k) * 5px); background: #fff; border: calc(var(--k) * 3px) dotted #F0E4EC;
  transform: rotate(2deg); box-shadow: 0 1px 3px rgba(94,79,99,.14); }
.workwith .reply .stamp img { display: block; width: calc(var(--k) * 56px); height: calc(var(--k) * 70px); object-fit: cover; }
.workwith .reply .label { display: block; margin: 0 0 calc(var(--k) * 12px); font: 400 calc(var(--k) * 13px) 'Montserrat', sans-serif; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand); }
/* the message: ruled like the writing side of a postcard, one rule per line of writing (--pitch); the rules scroll with the words */
/* her note (26 Nov): "i am puting Dear Sophia down, otherwise it's on the very top. I am trying to put most of the content
   in the center or lower, so it doesn't feel out of balance": the writing side starts two lines lower than the card's edge */
.workwith .reply .say { display: flex; flex-direction: column; min-width: 0; padding-top: calc(var(--pitch) * 4 - 6px); box-sizing: border-box; }
.workwith .reply .say .label { height: var(--pitch); margin: 0; padding: 0 2px; box-sizing: border-box; border-bottom: 1px solid #D5BFCE;
  font: 400 var(--hand-size)/var(--pitch) var(--hand); letter-spacing: 0; text-transform: none; color: var(--pencil); }
.workwith .reply textarea { flex: 1; display: block; width: 100%; min-height: calc(var(--pitch) * 8); margin: 0; padding: 0 2px; box-sizing: border-box; border: 0;
  scrollbar-width: thin; scrollbar-color: #C9AFC1 transparent;
  border-radius: 0; resize: none; outline: none; font: 400 var(--hand-size)/var(--pitch) var(--hand); color: var(--ink);
  background: repeating-linear-gradient(transparent 0 calc(var(--pitch) - 1px), #D5BFCE calc(var(--pitch) - 1px) var(--pitch)) local; }
.workwith .reply textarea:focus { background: repeating-linear-gradient(transparent 0 calc(var(--pitch) - 1px), #B893AC calc(var(--pitch) - 1px) var(--pitch)) local; }
/* the hints in the fields: lighter and slanted, so they read as an example; the sample letter: the same hand in lighter ink */
.workwith .reply ::placeholder { color: #937b8e; font-style: italic; opacity: 1; }
.workwith .reply textarea::placeholder { color: var(--pencil); font-style: normal; }
.workwith .reply .addr { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; padding-top: calc(var(--k) * 110px); box-sizing: border-box; }
.workwith .reply .to { margin: 0 0 14px; font-size: 15px; font-weight: 300; color: #555; }
.workwith .reply .to span, .workwith .reply .addr label span { display: block; margin-bottom: 2px; font: 400 9px 'Montserrat', sans-serif; letter-spacing: .14em;
  text-transform: uppercase; color: #9d8aa0; }
.workwith .reply .addr label { display: block; margin: 0 0 10px; }
.workwith .reply .addr input[type=text], .workwith .reply .addr input[type=email] { display: block; width: 100%; padding: 3px 2px 5px; box-sizing: border-box;
  border: 0; border-bottom: 1px solid #C9AFC1; border-radius: 0; outline: none; background: transparent; font: 300 14px 'Open Sans', sans-serif; color: #555; }
.workwith .reply .addr input:focus { border-bottom-color: var(--brand); box-shadow: 0 1px 0 var(--brand); }
.workwith .reply .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
/* her note (26 Nov): "Send post card can be a smaller button. Rignt now it's quite dominating" (it was 156 x 31 px) */
.workwith .reply .go { align-self: flex-start; margin: 6px 0 0; padding: 6px 15px; border: 0; border-radius: 0; background: var(--button); color: #fff; cursor: pointer;
  font: 400 9px 'Montserrat', sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.workwith .reply .go:hover, .workwith .reply .go:focus-visible { background: var(--brand); }
.workwith .reply .go:disabled { opacity: .6; cursor: default; }
.workwith .reply .note { min-height: 16px; margin: 8px 0 0; font-size: 12px; font-weight: 300; line-height: 1.4; color: var(--plum); }
/* after it is sent: her thank-you and her signature in place of the fields */
.workwith .reply .thanks { display: none; grid-column: 1 / -1; align-self: center; text-align: center; outline: none; }
.workwith .reply .thanks .txt { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.7; color: #555; }
.workwith .reply .thanks .sign { margin: 10px 0 0; line-height: 0; transform: rotate(-3deg); }
.workwith .reply .thanks .sign img { display: inline-block; width: calc(var(--k) * 136px); height: auto; }
.workwith .reply.sent .say, .workwith .reply.sent .mid, .workwith .reply.sent .addr { display: none; }
.workwith .reply.sent .thanks { display: block; }
@media (max-width: 760px) {
  .workwith .kgroup + .kgroup { margin-top: 40px; }
  .workwith .kgroup > h3 { margin-bottom: 16px; font-size: 17px; }
  .workwith .krow { gap: 22px 12px; }
  .workwith .folio .card { width: calc(50% - 6px); }
  .workwith .sect { font-size: 18px; }
  .workwith .write { margin-top: 60px; }
  /* the postcard on a phone: stood up at full size, the message above the address, as the hello postcard does;
     16 px writing so the phone does not zoom in on a field */
  .workwith .reply { --k: 1; --pitch: 32px; --hand-size: 23px; display: block; max-width: 420px; min-height: 0; padding: 26px 22px 24px; }
  .workwith .reply .mid { display: none; }
  .workwith .reply .post { top: 16px; right: 14px; }
  .workwith .reply .say { padding-top: 112px; }
  .workwith .reply textarea { min-height: calc(var(--pitch) * 9); }
  .workwith .reply .go { padding: 10px 20px; font-size: 10px; }
  .workwith .reply .addr { margin-top: 26px; padding-top: 24px; border-top: 1.5px dashed #C9AFC1; }
  .workwith .reply .to { margin-bottom: 20px; font-size: 16px; }
  .workwith .reply .addr label { margin-bottom: 16px; }
  .workwith .reply .addr input[type=text], .workwith .reply .addr input[type=email] { padding: 4px 2px 6px; font-size: 16px; }
  .workwith .reply.sent { padding-top: 130px; }
}

/* Pictures and reels are a little harder to save (26 Nov; her words: "I know they can screenshot, but i am just making
   things not as easy"). assets/protect.js stops the right-click menu and dragging; these lines stop the long-press menu
   on phones ("Save to Photos") and selecting a picture. None of it stops a screenshot. */
img, video { -webkit-touch-callout: none; -webkit-user-drag: none; -webkit-user-select: none; user-select: none; }
/* The viewer (protect.js): a large picture opens over the page, not as a bare file in a new tab. It fits the window
   first; a click on the picture shows it at full size, to scroll around; the cross, Esc or a click beside it closes. */
html.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 1000; display: flex; overflow: auto; padding: 26px; box-sizing: border-box;
  background: rgba(255, 255, 255, .97); cursor: zoom-out; outline: none; }
.lb img { display: block; max-width: 100%; max-height: 100%; margin: auto; cursor: zoom-in; box-shadow: 0 2px 20px rgba(94,79,99,.2); }
.lb.zoom img { max-width: none; max-height: none; cursor: zoom-out; }
.lb-x { position: fixed; top: 14px; right: 20px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #fff;
  color: var(--plum); font: 300 28px/38px 'Open Sans', sans-serif; text-align: center; cursor: pointer; box-shadow: 0 1px 7px rgba(94,79,99,.28); }
.lb-x:hover, .lb-x:focus-visible { background: var(--blush); outline: none; }
@media (max-width: 760px) { .lb { padding: 14px; } .lb-x { top: 10px; right: 10px; } }

/* Event & Community (1 Dec 2026): an event page, the animated slides of her post, her caption, her photos afterwards */
.event .evslides { display: grid; grid-template-columns: repeat(4, minmax(0, 250px)); justify-content: center; gap: 14px; margin: 0 0 34px; }
.event .evslides figure, .event .evgrid figure { margin: 0; }
.event .evslides video { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #f3eef4; }
.event .evstory { max-width: 760px; margin: 0 auto; }
.event .evstory p + p { margin-top: 14px; }
.event .evstory .date { margin: 0 0 18px; text-align: center; }
.event .evclose { margin-top: 22px; font-style: italic; color: var(--brand); }
.event .evphotos { max-width: 1100px; margin: 50px auto 0; }
.event .evphotos h2 { margin: 0 0 16px; font: 400 12px 'Montserrat', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); text-align: center; }
.event .evgrid { columns: 3 260px; column-gap: 12px; }
.event .evgrid figure { break-inside: avoid; margin-bottom: 12px; }
.event .evgrid img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .event .evslides { grid-template-columns: repeat(2, minmax(0, 250px)); } }
@media (max-width: 560px) { .event .evslides { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.event .evmusic { margin: -10px 0 30px; text-align: center; }
.event .evmusic button { padding: 8px 20px; border: 1px solid var(--button); background: #fff; color: var(--brand); border-radius: 0; cursor: pointer;
  font: 400 11px 'Montserrat', sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.event .evmusic button[aria-pressed="true"] { background: var(--button); color: #fff; }
.event .evmusic i { margin-right: 8px; }

/* a page's further reels as blocks (1 Dec 2026): the reel on the left, its own text on the right */
.morereels.blocks .subreel { grid-template-columns: 262px 1fr; margin-top: 8px; }
.morereels.blocks .subreel .reelcol { width: 262px; }
.morereels.blocks .subreel .substory h3 { font-size: 24px; }
.morereels.blocks .subreel .substory .sub { margin: 0 0 4px; }
@media (max-width: 700px) { .morereels.blocks .subreel { grid-template-columns: 1fr; gap: 18px; } .morereels.blocks .subreel .reelcol { width: min(262px, 100%); } }
/* the headings inside a block keep the reel page's own look and air (the .morereels h2 rule is for the section's title) */
.morereels.blocks .story h2 { margin: 30px 0 8px; font: 400 12px 'Montserrat', sans-serif; letter-spacing: .14em; color: var(--brand); }

/* 1 Dec 2026: a postcard with no words yet */
.story .soon { margin: 18px 0 0; font-size: 14px; letter-spacing: .04em; color: #9a9a9a; font-style: italic; }

/* 2 Dec 2026: on a phone the Home and Cart icons sit with Instagram and Threads at the top right (the tabs' own icons are hidden there) */
.utility .uhome, .utility .ucart { display: none; }
@media (max-width: 760px) { .utility .uhome, .utility .ucart { display: inline; } .utility { gap: 14px; } }
