/* ============================================================
   Our Kingdom Homestead — shared stylesheet
   Cottagecore + homeschooling. Meadow greens, warm cream,
   wildflower accents. No build step required.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* palette — soft, dusty, whimsical */
  --cream:        #f5efe2;
  --cream-deep:   #ece2cf;
  --parchment:    #faf6ed;
  --sage:         #9aa67f;
  --sage-deep:    #74835f;
  --meadow:       #67805a;
  --meadow-deep:  #4a6240;
  --forest:       #38462e;
  --terracotta:   #c39071;   /* softened, dusty */
  --clay:         #a3704f;
  --wildflower:   #cf9aa6;   /* dusty rose */
  --heather:      #b3a3c2;   /* soft lavender accent */
  --butter:       #e6c477;
  --sky:          #d2e1e3;
  --ink:          #3b4430;
  --ink-soft:     #626a55;

  /* type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-script:  "Tangerine", "Brush Script MT", cursive;
  --font-body:    "Lora", Georgia, serif;
  --font-ui:      "Quicksand", "Segoe UI", system-ui, sans-serif;

  /* layout */
  --maxw: 1140px;
  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(47, 67, 41, 0.12);
  --shadow-card: 0 6px 20px rgba(47, 67, 41, 0.10);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(rgba(116,131,95,.05) 1px, transparent 1.4px);
  background-size: 26px 26px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--clay); text-decoration: none; }
a:hover { color: var(--meadow-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--forest); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.script { font-family: var(--font-script); font-weight: 700; }

/* ---------- Top bar / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 240, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(111, 129, 87, 0.25);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  color: var(--forest);
}
.brand .mark {
  width: 38px; height: 38px;
  flex: none;
  font-size: 30px;
  line-height: 38px;
  text-align: center;
}
.avatar-emoji {
  font-size: 64px;
  line-height: 1;
}
.brand .brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .3px;
  line-height: 1.05;
}
.brand .brand-name small {
  display: block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0; padding: 0;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .92rem;
}
.nav-links a {
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--meadow-deep);
  border-color: var(--sage);
}
.nav-cta {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: .85rem;
  background: var(--terracotta);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 999px;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--clay); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--forest);
  margin: 5px 0;
  transition: .3s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s, background .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--meadow); color: #fff !important; }
.btn-primary:hover { background: var(--meadow-deep); }
.btn-ghost {
  background: transparent;
  color: var(--forest) !important;
  border-color: var(--sage-deep);
}
.btn-ghost:hover { background: var(--sage-deep); color: #fff !important; }

/* ============================================================
   MEADOW HERO — "running through a meadow"
   Layered CSS sky + sun + rolling hills + swaying grass + flowers
   ============================================================ */
.meadow {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #cdd9b2;   /* soft fallback shown until the photo loads */
}
/* the real meadow photograph, with a slow Ken Burns drift */
.meadow-photo {
  position: absolute;
  inset: -2%;            /* slight overscan so the drift never reveals an edge */
  z-index: 0;
  background: #cdd9b2 url("../images/bg.png") center center / cover no-repeat;
  animation: meadow-drift 32s ease-in-out infinite alternate;
}
@keyframes meadow-drift {
  from { transform: scale(1.03); }
  to   { transform: scale(1.10) translateY(-1.5%); }
}
/* soft scrim: a gentle light bloom for legible text, with quiet edges */
.meadow-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(62% 48% at 50% 44%, rgba(248,244,233,.60), rgba(248,244,233,0) 72%),
    linear-gradient(180deg, rgba(248,244,233,.28) 0%, rgba(248,244,233,0) 26%, rgba(58,70,45,0) 60%, rgba(58,70,45,.18) 100%);
}
/* paper grain over the washes (kept behind the text) */
.meadow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.meadow .sun {
  position: absolute;
  top: 7%; left: 50%;
  width: 170px; height: 170px;
  margin-left: -85px;            /* centered via margin so JS parallax can own transform */
  background: radial-gradient(circle, rgba(255,250,225,.98) 0%, rgba(255,243,190,.6) 42%, rgba(255,240,180,0) 70%);
  border-radius: 50%;
  filter: blur(2px);
  z-index: 1;
  will-change: transform;
  animation: sun-breathe 9s ease-in-out infinite alternate;
}
@keyframes sun-breathe {
  from { filter: blur(2px) brightness(1); }
  to   { filter: blur(3px) brightness(1.12); }
}
/* rolling hills */
.meadow .hills {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  width: 100%; height: 55%;
}
/* grass blades along the bottom that gently sway */
.meadow .grass {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  width: 100%; height: 130px;
  transform-origin: bottom center;
  animation: sway 7s ease-in-out infinite alternate;
}
.meadow .grass.back  { opacity: .7; animation-duration: 9s; }
.meadow .grass.front { height: 160px; animation-duration: 6s; }
@keyframes sway {
  from { transform: skewX(-1.5deg); }
  to   { transform: skewX(1.5deg); }
}
/* drifting flower petals */
.petal {
  position: absolute;
  top: -60px;
  z-index: 2;                /* above the photo scrim, below the headline */
  width: 40px;               /* overridden inline with a random size */
  height: auto;
  opacity: .9;
  filter: drop-shadow(0 4px 5px rgba(47, 67, 41, .12));
  animation: drift linear infinite;
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
}
@keyframes drift {
  0%   { transform: translateY(-10vh) translateX(0) rotate(var(--rot-start, 0deg)); opacity: 0; }
  10%  { opacity: .9; }
  100% { transform: translateY(85vh) translateX(var(--drift-x, 40px)) rotate(var(--rot-end, 220deg)); opacity: 0; }
}
/* easter egg: soft pop when a flower is clicked */
@keyframes petalPop {
  from { transform: scale(1);   opacity: .95; }
  to   { transform: scale(1.7); opacity: 0; }
}
.petal.pop { animation: petalPop .28s ease-out forwards !important; pointer-events: none; }

/* rare bonus brand daisy — sized by font, with a soft golden glow so it stands out */
.petal.daisy {
  width: auto;
  line-height: 1;
  filter: drop-shadow(0 0 9px rgba(214, 170, 84, .85)) drop-shadow(0 4px 5px rgba(47, 67, 41, .15));
}

/* secret score badge — hidden until the first flower is popped */
.flower-score {
  position: absolute; top: 14px; right: 16px; z-index: 4;
  font-family: var(--font-ui); font-size: .85rem; color: var(--forest);
  background: var(--parchment); border: 1px solid rgba(116,131,95,.3);
  border-radius: 999px; padding: 6px 12px; box-shadow: var(--shadow-card);
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
}
.flower-score.show { opacity: 1; transform: none; }

.meadow .hero-inner {
  position: relative;
  z-index: 3;
  max-width: 760px;
  padding: 40px 24px 120px;
}
.hero-eyebrow {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--meadow-deep);
  margin-bottom: 10px;
}
.meadow h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: var(--forest);
  margin: 0 0 6px;
  text-shadow: 0 2px 12px rgba(255,255,255,.5);
}
.hero-script {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--clay);
  line-height: .9;
  display: block;
  margin-bottom: 14px;
}
.meadow p.lead {
  font-size: 1.18rem;
  color: var(--ink);
  max-width: 560px;
  margin: 0 auto 26px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --- depth + atmosphere (the "pull you in") --- */
.meadow .sky-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 75% at 50% 6%, rgba(255,251,232,.95), rgba(255,251,232,0) 55%);
}
/* sunlight god-rays fanning down from the sun */
.meadow .rays {
  position: absolute; top: 0; left: 50%;
  width: 200vmax; height: 130vmax;
  transform: translateX(-50%);
  z-index: 1; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 0%,
      rgba(255,250,228,0) 0deg,
      rgba(255,250,228,.16) 4deg,
      rgba(255,250,228,0) 9deg);
  -webkit-mask: radial-gradient(58% 70% at 50% 0%, #000 0%, rgba(0,0,0,0) 72%);
          mask: radial-gradient(58% 70% at 50% 0%, #000 0%, rgba(0,0,0,0) 72%);
  filter: blur(3px);
  opacity: .65;
  animation: rays-shift 16s ease-in-out infinite alternate;
}
@keyframes rays-shift {
  from { transform: translateX(-50%) rotate(-4deg); }
  to   { transform: translateX(-50%) rotate(4deg); }
}
/* soft horizon haze for atmospheric depth */
.meadow .haze {
  position: absolute; left: 0; right: 0; bottom: 32%; height: 20%;
  z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(247,242,231,0), rgba(247,242,231,.5) 55%, rgba(247,242,231,0));
  filter: blur(7px);
}
/* foreground wildflower field (parallax layer nearest the viewer) */
.meadow .flowers {
  position: absolute; bottom: 60px; left: 0; right: 0;
  width: 100%; height: 130px; z-index: 2;
  will-change: transform;
}
/* darkened edges to draw the eye to the bright center */
.meadow .vignette {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: radial-gradient(125% 90% at 50% 42%, rgba(47,67,41,0) 55%, rgba(47,67,41,.24) 100%);
}
/* floating pollen / light motes */
.meadow .motes { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.mote {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,251,228,.95), rgba(255,246,205,0) 70%);
  animation: float-mote linear infinite;
  will-change: transform, opacity;
}
@keyframes float-mote {
  0%   { transform: translate(0, 0); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: .8; }
  100% { transform: translate(var(--mx, 0), var(--my, -120px)); opacity: 0; }
}
/* depth layers get GPU hints */
.meadow .hills, .meadow .sun, .meadow .flowers { will-change: transform; }

/* staggered intro reveal of the headline */
.meadow .hero-inner > * {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-rise 1s cubic-bezier(.2,.7,.2,1) forwards;
}
.meadow .hero-eyebrow { animation-delay: .15s; }
.meadow .hero-script  { animation-delay: .32s; }
.meadow h1            { animation-delay: .5s; }
.meadow p.lead        { animation-delay: .7s; }
.meadow .hero-btns    { animation-delay: .9s; }
@keyframes hero-rise { to { opacity: 1; transform: none; } }

/* "wander in" scroll cue */
.scroll-cue {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--font-ui); font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; font-size: .68rem;
  color: var(--meadow-deep);
  opacity: 0;
  animation: cue-in 1s ease forwards 1.4s, cue-bob 2.4s ease-in-out infinite 2s;
}
.scroll-cue:hover { color: var(--forest); }
.scroll-cue svg { width: 24px; height: 24px; }
@keyframes cue-in  { to { opacity: .9; } }
@keyframes cue-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(9px); }
}

/* arrival veil — fades open on load to "nudge you into the space" */
.enter-veil {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  animation: veil-open 1.7s ease forwards .15s;
}
.enter-veil .seed {
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 7vw, 4rem);
  color: var(--sage-deep);
  animation: seed-fade 1.7s ease forwards;
}
@keyframes veil-open {
  0%   { opacity: 1; visibility: visible; }
  70%  { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}
@keyframes seed-fade {
  0%   { opacity: 0; transform: scale(.96); letter-spacing: 0; }
  35%  { opacity: 1; }
  100% { opacity: 0; transform: scale(1.04); }
}

/* respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .meadow .grass, .meadow .rays, .meadow .sun, .meadow-photo,
  .scroll-cue, .meadow .hero-inner > *, .petal, .mote { animation: none !important; }
  .meadow .hero-inner > * { opacity: 1 !important; transform: none !important; }
  .enter-veil { display: none !important; }
  .scroll-cue { opacity: .9; }
}

/* ---------- Scripture banner ---------- */
.verse {
  background: var(--meadow-deep);
  color: #f4efe1;
  text-align: center;
  padding: 54px 24px;
  position: relative;
}
.verse::before, .verse::after {
  content: "❧";
  display: block;
  font-size: 1.6rem;
  color: var(--butter);
  opacity: .8;
}
.verse blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.5;
  max-width: 760px;
  margin: 14px auto;
}
.verse cite {
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--butter);
}

/* ---------- Section scaffolding ---------- */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head::before {
  content: "";
  display: block;
  width: 92px; height: 24px;
  margin: 0 auto 18px;
  opacity: .75;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='92' height='24' viewBox='0 0 92 24' fill='none' stroke='%2374835f' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12h28M58 12h28'/><path d='M34 12c-4-2-6-5-6-9M34 12c-4 2-6 5-6 9'/><path d='M58 12c4-2 6-5 6-9M58 12c4 2 6 5 6 9'/><circle cx='46' cy='12' r='4'/></svg>") center/contain no-repeat;
}
.section-head .kicker {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--sage-deep);
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 8px 0 12px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

.alt { background: var(--cream-deep); }
.parchment { background: var(--parchment); }

/* empty-state note used while content loads / before items exist */
.empty-note {
  grid-column: 1 / -1;
  text-align: center;
  font-style: italic;
  color: var(--ink-soft);
  padding: 36px 0;
}

/* ---------- Card grid ---------- */
.grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--parchment);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(111,129,87,.16);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.card .thumb {
  aspect-ratio: 3 / 2;
  background:
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120' fill='none' stroke='%23768262' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M60 106V40'/><path d='M60 84c-12-4-20-12-23-24 13 0 21 8 23 20'/><path d='M60 72c12-4 20-12 23-24-13 0-21 8-23 20'/><path d='M60 58c-10-3-17-10-19-20 11 1 18 8 19 18'/><circle cx='60' cy='30' r='6.5'/><path d='M60 30V17M60 30l11-7M60 30l11 8M60 30 49 23M60 30 49 38'/><circle cx='60' cy='30' r='2.4' fill='%23e3b85f' stroke='none'/></svg>") center/86px no-repeat,
    linear-gradient(160deg, #eef1e5 0%, #e2e8d4 100%);
  border-bottom: 1px solid rgba(116,131,95,.16);
  font-size: 0;            /* hide placeholder emoji until real photos are added */
  color: transparent;
}
.card .card-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.card .tag {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 8px;
}
.card h3 { font-size: 1.3rem; margin: 0 0 8px; }
.card p { color: var(--ink-soft); font-size: .98rem; margin: 0 0 16px; flex: 1; }
.card .read { font-family: var(--font-ui); font-weight: 700; font-size: .85rem; }

/* ---------- Feature / explore tiles (home) ---------- */
.tiles { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tile {
  position: relative;
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  background: var(--parchment);
  border: 1px solid rgba(116,131,95,.22);
  color: var(--ink);
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.tile::before {              /* faint accent wash in the corner */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent, var(--sage));
  opacity: .07;
  z-index: 0;
}
.tile > * { position: relative; z-index: 1; }
.tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: var(--accent, var(--sage-deep));
}
.tile .ico {
  width: 44px; height: 44px;
  margin-bottom: auto;
  color: var(--accent, var(--meadow-deep));
}
.tile .ico svg { width: 100%; height: 100%; }
.tile h3 { color: var(--forest); font-size: 1.45rem; margin: 18px 0 4px; }
.tile span { font-family: var(--font-ui); font-weight: 600; font-size: .85rem; color: var(--ink-soft); }
.tile.green { --accent: #67805a; }
.tile.clay  { --accent: #a3704f; }
.tile.rose  { --accent: #c98aa6; }
.tile.gold  { --accent: #c39a52; }

/* ============================================================
   LINKS HUB (linktree-style)
   ============================================================ */
.linkhub {
  min-height: 100vh;
  background: linear-gradient(180deg, #e7f1e0 0%, #cfe0b6 60%, #a9c182 100%);
  padding: 70px 20px 90px;
}
.linkhub-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.linkhub .avatar {
  width: 120px; height: 120px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--parchment);
  border: 4px solid #fff;
  box-shadow: var(--shadow-soft);
  display: flex; align-items: center; justify-content: center;
}
.linkhub h1 { font-size: 2.2rem; margin: 0 0 4px; }
.linkhub .handle { font-family: var(--font-ui); font-weight: 600; color: var(--meadow-deep); }
.linkhub .bio { color: var(--ink); margin: 12px auto 28px; max-width: 380px; }
.link-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.link-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--parchment);
  border: 2px solid rgba(47,67,41,.12);
  border-radius: 999px;
  padding: 15px 24px;
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--forest);
  box-shadow: var(--shadow-card);
  transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.link-btn:hover { transform: translateY(-3px); color: #fff; }
.link-btn .li-ico { font-size: 1.4rem; width: 28px; text-align: center; flex: none; }
.link-btn .li-text { flex: 1; text-align: center; }
.link-btn.etsy:hover    { background: #e07b39; border-color: #e07b39; }
.link-btn.youtube:hover { background: #c4302b; border-color: #c4302b; }
.link-btn.tiktok:hover  { background: #111; border-color: #111; }
.link-btn.ig:hover      { background: linear-gradient(45deg,#f09433,#dc2743,#bc1888); border-color:#dc2743; }
.link-btn.shop:hover    { background: var(--meadow-deep); border-color: var(--meadow-deep); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--sage) 0%, var(--meadow-deep) 100%);
  color: #fff;
  text-align: center;
  padding: 70px 24px;
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 10px; }
.page-hero p { max-width: 600px; margin: 0 auto; opacity: .95; font-size: 1.1rem; }

/* ---------- Gallery ---------- */
.gallery { columns: 3 260px; column-gap: 18px; }
.gallery figure {
  margin: 0 0 18px;
  break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.gallery .ph {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.92);
  font-size: 2.6rem;
  font-family: var(--font-script);
  filter: saturate(.68) brightness(1.05);
}
.gallery figcaption {
  background: var(--parchment);
  padding: 10px 14px;
  font-family: var(--font-ui);
  font-size: .82rem;
  color: var(--ink-soft);
}

/* ---------- Newsletter strip ---------- */
.newsletter {
  background: var(--terracotta);
  color: #fff;
  text-align: center;
  padding: 64px 24px;
}
.newsletter h2 { color: #fff; }
.newsletter form {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  max-width: 520px; margin: 22px auto 0;
}
.newsletter input {
  flex: 1; min-width: 220px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-body);
  font-size: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest);
  color: #d7dcc9;
  padding: 56px 24px 28px;
}
.footer-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 2fr 1fr 1fr;
  max-width: var(--maxw);
  margin: 0 auto;
}
.site-footer h4 { color: #fff; font-family: var(--font-ui); font-size: .9rem; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 14px; }
.site-footer a { color: #cdd6bb; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; line-height: 2; font-family: var(--font-ui); font-size: .92rem; }
.footer-brand p { color: #b8c2a4; max-width: 320px; }
.socials { display: flex; gap: 14px; margin-top: 14px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.socials a:hover { background: var(--terracotta); }
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 36px; padding-top: 22px;
  font-family: var(--font-ui); font-size: .82rem; color: #9aa687;
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--parchment);
    border-bottom: 1px solid rgba(111,129,87,.25);
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 460px; }
  .nav-links li { border-top: 1px solid rgba(111,129,87,.15); }
  .nav-links a { display: block; padding: 14px 24px; border-bottom: none; }
  .nav-cta { margin: 12px 24px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { columns: 2 160px; }
}
