/* ================= ACCESSIBILITY ================= */

.skip-link{
  position: absolute;
  left: -999px;
  top: 12px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  padding: 10px 12px;
  border-radius: 12px;
  z-index: 9999;
}
.skip-link:focus{
  left: 12px;
}

/* ================= ROOT ================= */

:root{
  --bg: #FAF7F2;
  --paper: #FDFBF7;
  --text: #4A463F;
  --muted: #7A746A;

  --beige: #D8C2A1;
  --sage:  #A8B7A2;
  --gold:  #C9AD7A;

  --radius: 18px;
  --shadow: 0 20px 60px rgba(30, 25, 20, 0.10);
  --hairline: rgba(74, 70, 63, 0.10);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

a{ color: inherit; text-decoration: none; }
a:focus-visible{
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 10px;
}

.container{
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
}

/* ================= HEADER ================= */

.site-header{
  padding: 40px 0 16px;
  text-align: center;
}

.brand{
  display: flex;
  justify-content: center;
}

/* Transparent logo styling (soft lift) */
.brand-logo{
  display: block;
  width: min(520px, 86vw);
  height: auto;
  margin: 0 auto 10px;
  filter: drop-shadow(0 10px 28px rgba(30, 25, 20, 0.06));
}

.tagline{
  margin: 12px auto 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 16px;
}

/* ================= FEATURE (HOMEPAGE COLLAGE) ================= */

.feature{
  padding: 22px 0 54px;
}

.feature-frame{
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: clamp(18px, 4vw, 36px);
}

.collage{
  position: relative;
  display: grid;
  place-items: center;
  padding: 8px 0 18px;
  min-height: 340px;
  overflow: visible;
}

.card{
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 10px solid rgba(255,255,255,0.92);
  box-shadow: 0 18px 50px rgba(30, 25, 20, 0.10);
}

.card img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(0.98);
}

.card-a{
  width: min(600px, 90%);
  aspect-ratio: 16 / 9;
  transform: rotate(-1.2deg);
  z-index: 1;
}

.card-b{
  position: absolute;
  width: min(440px, 70%);
  aspect-ratio: 4 / 3;
  right: 6%;
  bottom: 14%;
  transform: rotate(1.8deg);
  z-index: 2;
}

/* START HERE pill sits above images */
.start-here{
  position: absolute;
  left: 7%;
  bottom: 14%;
  background: #F3EBDD;
  color: #6E675D;
  border: 1px solid rgba(110,103,93,0.12);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(30, 25, 20, 0.10);
  z-index: 10;
}

.start-here:hover{
  transform: translateY(-1px);
}

/* ================= CAPTIONS ================= */

.feature-captions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  text-align: center;
  padding-top: 14px;
  margin-top: 12px;
  border-top: 1px solid var(--hairline);
}

.caption{
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--text);
  padding: 10px 8px;
}

.caption span{
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}

/* ================= PATHS ================= */

.paths{
  padding: 40px 0 54px;
}

.paths-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.path{
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 22px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.path:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.35);
  border-color: rgba(168,183,162,0.35);
}

.path h2{
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  color: var(--beige);
  letter-spacing: -0.01em;
}

.path p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ================= SECTIONS & POSTS ================= */

.section{ padding: 22px 0 70px; }
.section-header{ text-align: center; margin-bottom: 26px; }

.section-title{
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 52px);
  color: var(--beige);
  margin: 0 0 8px;
}

.section-intro{
  margin: 0 auto;
  max-width: 56ch;
  color: var(--muted);
}

.post-list{ display: grid; gap: 14px; margin-top: 26px; }

.post-card{
  display: block;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 34px rgba(30,25,20,0.06);
  transition: transform .15s ease, border-color .15s ease;
}

.post-card:hover{
  transform: translateY(-2px);
  border-color: rgba(168,183,162,0.45);
}

.post-card h3{
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  color: var(--text);
}

.post-card p{
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.post-meta{
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6E675D;
}

/* ================= ARTICLE ================= */

.article{
  padding: 22px 0 4rem;
}

.article-header{
  text-align: center;
  margin: 0 auto 20px;
  max-width: 70ch;
}

.article-eyebrow{
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.article-eyebrow a{
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-title{
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 58px);
  color: var(--text);
  line-height: 1.08;
}

.article-content{
  max-width: 72ch;
  margin: 0 auto;
  background: rgba(255,255,255,0.35);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: clamp(18px, 3.4vw, 34px);
}

.article-content h2{
  margin-top: 28px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.article-content p{
  margin: 12px 0;
}

.article-back a{
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--muted);
}

/* ================= RECIPE HERO IMAGE (THUMBNAIL) ================= */

.recipe-hero{
  margin: 18px 0 24px;
  border-radius: 16px;
  overflow: hidden;
}

.recipe-hero img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* ================= FOOTER ================= */

.site-footer{
  padding: 26px 0 72px;
  text-align: center;
  color: var(--muted);
}

.site-footer p{
  margin: 0;
}

.footer-soft{
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.9em;
  opacity: 0.9;
}

.footer-legal{
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.65;
}

/* ================= MOBILE ================= */

@media (max-width: 720px){
  .site-header{
    padding-top: 34px;
  }

  .brand-logo{
    width: min(520px, 92vw);
    margin-bottom: 8px;
  }

  .collage{
    min-height: 420px;
  }

  .card-a{
    width: 100%;
  }

  .card-b{
    right: 2%;
    bottom: 2%;
    width: 82%;
    transform: rotate(0.6deg);
  }

  .start-here{
    left: 4%;
    bottom: 28%;
  }

  .feature-captions{
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .paths-grid{
    grid-template-columns: 1fr;
  }
}