:root {
  --bg: oklch(98% 0.004 95);
  --surface: oklch(100% 0.002 95);
  --fg: oklch(20% 0.018 70);
  --muted: oklch(48% 0.012 70);
  --border: oklch(90% 0.006 95);
  --accent: oklch(52% 0.10 28);
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 1120px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--fg);
}

.wrap {
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.kicker-accent {
  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(2.15rem, 5.2vw, 3.65rem);
  letter-spacing: -0.03em;
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  max-width: 22ch;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 48ch;
  margin: 1rem 0 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklch, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 510;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--fg);
}

.lang-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 0.45rem 0.65rem;
  text-decoration: none;
  color: var(--fg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease), background 160ms var(--ease), color 160ms var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  color: var(--bg);
}

.btn:active {
  transform: translateY(1px);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
}

.btn-ghost:hover {
  background: var(--surface);
  color: var(--fg);
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: oklch(99% 0.01 95);
}

.btn-accent:hover {
  color: oklch(99% 0.01 95);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.stage {
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 8vw, 5.5rem);
  overflow: hidden;
}

.stage-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-copy .lead {
  max-width: 42ch;
}

.hero-note {
  margin-top: 1.1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.scene-3d {
  perspective: 1400px;
  perspective-origin: 50% 40%;
}

.scene-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 280ms var(--ease);
  will-change: transform;
  border: 1px solid var(--border);
  background: var(--surface);
}

.scene-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transform: translateZ(28px);
}

.scene-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.75rem;
  background: color-mix(in oklch, var(--surface) 92%, transparent);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateZ(48px);
}

.depth-shadow {
  position: absolute;
  inset: auto 8% -18px 8%;
  height: 40px;
  background: radial-gradient(ellipse at center, oklch(20% 0.02 70 / 0.18), transparent 70%);
  transform: translateZ(-40px) rotateX(80deg);
  pointer-events: none;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border-top: 1px solid var(--border);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  align-items: end;
}

.section-head .lead {
  margin: 0;
  justify-self: end;
  text-align: right;
}

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  perspective: 1600px;
}

.product {
  background: var(--surface);
  border: 1px solid var(--border);
  transform-style: preserve-3d;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
  will-change: transform;
}

.product:hover {
  box-shadow: 0 18px 40px oklch(20% 0.02 70 / 0.08);
}

.product-media {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  transform: translateZ(18px);
}

.product-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}

.product:hover .product-media img {
  transform: scale(1.03) translateZ(8px);
}

.product-body {
  padding: 1.15rem 1.15rem 1.3rem;
  transform: translateZ(24px);
}

.product-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.45rem;
}

.product h3 {
  margin-bottom: 0.55rem;
}

.product p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 34ch;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.price {
  font-variant-numeric: tabular-nums;
  font-weight: 550;
  letter-spacing: 0.01em;
}

.price small {
  display: block;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 0.2rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.why-item {
  padding: 1.5rem 1.35rem;
  border-right: 1px solid var(--border);
  background: var(--surface);
}

.why-item:last-child {
  border-right: 0;
}

.why-item h3 {
  margin-bottom: 0.65rem;
}

.why-item p {
  margin: 0;
  color: var(--muted);
  max-width: 36ch;
}

.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.story-panel {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: clamp(1.4rem, 3vw, 2rem);
  transform-style: preserve-3d;
}

.story p {
  color: var(--muted);
  max-width: 54ch;
  margin: 0 0 1rem;
}

.story p:last-child {
  margin-bottom: 0;
}

.delivery-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.delivery-item {
  border-top: 2px solid var(--fg);
  padding-top: 1rem;
}

.delivery-item h3 {
  margin-bottom: 0.55rem;
}

.delivery-item p {
  margin: 0;
  color: var(--muted);
  max-width: 34ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.contact-card {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem;
}

.contact-card dl {
  margin: 0;
  display: grid;
  gap: 1rem;
}

.contact-card dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-card dd {
  margin: 0;
  font-size: 1.05rem;
}

.contact-card a {
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.cta-band {
  border-top: 1px solid var(--border);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background: var(--surface);
}

.cta-band-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-band .lead {
  margin-top: 0.75rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand p {
  color: var(--muted);
  margin: 0.6rem 0 0;
  max-width: 28ch;
}

.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-col a {
  text-decoration: none;
  color: var(--fg);
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-meta {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

.legal-page {
  padding: clamp(2.5rem, 6vw, 4rem) 0 4rem;
}

.legal-page h1 {
  max-width: 18ch;
  margin-bottom: 1.5rem;
}

.legal-page .content {
  max-width: 68ch;
}

.legal-page h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  max-width: none;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.legal-page ul {
  padding-left: 1.2rem;
}

.cookie-bar {
  position: fixed;
  left: var(--space);
  right: var(--space);
  bottom: var(--space);
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px oklch(20% 0.02 70 / 0.1);
}

.cookie-bar.is-on {
  display: flex;
}

.cookie-bar p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 62ch;
}

.cookie-bar a {
  color: var(--fg);
}

@media (max-width: 960px) {
  .stage-grid,
  .section-head,
  .story,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head .lead {
    justify-self: start;
    text-align: left;
  }

  .products,
  .why-grid,
  .delivery-list {
    grid-template-columns: 1fr;
  }

  .why-item {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .why-item:last-child {
    border-bottom: 0;
  }

  .nav .nav-hide-sm {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    min-height: 60px;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .product-foot {
    flex-direction: column;
    align-items: stretch;
  }
}

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

  .scene-card,
  .product,
  .product-media img,
  .btn {
    transition: none;
  }
}
