/* Our Furever Story: Coming Soon site. Brand: Website/brand/Brand_Spec.md
   Contrast rules: body text brown on ivory/white; teal only for large text, buttons (white text), links on white;
   small teal text on ivory uses --teal-text. Never brown on teal. */
:root {
  --brown: #60321D;
  --teal: #367F85;
  --teal-text: #347B81;
  --white: #FFFFFF;
  --ivory: #FAF8F5;
  --line: #E9E2DA;
  --shadow: 0 10px 30px rgba(96, 50, 29, 0.10);
  --radius: 18px;
  --font-heading: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-text); text-underline-offset: 3px; }
a:hover { color: var(--brown); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--brown); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip-link:focus { left: 12px; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }

/* Header */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brown); }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--brown); text-decoration: none; font-weight: 600; padding: 8px 10px; border-radius: 10px; }
@media (max-width: 520px) {
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }  /* name stays readable by screen readers; shown large in the hero */
  .brand img { width: 42px; height: 42px; }
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--white); color: var(--teal-text); }

/* Hero */
.hero { text-align: center; padding: 8px 0 40px; }
.hero-logo { width: clamp(150px, 34vw, 230px); margin: 0 auto 14px; }
.badge { display: inline-block; background: var(--teal); color: var(--white); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; padding: 6px 14px; border-radius: 999px; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; color: var(--brown); }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin: 16px 0 6px; }
.tagline { font-family: var(--font-heading); font-style: italic; font-size: clamp(1.2rem, 3.4vw, 1.6rem); font-weight: 600; color: var(--teal); margin: 0 0 18px; }
.lead { max-width: 640px; margin: 0 auto; font-size: 1.15rem; }

.lead p { margin: 0 0 .9em; }
.lead .lead-strong { font-family: var(--font-heading); font-size: clamp(1.3rem, 3.6vw, 1.6rem); font-weight: 600; line-height: 1.35; }
.lead .lead-close { font-family: var(--font-heading); font-style: italic; color: var(--teal-text); margin-bottom: 0; }

/* Photos: authentic, uncropped where possible; captions sit below (never over) the picture */
figure { margin: 0; }
figcaption { font-family: var(--font-heading); font-style: italic; text-align: center; color: var(--brown); font-size: 1.12rem; line-height: 1.45; padding: 10px 6px 0; }
.feature { margin: 8px auto 56px; max-width: 980px; }
.feature img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }   /* photo 1 keeps its original black-and-white look */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 14px; margin: 0 0 40px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); }
.gallery .pos-horse { object-position: 42% 50%; }   /* keeps the horse and its ball in frame */
.gallery .pos-top { object-position: 50% 25%; }
.gallery figcaption { font-size: 1.06rem; line-height: 1.4; }

/* Content sections */
.section { padding: 8px 0 48px; }
.section h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); text-align: center; margin: 0 0 18px; }
.cards { display: grid; gap: 16px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 8px; font-size: 1.25rem; }
.card p { margin: 0; }

.note { background: var(--white); border-left: 5px solid var(--teal); border-radius: 12px; padding: 22px 24px; max-width: 720px; margin: 0 auto; }
.note h2 { font-size: clamp(1.4rem, 3.6vw, 1.8rem); text-align: left; margin: 0 0 10px; }
.note p { margin: 0 0 .8em; }
.note .note-close { font-family: var(--font-heading); font-style: italic; color: var(--teal-text); margin: 0; }

.prose { max-width: 720px; margin: 0 auto; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-top: 10px; }
@media (min-width: 1000px) { .prose h1 { font-size: 2.65rem; width: max-content; max-width: 820px; } }   /* one line on wide screens; wraps normally if a font runs wider */
.prose h2 { font-size: clamp(1.45rem, 3.8vw, 1.9rem); margin: 2em 0 .6em; }
.prose p { margin: 0 0 1.1em; }
.about-photo { margin: 2.2em auto; max-width: 420px; }
.about-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.signoff { margin-top: 2em; }
.signature { font-family: var(--font-heading); font-style: italic; font-size: 1.5rem; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 2.5em auto 1.5em; width: 60%; }
.dedication { text-align: center; font-size: .98rem; max-width: 560px; margin: 0 auto; }
.ladybug { display: block; margin: 0 auto 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
.site-footer p { margin: 0; }
.site-footer a { display: inline-block; padding: 6px 0; }   /* comfortable tap target (at least 24 px tall) */

/* Placeholders: visible only while copy/photos are pending; check_site.ps1 blocks publishing if any remain */
.placeholder { background: #FFF6D6; outline: 2px dashed #B8860B; color: #5A3A00; padding: 2px 4px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
