/* Theory of Beauty — shared styles for the sub-pages
   (privacy, terms, shipping & returns, 404).

   The homepage at / is a single self-contained file and does NOT use this
   stylesheet — its CSS is inlined. This file covers every other page.

   ── TYPEFACES ───────────────────────────────────────────────────────────
   Cormorant Garamond (display) + Poppins (workhorse) — the design-token
   system, matching the print files and the homepage. Switched from the
   retired Montserrat + Parisienne pairing on 2026-08-30. The whole system
   is the --font-* variables below plus the @import on the first line; the
   homepage has an equivalent block inlined in its <head>.
   ─────────────────────────────────────────────────────────────────────── */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  /* Type — see note above. Cormorant Garamond carries display; Poppins is the
     workhorse for body, labels, UI. Matches the homepage and the print files. */
  --font-serif:   'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-sans:    'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: var(--font-serif);
  --display-weight: 600;
  --display-case:  none;

  /* Color — reconciled sage + gold system, matching the homepage exactly */
  --cream:      #F5F1E8;
  --surface:    #FAF7F1;
  --pale-gold:  #F1E9D6;
  --dark-sage:  #333D31;
  --sage:       #485949;
  --sage-light: #6E7C68;
  --gold:       #C4A75C;
  --gold-text:  #A8873E;
  --ink:        #2B2A26;
  --ink-mid:    #5A524E;
  --ink-soft:   #8B827C;
  --cream-line: #E4DACB;
  --gold-line:  #D9C9A8;
  --dark-line:  rgba(245,241,232,0.18);
  --cream-muted:#BFB49E;
}

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a { color: var(--sage); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--gold-text); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
img { max-width: 100%; display: block; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.wrap {
  max-width: 780px;
  margin: 0 auto;
  padding-left:  clamp(1.25rem, 5vw, 2.5rem);
  padding-right: clamp(1.25rem, 5vw, 2.5rem);
  width: 100%;
}

/* ── SKIP LINK ─────────────────────────────────────────── */
.skip {
  position: absolute; left: -9999px;
  background: var(--gold); color: var(--dark-sage);
  padding: .75rem 1.25rem; font-weight: 700;
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ── NAV ───────────────────────────────────────────────── */
.nav {
  background: var(--dark-sage);
  border-bottom: 1px solid var(--dark-line);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 1.1rem clamp(1.25rem, 5vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.nav-logo {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: .01em;
  color: var(--cream);
  text-decoration: none;
}
.nav-logo:hover { color: var(--gold); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; align-items: center; flex-wrap: wrap; }
.nav-links a {
  color: rgba(245,241,232,.78);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.shop { color: var(--gold); font-weight: 700; }

/* ── PAGE HEAD ─────────────────────────────────────────── */
main { flex: 1 0 auto; }
.page-head {
  background: var(--surface);
  border-bottom: 1px solid var(--cream-line);
  padding: clamp(2.75rem, 7vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem);
}
.eyebrow {
  font-size: .6875rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-text);
  display: block; margin-bottom: .75rem;
}
.page-head h1 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  text-transform: var(--display-case);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-wrap: balance;
  color: var(--ink);
}
.updated {
  margin-top: 1rem;
  font-size: .8125rem;
  color: var(--ink-soft);
}

/* ── PROSE ─────────────────────────────────────────────── */
.prose { padding: clamp(2.25rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem); }
.prose h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 2.5rem 0 .85rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--cream-line);
}
.prose h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.prose h3 {
  font-size: .95rem; font-weight: 700;
  color: var(--ink); margin: 1.75rem 0 .5rem;
}
.prose p { margin-bottom: 1rem; color: var(--ink-mid); }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 1.25rem 1.25rem; color: var(--ink-mid); }
.prose li { margin-bottom: .5rem; padding-left: .25rem; }
.prose li::marker { color: var(--gold-text); }
.prose .lede {
  font-size: 1.0625rem;
  color: var(--ink);
  margin-bottom: 1.75rem;
}

/* A quiet panel for the "the short version" summaries */
.panel {
  background: var(--pale-gold);
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  margin: 0 0 2rem;
}
.panel p { color: var(--ink); margin-bottom: .5rem; }
.panel p:last-child { margin-bottom: 0; }
.panel-label {
  font-size: .625rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-text); display: block; margin-bottom: .6rem;
}

/* Definition-style rows for shipping rates */
.rates {
  width: 100%; border-collapse: collapse;
  margin: 0 0 1.75rem; font-size: .9375rem;
}
.rates th, .rates td {
  text-align: left; padding: .7rem .75rem;
  border-bottom: 1px solid var(--cream-line);
}
.rates thead th {
  font-size: .625rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-text);
  border-bottom: 1px solid var(--gold-line);
}
.rates td { color: var(--ink-mid); }
.rates td:first-child { color: var(--ink); font-weight: 600; }
.rates td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tablewrap { overflow-x: auto; }

/* ── BUTTONS ───────────────────────────────────────────── */
.btn-gold {
  display: inline-block;
  background: var(--gold); color: var(--dark-sage);
  font-family: var(--font-sans);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .85rem 2.25rem; border: none;
  text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s;
}
.btn-gold:hover { background: var(--gold-text); color: var(--cream); }
.btn-outline {
  display: inline-block;
  background: transparent; color: var(--sage);
  border: 1px solid var(--sage);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .85rem 2.25rem; text-decoration: none;
  transition: background .15s, color .15s;
}
.btn-outline:hover { background: var(--sage); color: var(--cream); }

/* ── FOOTER ────────────────────────────────────────────── */
.site-footer {
  background: var(--dark-sage);
  color: rgba(245,241,232,.72);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.75rem;
  flex-shrink: 0;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
}
.footer-top {
  display: flex; justify-content: space-between;
  gap: 2.5rem; flex-wrap: wrap;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--dark-line);
}
.footer-brand {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.25rem; letter-spacing: .01em;
  color: var(--cream); margin-bottom: .6rem;
}
.footer-tagline { font-size: .8125rem; max-width: 30ch; }
.footer-origin {
  font-size: .75rem; color: var(--cream-muted);
  margin-top: .5rem;
}
.footer-nav { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col h2 {
  font-size: .625rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .85rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col a {
  color: rgba(245,241,232,.72);
  font-size: .8125rem; text-decoration: none;
}
.footer-col a:hover { color: var(--gold); text-decoration: underline; }
.footer-bottom {
  display: flex; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding-top: 1.5rem;
  font-size: .75rem; color: var(--cream-muted);
}

/* ── 404 ───────────────────────────────────────────────── */
.notfound {
  text-align: center;
  padding: clamp(4rem, 12vw, 8rem) 0;
}
.notfound .code {
  font-size: .6875rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 1.25rem;
}
.notfound h1 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  line-height: 1.1; text-wrap: balance;
  margin-bottom: 1rem;
}
.notfound p {
  color: var(--ink-mid);
  max-width: 44ch; margin: 0 auto 2rem;
}
.notfound-actions {
  display: flex; gap: .75rem;
  justify-content: center; flex-wrap: wrap;
}
