/* Pizza Delivery Kitchen — US recipe editorial */
:root {
  --tomato: #b91c1c;
  --tomato-dark: #7f1d1d;
  --basil: #166534;
  --basil-light: #22c55e;
  --cream: #fff7ed;
  --crust: #fef3c7;
  --surface: #ffffff;
  --text: #292524;
  --muted: #78716c;
  --border: #e7e5e4;
  --shadow: 0 8px 32px rgba(127, 29, 29, .08);
  --shadow-lg: 0 20px 56px rgba(127, 29, 29, .12);
  --font: 'Outfit', system-ui, sans-serif;
  --serif: 'Bitter', Georgia, serif;
  --radius: 12px;
  --radius-lg: 20px;
  --max: 1180px;
  --article: 700px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body { font-family: var(--font); color: var(--text); background: var(--cream); line-height: 1.72; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tomato); text-decoration: none; transition: color .2s; }
a:hover { color: var(--basil); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

.skip-link { position: absolute; top: -100px; left: 1rem; background: var(--tomato-dark); color: #fff; padding: .5rem 1rem; z-index: 999; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }

.site-header { background: rgba(255,247,237,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 200; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .95rem 0; }
.logo { display: flex; align-items: center; gap: .7rem; color: var(--tomato-dark); font-weight: 700; }
.logo__icon { color: var(--tomato); flex-shrink: 0; }
.logo__text { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
.nav { display: flex; gap: 1.75rem; }
.nav a { color: var(--muted); font-size: .86rem; font-weight: 600; letter-spacing: .02em; }
.nav a.active, .nav a:hover { color: var(--tomato-dark); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); }

.btn { display: inline-flex; align-items: center; padding: .85rem 1.6rem; font-size: .84rem; font-weight: 700; border-radius: 100px; transition: all .25s; letter-spacing: .03em; text-transform: uppercase; border: none; cursor: pointer; font-family: inherit; }
.btn--primary { background: var(--tomato); color: #fff; box-shadow: 0 4px 18px rgba(185,28,28,.35); }
.btn--primary:hover { background: var(--tomato-dark); color: #fff; transform: translateY(-2px); }
.btn--outline { border: 2px solid rgba(255,255,255,.65); color: #fff; background: transparent; }
.btn--outline:hover { background: rgba(255,255,255,.12); color: #fff; }

.hero { position: relative; min-height: 85vh; display: flex; align-items: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(127,29,29,.88) 0%, rgba(41,37,36,.75) 50%, rgba(22,101,52,.55) 100%); }
.hero__content { position: relative; z-index: 2; padding: 5rem 1.5rem; color: #fff; max-width: 680px; }
.eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .22em; color: #fecaca; font-weight: 700; margin-bottom: 1.1rem; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; line-height: 1.06; margin-bottom: 1.2rem; }
.hero__lead { font-size: 1.1rem; opacity: .92; margin-bottom: 2rem; line-height: 1.8; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.metrics { background: var(--surface); border-bottom: 1px solid var(--border); padding: 2.5rem 0; }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.metric__num { display: block; font-family: var(--serif); font-size: 2.5rem; font-weight: 700; color: var(--tomato); line-height: 1; }
.metric__label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: .4rem; font-weight: 600; }

.section { padding: 5rem 0; }
.section-head { max-width: 600px; margin-bottom: 2.75rem; }
.section-head h2 { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: var(--tomato-dark); margin-bottom: .75rem; }
.section-head p { color: var(--muted); font-size: 1.02rem; }

.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.card { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
.card__image-link { display: block; overflow: hidden; aspect-ratio: 16/10; }
.card--featured .card__image-link { aspect-ratio: auto; min-height: 300px; }
.card__image-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__image-link img { transform: scale(1.04); }
.card__body { padding: 1.65rem; }
.card__cat { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--basil); font-weight: 700; }
.card h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; margin: .5rem 0 .7rem; line-height: 1.25; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--tomato); }
.card p { font-size: .92rem; color: var(--muted); margin-bottom: .9rem; }
.card__meta { font-size: .78rem; color: var(--muted); }

.topics { padding: 4rem 0 5rem; background: var(--tomato-dark); color: #fff; }
.topics h2 { font-family: var(--serif); font-size: 1.85rem; font-weight: 700; margin-bottom: 1.5rem; text-align: center; }
.topics__grid { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.topic-pill { padding: .6rem 1.25rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 100px; color: #fff; font-size: .84rem; font-weight: 600; transition: background .2s; }
.topic-pill:hover { background: rgba(34,197,94,.25); color: #fff; }

.article-page { padding-bottom: 4rem; }
.article-hero { position: relative; height: 44vh; min-height: 320px; max-height: 500px; overflow: hidden; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--cream) 0%, rgba(127,29,29,.35) 100%); }
.article-wrap { margin-top: -3.5rem; position: relative; z-index: 2; }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 .4rem; }
.article-header { max-width: var(--article); margin-bottom: 2rem; }
.article-header__cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--basil); font-weight: 700; }
.article-header h1 { font-family: var(--serif); font-size: clamp(1.9rem, 4.5vw, 2.85rem); font-weight: 700; color: var(--tomato-dark); line-height: 1.12; margin: .5rem 0 .9rem; }
.article-header__meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .84rem; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: 1fr 250px; gap: 2.5rem; align-items: start; }
.article__body { max-width: var(--article); }
.article__body .lead { font-size: 1.15rem; color: #44403c; line-height: 1.85; margin-bottom: 1.75rem; font-family: var(--serif); }
.article__body h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--tomato-dark); margin: 2.25rem 0 .9rem; }
.article__body h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--text); margin: 1.5rem 0 .6rem; }
.article__body p { margin-bottom: 1.1rem; color: #44403c; }
.article__body ul, .article__body ol { margin: 0 0 1.25rem 1.5rem; color: #44403c; }
.article__body li { margin-bottom: .45rem; }
.article-figure { margin: 1.75rem 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.article-figure img { width: 100%; }
.article-figure figcaption { padding: .85rem 1.2rem; background: var(--surface); font-size: .82rem; color: var(--muted); border-top: 1px solid var(--border); }

.recipe-box { background: var(--crust); border: 1px solid #fde68a; border-radius: var(--radius-lg); padding: 1.5rem 1.75rem; margin: 2rem 0; }
.recipe-box h3 { font-family: var(--serif); font-size: 1.1rem; color: var(--tomato-dark); margin: 0 0 1rem; }
.recipe-box ul { margin: 0 0 0 1.25rem; }
.recipe-box li { margin-bottom: .35rem; }

.callout { background: linear-gradient(135deg, rgba(185,28,28,.06), rgba(22,101,52,.08)); border-left: 4px solid var(--basil); padding: 1.35rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.75rem 0; }
.callout strong { display: block; color: var(--tomato-dark); margin-bottom: .4rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.callout p { margin: 0; font-size: .94rem; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; margin: 1.75rem 0; }
.stat-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.15rem; text-align: center; }
.stat-box__num { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--tomato); }
.stat-box__label { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: .25rem; font-weight: 600; }

.related { position: sticky; top: 5.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.35rem; }
.related h3 { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .85rem; font-weight: 700; }
.related__item { display: block; padding: .65rem 0; border-bottom: 1px solid var(--border); font-size: .86rem; font-weight: 600; color: var(--text); line-height: 1.4; }
.related__item:last-child { border: none; }
.related__item:hover { color: var(--tomato); }

.page { padding: 4rem 0 5rem; }
.page h1 { font-family: var(--serif); font-size: 2.5rem; font-weight: 700; color: var(--tomato-dark); margin-bottom: 1rem; }
.page h2 { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--tomato-dark); margin: 1.75rem 0 .65rem; }
.page-lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 1.75rem; max-width: 620px; }
.page p { margin-bottom: 1rem; color: #44403c; max-width: 680px; }
.page ul { margin: 0 0 1rem 1.5rem; color: #44403c; }
.contact-email { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.75rem; }
.contact-form { max-width: 500px; display: grid; gap: 1.1rem; }
.contact-form label { display: grid; gap: .35rem; font-size: .86rem; font-weight: 600; }
.contact-form input, .contact-form textarea { padding: .85rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font: inherit; background: var(--surface); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--tomato); }
.form-ok { color: var(--basil); font-weight: 600; margin-top: .35rem; }

.site-footer { background: var(--tomato-dark); color: rgba(255,255,255,.8); padding: 3.5rem 0 1.75rem; margin-top: 1.5rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: #fff; display: block; margin-bottom: .4rem; }
.footer-brand p { font-size: .88rem; opacity: .85; margin-top: .3rem; }
.footer-note { font-size: .76rem !important; opacity: .5 !important; margin-top: .85rem !important; }
.footer-col h4 { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: #fecaca; margin-bottom: .85rem; font-weight: 700; }
.footer-col a { display: block; color: rgba(255,255,255,.75); font-size: .86rem; margin-bottom: .45rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.25rem; font-size: .76rem; opacity: .45; }

@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr; }
  .card--featured { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .related { position: static; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav { position: fixed; top: 0; right: -100%; width: 85%; max-width: 300px; height: 100vh; background: var(--surface); flex-direction: column; padding: 5rem 1.5rem 2rem; box-shadow: var(--shadow-lg); transition: right .3s; z-index: 300; }
  .nav.open { right: 0; }
  .hero { min-height: 75vh; }
  .article-hero { height: 34vh; }
}
