/* ==========================================================================
   Beyond Antidepressants
   A quiet-luxury wellness-editorial identity.
   Concept:  there is warmth and light beyond the horizon.
   Type:     Fraunces (display) / Hanken Grotesk (reading + UI) / Fragment Mono (utility)
   Colour:   warm plaster paper, deep twilight indigo structure, a cool ink,
             and a single warm amber "first light" spark.
   Signature: the rising line, a hairline horizon that ascends into a warm dot,
             used as the logo device, the dividers, and the hover language.
   ========================================================================== */

:root {
  /* paper */
  --paper:    #ebe4d5;   /* warm plaster */
  --paper-2:  #e3dbcb;   /* panel        */
  --paper-3:  #d9cfbb;   /* soft edge    */
  --blush:    #e2d3c3;   /* warm tint    */

  /* twilight indigo (structure + dark surfaces) */
  --indigo:   #20263a;
  --indigo-2: #2a3350;
  --slate:    #45506b;   /* links / accents on paper */
  --slate-soft:#6c7691;

  /* ink */
  --ink:      #23262e;   /* body text        */
  --ink-soft: #545b66;   /* secondary text   */
  --ink-faint:#8a8b93;   /* tertiary / meta  */

  /* the warm spark (first light) - a deeper brass ember, used sparingly */
  --spark:    #bd7a41;
  --spark-2:  #a5642c;

  /* rules */
  --line:     #d6ccb8;   /* hairline on paper */
  --line-2:   #e0d7c6;   /* softer hairline   */
  --paper-on-dark: #efe7d9;

  --measure: 37rem;      /* reading measure ~ 66ch */
  --shell:   73rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.72;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--slate); text-decoration: none; }
::selection { background: var(--blush); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ---------- type roles ---------- */
h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.011em;
}

.label {                        /* utility furniture: kickers, folios, labels */
  font-family: 'Fragment Mono', ui-monospace, monospace;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ---------- the dawn mark (the identity signature) ----------
   A sun half-risen, bisected by a horizon that extends beyond the ring,
   crowned with a single stroke of amber first light. Adaptive via
   currentColor so it sits on paper and on the twilight panel alike. */
.sprig { display: block; width: 40px; height: auto; color: var(--slate); }
.mark { display: inline-flex; flex: none; color: var(--indigo); }
.mark svg { display: block; width: 42px; height: 42px; }
.mark .crown { transition: stroke 0.5s var(--ease), d 0.5s var(--ease); }

/* ==========================================================================
   Crisis note
   ========================================================================== */
.crisis {
  background: var(--indigo);
  color: var(--paper-on-dark);
  text-align: center;
  padding: 11px 22px;
  font-family: 'Fragment Mono', ui-monospace, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}
.crisis strong { color: #fff; letter-spacing: 0.08em; }

/* ==========================================================================
   Masthead
   ========================================================================== */
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead-top {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 36px 44px 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* wordmark lockup: crafted dawn mark + imprint-style logotype */
.brandmark { display: inline-flex; align-items: center; gap: 16px; }
.brandmark .mark svg { transition: transform 0.6s var(--ease); }
.brandmark:hover .mark svg { transform: rotate(-4deg); }
.brandmark:hover .mark .crown { stroke: var(--spark-2); }
.wordmark {
  line-height: 1;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
}
.wm-name {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 420;
  font-size: 1.72rem;
  letter-spacing: -0.018em;
  line-height: 0.98;
  color: var(--ink);
}
.wm-sub {
  display: block;
  margin-top: 8px;
  font-family: 'Fragment Mono', ui-monospace, monospace;
  font-size: 0.585rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--slate);
  padding-left: 0.06em;
}

.folio-note {
  margin: 6px 0 0 auto;
  text-align: right;
  font-family: 'Fragment Mono', ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.9;
}

/* nav band */
.navband { border-top: 1px solid var(--line-2); background: var(--paper); position: relative; }
.nav {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 0 16px;
}
.nav a {
  font-family: 'Fragment Mono', ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 16px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.nav a:hover { color: var(--slate); }
.site[data-page="home"]     .nav a[data-k="home"],
.site[data-page="trd"]      .nav a[data-k="trd"],
.site[data-page="numb"]     .nav a[data-k="numb"],
.site[data-page="options"]  .nav a[data-k="options"],
.site[data-page="spravato"] .nav a[data-k="spravato"],
.site[data-page="tms"]      .nav a[data-k="tms"],
.site[data-page="ptsd"]     .nav a[data-k="ptsd"],
.site[data-page="talk"]     .nav a[data-k="talk"],
.site[data-page="stl"]      .nav a[data-k="stl"],
.site[data-page="faq"]      .nav a[data-k="faq"] {
  color: var(--ink);
  border-bottom-color: var(--spark);
}

/* ==========================================================================
   Home hero (signature: the rising horizon)
   ========================================================================== */
.hero {
  position: relative;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 96px 44px 70px;
  overflow: hidden;
}
.hero .kicker { display: block; margin: 0 0 30px; }
.hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.026em;
  max-width: 15ch;
  margin: 0 0 34px;
  color: var(--ink);
}
.hero h1 em { font-style: italic; color: var(--slate); }
.hero .lede {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 400;
  font-size: clamp(1.14rem, 1.8vw, 1.42rem);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 33rem;
  margin: 0;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 44px;
  font-family: 'Fragment Mono', ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.hero-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--spark); flex: none; }
.hero-meta b { color: var(--slate); font-weight: 400; }

/* the ambient rising horizon behind the hero */
.hero-horizon {
  position: absolute;
  right: -2%;
  bottom: 15%;
  width: 44%;
  max-width: 520px;
  height: auto;
  pointer-events: none;
  z-index: -1;
  opacity: 1;
}

/* ==========================================================================
   Divider (the rising line + warm dot)
   ========================================================================== */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 44px;
}
.divider .sprig { width: 30px; color: var(--slate-soft); flex: none; }
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.divider::before { max-width: 40%; }
.divider--wide { margin-top: 34px; margin-bottom: 20px; }

/* ==========================================================================
   Contents (fine index)
   ========================================================================== */
.contents {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 30px 44px 24px;
}
.contents-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 14px;
  margin-bottom: 4px;
}
.contents-head .label { color: var(--ink); }
.contents-head .count {
  font-family: 'Fragment Mono', ui-monospace, monospace;
  font-size: 0.64rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-faint);
}

.entry {
  display: grid;
  grid-template-columns: 3.6rem 1fr auto;
  align-items: baseline;
  column-gap: 26px;
  padding: 30px 8px 30px;
  border-bottom: 1px solid var(--line-2);
  position: relative;
  transition: background-color 0.35s var(--ease);
}
.entry::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 0; height: 1px;
  background: var(--spark);
  transition: width 0.45s var(--ease);
}
.entry:hover { background: rgba(69,80,107,0.05); }
.entry:hover::before { width: 3.6rem; }
.entry .e-folio {
  font-family: 'Fragment Mono', ui-monospace, monospace;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--slate-soft);
  letter-spacing: 0.04em;
  transition: color 0.25s var(--ease);
}
.entry:hover .e-folio { color: var(--spark-2); }
.entry .e-body { min-width: 0; }
.entry h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.16;
  margin: 0 0 9px;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
.entry:hover h2 { color: var(--slate); }
.entry p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.58;
  color: var(--ink-soft);
  max-width: 46ch;
}
.entry .e-go {
  align-self: start;
  padding-top: 8px;
  font-family: 'Fragment Mono', ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0.7;
  transition: opacity 0.25s var(--ease), transform 0.4s var(--ease);
}
.entry .e-go svg { width: 22px; height: 8px; }
.entry:hover .e-go { opacity: 1; transform: translateX(6px); }

/* ==========================================================================
   Article header
   ========================================================================== */
.article-head {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 78px 44px 22px;
  display: grid;
  grid-template-columns: 13rem 1fr;
  column-gap: 52px;
}
.article-head .ah-rail { padding-top: 4px; }
.article-head .ah-rail .kicker { display: block; margin: 0 0 20px; }
.article-head .ah-rail .meta {
  font-family: 'Fragment Mono', ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 2.1;
}
.article-head .ah-rail .meta span { display: block; }
.article-head .ah-rail .sprig { margin-top: 30px; width: 36px; color: var(--slate-soft); }

.article-head .ah-main { }
.article-head h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(2.1rem, 4.3vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0 0 24px;
  max-width: 20ch;
}
.article-head .standfirst {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 400;
  font-size: clamp(1.12rem, 1.7vw, 1.32rem);
  line-height: 1.56;
  color: var(--ink-soft);
  margin: 0;
  max-width: 42ch;
}

/* ==========================================================================
   Article body
   ========================================================================== */
.article-body {
  max-width: var(--measure);
  margin: 34px auto 0;
  padding: 0 44px;
  font-size: 1.075rem;
  line-height: 1.78;
}
.article-body > p { margin: 0 0 26px; }
.article-body h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 1.68rem;
  line-height: 1.22;
  margin: 56px 0 16px;
  letter-spacing: -0.012em;
}
.article-body h2::before {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background: var(--spark);
  margin-bottom: 22px;
}
.article-body h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 1.22rem;
  margin: 36px 0 12px;
}
.article-body a {
  color: var(--slate);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.article-body a:hover { color: var(--indigo); border-bottom-color: var(--slate); }

.article-body ul { list-style: none; margin: 0 0 26px; padding: 0; }
.article-body li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  line-height: 1.66;
}
.article-body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--spark);
}

/* drop cap */
.dropcap::first-letter {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 4.4rem;
  line-height: 0.8;
  float: left;
  padding: 8px 16px 0 0;
  margin-top: 4px;
  color: var(--slate);
}

/* pull quote */
.pullquote {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  line-height: 1.34;
  color: var(--slate);
  margin: 50px 0;
  padding-left: 32px;
  border-left: 2px solid var(--spark);
  letter-spacing: -0.012em;
}

/* callout */
.callout {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 32px 36px 28px;
  margin: 46px 0;
  position: relative;
}
.callout::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--slate);
}
.callout h3 {
  font-family: 'Fragment Mono', ui-monospace, monospace;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 20px;
}
.callout ul { margin-bottom: 0; }
.callout p { font-size: 1rem; color: var(--ink-soft); margin: 16px 0 0; }
.callout p:first-of-type { margin-top: 0; }

/* ==========================================================================
   Provider module (twilight panel)
   ========================================================================== */
.provider {
  position: relative;
  background: var(--indigo);
  color: var(--paper-on-dark);
  max-width: var(--measure);
  margin: 64px auto;
  padding: 46px 48px 42px;
  overflow: hidden;
}
.provider::before {          /* the rising line, drawn faint across the top */
  content: "";
  position: absolute;
  left: 48px; right: 48px; top: 30px;
  height: 1px;
  background: linear-gradient(90deg, rgba(239,231,217,0.28), rgba(239,231,217,0.05));
}
.provider .p-inner { position: relative; z-index: 1; }
.provider .p-emblem { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.provider .p-emblem .sprig { width: 38px; color: #aeb6cc; }
.provider .label { color: #b7bdcf; margin: 0; }
.provider h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 400;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 0 0 16px;
}
.provider p {
  color: #c9cdd9;
  font-size: 1.02rem;
  line-height: 1.66;
  margin: 0 0 24px;
}
.provider .areas {
  color: #aeb4c4;
  font-size: 0.9rem;
  line-height: 1.62;
  margin: 0 0 24px;
}
.provider .areas strong {
  color: #d7dbe6;
  font-weight: 600;
}
.provider .cta {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  background: none;
  color: var(--paper-on-dark);
  font-family: 'Fragment Mono', ui-monospace, monospace;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 30px;
  border: 1px solid rgba(239,231,217,0.45);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.provider .cta svg { width: 20px; height: 8px; }
.provider .cta:hover { background: var(--spark); border-color: var(--spark); color: var(--indigo); gap: 18px; }
.provider .disclosure {
  margin: 26px 0 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #969bab;
  font-family: 'Hanken Grotesk', sans-serif;
}

/* ==========================================================================
   Read next
   ========================================================================== */
.readnext {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 6px 44px 24px;
}
.readnext .label { display: block; margin-bottom: 6px; color: var(--ink-faint); }
.readnext a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 4px;
  border-top: 1px solid var(--line-2);
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-size: 1.24rem;
  font-weight: 400;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
.readnext a:last-child { border-bottom: 1px solid var(--line-2); }
.readnext a .rn-arrow { color: var(--slate-soft); transition: transform 0.4s var(--ease), color 0.25s var(--ease); }
.readnext a .rn-arrow svg { width: 24px; height: 9px; }
.readnext a:hover { color: var(--slate); }
.readnext a:hover .rn-arrow { transform: translateX(7px); color: var(--spark-2); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { border-top: 1px solid var(--line); background: var(--paper-2); margin-top: 76px; }
.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 58px 44px 62px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 44px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}
.footer .f-brand { display: flex; gap: 20px; align-items: flex-start; }
.footer .f-brand .sprig { width: 42px; color: var(--slate-soft); flex: none; margin-top: 4px; }
.footer .f-brand .wm-name { font-size: 1.5rem; padding-bottom: 0; }
.footer .f-brand .wm-name::after,
.footer .f-brand .wm-name::before { display: none; }
.footer .f-brand .wm-blurb {
  margin: 12px 0 0;
  font-size: 0.96rem;
  color: var(--ink-soft);
  max-width: 32ch;
  line-height: 1.6;
}
.footer .flinks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px 30px;
  align-content: start;
}
.footer .flinks a {
  font-family: 'Fragment Mono', ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
  width: fit-content;
}
.footer .flinks a:hover { color: var(--slate); border-bottom-color: var(--spark); }
.footer .disclaimer {
  margin: 32px 0 0;
  font-size: 0.84rem;
  line-height: 1.66;
  color: var(--ink-faint);
  max-width: 64ch;
}

/* ==========================================================================
   FAQ (numbered index)
   ========================================================================== */
.faq-list { counter-reset: faq; }
.faq-list h2 { counter-increment: faq; padding-top: 6px; margin-bottom: 4px; }
.faq-list h2::before {
  content: counter(faq, decimal-leading-zero);
  display: block;
  width: auto; height: auto;
  background: none;
  margin: 0 0 12px;
  font-family: 'Fragment Mono', ui-monospace, monospace;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--spark-2);
}
.faq-list > p { margin-top: 14px; }

/* ==========================================================================
   Editorial photography (owned imagery, downloaded and served locally)
   Softened to sit within the warm-plaster / twilight palette.
   ========================================================================== */
.horizon-band {
  max-width: var(--shell);
  margin: 6px auto 4px;
  padding: 0 44px;
}
.horizon-band figure { margin: 0; }
.horizon-band img {
  width: 100%;
  height: clamp(190px, 33vw, 360px);
  object-fit: cover;
  object-position: center 58%;
  border: 1px solid var(--line);
  filter: saturate(0.9) contrast(0.97) brightness(1.01);
}

.article-figure { margin: 46px 0; }
.article-figure img {
  width: 100%;
  border: 1px solid var(--line);
  filter: saturate(0.92) contrast(0.97);
}
.article-figure figcaption {
  margin: 13px 0 0;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.photo-credit {
  display: block;
  margin: 9px 0 0;
  text-align: right;
  font-family: 'Fragment Mono', ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-style: normal;
}
.photo-credit a {
  color: var(--slate-soft);
  border-bottom: 1px solid var(--line);
}
.photo-credit a:hover { color: var(--slate); }

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes ba-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.hero .kicker,
.hero h1,
.hero .lede,
.hero-meta,
.contents-head,
.contents .entry,
.article-head .ah-rail,
.article-head .ah-main {
  animation: ba-rise 0.78s var(--ease) both;
}
.hero h1 { animation-delay: 0.06s; }
.hero .lede { animation-delay: 0.13s; }
.hero-meta { animation-delay: 0.2s; }
.contents-head { animation-delay: 0.05s; }
.contents .entry:nth-child(1) { animation-delay: 0.10s; }
.contents .entry:nth-child(2) { animation-delay: 0.15s; }
.contents .entry:nth-child(3) { animation-delay: 0.20s; }
.contents .entry:nth-child(4) { animation-delay: 0.24s; }
.contents .entry:nth-child(5) { animation-delay: 0.28s; }
.contents .entry:nth-child(6) { animation-delay: 0.32s; }
.contents .entry:nth-child(n+7) { animation-delay: 0.36s; }
.article-head .ah-main { animation-delay: 0.08s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
  .article-head { grid-template-columns: 1fr; row-gap: 28px; padding-top: 54px; }
  .article-head .ah-rail { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
  .article-head .ah-rail .kicker { margin: 0; }
  .article-head .ah-rail .meta { line-height: 1.6; }
  .article-head .ah-rail .sprig { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero-horizon { opacity: 0.5; width: 60%; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .masthead-top, .nav, .hero, .contents, .article-head, .article-body,
  .provider, .readnext, .footer-inner, .divider, .horizon-band { padding-left: 24px; padding-right: 24px; }
  .horizon-band img { height: clamp(160px, 44vw, 240px); }
  .masthead-top { flex-wrap: wrap; gap: 14px; padding-top: 28px; padding-bottom: 22px; }
  .folio-note { display: none; }
  .wm-name { font-size: 1.7rem; }
  .navband { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .navband::-webkit-scrollbar { display: none; }
  .masthead::after {
    content: "";
    position: absolute;
    right: 0; bottom: 0;
    width: 34px; height: 50px;
    background: linear-gradient(to right, rgba(238,232,220,0), var(--paper));
    pointer-events: none;
    z-index: 2;
  }
  .masthead { position: relative; }
  .nav { flex-wrap: nowrap; width: max-content; min-width: 100%; }
  .nav a { padding: 14px 13px; }
  .hero { padding-top: 58px; padding-bottom: 48px; }
  .hero-horizon { position: static; width: 78%; margin: 34px 0 0; opacity: 0.7; }
  .provider { margin: 46px auto; padding: 36px 28px 32px; }
  .provider::before { left: 28px; right: 28px; }
  .entry { grid-template-columns: 2.6rem 1fr; row-gap: 8px; }
  .entry .e-go { grid-column: 2; justify-self: start; margin-top: 4px; }
  .dropcap::first-letter { font-size: 3.5rem; }
}

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