@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Lora:ital,wght@0,400;0,600;1,400&family=DM+Mono:wght@400;500&display=swap');

/* ── Variables ───────────────────────────────────────────── */
:root {
  --red:       #a81a1a;
  --red-d:     #7e1212;
  --red-l:     #c92222;
  --cream:     #faf6ee;
  --cream-d:   #f0e8d4;
  --cream-m:   #e4d5b8;
  --brown:     #5c3a1e;
  --brown-l:   #8b5c34;
  --text:      #231509;
  --muted:     #6b4422;
  --white:     #fff;
  --shadow:    rgba(35,21,9,.14);
  --shadow-s:  rgba(35,21,9,.28);
  --border:    rgba(92,58,30,.18);
}

/* ── Accessibility utilities ─────────────────────────────── */
.sr-only {
  position: absolute; 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; top: -9rem; left: 1rem;
  background: var(--red-d); color: var(--cream);
  padding: .5rem 1.1rem; border-radius: 0 0 5px 5px;
  font-family: 'DM Mono', monospace; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .08em;
  z-index: 9999; text-decoration: none; transition: top .1s;
}
.skip-link:focus { top: 0; }

/* Focus styles for keyboard navigation */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--red-l);
  outline-offset: 2px;
  border-radius: 2px;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lora', Georgia, serif;
  background: var(--cream);
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
  min-height: 100vh;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4,h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
  color: var(--text);
}

/* ── Grain overlay ────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ── Layout wrapper ──────────────────────────────────────── */
.wrap      { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }
.wrap-slim { max-width:  780px; margin: 0 auto; padding: 0 2rem; }

/* ── Site Navigation ─────────────────────────────────────── */
.site-nav {
  background: var(--red-d);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 16px var(--shadow-s);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 62px; gap: 1rem;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-style: italic; font-weight: 700;
  font-size: 1.35rem; color: var(--cream);
  letter-spacing: -.02em; white-space: nowrap;
}
.nav-logo span { font-size: .72rem; font-family: 'DM Mono', monospace; font-style: normal; font-weight: 400; display: block; letter-spacing: .12em; text-transform: uppercase; color: rgba(250,246,238,.6); }
.nav-links { display: flex; align-items: center; gap: .15rem; }
.nav-links a {
  font-family: 'DM Mono', monospace; font-size: .76rem;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(250,246,238,.75); padding: .45rem .75rem;
  border-radius: 3px; transition: all .18s;
}
.nav-links a:hover, .nav-links a.active { color: var(--cream); background: rgba(255,255,255,.1); }
.nav-order-btn {
  background: var(--cream); color: var(--red-d);
  font-family: 'DM Mono', monospace; font-size: .76rem;
  text-transform: uppercase; letter-spacing: .1em; font-weight: 500;
  padding: .5rem 1.1rem; border-radius: 4px;
  transition: all .2s; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.nav-order-btn:hover { background: var(--cream-d); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.25); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cream); margin: 5px 0; transition: all .25s; border-radius: 2px; }
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: 62px; left: 0; right: 0;
    background: var(--red-d); padding: .75rem 1rem 1rem; gap: .1rem;
    box-shadow: 0 8px 24px var(--shadow-s);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .65rem 1rem; border-radius: 4px; }
}

/* ── Site Footer ─────────────────────────────────────────── */
.site-footer {
  background: var(--text);
  color: rgba(250,246,238,.55);
  padding: 3rem 0 2rem;
  margin-top: 5rem;
}
.footer-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand h3 {
  font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.5rem;
  color: var(--cream); margin-bottom: .4rem;
}
.footer-brand p { font-size: .88rem; line-height: 1.7; }
.footer-col h4 {
  font-family: 'DM Mono', monospace; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .12em;
  color: rgba(250,246,238,.4); margin-bottom: .85rem;
}
.footer-col p, .footer-col a { font-size: .9rem; color: rgba(250,246,238,.6); line-height: 1.8; display: block; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  max-width: 1080px; margin: 2.5rem auto 0; padding: 1.5rem 2rem 0;
  border-top: 1px solid rgba(250,246,238,.1);
  font-family: 'DM Mono', monospace; font-size: .72rem;
  color: rgba(250,246,238,.3); letter-spacing: .06em;
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--red-d);
  background-image: repeating-linear-gradient(-55deg, transparent, transparent 12px, rgba(0,0,0,.04) 12px, rgba(0,0,0,.04) 24px);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(126,18,18,.0) 0%, rgba(126,18,18,.5) 100%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem); color: var(--cream);
  font-style: italic; letter-spacing: -.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.page-hero p {
  font-size: 1rem; color: rgba(250,246,238,.75);
  font-style: italic; margin-top: .5rem;
  font-family: 'Lora', serif;
}

/* ── Decorative divider ──────────────────────────────────── */
.ornament {
  display: flex; align-items: center; gap: 1rem;
  margin: 2rem 0;
}
.ornament::before, .ornament::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.ornament span { color: var(--red); font-size: 1rem; }

/* ── Section heading ─────────────────────────────────────── */
.section-label {
  font-family: 'DM Mono', monospace; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--red); margin-bottom: .5rem;
}
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--red-d); letter-spacing: -.02em;
}

/* ── CTA button ──────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--red); color: var(--white);
  font-family: 'DM Mono', monospace; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .12em; font-weight: 500;
  padding: .85rem 2rem; border-radius: 4px;
  transition: all .2s; box-shadow: 0 3px 12px rgba(168,26,26,.3);
}
.btn-primary:hover { background: var(--red-d); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(168,26,26,.4); }
.btn-outline {
  display: inline-block;
  border: 2px solid var(--red); color: var(--red);
  font-family: 'DM Mono', monospace; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .12em; font-weight: 500;
  padding: .75rem 1.75rem; border-radius: 4px;
  transition: all .2s;
}
.btn-outline:hover { background: var(--red); color: white; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 10px var(--shadow);
  transition: all .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px var(--shadow); }
.card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 1.25rem; }
.card-body h3 { font-size: 1.15rem; color: var(--red-d); margin-bottom: .35rem; }
.card-body p  { font-size: .9rem; color: var(--muted); line-height: 1.6; font-style: italic; }

/* ── Prose ───────────────────────────────────────────────── */
.prose { max-width: 680px; }
.prose h3 {
  font-size: 1.2rem; color: var(--red-d);
  margin: 1.75rem 0 .5rem;
  font-family: 'Playfair Display', serif;
}
.prose p { margin-bottom: 1.1rem; color: var(--text); font-size: .98rem; }
.prose p:last-child { margin-bottom: 0; }

/* ── Info pill ───────────────────────────────────────────── */
.info-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--cream-d); border: 1px solid var(--border);
  border-radius: 100px; padding: .35rem .9rem;
  font-family: 'DM Mono', monospace; font-size: .78rem;
  color: var(--brown); letter-spacing: .04em;
}

/* ── Page fade-in ────────────────────────────────────────── */
main { animation: pageFade .45s ease both; }
@keyframes pageFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── Utility ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1  { margin-top: .5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mt-6  { margin-top: 3rem; }
.mb-4  { margin-bottom: 2rem; }
.gap-1 { gap: .5rem; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
