/* Fonts: self-hosted variable woff2, latin + latin-ext subsets (OFL, see assets/fonts). */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-normal-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-normal-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-italic-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-normal-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-normal-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Tokens */

:root {
  --paper: #f6f1e8;
  --paper-2: #ede5d7;
  --paper-3: #e3d8c5;
  --ink: #16212e;
  --navy: #1a3550;
  --muted: #4f5f70;
  --rule: rgba(26, 53, 80, 0.2);
  --accent: #c0502c;
  --accent-ink: #a5401f;
  --accent-on-navy: #f39a76;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans:
    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  --max: 76rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --rail: 2.5rem;
  --masthead-h: 3.5rem;
}

/* Base */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--masthead-h) + 1rem);
}

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

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

a {
  color: inherit;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition:
    color 0.2s ease,
    text-decoration-thickness 0.2s ease;
}

a:hover {
  color: var(--accent-ink);
  text-decoration-thickness: 2px;
}

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

::selection {
  background: var(--accent);
  color: var(--paper);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 1rem;
  background: var(--navy);
  color: var(--paper);
  font-weight: 600;
}

.skip-link:focus {
  top: 0.5rem;
}

/* Masthead */

.masthead {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  min-height: var(--masthead-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--navy);
  text-decoration: none;
}

.lang-toggle {
  display: flex;
}

.no-js .lang-toggle {
  visibility: hidden;
}

.lang-toggle button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.5rem;
  border: 0;
  border-left: 1px solid var(--rule);
  background: transparent;
  color: var(--navy);
  font: 600 0.8rem/1 var(--sans);
  letter-spacing: 0.12em;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.lang-toggle button:first-child {
  border-left: 0;
}

.lang-toggle button:hover {
  color: var(--accent-ink);
}

.lang-toggle button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--paper);
}

/* Layout */

.hero,
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding-top: clamp(4.5rem, 11vw, 9rem);
}

.section-head {
  display: grid;
  gap: 0.25rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  padding-top: 1rem;
  border-top: 1px solid var(--navy);
}

.section-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--accent-ink);
}

.section-head h2 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(2.5rem, 7vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
}

/* Hero */

.hero {
  display: grid;
  grid-template-areas:
    "photo"
    "kicker"
    "name"
    "title"
    "tagline";
  gap: 1rem;
  padding-top: clamp(2.5rem, 8vw, 6.5rem);
}

.hero-kicker {
  grid-area: kicker;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-name {
  grid-area: name;
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(3.25rem, 12.5vw, 10.5rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  color: var(--navy);
}

.hero-name span {
  display: block;
}

.hero-name-last {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  padding-left: 0.9em;
}

.hero-title {
  grid-area: title;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.hero-tagline {
  grid-area: tagline;
  max-width: 28ch;
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.3;
  color: var(--ink);
}

.hero-photo {
  grid-area: photo;
  position: relative;
  justify-self: end;
  width: min(10.5rem, 45vw);
  margin: 0 0.75rem 0.75rem 0;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(0.75rem, 0.75rem);
  border-radius: 999px 999px 0.25rem 0.25rem;
  background: var(--navy);
}

.hero-photo img {
  position: relative;
  width: 100%;
  border-radius: 999px 999px 0.25rem 0.25rem;
}

@media (min-width: 56rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "kicker  photo"
      "name    photo"
      "title   photo"
      "tagline photo";
    column-gap: clamp(2rem, 5vw, 5rem);
    align-items: end;
  }

  .hero-photo {
    align-self: center;
    width: 15rem;
    margin: 0 1.25rem 1.25rem 0;
  }

  .hero-photo::before {
    transform: translate(1.25rem, 1.25rem);
  }
}

/* Profile */

.profile-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.profile-lead {
  max-width: 30ch;
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.profile-body {
  display: grid;
  gap: 1.1rem;
  max-width: 62ch;
  hyphens: auto;
}

.facts {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.fact {
  padding-top: 0.75rem;
  border-top: 1px solid var(--rule);
}

.fact dt {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--accent);
}

.fact dd {
  margin-top: 0.4rem;
  max-width: 24ch;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
}

@media (min-width: 56rem) {
  .profile-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    column-gap: clamp(3rem, 7vw, 6rem);
  }

  .profile-lead {
    grid-column: 1 / -1;
  }
}

/* Path: stations are a plain list; the SVG route is drawn by main.js on top
   of it. Without JS a straight CSS rail stands in for the route. */

.path-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: -1.5rem 0 2.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.path-legend li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.path-legend li::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
}

.legend-work::before {
  border-radius: 50%;
  background: var(--navy);
}

.legend-edu::before {
  transform: rotate(45deg) scale(0.85);
  border: 2px solid var(--navy);
  background: var(--paper);
}

.path {
  position: relative;
}

.path::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: calc(var(--rail) / 2 - 1px);
  border-left: 2px solid var(--accent);
}

.path.is-drawn::before {
  display: none;
}

.path-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.path-track {
  fill: none;
  stroke: var(--navy);
  stroke-opacity: 0.22;
  stroke-width: 1.5;
  stroke-dasharray: 2 6;
  stroke-linecap: round;
}

.path-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.path-anchor {
  position: relative;
  z-index: 1;
  display: block;
}

.path-marker {
  display: grid;
  grid-template-columns: var(--rail) 1fr;
  align-items: center;
  column-gap: 1rem;
}

.path-marker .path-anchor {
  grid-column: 1;
  justify-self: center;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--paper);
}

.path-marker--start {
  margin-bottom: 2.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent-ink);
}

.path-marker--end {
  margin-top: 3rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1;
  color: var(--accent);
}

.path-marker--end .path-anchor {
  width: 1.1rem;
  height: 1.1rem;
}

.stations {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
}

.station {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  column-gap: 1rem;
  align-items: start;
}

.station-year {
  display: none;
}

.station-node {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  width: 1rem;
  height: 1rem;
  margin-top: 0.3rem;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 4px var(--paper);
  transition:
    background-color 0.4s ease,
    border-color 0.4s ease;
}

.station--edu .station-node {
  width: 0.9rem;
  height: 0.9rem;
  margin-top: 0.35rem;
  border: 2px solid var(--navy);
  border-radius: 1px;
  background: var(--paper);
  transform: rotate(45deg);
}

.station.is-reached .station-node {
  background: var(--accent);
}

.station--edu.is-reached .station-node {
  border-color: var(--accent);
  background: var(--paper);
}

.station-card {
  grid-column: 2;
  grid-row: 1;
  max-width: 34rem;
  hyphens: auto;
}

.station--work .station-card {
  padding-top: 0.1rem;
}

.station--edu .station-card {
  padding: 1.1rem 1.25rem 1.25rem;
  background: var(--paper-2);
  border-top: 2px solid var(--navy);
}

.station-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
  margin-bottom: 0.5rem;
}

.station-type {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.station-date {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--accent-ink);
  font-variant-numeric: lining-nums;
}

.station-role {
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
  hyphens: manual;
}

.station-org {
  margin-top: 0.3rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.station-detail {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.station-thesis {
  margin-top: 0.9rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink);
}

.station-grade {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.15rem 0.6rem;
  border: 1px solid var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.station-points {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
  font-size: 0.97rem;
  line-height: 1.55;
}

.station-points li {
  position: relative;
  padding-left: 1.4rem;
}

.station-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.75rem;
  border-top: 1.5px solid var(--accent);
}

@media (min-width: 50rem) {
  .path {
    --rail: 10rem;
  }

  .path::before {
    left: calc(50% - 1px);
  }

  .path-marker {
    grid-template-columns: 1fr var(--rail) 1fr;
    row-gap: 0.75rem;
    text-align: center;
  }

  .path-marker .path-anchor,
  .path-marker > span:last-child {
    grid-column: 2;
  }

  .path-marker--start .path-anchor {
    grid-row: 2;
  }

  .path-marker--start > span:last-child {
    grid-row: 1;
  }

  .station {
    grid-template-columns: minmax(0, 1fr) var(--rail) minmax(0, 1fr);
    column-gap: 0;
  }

  .station-node {
    grid-column: 2;
  }

  .is-drawn .station--left .station-node {
    justify-self: start;
    margin-left: 1.5rem;
  }

  .is-drawn .station--right .station-node {
    justify-self: end;
    margin-right: 1.5rem;
  }

  .station--left .station-card {
    grid-column: 1;
    justify-self: end;
  }

  .station--right .station-card {
    grid-column: 3;
  }

  .station-year {
    display: block;
    grid-row: 1;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(4.5rem, 9vw, 8rem);
    line-height: 0.8;
    letter-spacing: -0.04em;
    color: var(--paper-3);
    user-select: none;
  }

  .station--left .station-year {
    grid-column: 3;
    padding-left: 1.5rem;
  }

  .station--right .station-year {
    grid-column: 1;
    justify-self: end;
    padding-right: 1.5rem;
  }
}

/* Skills */

.skills-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.skill-group h3 {
  margin-bottom: 1.5rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.1;
  color: var(--navy);
}

.skill-label {
  margin-bottom: 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.skill-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0;
  margin-bottom: 2.25rem;
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.3;
  color: var(--ink);
}

.skill-focus li:not(:last-child)::after {
  content: "/";
  margin: 0 0.45em;
  font-style: italic;
  color: var(--accent);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tags li {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--navy);
  background: var(--paper);
}

.skill-group--ai {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--navy);
  color: var(--paper);
}

.skill-group--ai h3 {
  color: var(--paper);
}

.skill-group--ai .skill-label {
  color: #b8c4d1;
}

.skill-ai-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0;
  margin-bottom: 2.25rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.3;
}

.skill-ai-tools li:not(:last-child)::after {
  content: "·";
  margin: 0 0.5em;
  font-style: normal;
  color: var(--accent-on-navy);
}

.skill-practice {
  counter-reset: practice;
}

.skill-practice li {
  counter-increment: practice;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.5rem;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(246, 241, 232, 0.18);
  font-size: 0.97rem;
  line-height: 1.45;
  hyphens: auto;
}

.skill-practice li::before {
  content: counter(practice, decimal-leading-zero);
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent-on-navy);
}

@media (min-width: 56rem) {
  .skills-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: start;
  }

  .skill-group--ai {
    margin-top: 4rem;
  }
}

/* Languages */

.lang-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 2rem clamp(1.5rem, 3vw, 2.5rem);
}

.lang {
  display: grid;
  grid-template-rows: 4.5rem auto auto auto;
  align-content: start;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.lang-level {
  align-self: end;
  font-family: var(--serif);
  font-weight: 350;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.lang-level--native {
  font-style: italic;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  line-height: 1.1;
  color: var(--accent);
}

.lang-name {
  grid-row: 2;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}

.lang-note {
  grid-row: 3;
  font-size: 0.85rem;
  color: var(--muted);
}

.scale {
  grid-row: 4;
  display: flex;
  gap: 0.25rem;
  margin-top: 0.9rem;
}

.scale span {
  flex: 1;
  height: 0.35rem;
  background: var(--paper-3);
}

.scale--a2 span:nth-child(-n + 2),
.scale--c1 span:nth-child(-n + 5),
.scale--native span {
  background: var(--accent);
}

/* Contact */

.contact-body {
  display: grid;
  gap: 2rem;
}

.contact-lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.2;
  color: var(--navy);
}

.contact-links li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
}

.contact-links li:last-child {
  border-bottom: 1px solid var(--rule);
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-links a {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  color: var(--navy);
  overflow-wrap: anywhere;
}

.contact-location {
  font-size: 0.85rem;
  color: var(--muted);
}

@media (min-width: 50rem) {
  .contact-links li {
    grid-template-columns: 10rem 1fr;
    align-items: baseline;
    gap: 1.5rem;
  }
}

/* Footer */

.site-footer {
  max-width: var(--max);
  margin: clamp(5rem, 10vw, 8rem) auto 0;
  padding: 1.5rem var(--gutter) 2.5rem;
}

.site-footer p {
  padding-top: 1.25rem;
  border-top: 1px solid var(--navy);
  font-size: 0.85rem;
  color: var(--muted);
}

/* Scroll reveal: main.js only adds .js-reveal when motion is allowed, so
   content stays visible without JS. */

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .js-reveal .reveal {
    opacity: 1;
    transform: none;
  }

  .path-line {
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
  }
}
