/*
Theme Name: Taylor Golub
Theme URI: https://taylorgolub.com
Author: Taylor Golub
Description: A clean, editorial recipe theme with serif typography, black & white palette, and script accents.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: taylorgolub
*/

/* ============================================
   Taylor Golub WordPress Theme
   Clean, flowing, black & white
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Sacramento&family=Pinyon+Script&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --ink: #0a0a0a;
  --ink-soft: #2a2a2a;
  --muted: #6b6b6b;
  --rule: #e4e4e4;
  --paper: #ffffff;
  --paper-warm: #fafafa;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --f-script: 'Sacramento', 'Pinyon Script', cursive;
  --f-serif:  'Cormorant Garamond', Georgia, serif;
  --f-sans:   'Montserrat', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: opacity .2s ease;
}
a:hover { opacity: .6; }

h1, h2, h3, h4 {
  font-family: var(--f-serif);
  font-weight: 300;
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
}

h1 { font-size: clamp(40px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.2vw, 42px); }
h3 { font-size: clamp(20px, 1.8vw, 26px); }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .28em;
}

.section { padding: clamp(56px, 7vw, 110px) 0; }
.section--tight { padding: clamp(40px, 5vw, 80px) 0; }

/* ============================================
   HEADER
   ============================================ */

.site-header {
  background: var(--ink);
  color: #fff;
}
.site-header a { color: #fff; }

.utility-bar {
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 38px;
  gap: 18px;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-socials a {
  width: 18px; height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.header-socials svg { width: 16px; height: 16px; display: block; }

.brand-bar {
  text-align: center;
  padding: clamp(28px, 4vw, 48px) 0 clamp(20px, 3vw, 32px);
}

.site-title-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  opacity: 1 !important;
}

.brand-icon {
  width: clamp(54px, 5vw, 68px);
}
.brand-icon svg { width: 100%; height: auto; display: block; }

.brand-wordmark {
  font-family: var(--f-script);
  font-size: clamp(52px, 6.2vw, 78px);
  line-height: .9;
  color: #fff;
  margin-top: 4px;
}

.brand-tagline {
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: .42em;
  text-transform: lowercase;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
}

/* Primary Nav */
#site-navigation {
  border-top: 1px solid rgba(255,255,255,.15);
  background: var(--ink);
  z-index: 100;
}

/* Sticky state applied by JS once nav scrolls to top */
#site-navigation.nav-sticky {
  position: fixed;
  left: 0;
  right: 0;
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 56px;
  gap: clamp(28px, 4vw, 56px);
}

#site-navigation ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  justify-content: center;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  height: 56px;
  width: 100%;
}
#site-navigation li { position: relative; height: 100%; display: flex; align-items: center; }
#site-navigation a {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  padding: 4px 2px;
}
#site-navigation .current-menu-item > a::after,
#site-navigation .current-menu-parent > a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px; background: #fff;
}

/* Dropdown */
#site-navigation ul ul {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 6px);
  background: var(--ink);
  border: 1px solid rgba(255,255,255,.18);
  min-width: 320px;
  padding: 10px 0;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  height: auto;
  flex-direction: column;
  gap: 0;
}
#site-navigation li:hover > ul,
#site-navigation li:focus-within > ul {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
#site-navigation ul ul li { height: auto; display: block; }
#site-navigation ul ul a {
  display: block;
  padding: 11px 22px;
  white-space: nowrap;
  text-align: left;
}
#site-navigation ul ul a:hover {
  background: rgba(255,255,255,.08);
  opacity: 1;
}

/* Mobile nav toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 12px 0;
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  #site-navigation ul {
    display: none;
    flex-direction: column;
    height: auto;
    gap: 0;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,.15);
  }
  #site-navigation ul.toggled { display: flex; }
  #site-navigation li { height: auto; }
  #site-navigation ul ul {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 0;
    display: none;
  }
  #site-navigation li.open > ul { display: flex; }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--ink);
  color: #fff;
  padding: clamp(56px, 6vw, 88px) 0 clamp(28px, 3vw, 40px);
  text-align: center;
}
.site-footer a { color: #fff; }
.site-footer .brand-wordmark { font-size: clamp(46px, 5.6vw, 64px); color: #fff; }

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 22px 0 28px;
}
.footer-socials a { color: #fff; }
.footer-socials svg { width: 18px; height: 18px; }

.footer-links {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 26px;
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 28px;
  list-style: none;
  padding: 0;
}

.footer-meta {
  font-family: var(--f-sans);
  font-size: 11px;
  color: rgba(255,255,255,.6);
  letter-spacing: .08em;
}
.footer-meta a { color: rgba(255,255,255,.6); }
.footer-meta a:hover { color: #fff; opacity: 1; }

/* ============================================
   SECTION HEADINGS
   ============================================ */

.section-head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(34px, 4vw, 56px); margin-bottom: 8px; }
.section-head h2 em {
  font-family: var(--f-script);
  font-style: normal;
  font-size: 1.1em;
}
.section-head__rule {
  width: 36px; height: 1px; background: var(--ink);
  margin: 18px auto 0;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  overflow: hidden;
}
.hero__media {
  width: 100%;
  aspect-ratio: 16 / 8.2;
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
}
.hero__overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.35) 100%);
}
.hero__overlay-inner { max-width: 720px; padding: 0 var(--gutter); }
.hero__eyebrow {
  color: #fff; font-size: 11px; font-weight: 500;
  letter-spacing: .42em; text-transform: uppercase; margin-bottom: 18px;
}
.hero__title {
  font-family: var(--f-script);
  font-size: clamp(54px, 8vw, 110px);
  color: #fff; line-height: .95;
}
.hero__sub {
  font-family: var(--f-serif);
  font-style: italic; font-size: clamp(18px, 1.6vw, 22px);
  color: #fff; margin-top: 14px;
}
.hero__cta {
  display: inline-block; margin-top: 30px;
  padding: 14px 28px; border: 1px solid #fff;
  font-family: var(--f-sans); font-size: 11px;
  letter-spacing: .32em; text-transform: uppercase; color: #fff;
}
.hero__cta:hover { background: #fff; color: var(--ink); opacity: 1; }

/* ============================================
   RECIPE CARDS
   ============================================ */

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px);
}
@media (max-width: 900px) { .recipe-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .recipe-grid { grid-template-columns: 1fr; } }

.recipe-card { display: block; text-align: center; }
.recipe-card__img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: #f1f1f1;
  margin-bottom: 18px;
  overflow: hidden;
  transition: transform .4s ease;
}
.recipe-card:hover .recipe-card__img { transform: scale(1.015); opacity: 1; }
.recipe-card__cat {
  font-family: var(--f-sans); font-size: 10px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; color: var(--muted);
}
.recipe-card__title {
  font-family: var(--f-serif); font-size: clamp(20px, 1.5vw, 24px);
  font-weight: 400; margin: 8px 0 6px; line-height: 1.2;
}
.recipe-card__meta {
  font-family: var(--f-serif); font-style: italic; font-size: 14px; color: var(--muted);
}

/* ============================================
   CATEGORIES GRID
   ============================================ */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px clamp(20px, 2.4vw, 36px);
}
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cat-grid { grid-template-columns: 1fr 1fr; } }

.cat { display: block; text-align: center; }
.cat__img {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #f1f1f1;
  border: 1px solid var(--rule);
  margin-bottom: 18px;
  filter: grayscale(1);
  transition: filter .35s ease, transform .35s ease;
}
.cat:hover .cat__img { filter: grayscale(0); transform: translateY(-3px); opacity: 1; }
.cat__label {
  font-family: var(--f-sans); font-size: 11px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
}

/* ============================================
   WELCOME / SPLIT
   ============================================ */

.welcome {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 800px) { .welcome { grid-template-columns: 1fr; } }
.welcome__image {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: #f1f1f1;
}
.welcome__body .eyebrow { margin-bottom: 14px; }
.welcome__body h2 { font-size: clamp(34px, 3.6vw, 52px); margin-bottom: 22px; }
.welcome__body h2 em {
  font-family: var(--f-script); font-style: normal; font-size: 1.25em;
}
.welcome__body p {
  font-family: var(--f-serif); font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65; color: var(--ink-soft);
}
.welcome__sign { font-family: var(--f-script); font-size: 38px; margin-top: 22px; }
.welcome__cta {
  display: inline-block; margin-top: 18px; padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--f-sans); font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
}

/* ============================================
   QUOTE STRIP
   ============================================ */

.quote-strip {
  text-align: center;
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.quote-strip p {
  font-family: var(--f-serif); font-style: italic; font-weight: 300;
  font-size: clamp(22px, 2.4vw, 32px); line-height: 1.4;
  max-width: 820px; margin: 0 auto;
}
.quote-mark {
  font-family: var(--f-script); font-size: 64px;
  display: block; margin-bottom: 8px; line-height: 1;
}

/* ============================================
   FEATURED IN
   ============================================ */

.featured-in { text-align: center; }
.featured-in .eyebrow { margin-bottom: 28px; }
.featured-in__list {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: clamp(28px, 5vw, 64px);
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-head {
  text-align: center;
  padding: clamp(48px, 6vw, 88px) 0 clamp(32px, 4vw, 56px);
}
.page-head h1 {
  font-family: var(--f-script);
  font-size: clamp(64px, 8vw, 108px);
  font-weight: 400; line-height: 1; margin-bottom: 8px;
}
.page-head__sub {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(16px, 1.4vw, 20px); color: var(--muted);
}
.page-head__rule {
  width: 48px; height: 1px; background: var(--ink); margin: 22px auto 0;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 5vw, 88px);
  align-items: center;
  padding: clamp(40px, 5vw, 80px) 0;
}
@media (max-width: 820px) { .about-hero { grid-template-columns: 1fr; } }
.about-hero__img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: #f1f1f1;
}
.about-hero h1 {
  font-family: var(--f-script); font-size: clamp(60px, 7vw, 96px);
  font-weight: 400; line-height: .95; margin-bottom: 10px;
}
.about-hero__lead {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px); margin-bottom: 24px; line-height: 1.45;
}
.about-hero__body p {
  font-family: var(--f-serif); font-size: 18px;
  color: var(--ink-soft); line-height: 1.7;
}
.about-hero__sign { font-family: var(--f-script); font-size: 44px; margin-top: 20px; }

.about-creed { }
.about-creed > .container > .eyebrow,
.about-creed > .container > h2,
.about-creed > .container > div[style] { text-align: center; }
.about-creed h2 {
  font-family: var(--f-script); font-size: clamp(42px, 5vw, 64px); margin-bottom: 30px;
}
.about-creed__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px); margin-top: 32px;
}
@media (max-width: 800px) { .about-creed__grid { grid-template-columns: 1fr; } }
.about-creed__num {
  font-family: var(--f-script); font-size: 56px; line-height: 1; margin-bottom: 4px;
}
.about-creed__item h3 {
  font-family: var(--f-serif); font-style: italic; font-size: 24px; margin-bottom: 10px;
}
.about-creed__item p {
  font-family: var(--f-serif); color: var(--ink-soft); font-size: 16px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(36px, 5vw, 80px);
  padding: clamp(40px, 5vw, 80px) 0;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info__portrait {
  width: 140px; height: 140px; border-radius: 50%;
  background-size: cover; background-position: center;
  margin-bottom: 24px; border: 1px solid var(--rule);
  background-color: #f1f1f1;
}
.contact-info h2 {
  font-family: var(--f-script); font-size: clamp(46px, 5vw, 64px); margin-bottom: 18px;
}
.contact-info__lead {
  font-family: var(--f-serif); font-size: 18px; font-style: italic;
  color: var(--ink-soft); margin-bottom: 28px;
}
.contact-info dt {
  font-family: var(--f-sans); font-size: 10px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; color: var(--muted);
  margin-top: 22px; margin-bottom: 4px;
}
.contact-info dd {
  margin: 0; font-family: var(--f-serif); font-size: 19px;
}

.contact-form { display: grid; gap: 18px; }
.contact-form label {
  font-family: var(--f-sans); font-size: 10px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; color: var(--muted);
  display: block; margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
  width: 100%; border: none; border-bottom: 1px solid var(--rule);
  background: transparent; padding: 10px 0;
  font-family: var(--f-serif); font-size: 18px; color: var(--ink); outline: none;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--ink); }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block; background: var(--ink); color: #fff;
  border: 1px solid var(--ink); padding: 14px 34px;
  font-family: var(--f-sans); font-size: 11px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: #fff; color: var(--ink); opacity: 1; }

/* ============================================
   PROSE (privacy, long-form)
   ============================================ */

.prose {
  max-width: 760px; margin: 0 auto;
  padding: clamp(40px, 5vw, 80px) var(--gutter);
  font-family: var(--f-serif); font-size: 17px;
  color: var(--ink-soft); line-height: 1.8;
}
.prose h1 {
  font-family: var(--f-script); font-size: clamp(56px, 6vw, 84px);
  font-weight: 400; text-align: center; margin-bottom: 8px;
}
.prose h2 {
  font-family: var(--f-serif); font-size: 28px; font-style: italic;
  font-weight: 400; margin: 40px 0 14px; color: var(--ink);
}

/* ============================================
   WORDPRESS SPECIFIC FIXES
   ============================================ */

.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-family: var(--f-serif); font-style: italic;
  font-size: 14px; color: var(--muted); text-align: center;
  margin-top: 8px;
}
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1em; }

/* Search form */
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] {
  flex: 1; border: none; border-bottom: 1px solid var(--ink);
  padding: 8px 0; font-family: var(--f-serif); font-size: 18px;
  outline: none; background: transparent;
}
.search-form button { background: var(--ink); color: #fff; border: none; padding: 8px 20px; cursor: pointer; }

/* ============================================
   RECIPE HERO PLACEHOLDER
   ============================================ */

.recipe-hero__img--placeholder {
  background-color: #f0eeeb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.recipe-hero__placeholder-icon {
  width: 120px;
  opacity: .18;
}
.recipe-hero__placeholder-icon svg {
  width: 100%;
  height: auto;
  stroke: var(--ink);
}

/* ============================================
   RECIPE HERO IMAGE
   ============================================ */

.recipe-hero { width: 100%; }
.recipe-hero__img {
  width: 100%;
  aspect-ratio: 16 / 6.5;
  background-size: cover;
  background-position: center;
  background-color: #f0eeeb;
}

/* ============================================
   RECIPE INTRO
   ============================================ */

.recipe-intro {
  text-align: center;
  max-width: 760px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: 0 var(--gutter);
}
.recipe-intro__cat {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.recipe-intro h1 {
  font-family: var(--f-serif);
  font-size: clamp(36px, 4.5vw, 62px);
  font-weight: 300;
  margin-bottom: 18px;
  line-height: 1.1;
}
.recipe-intro__desc {
  font-family: var(--f-serif);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--ink-soft);
  margin-top: 16px;
}

/* ============================================
   RECIPE META BAR — Prep / Cook / Total / Serves
   ============================================ */

.recipe-meta {
  display: flex;
  justify-content: center;
  gap: clamp(32px, 5vw, 80px);
  max-width: 760px;
  margin: clamp(28px, 3vw, 40px) auto;
  padding: clamp(20px, 2.5vw, 28px) var(--gutter);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.recipe-meta__item { text-align: center; }
.recipe-meta__label {
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.recipe-meta__value {
  font-family: var(--f-serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 300;
  color: var(--ink);
}

/* ============================================
   RECIPE INTRO — rating
   ============================================ */

.recipe-intro__rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
}
.recipe-intro__rating .stars {
  display: inline-flex;
  gap: 3px;
  color: var(--ink);
}

/* ============================================
   RECIPE VIDEO
   ============================================ */

.recipe-video {
  max-width: 920px;
  margin: clamp(48px, 5vw, 72px) auto;
  padding: 0 var(--gutter);
}
.recipe-video__caption {
  text-align: center;
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--muted);
  margin-bottom: 18px;
}
.recipe-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.recipe-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   RECIPE BODY — ingredients + directions
   ============================================ */

.recipe-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 5vw, 80px);
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(48px, 5vw, 80px) var(--gutter);
}
@media (max-width: 800px) { .recipe-body { grid-template-columns: 1fr; } }

.recipe-body h2 {
  font-family: var(--f-script);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 400;
  margin-bottom: 22px;
  color: var(--ink);
}

/* Ingredients */
.ingredients ul {
  list-style: none;
  padding: 0; margin: 0;
}
.ingredients li {
  font-family: var(--f-serif);
  font-size: 17px;
  padding: 10px 0;
  border-bottom: 1px dotted var(--rule);
  display: flex;
  align-items: baseline;
  gap: 12px;
  cursor: pointer;
  transition: color .2s ease;
}
.ingredients li::before {
  content: '';
  width: 10px; height: 10px;
  border: 1px solid var(--ink);
  flex-shrink: 0;
  transform: translateY(2px);
  transition: background .2s ease;
}
.ingredients li.checked {
  color: var(--muted);
  text-decoration: line-through;
}
.ingredients li.checked::before {
  background: var(--ink);
}
.ingredients li.ingredients__group {
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: none;
  padding-top: 22px;
  cursor: default;
}
.ingredients li.ingredients__group::before { display: none; }

/* Directions */
.directions ol {
  list-style: none;
  padding: 0; margin: 0;
  counter-reset: step;
}
.directions li {
  font-family: var(--f-serif);
  font-size: 17px;
  line-height: 1.7;
  padding: 0 0 22px 56px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--rule);
  counter-increment: step;
  position: relative;
  color: var(--ink-soft);
}
.directions li:last-child { border-bottom: none; }
.directions li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: -2px;
  font-family: var(--f-script);
  font-size: 32px;
  color: var(--ink);
  line-height: 1;
}

/* ============================================
   COMMENTS
   ============================================ */

.comments {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(56px, 6vw, 88px);
  border-top: 1px solid var(--rule);
  padding-top: clamp(40px, 5vw, 64px);
}
.comments__head {
  text-align: center;
  margin-bottom: 40px;
}
.comments__head .eyebrow { margin-bottom: 12px; }
.comments__head h2 {
  font-family: var(--f-script);
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: 400;
  margin-bottom: 8px;
}
.comments__head p {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--muted);
}

/* Comment form */
.comment-form-wrap {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 36px 0;
  margin-bottom: 48px;
}

/* Hand-built comment form */
.tg-comment-form {
  display: grid;
  gap: 28px;
}

.tg-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}
@media (max-width: 560px) { .tg-form__row { grid-template-columns: 1fr; } }

.tg-form__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tg-form__field label {
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
}

.tg-form__sublabel {
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}

.tg-comment-form input[type="text"],
.tg-comment-form input[type="email"] {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  padding: 10px 0;
  font-family: var(--f-serif);
  font-size: 17px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease;
  box-shadow: none;
  border-radius: 0;
  -webkit-appearance: none;
}
.tg-comment-form input[type="text"]:focus,
.tg-comment-form input[type="email"]:focus {
  border-color: var(--ink);
}

.tg-comment-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  padding: 10px 0;
  font-family: var(--f-serif);
  font-size: 17px;
  color: var(--ink);
  outline: none;
  min-height: 130px;
  resize: vertical;
  transition: border-color .2s ease;
  box-shadow: none;
  border-radius: 0;
  -webkit-appearance: none;
}
.tg-comment-form textarea:focus {
  border-color: var(--ink);
}

/* Star rating */
.tg-form__field--rating { gap: 12px; }

.tg-stars {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.tg-star {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--ink);
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 34px;
  height: 34px;
  transition: transform .15s ease;
}
.tg-star:hover { transform: scale(1.15); }

/* Both SVGs occupy the same space */
.tg-star svg {
  width: 26px;
  height: 26px;
  display: block;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

/* Outline visible by default, filled hidden */
.tg-star__filled  { opacity: 0; }
.tg-star__outline { opacity: 1; }

/* Hover or active: show filled, hide outline */
.tg-star.active .tg-star__filled,
.tg-star.hover  .tg-star__filled  { opacity: 1; }
.tg-star.active .tg-star__outline,
.tg-star.hover  .tg-star__outline { opacity: 0; }

/* Submit button */
.tg-comment-form .btn {
  margin-top: 4px;
}

/* Hide default WP comment form leftovers */
#respond #reply-title,
#respond .comment-notes,
#respond .logged-in-as { display: none; }


/* Comment list */
.comment-list {
  list-style: none;
  padding: 0; margin: 0;
}
.comment {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.comment--reply {
  margin-left: 74px;
  border-top: 1px dashed var(--rule);
  border-bottom: none;
  padding-top: 22px;
  margin-top: 4px;
}
.comment__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #efefef;
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-serif);
  font-size: 22px;
  color: var(--ink);
  flex-shrink: 0;
}
.comment--author .comment__avatar {
  background: var(--ink);
  color: #fff;
}
.comment__head {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 10px; margin-bottom: 10px;
}
.comment__name {
  font-family: var(--f-serif);
  font-size: 18px; font-weight: 600;
}
.comment--author .comment__name::after {
  content: 'Taylor';
  font-family: var(--f-sans);
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  padding: 3px 8px;
  margin-left: 8px;
  vertical-align: middle;
}
.comment__date {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.comment__stars {
  display: inline-flex; gap: 2px; color: var(--ink);
}
.comment__body {
  font-family: var(--f-serif);
  font-size: 16px; line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.comment__actions { display: flex; gap: 16px; }
.comment__reply-link a,
.comment-reply-link {
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  text-decoration: none;
}

/* Ingredient checkoff JS */
