/* ============================================================
   PIZZERIA MALIYAS — Design System
   Italian gastronomy editorial aesthetic.
   Self-hosted fonts only — zero third-party font/CDN requests.
   ============================================================ */

/* --- Local fonts (place matching files in /fonts to activate;
   layout degrades gracefully to the system stacks below) --- */
@font-face {
  font-family: 'Syne';
  src: url('./fonts/Syne-Bold.woff2') format('woff2');
  font-weight: 700 800;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('./fonts/PlayfairDisplay-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('./fonts/PlayfairDisplay-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('./fonts/Inter-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Palette */
  --charcoal: #121417;
  --charcoal-soft: #1B1E22;
  --charcoal-line: #2A2E33;
  --paper: #FAFAFA;
  --crema: #F1EAD9;
  --terracotta: #D32F2F;
  --terracotta-deep: #9E2020;
  --oro: #C9A227;
  --ink: #17181A;
  --ink-muted: #6E6A64;
  --paper-line: rgba(18, 20, 23, 0.12);
  --dark-line: rgba(250, 250, 250, 0.14);

  /* Type */
  --font-display: 'Syne', 'Century Gothic', 'Arial Narrow', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SFMono-Regular', 'Consolas', 'Liberation Mono', monospace;

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 3.25rem);
  --radius-none: 0px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }

/* Visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--oro);
  outline-offset: 3px;
}

.container {
  width: min(1180px, 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--terracotta);
}

h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.98; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
.serif-accent { font-family: var(--font-serif); font-style: italic; text-transform: none; letter-spacing: 0; font-weight: 400; }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-muted); max-width: 46ch; }
.on-dark .lede, .on-dark p { color: rgba(250,250,250,0.72); }
.on-dark { color: var(--paper); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.9em 1.6em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid currentColor;
  border-radius: var(--radius-none);
  transition: transform 0.35s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  max-width: 100%;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--terracotta); border-color: var(--terracotta); color: var(--paper); }
.btn-primary:hover { background: var(--terracotta-deep); border-color: var(--terracotta-deep); }
.btn-ghost-dark { color: var(--paper); border-color: var(--dark-line); }
.btn-ghost-dark:hover { border-color: var(--paper); background: rgba(250,250,250,0.06); }
.btn-ghost-light { color: var(--ink); border-color: var(--paper-line); }
.btn-ghost-light:hover { border-color: var(--ink); }
.btn-whatsapp { background: #1F2A22; border-color: #1F2A22; color: var(--paper); }
.btn-whatsapp:hover { background: #16401F; border-color: #16401F; }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(18, 20, 23, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--dark-line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--paper);
}
.brand-mark { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: 0.01em; text-transform: uppercase; }
.brand-mark span { color: var(--terracotta); }
.brand-logo { height: 58px; width: auto; flex-shrink: 0; }

.primary-nav { display: none; }
.primary-nav ul { display: flex; align-items: center; gap: 2.1rem; }
.primary-nav a {
  color: rgba(250,250,250,0.78);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.2s var(--ease);
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0; height: 2px;
  background: var(--terracotta);
  transition: right 0.3s var(--ease);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--paper); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { right: 0; }

.header-cta { display: none; align-items: center; gap: 0.6rem; flex-wrap: wrap; justify-content: flex-end; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--paper);
}
.nav-toggle span { width: 22px; height: 2px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--charcoal);
  z-index: 480;
  padding: 2rem var(--gutter);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  overflow-y: auto;
}
.mobile-panel.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-panel ul { display: flex; flex-direction: column; gap: 0.2rem; }
.mobile-panel a {
  display: block;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--dark-line);
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--paper);
}
.mobile-panel .header-cta { display: flex; flex-direction: column; margin-top: 1.75rem; }
.mobile-panel .header-cta .btn { width: 100%; }

/* ============================================================
   TORN-EDGE DIVIDER — signature crust motif
   ============================================================ */
.torn-edge {
  height: 22px;
  width: 100%;
  background:
    linear-gradient(135deg, var(--edge-color, var(--paper)) 25%, transparent 25.5%),
    linear-gradient(225deg, var(--edge-color, var(--paper)) 25%, transparent 25.5%);
  background-size: 22px 22px;
  background-position: 0 -1px;
}
.torn-edge--dark { --edge-color: var(--charcoal); }
.torn-edge--crema { --edge-color: var(--crema); }
.torn-edge--flip { transform: rotate(180deg); }

/* ============================================================
   HERO / SEAL STAMP (signature)
   ============================================================ */
.seal {
  width: 148px;
  height: 148px;
  animation: seal-spin 26s linear infinite;
}
@keyframes seal-spin { to { transform: rotate(360deg); } }
.seal circle.seal-ring { fill: none; stroke: currentColor; stroke-width: 1; }
.seal text { fill: currentColor; font-family: var(--font-mono); font-size: 8.6px; letter-spacing: 3px; }
.seal-center { font-family: var(--font-display); font-weight: 800; }

/* ============================================================
   SECTIONS — generic scaffolding
   ============================================================ */
section { position: relative; }
.section-dark { background: var(--charcoal); color: var(--paper); }
.section-crema { background: var(--crema); }
.section-pad { padding-block: clamp(3.5rem, 8vw, 7rem); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--charcoal);
  color: var(--paper);
  padding-top: clamp(3rem, 9vw, 6rem);
  padding-bottom: clamp(4rem, 10vw, 7rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(211, 47, 47, 0.18), transparent 60%),
    repeating-linear-gradient(115deg, rgba(250,250,250,0.025) 0 2px, transparent 2px 42px);
  pointer-events: none;
}

/* Homepage hero photo: "pizza on brown wooden table" by Nik Owens, Unsplash License (free commercial use) */
.hero--photo {
  background: #0b0a09 url('images/hero-pizza.jpg') center 42% / cover no-repeat;
}
.hero--photo::before {
  background:
    linear-gradient(100deg, rgba(9,8,7,0.95) 0%, rgba(9,8,7,0.88) 32%, rgba(10,9,8,0.6) 56%, rgba(10,9,8,0.38) 78%, rgba(10,9,8,0.58) 100%),
    linear-gradient(to top, rgba(6,5,4,0.7) 0%, rgba(6,5,4,0) 34%);
}
.hero-grid {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  grid-template-columns: 1fr;
  align-items: end;
}
.hero-kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.6rem;
}
.hero h1 { margin-bottom: 1.4rem; }
.hero h1 em { font-family: var(--font-serif); font-style: italic; color: var(--terracotta); font-weight: 400; text-transform: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.2rem; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--dark-line);
}
.hero-stat .num { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--terracotta); line-height: 1; }
.hero-stat .label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(250,250,250,0.55); margin-top: 0.4rem; }

/* status badge (open/closed) */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem 0.55rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--dark-line);
}
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-muted); flex-shrink: 0; }
.status-badge[data-state="open"] .status-dot { background: #4CAF50; box-shadow: 0 0 0 3px rgba(76,175,80,0.2); }
.status-badge[data-state="open"] { border-color: rgba(76,175,80,0.45); color: #B8E6BA; }
.status-badge[data-state="closed"] .status-dot { background: var(--terracotta); box-shadow: 0 0 0 3px rgba(211,47,47,0.2); }
.status-badge[data-state="closed"] { border-color: rgba(211,47,47,0.45); color: #F3B8B4; }

/* ============================================================
   ORDER GRID — featured "Speisekarte" card + uniform methods
   ============================================================ */
.value-index { font-family: var(--font-mono); font-size: 0.72rem; color: var(--terracotta); letter-spacing: 0.08em; }
.order-grid {
  display: grid;
  gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
  grid-template-columns: 1fr;
}
.order-card {
  background: var(--paper);
  padding: 2.2rem 1.9rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.order-card h3 { margin-block: 0.9rem 0.6rem; }
.order-card p { color: var(--ink-muted); font-size: 0.95rem; flex-grow: 1; }
.order-card .value-cta { margin-top: 1.25rem; }
.order-card .value-cta .btn { width: 100%; white-space: normal; text-align: center; }

.order-card--feature {
  grid-column: 1 / -1;
  background: var(--charcoal);
  color: var(--paper);
  position: relative;
  padding-top: 3rem;
}
.order-card--feature p { color: rgba(250,250,250,0.68); }
.order-tag {
  position: absolute;
  top: 0; left: 0;
  background: var(--terracotta);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
}
.order-cta-group { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.25rem; }
.order-cta-group .btn { width: 100%; white-space: normal; text-align: center; }

@media (min-width: 640px) {
  .order-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .order-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .order-card--feature { grid-column: auto; }
}

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head h2 { margin-top: 0.6rem; }
.section-head .lede { margin-top: 0.75rem; }

/* ============================================================
   DISH CARDS (no soft rounded pastel cards — flat ticket style)
   ============================================================ */
.dish-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
.dish-ticket {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--charcoal-line);
  padding: 1.6rem 1.5rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 220px;
}
.dish-ticket::before {
  content: attr(data-tag);
  position: absolute;
  top: 0; right: 0;
  background: var(--terracotta);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
}
.dish-ticket h3 { font-size: 1.15rem; }
.dish-ticket p { color: rgba(250,250,250,0.62); font-size: 0.9rem; flex-grow: 1; }
.dish-ticket .price-row { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px dashed var(--charcoal-line); padding-top: 0.85rem; }
.dish-ticket .price { font-family: var(--font-mono); font-size: 1.1rem; color: var(--oro); }

/* ============================================================
   MENU PAGE — filters + table-style list
   ============================================================ */
.menu-toolbar {
  position: sticky;
  top: 76px;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--paper-line);
  padding-block: 1.1rem;
}
.filter-row { display: flex; gap: 0.6rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-btn {
  flex-shrink: 0;
  padding: 0.62rem 1.1rem;
  min-height: 44px;
  border: 1px solid var(--paper-line);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: all 0.2s var(--ease);
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.is-active { background: var(--charcoal); border-color: var(--charcoal); color: var(--paper); }

.menu-category { padding-block: clamp(2.5rem, 5vw, 3.5rem); scroll-margin-top: 150px; }
.menu-category + .menu-category { border-top: 1px solid var(--paper-line); }
.menu-category-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.menu-category-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.menu-category-head .count { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-muted); }

.menu-list { display: flex; flex-direction: column; }
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--paper-line);
}
.menu-item-name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; text-transform: uppercase; }
.menu-item-name .badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  color: var(--terracotta);
  border: 1px solid var(--terracotta);
  padding: 0.1rem 0.4rem;
  margin-left: 0.5rem;
  vertical-align: middle;
  text-transform: uppercase;
}
.menu-item-desc { grid-column: 1 / -1; color: var(--ink-muted); font-size: 0.9rem; max-width: 62ch; }
.menu-item-price { font-family: var(--font-mono); font-size: 1.05rem; white-space: nowrap; }
.menu-item-price .size { display: block; font-size: 0.65rem; color: var(--ink-muted); text-align: right; letter-spacing: 0.05em; }

.menu-flyer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--charcoal);
  color: var(--paper);
  padding: 2rem clamp(1.5rem, 4vw, 2.5rem);
  margin-block: clamp(2rem, 5vw, 3rem);
}

/* ============================================================
   STORY / ABOUT
   ============================================================ */
.story-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; }
.story-media {
  aspect-ratio: 4 / 3;
  background: var(--charcoal) url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22400%22 height=%22300%22%3E%3Crect width=%22400%22 height=%22300%22 fill=%22%23121417%22/%3E%3C/svg%3E') center/cover;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.story-media::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(500px 400px at 20% 10%, rgba(211,47,47,0.35), transparent 60%),
              repeating-linear-gradient(45deg, rgba(250,250,250,0.03) 0 2px, transparent 2px 30px);
}
.story-media .cap { position: relative; color: var(--paper); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }

.timeline { display: flex; flex-direction: column; }
.timeline-row { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding-block: 1.4rem; border-top: 1px solid var(--paper-line); }
.timeline-row:last-child { border-bottom: 1px solid var(--paper-line); }
.timeline-year { font-family: var(--font-serif); font-style: italic; font-size: 1.4rem; color: var(--terracotta); }

.pledge-grid { display: grid; gap: 1px; background: var(--paper-line); border: 1px solid var(--paper-line); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: clamp(2.5rem, 5vw, 4rem); }
.pledge-card { background: var(--paper); padding: 2rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3rem); grid-template-columns: 1fr; }
.contact-card { border: 1px solid var(--paper-line); padding: 2rem; }
.contact-card h3 { margin-bottom: 1.1rem; }
.contact-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-list a, .contact-list .row { display: flex; align-items: center; gap: 0.85rem; }
.contact-list .ico { width: 34px; height: 34px; border: 1px solid var(--paper-line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--terracotta); }
.hours-table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 0.92rem; }
.hours-table td { padding: 0.55rem 0; border-bottom: 1px dashed var(--paper-line); }
.hours-table td:last-child { text-align: right; }
.hours-table tr.today td { color: var(--terracotta); font-weight: 700; }

.map-frame { border: 1px solid var(--paper-line); overflow: hidden; aspect-ratio: 16/10; width: 100%; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.delivery-areas { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.delivery-areas li { border: 1px solid var(--paper-line); padding: 0.5rem 0.9rem; font-family: var(--font-mono); font-size: 0.78rem; }

/* Contact form */
.form-grid { display: grid; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.field input, .field textarea {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  padding: 0.85rem 1rem;
  min-height: 48px;
  border-radius: 0;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.8rem; color: var(--ink-muted); }
.form-status { font-family: var(--font-mono); font-size: 0.82rem; padding-top: 0.5rem; min-height: 1.2em; }
.form-status[data-state="success"] { color: #2E7D32; }
.form-status[data-state="error"] { color: var(--terracotta); }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content { max-width: 74ch; }
.legal-content h2 { font-size: 1.4rem; margin-top: 2.5rem; margin-bottom: 0.9rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--ink-muted); margin-bottom: 0.9rem; }
.legal-content strong { color: var(--ink); font-weight: 700; }
.legal-content ul { list-style: disc; padding-left: 1.3rem; }
.legal-content ul li { margin-bottom: 0.4rem; }
.legal-content a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--charcoal); color: var(--paper); padding-block: clamp(3rem, 6vw, 4.5rem) 6.5rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.footer-brand .brand-mark { font-size: 1.6rem; }
.footer-brand .brand-logo--footer { height: 60px; }
.footer-brand p { margin-top: 1rem; color: rgba(250,250,250,0.6); max-width: 32ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(250,250,250,0.5); margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { color: rgba(250,250,250,0.82); font-size: 0.92rem; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--terracotta); }
.footer-bottom { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--dark-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.8rem; color: rgba(250,250,250,0.45); }
.footer-bottom a { color: rgba(250,250,250,0.6); }
.footer-bottom a:hover { color: var(--paper); }

/* ============================================================
   STICKY MOBILE ACTION BAR
   ============================================================ */
.action-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 999;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--charcoal);
  border-top: 1px solid var(--dark-line);
  transform: translateY(100%);
  transition: transform 0.32s var(--ease);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.action-bar.is-visible { transform: translateY(0); }
.action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 58px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--paper);
}
.action-bar a:first-child { background: var(--terracotta); }
.action-bar a:last-child { background: #1F7A3D; }
.action-bar svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================================
   BREAKPOINTS
   ============================================================ */
@media (min-width: 640px) {
  .hero-stats { grid-template-columns: repeat(3, auto); justify-content: flex-start; gap: clamp(2rem, 4vw, 3.5rem); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .primary-nav { display: block; }
  .header-cta { display: flex; }
  .nav-toggle, .mobile-panel { display: none; }
  .action-bar { display: none; }

  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .story-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .contact-grid { grid-template-columns: 1.1fr 0.9fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (min-width: 1080px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
