/* Nevermore Farmstand, maison theme for the PUBLIC pages (home and gift).
   Locked direction: client-work/clients/nevermore-farmstand/luxury-direction-2026-11-17.md
   in the vault. Ivory ground, light tan for one tonal step, black ink, and the
   bread in her photographs as the only other color. Bodoni Moda for display
   (the lockup is a high contrast Didone), Public Sans for everything
   functional. Sentence case everywhere. No radius; the only texture is the page ground (wood flour at 5%).

   This file stands alone: the public pages load it and nothing else
   (styles.css and academia.css belong to the admin and the retired theme and
   stay in the repo). The admin never loads it. */

/* ---- tokens ---- */

.theme-maison {
  --paper: #F5F1E5;
  --sand: #E6DCC8;
  --ink: #111111;
  --body: #1C1B19;
  --muted: #5E584E;
  --line: #C9BB9F;
  --control: #8C8476;
  --on-ink: #F5F1E5;
  --on-ink-muted: #B5AE9F;
  --error: #8A1B1B;
  --ink-hover: #2A2926;
  --rule-soft: rgba(17, 17, 17, 0.2);

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --text: "Public Sans", "Helvetica Neue", Arial, sans-serif;

  --t-display-xl: clamp(1.4rem, 1.6vw + 0.9rem, 2.25rem);
  --t-display-l: clamp(2.25rem, 4.4vw, 4rem);
  --t-display-m: clamp(1.75rem, 2.6vw, 2.5rem);
  --t-display-s: 1.5rem;
  --t-lead: 1.1875rem;
  --t-body: 1rem;
  --t-small: 0.9375rem;
  --t-ui: 0.875rem;
  --t-micro: 0.8125rem;

  --margin: 20px;
  --gutter: 16px;
  --header-h: 56px;
}

@media (min-width: 600px) {
  .theme-maison {
    --t-body: 1.0625rem;
    --margin: 32px;
    --gutter: 24px;
    --header-h: 64px;
  }
}

@media (min-width: 1024px) {
  .theme-maison {
    --margin: 48px;
    --gutter: 32px;
  }
}

@media (min-width: 1440px) {
  .theme-maison {
    --margin: 64px;
  }
}

/* ---- base ---- */

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

[hidden] {
  display: none !important;
}

html {
  background: var(--paper);
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Lenis, the parts of its stylesheet this page needs. */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped,
html.is-locked {
  overflow: hidden;
}

body.theme-maison {
  position: relative;
  margin: 0;
  /* Wood flour at 5%. The tile is baked as the paper color times the texture,
     normalized so the average stays exactly #F5F1E5, so plain normal blending
     gives the same ground as the mockups. It scrolls with the page (no fixed
     attachment, which janks on iOS). */
  background-color: var(--paper);
  background-image: url("/textures/paper-wood.jpg");
  background-image: image-set(url("/textures/paper-wood.webp") type("image/webp"), url("/textures/paper-wood.jpg") type("image/jpeg"));
  background-repeat: repeat;
  background-size: 1536px 1024px;
  background-position: -100px -40px;
  color: var(--body);
  font-family: var(--text);
  font-size: var(--t-body);
  font-weight: 500;
  line-height: 1.6;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 11;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:where(.theme-maison) :where(button, input, select, textarea) {
  font-family: var(--text);
  font-size: inherit;
  color: inherit;
  letter-spacing: inherit;
  border-radius: 0;
}

:where(.theme-maison) h1,
:where(.theme-maison) h2,
:where(.theme-maison) h3,
:where(.theme-maison) h4,
:where(.theme-maison) p,
:where(.theme-maison) ul,
:where(.theme-maison) ol,
:where(.theme-maison) figure,
:where(.theme-maison) blockquote,
:where(.theme-maison) dl,
:where(.theme-maison) dd {
  margin: 0;
}

:where(.theme-maison) p {
  text-wrap: pretty;
}

:where(.theme-maison) img {
  display: block;
  max-width: 100%;
  height: auto;
}

:where(.theme-maison) a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -64px;
  z-index: 200;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--t-ui);
  text-decoration: none;
}
.skip-link:focus {
  top: 8px;
}

.theme-maison :focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.theme-maison .deadline-band :focus-visible,
.theme-maison .site-footer :focus-visible,
.theme-maison .po-bar :focus-visible {
  outline-color: var(--paper);
}

.wrap {
  width: 100%;
  max-width: calc(1312px + 2 * var(--margin));
  margin-inline: auto;
  padding-inline: var(--margin);
}

/* 12 columns from 1024px. Below that sections stack, which is the 6 and 4
   column grids collapsed to one reading column. */
@media (min-width: 1024px) {
  .menu-head,
  .po-head,
  .po-layout,
  .pickup-grid,
  .about-grid,
  .gifts-grid,
  .faq-grid,
  .find-grid,
  .gift-grid,
  .proof-section .wrap {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
  }
}

/* ---- type roles ---- */

:where(.theme-maison) h1,
:where(.theme-maison) h2 {
  font-family: var(--display);
  font-weight: 500;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 11;
  text-wrap: balance;
}

:where(.theme-maison) h2 {
  font-size: var(--t-display-l);
  line-height: 1.04;
  letter-spacing: -0.005em;
}

.t-ui,
.theme-maison .menu-title,
.theme-maison .menu-group-title {
  font-size: var(--t-ui);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* ---- links and buttons ---- */

.text-btn,
.inline-link,
.theme-maison .noscript-fallback a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(17, 17, 17, 0.4);
  transition: text-decoration-color 0.3s ease, text-decoration-thickness 0.3s ease;
}
.inline-link:hover,
.theme-maison .noscript-fallback a:hover {
  text-decoration-color: var(--ink);
}

.text-btn {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--text);
  font-size: var(--t-ui);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-decoration-color: var(--ink);
  cursor: pointer;
}
.text-btn:hover {
  text-decoration-thickness: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 32px;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--text);
  font-size: var(--t-ui);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
@media (min-width: 600px) {
  .btn {
    height: 56px;
  }
}
.btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--ink-hover);
  border-color: var(--ink-hover);
}
.btn-inverted {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.btn-inverted:hover {
  background: var(--sand);
  border-color: var(--sand);
}
.btn-secondary {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn:disabled,
.btn[aria-disabled="true"] {
  background: var(--control);
  border-color: var(--control);
  color: var(--paper);
  cursor: not-allowed;
}

/* ---- header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.is-scrolled {
  background: var(--ink);
  border-bottom-color: var(--ink);
}
/* Scrolled header: black bar, ivory type, the raven inverted to paper. */
.site-header.is-scrolled a,
.site-header.is-scrolled button,
.site-header.is-scrolled .nav-overlay button {
  color: var(--paper);
}
.site-header.is-scrolled nav a:hover,
.site-header.is-scrolled nav a[aria-current] {
  text-decoration-color: var(--paper);
}
.site-header.is-scrolled .brand-mark img {
  filter: invert(1) sepia(0.12) saturate(0.6) brightness(0.97);
}
.site-header.is-scrolled :focus-visible {
  outline-color: var(--paper);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  max-width: calc(1312px + 2 * var(--margin));
  margin-inline: auto;
  padding-inline: var(--margin);
}
.site-header a,
.nav-overlay button {
  font-size: var(--t-ui);
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.site-header nav a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.3s ease;
}
.site-header nav a:hover,
.site-header nav a[aria-current] {
  text-decoration-color: var(--ink);
}
.nav-left {
  justify-self: start;
}
.nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links {
  display: none;
}
.nav-gift {
  display: none;
}
.brand-mark {
  display: block;
  line-height: 0;
}
/* The home hero leads with the full lockup, so the small raven waits until the page scrolls. */
body:has(.hero-lockup) .site-header:not(.is-scrolled) .brand-mark {
  visibility: hidden;
}
@media (max-width: 599.98px) {
  .nav-order {
    display: none !important;
  }
}
.brand-mark img {
  width: 36px;
  height: 27px;
}
@media (min-width: 600px) {
  .nav-open,
  .nav-preorder {
    display: none;
  }
  .nav-links {
    display: inline-flex;
    gap: 28px;
  }
  .nav-gift {
    display: inline;
  }
  .brand-mark img {
    width: 40px;
    height: 30px;
  }
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow-y: auto;
  background: var(--paper);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-overlay.is-open {
  opacity: 1;
}
.nav-overlay-inner {
  min-height: 100%;
  padding: 0 var(--margin) 48px;
}
.nav-close {
  display: block;
  height: var(--header-h);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 48px;
}
.site-header .nav-overlay-links a,
.nav-overlay-links a {
  font-family: var(--display);
  font-size: var(--t-display-m);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
  text-decoration: none;
  color: var(--ink);
}

/* ---- sections: shared rhythm, each its own padding ---- */

.hero {
  padding: 64px 0 96px;
}
.menu-section {
  padding: 96px 0 80px;
}
.deadline-band {
  padding: 80px 0;
}
.preorder-section {
  padding: 80px 0 96px;
}
.proof-section {
  padding: 64px 0;
}
.pickup-section {
  padding: 96px 0 80px;
}
.about-section {
  padding: 80px 0 96px;
}
.gifts-section {
  padding: 64px 0;
}
.faq-section {
  padding: 80px 0;
}
.find-section {
  padding: 80px 0;
}
@media (min-width: 600px) {
  .hero {
    padding: 96px 0 160px;
  }
  .menu-section {
    padding: 160px 0 128px;
  }
  .deadline-band {
    padding: 120px 0;
  }
  .preorder-section {
    padding: 128px 0 160px;
  }
  .proof-section {
    padding: 96px 0;
  }
  .pickup-section {
    padding: 160px 0 128px;
  }
  .about-section {
    padding: 128px 0 192px;
  }
  .gifts-section {
    padding: 96px 0;
  }
  .faq-section {
    padding: 128px 0;
  }
  .find-section {
    padding: 128px 0;
  }
}

/* ---- hero: lockup, headline and one button on the textured ground, the bread cut out around them ----
   Layout follows the wood flour 5% mockups (mock-desktop-wood-5, mock-phone-wood-5).
   Cutout image widths include their baked shadow padding: an object of width W
   sits in an image 1.359 * W wide, inset by 0.18 * W on every side. */

.hero {
  position: relative;
  padding: 0;
  overflow-x: clip;
}
.hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px var(--margin) 0;
  text-align: center;
}
.theme-maison .hero-lockup {
  width: 140px;
  height: auto;
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}
.theme-maison .hero-text h1 {
  max-width: 9em;
  font-size: clamp(2.25rem, 3.9vw, 3.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
  color: var(--ink);
}
.hero-line {
  max-width: 21em;
  margin-top: 24px;
  font-size: var(--t-small);
  line-height: 1.6;
  text-wrap: balance;
  color: var(--body);
}
.hero-actions {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 32px;
}
.hero-actions .btn {
  width: min(100%, 300px);
}

/* Stacked under 1000px: the bread sits below the button, loaf and a single cookie. */
.hero-art {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 390 / 273;
  margin: 43px auto 48px;
}
.hero-cut {
  position: absolute;
  margin: 0;
}
.hero-cut img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}
.hero-cut-loaf {
  left: -0.3%;
  top: 0;
  width: 68.3%;
}
.hero-cut-cookies {
  left: 49.5%;
  top: 22.7%;
  width: 48%;
}

@media (min-width: 600px) {
  .theme-maison .hero-lockup {
    width: 170px;
  }
  .hero-line {
    font-size: var(--t-lead);
  }
}

/* Side by side from 1000px: loaf low on the left, cookies high on the right. */
@media (min-width: 1000px) {
  .hero-stage {
    min-height: 790px;
    padding-top: 8px;
  }
  .theme-maison .hero-lockup {
    width: 190px;
  }
  .hero-text {
    margin-top: 56px;
  }
  .hero-line {
    max-width: 20em;
    margin-top: 28px;
    font-size: 1.0625rem;
  }
  .hero-actions {
    margin-top: 40px;
  }
  .hero-actions .btn {
    width: 252px;
  }
  .hero-art {
    position: static;
    max-width: none;
    aspect-ratio: auto;
    margin: 0;
  }
  /* W is the object width; the image is 1.359 W wide and inset 0.18 W. */
  .hero-cut-loaf {
    --w: clamp(250px, 26.4vw, 380px);
    left: calc(max(var(--margin), 5.8vw) - 0.18 * var(--w));
    top: calc(422px - 0.18 * var(--w));
    width: calc(1.359 * var(--w));
  }
  .hero-cut-cookies {
    --w: clamp(270px, 29.2vw, 420px);
    right: calc(max(var(--margin), 4.9vw) - 0.18 * var(--w));
    left: auto;
    top: calc(270px - 0.18 * var(--w));
    width: calc(1.359 * var(--w));
  }
}

/* ---- this week (the menu card at window display scale) ---- */

.menu-head {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--ink);
}
.menu-title {
  font-family: var(--text);
  font-weight: 500;
  color: var(--ink);
}
.menu-date {
  margin-top: 4px;
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--muted);
}
.menu-head-side {
  margin-top: 16px;
}
.menu-close {
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--muted);
}
.menu-crumb {
  max-width: 340px;
  margin-top: 24px;
}
@media (min-width: 1024px) {
  .menu-head-title {
    grid-column: 1 / 7;
  }
  .menu-head-side {
    grid-column: 9 / 13;
    margin-top: 0;
    text-align: right;
  }
  .menu-crumb {
    margin-left: auto;
  }
}

.menu-group {
  padding-top: 24px;
}
.menu-group + .menu-group {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.menu-group-title {
  color: var(--muted);
}
.menu-list {
  list-style: none;
  padding: 0;
}
.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: var(--gutter);
  align-items: baseline;
  padding: 20px 0;
}
.menu-item:first-child {
  padding-top: 16px;
}
.menu-item.is-hidden {
  display: none;
}
.theme-maison .menu-item-name {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: start;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  font-family: var(--display);
  font-weight: 500;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 11;
  font-size: var(--t-display-xl);
  line-height: 1.15;
  letter-spacing: 0;
  text-wrap: balance;
  color: var(--ink);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.3s ease;
}
.theme-maison .menu-item-name:hover {
  text-decoration-color: currentColor;
}
.theme-maison .menu-item-name:focus-visible {
  outline-offset: 4px;
}
.menu-item-desc {
  grid-column: 1 / -1;
  grid-row: 2;
  padding-right: 88px;
  max-width: 44ch;
  margin-top: 6px;
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--muted);
}
.menu-item-price {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: end;
  align-self: start;
  margin-top: 6px;
  white-space: nowrap;
  text-align: right;
  font-size: var(--t-small);
  line-height: 1.5;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--body);
}
.menu-item.is-added .menu-item-price {
  padding-left: 8px;
  background: var(--paper);
  color: var(--ink);
}
.menu-item.is-soldout .menu-item-name {
  color: var(--control) !important;
  cursor: default;
}
.menu-item.is-soldout .menu-item-name:hover {
  text-decoration-color: transparent;
}
.menu-item.is-soldout .menu-item-price {
  color: var(--muted);
}
/* No script, no add to order: the name is plain type. */
html:not(.js) .menu-item-name {
  cursor: default;
  pointer-events: none;
}
.menu-empty {
  margin-top: 32px;
}
.menu-note {
  max-width: 52ch;
  margin-top: 48px;
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--muted);
}
@media (min-width: 1024px) {
  .menu-item {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .theme-maison .menu-item-name {
    grid-column: 1 / 10;
  }
  .menu-item-desc {
    grid-column: 1 / 8;
    padding-right: 0;
  }
  .menu-item-price {
    grid-column: 10 / 13;
    grid-row: 1;
    align-self: baseline;
    margin-top: 0;
  }
}

/* ---- deadline band ---- */

.deadline-band {
  background: var(--ink);
  color: var(--on-ink);
  text-align: center;
}
.deadline-band .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.deadline-line {
  max-width: 26ch;
  font-family: var(--display);
  font-weight: 500;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 11;
  font-size: var(--t-display-l);
  line-height: 1.04;
  letter-spacing: -0.005em;
  text-wrap: balance;
  color: var(--on-ink);
}
.deadline-band .btn {
  margin-top: 40px;
}

/* ---- preorder ---- */

.po-head {
  margin-bottom: 48px;
}
.po-intro {
  margin-top: 24px;
  max-width: 44ch;
  font-size: var(--t-body);
}
@media (min-width: 1024px) {
  .po-head {
    margin-bottom: 64px;
  }
  .po-head h2 {
    grid-column: 1 / 7;
  }
  .po-intro {
    grid-column: 8 / 13;
    margin-top: 0;
    max-width: none;
  }
  .po-main {
    grid-column: 1 / 8;
  }
  .po-summary {
    grid-column: 9 / 13;
    position: sticky;
    top: 96px;
    align-self: start;
  }
}

.loading-line {
  font-size: var(--t-small);
  color: var(--muted);
}
.noscript-fallback {
  max-width: 62ch;
  margin-bottom: 32px;
}
.noscript-fallback h3 {
  font-size: var(--t-body);
  font-weight: 600;
  margin-bottom: 8px;
}
.noscript-fallback p + p {
  margin-top: 8px;
}

.po-step {
  margin-bottom: 64px;
}
.po-step-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
  font-size: var(--t-ui);
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.po-step-num {
  color: var(--muted);
  font-variant-numeric: tabular-nums lining-nums;
}
.po-step-name {
  margin: 0;
  font-size: inherit;
  font-weight: 500;
  letter-spacing: inherit;
  color: var(--ink);
}

/* Radio rows: pickup day and payment method. */
.choice-list {
  display: block;
}
.choice {
  position: relative;
  display: block;
  margin-bottom: 8px;
  padding: 20px 24px;
  border: 1px solid var(--control);
  background: transparent;
  color: var(--body);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.choice-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice-title {
  display: block;
  font-size: var(--t-body);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
}
.choice-note {
  display: block;
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--muted);
}
.choice:hover {
  border-color: var(--ink);
}
.choice.is-selected {
  background: var(--ink);
  border-color: var(--ink);
}
.choice.is-selected .choice-title {
  color: var(--on-ink);
}
.choice.is-selected .choice-note {
  color: var(--on-ink-muted);
}
.choice.is-disabled {
  border-color: var(--line);
  cursor: not-allowed;
}
.choice.is-disabled .choice-input {
  cursor: not-allowed;
}
.choice.is-disabled .choice-title {
  color: var(--muted);
}
.choice:has(.choice-input:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.choice.is-selected:has(.choice-input:focus-visible) {
  outline-color: var(--ink);
}
.po-notice {
  margin-top: 16px;
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--muted);
}
.po-countdown {
  margin-top: 4px;
  font-variant-numeric: tabular-nums lining-nums;
}

/* Product rows, no cards. */
.po-grid {
  list-style: none;
  padding: 0;
}
.po-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  align-items: start;
  padding: 24px 0;
}
.po-row + .po-row {
  border-top: 1px solid var(--line);
}
.po-row:first-child {
  padding-top: 0;
}
.po-row.has-thumb {
  grid-template-columns: 96px minmax(0, 1fr) auto;
}
.po-thumb {
  width: 96px;
  height: 120px;
  margin-right: -8px;
}
.po-thumb img {
  width: 96px;
  height: 120px;
  object-fit: cover;
}
.po-row-name {
  font-family: var(--display);
  font-weight: 600;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 11;
  font-size: 1.125rem;
  line-height: 1.3;
  text-wrap: balance;
  color: var(--ink);
}
.po-row-desc {
  max-width: 44ch;
  margin-top: 8px;
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--muted);
}
.po-row-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  min-width: 132px;
}
.po-price {
  font-size: var(--t-small);
  line-height: 1.5;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--body);
}
.po-stock {
  font-size: var(--t-micro);
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.po-soldout {
  margin-top: 8px;
  font-size: var(--t-ui);
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.po-stepper {
  display: inline-flex;
  width: 132px;
  height: 44px;
  margin-top: 8px;
  border: 1px solid var(--control);
  transition: border-color 0.3s ease;
}
.po-row.is-active .po-stepper {
  border-color: var(--ink);
}
.po-step-btn {
  width: 44px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.po-step-btn:hover:not(:disabled) {
  background: var(--sand);
}
.po-step-btn:disabled {
  color: var(--control);
  cursor: default;
}
.po-step-btn:focus-visible {
  outline-offset: -3px;
}
.stepper-qty {
  display: grid;
  place-items: center;
  flex: 1;
  font-size: var(--t-small);
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ink);
}

/* Fields. */
.field {
  margin-bottom: 24px;
}
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--t-ui);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.theme-maison .field :is(input, textarea) {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--control);
  background: transparent;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--body);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.3s ease;
}
.theme-maison .field textarea {
  height: auto;
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
}
.theme-maison .field :is(input, textarea):hover {
  border-color: var(--ink);
}
.theme-maison .field :is(input, textarea):focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.theme-maison .field :is(input, textarea)[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 1px var(--error);
}
.theme-maison ::placeholder {
  color: var(--muted);
  opacity: 1;
}
.field-hint {
  margin-top: 8px;
  font-size: var(--t-micro);
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.field-error,
.error-text {
  margin-top: 8px;
  font-size: var(--t-micro);
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--error);
}
.field-error:empty {
  display: none;
}
.field-row {
  display: block;
}
@media (min-width: 600px) {
  .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }
}
.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.po-gift {
  margin-bottom: 24px;
}
.po-gift-row {
  display: flex;
  gap: 8px;
}
.po-gift-row input {
  flex: 1;
}
.po-gift-row .btn {
  height: 52px;
  padding: 0 24px;
}

/* Summary: a sand panel on desktop, a bottom sheet below 1024px. */
.po-summary {
  padding: 32px;
  background: var(--sand);
}
.po-summary:focus {
  outline: none;
}
.po-sheet-close {
  display: none;
}
.po-summary-title {
  font-family: var(--display);
  font-weight: 600;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 11;
  font-size: var(--t-display-s);
  line-height: 1.2;
  color: var(--ink);
}
.po-lines {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.po-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-size: var(--t-small);
  line-height: 1.5;
}
.po-line-total {
  font-variant-numeric: tabular-nums lining-nums;
}
.po-empty {
  margin-top: 24px;
  font-size: var(--t-small);
  color: var(--muted);
}
.po-totals {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-soft);
}
.po-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  font-size: var(--t-small);
  line-height: 1.5;
  font-variant-numeric: tabular-nums lining-nums;
}
.po-total-row.po-grand {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: var(--t-ui);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.po-total {
  font-family: var(--display);
  font-weight: 500;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 11;
  font-size: 2rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums lining-nums;
}
.po-trust {
  margin-top: 24px;
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--muted);
}
.po-summary .btn.po-submit {
  width: 100%;
  height: 56px;
  margin-top: 24px;
}
.po-reason {
  margin-top: 12px;
  font-size: var(--t-micro);
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.po-submit-error {
  margin-top: 16px;
}
.po-questions {
  margin-top: 24px;
  font-size: var(--t-micro);
  line-height: 1.4;
  color: var(--muted);
}

/* The order bar and the sheet it opens (tablet and phone). */
.po-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  height: 64px;
  background: var(--ink);
  color: var(--on-ink);
}
.po-bar-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0 var(--margin);
  border: 0;
  background: none;
  font-size: var(--t-ui);
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--on-ink);
  cursor: pointer;
}
.po-bar-cta {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
.po-bar-btn:hover .po-bar-cta {
  text-decoration-thickness: 2px;
}
.po-bar-count {
  font-variant-numeric: tabular-nums lining-nums;
}
body.has-po-bar {
  padding-bottom: 64px;
}
.po-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(17, 17, 17, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.po-scrim.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}
@media (max-width: 1023.98px) {
  .po-summary {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    max-height: 85svh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px var(--margin) 32px;
    background: var(--paper);
    border-top: 1px solid var(--line);
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
  }
  .po-summary.is-open {
    transform: none;
    visibility: visible;
    transition: transform 0.3s ease;
  }
  .po-sheet-close {
    display: block;
    margin-bottom: 16px;
    margin-left: auto;
  }
  .po-row-side {
    min-width: 0;
  }
}
@media (min-width: 1024px) {
  .po-bar,
  .po-scrim {
    display: none !important;
  }
  body.has-po-bar {
    padding-bottom: 0;
  }
}

/* After an order is placed the steps stay put, locked. */
.po-main.is-locked {
  opacity: 0.55;
}
.po-start-new {
  margin-top: 16px;
}

/* The confirmation modal: a native <dialog>. A centered panel on desktop, a
   bottom sheet on the phone. No shadow, no radius; the backdrop is a scrim. */
.po-modal {
  width: min(560px, calc(100vw - 64px));
  max-width: none;
  max-height: min(90svh, 860px);
  margin: auto;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--body);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.po-modal::backdrop {
  background: rgba(17, 17, 17, 0.5);
}
.po-modal-inner {
  padding: 24px 32px 40px;
}
.po-modal-close {
  display: block;
  margin: 0 0 24px auto;
}
.po-modal h2.po-modal-title {
  font-size: var(--t-display-m);
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--ink);
}
.po-modal h2.po-modal-title:focus {
  outline: none;
}
.po-modal .po-code {
  margin-top: 24px;
}
.po-due {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.po-due-label {
  font-size: var(--t-ui);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.po-due-amount {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ink);
}
.po-modal .po-unpaid {
  margin-top: 16px;
  padding-top: 0;
  border-top: 0;
}
.po-guarantee {
  margin-top: 8px;
  font-weight: 500;
  color: var(--ink);
}
.po-pay {
  margin-top: 24px;
}
.po-pay .manual-link:first-child {
  margin-top: 0;
}
.po-pay-note {
  margin-top: 12px;
  font-size: var(--t-micro);
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.po-modal .hold-line {
  margin-top: 16px;
}
.po-modal .po-pickup-card {
  margin-top: 24px;
}
.po-modal .po-pickup-card h4 {
  font-size: var(--t-ui);
  font-family: var(--text);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.po-modal .po-pickup-card p {
  margin-top: 4px;
  font-size: var(--t-small);
}
.po-modal .po-pickup-actions {
  margin-top: 12px;
}
.po-done {
  width: 100%;
  margin-top: 24px;
}
@media (max-width: 599.98px) {
  .po-modal {
    width: 100%;
    max-height: 92svh;
    margin: auto 0 0;
  }
  .po-modal-inner {
    padding: 16px var(--margin) 32px;
  }
  .po-modal-close {
    margin-bottom: 12px;
  }
  .po-modal .po-code {
    margin-top: 16px;
  }
}

/* The Cash App step: the order code is the only thing on it. */
.po-cash-instruction {
  margin-top: 16px;
  color: var(--ink);
}
.po-cash-code {
  margin-top: 24px;
  padding: 24px 12px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-family: var(--display);
  font-size: clamp(1.6rem, 7.4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-align: center;
  font-variant-numeric: tabular-nums lining-nums;
  overflow-wrap: anywhere;
  user-select: all;
  -webkit-user-select: all;
  color: var(--ink);
}
.po-modal .btn.po-cash-go,
.po-modal .btn.po-cash-back {
  width: 100%;
}
.po-modal .btn.po-cash-go {
  margin-top: 24px;
}
.po-modal .btn.po-cash-back {
  margin-top: 12px;
}
.po-cash-status {
  min-height: 1.6em;
  margin-top: 12px;
  font-size: var(--t-small);
  color: var(--muted);
}
.po-cash-status.is-error {
  color: var(--error);
  font-weight: 500;
}

/* The confirmation and payment screens. */
.po-ticket {
  max-width: 640px;
}
.po-ticket h3,
.po-ticket h4 {
  font-family: var(--display);
  font-weight: 500;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 11;
  color: var(--ink);
  text-wrap: balance;
}
.po-ticket > .confirmation-card > h3,
.po-ticket > .pay-panel > h3 {
  font-size: var(--t-display-m);
  line-height: 1.12;
}
.po-ticket .form-step {
  margin-bottom: 0;
}
.po-ticket p {
  margin-top: 16px;
}
.po-unpaid {
  padding-top: 16px;
  border-top: 1px solid var(--ink);
  font-weight: 500;
  color: var(--ink);
}
.po-code {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-top: 24px;
}
.po-code p {
  margin: 0;
}
.confirmation-code {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ink);
}
.confirmation-detail {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.confirmation-detail p:first-child {
  margin-top: 0;
}
.po-items {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}
.po-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  font-size: var(--t-small);
  font-variant-numeric: tabular-nums lining-nums;
}
.due-line {
  font-weight: 500;
}
.hold-line,
.cash-bring {
  font-size: var(--t-small);
  color: var(--muted);
}
.manual-pay,
.po-pickup-card {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.manual-pay h3,
.po-pickup-card h4 {
  font-size: var(--t-display-s);
  line-height: 1.2;
  font-weight: 500;
}
.po-pay-amount {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ink);
}
.manual-link {
  display: flex;
  width: 100%;
  margin-top: 8px;
}
.po-pickup-when {
  font-weight: 500;
}
.po-pickup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.pay-provider {
  margin-top: 24px;
}
.po-closed h3 {
  font-size: var(--t-display-m);
  line-height: 1.12;
}

/* ---- proof ---- */

.proof-section .wrap {
  display: block;
}
@media (min-width: 1024px) {
  .proof-section .wrap {
    display: grid;
  }
  .proof-inner {
    grid-column: 2 / 11;
  }
}
.proof-facts {
  list-style: none;
  padding: 0;
}
.proof-fact {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
  font-family: var(--display);
  font-weight: 500;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 11;
  font-size: var(--t-display-m);
  line-height: 1.12;
  text-wrap: balance;
  color: var(--ink);
}
.proof-fact:first-child {
  margin-top: 0;
}
.theme-maison .proof-heading {
  margin-bottom: 32px;
  font-family: var(--text);
  font-size: var(--t-ui);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.proof-quotes {
  display: grid;
  gap: 48px var(--gutter);
}
@media (min-width: 1024px) {
  .proof-quotes {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}
.proof-card {
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}
.proof-card blockquote p {
  font-family: var(--display);
  font-weight: 500;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 11;
  font-size: var(--t-display-m);
  line-height: 1.12;
  text-wrap: balance;
  color: var(--ink);
}
.proof-card figcaption {
  margin-top: 16px;
  font-size: var(--t-ui);
  letter-spacing: 0.01em;
  color: var(--muted);
}

/* ---- pickup ---- */

.pickup-photo {
  margin-bottom: 48px;
}
.pickup-frame {
  overflow: hidden;
  max-width: 440px;
  aspect-ratio: 632 / 448;
}
.pickup-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pickup-text h2 {
  margin-bottom: 24px;
}
.pickup-body {
  max-width: 62ch;
}
.pickup-hours {
  max-width: 62ch;
  margin-top: 16px;
  font-weight: 500;
  color: var(--ink);
}
.pickup-steps {
  list-style: none;
  padding: 0;
  margin: 48px 0 32px;
}
.pickup-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 16px;
  padding: 32px 0;
}
.pickup-steps li + li {
  border-top: 1px solid var(--line);
}
.pickup-steps li:first-child {
  padding-top: 0;
}
.step-num {
  font-family: var(--display);
  font-weight: 500;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 11;
  font-size: 2rem;
  line-height: 1;
  font-variant-numeric: lining-nums;
  color: var(--ink);
}
.pickup-steps h3 {
  font-size: var(--t-body);
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}
.pickup-steps p {
  max-width: 62ch;
  margin-top: 4px;
}
@media (min-width: 1024px) {
  .pickup-photo {
    grid-column: 1 / 6;
    margin-bottom: 0;
  }
  .pickup-text {
    grid-column: 7 / 13;
  }
}

/* ---- about ---- */

.about-lead {
  max-width: 62ch;
  margin-top: 32px;
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--body);
}
.about-photo {
  width: 100%;
  max-width: 280px;
  margin-top: 48px;
}
.about-hands,
.about-lucille {
  max-width: 320px;
  margin: 32px 0;
}
.about-quote {
  margin: 64px 0;
}
.about-quote p {
  font-family: var(--display);
  font-weight: 500;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 11;
  font-size: var(--t-display-m);
  line-height: 1.12;
  text-wrap: balance;
  color: var(--ink);
}
.about-quote footer {
  margin-top: 24px;
  font-size: var(--t-ui);
  letter-spacing: 0.01em;
  color: var(--muted);
}
.about-body p {
  max-width: 62ch;
  margin-bottom: 24px;
}
.about-body h3 {
  margin: 48px 0 12px;
  font-size: var(--t-body);
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}
@media (min-width: 1024px) {
  .about-grid h2 {
    grid-column: 1 / 7;
    grid-row: 1;
  }
  .about-lead {
    grid-column: 1 / 8;
    grid-row: 2;
  }
  .about-photo {
    grid-column: 9 / 12;
    grid-row: 2;
    margin-top: 96px;
  }
  .about-hands {
    grid-column: 9 / 13;
    grid-row: 3 / 5;
    margin: 0;
    align-self: start;
  }
  .about-quote {
    grid-column: 2 / 11;
    margin: 96px 0;
  }
  .about-body {
    grid-column: 1 / 8;
  }
}

/* ---- gift cards band ---- */

.gifts-section {
  background: var(--sand);
}
.gifts-copy {
  margin-top: 24px;
}
.gifts-copy .btn {
  margin-top: 32px;
}
@media (min-width: 1024px) {
  .gifts-grid h2 {
    grid-column: 1 / 7;
  }
  .gifts-copy {
    grid-column: 8 / 13;
    margin-top: 0;
  }
}

/* ---- FAQ ---- */

.faq-grid h2 {
  margin-bottom: 32px;
}
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: var(--t-body);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  flex: none;
  font-weight: 400;
}
.faq-item[open] summary::after {
  content: "\2212";
}
.faq-answer {
  padding-bottom: 32px;
}
.faq-answer p {
  max-width: 64ch;
}
@media (min-width: 1024px) {
  .faq-grid h2 {
    grid-column: 1 / 5;
    align-self: start;
    position: sticky;
    top: 120px;
    margin-bottom: 0;
  }
  .faq-list {
    grid-column: 6 / 13;
  }
}

/* ---- find the stand ---- */

.find-map {
  margin-bottom: 48px;
}
.find-photo {
  max-width: 440px;
  margin-bottom: 24px;
}
.map-frame {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}
.find-text address {
  margin-top: 32px;
  font-style: normal;
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--body);
}
.find-lead,
.find-meta {
  max-width: 44ch;
  margin-top: 12px;
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--muted);
}
.find-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
}
@media (min-width: 1024px) {
  .find-map {
    grid-column: 1 / 8;
    margin-bottom: 0;
  }
  .map-frame {
    height: 480px;
  }
  .find-text {
    grid-column: 9 / 13;
  }
  .find-text address {
    margin-top: 32px;
  }
}

/* ---- footer ---- */

.site-footer {
  padding: 96px 0 48px;
  background: var(--ink);
  color: var(--on-ink);
}
.theme-maison .footer-lockup {
  width: 200px;
  height: auto;
  margin-inline: auto;
}
.footer-cols {
  display: grid;
  gap: 32px;
  margin-top: 64px;
}
@media (min-width: 600px) {
  .footer-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--gutter);
  }
}
.theme-maison .site-footer h2 {
  margin-bottom: 12px;
  font-family: var(--text);
  font-size: var(--t-ui);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--on-ink);
}
.footer-col a,
.footer-col address,
.footer-col p {
  display: block;
  margin-bottom: 12px;
  font-style: normal;
  font-size: var(--t-ui);
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--on-ink-muted);
}
.footer-col a {
  width: fit-content;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.3s ease, color 0.3s ease;
}
.footer-col a:hover {
  color: var(--on-ink);
  text-decoration-color: var(--on-ink);
}
.footer-tagline {
  margin-top: 64px;
  font-size: var(--t-micro);
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--on-ink-muted);
}

/* ---- gift page ---- */

.gift-section {
  padding: 48px 0 96px;
}
.theme-maison .gift-intro h1 {
  font-size: var(--t-display-l);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.gift-lede {
  max-width: 44ch;
  margin-top: 24px;
  margin-bottom: 48px;
  font-size: var(--t-body);
}
.gift-form .field > label,
.gift-amount-label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--t-ui);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.gift-amounts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}
.gift-amount {
  height: 56px;
  padding: 0;
  border: 1px solid var(--control);
  background: transparent;
  font-size: var(--t-body);
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.gift-amount:hover {
  border-color: var(--ink);
}
.gift-amount.is-selected {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.gift-form .btn-primary {
  width: 100%;
  height: 56px;
  margin-top: 8px;
}
.gift-paused {
  max-width: 44ch;
}
.gift-balance {
  margin-top: 96px;
}
.gift-balance h2,
.gift-pay h2,
.gift-flow #gift-app h2 {
  margin-bottom: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
  font-family: var(--text);
  font-size: var(--t-ui);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.gift-balance-amount {
  margin-top: 24px;
  font-family: var(--display);
  font-size: var(--t-display-s);
  font-weight: 500;
  color: var(--ink);
}
.gift-balance-result .field-hint,
.gift-balance-result a {
  display: inline-block;
  margin-top: 8px;
}
.gift-status-line {
  max-width: 44ch;
  margin-bottom: 24px;
}
.gift-pay .manual-link {
  margin-top: 8px;
}
.gift-keep {
  margin-top: 32px;
  font-size: var(--t-small);
  color: var(--muted);
}
.gift-preview {
  margin-top: 48px;
  padding: 24px;
  background: var(--sand);
}
@media (min-width: 1024px) {
  .gift-section {
    padding: 64px 0 160px;
  }
  .gift-flow {
    grid-column: 1 / 7;
  }
  .gift-preview {
    grid-column: 8 / 13;
    grid-row: 1;
    position: sticky;
    top: 96px;
    align-self: start;
    margin-top: 0;
    padding: 32px;
  }
}
@media (max-width: 1023.98px) {
  .gift-preview {
    order: -1;
    margin: 0 0 48px;
  }
  .gift-grid {
    display: flex;
    flex-direction: column;
  }
}

/* The card, on screen and in print. */
.gift-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1.6;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.gift-card-lockup {
  width: 120px;
  height: auto;
}
.gift-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.gift-card-balance {
  font-family: var(--display);
  font-weight: 500;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 11;
  font-size: 3rem;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ink);
}
.gift-card-of {
  margin-top: 4px;
  font-size: var(--t-micro);
  color: var(--muted);
}
.gift-card-for {
  max-width: 14ch;
  text-align: right;
  font-size: var(--t-small);
  line-height: 1.4;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.gift-card.is-void .gift-card-balance {
  color: var(--muted);
}
.gift-card-meta {
  margin-top: 24px;
}
.gift-card-message {
  max-width: 44ch;
  font-size: var(--t-body);
  color: var(--body);
}
.gift-card-code {
  margin-top: 24px;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ink);
}
.gift-card-fine {
  max-width: 52ch;
  margin-top: 16px;
  font-size: var(--t-micro);
  line-height: 1.4;
  color: var(--muted);
}
.gift-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
}
@media (min-width: 600px) {
  .gift-card {
    padding: 40px;
  }
}
.gift-sheet {
  max-width: 560px;
}

@media print {
  html,
  body.theme-maison {
    background: #fff;
  }
  .gift-noprint,
  .skip-link,
  .site-header,
  .site-footer,
  .nav-overlay {
    display: none !important;
  }
  .gift-section {
    padding: 0;
  }
  .gift-grid {
    display: block;
  }
  .gift-sheet {
    max-width: none;
    break-inside: avoid;
  }
  .gift-card {
    background: #fff;
    border: 1px solid #999;
  }
}

/* ---- entrance, set by maison.js only for blocks below the fold ---- */

.reveal-ready {
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.pre-reveal {
  opacity: 0;
  transform: translateY(24px);
}

@media (prefers-reduced-motion: reduce) {
  .theme-maison *,
  .theme-maison *::before,
  .theme-maison *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .pre-reveal {
    opacity: 1;
    transform: none;
  }
}
