/* debibrinson.com — styles. Tokens follow docs/DESIGN.md (concept G, 11/07/26) exactly; change them there first. */

/* ---------- Fonts (self-hosted, SIL Open Font License; see /fonts/OFL-*.txt) ---------- */
/* Fraunces (headings, the wordmark) with its optical size axis, trimmed to what DESIGN.md uses:
   weights 400-500 upright and 500 italic (made from the Fontsource files with fontTools'
   instancer). Inter (body and UI) and Caveat 600 (Debi's own line and signature only). Latin only. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/fraunces-latin.woff2") format("woff2-variations"), url("/fonts/fraunces-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/fraunces-italic-latin.woff2") format("woff2-variations"), url("/fonts/fraunces-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2-variations"), url("/fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/caveat-600-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  /* Paper and ink */
  --cream: #fbf8f0;
  --oat: #f2eee3;
  --sand-wash: #f7eedc;
  --white: #ffffff;
  --rule: #e3ddcd;
  --chip-line: #d6cfbd;
  --field-line: #857d6c;
  --ink: #1f2d2c;
  --muted: #55625e;

  /* Accents. Sand is never text on Cream or Oat: text uses Sand Ink. */
  --sand: #e3c48a;
  --sand-hover: #ebd3a3;
  --sand-ink: #7a5c24;
  --teal-ink: #14655f;
  --coral: #ef6c4a;
  --coral-ink: #b5401f;

  /* Status (icons and fills only) */
  --success: #1e8449;
  --error: #e74c3c;

  /* Older names, kept while pages move to concept G (and for admin, which keeps Gold only for its
     "unsaved changes" cue). New code uses the names above. */
  --teal: #2ba8a2;
  --teal-light: #3cc4bd;
  --teal-dark: #1e8c86;
  --teal-wash: var(--oat);
  --gold: #ffd23f;
  --gold-light: #ffe47a;
  --gold-dark: #e6b800;
  --coral-light: #ff8a6a;
  --coral-dark: #d45233;
  --sky: #5dade2;
  --cream-deep: var(--rule);
  --surface: var(--cream);

  /* Type */
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-hand: "Caveat", "Segoe Script", cursive;
  --font-display: var(--font-serif);
  --font-heading: var(--font-serif);
  --font-body: var(--font-sans);
  --font-mono: ui-monospace, Menlo, Consolas, monospace;

  --text-display: 80px;
  --text-h1: 52px;
  --text-h2: 52px;
  --text-h3: 44px;
  --text-card: 25px;
  --text-lede: 19px;
  --text-body: 17px;
  --text-small: 15px;
  --text-eyebrow: 13px;

  /* Spacing (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 22px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --space-9: 96px;
  --space-10: 112px;
  --page-max: 1240px;
  --header-max: 1280px;
  --gutter: 24px;
  --inset: 12px;

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-photo: 20px;
  --radius-card: 22px;
  --radius-form: 24px;
  --radius-feature: 28px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Elevation: soft and rare. No glows, no hard offset shadows. */
  --shadow-lift: 0 14px 32px rgba(31, 45, 44, 0.14);
  --shadow-float: 0 10px 30px rgba(31, 45, 44, 0.18);
  --shadow-focus: 0 0 0 3px #e3c48a, 0 0 0 6px rgba(31, 45, 44, 0.6);
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-card: none;
  --shadow-teal-glow: none;
  --shadow-gold-glow: none;
  --shadow-coral-glow: none;
  --shadow-hard: none;

  /* The hero's scrim and the words' shadow over a photo */
  --scrim: linear-gradient(180deg, rgba(12, 22, 26, 0.72) 0%, rgba(12, 22, 26, 0.62) 16%, rgba(12, 22, 26, 0) 34%, rgba(12, 22, 26, 0) 48%, rgba(12, 22, 26, 0.55) 68%, rgba(12, 22, 26, 0.86) 100%);
  /* The photo band's scrim never drops below .62, so the header and the h1 pass over any sky. */
  /* On phones the words fill most of the hero (the eyebrow starts near 24%), over the snowy peak,
     so the scrim holds .68 behind them: every line passes on the mountain-lake photo's worst pixel. */
  --scrim-phone: linear-gradient(180deg, rgba(12, 22, 26, 0.72) 0%, rgba(12, 22, 26, 0.68) 16%, rgba(12, 22, 26, 0.68) 60%, rgba(12, 22, 26, 0.76) 80%, rgba(12, 22, 26, 0.86) 100%);
  --scrim-band: linear-gradient(180deg, rgba(12, 22, 26, 0.74) 0%, rgba(12, 22, 26, 0.62) 40%, rgba(12, 22, 26, 0.7) 60%, rgba(12, 22, 26, 0.84) 100%);
  --photo-text-shadow: 0 1px 18px rgba(10, 18, 20, 0.45);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --ease-bounce: var(--ease);
  --dur-fast: 150ms;
  --dur-base: 200ms;

  /* Hairline (it replaces the old dashed "perforated" divider) */
  --perforated: 1px solid var(--rule);
}

@media (max-width: 900px) {
  :root {
    --text-display: 50px;
  }
}
@media (max-width: 640px) {
  :root {
    --text-display: 40px;
    --text-h1: 36px;
    --text-h2: 36px;
    --text-h3: 32px;
    --text-lede: 17px;
    --text-body: 16px;
    --gutter: 16px;
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
ul,
figure,
blockquote {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.025em;
}
h1 {
  font-size: var(--text-h1);
  line-height: 1.04;
}
h2 {
  font-size: var(--text-h2);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
h3 {
  font-size: var(--text-card);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
a {
  color: var(--teal-ink);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--ink);
}
/* A Sand ring and an Ink ring, so focus shows on light grounds and on the photo alike. The
   transparent outline still draws in Windows high-contrast mode. */
:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: var(--shadow-focus);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 20;
  padding: var(--space-3) var(--space-5);
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.skip-link:focus {
  top: var(--space-3);
  color: var(--cream);
}

.container {
  max-width: calc(var(--page-max) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.eyebrow {
  color: var(--sand-ink);
  font-family: var(--font-sans);
  font-size: var(--text-eyebrow);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* On the photo: Sand, always over the scrim. */
.eyebrow--sand {
  color: var(--sand);
}
.eyebrow--gold {
  color: var(--sand-ink);
}
.eyebrow--coral {
  color: var(--sand-ink);
}
.muted {
  color: var(--muted);
}
.lede {
  font-size: var(--text-lede);
  line-height: 1.55;
}

/* ---------- Icons ---------- */
.icon {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--sand-wash);
  color: var(--sand-ink);
}
.icon-circle--sm {
  width: 40px;
  height: 40px;
}
.icon-circle--lg {
  width: 56px;
  height: 56px;
}

/* ---------- Wordmark: "Debi Brinson / Rep Services", Fraunces italic, one color ---------- */
.wordmark {
  display: inline-flex;
  flex-direction: column;
  color: var(--sand-ink);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.015em;
  text-decoration: none;
}
.wordmark:hover {
  color: var(--sand-ink);
}
.wordmark--photo,
.wordmark--photo:hover {
  color: var(--sand);
  font-size: 48px;
  text-shadow: var(--photo-text-shadow);
}
.wordmark--line {
  flex-direction: row;
  gap: 0.25em;
  font-size: 26px;
}
@media (max-width: 640px) {
  .wordmark,
  .wordmark--photo {
    font-size: 28px;
  }
}

/* ---------- Gingham band ---------- */
.gingham {
  height: 14px;
  background-color: var(--cream);
  background-image:
    repeating-linear-gradient(90deg, rgba(43, 168, 162, 0.5) 0 14px, transparent 14px 28px),
    repeating-linear-gradient(0deg, rgba(43, 168, 162, 0.5) 0 7px, transparent 7px 14px);
}
.gingham--coral {
  background-image:
    repeating-linear-gradient(90deg, rgba(239, 108, 74, 0.5) 0 14px, transparent 14px 28px),
    repeating-linear-gradient(0deg, rgba(239, 108, 74, 0.5) 0 7px, transparent 7px 14px);
}

/* ---------- Buttons (DESIGN.md "Buttons") ---------- */
/* Pill, 50px tall, Inter 600. A main button may carry an arrow dot: a 36px circle at its right end.
   Ink is the main action on light grounds, Sand on the photo. Gold buttons are retired. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--dur-fast) ease,
    color var(--dur-fast) ease,
    border-color var(--dur-fast) ease;
}
.btn--dot {
  gap: 14px;
  padding: 0 8px 0 22px;
}
.btn__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
}
.btn--lg {
  min-height: 54px;
}
.btn--sm {
  min-height: 44px;
  padding: 0 16px;
  font-size: 15px;
}
.btn--block {
  width: 100%;
}
/* Ink: Ink fill, Cream text, a Sand dot with an Ink arrow. (.btn--primary and .btn--secondary
   are the older names, now Ink too.) */
.btn--ink,
.btn--primary,
.btn--secondary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.btn--ink:hover,
.btn--primary:hover,
.btn--secondary:hover {
  background: #000;
  border-color: #000;
  color: var(--cream);
}
.btn--ink .btn__dot,
.btn--primary .btn__dot {
  background: var(--sand);
  color: var(--ink);
}
/* Sand: the main action on the photo. */
.btn--sand {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--ink);
}
.btn--sand:hover {
  background: var(--sand-hover);
  border-color: var(--sand-hover);
  color: var(--ink);
}
.btn--sand .btn__dot {
  background: var(--ink);
  color: var(--sand);
}
/* Ghost on the photo: Cream at 14% with a Cream ring. */
.btn--ghost-light {
  background: rgba(251, 248, 240, 0.14);
  border-color: rgba(251, 248, 240, 0.6);
  color: var(--cream);
}
.btn--ghost-light:hover {
  background: rgba(251, 248, 240, 0.24);
  color: var(--cream);
}
/* Line: the second action on light grounds. (.btn--ghost is the older name.) */
.btn--line,
.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--line:hover,
.btn--ghost:hover {
  background: var(--oat);
  color: var(--ink);
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}
@media (max-width: 640px) {
  .btn--phone-block {
    width: 100%;
  }
}

/* ---------- Recipe card ---------- */
/* Now a plain concept-G card: Cream, a Rule border, 22px corners. The coral rule is retired. */
.recipe-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: 28px;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
}
.recipe-card--white {
  background: var(--white);
}
.recipe-card__rule {
  display: none;
}
.recipe-card__rule--short {
  width: 48px;
}

/* Jar label / price tag: "NEW" */
.jar-label {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: var(--sand-wash);
  color: var(--sand-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

/* Logo tiles */
.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 72px;
  height: 40px;
  padding: 4px 6px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(31, 45, 44, 0.12);
}
.logo-tile img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.logo-tile--dark {
  background: var(--ink);
}
.logo-tile--sub {
  width: 52px;
  height: 24px;
  padding: 3px 4px;
  border-radius: var(--radius-sm);
}

/* ---------- Site header (DESIGN.md "Header") ---------- */
/* On light pages: Cream with a Rule hairline under it. On the photo (the front page's hero and the
   inner pages' photo band): transparent, over the top of the scrim, in Cream and Sand. */
.site-header {
  position: relative;
  z-index: 5;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}
.site-header--photo {
  background: transparent;
  border-bottom: 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  max-width: calc(var(--header-max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 20px var(--gutter);
}
.site-header--photo .site-header__inner {
  padding: 28px 40px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px 26px;
  font-size: 15px;
  font-weight: 500;
}
.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
.site-nav__link:hover {
  color: var(--ink);
  text-decoration: underline;
}
.site-header--photo .site-nav__link,
.site-header--photo .site-nav__link:hover {
  color: var(--cream);
  text-shadow: var(--photo-text-shadow);
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.site-header .btn {
  min-height: 46px;
}
/* Phones: the links fold into "Menu" (a <details>, so it works without JavaScript). */
.site-menu {
  display: none;
  position: relative;
}
.site-menu > summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.site-menu > summary::-webkit-details-marker {
  display: none;
}
.site-header--photo .site-menu > summary {
  border-color: rgba(251, 248, 240, 0.7);
  background: rgba(31, 45, 44, 0.35);
  color: var(--cream);
}
.site-menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  display: flex;
  flex-direction: column;
  min-width: 240px;
  padding: 10px 18px 18px;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
}
.site-menu__panel a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.site-menu__panel .btn {
  margin-top: var(--space-4);
}
@media (max-width: 1080px) {
  .site-nav--wide,
  .site-header__actions {
    display: none;
  }
  .site-menu {
    display: block;
  }
  .site-header--photo .site-header__inner {
    padding: 20px 24px;
  }
}

/* ---------- Footer (DESIGN.md "Footer") ---------- */
.site-footer {
  margin-top: var(--space-7);
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 15px;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4) var(--space-6);
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-weight: 500;
}
.site-footer__links a:hover {
  text-decoration: underline;
}

/* ---------- Eyebrow + section title (DESIGN.md) ---------- */
.g-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4) var(--space-6);
  margin-bottom: var(--space-7);
}
.g-head__titles {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}
.g-title {
  font-size: var(--text-h2);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.g-title em {
  font-style: italic;
}
.g-head__aside {
  max-width: 380px;
  color: var(--muted);
}
.g-section {
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
}
/* Sections below the first screen skip their layout work until they're close to view, so the
   hero photo paints sooner. The size is a placeholder until the real one is known. */
.g-section,
.g-band {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}
.g-band {
  margin: 0 var(--inset);
  border-radius: var(--radius-xl);
  background: var(--oat);
}
/* Two bands in a row (promotions, then the picks) keep a strip of Cream between them. */
.g-band + .g-band {
  margin-top: var(--space-5);
}
@media (max-width: 640px) {
  .g-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .g-head {
    margin-bottom: var(--space-6);
  }
}

/* ---------- Chips (filters, DESIGN.md "Chips") ---------- */
.chip-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.chip-group__label {
  flex: 0 0 92px;
  padding-top: 13px;
}
.chip-group__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--chip-line);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color var(--dur-fast) ease,
    color var(--dur-fast) ease;
}
.filter-chip--small {
  padding: 0 14px;
  font-size: 14px;
}
.filter-chip:hover {
  background: var(--white);
  color: var(--ink);
}
.filter-chip[aria-current="true"],
.filter-chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
@media (max-width: 640px) {
  .chip-group {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
  }
  .chip-group__label {
    flex-basis: auto;
    padding-top: 0;
  }
}

/* ---------- Photo band (public inner pages, DESIGN.md "Photo band") ---------- */
.photo-band {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  margin: var(--inset);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: var(--cream);
}
.photo-band__media,
.hero-g__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.photo-band::after,
.hero-g::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--scrim);
  pointer-events: none;
}
.photo-band::after {
  background: var(--scrim-band);
}
.photo-band > :not(.photo-band__media),
.hero-g > :not(.hero-g__media) {
  position: relative;
  z-index: 2;
}
.photo-band__words {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding: 0 40px 36px;
  text-shadow: var(--photo-text-shadow);
}
.photo-band__title {
  color: var(--cream);
  font-size: 52px;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
@media (max-width: 640px) {
  .photo-band {
    min-height: 220px;
  }
  .photo-band__words {
    padding: 0 22px 24px;
  }
  .photo-band__title {
    font-size: 36px;
  }
}

/* ---------- Forms and inputs (DESIGN.md) ---------- */
.g-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.g-field__label {
  font-size: 14px;
  font-weight: 600;
}
.g-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  background: var(--white);
  border: 1.5px solid var(--field-line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
}
.g-input:focus-visible {
  border-color: var(--ink);
}

/* ---------- Sign-in pop-up (home page) ---------- */
.signin-dialog {
  width: min(460px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: auto;
  border: 3px solid var(--ink);
  border-radius: var(--radius-xl);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 10px 10px 0 var(--teal);
}
.signin-dialog::backdrop {
  background: rgba(31, 45, 44, 0.55);
}
.signin-dialog__step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 28px 24px;
}
.signin-dialog__step[hidden] {
  display: none;
}
.signin-dialog__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.signin-dialog__close:hover {
  background: var(--cream-deep);
}
.signin-dialog__brand {
  display: flex;
  align-items: center;
  align-self: flex-start;
  height: 56px;
  padding: 8px 14px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
}
.signin-dialog__brand[hidden] {
  display: none;
}
.signin-dialog__brand--dark {
  background: var(--ink);
}
.signin-dialog__brand img {
  width: auto;
  height: auto;
  max-width: 180px;
  max-height: 38px;
  object-fit: contain;
}
.signin-dialog__title {
  padding-right: 40px;
  font-size: 24px;
  line-height: 1.2;
}
.signin-dialog__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.signin-dialog .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.signin-dialog .field__label {
  font-size: var(--text-small);
  font-weight: 700;
}
.signin-dialog .field__input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 2px solid rgba(31, 45, 44, 0.4);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
.signin-dialog .field__input:focus-visible {
  outline: none;
  border-color: var(--teal-ink);
  box-shadow: var(--shadow-focus);
}
.signin-dialog__check:empty {
  display: none;
}
.signin-dialog__error {
  padding: 10px 14px;
  border: 2px solid var(--coral-ink);
  border-radius: var(--radius-md);
  background: var(--white);
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--coral-ink);
}
.signin-dialog__error:empty {
  /* Empty: out of sight but kept in the page, so screen readers hear the first message. */
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}
.signin-dialog__alt {
  font-size: var(--text-small);
  color: var(--muted);
}
.signin-dialog__alt a {
  /* 44 px target, even inside a sentence (CLAUDE.md) */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.signin-dialog .btn--block {
  width: 100%;
}
.signin-dialog .btn--block[hidden] {
  display: none;
}
/* Order ticket: zigzag bottom edge */
.signin-ticket {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: var(--space-4);
  padding: 18px 20px 28px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%;
}
.signin-ticket .icon {
  flex: none;
  color: var(--teal-ink);
}
.signin-ticket__title {
  font-size: 19px;
  line-height: 1.3;
}
.signin-ticket__to {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

/* ---------- Public inner pages (DESIGN.md "Photo band", "Line page", "Category page") ---------- */
/* Under the photo band the page is on Cream. The first section sits closer to the band. */
.g-section--first {
  padding-top: var(--space-7);
}
.g-section--last {
  padding-top: 0;
}
.page-lede {
  max-width: 720px;
  margin-bottom: var(--space-5);
  color: var(--muted);
  font-size: var(--text-lede);
}
.chip-group__list--wrap {
  margin-top: 14px;
}
.g-title--small {
  font-size: 36px;
}

/* A single 720px reading column (Help & feedback, Privacy): h2s in Fraunces 36px. */
.reading {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: calc(720px + 2 * var(--gutter));
  padding-top: var(--space-7);
  padding-bottom: var(--space-9);
}
.reading h2 {
  margin-top: var(--space-4);
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* One centered card under the band: sign-in, welcome, gone cold, sent, 404. */
.band-card-wrap {
  display: flex;
  justify-content: center;
  padding-top: var(--space-7);
  padding-bottom: var(--space-9);
}
.band-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
  max-width: 560px;
  padding: 40px;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius-form);
}
.band-card--wide {
  max-width: 720px;
}
.band-card__title {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.band-card__small {
  color: var(--muted);
  font-size: 15px;
}
.band-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

/* The "New" tag: Sand Wash, a Sand Ink border, uppercase. */
.new-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--sand-ink);
  border-radius: var(--radius-pill);
  background: var(--sand-wash);
  color: var(--sand-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* A line's logo on a White tile (an Ink tile for logos made for dark grounds). */
.line-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
}
.line-logo--dark {
  background: var(--ink);
  border-color: var(--ink);
}
.line-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.line-logo--pair img {
  max-width: calc(50% - 9px);
}

/* A line's public page */
.line-intro {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: var(--space-7);
  align-items: start;
  padding-top: var(--space-7);
}
.line-intro__logo {
  height: 220px;
}
.line-intro__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.line-intro__blurb {
  font-size: 19px;
  line-height: 1.6;
}
.line-intro__states {
  color: var(--muted);
}
.line-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-2);
}
.line-intro__signin a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}
.line-section {
  padding-bottom: 0;
}
.line-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.line-account {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: var(--space-9) 0;
  padding: 48px;
  background: var(--oat);
  border-radius: var(--radius-xl);
}
.line-account > p {
  max-width: 640px;
}
@media (max-width: 800px) {
  .line-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }
  .line-intro__logo {
    height: 160px;
  }
}
@media (max-width: 640px) {
  .band-card {
    padding: 28px 22px;
  }
  .band-card__title {
    font-size: 30px;
  }
  .band-card__actions .btn,
  .line-intro__actions .btn {
    width: 100%;
  }
  .line-account {
    padding: 32px 22px;
  }
  .g-title--small {
    font-size: 30px;
  }
}

/* ---------- A pick's photo spot (admin → Debi's picks, the crop preview with crop.css) ---------- */
.pick__mat {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden; /* a tall photo can't stretch the 4:3 spot */
}
.pick__mat img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 18px;
  /* Soft edges (Debi, 11/05/26): the photo fades into the cream around it. */
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
}

/* ---------- Front page: Hero (DESIGN.md "Hero") ---------- */
.hero-g {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 860px;
  margin: var(--inset);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: var(--cream);
}
.hero-g__words {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 860px;
  margin-top: auto;
  /* Low enough that the eyebrow starts at 55% of the hero or below (DESIGN.md "Scrim"). */
  padding: 0 56px 36px;
  text-shadow: var(--photo-text-shadow);
}
.hero-g__title {
  color: var(--cream);
  font-size: var(--text-display);
  line-height: 1;
  letter-spacing: -0.035em;
}
.hero-g__lede {
  max-width: 640px;
  color: rgba(251, 248, 240, 0.9);
  font-size: var(--text-lede);
}
.hero-g__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: 10px;
  text-shadow: none;
}
@media (max-width: 640px) {
  .hero-g {
    min-height: 620px;
  }
  .hero-g::after {
    background: var(--scrim-phone);
  }
  .hero-g__words {
    padding: 0 22px 32px;
  }
  .hero-g__actions .btn {
    width: 100%;
  }
}

/* ---------- Lines I represent: logo pills drifting (DESIGN.md) ---------- */
.lines-g__note {
  color: var(--muted);
}
.drift {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.drift__track {
  display: flex;
  gap: 14px;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: drift-left 76s linear infinite;
}
.drift__track--right {
  animation-name: drift-right;
  animation-duration: 84s;
}
/* Pauses while the pointer is over it, or a pill has keyboard focus. */
.drift:hover .drift__track,
.drift:focus-within .drift__track {
  animation-play-state: paused;
}
.logo-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  height: 84px;
  padding: 0 30px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
}
.logo-pill--dark {
  background: var(--ink);
  border-color: var(--ink);
}
.logo-pill img {
  width: auto;
  height: auto;
  max-width: 150px;
  max-height: 40px;
  object-fit: contain;
}
@keyframes drift-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 7px));
  }
}
@keyframes drift-right {
  from {
    transform: translateX(calc(-50% - 7px));
  }
  to {
    transform: translateX(0);
  }
}

/* ---------- How I help: feature rows (DESIGN.md) ---------- */
.features {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-8);
}
.feature:nth-child(even) .feature__photo {
  order: -1;
}
.feature__words {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.feature__title {
  font-size: var(--text-h3);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.feature__bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.feature__bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 500;
}
.feature__bullets li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sand-ink);
}
.feature__photo {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: var(--radius-feature);
  background: var(--oat);
}
.feature__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tip-card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: calc(100% - 36px);
  padding: 14px 18px;
  background: rgba(251, 248, 240, 0.92);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  font-size: 15px;
  font-weight: 500;
}
@media (max-width: 900px) {
  .feature {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }
  .feature:nth-child(even) .feature__photo {
    order: 0;
  }
}

/* ---------- This season: Debi's picks as a mosaic (DESIGN.md) ---------- */
.season {
  padding: var(--space-9) 0;
}
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 280px;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mosaic__cell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--white);
}
.mosaic__cell--wide {
  grid-column: span 2;
}
.mosaic__link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.mosaic__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--crop-x, 50%) var(--crop-y, 50%);
  transform: scale(var(--crop-zoom, 1));
  transform-origin: var(--crop-x, 50%) var(--crop-y, 50%);
  transition: transform var(--dur-base) var(--ease);
}
/* Debi's crop (/css/crop.css sets the numbers): no soft fade here, just her framing. */
.mosaic__cell.pick__mat--crop {
  border-radius: var(--radius-card);
  -webkit-mask-image: none;
  mask-image: none;
}
.mosaic__cell.pick__mat--crop img {
  border-radius: 0;
}
/* "Show the whole photo": on a White mat, never cropped. */
.mosaic__cell.pick__mat--whole {
  display: block;
}
.mosaic__cell.pick__mat--whole img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 18px;
  object-fit: contain;
  transform: none;
  border-radius: 0;
  -webkit-mask-image: none;
  mask-image: none;
}
.mosaic__pill {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 14px;
  background: var(--cream);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.mosaic__cell--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sand-wash);
}
.mosaic__cell--logo img {
  width: auto;
  height: auto;
  max-width: 70%;
  max-height: 64px;
  object-fit: contain;
  transform: none;
}
.mosaic__cell--dark {
  background: var(--ink);
}
.mosaic__cell--note::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31, 45, 44, 0.84) 0%, rgba(31, 45, 44, 0.84) 55%, rgba(31, 45, 44, 0.2) 100%);
  pointer-events: none;
}
.mosaic__note {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  /* The words stay in the left half, where the gradient is .84. */
  max-width: 50%;
  padding: 28px;
}
.mosaic__quote {
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.mosaic__caption {
  color: rgba(251, 248, 240, 0.85);
  font-size: 14px;
}
@media (hover: hover) {
  .mosaic__link:hover img {
    transform: scale(calc(var(--crop-zoom, 1) * 1.03));
  }
}
@media (max-width: 1000px) {
  .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .mosaic {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 260px;
  }
  .mosaic__cell--wide {
    grid-column: auto;
  }
  .mosaic__quote {
    font-size: 24px;
  }
  /* One column: the note spans the cell, so the gradient holds .84 across it. */
  .mosaic__note {
    max-width: none;
  }
  .mosaic__cell--note::after {
    background: rgba(31, 45, 44, 0.84);
  }
}

/* ---------- Shop by category and by line (DESIGN.md "Shop") ---------- */
.shop__filters {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
}
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.product {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  margin-bottom: 8px;
  padding: 18px;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius-photo);
  transition:
    transform var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease);
}
.product__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product:hover .product__photo {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.product__title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.product__meta {
  color: var(--muted);
  font-size: 15px;
}
.product__meta a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}
.product__meta a:hover {
  text-decoration: underline;
}
.shop__empty {
  padding: var(--space-6);
  background: var(--oat);
  border-radius: var(--radius-card);
}
/* Phones: two products a row, and each chip row is one line that scrolls sideways. */
@media (max-width: 640px) {
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
  }
  .product__photo {
    padding: 10px;
    border-radius: var(--radius-lg);
  }
  .product__title {
    font-size: 15px;
  }
  .product__meta {
    font-size: 14px;
  }
  .shop__filters .chip-group__list {
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 calc(var(--gutter) * -1);
    padding: 2px var(--gutter) 6px;
    scrollbar-width: none;
  }
  .shop__filters .chip-group__list li {
    flex: 0 0 auto;
  }
}

/* ---------- How I work + Where to find Debi (DESIGN.md) ---------- */
.work {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: stretch;
}
.work__panel {
  padding: 40px;
  background: var(--oat);
  border-radius: var(--radius-xl);
}
.work__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.work-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
}
.work-card__title {
  font-size: 24px;
}
.work-card p {
  color: var(--muted);
  font-size: 15px;
}
.work__states {
  margin-top: var(--space-5);
  color: var(--muted);
  font-size: 15px;
}
.find-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: 40px;
  background: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-xl);
}
.shows-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.show-ticket {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cal {
  display: flex;
  flex-direction: column;
  flex: 0 0 92px;
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  text-align: center;
}
/* Coral Ink, not Coral: Cream on Coral is only 2.9:1 for this small text (DESIGN.md). */
.cal__month {
  padding: 4px 0;
  background: var(--coral-ink);
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.cal__days {
  padding: 8px 0 10px;
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1;
}
.show-ticket__name {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.show-ticket__where {
  color: var(--muted);
  font-size: 15px;
}
.hand {
  color: var(--sand-ink);
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 42px;
  line-height: 1.1;
}
@media (max-width: 1000px) {
  .work {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .work__panel,
  .find-card {
    padding: 24px;
  }
  .work__cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Meet Debi (DESIGN.md) ---------- */
.meet-g {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.meet-g__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: var(--space-8);
}
.meet-g__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--radius-feature);
}
.meet-g__words {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.meet-g__letter {
  font-size: 18px;
  line-height: 1.65;
}
.signature {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.signature__hand {
  color: var(--sand-ink);
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 46px;
  line-height: 1;
}
.signature__who {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .meet-g__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }
  .meet-g__photo {
    max-width: 420px;
  }
}

/* ---------- Contact band and sign-in (DESIGN.md) ---------- */
.contact-g {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-7);
  padding: 48px;
  background: var(--oat);
  border-radius: var(--radius-xl);
}
.contact-g__words {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}
.contact-g__title {
  font-size: 60px;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.contact-g__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.contact-g__note {
  color: var(--muted);
  font-size: 14px;
}
.form-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: 32px;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius-form);
}
.form-card__title {
  font-size: 26px;
}
.form-card__alt {
  font-size: 15px;
}
.contact-g .reveal__details {
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-g .reveal__details a,
.contact-g .reveal__details a:hover {
  color: var(--teal-ink);
}
@media (max-width: 900px) {
  .contact-g {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px;
  }
  .contact-g__title {
    font-size: 40px;
  }
  .form-card {
    padding: 22px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .btn:active,
  .product:hover .product__photo {
    transform: none;
  }
  .mosaic__link:hover img {
    transform: scale(var(--crop-zoom, 1));
  }
  /* The logo pills hold still: each row scrolls sideways instead, and the copies that made the
     loop seamless go away. */
  .drift {
    overflow-x: auto;
  }
  .drift__track [aria-hidden="true"] {
    display: none;
  }
}
