/* thesuntraveller.com — triptych and numbered list.
   Palette: Silt and Dusk. Display Crimson Pro, body Overpass. */

@font-face { font-family: "Crimson Pro"; src: url("/assets/font/crimsonpro-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url("/assets/font/crimsonpro-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Overpass"; src: url("/assets/font/overpass-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Overpass"; src: url("/assets/font/overpass-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Overpass"; src: url("/assets/font/overpass-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --st-paper: #f6f2ea; --st-dim: #e8e2d5; --st-card: #fffdf8;
  --st-ink: #1f1c18; --st-deep: #12100d; --st-muted: #6b655c;
  --st-plum: #5c3a52; --st-plum-deep: #422739; --st-wash: #f0e7ee;
  --st-teal: #3f7d73; --st-hair: #ddd5c6;
  --st-good: #2f6b52; --st-bad: #9c3428;
  --st-shell: 1140px; --st-measure: 680px;
  --st-display: "Crimson Pro", Cambria, Georgia, serif;
  --st-body: "Overpass", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--st-paper); color: var(--st-ink);
  font-family: var(--st-body); font-size: 17px; line-height: 1.69;
  -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--st-plum); text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--st-teal); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--st-teal); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--st-display); font-weight: 700; line-height: 1.18;
  margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 2.7vw, 1.95rem); }
h3 { font-size: 1.24rem; font-weight: 600; }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.25em; padding-left: 1.2em; }
li { margin-bottom: 0.45em; }

.st-shell { width: 100%; max-width: var(--st-shell); margin: 0 auto; padding: 0 24px; }
.st-measure { max-width: var(--st-measure); }
.st-skip { position: absolute; left: -9999px; background: var(--st-plum); color: #fff;
  padding: 12px 18px; z-index: 70; }
.st-skip:focus { left: 12px; top: 12px; }
.st-kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--st-teal); margin: 0 0 0.6em; }
.st-kicker a { color: inherit; }

/* header */
.st-mast { border-bottom: 1px solid var(--st-hair); background: var(--st-paper); }
.st-mast-row { display: flex; align-items: center; gap: 22px; padding: 18px 24px; }
.st-wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--st-display);
  font-weight: 700; font-size: 1.55rem; color: var(--st-ink); text-decoration: none; }
.st-index { margin-left: auto; }
.st-index ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.st-index a { font-size: 0.93rem; font-weight: 500; letter-spacing: 0.03em; color: var(--st-ink);
  text-decoration: none; padding: 4px 0; display: inline-block; }
.st-index a:hover, .st-index a[aria-current="page"] { color: var(--st-plum);
  box-shadow: inset 0 -2px 0 var(--st-teal); }
.st-latch { display: none; margin-left: auto; width: 46px; height: 46px; padding: 12px 10px;
  background: none; border: 1px solid var(--st-hair); border-radius: 2px; }
.st-latch span { display: block; height: 2px; background: var(--st-ink); margin: 4px 0; }

/* opening triptych */
.st-opening { padding: 34px 0 10px; }
.st-triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.st-panel { margin: 0; }
.st-panel img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: var(--st-dim); }
.st-panel figcaption { font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--st-muted); padding-top: 8px; }
.st-opening-type { padding-top: 34px; }
.st-opening-type h1 { max-width: 17ch; }
.st-lede { columns: 2; column-gap: 46px; max-width: 900px; font-size: 1.05rem; }
.st-lede p:first-child::first-letter { font-family: var(--st-display); font-weight: 700;
  font-size: 3.2em; line-height: 0.8; float: left; padding: 0.06em 0.1em 0 0; color: var(--st-plum); }

/* bands */
.st-band { padding: 50px 24px 10px; }
.st-band-head { font-family: var(--st-body); font-size: 0.98rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--st-muted);
  padding-bottom: 12px; border-bottom: 2px solid var(--st-ink); margin-bottom: 6px; }
.st-more a { font-weight: 600; }
.st-closing { padding-bottom: 54px; }
.st-closing h2 { border-top: 2px solid var(--st-ink); padding-top: 22px; }

/* numbered listing, no images by design */
.st-rows { list-style: none; margin: 0 0 24px; padding: 0; }
.st-row { display: grid; grid-template-columns: 74px 1fr 130px; gap: 20px; align-items: start;
  padding: 22px 0; border-bottom: 1px solid var(--st-hair); margin: 0; }
.st-row-no { font-family: var(--st-display); font-size: 2.1rem; font-weight: 700;
  color: var(--st-plum); line-height: 1; padding-top: 4px; }
.st-row-body h3 { margin-bottom: 0.35em; }
.st-row-body h3 a { color: var(--st-ink); text-decoration: none; }
.st-row-body h3 a:hover { color: var(--st-plum); text-decoration: underline; }
.st-row-sum { margin: 0; color: var(--st-muted); font-size: 0.96rem; }
.st-row-legs { font-size: 0.86rem; color: var(--st-muted); text-align: right; padding-top: 8px; }

/* letter band */
.st-letter { background: var(--st-wash); border-top: 1px solid var(--st-hair);
  border-bottom: 1px solid var(--st-hair); padding: 44px 0; margin-top: 48px; }
.st-letter h2 { font-size: 1.6rem; margin-bottom: 0.3em; }
.st-letter p { max-width: 58ch; color: var(--st-muted); }

/* forms */
.st-form { max-width: 560px; }
.st-field { margin-bottom: 18px; }
.st-form label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--st-muted); margin-bottom: 6px; }
.st-form input, .st-form select, .st-form textarea { width: 100%; font: inherit;
  color: var(--st-ink); background: var(--st-card); border: 1px solid var(--st-hair);
  border-radius: 2px; padding: 12px 13px; min-height: 46px; }
.st-form textarea { resize: vertical; }
.st-form input:focus, .st-form select:focus, .st-form textarea:focus {
  border-color: var(--st-plum); outline: 2px solid rgba(92, 58, 82, 0.24); outline-offset: 1px; }
.st-form button { min-height: 48px; padding: 13px 26px; background: var(--st-plum); color: #fff;
  border: 0; border-radius: 2px; font-weight: 600; letter-spacing: 0.03em; }
.st-form button:hover { background: var(--st-plum-deep); }
.st-form-slim { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end;
  max-width: 620px; }
.st-form-slim label { grid-column: 1 / -1; margin-bottom: 0; }
.st-form-slim button { white-space: nowrap; }
.st-form-fine, .st-form-status { grid-column: 1 / -1; font-size: 0.86rem; color: var(--st-muted);
  margin: 10px 0 0; }
.st-form-status:empty { margin: 0; }
.st-form-status[data-state="bad"] { color: var(--st-bad); font-weight: 500; }
.st-field.is-marked input, .st-field.is-marked textarea { border-color: var(--st-bad); }
.st-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* head blocks and panels */
.st-head-block { padding-top: 46px; padding-bottom: 12px; border-bottom: 1px solid var(--st-hair);
  margin-bottom: 34px; }
.st-standfirst { font-family: var(--st-display); font-size: 1.32rem; line-height: 1.44;
  color: var(--st-muted); max-width: 46ch; }
.st-measure h2 { margin-top: 1.7em; }
.st-measure h3 { margin-top: 1.5em; }
.st-panel-body { padding-bottom: 64px; }
.st-rows-def { margin: 0 0 1.4em; border-top: 1px solid var(--st-hair); }
.st-row-def { display: grid; grid-template-columns: 210px 1fr; gap: 18px; padding: 11px 0;
  border-bottom: 1px solid var(--st-hair); }
.st-row-def dt { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--st-muted); padding-top: 3px; }
.st-row-def dd { margin: 0; }

/* piece */
.st-piece-head { padding-top: 44px; padding-bottom: 22px; }
.st-piece-head h1 { max-width: 18ch; }
.st-stamps { display: flex; flex-wrap: wrap; gap: 26px; margin: 1.4em 0 0; padding-top: 16px;
  border-top: 1px solid var(--st-hair); }
.st-stamps dt { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--st-muted); }
.st-stamps dd { margin: 3px 0 0; font-size: 0.95rem; }
.st-piece-lead { padding-bottom: 30px; }
.st-figure { margin: 0; }
.st-figure img { width: 100%; background: var(--st-dim); }
.st-plate img, .st-piece-lead img { aspect-ratio: 3 / 2; object-fit: cover; }
.st-figure figcaption { font-size: 0.86rem; color: var(--st-muted); padding-top: 9px;
  border-top: 1px solid var(--st-hair); margin-top: 9px; max-width: 60ch; }
.st-piece-body { padding-bottom: 16px; }
.st-piece-body .st-figure { margin: 2em 0; }
.st-shield { font-size: 0.86rem; color: var(--st-muted); padding-left: 14px;
  border-left: 3px solid var(--st-teal); margin-top: 2em; }
.st-pull { margin: 1.8em 0; padding: 0 0 0 22px; border-left: 4px solid var(--st-teal); }
.st-pull p { font-family: var(--st-display); font-size: 1.44rem; line-height: 1.34;
  color: var(--st-plum-deep); margin: 0; }
.st-note { margin: 1.8em 0; padding: 20px 22px; background: var(--st-card);
  border: 1px solid var(--st-hair); border-top: 3px solid var(--st-plum); border-radius: 2px; }
.st-note-head { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--st-plum); }
.st-note p:last-child { margin-bottom: 0; }
.st-nearby { list-style: none; margin: 0 0 42px; padding: 0; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 18px; }
.st-nearby li { margin: 0; }
.st-nearby a { display: block; background: var(--st-card); border: 1px solid var(--st-hair);
  border-radius: 2px; padding: 16px 18px; font-family: var(--st-display); font-size: 1.1rem;
  font-weight: 600; color: var(--st-ink); text-decoration: none; }
.st-nearby a:hover { border-color: var(--st-plum); color: var(--st-plum); }
.st-nearby .st-kicker { display: block; margin-bottom: 5px; }

/* contact and search */
.st-contact-grid { display: grid; grid-template-columns: minmax(0, var(--st-measure)) 1fr;
  gap: 52px; padding-bottom: 46px; }
.st-card { background: var(--st-card); border: 1px solid var(--st-hair);
  border-top: 3px solid var(--st-plum); border-radius: 2px; padding: 22px 24px; align-self: start; }
.st-card h2 { font-size: 1.16rem; margin-bottom: 0.7em; }
.st-card .st-row-def { grid-template-columns: 1fr; gap: 3px; }
.st-search-block { padding-bottom: 40px; }
.st-disclosure { background: var(--st-card); border: 1px solid var(--st-hair);
  border-left: 5px solid var(--st-teal); border-radius: 2px; padding: 18px 22px; max-width: 78ch;
  font-size: 0.98rem; }
.st-deck { margin: 28px 0 34px; min-height: 120px; }

/* search desk, front page only */
.st-desk { background: var(--st-dim); border-top: 1px solid var(--st-hair);
  border-bottom: 1px solid var(--st-hair); padding: 50px 0 54px; margin: 58px 0; }
.st-desk-head { font-family: var(--st-display); font-weight: 700;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); line-height: 1.16; margin: 0 0 9px; }
.st-desk-lede { max-width: 60ch; color: var(--st-muted); margin: 0 0 20px; }
.st-desk-card { background: var(--st-card); border: 1px solid var(--st-hair);
  border-top: 3px solid var(--st-plum); border-radius: 2px; padding: 20px 22px 18px; }
.st-legs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px 13px; align-items: end; }
.st-leg { position: relative; min-width: 0; }
.st-leg-wide { grid-column: span 3; }
.st-leg-day { grid-column: span 3; }
.st-leg-few { grid-column: span 2; }
.st-leg-class { grid-column: span 4; }
.st-leg-go { grid-column: span 2; }
.st-desk label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--st-muted); margin-bottom: 5px; }
.st-desk input, .st-desk select { width: 100%; font: inherit; color: var(--st-ink);
  background: var(--st-paper); border: 1px solid var(--st-hair); border-radius: 2px;
  padding: 11px 12px; min-height: 46px; }
.st-desk input:focus, .st-desk select:focus { border-color: var(--st-plum);
  outline: 2px solid rgba(92, 58, 82, 0.28); outline-offset: 1px; }
.st-leg.is-flagged input { border-color: var(--st-bad); }
.st-desk button { width: 100%; min-height: 46px; padding: 12px 18px; background: var(--st-plum);
  color: #fff; border: 0; border-radius: 2px; font-weight: 600; letter-spacing: 0.02em;
  cursor: pointer; }
.st-desk button:hover { background: var(--st-plum-deep); }
.st-sheet { position: absolute; z-index: 30; top: calc(100% + 3px); left: 0; right: 0; margin: 0;
  padding: 3px; list-style: none; background: var(--st-card); border: 1px solid var(--st-plum);
  border-radius: 2px; box-shadow: 0 12px 26px rgba(18, 16, 13, 0.18); max-height: 274px;
  overflow-y: auto; }
.st-sheet[hidden] { display: none; }
.st-sheet-row { display: grid; grid-template-columns: 1fr auto; gap: 1px 9px; padding: 8px 10px;
  border-radius: 2px; cursor: pointer; line-height: 1.28; }
.st-sheet-row.is-under, .st-sheet-row:hover { background: var(--st-wash); }
.st-sheet-name { font-weight: 600; }
.st-sheet-note { grid-column: 1; font-size: 0.8rem; color: var(--st-muted); }
.st-sheet-code { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 0.76rem;
  font-weight: 700; letter-spacing: 0.09em; color: var(--st-plum); background: var(--st-wash);
  border-radius: 2px; padding: 3px 6px; }
.st-desk-note { margin: 14px 0 0; font-size: 0.85rem; color: var(--st-muted); }
.st-desk-voice { margin: 9px 0 0; font-size: 0.89rem; min-height: 1.2em; }
.st-desk-voice[data-tone="bad"] { color: var(--st-bad); font-weight: 600; }
.st-desk-voice[data-tone="good"] { color: var(--st-good); font-weight: 600; }
.st-desk .st-disclosure { margin: 20px 0 0; max-width: none; }

@media (max-width: 900px) {
  .st-leg-wide, .st-leg-class, .st-leg-go { grid-column: span 6; }
  .st-leg-day { grid-column: span 3; }
  .st-leg-few { grid-column: span 2; }
}

@media (max-width: 560px) {
  .st-desk { padding: 36px 0 40px; margin: 42px 0; }
  .st-desk-card { padding: 16px 15px 14px; }
  .st-leg-day { grid-column: span 6; }
  .st-leg-few { grid-column: span 2; }
}

/* questions */
.st-ask { border-bottom: 1px solid var(--st-hair); padding: 4px 0; }
.st-ask summary { cursor: pointer; list-style: none; padding: 13px 30px 13px 0; position: relative; }
.st-ask summary::-webkit-details-marker { display: none; }
.st-ask summary h3 { display: inline; font-size: 1.12rem; margin: 0; }
.st-ask summary::after { content: ""; position: absolute; right: 4px; top: 22px; width: 11px;
  height: 11px; border-right: 2px solid var(--st-teal); border-bottom: 2px solid var(--st-teal);
  transform: rotate(45deg); }
.st-ask[open] summary::after { transform: rotate(-135deg); }
.st-ask-body { padding: 0 0 14px; color: var(--st-muted); }

/* footer */
.st-foot { background: var(--st-plum-deep); color: #e2d7de; margin-top: 56px;
  border-top: 5px solid var(--st-teal); }
.st-foot a { color: #e2d7de; text-decoration: none; }
.st-foot a:hover { color: #fff; text-decoration: underline; }
.st-colophon { text-align: center; padding: 42px 0 32px;
  border-bottom: 1px solid rgba(255,255,255,0.14); }
.st-colophon .st-mark { margin: 0 auto 14px; }
.st-colophon-line { font-family: var(--st-display); font-size: 1.5rem; color: #fff; margin: 0 0 0.4em; }
.st-colophon-body { max-width: 54ch; margin: 0 auto; color: #c3b3bd; font-size: 0.96rem; }
.st-foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 34px 0 38px; }
.st-foot-head { font-family: var(--st-body); font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: #a2909c; margin-bottom: 14px; }
.st-foot-grid ul { list-style: none; margin: 0; padding: 0; }
.st-foot-grid li { margin-bottom: 8px; font-size: 0.94rem; }
.st-foot-reach p { font-size: 0.94rem; margin-bottom: 0.8em; color: #c3b3bd; }
.st-hours { font-size: 0.87rem; }
.st-record { background: var(--st-deep); padding: 18px 0; }
.st-record p { margin: 0; font-size: 0.84rem; color: #968a91; }
.st-shield-line { margin-top: 6px; max-width: 92ch; }

/* storage card, bottom left */
.st-notice { position: fixed; left: 18px; bottom: 18px; width: 330px;
  max-width: calc(100vw - 36px); background: var(--st-card); border: 1px solid var(--st-hair);
  border-left: 5px solid var(--st-plum); border-radius: 2px;
  box-shadow: 0 14px 34px rgba(18,16,13,0.18); padding: 20px; z-index: 50;
  transform: translateY(140%); transition: transform 0.32s ease; }
.st-notice[hidden] { display: none; }
.st-notice.is-borne { transform: translateY(0); }
.st-notice-head { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--st-plum); margin-bottom: 8px; }
.st-notice p { font-size: 0.89rem; color: var(--st-muted); }
.st-notice-acts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 4px; }
.st-notice-acts button { flex: 1 1 auto; min-height: 42px; padding: 10px 14px; border-radius: 2px;
  border: 1px solid var(--st-plum); background: var(--st-plum); color: #fff; font-size: 0.88rem;
  font-weight: 500; }
.st-notice-acts button[data-st-notice="no"] { background: transparent; color: var(--st-plum); }

/* reveal */
.st-js .st-band, .st-js .st-letter, .st-js .st-piece-body, .st-js .st-contact-grid {
  opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
.st-js .st-band.is-hitched, .st-js .st-letter.is-hitched, .st-js .st-piece-body.is-hitched,
.st-js .st-contact-grid.is-hitched { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .st-contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .st-row { grid-template-columns: 56px 1fr; }
  .st-row-legs { grid-column: 2; text-align: left; padding-top: 6px; }
}

@media (max-width: 900px) {
  .st-latch { display: block; }
  .st-index { display: none; width: 100%; order: 3; }
  .st-index.is-borne { display: block; }
  .st-index ul { flex-direction: column; gap: 0; border-top: 1px solid var(--st-hair);
    padding-top: 6px; }
  .st-index a { display: block; padding: 11px 0; }
  .st-mast-row { flex-wrap: wrap; }
  .st-triptych { grid-template-columns: 1fr 1fr; }
  .st-panel:last-child { display: none; }
  .st-nearby { grid-template-columns: 1fr 1fr; }
  .st-foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .st-lede { columns: 1; }
  .st-triptych { grid-template-columns: 1fr; }
  .st-panel:last-child { display: block; }
  .st-panel:nth-child(3) { display: none; }
  .st-nearby, .st-foot-grid { grid-template-columns: 1fr; }
  .st-row { grid-template-columns: 46px 1fr; gap: 14px; }
  .st-row-no { font-size: 1.6rem; }
  .st-row-def { grid-template-columns: 1fr; gap: 3px; }
  .st-form-slim { grid-template-columns: 1fr; }
  .st-notice { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .st-stamps { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
@media print { .st-mast, .st-foot, .st-notice, .st-letter { display: none; } }
