/* ==========================================================================
   THE LONG GAME KITCHEN — Design System & Layout Styles
   Faithful to https://longgamekitchen.com/ + Interactive Recipe Library
   ========================================================================== */

:root {
  --olive: #b2bf96;
  --olive-tint: rgba(178, 191, 150, 0.24);
  --olive-deep: #98a878;
  --yellow: #ffef9d;
  --ink: #1f2a1f;
  --muted: #2e3a2d;
  --surface: #ffffff;
  --surface-soft: #f7f8f4;
  --line: rgba(178, 191, 150, 0.55);
  --card-divider: rgba(31, 42, 31, 0.18);
  --cta-border: rgba(94, 107, 62, 0.35);
  --font-display: "Montserrat", "Inter", system-ui, -apple-system, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

button {
  font-family: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visibility */
:focus-visible {
  outline: 2.5px solid var(--ink);
  outline-offset: 2px;
}

.lgk-hero :focus-visible,
.lgk-banner :focus-visible {
  outline-color: var(--yellow);
}

/* ==========================================================================
   SECTION 0 — FULL-BLEED HERO
   ========================================================================== */

.lgk-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 96px 40px 96px 96px;
  overflow: hidden;
  background: #1a211a;
}

.lgk-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.lgk-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(16, 22, 16, 0.72) 0%,
    rgba(16, 22, 16, 0.56) 60%,
    rgba(16, 22, 16, 0.42) 100%
  );
  z-index: 1;
}

.lgk-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 727px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.lgk-hl {
  max-width: 600px;
  text-align: center;
  font-family: var(--font-display);
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.lgk-hl h1 {
  margin: 0;
  font-weight: inherit;
}

.lgk-hl .a {
  display: block;
  font-weight: 500;
  font-size: clamp(16px, 1.7vw, 22px);
  letter-spacing: 0.42em;
  line-height: 1;
  margin-bottom: 6px;
  padding-left: 0.42em;
}

.lgk-hl .b {
  display: block;
  font-weight: 700;
  font-size: clamp(38px, 4.7vw, 62px);
  letter-spacing: 0.015em;
  line-height: 1.08;
}

.lgk-hl .c {
  display: block;
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: 0.36em;
  line-height: 1.1;
  margin-top: 2px;
  padding-left: 0.36em;
}

.lgk-hl .r {
  width: 64px;
  height: 3px;
  background: var(--olive);
  border-radius: 2px;
  margin: 16px auto 14px;
}

.lgk-hl .d {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 500;
  font-size: clamp(12px, 1.15vw, 15px);
  letter-spacing: 0.24em;
  white-space: nowrap;
}

.lgk-hl .d .rule {
  display: inline-block;
  width: clamp(28px, 5.5vw, 72px);
  height: 1px;
  background: rgba(255, 255, 255, 0.75);
}

/* Email Signup Form */
.lgk-signup {
  max-width: 600px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 10px;
  padding: 6px 6px 6px 8px;
}

.lgk-signup input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  background: transparent;
  padding: 0 12px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  color: #030712;
  outline: none;
}

.lgk-signup input[type="email"]::placeholder {
  color: #52525b;
}

.lgk-signup button[type="submit"] {
  flex-shrink: 0;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: var(--olive);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.lgk-signup button[type="submit"]:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.lgk-signup-msg {
  margin: -14px 0 0;
  max-width: 600px;
  min-height: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--yellow);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.lgk-signup-msg:empty {
  display: none;
}

.lgk-signup-msg.is-error {
  color: #ffd5d5;
}

/* Hero Bullet Highlights */
.lgk-hp {
  max-width: 600px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lgk-hp li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
}

.lgk-hp li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.lgk-hp-ic {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 239, 157, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.lgk-hp p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.3;
  color: #ffffff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   SHARED CTA BUTTON (.lgk-go)
   ========================================================================== */

.lgk-go {
  margin-top: 36px;
  text-align: center;
}

.lgk-go--left {
  text-align: left;
}

.lgk-go a {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  border: 1.5px solid var(--cta-border);
  border-radius: 12px;
  padding: 17px 32px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.005em;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.lgk-go a:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

/* ==========================================================================
   SECTION 1 — INTRO STATEMENT (OLIVE BAND)
   ========================================================================== */

.lgk-intro {
  background: var(--olive);
  padding: clamp(56px, 9vw, 112px) 24px;
  text-align: center;
}

.lgk-intro-inner {
  max-width: 860px;
  margin: 0 auto;
}

.lgk-intro h2 {
  max-width: 820px;
  margin: 0 auto 28px;
  font-weight: 800;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.lgk-intro h2 em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: #ffffff;
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}

.lgk-intro p {
  max-width: 640px;
  margin: 0 auto 18px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--muted);
}

.lgk-intro p:last-of-type {
  margin-bottom: 0;
}

/* ==========================================================================
   SECTIONS 2 & 6 — FULL-BLEED 4×2 INTERACTIVE PHOTO MOSAICS
   ========================================================================== */

.lgk-mosaic-wrap {
  width: 100%;
  background: #e6eadf;
}

.lgk-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
}

.lgk-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  background: #dde3d2;
  text-align: left;
}

.lgk-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.lgk-tile:hover img,
.lgk-tile:focus-visible img {
  transform: scale(1.045);
}

.lgk-tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(
    to top,
    rgba(22, 31, 22, 0.88) 0%,
    rgba(22, 31, 22, 0.42) 45%,
    rgba(22, 31, 22, 0) 100%
  );
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.lgk-tile:hover .lgk-tile-overlay,
.lgk-tile:focus-visible .lgk-tile-overlay {
  opacity: 1;
}

.lgk-tile-cat {
  display: inline-block;
  align-self: flex-start;
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.lgk-tile-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 6px;
}

.lgk-tile-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.lgk-tile-cta {
  color: var(--yellow);
}

/* ==========================================================================
   SECTION 3 — FEATURE CARDS GRID (WHITE BAND)
   ========================================================================== */

.lgk-in {
  background: var(--surface);
  padding: clamp(56px, 8vw, 104px) 24px;
}

.lgk-in-wrap {
  max-width: 1080px;
  margin: 0 auto;
}

.lgk-in h2 {
  text-align: center;
  margin: 0 0 40px;
  font-weight: 800;
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.lgk-in-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.lgk-card {
  background: var(--olive);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.lgk-card-ic {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lgk-card-body {
  border-left: 1px solid var(--card-divider);
  padding-left: 24px;
}

.lgk-card h3 {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.lgk-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ==========================================================================
   SECTION 4 — INTERACTIVE RECIPE GALLERY (OLIVE BAND)
   ========================================================================== */

.lgk-gal {
  background: var(--olive);
  padding: clamp(56px, 8vw, 104px) 24px;
}

.lgk-gal-wrap {
  max-width: 1080px;
  margin: 0 auto;
}

.lgk-gal h2 {
  text-align: center;
  margin: 0 0 12px;
  font-weight: 800;
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.lgk-gal .s {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 28px;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--muted);
}

/* Category Filter Pills */
.lgk-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 24px;
}

.lgk-filter-btn {
  border: 1.5px solid rgba(31, 42, 31, 0.25);
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.lgk-filter-btn:hover {
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

.lgk-filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--yellow);
}

.lgk-filter-count {
  opacity: 0.78;
  font-weight: 500;
  margin-left: 4px;
}

.lgk-gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.lgk-gal-card {
  border-radius: 12px;
}

.lgk-gal-card .lgk-tile-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(31, 42, 31, 0.76);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  transition: opacity 0.2s ease;
}

.lgk-gal-card:hover .lgk-tile-badge,
.lgk-gal-card:focus-visible .lgk-tile-badge {
  opacity: 0;
}

.lgk-empty-saved {
  grid-column: 1 / -1;
  text-align: center;
  background: rgba(255, 255, 255, 0.45);
  border: 1.5px dashed rgba(31, 42, 31, 0.25);
  border-radius: 16px;
  padding: 40px 24px;
  color: var(--ink);
}

.lgk-empty-saved p {
  margin: 0;
  font-size: 16px;
}

/* ==========================================================================
   SECTION 5 — FOUNDER BIO & STATS (WHITE BAND)
   ========================================================================== */

.lgk-f {
  background: var(--surface);
  padding: clamp(56px, 8vw, 104px) 24px;
}

.lgk-f-wrap {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.lgk-f-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 60% center;
  border-radius: 16px;
  display: block;
}

.lgk-f-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.lgk-f-collage .lgk-tile {
  border-radius: 14px;
}

.lgk-f-copy h2 {
  margin: 0 0 20px;
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.lgk-f-copy p {
  margin: 0 0 16px;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.65;
  color: var(--muted);
}

.lgk-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.lgk-stat {
  border: 1.5px solid rgba(31, 42, 31, 0.35);
  border-radius: 12px;
  padding: 16px 22px;
  min-width: 150px;
  text-align: center;
}

.lgk-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
}

.lgk-stat span {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ==========================================================================
   SECTION 7 — FAQ ACCORDION (WHITE BAND)
   ========================================================================== */

.lgk-q {
  background: var(--surface);
  padding: clamp(56px, 8vw, 104px) 24px;
}

.lgk-q-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.lgk-q h2 {
  text-align: center;
  margin: 0 0 36px;
  font-weight: 800;
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.lgk-faq-list {
  border-top: 1px solid var(--line);
}

.lgk-faq-list details {
  border-bottom: 1px solid var(--line);
}

.lgk-faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.lgk-faq-list summary::-webkit-details-marker {
  display: none;
}

.lgk-faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: var(--olive);
  transition: transform 0.2s ease;
}

.lgk-faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.lgk-faq-list details p {
  margin: 0 0 22px;
  padding-right: 32px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

/* ==========================================================================
   SECTION 8 — BOTTOM FULL-WIDTH COLLAGE EMAIL BANNER
   ========================================================================== */

.lgk-banner {
  position: relative;
  overflow: hidden;
  padding: 96px 40px;
  background: #1a211a;
}

.lgk-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.lgk-banner-scrim {
  position: absolute;
  inset: 0;
  background: #000000;
  opacity: 0.5;
  z-index: 1;
}

.lgk-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 687px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.lgk-banner h2 {
  margin: 0;
  font-weight: 800;
  font-size: 50px;
  line-height: 1.1;
  letter-spacing: 0;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.lgk-signup--banner {
  max-width: 687px;
  border-color: #494949;
  padding: 4px;
}

.lgk-banner .lgk-signup-msg {
  margin-top: -24px;
}

/* ==========================================================================
   SECTION 9 — OLIVE LAUNCH FOOTER BANNER
   ========================================================================== */

.lgk-cta {
  background: var(--olive);
  padding: 48px 24px 56px;
  text-align: center;
  color: var(--ink);
}

.lgk-cta-inner {
  max-width: 520px;
  margin: 0 auto;
}

.lgk-cta-pill {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 28px;
}

.lgk-cta-ic {
  width: 64px;
  height: 64px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lgk-cta p {
  max-width: 460px;
  margin: 0 auto;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.5;
  color: var(--ink);
}

/* ==========================================================================
   INTERACTIVE RECIPE MODAL
   ========================================================================== */

.lgk-modal[hidden] {
  display: none;
}

.lgk-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lgk-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 25, 18, 0.72);
  backdrop-filter: blur(4px);
}

.lgk-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  max-height: min(90dvh, 880px);
  background: var(--surface);
  border-radius: 20px;
  border: 1.5px solid rgba(31, 42, 31, 0.14);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: lgkModalIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lgkModalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lgk-modal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.lgk-modal-nav,
.lgk-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lgk-modal-counter {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  min-width: 54px;
  text-align: center;
}

.lgk-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid rgba(31, 42, 31, 0.2);
  background: #ffffff;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.lgk-icon-btn:hover {
  background: var(--olive-tint);
  border-color: var(--ink);
}

.lgk-icon-btn.is-saved {
  background: var(--yellow);
  border-color: var(--cta-border);
}

.lgk-icon-btn.is-saved svg {
  fill: var(--ink);
}

.lgk-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1.5px solid rgba(31, 42, 31, 0.2);
  background: #ffffff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lgk-close-btn:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.lgk-modal-scroll {
  overflow-y: auto;
  padding: 28px;
}

.lgk-modal-hero {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.lgk-modal-photo {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #e8ece0;
}

.lgk-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lgk-modal-cat {
  display: inline-block;
  background: var(--olive);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.lgk-modal-intro h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.lgk-modal-summary {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}

.lgk-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.lgk-meta-pill {
  background: var(--surface-soft);
  border: 1px solid rgba(31, 42, 31, 0.16);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--muted);
}

.lgk-meta-pill strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

/* Long Game Science Callout */
.lgk-science-box {
  background: var(--olive-tint);
  border-left: 4px solid var(--ink);
  border-radius: 0 12px 12px 0;
  padding: 16px 18px;
}

.lgk-science-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}

.lgk-science-box p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.58;
  color: var(--muted);
}

.lgk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lgk-tag {
  background: #ffffff;
  border: 1px solid rgba(31, 42, 31, 0.18);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}

/* Ingredients & Method Two-Column Body */
.lgk-modal-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  padding-top: 26px;
}

.lgk-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.lgk-col-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.lgk-scaler {
  display: inline-flex;
  border: 1.5px solid rgba(31, 42, 31, 0.22);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-soft);
}

.lgk-scaler button {
  border: 0;
  background: transparent;
  padding: 5px 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.lgk-scaler button + button {
  border-left: 1px solid rgba(31, 42, 31, 0.14);
}

.lgk-scaler button.is-active {
  background: var(--yellow);
  color: var(--ink);
}

.lgk-serving-note {
  margin: -6px 0 14px;
  font-size: 13px;
  color: var(--muted);
}

.lgk-ing-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.lgk-ing-item {
  border-bottom: 1px solid rgba(178, 191, 150, 0.35);
}

.lgk-ing-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 4px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
}

.lgk-ing-label input[type="checkbox"] {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--ink);
  flex-shrink: 0;
  cursor: pointer;
}

.lgk-ing-label.is-checked span {
  text-decoration: line-through;
  opacity: 0.5;
}

.lgk-qty {
  font-weight: 700;
}

.lgk-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--ink);
  border: 1.5px solid var(--cta-border);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.lgk-copy-btn:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.lgk-step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.lgk-step-list li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--muted);
}

.lgk-step-list li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.lgk-tip-box {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--surface-soft);
  border: 1px solid rgba(31, 42, 31, 0.16);
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

.lgk-tip-box strong {
  color: var(--ink);
}

/* Toast Notification */
.lgk-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  background: var(--ink);
  color: var(--yellow);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.lgk-toast[hidden] {
  display: none;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 900px) {
  .lgk-hero {
    padding: 80px 32px;
  }

  .lgk-modal-hero {
    grid-template-columns: 1fr;
  }

  .lgk-modal-photo {
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }

  .lgk-modal-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .lgk-hero {
    padding: 200px 24px 56px 24px;
    align-items: flex-end;
  }

  .lgk-hero-inner {
    gap: 20px;
  }

  .lgk-in-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lgk-card {
    padding: 22px;
    gap: 18px;
  }

  .lgk-card-body {
    padding-left: 18px;
  }

  .lgk-card h3 {
    font-size: 19px;
  }

  .lgk-f-wrap {
    grid-template-columns: 1fr;
  }

  .lgk-f-media img {
    aspect-ratio: 4 / 3;
  }

  .lgk-stats {
    justify-content: center;
  }

  .lgk-go--left {
    text-align: center;
  }

  .lgk-banner {
    padding: 64px 16px;
  }

  .lgk-banner-inner {
    gap: 22px;
  }

  .lgk-banner h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .lgk-modal {
    padding: 0;
    align-items: flex-end;
  }

  .lgk-modal-panel {
    max-height: 94dvh;
    border-radius: 20px 20px 0 0;
  }

  .lgk-modal-scroll {
    padding: 20px;
  }

  .lgk-icon-btn span {
    display: none;
  }
}

@media (max-width: 720px) {
  .lgk-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .lgk-gal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .lgk-go a {
    width: 100%;
    text-align: center;
  }

  .lgk-signup input[type="email"] {
    font-size: 16px;
  }

  .lgk-signup button[type="submit"] {
    font-size: 16px;
    padding: 0 16px;
  }
}

/* Show gentle title footer on touch devices without hover */
@media (hover: none) {
  .lgk-gal-card .lgk-tile-overlay {
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(22, 31, 22, 0.82) 0%,
      rgba(22, 31, 22, 0) 58%
    );
    padding: 12px;
  }

  .lgk-gal-card .lgk-tile-cat,
  .lgk-gal-card .lgk-tile-cta {
    display: none;
  }

  .lgk-gal-card .lgk-tile-title {
    font-size: 13.5px;
    margin-bottom: 2px;
  }
}

/* Clean Recipe Print Mode */
@media print {
  header,
  main,
  footer,
  .lgk-modal-backdrop,
  .lgk-modal-topbar,
  .lgk-scaler,
  .lgk-copy-btn,
  .lgk-toast {
    display: none !important;
  }

  body.modal-open {
    overflow: visible !important;
  }

  .lgk-modal {
    position: static;
    display: block;
    padding: 0;
  }

  .lgk-modal-panel {
    max-width: 100%;
    max-height: none;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }

  .lgk-modal-scroll {
    overflow: visible;
    padding: 0;
  }

  .lgk-modal-hero {
    grid-template-columns: 220px 1fr;
  }

  .lgk-science-box {
    border: 1px solid #1f2a1f;
  }
}
