
:root {
  --cream: #f7f1e8;
  --paper: #fffdf8;
  --ink: #171714;
  --muted: #6d6961;
  --red: #ef5d49;
  --pink: #f0b7c6;
  --yellow: #f3ca63;
  --green: #aac99d;
  --blue: #a9c5da;
  --line: rgba(23, 23, 20, .14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, .88);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 700;
  width: max-content;
}
.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
}
.desktop-nav { display: flex; gap: 34px; font-size: 14px; }
.desktop-nav a, .instagram-link { transition: opacity .2s ease; }
.desktop-nav a:hover, .instagram-link:hover { opacity: .55; }
.instagram-link { justify-self: end; font-size: 14px; font-weight: 600; }
.menu-button, .mobile-menu { display: none; }

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 5vw;
  padding: 72px 6vw;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 30%, rgba(240,183,198,.22), transparent 35%),
    var(--paper);
}
.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: "Playfair Display", serif;
  letter-spacing: -.045em;
}
h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(58px, 7.1vw, 112px);
  line-height: .91;
}
h1 em, h2 em { font-weight: 600; }
.hero-text {
  max-width: 520px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, opacity .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { color: white; background: var(--ink); }
.button-light { color: var(--ink); background: white; }
.text-link { font-size: 14px; font-weight: 600; }
.text-link span { display: inline-block; margin-left: 8px; }

.hero-visual { position: relative; min-height: 560px; }
.hero-card-main {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border-radius: 44px;
  background: var(--pink);
  transform: rotate(2deg);
  box-shadow: 0 30px 80px rgba(73, 41, 42, .14);
}
.bread-art {
  flex: 1;
  display: grid;
  place-items: center;
  position: relative;
}
.bread-loaf, .large-loaf {
  position: relative;
  width: 76%;
  aspect-ratio: 1.35 / 1;
  border-radius: 48% 48% 23% 23% / 45% 45% 20% 20%;
  background: linear-gradient(145deg, #f9d994 0%, #d89042 75%);
  box-shadow:
    inset -18px -24px 40px rgba(123,73,33,.25),
    inset 12px 12px 28px rgba(255,242,200,.45);
}
.bread-loaf span, .large-loaf span {
  position: absolute;
  top: 9%;
  bottom: 16%;
  width: 28%;
  border-radius: 50%;
  border-left: 2px solid rgba(126, 70, 34, .23);
  border-right: 2px solid rgba(255, 240, 191, .35);
}
.bread-loaf span:nth-child(1), .large-loaf span:nth-child(1) { left: 7%; }
.bread-loaf span:nth-child(2), .large-loaf span:nth-child(2) { left: 36%; }
.bread-loaf span:nth-child(3), .large-loaf span:nth-child(3) { left: 65%; }
.bread-shadow {
  position: absolute;
  width: 62%;
  height: 10%;
  bottom: 16%;
  border-radius: 50%;
  background: rgba(92, 44, 35, .14);
  filter: blur(13px);
}
.hero-card-caption {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-top: 1px solid rgba(23,23,20,.18);
  padding-top: 22px;
}
.hero-card-caption span { font-size: 12px; text-transform: uppercase; letter-spacing: .13em; }
.hero-card-caption strong { font-family: "Playfair Display", serif; font-size: 34px; }
.floating-note {
  position: absolute;
  z-index: 3;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  font-size: 13px;
  font-weight: 600;
}
.note-one { top: 9%; left: -8%; transform: rotate(-6deg); }
.note-two { right: -4%; bottom: 25%; transform: rotate(6deg); }

.marquee {
  overflow: hidden;
  padding: 15px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--yellow);
}
.marquee-track {
  width: max-content;
  display: flex;
  animation: marquee 20s linear infinite;
}
.marquee span {
  padding-right: 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding: 120px 6vw; }
.section-heading {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: end;
  gap: 9vw;
  margin-bottom: 54px;
}
.section-heading h2, .recipes-toolbar h2, .detail-copy h2, .sofi-tips h2, .about-card h2 {
  margin-bottom: 0;
  font-size: clamp(46px, 5.3vw, 82px);
  line-height: .98;
}
.section-heading > p {
  max-width: 420px;
  margin-bottom: 4px;
  color: var(--muted);
  line-height: 1.65;
}
.categories-section { background: var(--cream); }
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.category-card {
  position: relative;
  aspect-ratio: .82;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 26px;
  border: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform .25s ease;
}
.category-card:hover { transform: translateY(-8px); z-index: 2; }
.category-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -80px;
  bottom: -80px;
  border: 1px solid rgba(23,23,20,.2);
  border-radius: 50%;
}
.category-index { font-size: 12px; }
.category-icon {
  align-self: center;
  font-family: "Playfair Display", serif;
  font-size: 84px;
  line-height: 1;
}
.category-title { font-family: "Playfair Display", serif; font-size: 34px; }
.category-arrow { position: absolute; top: 24px; right: 24px; font-size: 20px; }
.tortine { background: var(--pink); }
.drinkini { background: var(--blue); }
.dolcini { background: var(--yellow); }
.antipastini { background: var(--green); }

.recipes-section { background: var(--paper); }
.recipes-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 48px;
  margin-bottom: 34px;
}
.search-wrap { width: min(420px, 100%); }
.search-wrap label {
  display: block;
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.search-box {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ink);
}
.search-box input {
  width: 100%;
  padding: 14px 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
}
.search-box span { font-size: 22px; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 46px; }
.filter {
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.filter.active { color: white; background: var(--ink); border-color: var(--ink); }
.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.recipe-card { min-width: 0; }
.recipe-image {
  position: relative;
  aspect-ratio: 1.08;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.shokupan-image { background: #efb9c7; }
.recipe-badge, .coming-soon {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.mini-loaf {
  position: relative;
  width: 70%;
  height: 48%;
  border-radius: 48% 48% 22% 22%;
  background: linear-gradient(145deg, #f9d994, #d89042);
  box-shadow: inset -15px -18px 30px rgba(123,73,33,.22);
}
.mini-loaf i {
  position: absolute;
  top: 10%;
  bottom: 15%;
  width: 28%;
  border-radius: 50%;
  border-right: 2px solid rgba(255,255,255,.25);
}
.mini-loaf i:nth-child(1) { left: 7%; }
.mini-loaf i:nth-child(2) { left: 36%; }
.mini-loaf i:nth-child(3) { left: 65%; }
.placeholder-one { background: var(--blue); }
.placeholder-two { background: var(--green); }
.glass-art {
  position: relative;
  width: 30%;
  height: 53%;
  border: 3px solid var(--ink);
  border-top-width: 7px;
  border-radius: 8px 8px 28px 28px;
}
.glass-art::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -31%;
  width: 3px;
  height: 31%;
  background: var(--ink);
}
.glass-art::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: -34%;
  height: 3px;
  background: var(--ink);
}
.glass-art i {
  position: absolute;
  inset: 38% 9% 8%;
  border-radius: 4px 4px 20px 20px;
  background: rgba(239,93,73,.75);
}
.plate-art {
  position: relative;
  width: 65%;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
}
.plate-art::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(23,23,20,.35);
  border-radius: 50%;
}
.plate-art i {
  position: absolute;
  z-index: 2;
  width: 24%;
  aspect-ratio: 1;
  border-radius: 45%;
  background: var(--yellow);
}
.plate-art i:nth-child(1) { top: 23%; left: 22%; }
.plate-art i:nth-child(2) { top: 28%; right: 19%; background: var(--pink); }
.plate-art i:nth-child(3) { bottom: 19%; left: 40%; background: var(--red); }
.recipe-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.recipe-card h3 { margin: 8px 0 7px; font-family: "Playfair Display", serif; font-size: 30px; }
.recipe-card p { color: var(--muted); line-height: 1.55; }
.empty-state { padding: 50px 0; text-align: center; color: var(--muted); }

.recipe-detail { background: var(--cream); }
.recipe-detail-head {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr .85fr;
  align-items: center;
  gap: 5vw;
  padding: 110px 6vw 80px;
}
.detail-copy .lead {
  max-width: 650px;
  margin: 24px 0 38px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}
.quick-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}
.quick-info div { padding: 18px 10px 0 0; }
.quick-info span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.quick-info strong { font-size: 14px; }
.detail-illustration {
  min-height: 430px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 36% 36%;
  background: var(--yellow);
}
.large-loaf { width: 68%; }
.detail-illustration p {
  position: absolute;
  right: 7%;
  bottom: 6%;
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 19px;
  font-style: italic;
  transform: rotate(-5deg);
}
.sticky-recipe-nav {
  position: sticky;
  top: 78px;
  z-index: 30;
  display: flex;
  justify-content: center;
  gap: 34px;
  padding: 16px 5vw;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: rgba(247,241,232,.92);
  backdrop-filter: blur(14px);
}
.sticky-recipe-nav a, .sticky-recipe-nav button {
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.recipe-columns {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 8vw;
  padding: 100px 6vw 120px;
}
.ingredients-panel { align-self: start; position: sticky; top: 150px; }
.ingredients-panel h3 { margin-bottom: 34px; font-family: "Playfair Display", serif; font-size: 44px; }
.ingredient-group { padding: 25px 0; border-top: 1px solid var(--line); }
.ingredient-group h4 { margin: 0 0 18px; font-size: 14px; }
.ingredient-group label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 13px 0;
  color: #3d3a35;
  line-height: 1.45;
}
.ingredient-group input { margin-top: 4px; accent-color: var(--red); }
.small-note { color: var(--muted); font-size: 12px; }
.method-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 26px;
  padding: 0 0 50px;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--line);
}
.step-number {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: "Playfair Display", serif;
  font-size: 17px;
}
.method-step h3 { margin-bottom: 15px; font-family: "Playfair Display", serif; font-size: 36px; }
.method-step p, .method-step li { color: #4f4b45; font-size: 16px; line-height: 1.75; }
.tip {
  margin-top: 20px;
  padding: 18px 20px;
  border-left: 3px solid var(--red);
  background: rgba(255,255,255,.55);
  font-size: 14px;
  line-height: 1.55;
}

.equipment-section { padding: 110px 6vw; background: var(--paper); }
.section-heading.compact { margin-bottom: 40px; }
.equipment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.equipment-card {
  display: grid;
  grid-template-columns: 48% 1fr;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}
.equipment-image { min-height: 100%; overflow: hidden; background: #eee; }
.equipment-image.white { background: white; }
.equipment-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.equipment-image.white img { object-fit: contain; padding: 20px; }
.equipment-card > div:last-child { align-self: end; padding: 28px; }
.equipment-card span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.equipment-card h3 { margin: 10px 0; font-family: "Playfair Display", serif; font-size: 28px; }
.equipment-card p { margin: 0; color: var(--muted); line-height: 1.55; }

.sofi-tips {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 8vw;
  padding: 110px 6vw;
  color: white;
  background: var(--ink);
}
.tips-heading > span { display: block; margin-bottom: 38px; font-size: 38px; color: var(--yellow); }
.tips-list p {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 22px 0;
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
  font-size: 17px;
  line-height: 1.55;
}
.tips-list span { color: var(--yellow); font-size: 12px; }

.about-section { padding: 110px 6vw; background: var(--red); }
.about-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 80px;
  border-radius: 40px;
  background: var(--pink);
  text-align: center;
}
.about-card p:not(.eyebrow) {
  max-width: 620px;
  margin: 26px auto 34px;
  line-height: 1.75;
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
  align-items: end;
  padding: 80px 6vw 34px;
  background: var(--paper);
}
.footer-brand { font-family: "Playfair Display", serif; font-size: clamp(54px, 8vw, 118px); line-height: .85; }
footer > p { max-width: 260px; margin: 0; color: var(--muted); line-height: 1.55; }
.footer-links { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
footer small { grid-column: 1 / -1; padding-top: 40px; border-top: 1px solid var(--line); color: var(--muted); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .instagram-link { display: none; }
  .menu-button {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 8px;
    border: 0;
    background: transparent;
  }
  .menu-button span { width: 100%; height: 1px; background: var(--ink); }
  .mobile-menu {
    position: fixed;
    inset: 78px 0 auto;
    z-index: 90;
    display: none;
    flex-direction: column;
    padding: 28px 6vw;
    border-bottom: 1px solid var(--ink);
    background: var(--paper);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 20px; }
  .hero { grid-template-columns: 1fr; padding-top: 54px; }
  .hero-visual { min-height: 480px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .recipe-detail-head { grid-template-columns: 1fr; }
  .detail-illustration { min-height: 400px; }
  .quick-info { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .recipe-columns { grid-template-columns: 1fr; }
  .ingredients-panel { position: static; }
  .equipment-grid { grid-template-columns: 1fr; }
  .sofi-tips { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-links { align-items: end; }
}

@media (max-width: 650px) {
  .site-header { height: 68px; padding: 0 20px; }
  .mobile-menu { top: 68px; padding: 20px; }
  .brand { font-size: 21px; }
  .hero { min-height: auto; padding: 52px 20px 70px; }
  h1 { font-size: 53px; }
  .hero-text { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-visual { min-height: 370px; margin-top: 16px; }
  .hero-card-main { padding: 24px; border-radius: 30px; }
  .hero-card-caption strong { font-size: 27px; }
  .floating-note { font-size: 11px; }
  .note-one { left: -2%; }
  .note-two { right: -1%; }
  .section { padding: 82px 20px; }
  .section-heading h2, .recipes-toolbar h2, .detail-copy h2, .sofi-tips h2, .about-card h2 { font-size: 47px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { aspect-ratio: 1.35; }
  .category-icon { font-size: 65px; }
  .recipes-toolbar { align-items: stretch; flex-direction: column; }
  .recipe-grid { grid-template-columns: 1fr; }
  .recipe-detail-head { padding: 82px 20px 58px; }
  .detail-copy .lead { font-size: 17px; }
  .detail-illustration { min-height: 300px; }
  .sticky-recipe-nav { top: 68px; justify-content: flex-start; gap: 22px; overflow-x: auto; padding: 14px 20px; white-space: nowrap; }
  .recipe-columns { padding: 76px 20px 90px; }
  .method-step { grid-template-columns: 48px 1fr; gap: 16px; }
  .step-number { width: 44px; height: 44px; font-size: 14px; }
  .method-step h3 { font-size: 29px; }
  .equipment-section { padding: 82px 20px; }
  .equipment-card { grid-template-columns: 1fr; }
  .equipment-image { height: 280px; }
  .sofi-tips { padding: 82px 20px; }
  .about-section { padding: 70px 20px; }
  .about-card { padding: 55px 24px; border-radius: 28px; }
  footer { grid-template-columns: 1fr; padding: 70px 20px 30px; }
  .footer-links { align-items: flex-start; }
}

@media print {
  .site-header, .mobile-menu, .hero, .marquee, .categories-section, .recipes-section,
  .sticky-recipe-nav, .equipment-section, .sofi-tips, .about-section, footer,
  .detail-illustration { display: none !important; }
  .recipe-detail, .recipe-detail-head, .recipe-columns { background: white; padding: 0; }
  .recipe-detail-head { min-height: auto; display: block; }
  .detail-copy h2 { font-size: 48px; }
  .recipe-columns { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
  .ingredients-panel { position: static; }
  .method-step { break-inside: avoid; }
}


/* Premium upgrade */
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  transition: transform .2s ease, background .2s ease;
}
.icon-button:hover { transform: translateY(-2px); background: var(--cream); }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero-proof span::before {
  content: "✦";
  margin-right: 7px;
  color: var(--red);
}

.favorite-toggle {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,253,248,.92);
  cursor: pointer;
  font-size: 22px;
  transition: transform .2s ease;
}
.favorite-toggle:hover { transform: scale(1.07); }
.favorite-toggle.active { background: var(--ink); color: white; }

.recipe-tools {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}
.servings-tool,
.timer-launch {
  min-width: 180px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.5);
}
.servings-tool > span,
.timer-launch > span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button {
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  cursor: pointer;
}
.timer-launch { border: 0; cursor: pointer; text-align: left; }
.timer-launch strong { display: block; }

.floating-timer {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 140;
  min-width: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  color: white;
  background: var(--ink);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.24);
}
.floating-timer span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.floating-timer strong { font-size: 26px; font-variant-numeric: tabular-nums; }
.floating-timer button {
  border: 0; background: transparent; color: white; font-size: 24px; cursor: pointer;
}

.favorites-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 160;
  width: min(420px, 92vw);
  padding: 30px;
  background: var(--paper);
  transform: translateX(105%);
  transition: transform .35s ease;
  box-shadow: -20px 0 60px rgba(0,0,0,.12);
}
.favorites-drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 38px;
}
.drawer-head button {
  border: 0; background: transparent; font-size: 28px; cursor: pointer;
}
.drawer-favorite {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.drawer-favorite strong { font-family: "Playfair Display", serif; font-size: 23px; }
.drawer-favorite a { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.drawer-empty { color: var(--muted); padding-top: 24px; }
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(3px);
}

/* Dark mode */
body.dark {
  --paper: #151513;
  --cream: #211f1b;
  --ink: #f4efe6;
  --muted: #aaa49a;
  --line: rgba(255,255,255,.15);
  background: var(--paper);
}
body.dark .site-header,
body.dark .sticky-recipe-nav { background: rgba(21,21,19,.9); }
body.dark .button-dark { color: #171714; background: #f4efe6; }
body.dark .button-light { color: #171714; }
body.dark .search-box input { color: var(--ink); }
body.dark .ingredient-group label,
body.dark .method-step p,
body.dark .method-step li { color: #d3cdc2; }
body.dark .tip { background: rgba(255,255,255,.06); }
body.dark .servings-tool,
body.dark .timer-launch { background: rgba(255,255,255,.05); }
body.dark .stepper button { background: transparent; color: var(--ink); }
body.dark .equipment-card { background: #211f1b; }

@media (max-width: 980px) {
  .header-actions { display: none; }
}
@media (max-width: 650px) {
  .recipe-tools { flex-direction: column; }
  .servings-tool, .timer-launch { width: 100%; }
}
