/* =========================================================
   sodatana.com — editorial-scientific stylesheet
   Designed for: trust, scientific credibility, AI-modernity
   ========================================================= */

:root {
  /* Palette — paper & ink with a single insistent accent */
  --paper:        #F5F1EA;
  --paper-warm:   #EFEAE0;
  --paper-edge:   #E4DDD0;
  --ink:          #14141A;
  --ink-soft:     #2B2B33;
  --ink-mute:     #5A5A65;
  --ink-faint:    #8F8B82;
  --rule:         #C9C0AF;
  --accent:       #B7411C;          /* burnt sienna — like a wax seal */
  --accent-deep:  #8A2F12;
  --accent-soft:  #E8D0BE;
  --glass:        rgba(245,241,234,.78);

  /* Type scale */
  --font-display: "Fraunces", "Iowan Old Style", "Apple Garamond", Georgia, serif;
  --font-body:    "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  --measure: 64ch;
  --radius: 2px;
}

/* ---------- Reset ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "ss02", "cv11";
  background-image:
    radial-gradient(ellipse at top, rgba(183,65,28,0.03), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0, transparent 31px, rgba(20,20,26,0.025) 31px, rgba(20,20,26,0.025) 32px);
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-deep); text-decoration: none; text-underline-offset: 3px; transition: color .2s ease; }
a:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; }
button { font: inherit; cursor: pointer; }

/* ---------- Typography ------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 30;
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 450; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-soft); }
p  { max-width: var(--measure); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 500;
}
.lead { font-size: clamp(1.15rem, 1.8vw, 1.32rem); line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }
.muted { color: var(--ink-mute); }
.mono { font-family: var(--font-mono); }
.serif { font-family: var(--font-display); }

/* ---------- Layout ----------------------------------------- */
.container {
  width: min(100% - 2.5rem, 1180px);
  margin-inline: auto;
}
.container-narrow {
  width: min(100% - 2.5rem, 760px);
  margin-inline: auto;
}
section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-rule {
  border-top: 1px solid var(--rule);
}

/* ---------- Header / Nav ----------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--glass);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}
.brand:hover { text-decoration: none; color: var(--ink); }
.brand .dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-2px);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-mute);
  margin-left: 0.6rem;
  display: none;
}
@media (min-width: 720px) {
  .brand-sub { display: inline; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  padding: 0;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 500;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 1.5px;
  background: var(--accent);
  transition: right .25s ease;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links a:hover::after { right: 0; }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { right: 0; }

.nav-links a.nav-cta {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background .2s ease, transform .2s ease;
}
.nav-links a.nav-cta:hover { background: var(--accent); color: var(--paper); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.4rem 0.6rem;
  color: var(--ink);
}

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 1rem 1.25rem 1.4rem;
    box-shadow: 0 12px 30px -20px rgba(0,0,0,0.2);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 0.6rem 0; border-bottom: 1px dashed var(--rule); }
  .nav-links li:last-child { border-bottom: none; padding-top: 0.9rem; }
  .nav-cta { display: inline-block; }
}

/* ---------- Hero ------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 4rem; }
}
.hero h1 {
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  font-weight: 350;
  color: var(--accent-deep);
}
.hero-lead { margin-bottom: 2rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

/* Hero artwork — animated molecular constellation */
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}
.hero-art svg { width: 100%; height: 100%; }

.molecule-node {
  fill: var(--ink);
  transition: fill .3s ease;
}
.molecule-node.accent { fill: var(--accent); }
.molecule-edge {
  stroke: var(--ink-soft);
  stroke-width: 0.6;
  opacity: 0.45;
}
.molecule-edge.accent {
  stroke: var(--accent);
  opacity: 0.9;
  stroke-width: 0.9;
}
.molecule-pulse {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.2;
  opacity: 0;
  transform-origin: center;
  animation: pulse 4s ease-out infinite;
}
@keyframes pulse {
  0% { opacity: 0.7; transform: scale(0.4); }
  100% { opacity: 0; transform: scale(1.8); }
}

@media (prefers-reduced-motion: reduce) {
  .molecule-pulse { animation: none; }
}

.hero-corner {
  position: absolute;
  top: 1.5rem; right: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ---------- Buttons ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-weight: 500;
  font-size: 0.96rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--accent); color: var(--paper); text-decoration: none; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.btn-link {
  background: transparent;
  color: var(--ink-soft);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
}
.btn-link:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }

.arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Stat strip ------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 400;
  color: var(--accent-deep);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat .label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
}

/* ---------- Service cards ---------------------------------- */
.section-head {
  max-width: 60ch;
  margin-bottom: 3rem;
}
.section-head .eyebrow { margin-bottom: 1rem; display: inline-block; }
.section-head p { margin-top: 1rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover {
  border-color: var(--accent);
  background: var(--paper);
  transform: translateY(-3px);
}
.card-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.18em;
}
.card h3 { margin-bottom: 0.2rem; }
.card p { color: var(--ink-mute); font-size: 0.96rem; line-height: 1.55; }
.card ul {
  list-style: none;
  padding: 0;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--rule);
}
.card ul li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-mute);
  padding: 0.18rem 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.card ul li::before {
  content: "→ ";
  color: var(--accent);
}

/* ---------- Quote / philosophy block ----------------------- */
.philosophy {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.philosophy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent 0, transparent 31px, rgba(245,241,234,0.03) 31px, rgba(245,241,234,0.03) 32px);
  pointer-events: none;
}
.philosophy .eyebrow { color: var(--accent-soft); }
.philosophy h2 {
  color: var(--paper);
  font-weight: 350;
  margin: 1rem 0 2rem;
  max-width: 22ch;
}
.philosophy h2 em { color: var(--accent-soft); font-style: italic; }
.philosophy p { color: rgba(245,241,234,0.78); font-size: 1.05rem; max-width: 60ch; }
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 860px) {
  .philosophy-grid { grid-template-columns: 1.2fr 1fr; gap: 5rem; }
}
.philosophy-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.philosophy-list li {
  padding-left: 1.4rem;
  position: relative;
  color: rgba(245,241,234,0.85);
  font-size: 0.98rem;
  line-height: 1.55;
}
.philosophy-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--font-display);
}

/* ---------- About preview ---------------------------------- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 860px) {
  .about-preview { grid-template-columns: 1fr 1.4fr; gap: 4.5rem; }
}
.about-card {
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2rem;
}
.about-card h4 { margin-bottom: 1rem; }
.cv-list {
  list-style: none;
  padding: 0;
  font-size: 0.92rem;
}
.cv-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--rule);
  gap: 1rem;
}
.cv-list li:last-child { border-bottom: none; }
.cv-list .cv-year {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-mute);
  white-space: nowrap;
}

/* ---------- CTA banner ------------------------------------- */
.cta-banner {
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius);
  text-align: center;
  position: relative;
}
.cta-banner::before, .cta-banner::after {
  content: "";
  position: absolute;
  width: 24px; height: 24px;
  border: 1px solid var(--accent);
}
.cta-banner::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.cta-banner::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { margin: 0 auto 2rem; }
.cta-banner .hero-actions { justify-content: center; }

/* ---------- Footer ----------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 4rem 0 2rem;
  margin-top: 2rem;
}
.site-footer a { color: var(--paper); opacity: 0.75; }
.site-footer a:hover { color: var(--accent-soft); opacity: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-soft);
  margin-bottom: 1.1rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { padding: 0.3rem 0; font-size: 0.93rem; }
.footer-col p { font-size: 0.94rem; color: rgba(245,241,234,0.75); }
.footer-bottom {
  border-top: 1px solid rgba(245,241,234,0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(245,241,234,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Page headers (non-home) ------------------------ */
.page-head {
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--rule);
}
.page-head .eyebrow { margin-bottom: 1.2rem; display: inline-block; }
.page-head h1 { max-width: 18ch; margin-bottom: 1.5rem; }
.page-head p { max-width: 60ch; }

/* ---------- Prose pages ------------------------------------ */
.prose {
  max-width: 70ch;
}
.prose h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}
.prose p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.prose ul, .prose ol {
  margin: 0 0 1.2rem 1.4rem;
  color: var(--ink-soft);
}
.prose ul li, .prose ol li { padding: 0.25rem 0; }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--paper-warm);
  padding: 0.12em 0.4em;
  border-radius: 2px;
  border: 1px solid var(--rule);
}
.prose blockquote {
  border-left: 2px solid var(--accent);
  padding: 0.4rem 0 0.4rem 1.5rem;
  margin: 1.5rem 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink);
  font-size: 1.1rem;
}

/* ---------- Service detail page ---------------------------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid var(--rule);
}
.service-block:first-of-type { border-top: none; padding-top: 1rem; }
@media (min-width: 860px) {
  .service-block { grid-template-columns: 1fr 2fr; gap: 4rem; }
}
.service-block .label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
}
.service-block h2 { margin: 0.5rem 0 0; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.service-block .body p { margin-bottom: 1.1rem; }
.service-block .body p:first-child { margin-top: 0; }
.service-block .body ul {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
@media (min-width: 600px) {
  .service-block .body ul { grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; }
}
.service-block .body ul li {
  font-size: 0.93rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--rule);
  color: var(--ink-soft);
}
.service-block .body ul li::before {
  content: "→  ";
  color: var(--accent);
  font-family: var(--font-mono);
}

/* ---------- Profile photo ---------------------------------- */
.bio-photo {
  width: 100%;
  max-width: 220px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  margin-bottom: 1.5rem;
  filter: grayscale(15%);
  display: block;
}

/* ---------- Career timeline (about page) ------------------- */
.career-entry {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px dashed var(--rule);
}
.career-entry:last-child { border-bottom: none; margin-bottom: 0; }
.career-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}
.career-header strong {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.career-period {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  white-space: nowrap;
}
.career-org {
  font-size: 0.88rem;
  color: var(--ink-mute);
  margin-bottom: 0.75rem;
}

/* ---------- About page ------------------------------------- */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 860px) {
  .bio-grid { grid-template-columns: 1fr 2fr; gap: 4rem; }
}
.bio-side h4 { margin-bottom: 1rem; }
.bio-side p { font-size: 0.94rem; color: var(--ink-mute); }
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}
.tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 0.3rem 0.65rem;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Contact ---------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 860px) {
  .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 4rem; }
}
.contact-card {
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  padding: 2rem;
}
.contact-card h4 { margin-bottom: 1rem; }
.contact-card .info { display: grid; gap: 1rem; }
.contact-card .info-item .lbl {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.2rem;
}
.contact-card .info-item .val { font-size: 1rem; color: var(--ink); }

form { display: grid; gap: 1.2rem; }
label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-bottom: 0.4rem;
}
input[type="text"], input[type="email"], textarea, select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color .2s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(183,65,28,0.15);
}
textarea { min-height: 160px; resize: vertical; font-family: inherit; }
.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.86rem;
  color: var(--ink-mute);
}
.consent input { margin-top: 0.25rem; }

/* ---------- Utility ---------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Reveal on scroll ------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
