/* ============================================
   THE HUNGRY DANE — How To Cook It page
   Page-specific styles. Shared tokens, nav, and footer come from styles.css.
   ============================================ */

/* ============ GUIDE HERO ============ */
.guide-hero {
  text-align: center;
  padding: 70px 40px 50px;
  background: linear-gradient(180deg, #FFFEF8 0%, #FBF5E5 100%);
  border-bottom: 3px double var(--coal);
}
.guide-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--coal);
  padding: 7px 18px;
  font-family: 'Special Elite', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border: 2px solid var(--coal);
  box-shadow: 3px 3px 0 var(--coal);
}
.guide-hero h1 {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(38px, 6.5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 28px 0 20px;
  color: #0F0B08;
}
.guide-hero h1 em {
  color: var(--oxblood);
  font-style: italic;
  font-family: 'Yeseva One', serif;
}
.guide-intro {
  font-family: 'Yeseva One', serif;
  font-style: italic;
  font-size: clamp(18px, 2.3vw, 24px);
  max-width: 720px;
  margin: 0 auto 34px;
  color: var(--coal);
}

/* Hero photo — the fresh, raw coil */
.hero-photo {
  max-width: 320px;
  margin: 0 auto 40px;
}
.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  border: 2px solid var(--coal);
  box-shadow: 8px 8px 0 var(--oxblood);
}
.hero-photo figcaption {
  font-family: 'Special Elite', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-top: 18px;
}

/* Safe-temp callout */
.safe-temp {
  max-width: 760px;
  margin: 0 auto;
  background: var(--cream-light);
  border: 2px solid var(--coal);
  box-shadow: 6px 6px 0 var(--forest);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
}
.safe-temp .temp-num {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(30px, 5vw, 44px);
  color: var(--oxblood);
  line-height: 1;
  flex-shrink: 0;
  white-space: nowrap;
}
.safe-temp .temp-copy strong.temp-head {
  display: block;
  font-family: 'Special Elite', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 6px;
}
.safe-temp .temp-copy span { font-size: 15px; line-height: 1.55; }
@media (max-width: 620px) {
  .safe-temp {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 4px 4px 0 var(--forest);
  }
}

/* ============ METHODS ============ */
.methods {
  padding: 90px 40px;
  max-width: 1160px;
  margin: 0 auto;
}
/* Centered variant of the shared section label (two rules instead of one). */
.methods .section-label { justify-content: center; }
.methods .section-label::after {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--oxblood);
}
.methods > h2 {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 60px;
}
.methods > h2 em { color: var(--oxblood); font-style: italic; font-family: 'Yeseva One', serif; }

/* Masonry via CSS columns — photo cards vary in height, so this avoids the
   empty gaps a fixed 2-col grid leaves under the short text-only cards. */
.method-grid {
  column-count: 2;
  column-gap: 28px;
}
@media (max-width: 760px) {
  .method-grid { column-count: 1; }
  .methods { padding: 60px 20px; }
}

.method-card {
  position: relative;
  background: var(--cream-light);
  border: 2px solid var(--coal);
  border-left: 6px solid var(--oxblood);
  padding: 28px 28px 26px;
  margin: 0 0 28px;
  break-inside: avoid;
  transition: transform 0.2s, box-shadow 0.2s;
}
.method-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 var(--oxblood);
}
/* Framed photo at the top of a method card — inset, so the card's cream
   padding reads as a matte around a coal-keyline, hard-shadow print. */
.method-photo {
  display: block;
  width: 100%;
  height: auto;          /* override the width/height attr hint so aspect-ratio wins */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid var(--coal);
  box-shadow: 5px 5px 0 var(--oxblood);
  margin: 2px 0 24px;
}

.method-num {
  position: absolute;
  top: -16px;
  right: 18px;
  background: var(--gold);
  color: var(--coal);
  font-family: 'Alfa Slab One', serif;
  font-size: 15px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--coal);
}
.method-eyebrow {
  font-family: 'Special Elite', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 6px;
}
.method-title {
  font-family: 'Alfa Slab One', serif;
  font-size: 22px;
  line-height: 1.1;
  color: var(--oxblood);
  margin-bottom: 12px;
}
.method-desc { font-size: 15.5px; line-height: 1.65; }

/* Full-width sign-off below the masonry columns */
.method-signoff {
  margin-top: 8px;
  background: var(--coal);
  color: var(--cream);
  border: 2px solid var(--coal);
  border-left: 6px solid var(--gold);
  text-align: center;
  padding: 40px 32px;
}
.method-signoff .method-title { color: var(--cream); }
.method-signoff p {
  font-family: 'Yeseva One', serif;
  font-style: italic;
  font-size: clamp(17px, 2.2vw, 21px);
  max-width: 640px;
  margin: 0 auto 24px;
  opacity: 0.95;
}
.method-signoff strong { color: var(--gold); font-style: normal; }
.signoff-cta {
  display: inline-block;
  background: var(--oxblood);
  color: var(--cream);
  text-decoration: none;
  padding: 14px 28px;
  font-family: 'Alfa Slab One', serif;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid var(--cream);
  box-shadow: 4px 4px 0 var(--oxblood-deep);
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}
.signoff-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--oxblood-deep);
  background: var(--gold);
  color: var(--coal);
}

/* Footer "back to site" link (footer itself is shared from styles.css) */
.footer-back {
  display: inline-block;
  margin-top: 22px;
  font-family: 'Special Elite', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  opacity: 0.8;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
}
.footer-back:hover { opacity: 1; color: var(--gold); }
