/* ————————————————————————————————————————
   DALSAAR — a cookbook page, turmeric warm
   ———————————————————————————————————————— */

:root {
  --paper: #FBF4E4;
  --card: #FFFDF6;
  --line: #E4D6B8;
  --ink: #3A2A1A;
  --ink-dim: #83705B;
  --turmeric: #DFA32B;
  --terracotta: #B85C38;
  --leaf: #5F7A4E;
  --display: "Lora", Georgia, serif;
  --body: "Nunito Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}

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

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(90% 60% at 50% -8%, #F6E9CB, transparent 60%),
    var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--turmeric); color: var(--card); }

a { color: var(--terracotta); }

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

/* header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
}

.wordmark span { color: var(--turmeric); font-style: italic; }

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 26px);
  font-size: 14px;
  font-weight: 700;
}

.site-header nav a {
  text-decoration: none;
  color: var(--ink-dim);
  transition: color 0.2s;
}

.site-header nav a:hover { color: var(--ink); }

.nav-cta {
  color: var(--card) !important;
  background: var(--terracotta);
  padding: 8px 16px;
  border-radius: 999px;
  transition: transform 0.2s, filter 0.2s;
}

.nav-cta:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* hero */

.hero {
  text-align: center;
  padding: clamp(60px, 9vh, 100px) var(--gutter) clamp(76px, 12vh, 130px);
  border-bottom: 1px solid var(--line);
}

.bowl-wrap { width: min(300px, 62vw); margin: 0 auto 10px; }

.bowl { width: 100%; height: auto; }

.steam path {
  opacity: 0.85;
  animation: steam 3.2s ease-in-out infinite;
}

.steam .s2 { animation-delay: 0.6s; }
.steam .s3 { animation-delay: 1.2s; }

@keyframes steam {
  0%   { transform: translateY(4px); opacity: 0; }
  35%  { opacity: 0.85; }
  100% { transform: translateY(-10px); opacity: 0; }
}

.kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(56px, 12vw, 150px);
  line-height: 0.98;
  letter-spacing: -0.015em;
}

.hero h1 em { font-style: italic; color: var(--turmeric); }

.lede {
  max-width: 56ch;
  margin: 24px auto 0;
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--ink-dim);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  font-weight: 700;
  font-size: 15px;
  color: var(--card);
  background: var(--terracotta);
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 30px;
  box-shadow: 0 10px 28px rgba(184, 92, 56, 0.28);
  transition: transform 0.15s, filter 0.2s;
}

.hero-cta:hover { filter: brightness(1.06); transform: translateY(-2px); }

/* sections */

.section { padding: clamp(60px, 9vh, 110px) var(--gutter); }

.story {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.story h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 5vw, 48px);
  margin-bottom: 18px;
}

.story h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  border-radius: 999px;
  background: var(--turmeric);
  margin: 18px auto 0;
}

.story p { color: var(--ink-dim); margin-top: 16px; text-align: left; }

.story em { color: var(--ink); }

/* recipe card */

.recipe-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(58, 42, 26, 0.10);
  overflow: hidden;
}

.recipe-head {
  text-align: center;
  padding: clamp(30px, 5vw, 44px) clamp(22px, 5vw, 48px) 0;
}

.recipe-head h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 6vw, 54px);
}

.recipe-meta {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.recipe-cols {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(24px, 4vw, 44px);
  padding: clamp(26px, 5vw, 44px) clamp(22px, 5vw, 48px);
}

.recipe-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.tadka-title { margin-top: 24px; }

.ingredients ul { list-style: none; }

.ingredients li {
  padding: 9px 0 9px 26px;
  border-bottom: 1px dashed var(--line);
  font-size: 15.5px;
  color: var(--ink);
  position: relative;
}

.ingredients li::before {
  content: "◆";
  position: absolute;
  left: 4px;
  color: var(--turmeric);
  font-size: 11px;
  top: 13px;
}

.method ol { padding-left: 22px; }

.method li {
  margin-bottom: 16px;
  color: var(--ink-dim);
  font-size: 15.5px;
}

.method li::marker { color: var(--terracotta); font-weight: 800; }

.method strong { color: var(--ink); }

.recipe-tips {
  background: color-mix(in srgb, var(--turmeric) 12%, var(--card));
  border-top: 1px solid var(--line);
  padding: clamp(22px, 4vw, 34px) clamp(22px, 5vw, 48px);
}

.recipe-tips ul { list-style: none; }

.recipe-tips li {
  padding: 6px 0 6px 26px;
  position: relative;
  font-size: 15px;
  color: var(--ink);
}

.recipe-tips li::before {
  content: "☘";
  position: absolute;
  left: 2px;
  color: var(--leaf);
}

/* footer */

.site-footer {
  padding: 34px var(--gutter) 48px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--ink-dim);
  font-size: 14px;
}

/* reveal */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .steam path { animation: none; opacity: 0.4; }
  .hero-cta:hover, .nav-cta:hover { transform: none; }
}

@media (max-width: 720px) {
  .recipe-cols { grid-template-columns: 1fr; }
}
