:root {
  --cream: #efe6d7;
  --paper: #fffaf1;
  --paper-deep: #f8f0e3;
  --ink: #2c2622;
  --muted: #695d54;
  --burgundy: #6f2636;
  --burgundy-dark: #4f1b27;
  --olive: #6f7442;
  --olive-pale: #e8e8d5;
  --copper: #b85f3f;
  --line: #d5c5b2;
  --shadow: 0 22px 50px rgba(66, 42, 31, 0.12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, summary { font: inherit; }
.container { width: min(100% - 2rem, 80rem); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: white;
  background: var(--burgundy);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #d87951; outline-offset: 4px; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  color: var(--paper);
  background: rgba(79, 27, 39, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.header-inner {
  display: flex;
  min-height: 4.9rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark { display: flex; flex-direction: column; flex: 0 1 auto; line-height: 1.05; text-decoration: none; }
.wordmark span { font-family: var(--serif); font-size: clamp(1.25rem, 4vw, 1.55rem); font-weight: 700; white-space: nowrap; }
.wordmark small { margin-top: 0.35rem; color: #dfcdbd; font-size: 0.72rem; letter-spacing: 0.11em; text-transform: uppercase; }
.primary-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.25rem clamp(0.7rem, 3vw, 1.5rem); }
.primary-nav a {
  padding-block: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.primary-nav a:hover { border-color: #d7b793; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(4rem, 9vw, 8rem);
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 4.5rem 4.5rem,
    var(--burgundy);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 0.55rem; background: var(--olive); }
.hero__grid { display: grid; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.hero__content { max-width: 43rem; padding-block: 1rem; }
.eyebrow {
  margin: 0 0 1rem;
  color: #dcc6a9;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 10vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-wrap: balance;
}
.hero__intro {
  max-width: 34rem;
  margin: 1.75rem 0 2rem;
  color: #efe3d6;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.5;
}
.button-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0;
  color: white;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid #a7aa6c;
}
.button-link:hover { border-color: white; }
.hero__image-frame {
  position: relative;
  margin: 0;
  padding: 0.65rem;
  color: var(--burgundy-dark);
  background: var(--paper);
  box-shadow: 0 30px 70px rgba(38, 12, 18, 0.32);
}
.hero__image-frame::before {
  content: "Verin izbor";
  position: absolute;
  z-index: 1;
  right: -0.9rem;
  bottom: 3.2rem;
  display: grid;
  width: 5.4rem;
  aspect-ratio: 1;
  place-items: center;
  padding: 0.55rem;
  color: white;
  background: var(--olive);
  border: 4px solid var(--paper);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.05;
  text-align: center;
  transform: rotate(-7deg);
}
.hero__image-frame img { width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; }
.hero__image-frame figcaption { padding: 0.9rem 0.65rem 0.35rem; font-family: var(--serif); font-size: 1rem; font-style: italic; }

.about { padding: clamp(4rem, 9vw, 8rem) 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.about__grid { display: grid; gap: 1.2rem clamp(2.5rem, 7vw, 6rem); }
.about__label {
  margin: 0.5rem 0 0;
  color: var(--burgundy);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.about h2, .recipes__intro h2, .contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.about h2 { max-width: 12ch; }
.about__grid > div > p {
  max-width: 48rem;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.14rem, 2vw, 1.32rem);
}

.recipes { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--cream); }
.recipes__intro {
  display: grid;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.recipes__intro .eyebrow, .contact .eyebrow { color: var(--burgundy); }
.category-nav {
  padding: 1.2rem 1.25rem 1rem;
  background: var(--paper-deep);
  border-top: 4px solid var(--burgundy);
  box-shadow: 0 10px 28px rgba(66, 42, 31, 0.07);
}
.category-nav > p {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
}
.category-nav__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.category-nav a {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.35rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.category-nav a:nth-last-child(-n + 2) { border-bottom: 0; }
.category-nav a:hover { color: var(--burgundy); }
.category-nav a span { min-width: 0; }
.chapter-icon {
  display: block;
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  color: var(--burgundy);
  stroke-width: 1.7;
}

.recipe-section {
  position: relative;
  margin: 0 0 2.5rem;
  padding: clamp(1.4rem, 4vw, 3.5rem);
  background: var(--paper);
  border-top: 0.55rem solid var(--olive);
  box-shadow: var(--shadow);
}
.recipe-section:nth-of-type(even) { border-top-color: var(--burgundy); }
.section-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.2rem);
  align-items: start;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.chapter-icon--section {
  width: clamp(3.8rem, 7vw, 5.4rem);
  height: clamp(3.8rem, 7vw, 5.4rem);
  margin-top: -0.2rem;
  padding: 0.7rem;
  color: var(--burgundy);
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 50%;
}
.section-heading__chapter {
  margin: 0 0 0.3rem;
  color: var(--olive);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 4.5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}
.section-heading__description { max-width: 44rem; margin: 0.75rem 0 0; color: var(--muted); line-height: 1.55; }
.recipe-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; align-items: stretch; }
.recipe-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fffcf6;
  border: 1px solid var(--line);
  box-shadow: 0 7px 18px rgba(62, 39, 32, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.recipe-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(62, 39, 32, 0.12); }
.recipe-card:has(.recipe-disclosure[open]) {
  grid-column: 1 / -1;
  transform: none;
  box-shadow: 0 18px 38px rgba(62, 39, 32, 0.13);
}
.recipe-card__image-wrap { overflow: hidden; aspect-ratio: 4 / 3; background: #e1d6c5; }
.recipe-card__image, .recipe-card__image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}
.recipe-card:hover .recipe-card__image { transform: scale(1.025); }
.recipe-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.3rem 1.35rem 0; }
.recipe-card__meta {
  display: flex;
  min-height: 1.4rem;
  align-items: center;
  gap: 0.7rem;
  color: var(--burgundy);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.recipe-card__meta span + span::before, .recipe-copy__facts span + span::before { content: "·"; margin-right: 0.7rem; color: var(--line); }
.recipe-card h3 {
  margin: 0.45rem 0 0.6rem;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.recipe-card__body > p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.58; }
.recipe-card__tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.recipe-card__tags li {
  padding: 0.22rem 0.55rem;
  color: #55572f;
  background: var(--olive-pale);
  font-size: 0.75rem;
  font-weight: 800;
}
.recipe-disclosure { margin: auto -1.35rem 0; padding-top: 1.15rem; }
.recipe-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.35rem;
  color: var(--burgundy);
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  border-top: 1px solid var(--line);
}
.recipe-disclosure summary::-webkit-details-marker { display: none; }
.recipe-disclosure summary:hover { background: #f9f0e4; }
.recipe-disclosure__mark {
  position: relative;
  display: grid;
  width: 1.9rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  color: white;
  background: var(--burgundy);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 0;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease;
}
.recipe-disclosure__mark::before,
.recipe-disclosure__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.72rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}
.recipe-disclosure__mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.recipe-disclosure[open] .recipe-disclosure__mark { transform: rotate(45deg); }
.recipe-copy {
  padding: clamp(1.2rem, 4vw, 2.4rem);
  background:
    linear-gradient(rgba(111, 38, 54, 0.035) 1px, transparent 1px) 0 0 / 100% 1.95rem,
    #fdf7ec;
  border-top: 1px solid var(--line);
}
.recipe-copy__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
  color: var(--burgundy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.recipe-copy__columns { display: grid; gap: 1.8rem clamp(2rem, 6vw, 5rem); }
.recipe-copy h4 { margin: 0 0 0.8rem; font-family: var(--serif); font-size: 1.55rem; line-height: 1.2; }
.recipe-copy ul, .recipe-copy ol { margin: 0; padding-left: 1.25rem; }
.recipe-copy li { margin-bottom: 0.55rem; padding-left: 0.25rem; line-height: 1.55; }
.recipe-copy__method li::marker { color: var(--burgundy); font-family: var(--serif); font-size: 1.15em; font-weight: 700; }
.recipe-copy__note {
  margin: 1.75rem 0 0;
  padding-top: 1rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 0.98rem;
  font-style: italic;
}

.contact { padding: clamp(4rem, 9vw, 8rem) 0; text-align: center; background: var(--paper); }
.contact__inner { max-width: 50rem; }
.contact p:not(.eyebrow) { margin: 1.3rem auto 0.6rem; color: var(--muted); font-family: var(--serif); font-size: 1.18rem; }
.contact a {
  display: inline-block;
  max-width: 100%;
  margin-top: 0.7rem;
  overflow-wrap: anywhere;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 4vw, 1.55rem);
  font-weight: 700;
  text-underline-offset: 0.3rem;
}
.site-footer { padding: 2.2rem 0; color: #eadfd4; background: var(--burgundy-dark); }
.footer__inner { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; text-align: center; }
.site-footer p { margin: 0; }
.footer__signoff { font-family: var(--serif); font-style: italic; }
.site-footer a { font-size: 0.9rem; text-underline-offset: 0.25rem; }

@media (min-width: 42rem) {
  .container { width: min(100% - 3rem, 80rem); }
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.72fr); }
  .about__grid { grid-template-columns: minmax(9rem, 0.33fr) minmax(0, 1fr); }
  .recipes__intro { grid-template-columns: minmax(18rem, 0.72fr) minmax(24rem, 1.28fr); align-items: end; }
  .category-nav__links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
  .recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recipe-copy__columns { grid-template-columns: minmax(13rem, 0.75fr) minmax(0, 1.25fr); }
  .footer__inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 64rem) {
  .category-nav__links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .category-nav a:nth-last-child(-n + 4) { border-bottom: 0; }
  .recipe-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .recipe-card:has(.recipe-disclosure[open]) { display: grid; grid-template-columns: minmax(18rem, 0.62fr) minmax(0, 1.38fr); }
  .recipe-card:has(.recipe-disclosure[open]) .recipe-card__image-wrap { min-height: 100%; aspect-ratio: auto; }
  .recipe-card:has(.recipe-disclosure[open]) .recipe-card__image { height: 100%; min-height: 29rem; aspect-ratio: auto; }
}

@media (max-width: 40rem) {
  .header-inner { gap: 0.65rem; }
  .wordmark small { display: none; }
  .primary-nav { flex-wrap: nowrap; }
  .primary-nav a { font-size: 0.82rem; }
  .primary-nav a:not(:first-child) { display: none; }
  .hero__image-frame::before { right: -0.35rem; }
  .recipe-section { margin-inline: -0.25rem; }
}

@media (max-width: 23rem) {
  .primary-nav { gap: 0.45rem; }
  .category-nav__links { grid-template-columns: 1fr; }
  .category-nav a:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .category-nav a:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
