/* Story Animals · brand look
   Colours: black and white base, logo green as a small accent, story red for two feature bands.
   Type follows the original storyanimals.world:
     Orpheus Pro (headings, quotes, italic emphasis), Roboto (body, nav), Inter Tight (buttons).
   Selfie and Compacta live only inside the logo and title graphics (images), never as live text.
   Spacing on a 4px base. */

:root {
  --bg: #000000;
  --surface: #141414;
  --paper: #FFFFFF;
  --text: #FFFFFF;
  --muted: #A6A6A6;        /* 8.6:1 on black */
  --ink: #000000;
  --ink-muted: #5C5C5C;    /* 6.7:1 on white */
  --green: #39C939;        /* logo green, 9.6:1 on black */
  --green-ink: #1A7A28;    /* green text on white, 5.4:1 */
  --red: #B2371E;          /* story red */
  --line: rgba(255, 255, 255, .22);

  /* orpheus-pro needs an Adobe Fonts kit; Cormorant Garamond is the free stand-in */
  --serif: "orpheus-pro", "Cormorant Garamond", Georgia, serif;
  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --button: "Inter Tight", "Roboto", system-ui, sans-serif;
  --track: .05em;          /* the original site's body letter spacing */

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --gutter: 16px;
  --max: 1200px;
  --narrow: 720px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.8 var(--sans); letter-spacing: var(--track); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; background: var(--surface); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
h1, h2, h3 { margin: 0 0 var(--s4); font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: 0; }
h1 { font-size: clamp(2.75rem, 7vw, 4.25rem); }
h2 { font-size: clamp(2.125rem, 5vw, 2.875rem); }
h3 { font-size: 1.625rem; line-height: 1.15; }
h1 em, h2 em { font-style: italic; }
p { margin: 0 0 var(--s4); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.center { text-align: center; }
.hidden { display: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--paper); color: var(--ink); padding: var(--s3) var(--s4); z-index: 10; }
.skip:focus { left: var(--s4); top: var(--s4); }

/* ------------------------------------------------ type helpers */
.eyebrow { font: 500 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: var(--s3); }
.eyebrow-light { color: var(--green); }
.lede { font-size: 1.0625rem; color: var(--muted); max-width: 36em; }
@media (min-width: 720px) { .lede { font-size: 1.125rem; } }
.statement { font: italic 400 clamp(1.75rem, 4vw, 2.75rem)/1.2 var(--serif); letter-spacing: 0; margin-bottom: var(--s5); }
.link-arrow { font: 500 1rem var(--button); letter-spacing: 0; text-decoration: none; color: var(--text); display: inline-flex; gap: var(--s2); align-items: center; min-height: 44px; border-bottom: 1px solid currentColor; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow:hover { color: var(--green); }
.link-light { color: var(--text); }

/* ------------------------------------------------ buttons: outlined and square, like the original */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px;
  background: transparent; color: var(--text); border: 2px solid var(--text);
  font: 500 1rem/1 var(--button); letter-spacing: 0; text-decoration: none; cursor: pointer; transition: background .2s, color .2s;
}
.btn:hover { background: var(--text); color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 var(--s4); font-size: .9375rem; }
.btn-ghost { background: transparent; }

/* ------------------------------------------------ header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s3); min-height: 68px; }
.logo { display: block; }
.logo img { height: 34px; width: auto; background: none; }
.nav-toggle { display: none; }
#site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); width: 100%; padding-bottom: var(--s3); }
#site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s5); }
#site-nav ul a { text-decoration: none; display: inline-block; padding: var(--s2) 0; }
#site-nav ul a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -1px 0 var(--green); }
.js .nav-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s4); background: none;
  border: 2px solid var(--text); font: 500 .9375rem var(--button); color: var(--text); cursor: pointer; }
.js #site-nav { display: none; flex-direction: column; align-items: flex-start; padding: var(--s3) 0 var(--s5); }
.js #site-nav.open { display: flex; }
.js #site-nav ul { flex-direction: column; gap: 0; width: 100%; }
.js #site-nav ul a { padding: var(--s3) 0; font-size: 1.125rem; }
@media (min-width: 900px) {
  .header-inner { flex-wrap: nowrap; }
  .logo img { height: 40px; }
  .js .nav-toggle { display: none; }
  #site-nav, .js #site-nav { display: flex; flex-direction: row; align-items: center; width: auto; padding: 0; gap: var(--s6); }
  #site-nav ul, .js #site-nav ul { flex-direction: row; gap: var(--s5); width: auto; }
  .js #site-nav ul a { font-size: 1rem; padding: var(--s2) 0; }
}

/* ------------------------------------------------ signature: the teller tag */
.tag { position: relative; display: inline-grid; gap: 2px; margin: var(--s4) 0 var(--s5); text-align: left;
  padding: var(--s3) var(--s5) var(--s3) calc(var(--s4) + 20px); border: 1px solid var(--text);
  border-radius: 0 12px 12px 0; max-width: 100%; }
.tag::before { content: ""; position: absolute; left: 11px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  border: 1px solid var(--text); border-radius: 50%; }
.tag-label { font: 500 .6875rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.tag-name { font: 400 1.5rem/1.2 var(--serif); letter-spacing: 0; }
.tag-meta { font-size: .8125rem; color: var(--muted); line-height: 1.5; }
.tag-light .tag-label { color: var(--text); }
.tag-light .tag-meta { color: var(--text); opacity: .9; }

/* ------------------------------------------------ sections */
.section { padding: var(--s8) 0; }
.section-flush { padding-top: 0; }
@media (min-width: 900px) { .section { padding: var(--s9) 0; } }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s2) var(--s5); margin-bottom: var(--s6); }
.section-head h2 { margin: 0; }
.section-head a { font: 500 1rem var(--button); letter-spacing: 0; color: var(--text); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid currentColor; }
.section-head a::after { content: " →"; white-space: pre; }

/* white sections, like the original site's white blocks */
.section-tint { background: var(--paper); color: var(--ink); }
.section-tint .eyebrow { color: var(--green-ink); }
.section-tint .section-head a, .section-tint .link-arrow { color: var(--ink); }
.section-tint a:hover { color: var(--green-ink); }
.section-tint .card-teller span, .section-tint .lede, .section-tint .partner p { color: var(--ink-muted); }
.section-tint img { background: #EDEDED; }
.section-tint .btn { color: var(--ink); border-color: var(--ink); }
.section-tint .btn:hover { background: var(--ink); color: var(--paper); }
.section-tint :focus-visible { outline-color: var(--green-ink); }

.page-head { padding: var(--s8) 0 var(--s7); }
.page-head h1 { max-width: 16ch; }
.center h1, .center h2 { margin-left: auto; margin-right: auto; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ------------------------------------------------ home hero: landing film, like the original site */
.hero-film { position: relative; overflow: hidden; min-height: 88vh; display: flex; align-items: center; background: var(--bg); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-film::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.hero-film .hero-inner { position: relative; z-index: 1; display: grid; gap: var(--s6); align-items: center; padding-top: var(--s8); padding-bottom: var(--s8); }
.hero-logo { width: min(260px, 60vw); height: auto; background: none; }
.hero-film .lede { color: var(--text); }
@media (min-width: 900px) {
  .hero-film .hero-inner { grid-template-columns: 5fr 6fr; gap: var(--s8); }
  .hero-logo { width: 100%; max-width: 420px; justify-self: end; }
}
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } .hero-film { background: #000 url("img/landing-poster.jpg") center / cover; } }

/* ------------------------------------------------ home hero (static fallback) */
.hero { padding: var(--s7) 0 var(--s8); }
.hero-inner { display: grid; gap: var(--s6); align-items: center; }
.hero h1 { max-width: 13ch; font-size: clamp(2.75rem, 7.5vw, 4.75rem); }
.hero-img { margin: 0; }
.hero-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (min-width: 900px) {
  .hero { padding: var(--s8) 0 var(--s9); }
  .hero-inner { grid-template-columns: 6fr 5fr; gap: var(--s8); }
}

/* ------------------------------------------------ hook band (story red) */
.band { padding: var(--s8) 0; }
@media (min-width: 900px) { .band { padding: var(--s9) 0; } }
.band-dark { background: var(--bg); color: var(--text); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hook { margin: 0 0 var(--s3); }
.hook p { font: 400 clamp(2.25rem, 6vw, 3.75rem)/1.1 var(--serif); letter-spacing: 0; margin: 0; text-indent: -0.35em; }
.band-dark .tag { display: grid; width: fit-content; }
.band-dark .tag-label { color: var(--green); }
.band-dark .tag-meta { color: var(--text); opacity: .9; }
.band-dark .link-arrow { display: flex; width: fit-content; color: var(--text); }
.band-dark .link-arrow:hover { color: var(--green); }
.band-share { background: var(--green); color: var(--ink); }
.band-share h2 { max-width: 16ch; margin: 0 auto var(--s4); }
.band-share p { max-width: 32em; margin: 0 auto var(--s5); }
.band-share .btn { color: var(--ink); border-color: var(--ink); }
.band-share .btn:hover { background: var(--ink); color: var(--text); }
.band-share :focus-visible { outline-color: var(--ink); }

/* ------------------------------------------------ habitat cards */
.habitats { display: grid; gap: var(--s5); }
@media (min-width: 720px) { .habitats { grid-template-columns: 1fr 1fr; } }
.habitat { position: relative; display: block; overflow: hidden; color: var(--text); text-decoration: none; background: var(--surface); }
.habitat img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
@media (min-width: 720px) { .habitat img { aspect-ratio: 5 / 6; } }
.habitat:hover { color: var(--text); }
.habitat:hover img { transform: scale(1.03); }
.habitat-text { position: absolute; inset: auto 0 0 0; padding: var(--s8) var(--s5) var(--s5); display: grid; gap: var(--s1);
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.75) 55%, rgba(0,0,0,0) 100%); }
.habitat-name { font: 400 clamp(2.75rem, 6vw, 3.75rem)/1 var(--serif); letter-spacing: 0; }
.habitat-meta { font-size: 1rem; }
.habitat-count { font: 500 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-top: var(--s2); }

/* ------------------------------------------------ story cards */
.grid { display: grid; gap: var(--s7) var(--s5); align-items: start; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; }
.card[hidden] { display: none; }
.card-img img { width: 100%; height: auto; }  /* designed covers: never crop */
.card-body { padding-top: var(--s4); }
.card-quote { font: 400 1.375rem/1.25 var(--serif); letter-spacing: 0; margin: 0 0 var(--s3);
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.card-quote a { text-decoration: none; }
.card-quote a::after { content: ""; position: absolute; inset: 0; }
.card:hover .card-quote a { color: var(--green); }
.section-tint .card:hover .card-quote a { color: var(--green-ink); }
.card-teller { margin: 0; display: grid; font-weight: 500; line-height: 1.5; }
.card-teller span { font-weight: 400; font-size: .875rem; color: var(--muted); }

/* ------------------------------------------------ chips */
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.chip { min-height: 44px; padding: 0 var(--s5); border: 2px solid var(--text); border-radius: 0; background: transparent;
  font: 500 .9375rem var(--button); color: var(--text); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--text); color: var(--ink); }

/* ------------------------------------------------ habitat page */
.habitat-hero { position: relative; background: var(--surface); color: var(--text); min-height: 70vh; display: flex; align-items: flex-end; overflow: hidden; }
.habitat-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.habitat-hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.7) 45%, rgba(0,0,0,.1) 100%); }
.habitat-hero-text { position: relative; z-index: 1; padding-top: var(--s9); padding-bottom: var(--s8); }
.habitat-hero h1 { max-width: 14ch; }
.habitat-hero .lede { color: var(--text); }
.collection-head { max-width: var(--narrow); margin-bottom: var(--s6); }
.collection-intro { color: var(--muted); }

.feature { display: grid; gap: var(--s5); margin-bottom: var(--s7); }
.feature-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-quote { font: 400 clamp(2rem, 5vw, 3rem)/1.1 var(--serif); margin-bottom: 0; }
.feature-quote a { text-decoration: none; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; } }
.growing { border: 1px dashed var(--text); padding: var(--s6) var(--s5); max-width: var(--narrow); }
.growing .eyebrow { margin-bottom: var(--s2); }
.growing h3 { font-size: clamp(1.75rem, 4vw, 2.25rem); }

/* ------------------------------------------------ story page (centred title, like the original) */
.story-head { padding-top: var(--s7); text-align: center; }
.crumbs { font-size: .8125rem; color: var(--muted); margin-bottom: var(--s5); }
.crumbs a { color: var(--muted); }
.story-title { font: 400 clamp(2.25rem, 6vw, 3.75rem)/1.1 var(--serif); max-width: 20ch; margin-left: auto; margin-right: auto; }
.story-title-plain { font-size: clamp(2.25rem, 5.5vw, 3.5rem); }
.story-head .lede { margin: var(--s4) auto 0; }
.story-cover { margin: var(--s5) auto var(--s7); }
.story-cover { position: relative; }
.story-cover img { width: 100%; height: auto; }
.narrow-wide { max-width: calc(960px + 2 * var(--gutter)); }
.cover-title { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(70%, 520px); background: none !important; }
.story-cover figcaption { font-size: .75rem; color: var(--muted); margin-top: var(--s2); }

.prose { font-size: 1.0625rem; line-height: 1.8; padding-bottom: var(--s8); }
@media (min-width: 720px) { .prose { font-size: 1.1rem; } }
.prose p { margin-bottom: var(--s5); }
.prose h3 { font-size: 1.75rem; margin: var(--s7) 0 var(--s4); }
.prose .subhead { font: 400 clamp(1.75rem, 4vw, 2.15rem)/1.1 var(--serif); letter-spacing: 0; margin: var(--s7) 0; }
.prose blockquote { margin: var(--s6) 0; padding: var(--s5); border-left: 2px solid var(--green); }
.prose blockquote p { font: italic 400 1.5rem/1.35 var(--serif); letter-spacing: 0; margin-bottom: var(--s3); }
.prose cite { font-size: .875rem; font-style: normal; color: var(--muted); }
.prose figure { margin: var(--s6) 0; }
.prose figure img { width: 100%; }
.prose figcaption, .gallery figcaption { font-size: .8125rem; line-height: 1.5; color: var(--muted); margin-top: var(--s2); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin: var(--s6) 0; }
.gallery figure { margin: 0; }
.gallery img { aspect-ratio: 1; object-fit: cover; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: var(--s7) 0; }
.prose a { color: var(--text); }
.prose a:hover { color: var(--green); }
.byline { font-size: .8125rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: var(--s4); margin-top: var(--s7); }
.video { position: relative; aspect-ratio: 16 / 9; margin: var(--s5) 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.next { background: var(--red); color: var(--text); padding: var(--s8) 0; }
.next .eyebrow { color: var(--text); }
.next-link { display: block; font: 400 clamp(1.75rem, 4.5vw, 2.75rem)/1.15 var(--serif); letter-spacing: 0; text-decoration: none; color: var(--text); }
.next-link:hover { color: var(--ink); }
.next-link::after { content: "\00a0→"; }
.next .tag-label { color: var(--text); }
.next .tag-meta { color: var(--text); opacity: .9; }
.next :focus-visible { outline-color: var(--text); }

/* ------------------------------------------------ forest page extras */
.habitat-hero-title { min-height: 0; background: var(--bg); }
.habitat-hero-title::after { display: none; }
.habitat-hero-title .habitat-hero-text { padding-top: var(--s8); padding-bottom: var(--s7); }
.habitat-hero-title .lede { margin-left: auto; margin-right: auto; }
.title-graphic { display: block; width: min(100%, 560px); height: auto; margin: 0 auto var(--s5); background: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.feature-day .feature-img img { aspect-ratio: auto; }
.collection-photos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-bottom: var(--s6); }
.collection-photos figure { margin: 0; }
.collection-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (min-width: 900px) { .collection-photos { max-width: 720px; } }
.facts-banner { display: block; max-width: 960px; margin: 0 auto var(--s4); }
.facts-banner img { width: 100%; height: auto; background: none; }

/* ------------------------------------------------ learn */
.facts-header { position: relative; margin: 0 0 var(--s6); }
.facts-header > img:first-child { width: 100%; height: auto; }
.facts-header .title-graphic { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); width: min(60%, 420px); margin: 0; }
.partner-logo { height: 120px; display: flex; align-items: center; justify-content: flex-start; margin-bottom: var(--s4); }
.partner-logo img { max-height: 120px; width: auto; max-width: 100%; background: none; }
.facts h3 { font-size: clamp(1.625rem, 4vw, 2rem); margin: var(--s7) 0 var(--s3); }
.facts h3:first-child { margin-top: var(--s5); }
.partners { display: grid; gap: var(--s5); }
@media (min-width: 720px) { .partners { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .partners { grid-template-columns: repeat(3, 1fr); } }
.partner { background: #F2F2F2; padding: var(--s5); display: flex; flex-direction: column; }
.partner .link-arrow, .partner .placeholder { margin-top: auto; }
.partner .link-arrow { align-self: flex-start; }

/* ------------------------------------------------ form */
.form { display: grid; gap: var(--s5); }
.field { display: grid; gap: var(--s2); }
.field label { font-weight: 500; }
.field input, .field select, .field textarea { font: 400 1rem/1.5 var(--sans); color: var(--ink); background: var(--paper);
  border: 1px solid var(--paper); border-radius: 0; padding: var(--s3); min-height: 48px; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--green); outline-offset: 2px; }
.field-row { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-check { grid-template-columns: auto 1fr; align-items: center; gap: var(--s3); }
.field-check input { width: 22px; height: 22px; min-height: 0; accent-color: var(--green); }
.field-check label { font-weight: 400; }
.hint { font-size: .875rem; color: var(--muted); margin: 0; }
.form .btn { justify-self: start; }

/* ------------------------------------------------ placeholders (remove before launch) */
.placeholder { border: 2px dashed #E0522F; background: #FFF1E3; color: var(--ink); padding: var(--s4); margin: var(--s5) 0;
  font-size: .9375rem; line-height: 1.5; letter-spacing: 0; text-align: left; }
.placeholder strong { display: inline-block; background: var(--red); color: #fff; font-size: .6875rem; letter-spacing: .1em;
  text-transform: uppercase; padding: 2px 6px; margin-right: var(--s2); }
.placeholder-inline { margin: 0; }

/* ------------------------------------------------ footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); color: var(--muted); padding: var(--s8) 0; font-size: .875rem; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--green); }
.footer-logo { width: 160px; height: auto; background: none; margin-bottom: var(--s5); }
.footer-inner { display: grid; gap: var(--s6); }
.footer-inner p { max-width: 32em; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.footer-links a { display: inline-block; padding: var(--s1) 0; }
@media (min-width: 720px) { .footer-inner { grid-template-columns: 2fr 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
.story-cover:has(.cover-title) { min-height: 260px; background: var(--surface); }

/* ------------------------------------------------ hook band with Pak Laju's portrait */
.hook-grid { display: grid; gap: var(--s6); align-items: center; }
.hook-img { margin: 0; }
.hook-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; background: none; }
@media (min-width: 900px) { .hook-grid { grid-template-columns: 5fr 7fr; gap: var(--s8); } }

/* ------------------------------------------------ clean, even story grid */
.grid { align-items: stretch; gap: var(--s7) var(--s5); }
.card { height: 100%; }
.card-img { overflow: hidden; }
.card-img img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; display: block; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding-top: var(--s4); display: flex; flex-direction: column; flex: 1; }
.card-quote { -webkit-line-clamp: 3; font-size: 1.25rem; margin-bottom: var(--s4); }
.card-teller { margin-top: auto; padding-top: var(--s3); border-top: 1px solid var(--line); }
.section-tint .card-teller { border-top-color: rgba(0,0,0,.15); }
@media (prefers-reduced-motion: reduce) { .card:hover .card-img img { transform: none; } }
.film-play { position: absolute; z-index: 2; right: var(--gutter); bottom: var(--s5); min-height: 44px; padding: 0 var(--s5); background: rgba(0,0,0,.55); color: var(--text); border: 2px solid var(--text); font: 500 .9375rem var(--button); cursor: pointer; }

/* stories always sit on black */
.section-stories { background: var(--bg); color: var(--text); border-top: 1px solid var(--line); }
/* partner logos on a white plate so every logo reads cleanly */
.partner-logo { height: 140px; background: #fff; padding: var(--s3); display: flex; align-items: center; justify-content: center; }
.partner-logo img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }

/* Share by email */
.share-email h2 { margin-bottom: var(--s3); }
.share-email p { margin-bottom: var(--s4); }
.share-list { margin: 0 0 var(--s4); padding-left: 1.2em; }
.share-list li { margin-bottom: var(--s2); }
.share-email .btn { margin: var(--s3) 0 var(--s4); }
