/* =============================================
   KretaOS Landing Page — Theme CSS
   ============================================= */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

/* Variables */
:root {
  --bg: #FDFAF5;
  --ink: #1C1C1C;
  --muted: #6B6358;
  --terracotta: #B94A1C;
  --olive: #2D4A2D;
  --gold: #D4A017;
  --cream-dark: #F0EBE0;
  --border: #E8E0D4;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Selection */
::selection { background: var(--terracotta); color: #fff; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  height: 56px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.nav-sub {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 300;
}

/* ── HERO ── */
.hero {
  padding: clamp(3rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  max-width: 1200px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 1rem;
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 420px;
}
.hero-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* ── ORIGINS ── */
.origins {
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.origins-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.origins-label {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--terracotta);
  padding-top: 0.4rem;
  min-width: 80px;
}
.origins-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.origins-body {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.origins-body p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── DELIVERIES / MENU ── */
.deliveries {
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  max-width: 1200px;
  margin: 0 auto;
}
.deliveries-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.deliveries-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--olive);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.deliveries-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}
.deliveries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 4rem;
}
.menu-col-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.dish {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 400;
}
.price {
  font-size: 0.85rem;
  color: var(--terracotta);
  font-weight: 500;
  white-space: nowrap;
}
.delivery-info {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.delivery-stat {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.stat-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── CRAFT ── */
.craft {
  background: var(--olive);
  color: #fff;
}
.craft-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.craft-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
}
.craft-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #fff;
}
.craft-text p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.craft-quote {
  border-left: 3px solid var(--gold);
  padding-left: 2rem;
}
.craft-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.craft-quote cite {
  font-size: 0.8rem;
  color: var(--gold);
  font-style: normal;
}

/* ── CLOSING ── */
.closing {
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}
.closing-line {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.closing-body {
  font-size: 1rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── FOOTER ── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}
.footer-address {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
}
.footer-powered {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-img { height: 280px; }
  .origins-inner { grid-template-columns: 1fr; gap: 2rem; }
  .deliveries-grid { grid-template-columns: 1fr 1fr; }
  .craft-inner { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 600px) {
  .deliveries-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 2rem; }
}