/* Time for Pie — static site styles (orange/amber bakery look, no build step) */

:root {
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-200: #fed7aa;
  --orange-300: #fdba74;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --orange-800: #9a3412;
  --amber-50: #fffbeb;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --amber-900: #78350f;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius: 0.75rem;
  --max: 80rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--orange-50);
  color: var(--gray-700);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-600); }
a:hover { color: var(--orange-700); }
h1, h2, h3 { color: var(--amber-900); line-height: 1.2; margin: 0 0 0.75rem; }
p { margin: 0 0 1rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
.wrap-narrow { max-width: 56rem; margin: 0 auto; padding: 0 1rem; }
.wrap-mid { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }

.site-header {
  background: var(--white);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--amber-900);
  font-weight: 700;
  font-size: 1.5rem;
}
.logo:hover { color: var(--amber-900); }
.logo svg { width: 2rem; height: 2rem; color: var(--orange-600); }
.nav-links { display: flex; gap: 0.5rem; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
}
.nav-links a:hover,
.nav-links a.is-active {
  color: var(--orange-600);
  background: var(--orange-100);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--gray-600);
}
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 4rem;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid var(--orange-100);
    gap: 0.25rem;
  }
  .nav-links.is-open { display: flex; }
}

main { flex: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--orange-600); color: var(--white); }
.btn-primary:hover { background: var(--orange-700); color: var(--white); }
.btn-light { background: var(--white); color: var(--orange-600); }
.btn-light:hover { background: var(--orange-50); color: var(--orange-700); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.hero-carousel {
  position: relative;
  height: 70vh;
  min-height: 28rem;
  overflow: hidden;
  color: var(--white);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.4);
}
.hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}
.hero-copy h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.hero-copy p {
  color: var(--orange-100);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  max-width: 40rem;
  margin: 0 auto 2rem;
}
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}
.hero-dots button {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  border: 0;
  background: rgb(255 255 255 / 0.5);
  cursor: pointer;
  padding: 0;
}
.hero-dots button.is-active { background: var(--white); }

.page-hero {
  background: linear-gradient(90deg, var(--orange-600), var(--amber-600));
  color: var(--white);
  text-align: center;
  padding: 4rem 1rem;
}
.page-hero.alt { background: linear-gradient(90deg, var(--amber-600), var(--orange-600)); }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.75rem); }
.page-hero p { color: var(--orange-100); font-size: 1.25rem; max-width: 48rem; margin: 0 auto; }

.hero-photo {
  position: relative;
  padding: 5rem 1rem;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}
.hero-photo img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.5);
}
.hero-photo .inner { position: relative; z-index: 1; max-width: 56rem; margin: 0 auto; }
.hero-photo h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.75rem); }
.hero-photo p { color: var(--orange-100); font-size: 1.25rem; }

.section { padding: 4rem 1rem; }
.section-white { background: var(--white); }
.section-cream { background: var(--orange-50); }
.section-amber { background: var(--amber-900); color: var(--white); }
.section-orange { background: var(--orange-600); color: var(--white); }
.section h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.section-amber h2, .section-orange h2 { color: var(--white); }
.lead { font-size: 1.125rem; max-width: 48rem; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-about { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) {
  .grid-3, .grid-2, .grid-4, .grid-about { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card img { width: 100%; height: 14rem; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card h3 { font-size: 1.2rem; }
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--gray-500);
  font-size: 0.9rem;
  margin: 0.75rem 0 1rem;
}
.meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.card-link { font-weight: 600; text-decoration: none; }
.card-split { display: flex; }
.card-split img { width: 50%; height: auto; min-height: 16rem; object-fit: cover; }
.card-split .card-body { width: 50%; }
@media (max-width: 768px) {
  .card-split { flex-direction: column; }
  .card-split img, .card-split .card-body { width: 100%; }
}

.icon-circle {
  width: 4rem; height: 4rem;
  background: var(--orange-100);
  color: var(--orange-600);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.icon-circle svg { width: 2rem; height: 2rem; }
.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.08);
  text-align: center;
}

.email-row {
  display: flex;
  gap: 1rem;
  max-width: 28rem;
  margin: 0 auto;
}
.email-row input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 0;
  font-size: 1rem;
  color: var(--gray-900);
}
.fine-print { font-size: 0.85rem; color: var(--orange-200); margin-top: 0.75rem; }
@media (max-width: 560px) {
  .email-row { flex-direction: column; }
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 500;
  margin: 1.5rem 0;
}
.recipe-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}
.recipe-header img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}
.badge {
  display: inline-block;
  background: var(--orange-100);
  color: var(--orange-800);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.recipe-source {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-style: italic;
  margin-top: 0.75rem;
}
.recipe-source:empty { display: none; }
.recipe-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}
.ingredients {
  background: var(--orange-50);
  padding: 1.5rem;
  border-radius: 0.5rem;
  position: sticky;
  top: 5.5rem;
}
.ingredients ul { list-style: none; padding: 0; margin: 0; }
.ingredients li {
  display: flex;
  gap: 0.6rem;
  padding: 0.35rem 0;
  align-items: flex-start;
}
.ingredients li::before {
  content: "\2713";
  color: var(--orange-600);
  font-weight: 700;
  flex-shrink: 0;
}
.nutrition {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--orange-200);
  font-size: 0.9rem;
}
.nutrition h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.nutrition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  color: var(--gray-600);
}
.instructions { list-style: none; padding: 0; margin: 0 0 2rem; counter-reset: step; }
.instructions li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  counter-increment: step;
}
.instructions li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 2rem; height: 2rem;
  background: var(--orange-600);
  color: var(--white);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 0.15rem;
}
.tips {
  background: var(--amber-50);
  padding: 1.5rem;
  border-radius: 0.5rem;
}
.tips ul { margin: 0; padding-left: 1.1rem; }
.tips li { margin-bottom: 0.4rem; }
@media (max-width: 900px) {
  .recipe-header, .recipe-grid { grid-template-columns: 1fr; }
  .ingredients { position: static; }
}

.resource-card {
  background: var(--orange-50);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
}
.resource-card h3 { font-size: 1.05rem; }
.disclosure-box {
  background: var(--amber-50);
  border: 1px solid var(--orange-200);
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  margin: 0 auto 2rem;
  max-width: 56rem;
  text-align: left;
}
.disclosure-box h2 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.disclosure-box p { margin: 0; font-size: 0.95rem; }
.sister-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.08);
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}
.coming-soon { opacity: 0.85; }
.coming-soon .badge-soon {
  display: inline-block;
  background: var(--amber-900);
  color: var(--white);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.site-footer {
  background: var(--amber-900);
  color: var(--white);
  padding: 3rem 1rem 1.5rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.site-footer h3 { color: var(--white); font-size: 1.1rem; }
.site-footer p, .site-footer a { color: var(--orange-100); }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.2rem; margin-bottom: 0.75rem; }
.footer-brand svg { width: 1.5rem; height: 1.5rem; }
.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--orange-800);
  text-align: center;
  color: var(--orange-200);
  font-size: 0.9rem;
}
.footer-disclosure {
  max-width: var(--max);
  margin: 1.5rem auto 0;
  font-size: 0.85rem;
  color: var(--orange-200);
  line-height: 1.5;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Long-form article prose + tables (baking-tips guides; do not restyle the rest of the site) */
.article-prose {
  margin-bottom: 3.5rem;
}
.article-prose > .badge { margin-bottom: 0.75rem; }
.article-prose > h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin-bottom: 1.15rem;
}
.article-prose .article-hero {
  width: 100%;
  height: 18rem;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  margin: 0 0 1.5rem;
}
.article-prose h2 {
  font-size: 1.5rem;
  margin: 2.25rem 0 0.8rem;
}
.article-prose h3 {
  font-size: 1.18rem;
  margin: 1.7rem 0 0.55rem;
}
.article-prose p { margin: 0 0 1rem; }
.article-prose ul,
.article-prose ol {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
}
.article-prose li { margin-bottom: 0.4rem; }
.article-prose strong { color: var(--gray-900); }
.article-prose .disclosure-box {
  margin: 1.25rem 0 1.5rem;
  max-width: none;
}
.article-prose .table-wrap {
  overflow-x: auto;
  margin: 0 0 1.5rem;
  border: 1px solid var(--orange-200);
  border-radius: 0.5rem;
  background: var(--white);
}
.article-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 44rem;
}
.article-prose th,
.article-prose td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--orange-200);
}
.article-prose th {
  background: var(--orange-100);
  color: var(--amber-900);
  font-weight: 600;
}
.article-prose tr:last-child td { border-bottom: 0; }
.article-prose tbody tr:nth-child(even) { background: var(--orange-50); }


/* Visible credit for free stock photos (Pexels). Keep small and muted. */
.article-hero-figure {
  margin: 0 0 1.5rem;
}
.article-hero-figure .article-hero {
  margin-bottom: 0;
}
.photo-credit {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: 0.45rem 0 0;
  line-height: 1.4;
  font-weight: 400;
}
.photo-credit a {
  color: inherit;
}
.photo-credit a:hover {
  color: var(--orange-600);
}
