:root {
  --bg: #F7F3EC;
  --surface: #EAE2D4;
  --ink: #2A2118;
  --accent: #4A7C59;
  --accent-2: #C17832;
  --line: rgba(42, 33, 24, 0.12);
  --header-h: 72px;
  --radius: 6px;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body { overflow-x: hidden; max-width: 100vw; margin: 0; }

body {
  font-family: 'Source Sans 3', 'Source Sans Pro', 'Segoe UI', system-ui, -apple-system, 'Noto Sans', 'Liberation Sans', sans-serif;
  font-weight: 400;
  letter-spacing: -0.008em;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', Georgia, 'Palatino Linotype', 'Book Antiqua', serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.008em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

a { color: var(--ink); text-decoration: none; transition: color 240ms cubic-bezier(.4,0,.2,1); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 9999;
  background: var(--ink); color: var(--bg); padding: 8px 16px;
  border-radius: var(--radius); font-size: 0.875rem;
}
.skip-link:focus { top: 8px; }

/* Container */
.container {
  width: 100%; max-width: 1180px; margin: 0 auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1080;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 240ms ease, box-shadow 240ms ease, padding 240ms ease;
  padding: 16px 0;
}
.site-header.scrolled {
  background: rgba(247, 243, 236, 0.98);
  box-shadow: 0 8px 24px -16px rgba(0,0,0,.18);
  padding: 10px 0;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: 'Lora', Georgia, 'Palatino Linotype', 'Book Antiqua', serif; font-weight: 700;
  font-size: 1.25rem; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.logo svg { width: 32px; height: 32px; }

/* Nav desktop */
.nav-desktop { display: none; }
@media (min-width: 1024px) {
  .nav-desktop {
    display: flex; align-items: center; gap: 32px;
  }
  .nav-desktop a {
    position: relative; font-size: 0.9rem; font-weight: 400;
    color: var(--ink); padding: 4px 0;
    transition: color 240ms cubic-bezier(.4,0,.2,1);
  }
  .nav-desktop a::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 1.5px; background: var(--accent);
    transition: width 320ms cubic-bezier(.2,.7,.2,1);
  }
  .nav-desktop a:hover::after,
  .nav-desktop a.is-active::after { width: 100%; }
  .nav-desktop a.is-active { color: var(--accent); }
  .nav-desktop .nav-cta {
    background: var(--ink); color: var(--bg);
    padding: 8px 20px; border-radius: var(--radius);
    font-size: 0.85rem; font-weight: 600;
    transition: background 240ms, color 240ms, transform 180ms, box-shadow 240ms;
  }
  .nav-desktop .nav-cta::after { display: none; }
  .nav-desktop .nav-cta:hover {
    background: var(--accent); color: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px -2px rgba(74,124,89,0.3);
  }
}

/* Scroll progress bar */
.scroll-progress {
  position: absolute; bottom: 0; left: 0; height: 2px;
  background: var(--accent); width: 0%;
  transition: none; pointer-events: none; z-index: 1;
}

/* Drawer close button */
.drawer-close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px; min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 1.5px solid var(--line);
  border-radius: var(--radius); cursor: pointer;
  font-size: 1.4rem; color: var(--ink); line-height: 1;
  transition: border-color 240ms cubic-bezier(.4,0,.2,1), color 240ms, background 240ms;
}
.drawer-close:hover { border-color: var(--accent); color: var(--accent); background: rgba(74,124,89,0.04); }

/* Hamburger */
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center;
  gap: 6px; width: 44px; height: 44px;
  background: none; border: 1.5px solid var(--line);
  border-radius: var(--radius); cursor: pointer;
  z-index: 1100; position: relative; padding: 10px;
  transition: border-color 240ms ease, background 240ms ease;
}
.nav-toggle:hover {
  border-color: var(--accent); background: rgba(74,124,89,0.04);
}
.nav-toggle span {
  display: block; width: 100%; height: 2.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform 300ms cubic-bezier(.2,.7,.2,1), opacity 200ms, background 240ms;
}
.nav-toggle:hover span { background: var(--accent); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* Drawer */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 1040;
  background: rgba(0,0,0,0.55);
  opacity: 0; pointer-events: none;
  transition: opacity 240ms ease;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw); z-index: 1050;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  padding: 100px 32px 40px;
  display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer a {
  display: block; padding: 14px 0;
  font-size: 1.1rem; color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color 240ms, padding-left 240ms;
}
.drawer a:hover { color: var(--accent); padding-left: 8px; }
.drawer a.is-active { color: var(--accent); }
@media (min-width: 1024px) { .drawer, .drawer-backdrop { display: none; } }

/* Main padding for fixed header */
main { padding-top: var(--header-h); }

/* Section dividers */
.section-divider {
  height: 1px; background: var(--line);
  border: none; margin: 0;
}

/* Hero */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center; padding: 80px 24px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 25% 75%, rgba(193,120,50,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 25%, rgba(74,124,89,0.05) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(234,226,212,0.5) 0%, transparent 70%),
    var(--bg);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('/assets/images/kurucu-hikaye.jpg') center/cover no-repeat;
  opacity: 0.04;
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero__eyebrow {
  font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px; font-weight: 600;
}
.hero__title { margin-bottom: 24px; max-width: 700px; }
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem); max-width: 560px;
  color: rgba(42,33,24,0.75); margin-bottom: 40px; line-height: 1.8;
}
.hero__line {
  width: 1px; height: 60px; background: var(--line); margin-bottom: 16px;
}
.hero__scroll {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(42,33,24,0.5);
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(4px); }
}

/* Cocoa leaf corner motif */
.leaf-motif {
  position: absolute; opacity: 0.14; pointer-events: none;
  transition: opacity 600ms ease;
}
.leaf-motif--tl { top: 40px; left: 40px; }
.leaf-motif--br { bottom: 40px; right: 40px; transform: rotate(180deg); }

/* Buttons */
.btn-primary {
  display: inline-block; background: var(--ink); color: var(--bg);
  padding: 14px 32px; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 600; border: none; cursor: pointer;
  transition: background 240ms cubic-bezier(.4,0,.2,1), transform 180ms, color 240ms, box-shadow 240ms;
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent); color: var(--bg);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 24px -4px rgba(74,124,89,0.35), 0 0 0 3px rgba(74,124,89,0.08);
}
.btn-ghost {
  display: inline-block; background: transparent; color: var(--ink);
  padding: 14px 32px; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 600;
  border: 1.5px solid var(--line); cursor: pointer;
  transition: background 240ms, color 240ms, border-color 240ms, transform 180ms, box-shadow 240ms;
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--surface); color: var(--ink); border-color: var(--accent);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px -4px rgba(42,33,24,0.12);
}

/* Section common */
.section {
  padding: clamp(60px, 10vw, 120px) 0;
  position: relative;
}
.section__eyebrow {
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.section__title { margin-bottom: 32px; }

/* Story section */
.story-grid {
  display: grid; gap: 48px;
  align-items: start;
}
@media (min-width: 768px) {
  .story-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.story-text p { margin-bottom: 24px; font-size: 1.05rem; line-height: 1.85; }
.story-image {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3/4;
}
.story-image img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Parallax wrapper */
.parallax-wrap {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
}
.parallax-img {
  width: 100%; height: 120%; object-fit: cover;
  position: absolute; top: -10%; left: 0;
  will-change: transform;
}

/* Origin section */
.origin-list { display: flex; flex-direction: column; gap: 40px; }
.origin-item {
  display: grid; gap: 20px; padding: 32px;
  background: var(--surface); border-radius: var(--radius);
  border-left: 3px solid var(--accent-2);
  transition: transform 360ms cubic-bezier(.2,.7,.2,1), box-shadow 360ms, border-left-color 360ms;
}
.origin-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px -12px rgba(193,120,50,0.22), 0 0 20px -8px rgba(193,120,50,0.08);
  border-left-color: var(--accent);
}
.origin-item h3 { color: var(--accent-2); }
.origin-item .notes {
  font-style: italic; color: rgba(42,33,24,0.7); font-size: 0.95rem;
}

/* Production zigzag */
.production-steps { display: flex; flex-direction: column; gap: 64px; }
.production-step {
  display: grid; gap: 40px; align-items: center;
}
@media (min-width: 768px) {
  .production-step { grid-template-columns: 1fr 1fr; }
  .production-step:nth-child(even) .step-image { order: -1; }
}
.step-image {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3;
}
.step-image img { width: 100%; height: 100%; object-fit: cover; }
.step-number {
  font-family: 'Lora', Georgia, 'Palatino Linotype', 'Book Antiqua', serif; font-size: 3rem; font-weight: 700;
  color: var(--accent); opacity: 0.3; margin-bottom: 8px;
}
.step-text h3 { margin-bottom: 12px; }
.step-text p { font-size: 1rem; line-height: 1.8; color: rgba(42,33,24,0.8); }

/* Collection cards */
.collection-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .collection-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .collection-grid { grid-template-columns: repeat(4, 1fr); } }

.collection-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
  position: relative; overflow: hidden;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), box-shadow 280ms;
}
.collection-card::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 600ms cubic-bezier(.4,0,.2,1);
}
.collection-card:hover::before { left: 150%; }
.collection-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px -12px rgba(193,120,50,0.2), 0 0 0 1px rgba(193,120,50,0.06);
}
.collection-card__icon {
  width: 48px; height: 48px; margin: 0 auto 16px;
  color: var(--accent-2);
}
.collection-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.collection-card .price {
  font-weight: 700; color: var(--accent-2); font-size: 1.1rem; margin-top: 12px;
}
.collection-card p { font-size: 0.9rem; color: rgba(42,33,24,0.7); line-height: 1.6; }

/* Community section */
.community-content {
  display: grid; gap: 48px;
}
@media (min-width: 768px) { .community-content { grid-template-columns: 1fr 1fr; } }
.community-box {
  background: var(--surface); padding: 40px; border-radius: var(--radius);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), box-shadow 320ms;
}
.community-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -8px rgba(74,124,89,0.12);
}
.community-box h3 { margin-bottom: 16px; color: var(--accent); }
.community-box p { margin-bottom: 16px; line-height: 1.8; }
.community-box .price-tag {
  font-weight: 700; color: var(--accent-2); font-size: 1.2rem;
}

/* SVG Morph sequence */
.morph-sequence {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(8px, 2vw, 24px); padding: 48px 0;
  flex-wrap: wrap;
}
.morph-frame {
  width: clamp(48px, 10vw, 80px); height: clamp(48px, 10vw, 80px);
  opacity: 0.2; transition: opacity 600ms cubic-bezier(.2,.7,.2,1);
  color: var(--accent-2);
}
.morph-frame.is-active { opacity: 1; }

/* Niche animations */
@keyframes steamRise {
  0% { transform: translateY(0) scaleX(1); opacity: 0.6; }
  50% { transform: translateY(-12px) scaleX(1.2); opacity: 0.3; }
  100% { transform: translateY(-24px) scaleX(0.8); opacity: 0; }
}
@keyframes cocoaFloat {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.15; }
  50% { transform: translateY(-30px) rotate(15deg); opacity: 0.25; }
  100% { transform: translateY(-60px) rotate(-5deg); opacity: 0; }
}
@keyframes shineSwoop {
  0% { left: -60%; }
  100% { left: 160%; }
}
@keyframes meltDrip {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1.3) translateY(4px); opacity: 0.5; }
}
@keyframes beanPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.04) rotate(1deg); }
}

.steam-particle {
  position: absolute; width: 6px; height: 6px;
  background: var(--accent-2); border-radius: 50%;
  animation: steamRise 3s ease-in-out infinite;
  pointer-events: none;
}
.steam-particle:nth-child(2) { animation-delay: 0.8s; left: 30%; }
.steam-particle:nth-child(3) { animation-delay: 1.6s; left: 60%; }

.cocoa-particle {
  position: fixed; width: 8px; height: 12px;
  background: var(--accent-2); border-radius: 40% 60% 50% 50%;
  opacity: 0; pointer-events: none;
  animation: cocoaFloat 12s ease-in-out infinite;
}
.cocoa-particle:nth-child(1) { left: 10%; animation-delay: 0s; top: 80%; }
.cocoa-particle:nth-child(2) { left: 85%; animation-delay: 4s; top: 70%; }
.cocoa-particle:nth-child(3) { left: 50%; animation-delay: 8s; top: 90%; }

@media (prefers-reduced-motion: reduce) {
  .steam-particle, .cocoa-particle { animation: none; opacity: 0; }
  .collection-card::before { transition: none; }
  .morph-frame { transition: none; }
  .production-step::after { animation: none; opacity: 0; }
  .hero__scroll { animation: none; opacity: 0.5; }
  .btn-primary, .btn-ghost, .origin-item, .collection-card, .community-box, .contact-row { transition: none; }
}

/* Reveal animations */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 600ms cubic-bezier(.2,.7,.2,1), transform 600ms cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
html.no-js .reveal { opacity: 1; transform: none; }

/* Stagger delays */
.reveal[data-delay="1"] { transition-delay: 100ms; }
.reveal[data-delay="2"] { transition-delay: 200ms; }
.reveal[data-delay="3"] { transition-delay: 300ms; }
.reveal[data-delay="4"] { transition-delay: 400ms; }

/* Footer */
.site-footer {
  background: var(--ink); color: rgba(247,243,236,0.8);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-col h4 {
  font-family: 'Lora', Georgia, 'Palatino Linotype', 'Book Antiqua', serif; color: var(--bg); margin-bottom: 16px; font-size: 1rem;
}
.footer-col a { color: rgba(247,243,236,0.7); font-size: 0.9rem; display: block; padding: 4px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(247,243,236,0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 12px; font-size: 0.8rem; color: rgba(247,243,236,0.5);
}
.footer-bottom a { color: rgba(247,243,236,0.5); }
.footer-bottom a:hover { color: var(--accent); }

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  max-width: 520px; margin: 0 auto;
  background: var(--ink); color: var(--bg);
  padding: 24px; border-radius: var(--radius);
  transform: translateY(140%); opacity: 0;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 240ms;
  z-index: 9999;
  box-shadow: 0 20px 60px -12px rgba(0,0,0,0.4);
}
@media (min-width: 768px) { .cookie-banner { left: 24px; right: auto; max-width: 420px; } }
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner p { font-size: 0.85rem; line-height: 1.6; margin-bottom: 16px; color: rgba(247,243,236,0.85); }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-buttons {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.cookie-buttons button {
  flex: 1; min-width: 100px; min-height: 44px;
  padding: 10px 16px; border: none; border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: background 200ms, color 200ms, border-color 200ms;
}
.cookie-buttons .btn-accept { background: var(--accent); color: var(--bg); }
.cookie-buttons .btn-accept:hover { background: #5a9a6e; color: var(--bg); }
.cookie-buttons .btn-reject { background: transparent; color: rgba(247,243,236,0.88); border: 1.5px solid rgba(247,243,236,0.35); }
.cookie-buttons .btn-reject:hover { background: rgba(247,243,236,0.1); color: var(--bg); border-color: rgba(247,243,236,0.6); }
.cookie-buttons .btn-settings { background: rgba(247,243,236,0.08); color: rgba(247,243,236,0.7); }
.cookie-buttons .btn-settings:hover { background: rgba(247,243,236,0.15); color: var(--bg); }

/* Form styles */
.form-section { max-width: 640px; }
.field { margin-bottom: 24px; }
.field label {
  display: block; font-size: 0.9rem; font-weight: 600;
  margin-bottom: 6px; color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 16px;
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: var(--radius); font-size: 1rem;
  font-family: inherit; color: var(--ink);
  transition: border-color 240ms, box-shadow 240ms;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74,124,89,0.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input[type="checkbox"] {
  appearance: auto; -webkit-appearance: auto;
  width: 18px; height: 18px; min-width: 18px; min-height: 18px;
  padding: 0; border: 0; margin: 2px 0 0;
  accent-color: var(--accent);
}
.field-check {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
}
.field-check label { margin-bottom: 0; font-weight: 400; font-size: 0.85rem; line-height: 1.5; }
.field-error { font-size: 0.8rem; color: #c0392b; margin-top: 4px; display: none; }
.field-error.is-visible { display: block; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-status {
  padding: 16px; border-radius: var(--radius); margin-top: 16px; display: none;
}
.form-status.is-success { display: block; background: rgba(74,124,89,0.1); color: var(--accent); }
.form-status.is-error { display: block; background: rgba(192,57,43,0.1); color: #c0392b; }

/* Contact info */
.contact-channels {
  display: flex; flex-direction: column; gap: 20px;
}
.contact-row {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  padding: 12px 16px; border-radius: var(--radius);
  transition: transform 240ms cubic-bezier(.4,0,.2,1), background 240ms, box-shadow 240ms;
}
.contact-row:hover {
  transform: translateX(6px); background: var(--surface);
  box-shadow: -3px 0 0 0 var(--accent-2);
}
.contact-row svg {
  width: 20px; height: 20px; color: var(--ink);
  transition: color 240ms, transform 240ms;
  flex-shrink: 0; margin-top: 2px;
}
.contact-row:hover svg { color: var(--accent); transform: scale(1.08); }
.contact-row strong { display: block; font-size: 0.85rem; color: rgba(42,33,24,0.6); margin-bottom: 2px; }
.contact-row span, .contact-row a { font-size: 0.95rem; word-break: break-word; overflow-wrap: anywhere; }

/* Tables */
.table-scroll {
  display: block; width: 100%; max-width: 100%; min-width: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.table-scroll > table { margin: 0 !important; min-width: 480px; width: 100%; }
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }
table { border-collapse: collapse; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
th { font-weight: 600; background: var(--surface); }

/* Scroll margin for anchor sections */
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Policy pages */
.policy-content { max-width: 760px; padding: 60px 0 80px; }
.policy-content h1 { margin-bottom: 32px; }
.policy-content h2 { margin-top: 48px; margin-bottom: 16px; font-size: 1.4rem; padding-left: 16px; border-left: 3px solid var(--accent-2); }
.policy-content h3 { margin-top: 32px; margin-bottom: 12px; font-size: 1.15rem; }
.policy-content p { margin-bottom: 16px; line-height: 1.8; }
.policy-content ul, .policy-content ol { margin-bottom: 16px; padding-left: 24px; }
.policy-content li { margin-bottom: 8px; line-height: 1.7; }

/* Focus ring */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 404 */
.page-404 {
  min-height: calc(100vh - var(--header-h) - 200px);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 80px 20px;
}
.page-404 h1 { font-size: clamp(4rem, 12vw, 8rem); color: var(--accent); opacity: 0.3; }
.page-404 p { margin: 16px 0 32px; }

/* Sitemap page */
.sitemap-list { list-style: none; padding: 0; }
.sitemap-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.sitemap-list a { font-size: 1rem; }

/* Steam wisp on production steps */
.production-step { position: relative; }
.production-step::after {
  content: '';
  position: absolute; top: 0; left: 50%;
  width: 28px; height: 36px;
  background: radial-gradient(ellipse, rgba(193,120,50,0.1) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  animation: steamWisp 4.5s ease-in-out infinite;
  pointer-events: none;
  transform: translateX(-50%);
}
.production-step:nth-child(2)::after { animation-delay: 1.2s; left: 40%; }
.production-step:nth-child(3)::after { animation-delay: 2.4s; left: 60%; }
.production-step:nth-child(4)::after { animation-delay: 0.6s; }
@keyframes steamWisp {
  0% { opacity: 0; transform: translateX(-50%) translateY(0) scale(0.8); }
  25% { opacity: 0.7; }
  70% { opacity: 0.3; transform: translateX(-50%) translateY(-18px) scale(1.15); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-30px) scale(0.5); }
}

/* Extended stagger delays */
.reveal[data-delay="5"] { transition-delay: 500ms; }
.reveal[data-delay="6"] { transition-delay: 600ms; }

/* Mobile cookie banner spacing */
@media (max-width: 640px) {
  .cookie-banner { bottom: 8px; left: 8px; right: 8px; padding: 16px; }
  .cookie-banner p { font-size: 0.8rem; margin-bottom: 12px; }
  .cookie-buttons { gap: 6px; }
}

/* Warm glow on step-number */
.step-number {
  transition: opacity 400ms ease, color 400ms ease;
}
.production-step:hover .step-number {
  opacity: 0.6;
  color: var(--accent-2);
}

/* Print */
@media print {
  .site-header, .site-footer, .cookie-banner, .nav-toggle, .drawer, .drawer-backdrop { display: none !important; }
  main { padding-top: 0; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
