/* ==========================================================================
   Amy & Jon Snipes Foundation for Philanthropy — ajsffp.org
   One stylesheet. No external dependencies, no web fonts, no frameworks.
   ========================================================================== */

:root {
  /* Palette — drawn from the founders' portrait: emerald, charcoal, brass */
  --forest:        #14532D;
  --forest-deep:   #0D3A1E;
  --forest-soft:   #1F6B41;
  --forest-wash:   #EDF3EE;
  --brass:         #9A7A2E;
  --brass-bright:  #B08D3F;
  --brass-light:   #C9A961;
  --brass-wash:    #FBF5E7;
  --ivory:         #FAF7F2;
  --paper:         #FFFFFF;
  --ink:           #14181C;
  --slate:         #4A5560;
  --slate-light:   #6E7A85;
  --rule:          #E4DED2;
  --rule-strong:   #CFC6B4;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --wrap-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section-y: clamp(3.75rem, 8vw, 7rem);

  --fs-display: clamp(2.5rem, 1.5rem + 3.4vw, 4.4rem);
  --fs-h1:      clamp(2.05rem, 1.4rem + 2.3vw, 3.3rem);
  --fs-h2:      clamp(1.65rem, 1.2rem + 1.55vw, 2.45rem);
  --fs-h3:      clamp(1.12rem, 1rem + .5vw, 1.4rem);
  --fs-lead:    clamp(1.06rem, 1rem + .42vw, 1.3rem);

  --shadow-sm: 0 1px 2px rgba(20, 24, 28, .05);
  --shadow-md: 0 14px 40px -18px rgba(20, 24, 28, .28);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
p  { margin: 0 0 1.15em; }
a  { color: var(--forest); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brass); }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.2em; }
li { margin-bottom: .4em; }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--forest); color: var(--ivory);
  padding: .75rem 1.25rem; font-size: .9rem; border-radius: 0 0 4px 0;
}
.skip:focus { left: 0; }

/* ---------- Layout ---------- */
.wrap   { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--paper { background: var(--paper); }
.section--wash  { background: var(--forest-wash); }
.section--brass { background: var(--brass-wash); }
.section--forest { background: var(--forest); color: var(--ivory); }
.section--forest h2, .section--forest h3 { color: var(--ivory); }
.section--forest a { color: var(--brass-light); }
.section--rule-top { border-top: 1px solid var(--rule); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }

/* ---------- Rubrics & type helpers ---------- */
.eyebrow {
  font-family: var(--sans); font-size: .7rem; font-weight: 700;
  letter-spacing: .19em; text-transform: uppercase; color: var(--brass);
  margin: 0 0 1rem; display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 1.9rem; height: 1px; background: var(--brass-light); flex: none; }
.eyebrow--plain::before { display: none; }
.section--forest .eyebrow { color: var(--brass-light); }
.section--forest .eyebrow::before { background: var(--brass); }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--slate); }
.section--forest .lead { color: #D6E2D8; }
.muted { color: var(--slate-light); }
.small { font-size: .875rem; }
.tiny  { font-size: .78rem; }
.serif { font-family: var(--serif); }
.center { text-align: center; }
.measure { max-width: 62ch; }
.mb0 { margin-bottom: 0; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-size: .875rem; font-weight: 650;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  padding: .95rem 1.75rem; border: 1px solid var(--forest); border-radius: 2px;
  background: var(--forest); color: var(--ivory); cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--forest-deep); border-color: var(--forest-deep); color: var(--ivory); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--ivory); }
.btn--light { background: transparent; border-color: rgba(250,247,242,.5); color: var(--ivory); }
.btn--light:hover { background: var(--ivory); border-color: var(--ivory); color: var(--forest); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--forest); border-bottom: 1px solid var(--brass-light);
  padding-bottom: .3rem; transition: gap .25s var(--ease), border-color .25s var(--ease);
}
.arrow-link::after { content: "\2192"; font-size: 1rem; line-height: 1; }
.arrow-link:hover { gap: .85rem; border-color: var(--brass); }
.section--forest .arrow-link { color: var(--brass-light); border-color: rgba(201,169,97,.45); }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 90;
  background: rgba(250,247,242,.94); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.hdr__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5.25rem; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: inherit; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__mark svg { display: block; width: 100%; height: 100%; }
.brand__txt { display: flex; flex-direction: column; gap: .18rem; line-height: 1; }
.brand__name {
  font-family: var(--serif); font-size: .97rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--forest); white-space: nowrap;
}
.brand__sub {
  font-size: .56rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--brass); white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.nav a {
  font-size: .82rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; color: var(--slate); padding: .4rem 0; position: relative;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--brass-bright); transition: right .28s var(--ease);
}
.nav a:hover { color: var(--forest); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--forest); }
.nav .btn { padding: .7rem 1.3rem; font-size: .76rem; color: var(--ivory); }
.nav .btn::after { display: none; }

.navtoggle {
  display: none; align-items: center; justify-content: center;
  width: 2.9rem; height: 2.9rem; background: transparent;
  border: 1px solid var(--rule-strong); border-radius: 2px; cursor: pointer; color: var(--forest);
}
.navtoggle svg { width: 1.15rem; height: 1.15rem; }
.navtoggle .i-close { display: none; }
.navtoggle[aria-expanded="true"] .i-close { display: block; }
.navtoggle[aria-expanded="true"] .i-open { display: none; }

@media (max-width: 960px) {
  .navtoggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 5.25rem 0 auto; z-index: 89;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--rule);
    padding: .5rem var(--gutter) 1.75rem;
    max-height: calc(100dvh - 5.25rem); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav[data-open="true"] { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: .95rem 0; border-bottom: 1px solid var(--rule); font-size: .95rem; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1.25rem; justify-content: center; border-bottom: 0; }
  .brand__sub { display: none; }
}

/* ---------- Hero ---------- */
.hero { background: var(--paper); border-bottom: 1px solid var(--rule); overflow: hidden; }
.hero__grid {
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
  padding-block: clamp(3rem, 7vw, 6rem);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.02fr .98fr; } }
.hero h1 { font-size: var(--fs-display); margin-bottom: .35em; }
.hero__figure { position: relative; }
.hero__figure img {
  width: 100%; border-radius: 3px; box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3; object-fit: cover; object-position: center 22%;
}
.hero__figure::after {
  content: ""; position: absolute; inset: auto -14px -14px auto;
  width: 58%; height: 58%; border: 1px solid var(--brass-light);
  border-radius: 3px; z-index: -1;
}
.hero__cap {
  margin-top: 1rem; font-size: .78rem; letter-spacing: .04em; color: var(--slate-light);
  border-left: 2px solid var(--brass-light); padding-left: .85rem;
}

.pagehead { background: var(--forest); color: var(--ivory); }
.pagehead__inner { padding-block: clamp(3.25rem, 7vw, 5.75rem); max-width: 52rem; }
.pagehead h1 { color: var(--ivory); }
.pagehead .lead { color: #CFDED3; }
.pagehead .eyebrow { color: var(--brass-light); }
.pagehead .eyebrow::before { background: var(--brass); }

.crumbs { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; padding-top: 1.5rem; color: rgba(233,241,235,.62); }
.crumbs a { color: rgba(233,241,235,.85); text-decoration: none; }
.crumbs a:hover { color: var(--brass-light); }
.crumbs span { padding: 0 .5rem; }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; }
.stats--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.stat { background: var(--paper); padding: clamp(1.5rem, 3vw, 2.25rem); }
.stat__num { font-family: var(--serif); font-size: clamp(2rem, 1.3rem + 2.2vw, 3rem); font-weight: 600; color: var(--forest); line-height: 1; letter-spacing: -.02em; }
.stat__lbl { margin-top: .7rem; font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--slate-light); }
.stat__note { margin: .5rem 0 0; font-size: .85rem; color: var(--slate); }
.section--forest .stats { background: rgba(250,247,242,.14); border-color: rgba(250,247,242,.18); }
.section--forest .stat { background: var(--forest); }
.section--forest .stat__num { color: var(--brass-light); }
.section--forest .stat__lbl { color: rgba(233,241,235,.7); }
.section--forest .stat__note { color: #CFDED3; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 3px;
  padding: clamp(1.5rem, 3vw, 2.15rem);
  display: flex; flex-direction: column;
  transition: border-color .28s var(--ease), transform .28s var(--ease), box-shadow .28s var(--ease);
}
.card:hover { border-color: var(--brass-light); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--slate); }
.card .arrow-link { margin-top: auto; align-self: flex-start; padding-top: .9rem; }
.card__num {
  font-family: var(--serif); font-size: .8rem; font-weight: 600; letter-spacing: .2em;
  color: var(--brass); margin-bottom: 1rem;
}
.card__icon { width: 2.5rem; height: 2.5rem; margin-bottom: 1.15rem; color: var(--forest-soft); }
.card__icon svg { width: 100%; height: 100%; }
.card--flat { background: transparent; border: 0; border-top: 2px solid var(--forest); border-radius: 0; padding: 1.5rem 0 0; }
.card--flat:hover { transform: none; box-shadow: none; border-color: var(--brass-bright); }
.card--tint { background: var(--forest-wash); border-color: transparent; }

.tag {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--brass); background: var(--brass-wash);
  border: 1px solid rgba(176,141,63,.28); border-radius: 999px; padding: .3rem .8rem;
}
.tag--green { color: var(--forest); background: var(--forest-wash); border-color: rgba(20,83,45,.18); }
.taglist { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; }

/* ---------- Feature rows ---------- */
.feature { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature--flip > *:first-child { order: 2; }
}
.feature + .feature { margin-top: clamp(3rem, 6vw, 5.5rem); }
.feature__media { border-radius: 3px; overflow: hidden; border: 1px solid var(--rule); }

.panel {
  background: var(--paper); border: 1px solid var(--rule); border-left: 3px solid var(--brass-bright);
  border-radius: 3px; padding: clamp(1.5rem, 3vw, 2.25rem);
}
.panel--green { border-left-color: var(--forest); background: var(--forest-wash); border-color: transparent; }

/* ---------- Definition / spec lists ---------- */
.dl { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--rule); }
.dl > div {
  display: grid; gap: .35rem 2rem; padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule); grid-template-columns: 1fr;
}
@media (min-width: 720px) { .dl > div { grid-template-columns: 15rem 1fr; } }
.dl dt { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.dl dd { margin: 0; color: var(--slate); }
.dl dd strong { color: var(--ink); }

/* ---------- Numbered process ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 0; }
.steps li {
  counter-increment: step; position: relative;
  padding: 1.6rem 0 1.6rem 4.25rem; border-bottom: 1px solid var(--rule); margin: 0;
}
.steps li:first-child { border-top: 1px solid var(--rule); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 1.55rem;
  font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--brass);
  width: 2.75rem; height: 2.75rem; border: 1px solid var(--brass-light); border-radius: 50%;
  display: grid; place-items: center;
}
.steps h3 { margin-bottom: .3rem; }
.steps p { margin-bottom: 0; color: var(--slate); }

/* ---------- Checklist ---------- */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.ticks li { position: relative; padding-left: 1.9rem; margin: 0; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .6rem; height: .32rem; border-left: 1.5px solid var(--forest-soft);
  border-bottom: 1.5px solid var(--forest-soft); transform: rotate(-45deg);
}
.ticks--no li::before {
  border: 0; width: .65rem; height: .65rem; top: .5em; transform: none;
  background: linear-gradient(to bottom right, transparent 44%, var(--slate-light) 44%, var(--slate-light) 56%, transparent 56%),
              linear-gradient(to bottom left,  transparent 44%, var(--slate-light) 44%, var(--slate-light) 56%, transparent 56%);
}

/* ---------- Quote ---------- */
.quote { border: 0; margin: 0; padding: 0; }
.quote p {
  font-family: var(--serif); font-size: clamp(1.3rem, 1rem + 1.3vw, 2rem);
  line-height: 1.35; color: var(--forest); margin-bottom: 1.25rem; text-wrap: balance;
}
.section--forest .quote p { color: var(--ivory); }
.quote footer { font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--brass); }
.quote__rule { width: 3rem; height: 2px; background: var(--brass-bright); margin-bottom: 1.75rem; }

/* ---------- People ---------- */
.person { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (min-width: 860px) { .person { grid-template-columns: 20rem 1fr; } }
.person__role { font-size: .74rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--brass); margin-bottom: .6rem; }

/* ---------- Accordion ---------- */
.acc { border-top: 1px solid var(--rule); }
.acc__item { border-bottom: 1px solid var(--rule); }
.acc__btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 1.35rem 0; font-family: var(--serif); font-size: 1.08rem; font-weight: 600;
  color: var(--ink); line-height: 1.35;
}
.acc__btn:hover { color: var(--forest); }
.acc__sign { flex: none; position: relative; width: 1rem; height: 1rem; margin-top: .35rem; }
.acc__sign::before, .acc__sign::after {
  content: ""; position: absolute; inset: 50% 0 auto; height: 1.5px; background: var(--brass);
  transition: transform .28s var(--ease);
}
.acc__sign::after { transform: rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__sign::after { transform: rotate(0deg); }
.acc__panel { overflow: hidden; height: 0; transition: height .32s var(--ease); }
.acc__panel > div { padding-bottom: 1.5rem; color: var(--slate); max-width: 62ch; }
.acc__panel > div > :last-child { margin-bottom: 0; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.filter {
  font-family: var(--sans); font-size: .76rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase;
  padding: .6rem 1.15rem; border: 1px solid var(--rule-strong); border-radius: 999px;
  background: transparent; color: var(--slate); cursor: pointer;
  transition: all .22s var(--ease);
}
.filter:hover { border-color: var(--forest); color: var(--forest); }
.filter[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--ivory); }
.filter-empty { padding: 2rem 0; color: var(--slate-light); }

/* ---------- Stories ---------- */
.story { display: grid; gap: .75rem; padding: 1.9rem 0; border-bottom: 1px solid var(--rule); align-content: start; }
@media (min-width: 820px) { .story { grid-template-columns: 11rem 1fr; gap: .75rem 2.5rem; } }
.story__meta { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.story h3 { margin-bottom: .4rem; }
.story h3 a { text-decoration: none; }
.story p { color: var(--slate); margin-bottom: .75rem; }
.story[hidden] { display: none; }

/* ---------- Footer ---------- */
.ftr { background: var(--forest-deep); color: #CFDED3; padding-block: clamp(3rem, 6vw, 4.75rem) 2rem; }
.ftr a { color: #CFDED3; text-decoration: none; }
.ftr a:hover { color: var(--brass-light); }
.ftr__top { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) { .ftr__top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.ftr__logo { width: 15rem; margin-bottom: 1.25rem; }
.ftr h3 {
  font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brass-light); margin-bottom: 1.1rem;
}
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.ftr li { margin: 0; font-size: .93rem; }
.ftr__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.75rem;
  border-top: 1px solid rgba(250,247,242,.16);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center;
  font-size: .82rem; color: rgba(207,222,211,.72);
}
.ftr__legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* A quiet piece of punctuation that happens to be reachable. */
.ftr__dot {
  color: inherit; text-decoration: none; cursor: default;
  position: relative; padding: 0 .12rem;
}
.ftr__dot::after {
  content: attr(data-reveal);
  position: absolute; left: 50%; bottom: calc(100% + .6rem); transform: translateX(-50%) translateY(4px);
  background: var(--brass-wash); color: var(--forest-deep);
  font-size: .78rem; letter-spacing: .02em; white-space: nowrap;
  padding: .45rem .75rem; border-radius: 2px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transition: all .25s var(--ease); pointer-events: none;
}
.ftr__dot:hover::after, .ftr__dot:focus-visible::after { opacity: 1; visibility: visible; transform: translateX(-50%); }

/* ---------- The direct line ---------- */
.directline {
  position: fixed; inset: auto 1.25rem 1.25rem auto; z-index: 120; max-width: 21rem;
  background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--brass-bright);
  border-radius: 3px; padding: 1.35rem 1.5rem; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.directline[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
.directline p { margin-bottom: .35rem; }
.directline__close {
  position: absolute; top: .5rem; right: .5rem; width: 2rem; height: 2rem;
  background: none; border: 0; cursor: pointer; color: var(--slate-light); font-size: 1.1rem; line-height: 1;
}
.directline__close:hover { color: var(--ink); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .hdr, .ftr, .navtoggle, .directline, .btn-row { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .section { padding-block: 1.5rem; }
}
