/* ============================================================
   JEXIM — Integrated Road Infrastructure
   Design system: dark cinematic heroes, light editorial body
   ============================================================ */

:root {
  /* Brand */
  --navy-950: #060d18;
  --navy-900: #0a1626;
  --navy-800: #10233c;
  --navy-700: #16304f;
  --ink: #0d1b2e;
  --slate: #45586e;
  --slate-light: #6b7d92;
  --blue: #0d67b2;
  --blue-deep: #1b3fe0;
  --teal: #00d5d5;
  --teal-bright: #2ee6e0;

  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --line: #e2e9f0;
  --line-dark: rgba(255, 255, 255, 0.1);

  /* Type */
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --container: 1180px;
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ------------------------------------------------------------
   Typography
   ------------------------------------------------------------ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--teal);
  flex: none;
}

.on-dark .eyebrow { color: var(--teal-bright); }

.section-title {
  font-size: clamp(25px, 3vw, 36px);
  max-width: 20ch;
  margin-bottom: 20px;
}

.lede {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--slate);
  max-width: 62ch;
}

.on-dark .lede { color: rgba(255, 255, 255, 0.72); }

/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo img { height: 30px; width: auto; }
.nav-logo .logo-dark { display: none; }

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav.scrolled .nav-logo .logo-white { display: none; }
.nav.scrolled .nav-logo .logo-dark { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; border-bottom-color: var(--teal); }

.nav.scrolled .nav-links a { color: var(--slate); }
.nav.scrolled .nav-links a:hover { color: var(--ink); }
.nav.scrolled .nav-links a.active { color: var(--ink); border-bottom-color: var(--teal); }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 22px !important;
  border: 1px solid var(--teal) !important;
  border-radius: 6px;
  color: var(--teal-bright) !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

.nav-cta:hover { background: var(--teal); color: var(--navy-950) !important; }

.nav.scrolled .nav-cta {
  color: var(--blue) !important;
  border-color: var(--blue) !important;
}
.nav.scrolled .nav-cta:hover { background: var(--blue); color: #fff !important; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.35s ease;
}

.nav.scrolled .nav-toggle span { background: var(--ink); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--navy-950);
    padding: 12px 28px 28px;
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-links a {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 14px 0;
    width: 100%;
    font-size: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-links a.active { border-bottom-color: var(--teal); }
  .nav-cta { margin-top: 18px; text-align: center; border-radius: 6px; }
  .nav.nav-open { background: var(--navy-950); border-bottom-color: var(--line-dark); }
  .nav.nav-open .nav-logo .logo-white { display: block; }
  .nav.nav-open .nav-logo .logo-dark { display: none; }
  .nav.nav-open .nav-toggle span { background: #fff; }
  .nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ------------------------------------------------------------
   Dark hero (home) & page heroes (subpages)
   ------------------------------------------------------------ */

.hero, .page-hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 82% 110%, rgba(18, 200, 196, 0.14), transparent 60%),
    radial-gradient(900px 500px at 8% -10%, rgba(28, 109, 208, 0.22), transparent 55%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 65%);
  color: #fff;
  overflow: hidden;
}

.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 78%);
  pointer-events: none;
}

/* Photo background inside .hero / .page-hero */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 30s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 500px at 80% 110%, rgba(18, 200, 196, 0.12), transparent 60%),
    linear-gradient(160deg, rgba(9, 20, 37, 0.86) 0%, rgba(6, 13, 24, 0.94) 70%);
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}

/* Canvas variant: generative scene draws its own darkness — soft vignette only */
.hero-bg-canvas::after {
  background:
    linear-gradient(100deg, rgba(6, 13, 24, 0.5) 0%, rgba(6, 13, 24, 0) 48%),
    linear-gradient(180deg, rgba(6, 13, 24, 0.2) 0%, rgba(6, 13, 24, 0) 30%, rgba(6, 13, 24, 0.35) 100%);
}

.hero-bg-canvas canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Real footage layer: sits above the canvas fallback, under the overlay */
.hero-bg-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-video::after {
  background:
    linear-gradient(100deg, rgba(6, 13, 24, 0.72) 0%, rgba(6, 13, 24, 0.25) 55%),
    linear-gradient(180deg, rgba(6, 13, 24, 0.35) 0%, rgba(6, 13, 24, 0.2) 40%, rgba(6, 13, 24, 0.55) 100%);
}

/* Cool grade: pulls warm footage toward the site's navy/teal palette */
.hero-bg-video.video-cool video {
  filter: saturate(0.78) brightness(0.92) hue-rotate(-6deg);
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
}

.hero-mark {
  position: absolute;
  right: -140px;
  top: 50%;
  transform: translateY(-50%);
  width: min(620px, 55vw);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 190px 28px 90px;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 600;
  max-width: 15ch;
  margin-bottom: 26px;
}

.hero h1 .accent { color: var(--teal-bright); }

.hero .lede { margin-bottom: 42px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-trust {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

/* Stat band inside hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 86px;
  padding-top: 38px;
  border-top: 1px solid var(--line-dark);
}

.stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 600;
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat .stat-num .unit { font-size: 0.55em; color: var(--teal-bright); }

.stat .stat-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 10px;
}

@media (max-width: 760px) {
  .hero-inner { padding-top: 140px; min-height: 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; margin-top: 60px; }
  .hero-mark { display: none; }
}

/* Subpage hero */
.page-hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 180px 28px 88px;
}

.page-hero h1 {
  font-size: clamp(25px, 3vw, 36px);
  max-width: 18ch;
  margin-bottom: 22px;
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

.btn-primary { background: var(--teal); color: var(--navy-950); }
.btn-primary:hover { background: var(--teal-bright); }

.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }

.btn-navy { background: var(--ink); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }

.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

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

.section { padding: 110px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark {
  background:
    radial-gradient(900px 480px at 90% 0%, rgba(28, 109, 208, 0.16), transparent 55%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: #fff;
}

.section-head { margin-bottom: 64px; }
.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

@media (max-width: 760px) { .section { padding: 76px 0; } }

/* ------------------------------------------------------------
   Cards & grids
   ------------------------------------------------------------ */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(13, 27, 46, 0.08);
  border-color: rgba(18, 200, 196, 0.45);
}

.card .card-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--teal);
  display: block;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.card p { color: var(--slate); font-size: 15.5px; }

.card ul { margin-top: 14px; }
.card ul li {
  position: relative;
  padding-left: 20px;
  color: var(--slate);
  font-size: 15px;
  margin-bottom: 9px;
}
.card ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 13px;
  top: 1px;
}

/* Media cards (photo on top) */
.card.media-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }

.card-media {
  height: 200px;
  overflow: hidden;
  flex: none;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card.media-card:hover .card-media img { transform: scale(1.05); }

.media-card .card-body { padding: 28px 28px 32px; }

/* Standalone image panel */
.img-panel {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.img-panel img { width: 100%; height: 100%; object-fit: cover; }

.section.dark .img-panel { border-color: var(--line-dark); }

/* Timeline photos */
.tl-photo {
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
  max-width: 500px;
  border: 1px solid var(--line);
}

.tl-photo img { width: 100%; display: block; }

/* Dark cards */
.section.dark .card {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line-dark);
}
.section.dark .card:hover { border-color: rgba(46, 230, 224, 0.5); box-shadow: none; }
.section.dark .card h3 { color: #fff; }
.section.dark .card p, .section.dark .card ul li { color: rgba(255, 255, 255, 0.65); }

/* ------------------------------------------------------------
   Model pillars (Originate / Invest / Supply)
   ------------------------------------------------------------ */

.pillar {
  border-top: 3px solid var(--teal);
}

.pillar:nth-child(2) { border-top-color: var(--blue); }
.pillar:nth-child(3) { border-top-color: var(--blue-deep); }

/* ------------------------------------------------------------
   Comparison table
   ------------------------------------------------------------ */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  background: #fff;
}

table.compare th, table.compare td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}

table.compare thead th {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-light);
  background: var(--bg-soft);
  font-weight: 500;
}

table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare td.good { color: var(--blue); font-weight: 600; }
table.compare td strong { font-family: var(--font-display); }

/* ------------------------------------------------------------
   Process / lifecycle steps
   ------------------------------------------------------------ */

.steps { counter-reset: step; display: grid; gap: 0; }

.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.step:last-child { border-bottom: 0; }

.step .step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--teal);
  padding-top: 6px;
}

.step h3 { font-size: 18.5px; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: 15.5px; max-width: 68ch; }

.section.dark .step { border-bottom-color: var(--line-dark); }
.section.dark .step p { color: rgba(255, 255, 255, 0.65); }

@media (max-width: 640px) {
  .step { grid-template-columns: 1fr; gap: 10px; }
}

/* ------------------------------------------------------------
   Big statement band
   ------------------------------------------------------------ */

.statement {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.01em;
  max-width: 26ch;
}

.statement .accent { color: var(--teal-bright); }

/* ------------------------------------------------------------
   Track record timeline
   ------------------------------------------------------------ */

.timeline { border-left: 2px solid var(--line); padding-left: 38px; display: grid; gap: 44px; }

.tl-item { position: relative; }

.tl-item::before {
  content: "";
  position: absolute;
  left: -45px;
  top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(18, 200, 196, 0.18);
}

.tl-item .tl-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 8px;
}

.tl-item h3 { font-size: 19px; margin-bottom: 8px; }
.tl-item p { color: var(--slate); font-size: 15.5px; max-width: 66ch; }

/* ------------------------------------------------------------
   Team
   ------------------------------------------------------------ */

.person {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  background: #fff;
}

.person .person-initials {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  margin-bottom: 20px;
}

.person .person-photo {
  width: 96px; height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  border: 2px solid var(--line);
}

.person .person-photo img { width: 100%; height: 100%; object-fit: cover; }

.person h3 { font-size: 18px; }

.person .person-role {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 6px 0 4px;
}

.person .person-cred {
  font-size: 13px;
  color: var(--slate-light);
  margin-bottom: 12px;
}

.person p { color: var(--slate); font-size: 14.5px; }

/* ------------------------------------------------------------
   CTA band
   ------------------------------------------------------------ */

.cta-band {
  position: relative;
  background:
    radial-gradient(900px 460px at 15% 120%, rgba(18, 200, 196, 0.18), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: #fff;
  overflow: hidden;
}

.cta-band .cta-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 104px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: clamp(25px, 3vw, 36px);
  max-width: 18ch;
}

.cta-band p { color: rgba(255,255,255,0.66); margin-top: 14px; max-width: 52ch; }

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

.contact-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 44px 40px;
}

.contact-box .contact-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 6px;
}

.contact-box .contact-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.contact-box .contact-value a:hover { color: var(--blue); }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid var(--line-dark);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 28px 44px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand img { height: 28px; width: auto; margin-bottom: 18px; }

.footer-brand p { font-size: 14px; max-width: 34ch; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
}

.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 14.5px; color: rgba(255, 255, 255, 0.7); transition: color 0.2s; }
.footer-col a:hover { color: var(--teal-bright); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 32px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

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

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
