/* dawn.css. GGND Daily "Warm Horizon" design layer.
   Warm, hopeful and quietly futuristic; editorial, not childlike.
   Instrument Serif (display serif) + General Sans (text sans). Ivory, terracotta, amber.
   Futurism comes from light: soft glows, a luminous horizon line, frosted glass.
   Loaded after style.css; overrides tokens and key components only. */
:root,
[data-theme='light'] {
  --font-display: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --font-body: 'General Sans', 'Avenir Next', 'Segoe UI', sans-serif;
  --ink: #1f1712;
  --amber: #f2a33a;
  --ember: #e2683f;
  --rose: #d9708f;
  --horizon: linear-gradient(90deg, #f2a33a 0%, #e2683f 55%, #d9708f 100%);
  --hero-bg: radial-gradient(120% 90% at 78% 0%, #ffe9cf 0%, rgba(255,233,207,0) 55%), linear-gradient(180deg, #fbf3e7 0%, #f8efe2 100%);
  --color-bg: #faf6ef;
  --color-surface: #ffffff;
  --color-surface-2: #fdfaf5;
  --color-surface-offset: #f4ece0;
  --color-surface-offset-2: #ece1d1;
  --color-divider: #ece2d4;
  --color-border: #e0d3c1;
  --color-text: #1f1712;
  --color-text-muted: #5b4d42;
  --color-text-faint: #8a7a6c;
  --color-text-inverse: #faf6ef;
  --color-primary: #b9481f;
  --color-primary-hover: #9c3b17;
  --color-primary-active: #7d2f12;
  --color-primary-highlight: #f7e1d4;
  --radius-md: .75rem;
  --radius-lg: 1.1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 2px rgba(31,23,18,.05), 0 6px 18px -10px rgba(31,23,18,.18);
  --shadow-md: 0 2px 4px rgba(31,23,18,.04), 0 18px 40px -20px rgba(31,23,18,.28);
  --shadow-lg: 0 30px 70px -30px rgba(120,55,20,.35);
}
[data-theme='dark'] {
  --hero-bg: radial-gradient(120% 90% at 78% 0%, rgba(226,104,63,.22) 0%, rgba(226,104,63,0) 55%), linear-gradient(180deg, #1d1612 0%, #18120f 100%);
  --color-bg: #17110e;
  --color-surface: #211915;
  --color-surface-2: #261d18;
  --color-surface-offset: #2a201a;
  --color-surface-offset-2: #33271f;
  --color-divider: rgba(250,232,210,.1);
  --color-border: rgba(250,232,210,.18);
  --color-text: #f6ece0;
  --color-text-muted: #d6c6b6;
  --color-text-faint: #a8968a;
  --color-text-inverse: #17110e;
  --color-primary: #f08a5d;
  --color-primary-hover: #f5a17b;
  --color-primary-active: #f8b799;
  --color-primary-highlight: rgba(240,138,93,.14);
  --color-teal: #7fd1bf;
  --color-teal-highlight: rgba(127,209,191,.12);
  --color-gold-highlight: rgba(242,163,58,.14);
}

/* ---------- type ---------- */
body { font-family: var(--font-body); font-feature-settings: "ss01", "kern"; }
h1, h2, h3, .font-display { font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em; text-wrap: balance; }
p, li, a, span, label, button, input, textarea { font-family: var(--font-body); }
h1 em, h2 em, h3 em, .brand__daily, .edition-bar__tag em, .site-footer__line em { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.eyebrow { font-family: var(--font-body); font-weight: 600; font-size: .72rem; letter-spacing: .18em; color: var(--color-primary); }
.prose p, .prose li, .article-body p, .article-body li { font-size: 1.1rem; line-height: 1.75; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
::selection { background: #fbd9bf; color: var(--ink); }

/* ---------- edition bar ---------- */
.edition-bar { background: var(--ink); color: #e9dccd; font-size: .78rem; position: relative; z-index: 51; }
.edition-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--horizon); opacity: .6; }
.edition-bar__row { display: flex; align-items: center; gap: .3rem; min-height: 38px; flex-wrap: wrap; }
.edition-bar__label { font-weight: 500; color: #a8968a; margin-right: .4rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.edition-bar a, .edition-bar__soon { text-decoration: none; padding: .22rem .7rem; border-radius: 999px; color: #e9dccd; font-size: .78rem; transition: background .2s, color .2s; }
.edition-bar a:hover { background: rgba(255,255,255,.07); color: #fff; }
.edition-bar a[aria-current="page"] { background: rgba(242,163,58,.16); color: #ffd7a6; box-shadow: inset 0 0 0 1px rgba(242,163,58,.4); }
.edition-bar__soon { color: #a8968a; cursor: default; }
.edition-bar__soon small { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; margin-left: .4rem; padding: .08rem .45rem; border-radius: 999px; border: 1px solid rgba(233,220,205,.22); }
.edition-bar__tag { margin-left: auto; color: #a8968a; font-size: .8rem; }
.edition-bar__tag em { color: #f3c08a; font-size: 1.02em; }

/* ---------- header: frosted glass ---------- */
.site-header { background: rgba(250,246,239,.78); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border-bottom: 1px solid var(--color-divider); }
[data-theme='dark'] .site-header { background: rgba(23,17,14,.8); }
.brand { color: var(--color-text); }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.brand__daily { color: var(--color-primary); margin-left: .08em; font-size: 1.04em; }
.brand__tag { color: var(--color-text-faint); letter-spacing: .16em; font-size: .58rem; margin-top: .25rem; }
.main-nav a { font-weight: 500; font-size: .9rem; color: var(--color-text-muted); position: relative; transition: color .2s; }
.main-nav a:hover { color: var(--color-text); }
.main-nav a[aria-current="page"] { color: var(--color-text) !important; }
.main-nav a[aria-current="page"]::after { background: var(--horizon) !important; height: 2px !important; border-radius: 2px; }
.nav-toggle, .theme-toggle { flex-shrink: 0; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; border-radius: 999px; color: var(--color-text); background: transparent !important; }
.theme-toggle { display: inline-flex; }
.theme-toggle:hover, .nav-toggle:hover { background: var(--color-surface-offset) !important; }
.site-header .btn--primary { flex-shrink: 0; }

/* ---------- buttons ---------- */
.btn { font-family: var(--font-body); font-weight: 600; letter-spacing: .005em; border-radius: 999px; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s; }
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -14px rgba(31,23,18,.7); position: relative; isolation: isolate; overflow: hidden; }
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--horizon); opacity: 0; transition: opacity .3s ease; }
.btn--primary:hover { transform: translateY(-1px); color: #fff; box-shadow: 0 14px 28px -14px rgba(226,104,63,.8); }
.btn--primary:hover::before { opacity: 1; }
.site-header .btn--primary { background: var(--color-primary); }
[data-theme='dark'] .btn--primary { background: #f6ece0; color: var(--ink); }
[data-theme='dark'] .btn--primary:hover { color: #fff; }
.btn--ghost { background: transparent; border: 1px solid var(--color-text); color: var(--color-text); }
.btn--ghost:hover { background: var(--color-text); color: var(--color-bg); }

/* ---------- page heroes: warm light + horizon ---------- */
.hero { background: var(--hero-bg); isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--color-divider); }
.hero > .container { position: relative; z-index: 3; }
.hero .sun-texture { display: none; }
/* a soft rising sun of light, behind every hero */
.hero::before { content: ""; position: absolute; z-index: 0; pointer-events: none; width: min(70vw, 900px); aspect-ratio: 1; right: -12%; top: -45%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,214,150,.75), rgba(242,163,58,.28) 45%, rgba(226,104,63,.08) 70%, transparent 100%); filter: blur(10px); }
/* fine luminous horizon line along the bottom */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 2; background: var(--horizon); opacity: .7; }
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: sun-breathe 10s ease-in-out infinite alternate; }
}
@keyframes sun-breathe { from { transform: translate(0,0) scale(1); opacity: .85; } to { transform: translate(-3%, 4%) scale(1.08); opacity: 1; } }
[data-theme='dark'] .hero::before { background: radial-gradient(closest-side, rgba(242,163,58,.35), rgba(226,104,63,.14) 50%, transparent 100%); }

.hero__title { color: var(--color-text); font-weight: 500; line-height: 1.02; letter-spacing: -.03em; }
.hero__title em { font-style: italic; font-weight: 400; background: var(--horizon); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero__lede { color: var(--color-text-muted); font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem); line-height: 1.65; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: .6rem; }
.hero .eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--horizon); }
.hero__art { border-radius: var(--radius-xl); position: relative; overflow: visible; box-shadow: none; aspect-ratio: auto; }
.hero__art img { border-radius: var(--radius-xl); aspect-ratio: 4/3; position: relative; z-index: 2; box-shadow: 0 0 0 1px rgba(255,255,255,.6), var(--shadow-lg); }
/* glass frame offset behind the image */
.hero__art::before { content: ""; position: absolute; z-index: 1; inset: 18px -18px -18px 18px; border-radius: var(--radius-xl); background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.15)); border: 1px solid rgba(255,255,255,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero__art::after { content: ""; position: absolute; z-index: 3; left: 8%; right: 8%; bottom: -1px; height: 1px; background: var(--horizon); opacity: .9; filter: drop-shadow(0 0 6px rgba(242,163,58,.9)); }
[data-theme='dark'] .hero__art::before { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }

/* home hero: animated horizon arcs */
.horizon { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.horizon__arc { position: absolute; inset: 0; width: 100%; height: 100%; }
.horizon__glow { position: absolute; width: 38vw; height: 38vw; left: -10vw; bottom: -22vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(217,112,143,.22), transparent); }
.horizon__glow--2 { left: 30vw; bottom: -26vw; width: 46vw; height: 46vw; background: radial-gradient(closest-side, rgba(242,163,58,.22), transparent); }
@media (prefers-reduced-motion: no-preference) {
  .horizon__arc path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: arc-draw 2.4s .2s cubic-bezier(.6,.1,.2,1) forwards, arc-shimmer 6s 2.6s ease-in-out infinite alternate; }
  .horizon__arc path + path { animation-delay: .5s, 2.9s; }
  .horizon__glow { animation: glow-drift 14s ease-in-out infinite alternate; }
  .horizon__glow--2 { animation-duration: 18s; animation-direction: alternate-reverse; }
}
@keyframes arc-draw { to { stroke-dashoffset: 0; } }
@keyframes arc-shimmer { from { opacity: .55; } to { opacity: 1; } }
@keyframes glow-drift { to { transform: translate(6vw, -3vw) scale(1.12); } }

/* ---------- ticker ---------- */
.ticker { background: var(--ink); border: 0; }
.ticker__item { color: #e9dccd; font-weight: 500; }
.ticker__dot { color: var(--amber); }

/* ---------- section heads ---------- */
.section-head { align-items: end; }
.section-head__title { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem); line-height: 1.05; font-weight: 500; letter-spacing: -.025em; }
.section-head::before { display: none; }
.section-head__link { color: var(--color-primary); font-weight: 600; font-size: .9rem; }

/* ---------- lead story ---------- */
.lead-story { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); position: relative; isolation: isolate; align-items: stretch; overflow: hidden; }
.lead-story::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,214,150,.7), rgba(242,163,58,.15) 60%, transparent); }
.lead-story::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--horizon); }
.lead-story__media { aspect-ratio: auto; height: 100%; min-height: 340px; }
.lead-story__media img { height: 100%; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.lead-story:hover .lead-story__media img { transform: scale(1.03); }
.lead-story__label { color: var(--color-primary); letter-spacing: .18em; }
.lead-story__title { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); line-height: 1.06; font-weight: 500; letter-spacing: -.025em; color: var(--color-text); }
.lead-story__excerpt { color: var(--color-text-muted); font-size: 1.08rem; line-height: 1.6; }
.lead-story__meta { color: var(--color-text-faint); }
[data-theme='dark'] .lead-story::before { background: radial-gradient(closest-side, rgba(242,163,58,.22), transparent); }

/* ---------- story cards: refined, topic accent dot ---------- */
.story-card { --t: var(--color-primary); }
.story-card[data-tag="Health"] { --t: #c94f3d; }
.story-card[data-tag="Climate"] { --t: #3b8058; }
.story-card[data-tag="Education"] { --t: #b9791a; }
.story-card[data-tag="Wildlife & Nature"] { --t: #2b7a6c; }
.story-card[data-tag="Science & Technology"] { --t: #3f6fa8; }
.story-card[data-tag="World & Community"] { --t: #b9481f; }
.story-card[data-tag="Everyday Kindness"] { --t: #b54a6f; }
[data-theme='dark'] .story-card { --t: #f08a5d; }
.story-grid { gap: clamp(1.4rem, 2.5vw, 2rem); }
.story-card { border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-divider); box-shadow: var(--shadow-sm); transition: transform .35s ease, box-shadow .35s ease, border-color .35s; position: relative; overflow: hidden; }
.story-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--horizon); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.7,.2,1); z-index: 2; }
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-border); }
.story-card:hover::after { transform: scaleX(1); }
.story-card__media { aspect-ratio: 3/2; border-radius: 0; }
.story-card__media img { transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.story-card:hover .story-card__media img { transform: scale(1.04); }
.story-card__body { padding: 1.15rem 1.25rem 1.35rem; }
.story-card__tag { display: inline-flex; align-items: center; gap: .45rem; color: var(--t); background: none; padding: 0; font-size: .68rem; font-weight: 600; letter-spacing: .16em; }
.story-card__tag::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: var(--t); box-shadow: 0 0 0 3px color-mix(in srgb, var(--t) 18%, transparent); }
.story-card__title { font-family: var(--font-display); font-weight: 500; font-size: 1.28rem; line-height: 1.18; letter-spacing: -.015em; }
.story-card__excerpt { font-size: .95rem; line-height: 1.55; color: var(--color-text-muted); }
.story-card__meta { color: var(--color-text-faint); font-weight: 500; font-size: .78rem; }
.home-more { display: flex; justify-content: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* ---------- topic filter ---------- */
.topic-filter__btn { border: 1px solid var(--color-border); background: transparent; color: var(--color-text-muted); font-weight: 500; padding: .5rem 1rem; transition: background .2s, border-color .2s, color .2s; }
.topic-filter__btn:hover { border-color: var(--color-text); color: var(--color-text); }
.topic-filter__btn[aria-current='page'], .topic-filter__btn[aria-pressed='true'] { background: var(--color-text); border-color: var(--color-text); color: var(--color-bg); }

/* ---------- founder note, values, sub-brands, donate ---------- */
.founder-note { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-xl); position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }
.founder-note::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--horizon); }
.founder-note__mark { color: var(--amber); font-family: var(--font-display); }
.founder-note__quote { font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); line-height: 1.55; color: var(--color-text); font-weight: 400; }
.founder-note__signature { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--color-primary); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.1rem; counter-reset: v; }
.value-card { counter-increment: v; background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); box-shadow: none; position: relative; transition: border-color .3s, transform .3s; }
.value-card::before { content: "0" counter(v); display: block; font-family: var(--font-display); font-style: italic; font-size: 1.6rem; line-height: 1; margin-bottom: .9rem; background: var(--horizon); -webkit-background-clip: text; background-clip: text; color: transparent; }
.value-card:hover { border-color: var(--color-border); transform: translateY(-3px); }
.subbrand-card { border-radius: var(--radius-lg); border: 1px solid var(--color-divider); background: var(--color-surface); box-shadow: none; transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden; }
.subbrand-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--horizon); opacity: .8; }
.subbrand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.donate-banner { background: var(--ink); border: 0; border-radius: var(--radius-xl); color: #f6ece0; position: relative; overflow: hidden; isolation: isolate; }
.donate-banner::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(242,163,58,.45), rgba(226,104,63,.15) 55%, transparent); }
.donate-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--horizon); }
.donate-banner__title { color: #fff; }
.donate-banner__text { color: #d6c6b6; }
.donate-banner__art { border-radius: var(--radius-lg); }
.donate-banner .btn--primary { background: #f6ece0; color: var(--ink); }
.donate-banner .btn--primary:hover { color: #fff; }

/* ---------- newsletter ---------- */
.newsletter-cta { background: transparent; padding: clamp(3rem, 6vw, 5rem) 0; }
.newsletter-cta__inner { max-width: 760px; background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-xl); padding: clamp(2rem, 4vw, 3rem); box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.newsletter-cta__inner::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--horizon); }
.newsletter-cta__title { color: var(--color-text); font-weight: 500; }
.newsletter-cta__text { color: var(--color-text-muted); }
.newsletter-form__input { border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-surface-2); color: var(--color-text); }
.newsletter-form__btn { border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; }
.newsletter-form__btn:hover { background: var(--color-primary); }
[data-theme='dark'] .newsletter-form__btn { background: #f6ece0; color: var(--ink); }
.newsletter-form__consent a { color: var(--color-primary); }

/* ---------- article pages ---------- */
.article-header { position: relative; isolation: isolate; text-align: center; padding-top: clamp(3rem, 6vw, 5rem) !important; padding-bottom: clamp(8rem, 14vw, 11rem) !important; }
.article-header::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; pointer-events: none; background: var(--hero-bg); border-bottom: 1px solid var(--color-divider); }
.article-header::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 640px; height: 640px; left: 50%; top: -360px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255,214,150,.6), rgba(242,163,58,.14) 55%, transparent); }
[data-theme='dark'] .article-header::after { background: radial-gradient(closest-side, rgba(242,163,58,.22), transparent); }
.article-header .eyebrow { display: inline-flex; align-items: center; gap: .6rem; }
.article-header__title { font-size: clamp(2.1rem, 1.2rem + 3vw, 3.9rem); line-height: 1.04; font-weight: 500; letter-spacing: -.03em; margin-inline: auto; max-width: 20ch; }
.article-header__dek { margin-inline: auto; color: var(--color-text-muted); font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); }
.article-header__meta { justify-content: center; }
.byline__avatar { background: var(--ink); color: #f3c08a; font-family: var(--font-display); font-style: italic; }
.article-header + section .article-hero { margin-top: calc(-1 * clamp(6.5rem, 12vw, 9.5rem)); position: relative; z-index: 2; }
.article-hero { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.source-card { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); }
.donate-nudge { background: var(--ink); color: #f6ece0; border: 0; border-radius: var(--radius-lg); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #e9dccd; border-top: 0; position: relative; overflow: hidden; isolation: isolate; margin-top: clamp(4rem, 8vw, 6rem); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--horizon); }
.site-footer__glow { position: absolute; left: 50%; top: -300px; width: 900px; max-width: 120vw; height: 520px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(242,163,58,.22), rgba(226,104,63,.08) 55%, transparent); pointer-events: none; z-index: -1; }
.site-footer__brandrow { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-top: clamp(3rem, 6vw, 4rem); padding-bottom: 2rem; border-bottom: 1px solid rgba(233,220,205,.12); }
.brand--footer { color: #f6ece0; }
.site-footer .brand__daily { color: #f3c08a; }
.site-footer .brand__tag { color: #a8968a; }
.site-footer__line { color: #d6c6b6; font-size: 1.05rem; }
.site-footer__line em { color: #f3c08a; font-size: 1.08em; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)) minmax(240px, 1.3fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.footer-col--newsletter { max-width: none; }
.footer-col__title { color: #a8968a !important; letter-spacing: .18em; }
.footer-col a { color: #e9dccd; }
.footer-col a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(233,220,205,.12); color: #a8968a; }
.footer-newsletter__title { color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; }
.footer-newsletter__text, .site-footer .newsletter-form__consent { color: #a8968a; }
.site-footer .newsletter-form__consent a { display: inline; margin: 0; font-size: inherit; color: #e9dccd; text-decoration: underline; }
.site-footer .newsletter-form__input { background: rgba(255,255,255,.06); border-color: rgba(233,220,205,.2); color: #fff; }
.site-footer .newsletter-form__input::placeholder { color: #a8968a; }
.site-footer .newsletter-form__btn { background: var(--horizon); color: var(--ink); }

/* ---------- responsive & safety ---------- */
html, body { overflow-x: clip; }
@media (max-width: 860px) {
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .footer-col--newsletter { grid-column: 1 / -1; }
  .main-nav { background: var(--color-surface) !important; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
  .hero__art { margin-top: 1.5rem; }
  .hero__art::before { inset: 12px -10px -12px 12px; }
}
@media (max-width: 760px) {
  .edition-bar__label, .edition-bar__tag { display: none; }
  .edition-bar__row { justify-content: center; gap: 0; }
  .edition-bar a, .edition-bar__soon { padding: .22rem .5rem; }
  .edition-bar__soon small { display: none; }
  .article-header { text-align: left; }
  .article-header__title, .article-header__dek { margin-inline: 0; }
  .article-header__meta { justify-content: flex-start; }
  .site-footer__brandrow { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .site-header__row { gap: .35rem; }
  .brand__logo { width: 34px; height: 34px; }
  .brand__name { font-size: 1.15rem; }
  .brand__tag { display: none; }
  .site-header .btn--sm { padding: .45rem .8rem; font-size: .74rem; }
}
@media (max-width: 480px) { .site-footer__cols { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .site-header .btn--sm { font-size: 0; padding: .45rem .85rem; }
  .site-header .btn--sm::after { content: "Support"; font-size: .76rem; }
}
@media (max-width: 360px) { .brand__logo { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .story-card, .story-card::after, .story-card__media img, .lead-story__media img, .value-card, .subbrand-card, .btn { transition: none; }
}
.hero__lede { font-size: clamp(1.05rem, .98rem + .35vw, 1.2rem); max-width: 34rem; }

/* =========================================================
   SUNRISE OVER THE MANGO TREE (homepage opening)
   Scroll-driven: the section holds in place while the sun rises from
   behind the canopy, over the crown, and the morning light spreads.
   dawn.js sets --p (0 to 1), --sx/--sy (sun centre, px) and --vis
   (how much of the sun has cleared the tree), and paints the light
   shafts canvas. The tree is a photographic silhouette.
   ========================================================= */
.sunrise { --p: 0; --vis: 0; --sx: 70%; --sy: 60%; position: relative; height: 230vh; color: #fff; }
.sunrise__stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; isolation: isolate; display: flex; align-items: center; }
.sunrise__stage > * { position: absolute; }
.sunrise__sky { inset: 0; z-index: 0;
  background: linear-gradient(180deg, #0b1230 0%, #1d2550 24%, #4a3462 46%, #9c4c62 64%, #d9714f 80%, #f39a58 92%, #ffbf7a 100%); }
.sunrise__stars { inset: 0 0 45% 0; z-index: 1; opacity: clamp(0, calc(1 - var(--p) * 2.6), 1);
  background-image: radial-gradient(1.2px 1.2px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 28% 8%, #fff, transparent), radial-gradient(1.4px 1.4px at 44% 22%, #fff, transparent), radial-gradient(1px 1px at 58% 12%, #fff, transparent), radial-gradient(1.2px 1.2px at 76% 6%, #fff, transparent), radial-gradient(1px 1px at 88% 20%, #fff, transparent), radial-gradient(1px 1px at 8% 34%, #fff, transparent), radial-gradient(1.3px 1.3px at 36% 38%, #fff, transparent), radial-gradient(1px 1px at 66% 30%, #fff, transparent), radial-gradient(1px 1px at 94% 36%, #fff, transparent), radial-gradient(1px 1px at 20% 44%, #fff, transparent), radial-gradient(1.1px 1.1px at 52% 4%, #fff, transparent); }
/* morning sky: blue above, gold toward the sun (real Rayleigh/Mie look) */
.sunrise__day { inset: 0; z-index: 2; opacity: clamp(0, calc(var(--p) * 1.25 - .1), 1);
  background:
    radial-gradient(60vmax 45vmax at var(--sx) var(--sy), rgba(255,240,205,.95) 0%, rgba(255,205,140,.7) 18%, rgba(247,160,96,.35) 40%, rgba(230,130,100,0) 70%),
    linear-gradient(180deg, #5f86b8 0%, #8ea7c9 22%, #c9b3bd 44%, #f0b585 66%, #ffd39a 84%, #ffe6bd 100%); }
.sunrise__haze { left: 0; right: 0; bottom: 0; height: 45%; z-index: 3; pointer-events: none; opacity: calc(.35 + var(--p) * .45);
  background: linear-gradient(180deg, rgba(255,200,140,0) 0%, rgba(255,196,130,.35) 60%, rgba(255,220,170,.55) 100%); }
/* the sun: limb-darkened white disc + layered atmospheric bloom */
.sunrise__sun { z-index: 4; left: var(--sx); top: var(--sy); width: var(--sun, clamp(150px, 13vw, 230px)); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.sunrise__disc { position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #fffef9 52%, #fff6dc 74%, #ffe7b0 90%, rgba(255,214,140,.0) 100%);
  box-shadow: 0 0 22px 8px rgba(255,250,235,.95), 0 0 70px 30px rgba(255,226,170,.75); }
.sunrise__bloom { position: absolute; inset: -260%; border-radius: 50%; opacity: calc(.7 + var(--p) * .3);
  background: radial-gradient(closest-side, rgba(255,250,232,.95) 0%, rgba(255,236,190,.75) 7%, rgba(255,206,140,.45) 16%, rgba(250,170,100,.22) 30%, rgba(240,130,90,.08) 50%, transparent 72%); }
.sunrise__tree { z-index: 5; right: -6%; bottom: -1px; width: min(1100px, 64vw); height: auto; pointer-events: none; user-select: none;
  filter: brightness(calc(.5 + var(--p) * .3)) saturate(calc(.8 + var(--p) * .3)); }
.sunrise__shafts { z-index: 6; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; opacity: calc(.55 + var(--p) * .4); }
/* faint anamorphic streak once the sun clears the crown */
.sunrise__flare { z-index: 6; left: var(--sx); top: var(--sy); width: 90vw; height: 10px; transform: translate(-50%, -50%); pointer-events: none; mix-blend-mode: screen; opacity: calc(var(--vis) * .55);
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,245,220,.95), rgba(255,210,150,.35) 40%, transparent 100%); filter: blur(2px); }
.sunrise__mist { z-index: 7; left: 0; right: 0; bottom: 0; height: 22%; pointer-events: none;
  background: linear-gradient(180deg, rgba(250,246,239,0) 0%, rgba(250,246,239,.4) 60%, var(--color-bg) 100%); }
.sunrise__content { position: relative !important; z-index: 8; padding-block: clamp(4rem, 9vw, 7rem); opacity: clamp(0, calc(1 - (var(--p) - .42) * 2.4), 1); transform: translateY(calc(var(--p) * -40px)); }
.sunrise__content::before { content: ""; position: absolute; z-index: -1; left: -20vw; top: -10%; width: 80vw; height: 120%; pointer-events: none; background: radial-gradient(closest-side, rgba(10,10,30,.42), transparent); }
.sunrise__content > * { max-width: min(600px, 46vw); }
.sunrise__eyebrow { font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #ffd9a8; display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.2rem; }
.sunrise__eyebrow::before { content: ""; width: 32px; height: 1px; background: linear-gradient(90deg, transparent, #ffd9a8); }
.sunrise__title { font-family: var(--font-display); font-weight: 500; color: #fff; font-size: clamp(2.7rem, 1.4rem + 4vw, 5.1rem); line-height: .98; letter-spacing: -.035em; text-shadow: 0 2px 30px rgba(20,10,30,.35); }
.sunrise__title em { font-style: italic; font-weight: 400; color: #ffd38a; text-shadow: 0 0 40px rgba(255,190,110,.6); }
.sunrise__lede { margin-top: 1.4rem; font-size: clamp(1.05rem, .98rem + .35vw, 1.22rem); line-height: 1.6; color: rgba(255,246,235,.92); text-shadow: 0 1px 16px rgba(20,10,30,.45); }
.sunrise__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.btn--light { background: #fff8ee; color: var(--ink); box-shadow: 0 12px 30px -12px rgba(255,190,110,.8); }
.btn--light:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 16px 36px -12px rgba(255,190,110,1); }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255,255,255,.22); color: #fff; }
.sunrise__cue { z-index: 8; left: 50%; bottom: 1.4rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--color-text-muted); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; opacity: clamp(0, calc(1 - var(--p) * 3), 1); }
.sunrise__cue i { width: 1px; height: 34px; background: linear-gradient(180deg, var(--ember), transparent); }
@media (prefers-reduced-motion: no-preference) {
  .sunrise__cue i { animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
  .sunrise__content > * { animation: rise-in 1.1s cubic-bezier(.2,.7,.2,1) both; }
  .sunrise__content > :nth-child(2) { animation-delay: .2s; } .sunrise__content > :nth-child(3) { animation-delay: .4s; } .sunrise__content > :nth-child(4) { animation-delay: .6s; }
}
@keyframes cue { 0%,100% { transform: scaleY(.4); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
[data-theme='dark'] .sunrise__mist { background: linear-gradient(180deg, rgba(23,17,14,0) 0%, rgba(23,17,14,.4) 60%, var(--color-bg) 100%); }
@media (max-width: 760px) {
  .sunrise { height: 200vh; }
  .sunrise__stage { align-items: flex-start; }
  .sunrise__tree { width: 135vw; right: -22vw; }
  .sunrise__content { padding-top: 5.5rem; }
  .sunrise__content > * { max-width: 100%; }
  .sunrise__title { font-size: clamp(2.4rem, 1.6rem + 5vw, 3.3rem); }
  .sunrise__cue { display: none; }
}

/* =========================================================
   LIGHT REACHING THE STORIES
   --day grows as you scroll down the page (set by dawn.js).
   ========================================================= */
body::after { content: ""; position: fixed; z-index: -1; pointer-events: none; right: -25vw; top: -35vh; width: 100vw; height: 100vh; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,214,150,.6), rgba(242,163,58,.14) 55%, transparent); opacity: var(--day, .5); }
html.light-ready :is(.story-card, .lead-story, .subbrand-card, .value-card, .founder-note):not(.is-lit) { filter: brightness(.84) saturate(.5) sepia(.14); transform: translateY(18px); opacity: .7; }
:is(.story-card, .lead-story, .subbrand-card, .value-card, .founder-note) { transition: filter 1.2s ease, opacity 1s ease, transform .9s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s; }
.story-card::before, .lead-story__media::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255,226,170,.55) 48%, rgba(255,240,215,.2) 56%, transparent 75%); transform: translateX(-110%); }
.lead-story__media { position: relative; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .story-card.is-lit::before, .lead-story.is-lit .lead-story__media::after { animation: light-sweep 1.6s .15s cubic-bezier(.4,.1,.2,1) forwards; }
}
@keyframes light-sweep { 0% { opacity: 0; transform: translateX(-110%); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateX(110%); } }
.story-card.is-lit { box-shadow: 0 1px 2px rgba(31,23,18,.05), 0 18px 40px -22px rgba(226,104,63,.45); }

/* =========================================================
   TYPE: Instrument Serif has a single (400) weight, so headings use
   size and tight leading for hierarchy rather than bold.
   ========================================================= */
:is(h1, h2, h3, h4, .sunrise__title, .brand__name, .lead-story__title, .story-card__title) { font-weight: 400 !important; }
:is(h1, h2, .sunrise__title) { letter-spacing: -.012em; }
.sunrise__title { font-size: clamp(2.9rem, 1.4rem + 4.2vw, 5.4rem); line-height: .96; }
@media (max-width: 760px) { .sunrise__title { font-size: clamp(2.7rem, 1.8rem + 5vw, 3.6rem); } }

/* =========================================================
   SUNRISE COLOUR: begins low and deep orange, first light
   catches the mangoes, then climbs to a comfortable deep gold.
   dawn.js sets --sun-core/--sun-edge/--sun-glow ("r, g, b") and --fruit.
   ========================================================= */
.sunrise { --sun-core: 255, 140, 50; --sun-edge: 240, 95, 35; --sun-glow: 230, 80, 30; --fruit: 0; }
.sunrise__tree { z-index: 5; filter: brightness(calc(.45 + var(--p) * .3)) saturate(calc(.85 + var(--p) * .25)) sepia(calc(.15 + var(--p) * .1)); }
.sunrise__fruit { z-index: 6; right: -11%; bottom: -1px; width: min(1100px, 63vw); height: auto; pointer-events: none; user-select: none; opacity: var(--fruit);
  filter: brightness(calc(.8 + var(--fruit) * .35)) drop-shadow(0 0 5px rgba(255, 140, 40, calc(.5 + var(--fruit) * .4))) drop-shadow(0 0 14px rgba(var(--sun-glow), .45)); }
.sunrise__shafts { z-index: 7; }
.sunrise__flare { z-index: 7; background: radial-gradient(50% 50% at 50% 50%, rgba(var(--sun-core), .9), rgba(var(--sun-edge), .3) 40%, transparent 100%); opacity: calc(var(--vis) * .4); }
.sunrise__mist { z-index: 8; }
.sunrise__content, .sunrise__cue { z-index: 9; }
.sunrise__disc { background: radial-gradient(circle, rgb(var(--sun-core)) 0%, rgb(var(--sun-core)) 50%, rgb(var(--sun-edge)) 82%, rgba(var(--sun-edge), 0) 100%);
  box-shadow: 0 0 24px 8px rgba(var(--sun-core), .75), 0 0 80px 34px rgba(var(--sun-glow), .55); }
.sunrise__bloom { opacity: calc(.6 + var(--p) * .35);
  background: radial-gradient(closest-side, rgba(var(--sun-core), .85) 0%, rgba(var(--sun-core), .55) 7%, rgba(var(--sun-edge), .38) 16%, rgba(var(--sun-glow), .2) 30%, rgba(var(--sun-glow), .07) 50%, transparent 72%); }
/* morning sky stays warm: dusky rose above, amber and gold toward the sun (no harsh white or pale blue) */
.sunrise__day { opacity: clamp(0, calc(var(--p) * 1.15), 1);
  background:
    radial-gradient(60vmax 45vmax at var(--sx) var(--sy), rgba(var(--sun-core), .8) 0%, rgba(var(--sun-edge), .5) 20%, rgba(var(--sun-glow), .22) 42%, rgba(var(--sun-glow), 0) 70%),
    linear-gradient(180deg, #5e4266 0%, #8f5568 18%, #c46d55 40%, #e38c47 60%, #efa851 78%, #f6c172 100%); }
.sunrise__haze { opacity: calc(.3 + var(--p) * .35); background: linear-gradient(180deg, rgba(240,150,70,0) 0%, rgba(240,150,70,.28) 60%, rgba(246,185,110,.45) 100%); }
@media (max-width: 760px) { .sunrise__fruit { width: 118vw; right: -14vw; } }
/* tree and glowing-fruit layer must share one box so the mangoes line up */
.sunrise__tree, .sunrise__fruit { right: -11%; bottom: -1px; width: min(1100px, 63vw); height: auto; }
.sunrise { padding: 0 !important; margin: 0 !important; }
.sunrise__content > * { max-width: min(560px, 41vw); }
@media (max-width: 760px) {
  .sunrise__tree, .sunrise__fruit { width: 118vw; right: -14vw; }
  .sunrise__content > * { max-width: 100%; }
}
/* keep the full sunrise a comfortable deep gold, never blown-out white */
.sunrise__shafts { opacity: calc(.6 + var(--p) * .12); }
.sunrise__bloom { opacity: calc(.62 + var(--p) * .12); }
.sunrise__day { background:
    radial-gradient(55vmax 40vmax at var(--sx) var(--sy), rgba(var(--sun-core), .62) 0%, rgba(var(--sun-edge), .4) 20%, rgba(var(--sun-glow), .18) 42%, rgba(var(--sun-glow), 0) 70%),
    linear-gradient(180deg, #5e4266 0%, #8f5568 18%, #c46d55 40%, #e38c47 60%, #efa851 78%, #f6c172 100%); }
.sunrise__tree, .sunrise__fruit { max-width: none !important; }

/* =========================================================
   SUN YOU CAN LOOK AT: more orange, less glare, so the disc and
   its outer rim stay visible (limb darkening toward the edge).
   ========================================================= */
.sunrise__disc { background: radial-gradient(circle, rgb(var(--sun-core)) 0%, rgb(var(--sun-core)) 46%, rgb(var(--sun-edge)) 88%, rgba(var(--sun-edge), .9) 97%, rgba(var(--sun-edge), 0) 100%);
  box-shadow: 0 0 0 1px rgba(var(--sun-core), .35), 0 0 14px 3px rgba(var(--sun-edge), .55), 0 0 46px 14px rgba(var(--sun-glow), .32); }
.sunrise__bloom { inset: -200%; opacity: calc(.42 + var(--p) * .1);
  background: radial-gradient(closest-side, rgba(var(--sun-edge), .5) 0%, rgba(var(--sun-edge), .3) 9%, rgba(var(--sun-glow), .16) 22%, rgba(var(--sun-glow), .06) 42%, transparent 66%); }
.sunrise__shafts { opacity: calc(.45 + var(--p) * .1); }
.sunrise__flare { opacity: calc(var(--vis) * .18); }
.sunrise__day { background:
    radial-gradient(48vmax 34vmax at var(--sx) var(--sy), rgba(var(--sun-edge), .42) 0%, rgba(var(--sun-glow), .24) 22%, rgba(var(--sun-glow), .1) 44%, rgba(var(--sun-glow), 0) 70%),
    linear-gradient(180deg, #5a3e62 0%, #8a5065 18%, #bd6550 40%, #db7c3e 60%, #e99444 78%, #f0aa58 100%); }
.sunrise__haze { opacity: calc(.25 + var(--p) * .25); }
/* softer first light on the mangoes */
.sunrise__fruit { opacity: calc(var(--fruit) * .62);
  filter: brightness(calc(.82 + var(--fruit) * .12)) saturate(.92) drop-shadow(0 0 3px rgba(255, 140, 40, calc(var(--fruit) * .35))); }

/* =========================================================
   SMALL SUNRISE: a short band at the top of every other page.
   Built by dawn.js; decorative only.
   ========================================================= */
.mini-sunrise { --p: 0; --sx: 70%; --sy: 60%; --fruit: 0; --sun-core: 255, 138, 48; --sun-edge: 236, 92, 34; --sun-glow: 222, 76, 30;
  position: relative; height: clamp(150px, 15vw, 230px); overflow: hidden; isolation: isolate; pointer-events: none; }
.mini-sunrise > * { position: absolute; }
.mini-sunrise__sky { inset: 0; z-index: 0; background: linear-gradient(180deg, #141a3e 0%, #2c2c58 30%, #5c3a64 55%, #a54f5e 78%, #dd7449 100%); }
.mini-sunrise__day { inset: 0; z-index: 1; opacity: clamp(0, calc(var(--p) * 1.1), 1);
  background: radial-gradient(40vmax 22vmax at var(--sx) var(--sy), rgba(var(--sun-edge), .45) 0%, rgba(var(--sun-glow), .2) 30%, rgba(var(--sun-glow), 0) 70%),
    linear-gradient(180deg, #5a3e62 0%, #8a5065 25%, #bd6550 50%, #db7c3e 75%, #ec9c4c 100%); }
.mini-sunrise__sun { z-index: 2; left: var(--sx); top: var(--sy); width: clamp(40px, 3.6vw, 58px); aspect-ratio: 1; transform: translate(-50%, -50%); }
.mini-sunrise__sun span { position: absolute; border-radius: 50%; }
.mini-sunrise__sun .b { inset: -220%; opacity: .45; background: radial-gradient(closest-side, rgba(var(--sun-edge), .55), rgba(var(--sun-glow), .18) 30%, transparent 70%); }
.mini-sunrise__sun .d { inset: 0; background: radial-gradient(circle, rgb(var(--sun-core)) 0%, rgb(var(--sun-core)) 46%, rgb(var(--sun-edge)) 90%, rgba(var(--sun-edge), 0) 100%);
  box-shadow: 0 0 10px 2px rgba(var(--sun-edge), .55), 0 0 30px 8px rgba(var(--sun-glow), .3); }
.mini-sunrise__tree, .mini-sunrise__fruit { z-index: 3; right: max(2%, calc((100vw - 1240px) / 2)); bottom: -2px; height: 82%; width: auto; max-width: none !important; }
.mini-sunrise__tree { filter: brightness(calc(.45 + var(--p) * .25)) sepia(.15); }
.mini-sunrise__fruit { z-index: 4; opacity: calc(var(--fruit) * .62); filter: saturate(.92) drop-shadow(0 0 2px rgba(255, 140, 40, .35)); }
.mini-sunrise__mist { z-index: 5; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(180deg, rgba(250,246,239,0), var(--color-bg)); }
[data-theme='dark'] .mini-sunrise__mist { background: linear-gradient(180deg, rgba(23,17,14,0), var(--color-bg)); }
@media (max-width: 760px) { .mini-sunrise { height: 130px; } .mini-sunrise__tree, .mini-sunrise__fruit { right: -6%; height: 86%; } }
/* the page opening below no longer needs its own top glow texture */
.mini-sunrise + .hero .sun-texture { display: none; }
.mini-sunrise__tree, .mini-sunrise__fruit { height: 90%; }
.mini-sunrise__mist { height: 24%; }
@media (max-width: 760px) { .mini-sunrise__tree, .mini-sunrise__fruit { height: 92%; } }

/* text line on the small sunrise */
.mini-sunrise__line { position: absolute; z-index: 6; left: max(1.25rem, calc((100vw - 1240px) / 2)); top: 50%; transform: translateY(-62%); max-width: min(560px, 55vw); margin: 0; color: #fff; text-shadow: 0 1px 14px rgba(20, 10, 30, .45); }
.mini-sunrise__line small { display: block; font: 600 .68rem/1.2 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: #ffd9a8; margin-bottom: .55rem; }
.mini-sunrise__line span { display: block; font: 400 clamp(1.25rem, 1rem + 1vw, 1.9rem)/1.1 var(--font-display); letter-spacing: -.005em; }
.mini-sunrise__line em { color: #ffd38a; }
.mini-sunrise__line .mini-sunrise__count { margin: .7rem 0 0; letter-spacing: .14em; color: rgba(255, 238, 215, .92); }
.mini-sunrise__line .mini-sunrise__count em { font-style: normal; color: #ffd38a; }
@media (max-width: 760px) {
  .mini-sunrise.has-count { height: 168px; }
  .mini-sunrise__line { max-width: 62vw; }
  .mini-sunrise__line span { font-size: 1.15rem; }
  .mini-sunrise__line small { font-size: .62rem; letter-spacing: .16em; }
}

/* ---------- EN | DE language switch ---------- */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; margin-left: .9rem; padding: 2px; border: 1px solid rgba(243,192,138,.28); border-radius: 999px; }
.lang-switch a { display: inline-block; min-width: 2.1rem; padding: .18rem .55rem; border-radius: 999px; color: #d9c8b6; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-align: center; text-decoration: none; line-height: 1.4; }
.lang-switch a:hover { color: #fff; background: rgba(255,255,255,.08); }
.lang-switch a[aria-current="true"] { background: linear-gradient(100deg, #f6b25f, #e9874a); color: #2a1609; }
.lang-switch a:focus-visible { outline: 2px solid #f3c08a; outline-offset: 2px; }
@media (max-width: 720px) {
  .lang-switch { margin-left: .5rem; }
  .lang-switch a { min-width: 1.9rem; padding: .14rem .45rem; font-size: .68rem; }
}
/* German pages: stories that are still English-only */
a.story-card[data-lang-en] .story-card__tag::after { content: " \00b7  Englisch"; opacity: .7; font-weight: 500; }
.de-note { max-width: 62ch; margin: 2.5rem auto 0; padding: 1rem 1.25rem; border-radius: 14px; background: rgba(233,135,74,.08); border: 1px solid rgba(233,135,74,.22); font-size: .95rem; text-align: center; }
@media (max-width: 420px) { html[lang="de"] .site-header .btn--sm::after { content: "Spenden"; } }
.edition-bar__mag small { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; margin-left: .4rem; padding: .08rem .45rem; border-radius: 999px; border: 1px solid rgba(255,190,120,.55); color: #ffcf9a; }
@media (max-width: 720px) { .edition-bar__mag small { display: none; } }
/* homepage words sit in the open sky on the left, leaving the sun and mango tree unobstructed */
@media (min-width: 761px) {
  .sunrise__content.container { max-width: none; margin-left: 0; margin-right: 0; padding-left: clamp(1.5rem, 5vw, 6rem); padding-right: 0; }
  .sunrise__content > * { max-width: min(560px, 40vw); }
  .sunrise__content::before { left: -30vw; width: 75vw; }
}

/* Keep the Explore GGND strip on one line on mid-size screens */
@media (min-width: 761px) and (max-width: 1060px) {
  .edition-bar__tag { display: none; }
  .edition-bar__row .lang-switch { margin-left: auto; }
}
