/* =========================================================================
   STYLES.CSS  |  Layout and visual design. You should rarely need to edit
   this file. All text content lives in content.js.
   =========================================================================
   Design language: editorial, executive, restrained.
   Paper background, ink navy text, one azure accent, hairline rules.
   Type: Fraunces (display serif) + Instrument Sans (text).
   ========================================================================= */

:root {
  --paper: #f6f3ee;
  --paper-soft: #efeae1;
  --paper-card: #fbf9f5;
  --ink: #16212e;
  --ink-soft: #4c5866;
  --ink-faint: #6d7885;
  --line: rgba(22, 33, 46, 0.16);
  --line-strong: rgba(22, 33, 46, 0.32);
  --accent: #0d5c9e;
  --accent-ink: #0a4a80;
  --ok: #1d7a4f;
  --dark: #131d29;
  --dark-2: #0e161f;
  --paper-on-dark: #ede8df;
  --faint-on-dark: rgba(237, 232, 223, 0.62);
  --line-on-dark: rgba(237, 232, 223, 0.16);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "Instrument Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "Cascadia Code", Consolas, "SF Mono", Menlo, monospace;

  --max: 1120px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --radius: 10px;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

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

/* Grain + soft radial atmosphere behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(13, 92, 158, 0.07), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(22, 33, 46, 0.045), transparent 55%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 238, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand:hover { text-decoration: none; }
.brand .monogram {
  width: 2.15rem;
  height: 2.15rem;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.95rem;
  border-radius: 6px;
}
.brand .brand-name { font-size: 1rem; white-space: nowrap; }

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.main-nav a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.main-nav a:hover { color: var(--ink); text-decoration: none; }

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  margin-left: 0.4rem;
}
.lang-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: 600 0.78rem var(--font-text);
  letter-spacing: 0.08em;
  padding: 0.42rem 0.75rem;
  cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  cursor: pointer;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper-card);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px -20px rgba(22, 33, 46, 0.35);
    display: none;
    padding: 0.5rem 0 1rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 0.8rem var(--pad);
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .main-nav .lang-toggle {
    margin: 1rem var(--pad) 0;
    align-self: flex-start;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(3.5rem, 9vw, 7.5rem) 0 clamp(3rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.hero .kicker {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(2.9rem, 8.5vw, 6rem);
  font-weight: 480;
}
.hero h1 .accent-dot { color: var(--accent); }

.hero .role {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 420;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--ink-soft);
}

.hero .tagline {
  margin-top: 0.9rem;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.7rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper-card);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}
.badge .dot {
  width: 0.55rem;
  height: 0.55rem;
  flex: none;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(29, 122, 79, 0.15);
}

.hero-ctas {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font: 600 0.93rem var(--font-text);
  letter-spacing: 0.02em;
  color: var(--ink);
  background: transparent;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary:hover { background: var(--dark-2); }
.btn.ghost:hover { background: rgba(22, 33, 46, 0.06); }
.btn svg { flex: none; }

/* Optional headshot (shown only if SITE.headshot is set) */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-grid.with-photo { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.hero-photo { display: none; }
.hero-grid.with-photo .hero-photo {
  display: block;
  justify-self: center;
}
.hero-photo img {
  width: min(300px, 70vw);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: 14px 14px 0 -1px var(--paper-soft), 14px 14px 0 0 var(--line);
}
@media (max-width: 860px) {
  .hero-grid.with-photo { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section + .section { border-top: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}
.section-head .num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-ink);
  letter-spacing: 0.08em;
}
.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}
.section-head .rule {
  flex: 1;
  height: 1px;
  background: var(--line);
  transform: translateY(-0.35rem);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}
.about-copy p {
  font-size: 1.13rem;
  line-height: 1.75;
  color: var(--ink);
}
.about-copy p + p { margin-top: 1.1rem; }
.about-copy p:last-child {
  font-size: 0.98rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  align-self: start;
}
.stat {
  background: var(--paper-card);
  padding: 1.4rem 1.3rem 1.3rem;
}
.stat .value {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 520;
  color: var(--ink);
}
.stat .label {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink-faint);
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ---------- Skills ---------- */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1.1rem;
}
.skill-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.skill-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -18px rgba(22, 33, 46, 0.35);
}
.skill-card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.skill-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.skill-card li {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  background: var(--paper);
}

/* ---------- Projects / Case studies ---------- */

.projects-list { display: grid; gap: 1.1rem; }

.project {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-card);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.project[open] { border-color: var(--line-strong); }

.project summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem clamp(1.2rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.4rem 1.5rem;
  align-items: center;
}
.project summary::-webkit-details-marker { display: none; }
.project summary:hover { background: rgba(22, 33, 46, 0.028); }

.project .p-name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 540;
  grid-column: 1;
}
.project .p-meta {
  grid-column: 1;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.project .p-headline {
  grid-column: 1;
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.project .p-expander {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  white-space: nowrap;
}
.project .p-expander .icon {
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, background 0.2s ease;
}
.project[open] .p-expander .icon {
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.project .p-body {
  padding: 0 clamp(1.2rem, 3vw, 2rem) 1.7rem;
  border-top: 1px solid var(--line);
}
.project .p-body ul {
  margin: 1.3rem 0 1.2rem;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.55rem;
  color: var(--ink);
}
.project .p-body li::marker { color: var(--accent); }
.project .p-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.project .p-tags li {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-ink);
  background: rgba(13, 92, 158, 0.08);
  border-radius: 4px;
  padding: 0.25rem 0.55rem;
}

@media (max-width: 640px) {
  .project summary { grid-template-columns: 1fr; }
  .project .p-expander { grid-column: 1; grid-row: auto; margin-top: 0.6rem; }
}

/* ---------- Experience timeline ---------- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: var(--line-strong);
}
.timeline li {
  position: relative;
  padding: 0 0 2.6rem 2.2rem;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--accent);
}
.timeline .t-period {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--accent-ink);
  text-transform: uppercase;
}
.timeline h3 {
  margin-top: 0.35rem;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
}
.timeline .t-org {
  margin-top: 0.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.timeline ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 62ch;
}
.timeline li li::before { content: none; }
.timeline li li { padding: 0; position: static; }
.timeline ul li::marker { color: var(--accent); }

/* ---------- Education & certifications ---------- */

.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.1rem;
}
.edu-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
}
.edu-card .edu-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 0.8rem;
}
.edu-card h3 { font-size: 1.25rem; }
.edu-card .edu-detail { margin-top: 0.5rem; color: var(--ink-soft); font-size: 0.97rem; }
.edu-card .edu-school { margin-top: 0.6rem; font-weight: 600; font-size: 0.95rem; }
.edu-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}
.edu-card ul li {
  padding-left: 1.3rem;
  position: relative;
  color: var(--ink);
  font-size: 0.98rem;
}
.edu-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

/* ---------- Insights / blog ---------- */

.insights-note { color: var(--ink-faint); font-size: 0.9rem; margin: -1.2rem 0 1.6rem; }

.posts-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.posts-list li { border-bottom: 1px solid var(--line); }
.post-link {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.5rem 0.3rem;
  color: var(--ink);
  transition: background 0.15s ease;
}
.post-link:hover { text-decoration: none; background: rgba(22, 33, 46, 0.03); }
.post-link .post-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}
.post-link h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  transition: color 0.15s ease;
}
.post-link:hover h3 { color: var(--accent-ink); }
.post-link .post-summary { margin: 0.4rem 0 0; color: var(--ink-soft); font-size: 0.95rem; }
.post-link .post-arrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  white-space: nowrap;
}
@media (max-width: 700px) {
  .post-link { grid-template-columns: 1fr; gap: 0.3rem; }
  .post-link .post-arrow { margin-top: 0.4rem; }
}

/* ---------- Contact / footer ---------- */

.site-footer {
  background: var(--dark);
  color: var(--paper-on-dark);
  margin-top: clamp(3rem, 7vw, 5rem);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 90% 0%, rgba(13, 92, 158, 0.25), transparent 60%);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: 2.5rem;
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint-on-dark);
}
.contact-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 480;
  margin-top: 0.8rem;
  color: #f7f4ee;
}
.contact-lede {
  max-width: 56ch;
  margin-top: 1.2rem;
  color: var(--faint-on-dark);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-links {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.contact-links .btn {
  border-color: var(--line-on-dark);
  color: var(--paper-on-dark);
}
.contact-links .btn:hover { background: rgba(237, 232, 223, 0.08); }
.contact-links .btn.primary {
  background: var(--paper-on-dark);
  color: var(--dark);
  border-color: var(--paper-on-dark);
}
.contact-links .btn.primary:hover { background: #fff; }

.footer-meta {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-on-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  font-size: 0.87rem;
  color: var(--faint-on-dark);
}
.footer-meta span { display: inline-block; }
.footer-copy {
  margin-top: 1.3rem;
  font-size: 0.82rem;
  color: rgba(237, 232, 223, 0.45);
}

/* ---------- Blog post pages ---------- */

.post-page-header {
  border-bottom: 1px solid var(--line);
}
.post-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.post-nav a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.post-nav a:hover { color: var(--ink); text-decoration: none; }
.post-article {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--pad) clamp(3.5rem, 8vw, 6rem);
}
.post-article .post-kicker {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--accent-ink);
  text-transform: uppercase;
}
.post-article h1 {
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  font-weight: 500;
  margin-top: 0.9rem;
}
.post-article .post-byline {
  margin-top: 1rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.9rem;
}
.post-article h2 {
  font-size: 1.55rem;
  margin: 2.4rem 0 0.9rem;
}
.post-article p { font-size: 1.08rem; line-height: 1.78; color: var(--ink); }
.post-article ul { line-height: 1.7; padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.post-article ul li::marker { color: var(--accent); }
.post-article .post-footer-nav {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* Hero load-in stagger */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.hero .kicker,
.hero h1,
.hero .role,
.hero .tagline,
.hero .badge,
.hero .hero-ctas,
.hero .hero-photo {
  animation: rise-in 0.85s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}
.hero h1 { animation-delay: 0.08s; }
.hero .role { animation-delay: 0.18s; }
.hero .tagline { animation-delay: 0.28s; }
.hero .badge { animation-delay: 0.38s; }
.hero .hero-ctas { animation-delay: 0.48s; }
.hero .hero-photo { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
