/* Selvedge: a week at the house, drawn; the year in twelve small months; the bands below woven in putty, salt, coral and sea-glass. */
@font-face { font-family: 'Poltawski Nowy'; src: url('/assets/fonts/specimen/poltawski-nowy-var.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poltawski Nowy'; src: url('/assets/fonts/specimen/poltawski-nowy-var-italic.woff2') format('woff2'); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Elms Sans'; src: url('/assets/fonts/specimen/elms-sans-var.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

body.spec-selvedge {
  margin: 0; background: #E4DDD3;
  --sg-putty: #E4DDD3; --sg-salt: #F2EDE5; --sg-ink: #1E1C1A; --sg-ink-2: #3D3934;
  --sg-coral: #F69066; --sg-glass: #8FA7A8; --sg-glass-ink: #3C5051; --sg-pick: #FFFFFF; --sg-brass: #A8844A;
  --sg-sel: clamp(12px, 1.5vw, 22px);
  --sg-m: calc(var(--sg-sel) + clamp(16px, 4.4vw, 76px));
  --sg-gut: clamp(16px, 2vw, 28px);
  --sg-nav: 56px;
  --sg-serif: 'Poltawski Nowy', Georgia, 'Times New Roman', serif;
  --sg-sans: 'Elms Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sg-tape: clamp(44px, 4.5vw, 64px);
  --sg-plain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Crect width='6' height='6' fill='%23F2EDE5'/%3E%3Cpath fill='%23E7E0D6' d='M0 0h3v3H0zM3 3h3v3H3z'/%3E%3C/svg%3E");
}
@media (max-width: 700px) { body.spec-selvedge { --sg-nav: 52px; --sg-tape: 40px; } }

.sg-page { color: var(--sg-ink); font-family: var(--sg-serif); font-size: clamp(1.0625rem, 1rem + .2vw, 1.125rem); line-height: 1.58; font-weight: 420; font-kerning: normal; -webkit-font-smoothing: antialiased; }
.sg-page *, .sg-page *::before, .sg-page *::after { box-sizing: border-box; }
.sg-page :where(h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset) { margin: 0; padding: 0; }
.sg-page :where(ul, ol) { list-style: none; }
.sg-page a { color: inherit; }
.sg-page :focus-visible { outline: 2px solid var(--sg-ink); outline-offset: 3px; }
.sg-page img { display: block; max-width: 100%; height: auto; }
.sg-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ── nav ─────────────────────────────────────────────────────────────── */
.sg-nav { position: sticky; top: var(--bar-h, 40px); z-index: 60; height: var(--sg-nav); display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); padding: 0 var(--sg-m); background: var(--sg-putty); }
.sg-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -.005em; margin-right: auto; }
.sg-mark { display: block; flex: none; }
.sg-links ul { display: flex; gap: clamp(16px, 2vw, 32px); }
.sg-links a, .sg-foot-nav a { text-decoration: none; font-size: 16px; font-weight: 460; }
.sg-links a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.sg-tape-link, .sg-tape-btn { position: relative; display: inline-block; text-decoration: none; font: inherit; font-size: 16px; font-weight: 520; color: var(--sg-ink); background: none; border: 0; padding: 4px 0 9px; cursor: pointer; }
.sg-tape-link::after, .sg-tape-btn::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: repeating-linear-gradient(135deg, var(--sg-ink) 0 1.5px, var(--sg-putty) 1.5px 3px); }
.sg-tape-link::after { background: repeating-linear-gradient(135deg, var(--sg-coral) 0 2px, #E9B49A 2px 3px, var(--sg-putty) 3px 4px); }
.sg-tape-btn:hover::after, .sg-tape-link:hover::after { bottom: -1px; height: 5px; }
.sg-menu { display: none; position: relative; }
.sg-menu summary { list-style: none; cursor: pointer; font-size: 16px; font-weight: 520; padding: 8px 0; }
.sg-menu summary::-webkit-details-marker { display: none; }
.sg-menu summary::after { content: ''; display: inline-block; width: 12px; height: 7px; margin-left: 8px; vertical-align: 2px; background: linear-gradient(var(--sg-ink) 0 0) top/100% 1.5px no-repeat, linear-gradient(var(--sg-ink) 0 0) bottom/100% 1.5px no-repeat; }
.sg-menu ul { position: absolute; right: calc(-1 * var(--sg-m) + var(--sg-sel)); top: calc(100% + 8px); min-width: 240px; padding: 14px 22px 18px; background: var(--sg-salt) var(--sg-plain); box-shadow: 0 8px 24px rgba(30, 28, 26, .12); }
.sg-menu li a { display: block; padding: 9px 0; text-decoration: none; font-size: 18px; }
@media (max-width: 900px) {
  .sg-links { display: none; }
  .sg-menu { display: block; }
  .sg-nav { gap: 18px; }
}
@media (max-width: 360px) { .sg-nav-talk { display: none; } }

/* ── the house: a week of it, drawn ─────────────────────────────────── */
.sg-throw { position: relative; display: flex; flex-direction: column; min-height: calc(100svh - var(--bar-h, 40px) - var(--sg-nav)); padding: clamp(18px, 3.4vh, 40px) var(--sg-m) clamp(12px, 2vh, 24px); background: var(--sg-salt) var(--sg-plain); scroll-margin-top: calc(var(--bar-h, 40px) + var(--sg-nav)); }
.sg-h1 { font-size: clamp(2.125rem, 1.05rem + 3.35vw, 3.875rem); line-height: 1.04; letter-spacing: -.012em; font-weight: 620; text-wrap: balance; }
.sg-h1a { font-weight: 620; }
.sg-h1b { font-style: italic; font-weight: 400; }
.sg-sub { margin-top: clamp(8px, 1.5vh, 16px); font-size: clamp(1.0625rem, .95rem + .3vw, 1.1875rem); line-height: 1.5; max-width: 64em; font-weight: 440; }
.sg-scene { position: relative; flex: 1 1 auto; min-height: 320px; max-height: 660px; margin: clamp(12px, 2vh, 22px) calc(var(--sg-sel) - var(--sg-m)) 0; overflow: hidden; background: #E2E9E6; }
.sg-hs { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sg-hs text { font-family: var(--sg-sans); }
.sg-hs [data-on]:not(.sg-hs-mv) { transition: opacity .45s ease; }
.sg-hs [data-on]:not(.sg-hs-mv):not(.is-on) { opacity: 0; }
.sg-hs-night { opacity: calc(var(--sg-night, 0) * .6); }
.sg-hs-stars, .sg-hs-moon { opacity: var(--sg-night, 0); }
.sg-hs-lit { opacity: calc(.15 + var(--sg-night, 0) * .85); }
.sg-hs-clouds { transform: translateX(calc(var(--sg-drift, 0) * 1px)); }
.sg-hs-car, .sg-hs-van { transition: transform 1.2s cubic-bezier(.3, .6, .25, 1), opacity .5s ease !important; }
.sg-hs-car:not(.is-on), .sg-hs-van:not(.is-on) { transform: translateX(-320px); }
.sg-hs-gate { transform-box: view-box; transform-origin: 187px 430px; transition: transform .45s ease; }
.sg-hs-gate.is-on { transform: scaleX(.3); }
.sg-hs-led.is-on { animation: sg-led .32s steps(2, jump-none) 5; }
@keyframes sg-led { 50% { fill: #FFFFFF; } }
.sg-hs-tick, .sg-hs-done { transform-box: fill-box; transform-origin: center; }
.sg-hs-tick.is-on { animation: sg-pop .42s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes sg-pop { from { transform: scale(.4); } }
.sg-hs-needle { transform-box: view-box; transform-origin: 262px 372px; }
.sg-hs-gauge.is-on .sg-hs-needle { animation: sg-weigh 1.1s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes sg-weigh { from { transform: rotate(-150deg); } }
.sg-hs-label { font-size: calc(13px * var(--sg-u, 1)); font-weight: 620; fill: var(--sg-ink); paint-order: stroke; stroke: var(--sg-salt); stroke-width: calc(4px * var(--sg-u, 1)); stroke-linejoin: round; }
.sg-hs-label-s { font-weight: 560; }
.sg-hs-vanword { font: 600 12px var(--sg-serif); fill: var(--sg-ink); }
.sg-hs-lcd { font-size: 6px; font-weight: 700; fill: #9FE0B8; text-anchor: middle; }
.sg-hs-tuft { transform-box: fill-box; transform-origin: 50% 100%; }
.sg-scene.is-windy .sg-hs-tuft { animation: sg-sway .9s ease-in-out infinite alternate; animation-delay: calc(var(--k) * -.9s); }
@keyframes sg-sway { from { transform: skewX(-8deg); } to { transform: skewX(16deg); } }
.sg-scene.is-instant *, .sg-scene.is-instant *::before { transition: none !important; animation: none !important; }

/* the guests' messages come to us: a short thread in the sky above the house */
.sg-chat { position: absolute; left: 50%; top: clamp(8px, 2.4%, 22px); translate: -50% 0; width: min(400px, 58%); display: grid; gap: 6px; pointer-events: none; transition: opacity .3s; }
.sg-chat:not(:has(.is-on)) { opacity: 0; }
.sg-chat-h { justify-self: center; padding: 3px 11px 4px; border-radius: 99px; background: rgba(242, 237, 229, .9); font: 600 12.5px/1.2 var(--sg-sans); color: var(--sg-ink-2); }
.sg-msg { display: none; max-width: 88%; padding: 7px 13px 8px; border-radius: 14px; font-size: 15.5px; line-height: 1.32; box-shadow: 0 6px 14px -8px rgba(30, 28, 26, .55); }
.sg-msg.is-on { display: block; animation: sg-msg .36s cubic-bezier(.2, .8, .3, 1); }
.sg-msg-g { justify-self: start; background: #FFFFFF; color: var(--sg-ink); border-bottom-left-radius: 4px; }
.sg-msg-u { justify-self: end; background: var(--sg-ink); color: var(--sg-salt); border-bottom-right-radius: 4px; }
@keyframes sg-msg { from { opacity: 0; transform: translateY(8px) scale(.97); } }

/* the owner's phone, quiet all week */
.sg-phone { position: absolute; right: clamp(12px, 2.2%, 34px); top: clamp(10px, 3.4%, 30px); width: clamp(116px, 10vw, 146px); display: grid; justify-items: center; gap: 6px; pointer-events: none; }
.sg-phone-t { padding: 2px 10px 3px; border-radius: 99px; background: rgba(242, 237, 229, .9); font: 600 12.5px/1.2 var(--sg-sans); color: var(--sg-ink); }
.sg-phone-s { width: 100%; aspect-ratio: 9 / 16; display: grid; align-content: start; justify-items: center; gap: 6px; padding: 16px 7px 8px; border: 4px solid var(--sg-ink); border-radius: 20px; background: #F6F3EE; color: var(--sg-ink); box-shadow: 0 14px 26px -16px rgba(30, 28, 26, .6); }
.sg-phone-clock { font: 400 clamp(22px, 2vw, 28px)/1 var(--sg-sans); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.sg-phone-none { font: 520 11.5px/1.3 var(--sg-sans); color: var(--sg-ink-2); text-align: center; }
.sg-phone-none:not(.is-on) { display: none; }
.sg-note { display: none; width: 100%; padding: 6px 7px 7px; border-radius: 10px; background: #FFFFFF; color: var(--sg-ink); font-size: 11.5px; line-height: 1.3; box-shadow: 0 4px 10px -6px rgba(30, 28, 26, .5); }
.sg-note.is-on { display: block; animation: sg-msg .4s cubic-bezier(.2, .8, .3, 1); }
.sg-note-from { display: flex; align-items: center; gap: 5px; margin-bottom: 3px; font: 650 11.5px/1 var(--sg-sans); }
.sg-phone:has(.sg-note.is-on) .sg-phone-s { animation: sg-buzz .45s ease-in-out; }
@keyframes sg-buzz { 20%, 60% { translate: -2px 0; } 40%, 80% { translate: 2px 0; } }

/* what's happening, and the week to play or scrub */
.sg-week { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2px 32px; margin-top: clamp(10px, 1.8vh, 18px); }
.sg-when { display: flex; gap: 10px; align-items: baseline; font: 620 14.5px/1.3 var(--sg-sans); font-variant-numeric: tabular-nums; }
.sg-clock { color: var(--sg-glass-ink); }
.sg-say { grid-column: 1; min-height: 1.35em; font-size: clamp(1.125rem, 1rem + .45vw, 1.4375rem); line-height: 1.35; font-weight: 460; }
.sg-week-ill { grid-column: 2; grid-row: 1 / 3; align-self: end; max-width: 22em; text-align: right; }
.sg-ctl { grid-column: 1 / -1; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); margin-top: 6px; }
.sg-play { flex: none; display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px 0 16px; border: 0; border-radius: 0; background: var(--sg-ink); color: var(--sg-salt); font: inherit; font-size: 16.5px; font-weight: 600; cursor: pointer; }
.sg-play:hover { background: #33302C; }
.sg-play-i { fill: currentColor; }
.sg-play-s, .sg-throw.is-playing .sg-play-p { display: none; }
.sg-throw.is-playing .sg-play-s { display: inline; }
.sg-track { position: relative; flex: 1; min-width: 0; padding: 20px 0 30px; }
.sg-days { position: absolute; left: 0; right: 0; top: 0; height: 16px; }
.sg-days li { position: absolute; top: 0; left: calc(var(--a, 0) * 100%); width: calc((var(--b, 0) - var(--a, 0)) * 100%); padding-left: 5px; overflow: hidden; white-space: nowrap; border-left: 1px solid rgba(30, 28, 26, .32); font: 560 12px/16px var(--sg-sans); color: var(--sg-ink-2); }
.sg-scrub { display: block; width: 100%; height: 26px; margin: 0; background: none; appearance: none; -webkit-appearance: none; cursor: pointer; }
.sg-scrub::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(var(--sg-ink) 0 0) 0 0 / calc(var(--p, 0) * 100%) 100% no-repeat, rgba(30, 28, 26, .2); }
.sg-scrub::-moz-range-track { height: 4px; background: rgba(30, 28, 26, .2); }
.sg-scrub::-moz-range-progress { height: 4px; background: var(--sg-ink); }
.sg-scrub::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--sg-ink); box-shadow: 0 0 0 3px var(--sg-salt); }
.sg-scrub::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--sg-ink); box-shadow: 0 0 0 3px var(--sg-salt); }
.sg-scrub:focus-visible { outline: 2px solid var(--sg-ink); outline-offset: 4px; }
.sg-stops { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; }
.sg-stops li { position: absolute; top: 0; left: calc(var(--p, 0) * 100%); translate: -50% 0; }
.sg-stops button { position: relative; display: block; padding: 8px 4px 2px; border: 0; background: none; font: 560 12.5px/1.2 var(--sg-sans); color: var(--sg-ink); white-space: nowrap; cursor: pointer; }
.sg-stops button::before { content: ''; position: absolute; left: 50%; top: -6px; width: 2px; height: 9px; translate: -50% 0; background: var(--sg-ink); }
.sg-stops button:hover { text-decoration: underline; text-underline-offset: 3px; }
/* a narrow drawing (it follows what's happening): the phone becomes a strip along its foot */
.sg-scene.is-narrow .sg-phone { left: 8px; right: 8px; top: auto; bottom: 8px; width: auto; justify-items: stretch; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px; }
.sg-scene.is-narrow .sg-phone-t { align-self: start; margin-top: 7px; }
.sg-scene.is-narrow .sg-phone-s { aspect-ratio: auto; display: block; padding: 6px 10px; border-width: 3px; border-radius: 13px; }
.sg-scene.is-narrow .sg-phone-clock { display: none; }
.sg-scene.is-narrow .sg-phone-none { text-align: left; font-size: 12.5px; }
.sg-scene.is-narrow .sg-note { padding: 2px 0; background: none; box-shadow: none; font-size: 12.5px; }
.sg-scene.is-narrow .sg-note-from { margin-bottom: 2px; }
/* a short track: the moments are dots, the words under the drawing say which */
.sg-track.is-tight .sg-stops button { width: 26px; height: 30px; padding: 0; }
.sg-track.is-tight .sg-stops button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sg-track.is-tight .sg-stops button::before { top: 3px; width: 9px; height: 9px; border-radius: 50%; }
body:not(.sg-week-on) :is(.sg-ctl, .sg-when) { display: none; }
.sg-live { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .sg-hs *, .sg-chat *, .sg-phone * { transition: none !important; animation: none !important; } }

@media (min-width: 701px) and (max-height: 860px) {
  .sg-sub-b { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 900px) {
  .sg-week { grid-template-columns: minmax(0, 1fr); }
  .sg-week-ill { grid-column: 1; grid-row: auto; text-align: left; max-width: none; margin-top: 4px; }
}
@media (max-width: 700px) {
  .sg-h1 { font-size: clamp(1.875rem, 1.3rem + 2.4vw, 2.125rem); }
  .sg-sub { font-size: 16px; }
  .sg-sub-b { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .sg-scene { flex: none; height: clamp(260px, 36svh, 300px); min-height: 0; }
  .sg-chat { width: calc(100% - 20px); top: 8px; }
  .sg-msg { font-size: 14.5px; }
  .sg-say { font-size: 17px; min-height: 2.7em; }
  .sg-play { width: 46px; padding: 0; justify-content: center; }
  .sg-play-n { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ── the bands below: each the next length of the same warp, in its own weave ── */
@property --sg-beat { syntax: '<number>'; inherits: false; initial-value: 0; }
.sg-proxy { position: absolute; display: block; }
.sg-band { position: relative; isolation: isolate; padding: calc(var(--sg-head, 24px) + clamp(56px, 7vw, 120px)) var(--sg-m) clamp(72px, 8.5vw, 136px); scroll-margin-top: calc(var(--bar-h, 40px) + var(--sg-nav)); }
.sg-cloth { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none; }
.sg-band > :not(.sg-cloth) { position: relative; z-index: 1; }
.sg-band::before { content: ''; position: absolute; z-index: 0; left: 0; right: 0; top: 0; height: var(--sg-head, 24px); pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(30, 28, 26, .1) 0 1px, transparent 1px 3.5px), repeating-linear-gradient(0deg, var(--sg-hw, #CFC5B6) 0 2.5px, rgba(30, 28, 26, .12) 2.5px 3.5px); }
.sg-band::after { content: ''; position: absolute; z-index: 0; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #1E1C1A 0 2px, #E4DDD3 2px 4px, #8FA7A8 4px 6px, #1E1C1A 6px 8px, transparent 8px calc(100% - 8px), #1E1C1A calc(100% - 8px) calc(100% - 6px), #8FA7A8 calc(100% - 6px) calc(100% - 4px), #E4DDD3 calc(100% - 4px) calc(100% - 2px), #1E1C1A calc(100% - 2px)); opacity: .5; }
.sg-band.is-woven::before, .sg-band.is-woven::after { display: none; }
.sg-band h2 { font-size: clamp(1.75rem, 1.1rem + 2.1vw, 2.875rem); line-height: 1.08; letter-spacing: -.01em; font-weight: 600; text-wrap: balance; }
.sg-lede { font-size: clamp(1.1875rem, 1rem + .55vw, 1.5rem); line-height: 1.5; font-weight: 440; max-width: 34em; }
.sg-photo { position: relative; }
.sg-photo img { width: 100%; height: 100%; object-fit: cover;
  -webkit-mask: linear-gradient(#000 0 0) center / 100% calc(100% - 20px) no-repeat, repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 3px, #000 3px 5px, transparent 5px 5.5px);
  mask: linear-gradient(#000 0 0) center / 100% calc(100% - 20px) no-repeat, repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 3px, #000 3px 5px, transparent 5px 5.5px); }

/* the edge: plain weave, the seven lines getting heavier as the jobs do */
.sg-edge { background: #ECE6DD; --sg-head: 36px; --sg-hw: #CFC5B6; }
.sg-edge-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--sg-gut); align-items: end; }
.sg-edge-text { grid-column: 8 / 13; grid-row: 1; display: grid; gap: 24px; align-self: center; }
.sg-name-line { font-style: italic; font-size: 20px; line-height: 1.5; max-width: 30em; color: var(--sg-ink-2); }
.sg-edge-photo { grid-column: 1 / 7; grid-row: 1; aspect-ratio: 3 / 2; margin-left: calc(var(--sg-sel) - var(--sg-m)); }
.sg-seven { margin-top: clamp(56px, 7vw, 108px); display: grid; gap: clamp(4px, .6vw, 10px); }
.sg-seven li { font-size: clamp(1.375rem, .95rem + 1.5vw, 2.25rem); line-height: 1.22; font-weight: calc(420 + var(--i) * 36.66); letter-spacing: -.008em; max-width: 30em; }
.sg-seven li:nth-child(even) { margin-left: clamp(0px, 8.33vw, 110px); }

/* between stays: hopsack, and one thread drafted from its own sentence */
.sg-turn { background: #E6DFD4; --sg-head: 72px; --sg-hw: #8FA7A8; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--sg-gut); align-items: start; }
.sg-turn h2 { grid-column: 1 / 8; grid-row: 1; max-width: 12em; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); }
.sg-turn-photo { grid-column: 9 / 13; grid-row: 1 / 3; aspect-ratio: 1; }
.sg-turn-intro { grid-column: 1 / 7; grid-row: 2; align-self: start; margin-top: 28px; }
.sg-thread { grid-column: 1 / 13; position: relative; margin-top: clamp(48px, 6vw, 84px); --sg-tm: clamp(44px, 5vw, 68px); }
.sg-pickrow { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; max-width: calc(68ch + var(--sg-tm)); }
.sg-pickbar { flex: 1; height: 30px; cursor: ew-resize; touch-action: pan-y; background: repeating-linear-gradient(90deg, var(--sg-glass-ink) 0 7px, transparent 7px 13px) center / 100% 2.5px no-repeat; opacity: .55; }
.sg-thread-text { position: relative; z-index: 1; padding-left: var(--sg-tm); max-width: calc(68ch + var(--sg-tm)); font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.8; font-weight: 450; }
.sg-t { font-family: var(--sg-sans); font-weight: 640; font-variant-numeric: tabular-nums; font-size: .9em; }
.sg-cord { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 0; }
.sg-cord path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sg-cord-p { stroke: var(--sg-glass-ink); stroke-width: 2.6; }
.sg-cord-sh { stroke: rgba(30, 28, 26, .16); stroke-width: 2.6; transform: translateY(1.5px); }
.sg-run, .sg-stitch { stroke: var(--sg-glass-ink); stroke-width: 2.4; opacity: 0; transition: opacity .16s calc(var(--d, 0) * 14ms); filter: drop-shadow(0 1px 0 rgba(30, 28, 26, .25)); }
.sg-stitch { stroke-width: 3; }
.sg-run.is-on, .sg-stitch.is-on { opacity: 1; }
.sg-t { transition: color .3s; }
.sg-t.is-on { color: var(--sg-glass-ink); }
.sg-knot { stroke: var(--sg-glass-ink); stroke-width: 2.4; opacity: 0; transition: opacity .35s; }
.sg-thread.is-drawn .sg-knot { opacity: 1; }
.sg-turn-note { grid-column: 1 / 9; margin-top: 30px; padding-left: var(--sg-tm, 0); font-size: 17px; line-height: 1.55; color: var(--sg-ink-2); max-width: 44em; }

/* guests: a chalk twill whose left selvedge widens into a tape; each question is a woven label sewn across it */
.sg-guests { background: #E2DDD4; --sg-head: 20px; --sg-hw: #CFC5B6; padding-left: max(var(--sg-m), calc(var(--sg-tape) + clamp(18px, 3.4vw, 56px))); padding-bottom: clamp(64px, 7vw, 112px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--sg-gut); align-items: start; }
.sg-guests::after { background: linear-gradient(90deg, #1E1C1A 0 2px, #E4DDD3 2px 4px, #8FA7A8 4px 6px, #1E1C1A 6px 8px, #F2EDE5 8px calc(var(--sg-tape) - 12px), #F69066 calc(var(--sg-tape) - 12px) calc(var(--sg-tape) - 9px), #F2EDE5 calc(var(--sg-tape) - 9px) calc(var(--sg-tape) - 5px), #1E1C1A calc(var(--sg-tape) - 5px) var(--sg-tape), transparent var(--sg-tape) calc(100% - 8px), #1E1C1A calc(100% - 8px) calc(100% - 6px), #8FA7A8 calc(100% - 6px) calc(100% - 4px), #E4DDD3 calc(100% - 4px) calc(100% - 2px), #1E1C1A calc(100% - 2px)); opacity: .6; }
.sg-guests-head { grid-column: 1 / 7; grid-row: 1; display: grid; gap: 20px; align-self: center; }
.sg-guests-head h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); max-width: 11em; }
.sg-guests-photo { grid-column: 8 / 13; grid-row: 1; aspect-ratio: 4 / 3; margin-right: calc(var(--sg-sel) - var(--sg-m)); }
.sg-asked { grid-column: 1 / 13; margin-top: clamp(64px, 7vw, 112px); font-style: italic; font-size: 17px; color: var(--sg-ink-2); }
.sg-pairs { grid-column: 1 / 13; display: grid; margin-top: 22px; margin-left: calc(var(--sg-sel) - var(--sg-guests-pl, var(--sg-m))); }
.sg-guests { --sg-guests-pl: max(var(--sg-m), calc(var(--sg-tape) + clamp(18px, 3.4vw, 56px))); }
.sg-pair { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px clamp(24px, 3vw, 48px); align-items: center; }
.sg-pair + .sg-pair { margin-top: var(--gap, 30px); }
.sg-pair:nth-child(2) { --gap: 22px; } .sg-pair:nth-child(3) { --gap: 44px; } .sg-pair:nth-child(4) { --gap: 18px; } .sg-pair:nth-child(5) { --gap: 38px; }
/* the label: a narrow woven ribbon, its end folded over the tape and sewn down with a coral running stitch */
.sg-pair dt { justify-self: start; max-width: 100%; }
.sg-label { position: relative; display: inline-block; padding: var(--lp, 13px) 34px var(--lp, 13px) calc(var(--sg-tape) - var(--sg-sel) + 26px);
  font-style: italic; font-size: var(--s, clamp(1.25rem, 1rem + .8vw, 1.75rem)); line-height: 1.2; color: var(--sg-ink);
  background: repeating-linear-gradient(0deg, rgba(30, 28, 26, .045) 0 1px, transparent 1px 2.5px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 1px, transparent 1px 3px), linear-gradient(90deg, #E6E0D6 0 calc(var(--sg-tape) - var(--sg-sel)), var(--sg-salt) calc(var(--sg-tape) - var(--sg-sel)));
  box-shadow: inset 0 2px 0 #fff, inset 0 -2px 0 #E0D9CE, 0 1px 0 rgba(30, 28, 26, .22), 0 5px 8px -6px rgba(30, 28, 26, .35);
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%); }
.sg-label::before { content: ''; position: absolute; top: 5px; bottom: 5px; left: calc(var(--sg-tape) - var(--sg-sel) - 9px); width: 3px;
  background: repeating-linear-gradient(180deg, var(--sg-coral) 0 6px, transparent 6px 10px); }
.sg-label::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: calc(var(--sg-tape) - var(--sg-sel)); background: linear-gradient(90deg, rgba(30, 28, 26, .1), transparent 30%, transparent 80%, rgba(30, 28, 26, .14)); }
.sg-pair:nth-child(1) { --s: clamp(1.5rem, 1rem + 1.4vw, 2.25rem); --lp: 17px; }
.sg-pair:nth-child(3) .sg-label, .sg-pair:nth-child(5) .sg-label { --s: clamp(1.1875rem, 1rem + .5vw, 1.5rem); --lp: 11px; }
.sg-pair dd { margin: 0; font-size: 18px; line-height: 1.55; max-width: 26em; }
.sg-guests-close { grid-column: 1 / 13; margin-top: clamp(48px, 5vw, 72px); font-style: italic; font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); max-width: 30em; }
.sg-guests-close::after { content: ''; display: block; width: 7.5em; height: 3px; margin-top: 12px; background: repeating-linear-gradient(90deg, var(--sg-coral) 0 9px, transparent 9px 14px); }

/* the house: herringbone head, the statement as the heading, the jobs as the house check beside the photo */
.sg-care { background: #EEE9E1; --sg-head: 72px; --sg-hw: #8FA7A8; padding-top: calc(var(--sg-head) + clamp(40px, 4.5vw, 72px)); }
.sg-band > .sg-reed-at { position: absolute; left: 0; top: calc(200px - 50vh); width: 1px; height: 1px; pointer-events: none; }
.sg-care h2.sg-statement { max-width: 21em; font-style: italic; font-weight: 440; font-size: clamp(1.75rem, .9rem + 2.7vw, 3.5rem); line-height: 1.1; letter-spacing: -.012em; }
.sg-care-grid { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--sg-gut); align-items: center; }
.sg-care-photo { grid-column: 1 / 6; grid-row: 1; aspect-ratio: 2 / 3; }
.sg-care-items { grid-column: 7 / 13; grid-row: 1; display: grid; border-bottom: 1.5px solid rgba(30, 28, 26, .22); }
.sg-care-items li { position: relative; padding: 17px 0 17px 52px; border-top: 1.5px solid rgba(30, 28, 26, .22); font-size: clamp(1.125rem, 1rem + .35vw, 1.3125rem); line-height: 1.42; font-weight: 480; view-timeline-name: --sg-darn; }
/* each job a darn: the warp laid across the hole, the weft woven through it, over and under */
.sg-care-items li::before, .sg-care-items li::after { content: ''; position: absolute; left: 4px; top: 18px; width: 28px; height: 26px; border-radius: 46% 40% 44% 38% / 42% 46% 40% 44%; rotate: var(--dr, -4deg); }
.sg-care-items li::before { background: repeating-linear-gradient(90deg, var(--sg-glass-ink) 0 2px, transparent 2px 4px) 1px 0 / 100% 100%, radial-gradient(closest-side, rgba(30, 28, 26, .5) 55%, transparent 58%) center / 72% 66% no-repeat, var(--sg-salt);
  box-shadow: 0 0 0 1.5px var(--sg-salt), 0 0 0 2.5px rgba(30, 28, 26, .3); }
.sg-care-items li::after { background: repeating-linear-gradient(0deg, var(--sg-ink-2) 0 2px, transparent 2px 4px);
  -webkit-mask: conic-gradient(#000 25%, transparent 0 50%, #000 0 75%, transparent 0) 0 0 / 4px 4px; mask: conic-gradient(#000 25%, transparent 0 50%, #000 0 75%, transparent 0) 0 0 / 4px 4px; }
.sg-care-items li:nth-child(2n) { --dr: 5deg; }
.sg-care-items li:nth-child(3n) { --dr: -9deg; }

/* your year: undyed, twelve small months, each night shaded by its chance of guests */
.sg-year { background: var(--sg-salt); --sg-head: 48px; --sg-hw: #F2EDE5; }
.sg-year h2 { font-size: 32px; }
.sg-year-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--sg-gut); align-items: start; }
.sg-year-grid > h2 { grid-column: 1 / 9; grid-row: 1; }
.sg-year-left { grid-column: 1 / 9; grid-row: 2; }
.sg-plan-hint { margin-bottom: 18px; font-style: italic; font-size: 18px; color: var(--sg-ink-2); }
.sg-hint-t { display: none; }
@media (pointer: coarse) { .sg-hint-p { display: none; } .sg-hint-t { display: inline; } }
.sg-plan { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px clamp(16px, 2vw, 28px); }
.sg-mo-h { margin-bottom: 6px; font: 620 15px/1.2 var(--sg-sans); }
.sg-dow, .sg-wk { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; width: 100%; }
.sg-dow { margin-bottom: 3px; font: 600 10.5px/1.2 var(--sg-sans); color: var(--sg-ink-2); text-align: center; }
.sg-dow i { font-style: normal; }
.sg-wk { position: relative; margin: 0 0 2px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.sg-wk i, .sg-legend i { display: block; background: #EAE3D8; }
.sg-wk i { font: 500 11.5px/26px var(--sg-sans); font-style: normal; font-variant-numeric: tabular-nums; text-align: center; color: var(--sg-ink); transition: background-color .3s; }
.sg-wk i[data-l='1'], .sg-legend i[data-l='1'] { background: #F6DCCC; }
.sg-wk i[data-l='2'], .sg-legend i[data-l='2'] { background: #F8B99C; }
.sg-wk i[data-l='3'], .sg-legend i[data-l='3'] { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .16) 0 1.5px, transparent 1.5px 4px), var(--sg-coral); }
.sg-wk i[data-o] { opacity: .4; }
.sg-wk[aria-pressed='true'] i, .sg-legend .sg-own { background: #FFFFFF; }
.sg-wk[aria-pressed='true'] { outline: 2px solid var(--sg-ink); outline-offset: 0; z-index: 1; }
.sg-wk[aria-pressed='true']::after { content: ''; position: absolute; right: -7px; top: 50%; width: 10px; height: 10px; translate: 0 -50%; border-radius: 50%; background: var(--sg-ink); box-shadow: 0 0 0 2px var(--sg-salt); }
.sg-wk[data-w]:hover { outline: 1.5px solid rgba(30, 28, 26, .55); outline-offset: 1px; z-index: 1; }
.sg-wk[data-w]:focus-visible { outline: 2.5px solid var(--sg-ink); outline-offset: 2px; z-index: 2; }
.sg-wk-next { cursor: default; }
.sg-wk-next i { background: none; opacity: .35; }
.sg-wk.is-new i { animation: sg-new 1.6s ease-out; }
@keyframes sg-new { 0%, 30% { box-shadow: inset 0 0 0 2px var(--sg-glass-ink); } }
.sg-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font: 520 13.5px/1.3 var(--sg-sans); color: var(--sg-ink-2); }
.sg-legend span { display: inline-flex; align-items: center; gap: 7px; }
.sg-legend i { width: 16px; height: 16px; }
.sg-legend .sg-own { box-shadow: inset 0 0 0 2px var(--sg-ink); }
.sg-read { min-height: 1.6em; margin-top: 12px; font-style: italic; font-size: 17px; }
.sg-year-prose { grid-column: 9 / 13; grid-row: 1 / 3; position: sticky; top: calc(var(--bar-h, 40px) + var(--sg-nav) + 48px); display: grid; gap: 22px; align-content: start; padding-top: 60px; }
.sg-model { font-size: clamp(1.1875rem, 1rem + .6vw, 1.5625rem); line-height: 1.5; font-weight: 440; }
.sg-model-2 { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.5; }
.sg-inline select, .sg-pets { font: inherit; color: inherit; background: none; border: 0; border-radius: 0; padding: 0 2px; cursor: pointer; text-decoration: underline; text-decoration-style: dotted; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.sg-inline select { appearance: none; -webkit-appearance: none; padding-right: 17px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5 6 6l4.5-4.5' fill='none' stroke='%231E1C1A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 1px center / 12px 8px no-repeat; }
.sg-inline select option { font-size: 17px; }
.sg-pets[aria-pressed='true'] { font-style: italic; }
.sg-fig { font-family: var(--sg-sans); font-weight: 620; font-variant-numeric: tabular-nums; font-size: .92em; }
.sg-ill-line { font-size: 15px; line-height: 1.5; font-style: italic; font-weight: 440; color: var(--sg-glass-ink); }
.sg-fee { font-size: 17px; }

/* arrive: honeycomb head, the bed between the selvedges */
.sg-arrive { background: var(--sg-salt); --sg-head: 16px; --sg-hw: #8FA7A8; padding-inline: var(--sg-sel); }
.sg-arrive h2 { padding: 0 calc(var(--sg-m) - var(--sg-sel)); max-width: 20em; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); }
.sg-arrive-photo { margin-top: clamp(36px, 4vw, 56px); aspect-ratio: 16 / 9; }
.sg-kept-band { position: absolute; left: 0; right: 0; top: 30%; min-height: clamp(64px, 7vw, 96px); display: flex; align-items: center; padding: 14px calc(var(--sg-m) - var(--sg-sel)); z-index: 1;
  background: linear-gradient(#fff 0 0) top / 100% 2px no-repeat, linear-gradient(#fff 0 0) bottom / 100% 2px no-repeat, var(--sg-plain) 0 0 / 5px 5px, var(--sg-salt);
  box-shadow: 0 1px 0 rgba(30, 28, 26, .14), 0 -1px 0 rgba(30, 28, 26, .14), 0 10px 18px -12px rgba(30, 28, 26, .5); }
.sg-kept-line { font-style: italic; font-size: clamp(1.125rem, .95rem + .6vw, 1.5rem); line-height: 1.35; }
.sg-arrive-text { margin: clamp(36px, 4vw, 56px) calc(var(--sg-m) - var(--sg-sel)) 0 auto; width: min(34em, 50%); display: grid; gap: 18px; }
/* the form's small calendar: a row a month, a box a week by the Saturday it starts */
.sg-cal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px clamp(18px, 2.4vw, 32px); margin-top: 4px; }
.sg-calm { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sg-calm-n { flex: none; width: 2.2em; font: 600 13px/1 var(--sg-sans); color: var(--sg-ink-2); }
.sg-calm-w { display: flex; gap: 4px; min-width: 0; }
.sg-wb { position: relative; display: grid; place-items: center; min-width: 38px; height: 34px; padding: 0 5px; background: #DDD4C7; box-shadow: inset 0 -2px 0 rgba(30, 28, 26, .25); font: 520 13.5px/1 var(--sg-sans); font-variant-numeric: tabular-nums; color: var(--sg-ink); cursor: pointer; white-space: nowrap; }
.sg-wb small { font-size: 10px; font-weight: 600; }
.sg-wb input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sg-wb:hover { box-shadow: inset 0 0 0 1.5px var(--sg-ink); }
.sg-wb:has(input:checked) { background: var(--sg-ink); color: var(--sg-salt); box-shadow: none; }
.sg-wb:has(input:focus-visible) { outline: 2px solid var(--sg-ink); outline-offset: 2px; }
.sg-keep .sg-help { margin-top: 8px; }
/* what happens next, beside the form */
.sg-next { grid-column: 9 / 13; grid-row: 1; align-self: end; display: grid; gap: 16px; padding-bottom: 4px; }
.sg-next-h { font-size: 22px; line-height: 1.2; font-weight: 600; }
.sg-next-l { display: grid; gap: 14px; counter-reset: sg-n; }
.sg-next-l li { position: relative; padding-left: 40px; font-size: 17.5px; line-height: 1.45; counter-increment: sg-n; }
.sg-next-l li::before { content: counter(sg-n); position: absolute; left: 0; top: 0; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--sg-ink); color: var(--sg-salt); font: 650 13px/1 var(--sg-sans); }

/* the coast: plain weave with pinstripes, the towns spaced as they lie */
.sg-coast { background: #E9E3DA; --sg-head: 24px; }
.sg-coast h2 { text-align: right; margin-left: auto; max-width: 14em; }
.sg-towns { position: relative; height: clamp(190px, 17vw, 250px); margin-top: clamp(36px, 5vw, 64px); font-weight: 600; font-size: clamp(1.25rem, .8rem + 1.3vw, 2.125rem); line-height: 1.1; letter-spacing: -.01em; --sg-sh: 40px; }
/* the shore: land in plain undyed weave above, the sea in sea-glass twill below, the edge between them a fine white thread */
.sg-towns::before { content: ''; position: absolute; left: calc(var(--sg-sel) - var(--sg-m)); right: calc(var(--sg-sel) - var(--sg-m)); top: 50%; height: var(--sg-sh); translate: 0 -50%;
  background: linear-gradient(#fff 0 0) center / 100% 2px no-repeat, repeating-linear-gradient(135deg, var(--sg-glass) 0 3px, #A9BBBB 3px 4.5px, var(--sg-glass) 4.5px 6px) bottom / 100% 50% no-repeat, var(--sg-plain) 0 0 / 5px 5px;
  box-shadow: 0 0 0 1px rgba(30, 28, 26, .12); }
.sg-town { position: absolute; left: calc(var(--x) * 100%); translate: -50% 0; white-space: nowrap; }
.sg-town.sg-first { translate: 0 0; }
.sg-town.sg-last { translate: -100% 0; }
.sg-up { bottom: calc(50% + var(--sg-sh) / 2 + 22px); }
.sg-down { top: calc(50% + var(--sg-sh) / 2 + 22px); }
/* where each town sits, one ink warp stitched down through the shore */
.sg-town::after { content: ''; position: absolute; left: 50%; width: 3px; height: calc(var(--sg-sh) + 22px); background: repeating-linear-gradient(0deg, var(--sg-ink) 0 5px, transparent 5px 8px); border-radius: 2px; }
.sg-first::after { left: 1px; }
.sg-last::after { left: auto; right: 1px; }
.sg-up::after { top: calc(100% + 8px); }
.sg-down::after { bottom: calc(100% + 8px); }
.sg-here { font-style: italic; }
.sg-here::after { width: 5px; background: repeating-linear-gradient(0deg, var(--sg-ink) 0 6px, transparent 6px 8px); }
.sg-island { position: absolute; left: 0; bottom: 100%; margin-bottom: .35em; font-size: .5em; font-style: italic; font-weight: 440; letter-spacing: 0; color: var(--sg-ink-2); }
.sg-coast-foot { margin-top: clamp(36px, 5vw, 72px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--sg-gut); align-items: end; }
.sg-coast-line { grid-column: 1 / 4; font-size: 19px; line-height: 1.5; }
.sg-coast-photo { grid-column: 4 / 13; aspect-ratio: 3 / 2; }

/* talk: plain undyed, and the hemstitched end */
.sg-talk { background: var(--sg-salt); --sg-head: 24px; --sg-hw: #E4DDD3; padding-bottom: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--sg-gut); }
.sg-talk-lead { grid-column: 9 / 13; grid-row: 1; display: grid; gap: 18px; align-content: start; }
.sg-form { grid-column: 1 / 8; grid-row: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 22px var(--sg-gut); }
.sg-field { display: grid; gap: 6px; border: 0; min-width: 0; margin: 0; padding: 0; }
.sg-field label, .sg-field legend { font-size: 15.5px; font-weight: 520; color: var(--sg-ink-2); padding: 0; }
.sg-field input[type='text'], .sg-field select, .sg-field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--sg-ink); border: 0; border-radius: 0; padding: 11px 12px; transition: background-size .16s;
  background: repeating-linear-gradient(90deg, rgba(30, 28, 26, .07) 0 1px, transparent 1px 3px) 0 0 / 3px 100%, repeating-linear-gradient(0deg, rgba(255, 255, 255, .45) 0 1px, transparent 1px 3px) 0 0 / 100% 3px, #DDD4C7; box-shadow: inset 0 -2px 0 rgba(30, 28, 26, .5); }
.sg-field input[type='text']:focus, .sg-field select:focus, .sg-field textarea:focus { background-size: 2px 100%, 100% 2px, auto; }
.sg-field textarea { resize: vertical; line-height: 1.5; }
.sg-field ::placeholder { color: #6B655D; font-style: italic; }
.sg-help { font-size: 15px; line-height: 1.5; font-style: italic; color: var(--sg-glass-ink); }
.sg-radios { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.sg-radios legend { width: 100%; margin-bottom: 6px; float: left; }
.sg-radios label { font-family: var(--sg-serif); font-size: 16px; color: var(--sg-ink); display: inline-flex; gap: 6px; align-items: center; }
.sg-radios input { accent-color: var(--sg-ink); }
.sg-wide { grid-column: 1 / -1; }
.sg-send-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.sg-send { font: inherit; font-weight: 600; font-size: 17px; height: 48px; padding: 0 34px; border: 0; border-radius: 0; background: var(--sg-ink); color: var(--sg-salt); cursor: pointer; }
.sg-send:hover { background: #33302C; }
.sg-status { font-style: italic; }
.sg-foot { grid-column: 1 / 13; margin-top: clamp(72px, 8vw, 120px); padding-bottom: 30px; display: grid; gap: 12px; }
.sg-foot-id { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.4; }
.sg-foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.sg-foot-nav a { font-size: 15.5px; font-weight: 460; text-decoration: none; }
.sg-foot-nav a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .sg-edge-text, .sg-edge-photo, .sg-turn h2, .sg-turn-photo, .sg-turn-intro, .sg-thread, .sg-turn-note, .sg-guests-photo, .sg-guests-head, .sg-asked, .sg-pairs, .sg-guests-close,
  .sg-year-left, .sg-year-prose, .sg-coast-line, .sg-coast-photo, .sg-talk-lead, .sg-form, .sg-next, .sg-foot { grid-column: 1 / -1; }
  .sg-edge-photo { grid-row: 2; margin-top: 36px; margin-left: 0; aspect-ratio: 3 / 2; }
  .sg-edge-text { grid-row: 1; }
  .sg-turn h2 { grid-row: 1; }
  .sg-turn-photo { grid-row: 2; max-width: 420px; margin-top: 30px; }
  .sg-turn-intro { grid-row: 3; }
  .sg-guests-head { grid-row: 1; }
  .sg-guests-photo { grid-row: 2; margin-top: 32px; }
  .sg-pair { grid-template-columns: minmax(0, 1fr); }
  .sg-pair dd { padding-left: calc(var(--sg-tape) - var(--sg-sel) + 26px); padding-right: 8px; }
  .sg-care-grid { display: block; }
  .sg-care-photo { max-width: 420px; aspect-ratio: 4 / 5; margin-bottom: 28px; }
  .sg-year-left { grid-row: 2; }
  .sg-year-prose { position: static; grid-row: 3; padding-top: 0; margin-top: 36px; }
  .sg-talk-lead { grid-row: 1; margin-bottom: 36px; }
  .sg-form { grid-row: 2; }
  .sg-next { grid-row: 3; align-self: start; margin-top: 44px; }
  .sg-plan { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sg-arrive-text { width: auto; margin-left: calc(var(--sg-m) - var(--sg-sel)); }
  .sg-coast-line { grid-row: 2; }
}
@media (max-width: 700px) {
  .sg-plan { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  .sg-plan-hint { font-size: 17px; }
  .sg-coast h2 { text-align: left; margin-left: 0; }
  /* on a phone the shore runs down the page, the towns beside it */
  .sg-towns { height: 380px; font-size: 1.375rem; }
  .sg-towns::before { left: 0; right: auto; top: 0; bottom: 0; width: var(--sg-sh); height: auto; translate: none;
    background: linear-gradient(#fff 0 0) center / 2px 100% no-repeat, repeating-linear-gradient(45deg, var(--sg-glass) 0 3px, #A9BBBB 3px 4.5px, var(--sg-glass) 4.5px 6px) right / 50% 100% no-repeat, var(--sg-plain) 0 0 / 5px 5px; }
  .sg-town, .sg-town.sg-first, .sg-town.sg-last, .sg-up, .sg-down { left: calc(var(--sg-sh) + 26px); top: calc(var(--x) * 100%); bottom: auto; translate: 0 -50%; }
  .sg-town.sg-first { translate: 0 0; } .sg-town.sg-last { translate: 0 -100%; }
  .sg-town::after, .sg-first::after, .sg-last::after, .sg-up::after, .sg-down::after { left: auto; right: calc(100% + 8px); top: 50%; bottom: auto; width: calc(var(--sg-sh) + 18px); height: 3px; translate: 0 -50%; background: repeating-linear-gradient(90deg, var(--sg-ink) 0 5px, transparent 5px 8px); }
  .sg-island { position: static; display: block; margin: .2em 0 0; font-size: .62em; }
  .sg-seven li:nth-child(even) { margin-left: 18px; }
}
@media (max-width: 560px) {
  .sg-form { grid-template-columns: 1fr; }
  .sg-cal { grid-template-columns: minmax(0, 1fr); }
  .sg-calm-w { flex: 1; }
  .sg-wb { flex: 1; min-width: 0; }
  .sg-arrive-photo { aspect-ratio: 3 / 4; }
  .sg-kept-band { top: 18%; }
  .sg-pickrow { gap: 12px; }
}

/* the reed: each band's head stripe is beaten into place as it scrolls in, and its heading with it */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sg-band { animation: sg-beat linear both; animation-timeline: view(); animation-range: entry 0% entry 560px; }
    @keyframes sg-beat { 0% { --sg-beat: 1; } 45% { --sg-beat: .38; } 52% { --sg-beat: .46; } 74% { --sg-beat: .1; } 80% { --sg-beat: .15; } 100% { --sg-beat: 0; } }
    .sg-band h2 { animation: sg-reed linear both; animation-timeline: view(); animation-range: entry 30% cover 28%; }
    @keyframes sg-reed { from { font-variation-settings: 'wght' 400; letter-spacing: .08em; translate: 0 -6px; } to { font-variation-settings: 'wght' 600; letter-spacing: -.01em; translate: 0 0; } }
    .sg-care h2.sg-statement { animation-name: sg-reed-i; }
    @keyframes sg-reed-i { from { font-variation-settings: 'wght' 380; letter-spacing: .03em; translate: 0 -6px; } to { font-variation-settings: 'wght' 440; letter-spacing: -.012em; translate: 0 0; } }
    .sg-seven li, .sg-pair dd, .sg-care-items li { animation: sg-shuttle linear both; animation-timeline: view(); animation-range: entry 10% entry 70%; }
    .sg-seven li:nth-child(odd), .sg-pair:nth-child(odd) dd, .sg-care-items li:nth-child(odd) { --sg-from: -14px; }
    @keyframes sg-shuttle { from { translate: var(--sg-from, 14px) 0; opacity: .25; } to { translate: 0 0; opacity: 1; } }
    /* each darn: the weft is woven through the laid warp, pick by pick, as the job scrolls in */
    .sg-care-items li::after { animation: sg-darn linear both; animation-timeline: --sg-darn; animation-range: entry 40% cover 45%; }
    @keyframes sg-darn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
  }
}
.sg-tape-btn { white-space: nowrap; }
