:root {
  color-scheme: dark;
  --bg: #0d0d0d;
  --card: #1a1a1a;
  --line: #202020;
  --ink: #e8e7e4;
  --muted: #8f8f8f;
  --accent: #f8654b;
  --accent-soft: #ff9280;
  --pill-line: #5b5b5b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 400 17px/1.6 Inter, sans-serif;
}

a { color: inherit; text-underline-offset: 0.18em; }
a:hover { color: var(--accent); text-decoration-thickness: 2px; }

header,
main,
footer {
  width: min(100% - 2rem, 760px);
  margin-inline: auto;
}

header {
  padding: 3rem 0 2rem;
  border-bottom: 3px solid var(--accent);
}

.ins-header-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.ins-tile {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.ins-tile img {
  width: 64px;
  height: 64px;
}

.ins-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font: 700 0.78rem/1 Space Mono, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--accent);
  font-family: "EB Garamond", serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.ins-hero {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  line-height: 1.05;
}

.ins-card-title { font-size: clamp(1.6rem, 4.5vw, 2.1rem); }

.intro {
  max-width: 62ch;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.recipe-link {
  display: inline-block;
  margin: 1.25rem 0 0;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
}

.recipe-link:hover {
  border-color: var(--accent-soft);
  background: var(--accent-soft);
  color: var(--bg);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.75rem 0 0;
}

nav a {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--pill-line);
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.method,
.country {
  margin: 2rem 0 0;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  scroll-margin-top: 1rem;
}

.method p,
.country p { margin: 1rem 0 0; }

.country ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.country li + li {
  margin-top: 0;
  padding-top: 0.75rem;
  border-top: 1px dotted var(--pill-line);
}

.method p:last-child,
.country ul:last-child { margin-bottom: 0; }

.note { color: var(--muted); }

footer {
  margin-top: 2rem;
  padding: 1.5rem 0 4rem;
  border-top: 1px dotted var(--pill-line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 520px) {
  header { padding-top: 2rem; }
  body { font-size: 16px; }
  .ins-header-row { flex-direction: column; gap: 1.25rem; }
}
