/*
Theme Name: Illegate House
Theme URI: https://illegate.com
Author: Illegate
Description: A dark, regal WordPress theme built around the House of Illegate crest: charcoal, black, antique gold, and restrained gothic detail.
Version: 1.2.4
Text Domain: illegate-house
*/

:root {
  --bg: #090907;
  --bg-soft: #0f0e0b;
  --panel: #15130f;
  --panel-2: #1b1812;
  --gold: #b79657;
  --gold-bright: #d8bd7a;
  --gold-dark: #6f5a32;
  --ivory: #f2ede2;
  --muted: #aaa292;
  --line: rgba(183,150,87,.22);
  --line-strong: rgba(216,189,122,.42);
  --shadow: 0 24px 70px rgba(0,0,0,.42);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% -10%, rgba(183,150,87,.12), transparent 34rem),
    linear-gradient(180deg, #0b0a08 0%, #090907 70%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}
a { color: var(--gold-bright); text-decoration: none; }
a:hover { color: #f1d899; }
img { max-width: 100%; height: auto; display: block; }
.site-shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9,9,7,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ivory);
}
.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(216,189,122,.24), 0 10px 30px rgba(0,0,0,.45);
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: .19em;
  font-weight: 700;
  font-size: .96rem;
}
.brand-est {
  color: var(--muted);
  font-size: .64rem;
  letter-spacing: .16em;
  margin-top: 5px;
  text-transform: uppercase;
}
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 26px;
  padding: 0;
  margin: 0;
  align-items: center;
}
.main-nav a {
  color: #d8d1c3;
  font-size: .9rem;
  letter-spacing: .06em;
}
.main-nav a:hover { color: var(--gold-bright); }
.menu-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--line-strong);
  color: var(--ivory);
  background: #11100d;
  border-radius: 12px;
  padding: 9px 12px;
}

.hero {
  padding: 88px 0 64px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero::before,
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 30%, rgba(183,150,87,.12), transparent 22rem),
    radial-gradient(circle at 75% 35%, rgba(183,150,87,.08), transparent 26rem),
    linear-gradient(180deg, rgba(255,255,255,.01), transparent);
}
.hero-grid,
.page-banner-grid,
.split-feature {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy-block {
  max-width: 620px;
}
.kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .38em;
  font-size: .72rem;
  font-weight: 800;
}
.hero h1,
.section-title,
.entry-title,
.card h3,
.post-body h3 {
  font-family: Georgia, "Times New Roman", serif;
}
.hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(3.4rem, 9vw, 6.4rem);
  line-height: .92;
  letter-spacing: .11em;
  text-transform: uppercase;
  text-shadow: 0 10px 35px rgba(0,0,0,.5);
}
.hero-copy,
.section-copy,
.entry-content,
.card p,
.post-body p {
  color: #c8c1b4;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero-art,
.page-banner-art,
.house-panel-art {
  display: flex;
  justify-content: center;
}
.hero-frame,
.house-panel,
.card,
.post-card,
.entry-card,
.page-banner {
  background:
    linear-gradient(145deg, rgba(255,255,255,.025), transparent 48%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-frame {
  padding: 22px;
  max-width: 520px;
  width: 100%;
  background:
    radial-gradient(circle at 50% 0%, rgba(216,189,122,.08), transparent 55%),
    linear-gradient(145deg, rgba(255,255,255,.03), transparent 48%),
    var(--panel);
}
.hero-crest-large,
.section-crest,
.page-banner-crest {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(216,189,122,.22), 0 22px 60px rgba(0,0,0,.45);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-weight: 750;
  letter-spacing: .035em;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(180deg, #c6a565, #9d7d43);
  color: #090907;
  border-color: #d9bd79;
}
.btn-primary:hover { color: #090907; background: #d8bd7a; }
.btn-ghost { color: var(--ivory); background: rgba(255,255,255,.025); }
.btn-ghost:hover { border-color: var(--gold-bright); background: rgba(183,150,87,.07); }

.section { padding: 92px 0; border-bottom: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-title {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  font-weight: 500;
}
.house-panel { padding: 42px; }
.house-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
}
.house-list span {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  color: #c9c2b5;
}
.house-list strong { color: var(--gold-bright); font-weight: 700; }
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cards-pages .card { min-height: 280px; }
.card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  right: -45px;
  top: -45px;
  border: 1px solid rgba(183,150,87,.12);
}
.card-index {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: .8rem;
  letter-spacing: .18em;
}
.card h3 { margin: 44px 0 10px; font-size: 1.55rem; }
.card-link {
  display: inline-flex;
  margin-top: 20px;
  font-weight: 700;
  letter-spacing: .04em;
}
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.post-card { overflow: hidden; }
.post-thumb {
  aspect-ratio: 16/10;
  background:
    radial-gradient(circle at 60% 40%, rgba(183,150,87,.18), transparent 30%),
    #11100d;
  border-bottom: 1px solid var(--line);
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 24px; }
.post-body h3 { margin: 0 0 10px; font-size: 1.45rem; }
.meta { color: var(--gold); font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; }
.site-main { min-height: 60vh; }
.entry-wrap { padding: 40px 0 84px; }
.entry-card { padding: clamp(26px, 5vw, 54px); }
.entry-title { font-size: clamp(2.4rem, 6vw, 4.8rem); margin: 8px 0 0; }
.entry-content h2,
.entry-content h3 { color: var(--ivory); font-family: Georgia, serif; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.page-banner {
  margin: 34px auto 0;
  position: relative;
  overflow: hidden;
}
.page-banner-grid {
  padding: 42px;
}
.page-banner-post { margin-top: 28px; }
.page-banner-copy { max-width: 620px; }
.page-banner-crest { max-width: 360px; }
.site-footer {
  padding: 38px 0 48px;
  background: #070706;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}
.footer-copy { color: #898274; font-size: .86rem; margin-top: 8px; }
.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}
.footer-nav a { color: #a9a192; font-size: .84rem; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 70px;
    background: #0f0e0b;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { display: block; padding: 10px 8px; }
  .hero-grid,
  .page-banner-grid,
  .split-feature,
  .projects,
  .footer-grid,
  .cards { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  .page-banner-grid,
  .house-panel { padding: 28px; }
}
@media (max-width: 520px) {
  .site-shell { width: min(calc(100% - 28px), var(--max)); }
  .hero h1 { letter-spacing: .055em; }
  .brand-name { letter-spacing: .12em; font-size: .88rem; }
}

/* -------------------------------------------------------------------------
   v1.0.2 — Kitchen + Bar of Illegate
   ------------------------------------------------------------------------- */
.collection-hero {
  margin: 34px auto 0;
  width: min(calc(100% - 40px), var(--max));
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 45%, rgba(216,189,122,.12), transparent 23rem),
    linear-gradient(145deg, rgba(255,255,255,.025), transparent 50%),
    #12100c;
  box-shadow: var(--shadow);
}
.collection-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -180px;
  top: -210px;
  border: 1px solid rgba(216,189,122,.12);
  box-shadow: 0 0 0 68px rgba(216,189,122,.02), 0 0 0 136px rgba(216,189,122,.012);
}
.collection-hero-inner {
  min-height: 330px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding-top: 58px;
  padding-bottom: 58px;
  position: relative;
  z-index: 1;
}
.collection-title {
  margin: 10px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: .96;
  font-weight: 500;
}
.collection-copy { max-width: 700px; color: #c8c1b4; font-size: 1.12rem; }
.collection-mark {
  width: 155px;
  height: 155px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--gold-bright);
  font: 700 5.2rem/1 Georgia, serif;
  background: radial-gradient(circle, rgba(183,150,87,.12), transparent 70%);
  box-shadow: inset 0 0 50px rgba(183,150,87,.06);
}
.bar-monogram {
  width: 180px;
  height: 180px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: radial-gradient(circle, rgba(183,150,87,.12), transparent 68%);
}
.bar-monogram span { color: var(--gold-bright); font: 700 5.5rem/.85 Georgia, serif; }
.bar-monogram small { color: var(--muted); letter-spacing: .22em; }
.collection-wrap { padding: 36px 0 92px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.02);
  color: #c9c2b5;
  font-size: .84rem;
}
.chip:hover, .chip.is-active { border-color: var(--gold-bright); color: var(--ivory); background: rgba(183,150,87,.08); }
.recipe-grid, .drink-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.recipe-card, .drink-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.025), transparent 48%), var(--panel);
  box-shadow: var(--shadow);
}
.recipe-card-image, .drink-card-image { display: block; aspect-ratio: 4/3; background: #11100d; overflow: hidden; border-bottom: 1px solid var(--line); }
.recipe-card-image img, .drink-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.recipe-card:hover img, .drink-card:hover img { transform: scale(1.025); }
.recipe-card-body, .drink-card-body { padding: 25px; }
.recipe-card h2, .drink-card h2 { margin: 7px 0 10px; font-family: Georgia, serif; font-size: 1.65rem; line-height: 1.1; }
.recipe-card p, .drink-card p { color: var(--muted); }
.quick-facts { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line); }
.quick-facts span { min-width: 78px; color: var(--ivory); font-size: .86rem; }
.quick-facts small { display: block; color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: .58rem; margin-bottom: 3px; }

.recipe-single-hero, .drink-single-hero { padding: 58px 0 44px; border-bottom: 1px solid var(--line); }
.recipe-hero-grid, .drink-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 42px; align-items: center; }
.recipe-hero-copy h1, .drink-hero-copy h1 { margin: 12px 0 18px; font: 500 clamp(3rem, 7vw, 6.3rem)/.94 Georgia, serif; }
.recipe-lede { max-width: 680px; color: #c8c1b4; font-size: 1.12rem; }
.back-link { display: inline-block; margin-bottom: 26px; color: var(--muted); font-size: .85rem; }
.recipe-hero-image, .drink-hero-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: #11100d;
  box-shadow: var(--shadow);
}
.recipe-hero-image img, .drink-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.recipe-fact-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.recipe-fact-row span {
  min-width: 115px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
}
.recipe-fact-row small { display: block; color: var(--gold); text-transform: uppercase; letter-spacing: .13em; font-size: .58rem; margin-bottom: 3px; }
.recipe-fact-row strong { font-size: .92rem; color: var(--ivory); }
.recipe-sheet {
  margin-top: 46px;
  margin-bottom: 92px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.018), transparent 48%), #11100d;
  box-shadow: var(--shadow);
}
.recipe-sheet-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 36px; }
.recipe-sheet-head h2 { margin: 6px 0 0; font: 500 clamp(2rem, 4vw, 3.4rem)/1 Georgia, serif; }
.recipe-columns { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; }
.ingredient-panel, .method-panel { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.018); }
.ingredient-panel h2, .method-panel h2 { margin-top: 0; font: 500 1.7rem Georgia, serif; }
.ingredient-list { list-style: none; padding: 0; margin: 0; }
.ingredient-list li { padding: 11px 0; border-bottom: 1px solid rgba(183,150,87,.13); color: #d8d1c3; }
.ingredient-list li::before { content: "◆"; color: var(--gold-dark); font-size: .58rem; margin-right: 10px; vertical-align: 2px; }
.method-list { list-style: none; padding: 0; margin: 0; counter-reset: steps; }
.method-list li { position: relative; padding: 0 0 22px 52px; color: #d8d1c3; counter-increment: steps; }
.method-list li::before { content: counter(steps); position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--gold-bright); font: 700 .8rem Georgia, serif; }
.house-note { margin-top: 28px; padding: 26px 28px; border-left: 3px solid var(--gold); background: rgba(183,150,87,.05); border-radius: 0 16px 16px 0; }
.house-note p { margin-bottom: 0; color: #d8d1c3; }
.recipe-story { margin-top: 38px; padding-top: 32px; border-top: 1px solid var(--line); }
.bar-sheet { background: radial-gradient(circle at 85% 20%, rgba(183,150,87,.055), transparent 22rem), #0e0d0a; }
.bar-note { border-left-color: var(--gold-bright); }
.bar-card::after, .kitchen-card::after {
  content: "";
  position: absolute;
  inset: auto -45px -45px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(216,189,122,.08);
}

@media (max-width: 980px) {
  .recipe-grid, .drink-grid { grid-template-columns: repeat(2,1fr); }
  .recipe-hero-grid, .drink-hero-grid, .recipe-columns { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .collection-hero { width: min(calc(100% - 28px), var(--max)); }
  .collection-hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .collection-mark, .bar-monogram { width: 110px; height: 110px; }
  .collection-mark, .bar-monogram span { font-size: 3.5rem; }
  .recipe-grid, .drink-grid { grid-template-columns: 1fr; }
  .recipe-sheet-head { align-items: flex-start; flex-direction: column; }
}
@media print {
  .site-header, .site-footer, .print-button, .back-link, .recipe-single-hero, .drink-single-hero { display:none !important; }
  body { background:#fff !important; color:#000 !important; }
  .recipe-sheet { margin:0; border:0; box-shadow:none; background:#fff; color:#000; }
  .recipe-sheet * { color:#000 !important; border-color:#bbb !important; }
}


/* -------------------------------------------------------------------------
   v1.1.0 — Plugin-backed Kitchen + Bar page hubs
   ------------------------------------------------------------------------- */
.collection-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}
.collection-search {
  display: flex;
  gap: 10px;
  max-width: 560px;
}
.collection-search input[type="search"] {
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #11100d;
  color: var(--ivory);
  outline: none;
}
.collection-search input[type="search"]:focus { border-color: var(--gold-bright); }
.collection-intro {
  max-width: 820px;
  color: #c8c1b4;
  margin-top: 16px;
}
.collection-intro > :first-child { margin-top: 0; }
.collection-intro > :last-child { margin-bottom: 0; }
.house-favorite {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--gold-bright);
  background: rgba(183,150,87,.08);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .63rem;
  font-weight: 800;
}
.source-credit {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}
.source-credit a { text-decoration: underline; text-underline-offset: 3px; }
.empty-house-card {
  grid-column: 1 / -1;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.house-page-copy { margin: 20px 0 0; }
.house-page-copy p { color: #c8c1b4; }
@media (max-width: 700px) {
  .collection-toolbar { grid-template-columns: 1fr; }
  .collection-search { max-width: none; }
}

/* -------------------------------------------------------------------------
   v1.1.1 — structured recipe / bar cards + live quantity scaling
   ------------------------------------------------------------------------- */
.scale-toolbar {
  display:flex;
  justify-content:space-between;
  gap:22px;
  align-items:center;
  margin:0 0 30px;
  padding:18px 20px;
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(90deg,rgba(183,150,87,.08),rgba(255,255,255,.018));
}
.scale-label{display:block;color:var(--ivory);font:600 1rem Georgia,serif}.scale-toolbar small{display:block;color:var(--muted);margin-top:2px}.scale-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.scale-step,.scale-preset{height:38px;min-width:38px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:#11100d;color:var(--ivory);cursor:pointer}.scale-step:hover,.scale-preset:hover,.scale-preset.is-active{border-color:var(--gold-bright);background:rgba(183,150,87,.12);color:var(--gold-bright)}.scale-yield-input{width:68px;height:38px;border:1px solid var(--line-strong);border-radius:10px;background:#090907;color:var(--ivory);text-align:center;font-weight:700}.bar-scale{background:linear-gradient(90deg,rgba(216,189,122,.07),rgba(255,255,255,.012))}
.structured-ingredients li{display:grid;grid-template-columns:minmax(34px,auto) minmax(44px,auto) 1fr;column-gap:7px;align-items:baseline}.structured-ingredients li::before{display:none}.ingredient-amount{color:var(--gold-bright);font-weight:800;font-variant-numeric:tabular-nums}.ingredient-unit{color:#d8d1c3;font-weight:600}.ingredient-name-text{color:#d8d1c3}.ingredient-note-text{grid-column:3;display:block;color:var(--muted);font-style:italic;margin-top:2px}.ingredient-amount:empty+.ingredient-unit:empty+.ingredient-name-text{grid-column:1/-1}.method-list li{line-height:1.65}.recipe-story p{max-width:820px}.recipe-grid,.drink-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),360px));justify-content:start}.recipe-card,.drink-card{height:100%;display:flex;flex-direction:column}.recipe-card-body,.drink-card-body{display:flex;flex-direction:column;flex:1}.recipe-card-body .quick-facts,.drink-card-body .quick-facts{margin-top:auto}.collection-wrap .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;margin:28px 4px 0;padding:0 12px;border:1px solid var(--line);border-radius:999px;color:var(--ivory)}.collection-wrap .page-numbers.current{border-color:var(--gold-bright);color:var(--gold-bright);background:rgba(183,150,87,.09)}
@media(max-width:700px){.scale-toolbar{align-items:flex-start;flex-direction:column}.scale-controls{justify-content:flex-start}.structured-ingredients li{grid-template-columns:auto auto 1fr}.ingredient-note-text{grid-column:1/-1;margin-left:0}}
@media print{.scale-toolbar{display:none!important}.structured-ingredients li{break-inside:avoid}.method-list li{break-inside:avoid}}


/* -------------------------------------------------------------------------
   v1.1.2 — The House as homepage, favicon fallback, default media cards
   ------------------------------------------------------------------------- */
.house-home-copy-section { padding-top: 0; }
.house-home-copy .entry-content { color: #c8c1b4; }
.house-home-copy .entry-content > :first-child { margin-top: 0; }
.house-door-list { display: grid; gap: 14px; margin-top: 26px; }
.house-door {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.02);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.house-door strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ivory);
  font-size: 1.02rem;
}
.house-door span { color: var(--muted); }
.house-door:hover {
  transform: translateY(-2px);
  border-color: var(--gold-bright);
  background: rgba(183,150,87,.08);
}
.recipe-card-image img,
.drink-card-image img,
.recipe-hero-image img,
.drink-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* -------------------------------------------------------------------------
   v1.2.0 — minimal 4:3 fallback artwork + restrained collection cards
   ------------------------------------------------------------------------- */
.recipe-card-image, .drink-card-image,
.recipe-hero-image, .drink-hero-image { aspect-ratio: 4 / 3; }
.recipe-card-image img, .drink-card-image img,
.recipe-hero-image img, .drink-hero-image img { display:block; width:100%; height:100%; object-fit:cover; }
.illegate-placeholder-image { object-position:center; }
@media (max-width: 760px) {
  .recipe-grid, .drink-grid { grid-template-columns: 1fr; }
}


/* v1.2.1 — Cookbook page */
.cookbook-page-wrap{padding:58px 0 82px}.cookbook-page-intro{max-width:720px;color:var(--muted);font-size:1.05rem}.cookbook-page-intro p:first-child{margin-top:0}.cookbook-page-wrap .illegate-cookbook-public{margin-top:0}


/* v1.2.2 — dedicated House Projects */
.project-card .post-body { display:flex; flex-direction:column; }
.project-card .card-link { margin-top:auto; padding-top:10px; }
.project-single-hero { padding-bottom:28px; }
.project-sheet { margin-top:0; }
.project-sheet .entry-content { max-width:900px; }
.project-facts { margin-top:22px; }


/* v1.2.3 — structured House Project pages */
.project-section{padding:28px 0;border-bottom:1px solid var(--line)}
.project-section:first-child{padding-top:0}.project-section:last-child{border-bottom:0}
.project-section h2{margin:.2rem 0 1rem;font-family:Georgia,serif;font-size:clamp(1.65rem,3vw,2.3rem)}
.project-tag-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.project-tag-list span{display:inline-flex;align-items:center;min-height:34px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:rgba(183,150,87,.06);color:#d8d1c3;font-size:.88rem}
.project-step-list{max-width:920px}.project-note{margin-top:28px}
.project-facts{flex-wrap:wrap}.project-facts>span{min-width:130px}


/* v1.2.4 — grouped ingredient sections */
.structured-ingredients .ingredient-section-heading{display:block!important;grid-template-columns:none!important;margin:18px 0 3px;padding:9px 0 7px;border-top:1px solid rgba(216,189,122,.24);border-bottom:1px solid rgba(216,189,122,.12);color:var(--gold-bright);font:700 .86rem Georgia,serif;letter-spacing:.08em;text-transform:uppercase}
.structured-ingredients .ingredient-section-heading:first-child{margin-top:0;border-top:0;padding-top:0}
.structured-ingredients .ingredient-section-heading span{display:block}
@media print{.structured-ingredients .ingredient-section-heading{break-after:avoid;page-break-after:avoid}}
