/* Premier Catering & Events: the shared floor.
   Three hosts on one site. The class on <html> picks the ground:
   theme-premier (porcelain and gold), theme-caviar (charcoal and silver),
   theme-charcuterie (parchment, navy and olive). scrollcraft.css is the
   engine's stylesheet and stays untouched; this file only sets its tokens and
   styles the site's own markup. */

:root {
  /* The published HeroBoard site serves only its own files, so there are no web
     fonts: these stacks reach for a Bodoni and a clean grotesque already on the
     visitor's device (Bodoni 72 on Apple devices, Bodoni MT or Palatino on Windows). */
  --sc-font-display: "Bodoni Moda", "Bodoni 72", "Bodoni MT", Didot, "Didot LT STD", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sc-font-text: "Albert Sans", "Avenir Next", "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif;
  --sc-r-sm: 2px; --sc-r-md: 2px; --sc-r-lg: 2px;
  --sc-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gold: #b08c42; --gold-deep: #86672a;
  --porcelain: #fbfaf6; --charcoal: #121315; --parchment: #f3ecdd;
  --navy: #1e2847; --olive: #5c6b2e; --silver: #c5cad1;
  --bar-h: 78px;
  --shell: 2px;
}
.theme-premier {
  --sc-canvas: var(--porcelain); --sc-surface: #f2eee4; --sc-ink: #1d1a15; --sc-ink-soft: #62594b;
  --sc-accent: var(--gold); --sc-accent-ink: #1d1a15; --accent-text: #86672a;
  --rule: color-mix(in oklab, var(--gold) 58%, transparent);
  --sc-shadow-color: 38 28% 28%; --sc-edge: inset 0 1px 0 rgb(255 255 255 / 0.7);
}
.theme-caviar {
  --sc-canvas: var(--charcoal); --sc-surface: #1b1d20; --sc-ink: #eceef0; --sc-ink-soft: #a9aeb5;
  --sc-accent: var(--silver); --sc-accent-ink: var(--charcoal); --accent-text: var(--silver);
  --rule: color-mix(in oklab, var(--silver) 40%, transparent);
  --sc-shadow-color: 220 25% 2%;
}
.theme-charcuterie {
  --sc-canvas: var(--parchment); --sc-surface: #ebe2ce; --sc-ink: var(--navy); --sc-ink-soft: #4b5572;
  --sc-accent: var(--olive); --sc-accent-ink: var(--parchment); --accent-text: #536128;
  --rule: color-mix(in oklab, var(--navy) 34%, transparent);
  --sc-shadow-color: 38 30% 32%; --sc-edge: inset 0 1px 0 rgb(255 255 255 / 0.6);
}
html { background: var(--sc-canvas); }
body { font-weight: 400; }
.theme-caviar body { font-weight: 300; letter-spacing: 0.005em; line-height: 1.68; }
.sc-grain { opacity: 0.035; }
.theme-caviar .sc-grain { opacity: 0.055; }
img { height: auto; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------ type ---- */
.display {
  font-family: var(--sc-font-display); font-weight: 400; font-style: italic;
  line-height: 1.02; letter-spacing: -0.012em; text-wrap: balance; margin: 0;
}
.display--xl { font-size: clamp(3.1rem, 1.6rem + 6.2vw, 7.6rem); }
.display--lg { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.6rem); }
.display--md { font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); }
.theme-caviar .display { font-weight: 500; }
.label {
  font: 500 0.7rem/1.4 var(--sc-font-text); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent-text); margin: 0;
}
.lede { font-size: var(--sc-t-lg); line-height: 1.45; max-width: 34ch; text-wrap: pretty; margin: 0; }
.prose { max-width: 60ch; color: var(--sc-ink-soft); text-wrap: pretty; margin: 0; }
.serif-quote {
  font: italic 400 clamp(1.18rem, 1rem + 0.7vw, 1.55rem)/1.55 var(--sc-font-display);
  color: var(--sc-ink); text-wrap: pretty; margin: 0;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--sc-ink); color: var(--sc-canvas); }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.85rem 1.7rem; border: 1px solid var(--sc-ink);
  font: 500 0.78rem/1 var(--sc-font-text); letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; color: var(--sc-ink); background: transparent; white-space: nowrap; cursor: pointer;
  transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--btn-bg, var(--sc-ink)); border-color: var(--btn-bg, var(--sc-ink)); color: var(--btn-ink, var(--sc-canvas)); }
.theme-premier .btn--primary { --btn-bg: var(--gold); --btn-ink: #1d1a15; }
.theme-caviar .btn--primary { --btn-bg: var(--silver); --btn-ink: #121315; }
.theme-charcuterie .btn--primary { --btn-bg: var(--navy); --btn-ink: #f3ecdd; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--sc-ink); color: var(--sc-canvas); }
  .btn--primary:hover { background: transparent; color: var(--sc-ink); border-color: var(--sc-ink); }
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.link {
  font: 500 0.78rem/1.3 var(--sc-font-text); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sc-ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 0.5em;
}
.link:hover { text-decoration-color: currentColor; }

/* ------------------------------------------------------- ornament ---- */
/* Colby's menu divider: rule, dot, diamond, dot, rule */
.diamond { display: flex; align-items: center; gap: 10px; width: min(15rem, 60%); color: var(--sc-accent); }
.diamond::before, .diamond::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.55; }
.diamond i {
  position: relative; flex: none; width: 30px; height: 9px;
  background: radial-gradient(circle, currentColor 0 1.6px, transparent 2px) 0 50% / 5px 5px no-repeat,
              radial-gradient(circle, currentColor 0 1.6px, transparent 2px) 100% 50% / 5px 5px no-repeat;
}
.diamond i::before { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.diamond--center { margin-inline: auto; }
.frame-double { position: absolute; inset: var(--inset, 18px); pointer-events: none; border: 1px solid var(--rule); }
.frame-double::after { content: ""; position: absolute; inset: 5px; border: 1px solid color-mix(in oklab, var(--rule) 60%, transparent); }

/* photographs sit in frames; the image never drives the layout */
.photo { position: relative; margin: 0; overflow: clip; background: var(--sc-surface); }
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--sc-ink) 10%, transparent); pointer-events: none; }
.cap { margin-top: 0.7rem; display: grid; gap: 0.2rem; }
.cap b { font: italic 500 1.05rem/1.2 var(--sc-font-display); }
.cap span { font-size: 0.82rem; color: var(--sc-ink-soft); }

/* ------------------------------------------------------ running head -- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--bar-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem;
  padding: 0 var(--sc-gutter); color: var(--sc-ink);
  transition: height 240ms var(--sc-ease-out);
}
/* The fill lives on a pseudo-element: a backdrop-filter on .bar itself would
   become the containing block for the fixed phone switch and trap it. */
.bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: color-mix(in oklab, var(--sc-canvas) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in oklab, var(--sc-ink) 9%, transparent);
  transition: opacity 240ms var(--sc-ease-out);
}
.bar.is-scrolled::before, .bar.is-solid::before { opacity: 1; }
.bar.is-scrolled { --bar-h: 64px; }
.bar__home { justify-self: start; display: block; color: var(--gold); line-height: 0; }
.theme-caviar .bar__home { color: #e3e5e8; }
.theme-charcuterie .bar__home { color: var(--gold-deep); }
.bar__mark { width: clamp(118px, 10vw, 150px); height: auto; aspect-ratio: 3408 / 1050; }
.bar__links { justify-self: end; display: flex; align-items: center; gap: clamp(1rem, 1.8vw, 1.9rem); }
.bar__links a:not(.btn) { font: 500 0.72rem/1 var(--sc-font-text); letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: var(--sc-ink); padding: 0.6rem 0; }
.bar__links a:not(.btn):hover { text-decoration: underline; text-underline-offset: 0.6em; text-decoration-color: var(--rule); }
.bar__links .btn { min-height: 40px; padding: 0.7rem 1.1rem; }
.bar__menu { display: none; justify-self: end; background: none; border: 1px solid var(--rule); min-height: 40px; padding: 0 0.9rem; font: 500 0.72rem/1 var(--sc-font-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--sc-ink); cursor: pointer; }

/* the two-sided switch: the card's edge */
.switch { display: flex; border: 1px solid var(--rule); background: color-mix(in oklab, var(--sc-canvas) 70%, transparent); }
.switch__side {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 0.65rem; align-items: center;
  min-width: 13.2rem; padding: 0.5rem 1rem 0.55rem 0.7rem; text-decoration: none; color: var(--sc-ink);
  transition: background-color 180ms var(--sc-ease-out), color 180ms var(--sc-ease-out);
}
.switch__side + .switch__side { border-left: 1px solid var(--rule); }
.switch__icon { grid-row: 1 / 3; width: 26px; height: 26px; border-radius: 50%; }
.switch__name { font: italic 500 1rem/1.15 var(--sc-font-display); white-space: nowrap; }
.switch__hint { font: 500 0.58rem/1.3 var(--sc-font-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--sc-ink-soft); white-space: nowrap; }
.switch__side[aria-current="page"] { background: var(--sc-ink); color: var(--sc-canvas); }
.switch__side[aria-current="page"] .switch__hint { color: color-mix(in oklab, var(--sc-canvas) 72%, var(--sc-ink)); }
@media (hover: hover) and (pointer: fine) {
  .switch__side:not([aria-current="page"]):hover { background: color-mix(in oklab, var(--sc-ink) 7%, transparent); }
}

/* phone menu */
.menu {
  position: fixed; inset: 0; z-index: 90; display: grid; align-content: center; gap: 0.2rem;
  padding: 6rem var(--sc-gutter) 7rem; background: var(--sc-canvas); color: var(--sc-ink);
  opacity: 0; visibility: hidden; transition: opacity 220ms var(--sc-ease-out), visibility 0s linear 220ms;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 220ms var(--sc-ease-out); }
.menu a { font: italic 400 clamp(1.9rem, 7vw, 2.6rem)/1.35 var(--sc-font-display); color: var(--sc-ink); text-decoration: none; }
.menu .btn { justify-self: start; margin-top: 1.4rem; font-style: normal; }
.menu__close { position: absolute; top: 14px; right: var(--sc-gutter); }

@media (max-width: 1180px) {
  .bar__links a:not(.btn) { display: none; }
  .bar__menu { display: inline-flex; align-items: center; }
  .bar { grid-template-columns: auto 1fr auto auto; }
  .switch { justify-self: center; }
}
@media (max-width: 860px) {
  :root { --bar-h: 60px; }
  .bar.is-scrolled { --bar-h: 56px; }
  .bar { grid-template-columns: 1fr auto auto; gap: 0.6rem; }
  .bar__links .btn { display: none; }
  /* the switch moves to the bottom edge, under the thumb */
  .switch {
    position: fixed; inset: auto 0 0 0; z-index: 70; border: 0; border-top: 1px solid var(--rule);
    background: color-mix(in oklab, var(--sc-canvas) 94%, transparent);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .switch__side { flex: 1 1 50%; min-width: 0; padding: 0.55rem 0.8rem; min-height: 58px; }
  .switch__name { font-size: 0.95rem; white-space: normal; }
  .switch__hint { white-space: normal; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
  .switch__icon { display: none; }
  .switch__side { grid-template-columns: 1fr; }
  .switch__name { font-size: 0.88rem; }
}

/* ---------------------------------------------- turning the carte ---- */
.turn { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; pointer-events: none; }
.turn__veil { position: absolute; inset: 0; opacity: 0; }
/* the holder rises and fades; the card inside only turns, so it keeps its 3D */
.turn__lift { position: relative; perspective: 1700px; }
.turn__card { position: relative; width: min(64vmin, 440px); aspect-ratio: 3 / 4; transform-style: preserve-3d; }
.face {
  position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 1.1rem;
  padding: 12%; text-align: center; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.35), 0 8px 18px -8px rgb(0 0 0 / 0.25);
}
.face--back { transform: rotateY(180deg); }
.face .frame-double { --inset: 12px; }
.face__name { font: italic 500 clamp(1.5rem, 4.6vmin, 2.2rem)/1.1 var(--sc-font-display); margin: 0; }
.face__mark { width: 58%; height: auto; }
.face--caviar { background: #16181b; color: #eceef0; --rule: color-mix(in oklab, #c5cad1 46%, transparent); }
.face--charcuterie { background: #f3ecdd; color: #1e2847; --rule: color-mix(in oklab, #1e2847 36%, transparent); }
.face--premier { background: #fbfaf6; color: #1d1a15; --rule: color-mix(in oklab, #b08c42 60%, transparent); }
.face--premier .face__mark { width: 78%; color: var(--gold); }
.medallion { position: relative; border-radius: 50%; background: radial-gradient(circle at 36% 30%, #fbfbfa 0%, #e8eaec 48%, #c9ced4 100%); box-shadow: 0 18px 40px -16px rgb(0 0 0 / 0.55), inset 0 0 0 1px rgb(255 255 255 / 0.4); }
.medallion > svg { display: block; width: 100%; height: auto; color: #15171a; }

/* arriving from a turn: the card is already on screen, then lifts away */
.arrive { position: fixed; inset: 0; z-index: 119; display: none; place-items: center; background: var(--sc-canvas); }
.arrive .turn__card { transform: none; }
.arrive .face { backface-visibility: visible; }
html[data-arrive] .arrive { display: grid; }
html[data-arrive] body { overflow: hidden; }
.arrive.is-leaving { opacity: 0; transition: opacity 320ms var(--sc-ease-out); }

/* ------------------------------------------------------------ footer --- */
.foot { padding: clamp(3.5rem, 7vw, 6rem) var(--sc-gutter) 2.2rem; border-top: 1px solid var(--rule); background: var(--sc-canvas); color: var(--sc-ink); }
.foot__grid { max-width: var(--sc-maxw); margin-inline: auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.4rem; }
.foot__mark { width: min(250px, 70%); height: auto; aspect-ratio: 3666 / 1941; color: var(--gold); }
.theme-caviar .foot__mark { color: #dfe2e6; }
.foot h2 { font: 500 0.66rem/1.4 var(--sc-font-text); letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.foot a { color: var(--sc-ink); text-decoration: none; font-size: 0.95rem; }
.foot a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.foot__base { max-width: var(--sc-maxw); margin: 3rem auto 0; padding-top: 1.4rem; border-top: 1px solid color-mix(in oklab, var(--sc-ink) 10%, transparent); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.78rem; color: var(--sc-ink-soft); }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; gap: 1.8rem; } }
.foot__grid > * { min-width: 0; }
.foot a { overflow-wrap: anywhere; }

/* ------------------------------------------------ umbrella pages ---- */
.page-head { padding: calc(var(--bar-h) + clamp(3.5rem, 9vw, 8rem)) var(--sc-gutter) clamp(2.5rem, 5vw, 4.5rem); max-width: var(--sc-maxw); margin-inline: auto; display: grid; gap: 1.3rem; justify-items: start; }
.page-head .lede { max-width: 40ch; color: var(--sc-ink-soft); }
.wrap { max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 7.5rem); }

/* menu-style list: used by Private Catering and the included courses */
.menu-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.menu-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 1rem 2.5rem; padding: 1.35rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.menu-list h3 { font: italic 500 clamp(1.3rem, 1rem + 1vw, 1.8rem)/1.15 var(--sc-font-display); margin: 0; }
.menu-list p { margin: 0; color: var(--sc-ink-soft); max-width: 48ch; }
@media (max-width: 700px) { .menu-list li { grid-template-columns: 1fr; gap: 0.35rem; } }

.pending {
  position: relative; display: grid; place-items: center; text-align: center; gap: 0.5rem; padding: 2rem;
  background: repeating-linear-gradient(135deg, color-mix(in oklab, var(--gold) 9%, transparent) 0 1px, transparent 1px 14px), var(--sc-surface);
  border: 1px dashed color-mix(in oklab, var(--gold) 70%, transparent); color: var(--sc-ink-soft);
}
.pending strong { font: 500 0.7rem/1.4 var(--sc-font-text); letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-text); }
.pending span { font: italic 400 1.1rem/1.4 var(--sc-font-display); color: var(--sc-ink); }
.pending small { font-size: 0.8rem; }
.occasions__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); margin-top: clamp(2rem, 4vw, 3rem); }
.occasions__row > *, .private__intro > * { min-width: 0; }
.pending { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 700px) { .occasions__row { grid-template-columns: 1fr 1fr; } }

/* gallery */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2.2rem; }
.filters button { min-height: 44px; padding: 0 1.1rem; background: none; border: 1px solid var(--rule); font: 500 0.7rem/1 var(--sc-font-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--sc-ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--sc-ink); color: var(--sc-canvas); border-color: var(--sc-ink); }
.masonry { columns: 3 18rem; column-gap: clamp(0.9rem, 2vw, 1.6rem); }
.masonry figure { break-inside: avoid; margin: 0 0 clamp(0.9rem, 2vw, 1.6rem); }
.masonry .photo { aspect-ratio: var(--ar); }
.masonry figcaption { margin-top: 0.55rem; font-size: 0.8rem; color: var(--sc-ink-soft); }
.masonry figcaption b { font: italic 500 0.98rem/1.2 var(--sc-font-display); color: var(--sc-ink); margin-right: 0.35rem; }

/* quote: the reply card */
.reply-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.reply-card { position: relative; padding: clamp(1.6rem, 4vw, 3.2rem); background: var(--sc-surface); box-shadow: var(--sc-e2); }
.reply-card .frame-double { --inset: 10px; }
.context { display: inline-flex; margin: 0 0 1.6rem; padding: 0.55rem 0.9rem; border: 1px solid var(--rule); font: 500 0.7rem/1.4 var(--sc-font-text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 1.6rem; position: relative; }
.field { display: grid; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font: 500 0.66rem/1.3 var(--sc-font-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--sc-ink-soft); }
.field input, .field textarea {
  font: 400 1rem/1.4 var(--sc-font-text); color: var(--sc-ink); background: transparent; border: 0;
  border-bottom: 1px solid color-mix(in oklab, var(--sc-ink) 28%, transparent); padding: 0.6rem 0.1rem; border-radius: 0;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--sc-accent); box-shadow: 0 1px 0 0 var(--sc-accent); }
.field input[aria-invalid="true"] { border-bottom-color: #a33a2c; }
.field .err { font-size: 0.78rem; color: #a33a2c; min-height: 1em; }
.theme-caviar .field .err { color: #f0a597; }
.form-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; }
.form-note { font-size: 0.82rem; color: var(--sc-ink-soft); max-width: 46ch; margin: 1.2rem 0 0; }
.confirm { display: none; text-align: left; }
.confirm.is-visible { display: grid; gap: 1rem; justify-items: start; }
@media (max-width: 860px) { .reply-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.contact-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.contact-lines li { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 0.4rem 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.contact-lines span { font: 500 0.66rem/1.3 var(--sc-font-text); letter-spacing: 0.22em; text-transform: uppercase; color: var(--sc-ink-soft); }
.contact-lines a { font: italic 500 clamp(1.25rem, 1rem + 1.1vw, 1.9rem)/1.2 var(--sc-font-display); color: var(--sc-ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-lines a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
@media (max-width: 640px) { .contact-lines li { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .bar, .bar::before, .menu, .btn, .switch__side { transition: none; }
}

/* --------------------------------------------------------- HeroBoard --- */
/* Without scripts (the HeroBoard editor preview, or JavaScript turned off)
   every reveal shows settled and the photo rails scroll by hand. */
html:not(.js) [data-sc-in], html:not(.js) [data-sc-stagger] > *, html:not(.js) [data-sc-cue] { opacity: 1 !important; transform: none !important; }
html:not(.js) .field__stage { overflow-x: auto; }
/* the published site loads only its own files, so the grain is a file too */
.sc-grain::before { background-image: url("grain.svg"); }

/* journal: stories written in HeroBoard */
.journal__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.journal__item { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.2rem, 4vw, 3.5rem); padding: clamp(1.6rem, 4vw, 2.6rem) 0; border-bottom: 1px solid var(--rule); align-items: center; }
.journal__item:not(:has(.journal__image)) { grid-template-columns: 1fr; }
.journal__image { display: block; aspect-ratio: 4 / 3; }
.journal__text { display: grid; gap: 0.8rem; justify-items: start; }
.journal__text h2 a { color: inherit; text-decoration: none; }
.journal__text h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.journal__pages { display: flex; gap: 1.2rem; margin-top: 2.4rem; }
.journal__pages [aria-current="page"] { text-decoration-color: currentColor; }
.story__image { aspect-ratio: 3 / 2; max-width: 64rem; margin-inline: auto; }
.rich { max-width: 42rem; margin-inline: auto; color: var(--sc-ink); font-size: 1.06rem; line-height: 1.7; }
.rich > * { margin-block: 0; }
.rich > * + * { margin-top: 1.1em; }
.rich h2, .rich h3 { font-family: var(--sc-font-display); font-style: italic; font-weight: 500; line-height: 1.15; }
.rich > h2, .rich > h3 { margin-top: 1.8em; }
.rich h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.rich h3 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); }
.rich a { color: inherit; text-decoration-color: var(--rule); text-underline-offset: 0.2em; }
.rich img { max-width: 100%; height: auto; }
.rich blockquote { margin-inline: 0; padding-left: 1.2rem; border-left: 1px solid var(--rule); font: italic 400 1.25rem/1.55 var(--sc-font-display); }
@media (max-width: 700px) { .journal__item { grid-template-columns: 1fr; } }
