/* Stories of a Good God — responsive static homepage */
:root {
  --cream: #f8f5ed;
  --cream-deep: #eee9dc;
  --paper: #fffdf8;
  --green: #25483e;
  --green-dark: #18372f;
  --ink: #30342e;
  --muted: #68746a;
  --gold: #b98b4c;
  --line: #d9d1c0;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --script: "Caveat", cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.72; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 100; background: var(--green); color: white; padding: .65rem 1rem; border-radius: 4px; }
.skip-link:focus { top: 1rem; }
.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; }
.site-header { min-height: 76px; padding: 12px clamp(22px, 6vw, 88px); display: flex; align-items: center; justify-content: space-between; gap: 28px; background: rgba(255,253,248,.97); border-bottom: 1px solid rgba(37,72,62,.1); position: sticky; top: 0; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--green); text-decoration: none; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.75rem); line-height: 1.2; white-space: nowrap; }
.brand-sprig { width: 34px; flex: 0 0 34px; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); }
.site-nav a { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--green-dark); padding: 8px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a:focus-visible { border-color: var(--green); }
.menu-toggle { display: none; border: 1px solid var(--line); background: transparent; border-radius: 6px; color: var(--green); padding: 7px 10px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 510px; background: var(--cream); }
.hero-art { position: relative; min-height: 510px; overflow: hidden; background: linear-gradient(160deg, #f8e5d0 0%, #ead7c4 36%, #b8c3b0 72%, #6b8c7c 100%); isolation: isolate; }
.hero-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,249,239,.08), transparent 70%), radial-gradient(ellipse at 72% 23%, rgba(255,250,224,.95), transparent 20%); z-index: -1; }
.sun-glow { position: absolute; width: 210px; height: 210px; right: 14%; top: 11%; border-radius: 50%; background: rgba(255,244,207,.4); filter: blur(7px); }
.hill { position: absolute; left: -12%; width: 130%; border-radius: 50% 50% 0 0 / 28% 35% 0 0; }
.hill-back { height: 48%; bottom: 9%; transform: rotate(-7deg); background: linear-gradient(150deg, #a9b8a8, #7e9a89); opacity: .78; }
.hill-front { height: 40%; bottom: -10%; transform: rotate(7deg); background: linear-gradient(140deg, #648776, #2e5a4a); }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,53,43,.24), transparent 52%); }
.little-star { position: absolute; color: #fff6d8; font-size: 2rem; z-index: 2; }
.star-one { right: 25%; top: 22%; }
.star-two { left: 18%; top: 43%; font-size: 1.2rem; }
.hero-art-note { position: absolute; z-index: 3; bottom: 32px; left: 36px; color: white; font-family: var(--script); font-size: 1.7rem; line-height: 1.05; text-shadow: 0 1px 10px #31534466; transform: rotate(-4deg); }
.hero-copy { align-self: center; max-width: 630px; padding: 68px clamp(30px, 6vw, 90px) 70px clamp(34px, 5.5vw, 80px); }
.eyebrow { color: var(--green); text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; font-weight: 600; margin: 0 0 18px; }
h1, h2 { font-family: var(--serif); font-weight: 500; color: var(--green); line-height: 1.12; margin: 0; }
h1 { font-size: clamp(3rem, 5.4vw, 5.2rem); letter-spacing: -.045em; }
h1 em { font-weight: 400; }
.flourish { color: var(--gold); font-size: 1.15rem; letter-spacing: .15em; margin: 20px 0; }
.hero-copy p:not(.eyebrow) { max-width: 490px; margin: 0 0 14px; font-size: .98rem; }
.hero-copy .hero-last { color: var(--green); font-family: var(--serif); font-size: 1.15rem !important; font-style: italic; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; color: var(--green); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 5px; }
.text-link span { font-size: 1.1rem; transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, 2px); }
.availability { display: grid; grid-template-columns: 1fr 1fr; background: #e9eee5; padding: 34px clamp(22px, 7vw, 104px); gap: clamp(25px, 5vw, 68px); align-items: center; }
.availability-status { min-height: 112px; display: flex; align-items: center; justify-content: center; gap: 18px; border-right: 1px solid #82988a; padding-right: 30px; }
.script-note { font-family: var(--script); font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.05; color: var(--green); text-align: center; margin: 0; transform: rotate(-2deg); }
.script-note span { display: inline-block; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.tiny-star { color: var(--gold); font-size: 1.5rem; }
.availability-signup > p { margin: 0 0 18px; color: var(--green-dark); max-width: 520px; }
.form-placeholder { display: flex; gap: 14px; align-items: center; border: 1px dashed #8da091; border-radius: 8px; background: rgba(255,253,248,.62); padding: 14px 16px; color: var(--green); }
.placeholder-icon { font-size: 1.5rem; }
.form-placeholder strong { font-size: .9rem; }
.form-placeholder p { margin: 2px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.placeholder-tag { margin-left: auto; color: #6b786c; font-size: .58rem; letter-spacing: .1em; white-space: nowrap; }
.section-wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.product-section { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(40px, 7vw, 100px); padding-top: 90px; padding-bottom: 92px; align-items: center; }
.product-copy h2 { font-size: clamp(2.3rem, 4vw, 3.5rem); margin-bottom: 24px; letter-spacing: -.03em; }
.product-copy p:not(.eyebrow) { font-size: .91rem; line-height: 1.82; margin: 0 0 16px; }
.button { display: inline-flex; gap: 20px; align-items: center; justify-content: center; margin-top: 13px; padding: 12px 20px; border-radius: 100px; font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background .2s ease, color .2s ease; }
.button-outline { color: var(--green); border: 1px solid var(--green); }
.button-outline:hover { background: var(--green); color: white; }
.gallery-main { position: relative; border-radius: 3px; overflow: hidden; background: #e8ddc8; box-shadow: 0 16px 38px rgba(43,54,42,.12); }
.gallery-main img { width: 100%; aspect-ratio: 1.38; object-fit: cover; transition: opacity .18s ease; }
.image-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 36px 20px 14px; color: white; font-family: var(--serif); font-size: 1.1rem; background: linear-gradient(transparent, rgba(24,45,35,.72)); }
.gallery-controls { display: grid; grid-template-columns: 38px 1fr 38px; gap: 12px; align-items: center; margin-top: 15px; }
.gallery-arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #c9c6b8; color: var(--green); background: var(--paper); cursor: pointer; font-size: 1.15rem; }
.gallery-arrow:hover, .gallery-arrow:focus-visible { background: var(--green); color: white; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.thumb { padding: 0; border: 1px solid transparent; border-radius: 4px; background: transparent; cursor: pointer; overflow: hidden; color: var(--green); text-align: center; }
.thumb img { width: 100%; aspect-ratio: 1.4; object-fit: cover; }
.thumb span { display: block; padding: 5px 2px; font-size: .68rem; }
.thumb.is-active { border-color: var(--green); background: #f2f1e8; }
.gallery-help { font-size: .7rem; color: var(--muted); margin: 9px 0 0; text-align: right; }
.values-section { background: #f2eee4; padding: 48px 0 58px; }
.script-heading { font-family: var(--script); color: var(--green); font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.05; margin: 0; }
.values-section .script-heading { margin-bottom: 36px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value-card { padding: 0 clamp(16px, 2.4vw, 32px); border-right: 1px solid #d8ceba; }
.value-card:first-child { padding-left: 0; }
.value-card:last-child { border-right: 0; padding-right: 0; }
.value-icon { color: var(--green); font-family: var(--serif); font-size: 2.1rem; line-height: 1.1; margin-bottom: 10px; }
.heart-icon { font-size: 2.5rem; }
.value-card h3 { color: var(--green-dark); font-size: .88rem; line-height: 1.35; margin: 0 0 10px; font-weight: 600; }
.value-card p { margin: 0; font-size: .78rem; line-height: 1.7; }
.community-section { position: relative; overflow: hidden; background: linear-gradient(180deg, #e6ece6, #c7d6d0); }
.community-section::after { content: ""; position: absolute; inset: auto -5% -80px; height: 180px; background: #638b83; opacity: .45; border-radius: 50% 50% 0 0 / 40% 45% 0 0; transform: rotate(-4deg); }
.community-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; padding-top: 44px; padding-bottom: 50px; }
.community-block { display: flex; align-items: flex-start; gap: 22px; padding: 12px clamp(18px, 4vw, 55px); }
.instagram-block { border-right: 1px solid rgba(37,72,62,.28); padding-left: 0; }
.storytellers-block { padding-right: 0; }
.social-symbol { flex: 0 0 54px; height: 54px; display: grid; place-items: center; border: 2px solid var(--green); border-radius: 15px; color: var(--green); font-size: 2.6rem; line-height: 1; text-decoration: none; }
.instagram-block .script-heading { font-size: clamp(1.65rem, 2.5vw, 2.1rem); }
.instagram-block p:not(.script-heading) { margin: 5px 0; font-size: .86rem; }
.sprig-doodle { width: 54px; margin-left: auto; align-self: flex-end; color: var(--green); }
.people-icon { flex: 0 0 54px; color: var(--green); font-size: 2.8rem; line-height: 1; text-align: center; }
.storytellers-block h2 { font-size: 1.18rem; margin: 0 0 12px; }
.storytellers-block p { margin: 0 0 14px; font-size: .8rem; }
.resource-placeholder { display: flex; justify-content: space-between; gap: 16px; padding: 9px 12px; border-bottom: 1px solid rgba(37,72,62,.35); color: var(--green); font-size: .78rem; }
.storytellers-block .small-note { color: #586b60; font-size: .68rem; margin-top: 7px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px clamp(22px, 6vw, 88px); background: var(--green-dark); color: #f8f5ed; font-size: .72rem; }
.site-footer a { text-decoration: none; }
.footer-brand { font-family: var(--serif); font-size: 1rem; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid #b98b4c; outline-offset: 3px; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 330px; order: 2; }
  .hero-copy { max-width: 760px; padding: 58px 8vw 54px; }
  .hero-copy h1 br { display: none; }
  .product-section { grid-template-columns: 1fr; gap: 38px; padding-top: 68px; padding-bottom: 70px; }
  .product-copy { max-width: 720px; }
  .gallery { max-width: 760px; width: 100%; margin-inline: auto; }
  .values-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .value-card:nth-child(2) { border-right: 0; }
  .value-card:nth-child(3) { padding-left: 0; }
  .value-card:nth-child(4) { padding-right: 0; }
  .availability { padding-inline: 5vw; }
  .placeholder-tag { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .site-header { min-height: 68px; padding-inline: 18px; }
  .brand { font-size: 1.12rem; gap: 7px; }
  .brand-sprig { width: 28px; flex-basis: 28px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); padding: 12px 22px 20px; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 4px; box-shadow: 0 12px 18px #25382b12; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 0; }
  .hero-copy { padding: 48px 25px; }
  h1 { font-size: clamp(3rem, 15vw, 4.3rem); }
  .hero-art { min-height: 260px; }
  .availability { grid-template-columns: 1fr; gap: 22px; padding: 30px 24px; }
  .availability-status { border-right: 0; border-bottom: 1px solid #82988a; padding: 0 0 22px; min-height: auto; }
  .script-note { font-size: 2rem; }
  .availability-signup > p { font-size: .9rem; }
  .form-placeholder { align-items: flex-start; }
  .section-wrap { width: min(100% - 40px, 540px); }
  .product-section { padding-top: 54px; padding-bottom: 56px; gap: 30px; }
  .product-copy h2 { font-size: 2.45rem; }
  .gallery-controls { grid-template-columns: 32px 1fr 32px; gap: 6px; }
  .gallery-arrow { width: 31px; height: 31px; }
  .gallery-thumbs { gap: 5px; }
  .thumb span { font-size: .6rem; }
  .gallery-help { text-align: left; }
  .values-section { padding: 40px 0; }
  .values-grid { grid-template-columns: 1fr; row-gap: 0; }
  .value-card, .value-card:first-child, .value-card:nth-child(3), .value-card:nth-child(4) { padding: 22px 0; border-right: 0; border-bottom: 1px solid #d8ceba; }
  .value-card:first-child { padding-top: 0; }
  .value-card:last-child { border-bottom: 0; padding-bottom: 0; }
  .value-card p { font-size: .84rem; }
  .community-inner { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 34px; }
  .community-block { padding: 24px 0; }
  .instagram-block { border-right: 0; border-bottom: 1px solid rgba(37,72,62,.28); }
  .storytellers-block { padding-bottom: 12px; }
  .sprig-doodle { width: 40px; }
  .site-footer { flex-wrap: wrap; justify-content: center; text-align: center; gap: 8px 18px; padding: 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
