@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/public/fonts/manrope-latin-variable.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --paper: #fafbfb;
  --surface: #ffffff;
  --ink: #17191f;
  --muted: #626772;
  --line: rgba(23, 25, 31, 0.16);
  --line-strong: rgba(23, 25, 31, 0.32);
  --cobalt: #246467;
  --coral: #786079;
  --lime: #b4ccc8;
  --soft-blue: #f0f4f4;
  --soft-coral: #f5f2f5;
  --soft-lime: #f4f5f7;
  --focus: #246467;
  --header-bg: rgba(250, 251, 251, 0.92);
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #131517;
  --surface: #1b1e20;
  --ink: #f6f7f2;
  --muted: #a9aeb8;
  --line: rgba(246, 247, 242, 0.17);
  --line-strong: rgba(246, 247, 242, 0.34);
  --cobalt: #95c5c1;
  --coral: #beafc0;
  --lime: #b4ccc8;
  --soft-blue: #191f21;
  --soft-coral: #232025;
  --soft-lime: #1b1d20;
  --focus: #95c5c1;
  --header-bg: rgba(19, 21, 23, 0.92);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-wrap: break-word;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

body,
button,
textarea {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

p {
  color: var(--muted);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  translate: 0 -200%;
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1rem;
  font-weight: 750;
  transition: translate 160ms ease;
}

.skip-link:focus {
  translate: 0;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 101;
  width: 100%;
  height: 2px;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  background: var(--cobalt);
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.5rem;
  padding: 0.7rem max(1.25rem, calc((100% - 1280px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
}

.brand-mark {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.9rem;
  line-height: 1.25;
}

.brand small,
.eyebrow,
.project-type,
time,
.writing-grid > article > span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.site-header nav a,
.site-footer nav a {
  position: relative;
  padding: 0.45rem 0;
}

.site-header nav a::after,
.site-footer nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--cobalt);
  content: "";
  transition: transform 180ms ease;
}

.site-header nav a:hover::after,
.site-footer nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.theme-toggle,
.nav-toggle {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.15rem;
  transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.js .theme-toggle {
  display: inline-flex;
}

.theme-toggle:hover,
.nav-toggle:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -0.35rem;
}

.nav-toggle span::after {
  top: 0.35rem;
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  transform: translateY(0.35rem) rotate(45deg);
}

.nav-open .nav-toggle span::after {
  transform: translateY(-0.35rem) rotate(-45deg);
}

.hero,
.section-shell,
.site-footer,
.article-page {
  width: min(1280px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.hero {
  display: grid;
  gap: 1.75rem;
  min-height: 0;
  padding: 2.5rem 0 1.75rem;
}

.hero-heading .eyebrow {
  margin: 0 0 0.65rem;
}

.hero-heading .eyebrow span {
  color: var(--cobalt);
}

.hero h1,
.section-heading h2,
.cta h2,
.article-page h1 {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0;
}

.hero h1 {
  font-size: 6rem;
  line-height: 1.05;
}

.hero h1 span {
  color: var(--cobalt);
}

.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.8fr);
  gap: 3rem;
  align-items: start;
}

.hero-role {
  max-width: 34rem;
  margin: 0;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
}

.hero-lede {
  max-width: 45rem;
  margin: 0;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
  margin-top: 1.2rem;
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0.7rem 1rem;
  font-weight: 600;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button:hover {
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  color: var(--cobalt);
  font-weight: 600;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

.kinetic-type {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line-strong);
}

.kinetic-line {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 1.05rem 1.25rem 1.1rem;
  border-top: 1px solid transparent;
  transition: border-color 240ms ease, background-color 240ms ease;
}

.kinetic-line + .kinetic-line {
  border-left: 1px solid var(--line);
}

.kinetic-line:hover {
  background: var(--surface);
  border-top-color: var(--word-colour);
}

.kinetic-word {
  color: var(--ink);
  font-size: 3rem;
  font-weight: 400;
  line-height: 0.95;
}

.kinetic-line small {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
}

.automate {
  --word-colour: var(--cobalt);
}

.secure {
  --word-colour: var(--coral);
}

.build {
  --word-colour: #587080;
}

:root[data-theme="dark"] .build {
  --word-colour: var(--lime);
}

.profile-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.profile-strip div {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.profile-strip dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 760;
  text-transform: uppercase;
}

.profile-strip dd {
  margin: 0;
  font-weight: 730;
}

.section-band {
  padding: 5.5rem 0;
  border-top: 1px solid var(--line);
}

.projects {
  background: var(--soft-blue);
  padding-top: 3rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3.25rem;
}

.section-heading .eyebrow {
  margin: 0 0 0.65rem;
}

.section-heading h2,
.cta h2 {
  max-width: 18ch;
  font-size: 3.5rem;
  line-height: 1;
}

.section-heading > p {
  max-width: 32rem;
  margin: 0;
}

.project-feature {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
}

.project-number {
  color: var(--cobalt);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
}

.project-feature-copy {
  display: grid;
  grid-template-columns: minmax(12rem, 0.8fr) minmax(18rem, 1.2fr);
  gap: 0.75rem 3rem;
  align-items: start;
}

.project-feature-copy .project-type,
.project-feature-copy h3,
.project-feature-copy .text-link {
  grid-column: 1;
}

.project-feature-copy > p:not(.project-type),
.project-feature-copy .tag-list {
  grid-column: 2;
}

.project-feature-copy > p:not(.project-type) {
  grid-row: 1 / span 2;
  margin: 0;
  font-size: 1.15rem;
}

.project-feature h3 {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
}

.project-type {
  margin: 0;
}

.project-image-link {
  grid-column: 1 / -1;
  display: block;
  margin-top: 1.5rem;
  overflow: hidden;
  background: #001225;
  max-width: 900px;
  width: 100%;
  justify-self: center;
}

.project-image-link img {
  display: block;
  width: 100%;
  aspect-ratio: 1440 / 755;
  object-fit: contain;
  transition: transform 400ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-image-link:hover img {
  transform: scale(1.012);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.project-list {
  margin-top: 3.5rem;
}

.project-row {
  --row-accent: var(--cobalt);
  --row-bg: transparent;
  display: grid;
  grid-template-columns: 4.25rem 1fr 1.25fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.6rem 1rem;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
  background: var(--row-bg);
  transition: transform 180ms ease, background-color 180ms ease;
}

.project-row:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.project-row:hover {
  background: var(--surface);
}

.project-row .project-number {
  color: var(--row-accent);
  font-size: 1.4rem;
}

.project-row h3 {
  margin: 0.2rem 0 0;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.15;
}

.project-row > p {
  margin: 0;
}

.project-row .text-link {
  margin-top: 0.75rem;
  font-size: 0.86rem;
}

.project-row .tag-list {
  margin-top: 0;
}

.project-blue {
  --row-accent: var(--cobalt);
  --row-bg: transparent;
}

.project-coral {
  --row-accent: var(--coral);
  --row-bg: transparent;
}

.project-lime {
  --row-accent: #587080;
  --row-bg: transparent;
}

:root[data-theme="dark"] .project-lime {
  --row-accent: var(--lime);
}

.impact-list,
.timeline {
  display: grid;
}

.impact-list article {
  display: grid;
  grid-template-columns: 5rem minmax(14rem, 0.7fr) minmax(20rem, 1.25fr);
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}

.impact-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.impact-list span {
  color: var(--coral);
  font-size: 1.5rem;
  font-weight: 820;
}

h3 {
  margin: 0;
}

.impact-list h3 {
  font-size: 1.4rem;
  line-height: 1.2;
}

.impact-list p {
  margin: 0;
}

.experience {
  background: #17191f;
  color: #f6f7f2;
}

:root[data-theme="dark"] .experience {
  background: #090a0e;
}

.experience .eyebrow,
.experience p,
.experience time {
  color: #aeb4bf;
}

.experience .section-heading h2 {
  color: #f6f7f2;
}

.experience .text-link { color: #b4ccc8; }

.timeline article {
  display: grid;
  grid-template-columns: 0.55fr 1fr 1.15fr;
  gap: 2rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(246, 247, 242, 0.2);
}

.timeline article:last-child {
  border-bottom: 1px solid rgba(246, 247, 242, 0.2);
}

.timeline h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.timeline p {
  margin: 0.35rem 0 0;
}

.timeline > article > p {
  margin-top: 0;
}

.writing {
  background: var(--soft-lime);
}

.writing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
}

.writing-grid article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line-strong);
}

.writing-grid article:nth-child(even) {
  border-top-color: var(--line-strong);
}

.writing-grid h2,
.writing-grid h3 {
  margin: 0.75rem 0 0;
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.18;
}

.writing-grid p {
  margin-bottom: 1.25rem;
}

.writing-grid .text-link,
.writing-grid > article > a {
  margin-top: auto;
}

.cta {
  background: #21494b;
  color: #ffffff;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.7fr) auto;
  gap: 2rem;
  align-items: end;
}

.cta .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--lime);
}

.cta h2 {
  color: #ffffff;
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta .button.primary {
  min-width: 8.5rem;
  background: #f5f8f7;
  color: #17191f;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 2rem 3rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

/* Shared writing pages */
.article-page {
  max-width: 820px;
  padding: 4.5rem 0 6rem;
}

.article-page > .eyebrow {
  margin-top: 1.5rem;
}

.article-page h1 {
  margin: 0.5rem 0 1rem;
  font-size: 4rem;
  line-height: 1.12;
  text-wrap: balance;
}

.article-page h2 {
  margin: 2.75rem 0 0.75rem;
  font-size: 1.8rem;
  line-height: 1.2;
}

.article-page p,
.article-page li {
  font-size: 1.08rem;
  line-height: 1.8;
}

.article-page li + li { margin-top: 0.55rem; }
.article-page > p { max-width: 70ch; }
.section-heading h2, .cta h2 { text-wrap: balance; }
.project-row > *, .timeline article > *, .impact-list article > * { min-width: 0; }
.site-footer nav a { min-height: 2.75rem; display: inline-flex; align-items: center; }
.document-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.5rem; }
.document-actions button { font: inherit; cursor: pointer; }
.document-actions svg { width: 1.1rem; height: 1.1rem; margin-right: 0.5rem; }
.cv-page { max-width: 900px; }
.cv-page h1 { font-size: 3.5rem; }
.cv-page .cv-role { color: var(--cobalt); font-size: 1.4rem; margin-top: 0; }
.cv-contact { display: flex; gap: 0.75rem 1.5rem; flex-wrap: wrap; font-size: 0.9rem; }
.cv-contact a { overflow-wrap: anywhere; }
.cv-entry { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.cv-entry h3 { font-size: 1.2rem; font-weight: 650; }
.cv-entry p { margin: 0.4rem 0; }
.cv-entry .cv-date { font-size: 0.85rem; color: var(--muted); }
.cv-page section { margin-top: 2.5rem; }
.cv-page section h2 { margin-top: 0; }

.article-page a:not(.brand) {
  color: var(--cobalt);
  font-weight: 740;
}

.article-page .writing-grid {
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.article-hero-card {
  margin: 2rem 0;
  border-left: 2px solid var(--cobalt);
  background: var(--soft-blue);
  padding: 1rem 1.25rem;
}

.article-hero-card p:first-child {
  margin-top: 0;
}

.article-hero-card p:last-child {
  margin-bottom: 0;
}

/* Progressive enhancement: content is visible unless JavaScript enables reveals. */
.js.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

.js.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

@media (max-width: 1100px) {
  .site-header nav {
    gap: 0.8rem;
    font-size: 0.82rem;
  }

  .hero h1 {
    font-size: 5rem;
  }

  .kinetic-word {
    font-size: 3rem;
  }

  .project-row {
    grid-template-columns: 3.5rem 0.8fr 1fr;
  }

  .project-row .tag-list {
    grid-column: 2 / -1;
  }
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .site-header .brand {
    margin-right: auto;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .site-header nav {
    order: 5;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.45rem 0 0.7rem;
    border-top: 1px solid var(--line);
  }

  .site-header nav a {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    padding: 0.5rem 0;
  }

  .site-header nav a::after {
    display: none;
  }

  .js .site-header nav {
    display: none;
  }

  .js .site-header.nav-open nav {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 2.5rem;
  }

  .hero h1 {
    font-size: 3.75rem;
  }

  .hero h1 span {
    display: block;
  }

  .hero-intro,
  .project-feature-copy,
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-feature-copy > *,
  .project-feature-copy > p:not(.project-type),
  .project-feature-copy .tag-list,
  .cta .eyebrow {
    grid-column: 1;
    grid-row: auto;
  }

  .kinetic-word {
    font-size: 2.3rem;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .section-heading h2,
  .cta h2 {
    font-size: 2.7rem;
  }

  .project-row,
  .impact-list article,
  .timeline article {
    grid-template-columns: 4rem 1fr;
  }

  .project-row > p,
  .project-row .tag-list,
  .impact-list article > p,
  .timeline article > p {
    grid-column: 2;
  }

  .timeline time {
    grid-row: 1 / span 2;
  }

  .writing-grid {
    gap: 1.5rem;
  }

  .cta .button {
    justify-self: start;
  }

  .article-page h1 {
    font-size: 3rem;
  }
}

@media (max-width: 620px) {
  .hero,
  .section-shell,
  .site-footer,
  .article-page {
    width: min(100% - 1.5rem, 1280px);
  }

  .brand small {
    display: none;
  }

  .hero {
    gap: 1.4rem;
    padding: 2rem 0 1.5rem;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-role {
    font-size: 1.25rem;
  }

  .profile-strip,
  .writing-grid {
    grid-template-columns: 1fr;
  }

  .kinetic-line {
    min-height: 3.8rem;
    padding: 0.9rem 0.25rem;
    border-top-width: 1px;
  }

  .kinetic-line + .kinetic-line {
    border-left: 0;
  }

  .kinetic-line:hover {
    padding-left: 1rem;
  }

  .kinetic-word {
    font-size: 1.3rem;
  }

  .kinetic-line small {
    display: none;
  }

  .profile-strip {
    display: none;
  }

  .section-band {
    padding: 4rem 0;
  }

  .section-heading {
    margin-bottom: 2.25rem;
  }

  .section-heading h2,
  .cta h2 {
    font-size: 2.35rem;
  }

  .project-feature {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.7rem;
  }

  .project-feature-copy {
    gap: 0.75rem;
  }

  .project-feature h3 {
    font-size: 2.4rem;
  }

  .project-image-link {
    margin-top: 0.75rem;
  }

  .project-list {
    margin-top: 2rem;
  }

  .project-row,
  .impact-list article,
  .timeline article {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.8rem;
    padding-block: 1.25rem;
  }

  .project-row {
    padding-right: 0.35rem;
    padding-left: 0.7rem;
  }

  .project-row > p,
  .project-row .tag-list,
  .impact-list article > p,
  .timeline article > p {
    grid-column: 1 / -1;
  }

  .timeline time {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .timeline article > div { grid-column: 1 / -1; }
  .timeline h3 { font-size: 1.25rem; }
  .cv-page h1 { font-size: 2.5rem; }
  .site-header.nav-open { max-height: 100svh; overflow-y: auto; }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .article-page {
    padding-top: 3rem;
  }

  .article-page h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 380px) {
  .site-header {
    padding-inline: 0.75rem;
  }

  .brand strong {
    font-size: 0.82rem;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-number {
    font-size: 1.7rem;
  }

  .section-heading h2,
  .cta h2 {
    font-size: 2rem;
  }
}

@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;
  }

  .js.reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  :root { --ink: #17191f; --muted: #454545; --cobalt: #246467; --line: #d9dddd; }
  body { background: #fff; color: #17191f; font-size: 10pt; }
  .site-header, .site-footer, .skip-link, .scroll-progress, .document-actions { display: none !important; }
  .cv-page { width: 100%; max-width: none; padding: 0; }
  .cv-page h1 { font-size: 28pt; }
  .cv-page h2 { font-size: 15pt; margin-bottom: 0.5rem; }
  .cv-page p, .cv-page li { font-size: 10pt; line-height: 1.5; }
  .cv-page section { margin-top: 1.4rem; }
  .cv-entry { padding-block: 0.65rem; break-inside: avoid; }
  .cv-entry h3 { font-size: 11pt; }
  .cv-contact { font-size: 9pt; }
  @page { size: A4; margin: 16mm; }
}
