/* ==========================================================================
   LeAFNUm — Shared Stylesheet
   Modern, fast, fully responsive. One source of truth for all pages.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --brand: #d64016;
  --brand-dark: #a8300f;
  --brand-soft: #fdeee8;
  --ink: #1a1a1a;
  --ink-muted: #555;
  --ink-light: #888;
  --bg: #ffffff;
  --bg-soft: #f7f7f5;
  --bg-cream: #fbf9f4;
  --line: #e8e6e1;
  --line-soft: #f0efeb;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(26,26,26,.05), 0 1px 3px rgba(26,26,26,.06);
  --shadow: 0 10px 30px -12px rgba(26,26,26,.15);
  --shadow-lg: 0 30px 60px -20px rgba(26,26,26,.22);

  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-sans: "Assistant", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans TC", sans-serif;

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, video, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

/* ---------- Typography utilities ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
}
.h-display { font-size: clamp(2.25rem, 5vw + 1rem, 4.75rem); line-height: 1.05; letter-spacing: -.02em; }
.h-section { font-size: clamp(1.75rem, 2.5vw + 1rem, 2.75rem); }
.lede { font-size: clamp(1.05rem, .4vw + 1rem, 1.25rem); color: var(--ink-muted); max-width: 62ch; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 120px); }
.section--soft { background: var(--bg-soft); }
.section--cream { background: var(--bg-cream); }
.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  border-radius: 999px;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--light:hover { color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.35rem;
  letter-spacing: -.01em;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, #ff6b3d 100%);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 16px;
  font-family: var(--font-sans);
  box-shadow: var(--shadow-sm);
}
.nav-list {
  display: flex; align-items: center; gap: 34px;
  list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  font-size: 15px; font-weight: 500; position: relative;
}
.nav-list a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }
.nav-list a.is-active { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.burger {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  align-items: center; justify-content: center;
}
.burger span {
  position: relative; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease);
}
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.nav.is-open .burger span { background: transparent; }
.nav.is-open .burger span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .burger span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav-list {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px;
    transform: translateY(-110%); transition: transform .3s var(--ease);
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav-list li { width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav-list li:last-child { border-bottom: 0; }
  .nav-list a { display: block; padding: 16px 0; font-size: 17px; }
  .nav-list a::after { display: none; }
  .nav.is-open .nav-list { transform: translateY(0); }
  .burger { display: inline-flex; }
  .nav-cta .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(72px, 10vw, 140px);
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(214,64,22,.08), transparent 60%),
    radial-gradient(700px 400px at -5% 110%, rgba(214,64,22,.06), transparent 60%),
    var(--bg);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(26,26,26,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26,26,26,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy > * + * { margin-top: 20px; }
.hero__title { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw + 1rem, 5.25rem); line-height: 1.02; letter-spacing: -.025em; margin: 0; }
.hero__title em { font-style: italic; color: var(--brand); font-weight: 500; }
.hero__sub { font-size: clamp(1.05rem, .4vw + 1rem, 1.2rem); color: var(--ink-muted); max-width: 52ch; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero__meta { display: flex; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
.hero__stat strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--brand); }
.hero__stat span { font-size: 13px; color: var(--ink-muted); letter-spacing: .04em; }
.hero__visual {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand) 0%, #ff6b3d 60%, #ffb199 100%);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero__visual::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .25 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .35; mix-blend-mode: overlay;
}
.hero__visual-inner {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; padding: 40px; z-index: 1;
}
.hero__visual-inner svg { width: 60%; max-width: 280px; height: auto; }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { aspect-ratio: 16/11; max-height: 420px; }
}

/* ---------- Section header ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.75rem, 2.5vw + 1rem, 2.75rem); margin-bottom: 14px; }
.section-head p { color: var(--ink-muted); font-size: 1.05rem; margin: 0; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column; gap: 14px;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.25rem; margin: 0; }
.card p { color: var(--ink-muted); font-size: 15px; margin: 0; }
.card__link { margin-top: auto; padding-top: 8px; color: var(--brand); font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.card__link .arrow { transition: transform .25s var(--ease); }
.card:hover .card__link .arrow { transform: translateX(4px); }

/* ---------- Work / portfolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.work-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; background: var(--bg-soft);
}
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.work-item:hover img { transform: scale(1.05); }
.work-item__body {
  position: absolute; inset: auto 0 0 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
  color: #fff;
}
.work-item__body h3 { font-size: 1.2rem; margin: 0 0 4px; color: #fff; }
.work-item__body span { font-size: 13px; opacity: .85; letter-spacing: .05em; text-transform: uppercase; }

/* ---------- Feature split ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}
.split__media {
  aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-soft);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem); }
.split ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.split ul li { padding-left: 32px; position: relative; color: var(--ink-muted); }
.split ul li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23d64016' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 8 7 12 13 5'/></svg>");
  background-size: 14px; background-position: center; background-repeat: no-repeat;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, var(--ink) 0%, #2a1a12 100%);
  color: #fff; border-radius: var(--radius-lg); overflow: hidden;
  padding: clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(214,64,22,.5), transparent 55%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; font-size: clamp(1.75rem, 3vw + 1rem, 2.75rem); margin: 0 0 12px; }
.cta-banner p { color: rgba(255,255,255,.75); margin: 0; }
.cta-banner__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 720px) {
  .cta-banner { grid-template-columns: 1fr; text-align: center; }
  .cta-banner__cta { justify-content: center; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,.78);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: #fff; font-family: var(--font-sans);
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  margin: 0 0 18px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-about p { margin: 14px 0 20px; font-size: 14px; line-height: 1.7; max-width: 36ch; }
.footer-about .brand { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.08); display: grid; place-items: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.socials a:hover { background: var(--brand); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 13px; color: rgba(255,255,255,.55);
}

/* ---------- Page header (internal pages) ---------- */
.page-head {
  position: relative;
  padding: clamp(72px, 10vw, 120px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(214,64,22,.08), transparent 60%),
    var(--bg-cream);
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.page-head .breadcrumb {
  font-size: 13px; color: var(--ink-muted); letter-spacing: .05em;
  margin-bottom: 18px;
}
.page-head .breadcrumb a { color: var(--ink-muted); }
.page-head .breadcrumb a:hover { color: var(--brand); }
.page-head h1 { font-size: clamp(2.25rem, 4vw + 1rem, 4rem); margin: 0 0 14px; letter-spacing: -.02em; }
.page-head p { color: var(--ink-muted); font-size: 1.1rem; max-width: 56ch; margin: 0 auto; }

/* ---------- Products / services ---------- */
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card__media { aspect-ratio: 16/10; background: var(--bg-soft); overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-card__tag {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand); background: var(--brand-soft);
  padding: 6px 10px; border-radius: 6px;
}
.service-card h3 { font-size: 1.3rem; margin: 0; }
.service-card p { color: var(--ink-muted); margin: 0; font-size: 15px; }
.service-card__foot { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-soft); }
.service-card__price { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.service-card__price span { font-size: 13px; color: var(--ink-muted); font-family: var(--font-sans); }

/* ---------- Blog ---------- */
.post-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.post-card__meta { display: flex; gap: 12px; font-size: 13px; color: var(--ink-muted); }
.post-card__meta .tag { color: var(--brand); font-weight: 600; }
.post-card h3 { font-size: 1.2rem; margin: 0; line-height: 1.3; }
.post-card__excerpt { color: var(--ink-muted); font-size: 14px; margin: 0; }
.post-card__read { margin-top: 6px; font-weight: 600; font-size: 14px; color: var(--brand); display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info__item { display: flex; gap: 16px; }
.contact-info__item .icon {
  flex: 0 0 44px; height: 44px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center;
}
.contact-info__item .icon svg { width: 20px; height: 20px; }
.contact-info__item h4 { margin: 0 0 4px; font-family: var(--font-sans); font-size: 15px; font-weight: 700; }
.contact-info__item p { margin: 0; color: var(--ink-muted); font-size: 15px; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.field input, .field textarea, .field select {
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  font-size: 15px; font-family: inherit;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(214,64,22,.12);
}
.form .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 24px; margin-bottom: 14px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq details[open] { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-size: 1.3rem; font-weight: 500;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.faq details[open] summary::after { content: '−'; background: var(--brand); color: #fff; }
.faq details p { padding: 0 0 20px; margin: 0; color: var(--ink-muted); line-height: 1.75; }

.faq-cats {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 40px;
}
.faq-cat {
  padding: 10px 20px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff;
  font-size: 14px; font-weight: 500;
  transition: all .2s var(--ease);
}
.faq-cat:hover { border-color: var(--brand); color: var(--brand); }
.faq-cat.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- About ---------- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.value {
  padding: 28px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--line-soft);
}
.value .num {
  display: inline-block; font-family: var(--font-display);
  font-size: 2rem; color: var(--brand); margin-bottom: 12px;
}
.value h3 { font-size: 1.15rem; margin: 0 0 8px; }
.value p { margin: 0; color: var(--ink-muted); font-size: 15px; }

.timeline { max-width: 800px; margin: 0 auto; position: relative; padding-left: 28px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line);
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item::before {
  content: ''; position: absolute; left: -26px; top: 8px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px var(--bg);
}
.timeline-item .year { font-family: var(--font-display); font-size: 1.2rem; color: var(--brand); margin-bottom: 4px; }
.timeline-item h4 { margin: 0 0 6px; font-size: 1.1rem; font-family: var(--font-sans); }
.timeline-item p { margin: 0; color: var(--ink-muted); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); 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; }
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- A11y ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -40px; left: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
