/* Standalone shell for the legal pages, the 404 page and /admin/. The landing
   page's cream, chocolate and caramel, with none of its animation machinery. */
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/bigshoulders.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Fallback"; src: local("Impact"), local("Haettenschweiler"), local("Arial Narrow Bold"); font-weight: 100 900; size-adjust: 87%; ascent-override: 112%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #f7f0e4; --fg: #2a1a12; --ink: 42 26 18;
  --card: #fffaf1;
  --muted: #5c4636; --faint: #6d5544;
  --rule: rgb(42 26 18 / 0.14);
  --surface: #fffaf1;
  --accent: #a35612;
  --accent-ink: #8f4a0e;
  --font-display: "Big Shoulders Display", "Big Shoulders Fallback", Impact, "Arial Narrow", sans-serif;
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --baked: "wght" 800;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  background-color: var(--bg); color: var(--fg); font-family: var(--font-sans);
  font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.1 0 0 0 0 0.07 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
::selection { background: #e9a646; color: #1d120c; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--fg); color: var(--card); padding: 0.6rem 1rem; border-radius: 8px; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.lg-nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1.5rem;
  padding: 0.85rem max(1.25rem, 50% - 36rem); background: rgb(255 250 241 / 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule); box-shadow: 0 8px 24px rgb(29 18 12 / 0.06);
}
.lg-logo { display: flex; align-items: center; gap: 0.55rem; font-family: var(--font-display); font-variation-settings: var(--baked); font-weight: 800; font-size: 1.75rem; letter-spacing: 0.01em; line-height: 1; text-transform: uppercase; text-decoration: none; }
.lg-logo svg { width: 22px; height: 22px; }
.lg-nav nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 1.25rem; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.lg-nav nav a { text-decoration: none; }
.lg-nav nav a:hover { color: var(--accent-ink); }
.lg-nav nav a[aria-current] { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }

.lg-main { flex: 1; width: 100%; max-width: 46rem; margin: 0 auto; padding: 4.5rem max(1.25rem, 5vw) 5rem; }
.lg-kicker { display: inline-flex; align-items: center; gap: 0.75em; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 1rem; }
.lg-kicker::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: #7a4e2d; }
.lg-main h1 { font-family: var(--font-display); font-variation-settings: var(--baked); font-weight: 800; font-size: clamp(3.1rem, 2rem + 4.8vw, 5.6rem); letter-spacing: 0.005em; line-height: 0.9; text-transform: uppercase; }
.lg-date { margin-top: 1rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--faint); }
.lg-intro { margin-top: 1.75rem; font-size: 1.0625rem; color: var(--muted); line-height: 1.7; }

.lg-prose { margin-top: 3rem; }
.lg-prose h2 { margin: 2.9rem 0 0.8rem; font-family: var(--font-display); font-variation-settings: var(--baked); font-weight: 800; font-size: 2.1rem; letter-spacing: 0.012em; line-height: 0.98; text-transform: uppercase; scroll-margin-top: 5rem; }
.lg-prose h2:first-child { margin-top: 0; }
.lg-main h1, .lg-prose h2 { text-wrap: balance; }
.lg-prose h3 { margin: 1.75rem 0 0.6rem; font-size: 1rem; font-weight: 650; }
.lg-prose p, .lg-prose li { color: var(--muted); }
.lg-prose p { margin-bottom: 1rem; }
.lg-prose ul, .lg-prose ol { margin: 0 0 1rem 1.25rem; }
.lg-prose li { margin-bottom: 0.45rem; }
.lg-prose li::marker { color: var(--accent); }
.lg-prose strong { color: var(--fg); font-weight: 650; }
.lg-prose a { color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.lg-prose a:hover { color: var(--accent-ink); }
.lg-prose code { font-family: var(--font-mono); font-size: 0.875em; background: rgb(var(--ink) / 0.06); padding: 0.1em 0.4em; border-radius: 4px; color: var(--fg); }

/* a note is an index card from the recipe box: a caramel margin rule and ruled lines */
.lg-note {
  position: relative; margin: 2rem 0; padding: 1.4rem 1.6rem 1.4rem 3rem; border-radius: 8px;
  background: linear-gradient(90deg, transparent 2.05rem, rgb(163 86 18 / 0.45) 2.05rem calc(2.05rem + 1.5px), transparent calc(2.05rem + 1.5px)), var(--card);
  box-shadow: 0 2px 0 #e4d6c2, 0 14px 30px rgb(29 18 12 / 0.08);
}
.lg-note p { position: relative; margin: 0; font-size: 0.9375rem; }

.lg-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0 1.5rem; font-size: 0.9375rem; }
.lg-table th, .lg-table td { text-align: left; padding: 0.7rem 0.9rem 0.7rem 0; border-bottom: 1px dashed var(--rule); vertical-align: top; color: var(--muted); }
.lg-table th { color: var(--fg); font-weight: 600; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 1.5px solid var(--fg); }

.lg-index { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.lg-index li { margin: 0; }
.lg-index a { position: relative; display: block; padding: 1.3rem 1.5rem 1.3rem 1.7rem; text-decoration: none; background: var(--card); border-radius: 10px; box-shadow: inset 4px 0 0 var(--accent), 0 2px 0 #e4d6c2, 0 12px 26px rgb(29 18 12 / 0.07); transition: transform 0.25s, box-shadow 0.25s; }
.lg-index a:hover { transform: translateY(-2px); }
.lg-index strong { display: block; font-family: var(--font-display); font-variation-settings: var(--baked); font-weight: 800; font-size: 1.9rem; line-height: 0.98; letter-spacing: 0.012em; text-transform: uppercase; margin-bottom: 0.35rem; }
.lg-index a:hover strong { color: var(--accent-ink); }
.lg-index span { font-size: 0.9rem; color: var(--muted); }

.lg-foot { border-top: 1px solid var(--rule); padding: 2rem max(1.25rem, 50% - 36rem); display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; font-size: 0.8125rem; color: var(--faint); background: var(--card); }
.lg-foot nav { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-left: auto; }
.lg-foot a { text-decoration: none; color: var(--fg); }
.lg-foot a:hover { color: var(--accent-ink); }

@media (max-width: 40rem) {
  .lg-nav { gap: 0.9rem; flex-wrap: wrap; }
  .lg-nav nav { gap: 0.9rem; font-size: 0.6875rem; }
  .lg-main { padding-top: 3rem; }
  .lg-foot nav { margin-left: 0; width: 100%; }
}
