  :root {
    --ink: #1c1c1c;
    --pen: #1b3a8c;
    --faint: #767676;
    --rule: #e4e4e4;
    --paper: #ffffff;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { font-size: 17px; }
  body {
    background: var(--paper);
    color: var(--ink);
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    line-height: 1.65;
  }
  main { max-width: 33rem; margin: 0 auto; padding: 3.2rem 1.25rem 6rem; }
  .top { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }
  .wordmark { font-style: italic; font-size: 1rem; letter-spacing: 0.02em; }
  .wordmark a { color: var(--ink); text-decoration: none; }
  nav { display: flex; gap: 1.1rem; font-size: 0.92rem; align-items: center; flex-wrap: wrap; justify-content: center; }
  nav a { color: var(--ink); text-decoration: none; padding-bottom: 2px; }
  nav a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
  nav a.current { border-bottom: 1px solid var(--ink); }
  .nav-login {
    border: 1px solid var(--ink); padding: 0.22rem 0.85rem;
    padding-bottom: 0.22rem; line-height: 1.4;
  }
  .nav-login:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
  .letterhead { text-align: center; margin-bottom: 2.6rem; }
  .letterhead svg { width: 64px; height: auto; display: inline-block; }
  h1.page-title { font-style: italic; font-size: 1.35rem; font-weight: normal; margin-bottom: 1.6rem; }
  h2.sub { font-size: 1rem; font-weight: bold; margin: 2rem 0 0.6rem; }
  p { margin-bottom: 1.35rem; }
  ol.steps { list-style: none; counter-reset: step; margin: 2rem 0 2.2rem; }
  ol.steps li { counter-increment: step; padding-left: 2rem; position: relative; margin-bottom: 1.1rem; }
  ol.steps li::before { content: counter(step) "."; position: absolute; left: 0; color: var(--faint); }
  a { color: var(--pen); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
  a:hover { text-decoration-thickness: 2px; }
  a:focus-visible, button:focus-visible { outline: 2px solid var(--pen); outline-offset: 3px; }
  .subscribe {
    display: inline-block; border: 1px solid var(--ink); color: var(--ink);
    text-decoration: none; padding: 0.7rem 1.4rem; margin: 0.5rem 0 2.2rem;
    background: none; font: inherit; cursor: pointer;
  }
  .subscribe:hover { background: var(--ink); color: var(--paper); }
  .cta { text-align: center; }
  .fine { color: var(--faint); font-size: 0.92rem; }
  .price-note { margin-top: -1.6rem; margin-bottom: 2.2rem; }
  .hand-salutation { margin-bottom: 1.6rem; }
  .hand-salutation img, .hand-signature img { height: auto; max-width: 60%; }
  .hand-signature { margin: 2.6rem 0 2rem; text-align: center; }
  .signoff { margin-top: 3rem; margin-bottom: 0.2rem; }
  .signature { font-style: italic; font-size: 1.35rem; margin-bottom: 1rem; }
  .page { display: none; }
  .page.current { display: block; }

  /* ---- Order page ---- */
  .occasions-toggle { font-size: 0.92rem; margin-bottom: 1.6rem; }
  .gate { border: 1px solid var(--ink); padding: 1.6rem 1.4rem; margin-bottom: 2.2rem; }
  .gate p { margin-bottom: 1rem; }
  .gate-row { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: baseline; }
  .gate input[type="email"] {
    font: inherit; font-size: 0.95rem; flex: 1; min-width: 12rem;
    border: none; border-bottom: 1px solid var(--ink);
    padding: 0.25rem 0.1rem; background: none; color: var(--ink);
  }
  .gate input:focus { outline: none; border-bottom: 2px solid var(--pen); }
  .gate .subscribe { margin: 0; padding: 0.45rem 1rem; }
  .gate-error { color: #8c1b1b; font-size: 0.85rem; display: none; margin-top: 0.6rem; margin-bottom: 0; }
  .gate-divider { border-top: 1px solid var(--rule); margin: 1.4rem 0 1.2rem; }
  .member-line { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.92rem; color: var(--faint); margin-bottom: 1.8rem; }
  /* The catalog is open to all; these are hidden until the visitor signs in. */
  #member-line { display: none; }
  #member-actions { display: none; }
  .join-prompt { margin-bottom: 0; }
  .join-prompt .join-btn { margin: 0.4rem 0 0; padding: 0.7rem 1.4rem; }
  #signin-row { display: none; margin-top: 1rem; }
  .occasions { display: none; border: 1px solid var(--rule); padding: 1.2rem 1.2rem 1rem; margin-bottom: 2rem; }
  .occasions.open { display: block; }
  .occ-row {
    display: flex; justify-content: space-between; gap: 0.75rem;
    padding: 0.45rem 0; border-bottom: 1px solid var(--rule); font-size: 0.95rem;
  }
  .occ-row:last-of-type { border-bottom: none; }
  .occ-when { color: var(--faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .occ-remove { color: var(--faint); font-size: 0.85rem; margin-left: 0.5rem; }
  .occ-add { display: flex; gap: 0.5rem; margin-top: 1rem; flex-wrap: wrap; }
  .occ-add input {
    font: inherit; font-size: 0.92rem; border: none; border-bottom: 1px solid var(--ink);
    padding: 0.25rem 0.1rem; background: none; color: var(--ink);
  }
  .occ-add input:focus { outline: none; border-bottom: 2px solid var(--pen); }
  .occ-add input[type="text"] { flex: 1; min-width: 8rem; }
  .occ-add button {
    font: inherit; font-size: 0.92rem; background: none; border: none;
    color: var(--pen); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
  }
  .occ-tally { margin-top: 1rem; font-size: 0.92rem; color: var(--faint); }
  .group-label {
    font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--faint); margin: 2.2rem 0 0.2rem;
  }
  .item { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.85rem 0; border-bottom: 1px solid var(--rule); }
  .item-name { flex: 1; }
  .item-note { color: var(--faint); font-size: 0.85rem; display: block; }
  .item-price { font-variant-numeric: tabular-nums; white-space: nowrap; }
  .qty { display: flex; align-items: center; gap: 0.05rem; }
  .qty button { font: inherit; background: none; border: none; color: var(--pen); cursor: pointer; width: 1.7rem; height: 1.7rem; line-height: 1; }
  .qty button:hover { text-decoration: underline; }
  .qty .count { min-width: 1.6rem; text-align: center; font-variant-numeric: tabular-nums; }
  .qty .count.zero { color: var(--rule); }
  .totals { margin-top: 1.6rem; }
  .totals-row { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; padding: 0.3rem 0; }
  .totals-row.grand { border-top: 1px solid var(--ink); margin-top: 0.4rem; padding-top: 0.7rem; }
  .order-actions { margin-top: 1.8rem; }
  .order-summary {
    width: 100%; font: inherit; font-size: 0.85rem; color: var(--faint);
    border: 1px solid var(--rule); padding: 0.8rem; margin-top: 1.4rem;
    resize: vertical; min-height: 7rem; display: none;
  }
  .legal p, .legal li { font-size: 0.95rem; }
  .legal ul { margin: 0 0 1.35rem 1.2rem; }
  .legal li { margin-bottom: 0.5rem; }
  footer {
    max-width: 33rem; margin: 0 auto; padding: 0 1.25rem 3rem;
    color: var(--faint); font-size: 0.8rem;
  }
  footer nav { margin-bottom: 0.6rem; font-size: 0.8rem; }
  footer nav a { color: var(--faint); text-decoration: underline; }
  @media (max-width: 480px) { html { font-size: 16px; } main { padding-top: 2.5rem; } }
