/* Mill Pond House — hand-built demo redesign.
 *
 * The whole system comes off one object: the hand-painted stoneware plate her guests eat
 * breakfast from (research/plate_motif.jpg). Its glaze is the page, its brown lettering is the
 * type colour, its mill and wheel are the mark, and its ochre / pond-blue / pine are the only
 * accents allowed.
 *
 * There is one grammar rule the whole page obeys, and it is a truth rule, not a taste one:
 *   framed + captioned  = a real photograph of this real house
 *   full-bleed + silent = a painting, and makes no claim about anything
 * Nothing may cross. See NOTES.md.
 */

/* ------------------------------------------------------------------ fonts */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader.woff2") format("woff2-variations");
  font-weight: 200 800; font-display: swap;
}

:root {
  /* the glaze */
  --paper:      #F4EDE0;
  --paper-2:    #EBE0CC;   /* a deeper band of the same clay */
  --paper-3:    #E1D3BA;
  --mat:        #FBF7EF;   /* the mat a photograph is mounted on */

  /* the brown she letters in */
  --ink:        #33241A;
  --ink-2:      #5A4433;
  --ink-3:      #6B5540;   /* was #7C6650, which was 4.15:1 on --paper-2 and 3.67:1 on
                              --paper-3 — both under AA. This passes on all four grounds. */

  --rust:       #8B4A2F;
  --rust-deep:  #66341F;
  --ochre:      #C8933A;
  --blue:       #7FA8C9;
  --blue-deep:  #35617F;
  --pine:       #2E4A32;

  --line:       rgba(139, 74, 47, .22);
  --line-2:     rgba(139, 74, 47, .40);
  /* Form control boundaries are UI components under WCAG 1.4.11 and need 3:1, which the
   * translucent --line-2 does not reach (it blends to about 1.9:1 on the field fill). */
  --field-line: #96735C;
  --placeholder: #6B5540;

  --shadow:     0 1px 2px rgba(51, 36, 26, .07), 0 6px 18px rgba(51, 36, 26, .09);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Newsreader", Georgia, "Times New Roman", serif;

  --wrap: 1120px;
  --gut: clamp(20px, 5vw, 56px);

  /* Fraunces set the way the plate is lettered: soft corners, wonky alternates on */
  --wonk: "SOFT" 42, "WONK" 1;
}

*, *::before, *::after { box-sizing: border-box; }

/* Any author `display` on an element beats the UA stylesheet's `[hidden] { display: none }`,
 * so a class like `.arc-now { display: inline-block }` silently un-hides it. That shipped
 * once here: all three season cards showed the "where the season is now" badge at the same
 * time, which is both broken and a false claim. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* the header is sticky; without this every in-page link parks the section's
   * eyebrow label underneath it */
  scroll-padding-top: 84px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-variation-settings: "opsz" 16;
  font-size: 1.0625rem;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--rust-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--rust); }

:focus-visible {
  outline: 2.5px solid var(--rust-deep);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--rust-deep); color: var(--mat);
  padding: .7em 1.1em; border-radius: 0 0 6px 0; font-family: var(--display);
}
.skip:focus { left: 0; }

.vh {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ------------------------------------------------------------------ type */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-variation-settings: "opsz" 60, var(--wonk);
  font-weight: 570;
  line-height: 1.08;
  letter-spacing: -.012em;
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: clamp(1.85rem, 1.15rem + 2.4vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.02rem + .7vw, 1.5rem); font-variation-settings: "opsz" 30, var(--wonk); }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.14rem, 1.03rem + .5vw, 1.36rem);
  line-height: 1.56;
  color: var(--ink-2);
  font-variation-settings: "opsz" 22;
}

/* The section label: the small hand-lettered tag above every heading. */
.label {
  font-family: var(--display);
  font-variation-settings: "opsz" 14, var(--wonk);
  font-weight: 640;
  font-size: .735rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 .85em;
  display: flex; align-items: center; gap: .6em;
}
.label::after {
  content: ""; flex: 1; height: 1px; max-width: 120px;
  background: linear-gradient(90deg, var(--line-2), transparent);
}
.label--center { justify-content: center; }
.label--center::before {
  content: ""; flex: 1; height: 1px; max-width: 120px;
  background: linear-gradient(270deg, var(--line-2), transparent);
}

.eyebrow {
  font-family: var(--display);
  font-variation-settings: "opsz" 14, var(--wonk);
  font-weight: 620; font-size: .74rem;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-3);
}

section { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.band-2 { background: var(--paper-2); }

.head { max-width: 62ch; margin-bottom: clamp(30px, 4vw, 52px); }
.head--center { margin-inline: auto; text-align: center; }
.head p { color: var(--ink-2); }
.head h2 + p { margin-top: .7em; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--display);
  font-variation-settings: "opsz" 18, var(--wonk);
  font-weight: 600; font-size: 1rem;
  letter-spacing: .005em;
  padding: .82em 1.5em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease, color .16s ease;
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--rust-deep); color: #FDF8F0; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--rust); color: #FDF8F0; }

.btn-quiet {
  background: transparent; color: var(--ink); border-color: var(--line-2);
}
.btn-quiet:hover { background: rgba(139, 74, 47, .07); color: var(--ink); border-color: var(--rust); }

.btn-small { font-size: .9rem; padding: .6em 1.1em; min-height: 44px; }

.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }

/* ------------------------------------------------------------------ header */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
/* No backdrop-filter and no transform here on purpose: either one would make this element a
 * containing block for fixed positioning, and the mobile drawer below is fixed. */
.hdr-in {
  display: flex; align-items: center; gap: 1rem;
  min-height: 68px; padding-block: 8px;
}
.brand { display: flex; align-items: center; gap: .62rem; text-decoration: none; color: var(--ink); margin-right: auto; min-height: 46px; }
.brand svg, .brand img { width: 42px; height: 42px; flex: none; }
.brand-name {
  font-family: var(--display); font-variation-settings: "opsz" 24, var(--wonk);
  font-weight: 600; font-size: 1.12rem; line-height: 1.05; letter-spacing: -.01em;
  white-space: nowrap;
}
.brand-sub {
  display: block; white-space: nowrap;
  font-family: var(--display); font-variation-settings: "opsz" 12, var(--wonk);
  font-weight: 600; font-size: .62rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-3); margin-top: .25em;
}

.nav { display: flex; align-items: center; gap: .2rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--display); font-variation-settings: "opsz" 16, var(--wonk);
  font-weight: 560; font-size: .95rem;
  color: var(--ink-2); text-decoration: none; white-space: nowrap;
  padding: .5em .72em; border-radius: 6px;
}
.nav a:hover { color: var(--rust-deep); background: rgba(139, 74, 47, .07); }

.hdr-phone {
  font-family: var(--display); font-variation-settings: "opsz" 18, var(--wonk);
  font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap;
  padding: .5em .5em; display: inline-flex; align-items: center; min-height: 46px;
}
.hdr-phone:hover { color: var(--rust-deep); }

.burger {
  display: none; width: 46px; height: 46px; border: 1.5px solid var(--line-2);
  border-radius: 8px; background: transparent; cursor: pointer; align-items: center;
  justify-content: center; color: var(--ink); flex: none;
}

/* Measured: the full bar (brand + five nav links + the number + the pill) needs about 1155px.
 * Hiding it at 1000px left a 155px band where the button hung off the right edge and the
 * whole page scrolled sideways. */
@media (max-width: 1180px) {
  .nav, .hdr .btn { display: none; }
  .burger { display: inline-flex; }
}
/* Below ~470px the phone number, the burger and the wordmark are fighting for about 150px,
 * and "Mill Pond House" was breaking across two lines with the locality breaking across two
 * more under it. The locality is on the page four other times; it comes out of the bar. */
@media (max-width: 470px) {
  .brand svg, .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 1.02rem; }
  .brand-sub { display: none; }
  .hdr-phone { font-size: .94rem; padding-inline: .3em; }
  .hdr-in { gap: .5rem; }
}
/* Below ~400px the number in the bar pushed the hamburger off the screen entirely. The number
 * is still one tap away in the call bar, which is on screen at all times, and in the drawer. */
@media (max-width: 400px) {
  .hdr-phone { display: none; }
}

/* the drawer — a sibling of .hdr, fixed, above everything */
.drawer {
  position: fixed; inset: 0; z-index: 90;
  background: var(--paper);
  padding: 22px var(--gut) 40px;
  overflow-y: auto;
  display: none; flex-direction: column; gap: .3rem;
}
.drawer[data-open="true"] { display: flex; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.drawer a.dl {
  font-family: var(--display); font-variation-settings: "opsz" 34, var(--wonk);
  font-weight: 570; font-size: 1.5rem; color: var(--ink); text-decoration: none;
  padding: .5em 0; border-bottom: 1px solid var(--line);
}
.drawer a.dl:hover { color: var(--rust-deep); }
.drawer .btn { margin-top: 1.3rem; }
body[data-locked="true"] { overflow: hidden; }

/* ------------------------------------------------------------------ mounted photographs
 * Everything in a .plate is one of HER photographs, always at or under its native pixel
 * width, mounted on a mat with a caption. Nothing generated ever gets this treatment. */
.plate { margin: 0; display: inline-block; max-width: 100%; }
.plate figcaption { max-width: 34ch; }
.plate-mat {
  /* fit the photograph, not the caption: a caption longer than a 137px scan was stretching
   * the mat around it and leaving the photograph floating in white space */
  width: fit-content;
  background: var(--mat);
  padding: 10px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 2px;
}
.plate-mat img { border-radius: 1px; }
.plate figcaption {
  font-family: var(--display); font-variation-settings: "opsz" 12, var(--wonk);
  font-weight: 600; font-size: .688rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-3); margin-top: .85em; line-height: 1.5;
}
.plate figcaption .cap-note { text-transform: none; letter-spacing: .02em; font-weight: 500; color: var(--ink-3); }
.plate--lg .plate-mat { padding: 14px; }

/* a light tilt, alternating, so a wall of them reads as an album rather than a grid.
 * Kept under a degree — anything more and the mats collide at narrow widths. */
.tilt-a { transform: rotate(-.55deg); }
.tilt-b { transform: rotate(.5deg); }
@media (max-width: 560px) { .tilt-a, .tilt-b { transform: none; } }

/* ------------------------------------------------------------------ painted bands
 * Generated imagery. Always full-bleed, always silent, never captioned, never framed. */
.painted { position: relative; overflow: hidden; }
.painted img { width: 100%; object-fit: cover; }
.painted--band img { height: clamp(200px, 30vw, 380px); }
.painted--thin img { height: clamp(120px, 16vw, 200px); }

/* ------------------------------------------------------------------ opening */
.open { padding-top: clamp(38px, 5vw, 64px); padding-bottom: clamp(44px, 6vw, 76px); }
.open-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.open h1 {
  font-size: clamp(2.55rem, 1.35rem + 5.1vw, 4.6rem);
  font-variation-settings: "opsz" 100, var(--wonk);
  font-weight: 545;
  letter-spacing: -.022em;
  line-height: .98;
}
.open-where {
  font-family: var(--display); font-variation-settings: "opsz" 16, var(--wonk);
  font-weight: 620; font-size: .78rem; letter-spacing: .19em; text-transform: uppercase;
  color: var(--rust); margin-bottom: 1.1em;
}
.open-lede { margin-top: .9em; max-width: 46ch; }
.open .btn-row { margin-top: 1.7rem; }

/* the two headline facts, in the opening where the judges insisted they belong */
.open-facts {
  display: flex; flex-wrap: wrap; gap: 0 clamp(24px, 4vw, 64px);
  margin-top: clamp(28px, 3.4vw, 46px); padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.open-fact { padding-block: .35rem; }
.open-fact dt {
  font-family: var(--display); font-variation-settings: "opsz" 12, var(--wonk);
  font-weight: 620; font-size: .66rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-3);
}
.open-fact dd {
  margin: .28em 0 0; font-family: var(--display);
  font-variation-settings: "opsz" 28, var(--wonk); font-weight: 580; font-size: 1.16rem;
  color: var(--ink);
}

@media (max-width: 900px) {
  .open-grid { grid-template-columns: minmax(0, 1fr); }
  .open-photo { justify-self: start; }
}
@media (max-width: 560px) {
  /* two clean columns rather than four cramped ones */
  .open-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
}

/* ------------------------------------------------------------------ the season strip */
.season-strip {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
  padding-block: .9rem;
}
.season-in {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.1rem;
  font-size: .96rem; color: var(--ink-2);
}
.season-dot {
  width: .58em; height: .58em; border-radius: 50%; background: var(--pine);
  display: inline-block; margin-right: .5em; vertical-align: baseline;
}
.season-dot--shut { background: var(--ink-3); }
.season-state {
  font-family: var(--display); font-variation-settings: "opsz" 18, var(--wonk);
  font-weight: 620; color: var(--ink);
}
.season-dates { color: var(--ink-2); }

/* ------------------------------------------------------------------ the rooms
 * The bath arrangement drawn as a diagram, which IS the rate table. Two doors braced
 * together share a bath at $135; one stands apart with its own at $179. Drawn doors rather
 * than photographs, on purpose: nothing on record says which of her three rooms is the
 * private one, so no photograph may be placed where it would imply an answer. */
.brace {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 720px) { .brace { grid-template-columns: 1fr; gap: 40px; } }

.brace-col { text-align: center; color: var(--ink-2); }
/* The rule has to be exactly as wide as the doors it braces, so doors + rule live in one
 * shrink-to-fit box rather than both stretching to the column. */
.brace-fig { display: block; width: fit-content; margin-inline: auto; }
.brace-doors { display: flex; justify-content: center; gap: clamp(14px, 2.4vw, 26px); }
.door { width: clamp(46px, 7vw, 60px); height: auto; color: var(--rust-deep); }
.brace-rule { display: block; width: 100%; height: 28px; margin-top: -1px; }
.brace-rule--share { color: var(--blue-deep); }
.brace-rule--private { color: var(--pine); }

.chip {
  font-family: var(--display); font-variation-settings: "opsz" 12, var(--wonk);
  font-weight: 600; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  display: inline-block;
  padding: .4em .8em; border-radius: 999px;
  background: rgba(139, 74, 47, .09); color: var(--rust-deep);
  border: 1px solid var(--line);
}
.brace-chip { display: block; width: fit-content; margin: .75rem auto 0; }
.chip--pond { background: rgba(127, 168, 201, .26); color: var(--ink); border-color: rgba(53, 97, 127, .35); }
.chip--pine { background: rgba(46, 74, 50, .13); color: var(--pine); border-color: rgba(46, 74, 50, .3); }

.brace-col .rate { margin: .75rem 0 0; font-size: clamp(2.2rem, 1.6rem + 2vw, 2.9rem); color: var(--rust); }
.brace-col .rate span { font-size: .8rem; }
.brace-bed {
  margin: .35rem auto 0; max-width: 24ch; font-family: var(--display);
  font-variation-settings: "opsz" 22, var(--wonk); font-weight: 570;
  font-size: 1.06rem; color: var(--ink);
}
.brace-notes {
  margin: .8rem auto 0; max-width: 32ch; display: grid; gap: .35rem;
  text-align: left; padding-left: 1.1rem;
}
.brace-notes li { font-size: .93rem; color: var(--ink-3); }
.brace-cta { margin-top: 1.1rem; }

.rooms-cta {
  margin-top: clamp(34px, 4.5vw, 52px); padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 44px); align-items: flex-start;
}
.rooms-cta .rate-notes { margin: 0; flex: 1 1 26ch; }

.rate-notes { display: grid; gap: .5rem; padding-left: 1.2rem; }
.rate-notes li { color: var(--ink-2); font-size: .96rem; }

.roomshots { margin-top: clamp(34px, 4.5vw, 52px); }
.roomshots-note {
  max-width: 62ch; color: var(--ink-3); font-size: .95rem; margin-bottom: 1.4rem;
  padding-left: .9rem; border-left: 2px solid var(--line-2);
}
/* The house album mixes a 286px-tall scan with 182px ones, so it bottom-aligns (inherited).
 * Every photograph in the rooms album is 182px tall, so top-aligning lines up both the tops
 * AND the bottoms of the images; only the caption line-count is ragged, which is the right
 * thing to leave ragged. */
.album.album--rooms { justify-content: flex-start; align-items: flex-start; }
.album.album--house { align-items: flex-start; }
/* the porch sits against ~640px of prose; centring it turns a hole under the photo into
 * breathing room above and below it */
#house .split { align-items: center; }
@media (max-width: 900px) { #house .split { align-items: start; } }

.whole-house {
  margin-top: clamp(28px, 3.4vw, 40px);
  border: 1px solid var(--line-2); border-radius: 4px;
  background: rgba(200, 147, 58, .1);
  padding: clamp(18px, 2.4vw, 26px);
  display: flex; gap: 1.1rem; align-items: flex-start; flex-wrap: wrap;
  justify-content: space-between;
}
.whole-house p { margin: 0; color: var(--ink-2); max-width: 62ch; }
.whole-house strong { color: var(--ink); }

/* ------------------------------------------------------------------ prose + signature */
.prose { max-width: 60ch; }
.prose p { font-variation-settings: "opsz" 18; }
.prose .first::first-letter {
  font-family: var(--display); font-variation-settings: "opsz" 144, var(--wonk);
  font-weight: 560; font-size: 3.2em; float: left; line-height: .84;
  margin: .06em .1em 0 0; color: var(--rust);
}
.sign {
  margin-top: 1.6rem; font-family: var(--display);
  font-variation-settings: "opsz" 30, var(--wonk); font-weight: 560;
  font-size: 1.2rem; color: var(--ink);
}
.sign span {
  display: block; font-family: var(--display);
  font-variation-settings: "opsz" 12, var(--wonk);
  font-weight: 620; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3); margin-top: .35em;
}

.split {
  /* The right column is capped rather than sized to its content: her porch photograph is
   * 696px native, and letting it take its natural width left the prose beside it at about
   * 38 characters a line. Downscaling a photograph is allowed; a 38ch measure is not. */
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 47%);
  gap: clamp(30px, 5vw, 68px); align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* bottom-aligned so the images share a baseline and therefore so do the captions —
 * top-aligning a 286px scan next to a 182px one puts the captions on three different lines */
.album { display: flex; flex-wrap: wrap; gap: clamp(16px, 2.4vw, 28px); align-items: flex-end; }

/* ------------------------------------------------------------------ the plates story */
.plates-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
@media (max-width: 880px) { .plates-grid { grid-template-columns: 1fr; } }
.mark-big { width: min(320px, 78%); margin-inline: auto; }
.mark-caption {
  text-align: center; margin-top: 1rem;
  font-family: var(--display); font-variation-settings: "opsz" 12, var(--wonk);
  font-weight: 600; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-3);
}

/* ------------------------------------------------------------------ the season arc */
.arc { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 34px); }
@media (max-width: 780px) { .arc { grid-template-columns: 1fr; } }
.arc-card { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--mat); }
/* 4:3 to match the crop the renditions ship at, so nothing is downloaded and
 * then thrown away by object-fit. */
.arc-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.arc-body { padding: 1rem 1.15rem 1.2rem; }
.arc-body h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.arc-body p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.arc-card[data-now="true"] { border-color: var(--rust); box-shadow: 0 0 0 2px rgba(139, 74, 47, .18); }
.arc-now {
  display: inline-block; margin-bottom: .5rem;
  font-family: var(--display); font-variation-settings: "opsz" 12, var(--wonk);
  font-weight: 640; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--rust-deep); background: rgba(139, 74, 47, .1);
  padding: .3em .6em; border-radius: 999px;
}

/* ------------------------------------------------------------------ guests */
.quotes { columns: 2; column-gap: clamp(26px, 3.4vw, 44px); }
@media (max-width: 800px) { .quotes { columns: 1; } }
.quote {
  break-inside: avoid; margin: 0 0 clamp(22px, 2.6vw, 30px);
  padding-left: 1.15rem; border-left: 2px solid var(--line-2);
}
.quote p {
  font-size: 1.06rem; line-height: 1.6; color: var(--ink); margin-bottom: .6em;
  font-variation-settings: "opsz" 20;
}
.quotes-link a { display: inline-flex; align-items: center; min-height: 44px; }
.quote footer {
  font-family: var(--display); font-variation-settings: "opsz" 12, var(--wonk);
  font-weight: 620; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-3);
}

/* ------------------------------------------------------------------ the place */
.near { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); }
@media (max-width: 980px) { .near { grid-template-columns: 1fr; } }
/* A flex row here squeezed "The Monhegan boat" into a three-line column beside its note.
 * The note belongs under the name, not next to it. */
.near li {
  padding-block: .8rem; border-bottom: 1px solid var(--line);
  display: grid; gap: .15rem;
}
.near li strong { font-family: var(--display); font-variation-settings: "opsz" 20, var(--wonk); font-weight: 590; }
.near li span { color: var(--ink-2); font-size: .95rem; }

.steps { counter-reset: s; display: grid; gap: .1rem; max-width: 62ch; }
.steps li {
  counter-increment: s; display: flex; gap: .95rem; align-items: baseline;
  padding-block: .7rem; border-bottom: 1px solid var(--line); color: var(--ink-2);
}
.steps li::before {
  content: counter(s); flex: none;
  font-family: var(--display); font-variation-settings: "opsz" 14, var(--wonk);
  font-weight: 640; font-size: .78rem; color: var(--rust);
  width: 1.7em; height: 1.7em; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: inline-flex; align-items: center; justify-content: center;
}

.daytrips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }

/* ------------------------------------------------------------------ the form */
.ask-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: clamp(30px, 4.5vw, 64px); align-items: start;
}
@media (max-width: 900px) {
  .ask-grid { grid-template-columns: 1fr; }
  .aside-times { display: none; }
}

form.ask { display: grid; gap: 1.05rem; }
.field { display: grid; gap: .38rem; }
.field label, legend.flabel {
  font-family: var(--display); font-variation-settings: "opsz" 14, var(--wonk);
  font-weight: 620; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-2); padding: 0;
}
.field .hint { font-size: .86rem; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--mat);
  border: 1.5px solid var(--field-line);
  border-radius: 4px;
  padding: .72em .82em;
  width: 100%;
  min-height: 48px;
}
.field textarea { min-height: 118px; resize: vertical; line-height: 1.55; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  border-color: var(--rust-deep); outline-offset: 1px;
}
.field ::placeholder { color: var(--placeholder); opacity: 1; }
/* a field the browser or our own validation has rejected */
.field [aria-invalid="true"] { border-color: #8A2B1B; border-width: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.form-note { font-size: .92rem; color: var(--ink-3); margin: 0; }
.form-note strong { color: var(--ink-2); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { font-size: .97rem; margin: 0; }
.form-status[data-state="err"] { color: #8A2B1B; }
.form-status[data-state="ok"] { color: var(--pine); }

.aside-card {
  background: var(--mat); border: 1px solid var(--line); border-radius: 4px;
  padding: clamp(20px, 2.6vw, 28px); box-shadow: var(--shadow);
}
.aside-card h3 { margin-bottom: .7rem; }
.contact-list { display: grid; gap: .9rem; margin: 0; }
.contact-list dt {
  font-family: var(--display); font-variation-settings: "opsz" 12, var(--wonk);
  font-weight: 620; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
}
.contact-list dd { margin: .2em 0 0; font-size: 1.02rem; }
.contact-list dd a {
  font-family: var(--display); font-variation-settings: "opsz" 22, var(--wonk); font-weight: 580;
  display: inline-flex; align-items: center; min-height: 44px;
}
.dd-note, .ftr-note {
  display: block; font-size: .84rem; color: var(--ink-3); margin-top: -.3em;
}
.ftr-note { margin-top: -.15rem; margin-bottom: .35rem; }

/* ------------------------------------------------------------------ practical */
.policies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(26px, 4vw, 56px); }
@media (max-width: 700px) { .policies { grid-template-columns: 1fr; } }
.policies div { padding-block: .95rem; border-bottom: 1px solid var(--line); }
.policies dt {
  font-family: var(--display); font-variation-settings: "opsz" 14, var(--wonk);
  font-weight: 630; font-size: .7rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--rust);
}
.policies dd { margin: .3em 0 0; color: var(--ink-2); }

/* ------------------------------------------------------------------ footer */
/* The footer's top edge is the scalloped gingerbread bargeboard that runs along every gable
 * of her actual house (see research/realimg/mphouse.jpg). It is the one ornament on the page
 * that does not come off the plate, and it appears exactly once, as a payoff. It is also one
 * of the three features that make her house instantly recognisable and a generated one
 * instantly detectable. */
.ftr {
  background: var(--paper-3);
  padding-block: clamp(58px, 6vw, 78px) clamp(40px, 5vw, 64px);
  position: relative;
}
.ftr::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 22px;
  background-repeat: repeat-x;
  background-size: 46px 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='22' viewBox='0 0 46 22'%3E%3Cpath d='M0 0 H46 V4 Q34.5 4.6 30 12.4 Q26.4 18.6 23 18.8 Q19.6 18.6 16 12.4 Q11.5 4.6 0 4 Z' fill='%23E1D3BA'/%3E%3Cpath d='M0 4 Q11.5 4.6 16 12.4 Q19.6 18.6 23 18.8 Q26.4 18.6 30 12.4 Q34.5 4.6 46 4' fill='none' stroke='rgba(139,74,47,.42)' stroke-width='1.1'/%3E%3C/svg%3E");
}
.ftr-grid { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); justify-content: space-between; }
.ftr-brand { display: flex; align-items: center; gap: .7rem; }
.ftr-brand svg, .ftr-brand img { width: 52px; height: 52px; }
.ftr a { color: var(--ink-2); }
.ftr-cols { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); }
.ftr-col { display: grid; gap: .05rem; align-content: start; }
.ftr-col h4, .ftr-col .ftr-h {
  font-variation-settings: "opsz" 12, var(--wonk); font-weight: 630; font-size: .66rem;
  letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .3rem;
}
.ftr-col span { font-size: .97rem; }
.ftr-col a {
  font-size: .97rem; text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
}
.ftr-col a:hover { text-decoration: underline; }
.ftr-legal {
  margin-top: clamp(28px, 4vw, 44px); padding-top: 1.2rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .86rem; color: var(--ink-3);
}

/* ------------------------------------------------------------------ sticky call bar
 * Present from the moment the page loads, not revealed on scroll: a visitor who has just
 * got off the boat and wants to phone should not have to scroll to find the number. */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; gap: .6rem; padding: .6rem var(--gut) calc(.6rem + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--line-2);
  box-shadow: 0 -6px 20px rgba(51, 36, 26, .09);
}
.callbar .btn {
  flex: 1 1 0; min-width: 0;
  /* .btn is nowrap by default, which made these overflow rather than shrink at 320px */
  white-space: normal; line-height: 1.2;
  font-size: .95rem; padding-inline: .7em;
}
@media (max-width: 780px) {
  .callbar { display: flex; }
  body { padding-bottom: 76px; }
}
@media print { .callbar, .hdr, .drawer { display: none !important; } }
