:root {
  color-scheme: light;
  --navy: #152338;
  --ink: #1b2a3e;
  --muted: #536075;
  --blue: #245a92;
  --line: #d9e0e8;
  --paper: #f5f7fa;
  --accent: #a9c9ee;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 100%;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.7; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible { outline: 3px solid #397ab8; outline-offset: 6px; border-radius: 2px; }
p, h1, h2, h3 { margin-top: 0; }
p { margin-bottom: 1.15rem; }
.wrap { width: min(100% - 4rem, 70rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; top: -5rem; left: 1rem; padding: .6rem 1rem; background: white; color: var(--ink); }
.skip-link:focus { top: 1rem; }
.intro { color: white; background: var(--navy); }
.intro a:focus-visible { outline-color: var(--accent); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.6rem; border-bottom: 1px solid #ffffff24; }
.wordmark { font-size: 1.125rem; font-weight: 700; text-decoration: none; letter-spacing: -.025em; }
.wordmark span { color: var(--accent); font-weight: 400; }
nav { display: flex; gap: 2rem; }
nav a { font-size: .9375rem; color: #d1dceb; text-decoration: none; }
nav a:hover { color: white; text-decoration: underline; }
.hero { padding-block: 5.5rem 4.75rem; }
.eyebrow { margin-bottom: 1rem; font-size: .8125rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; line-height: 1.6; }
.hero .eyebrow { color: var(--accent); }
h1 { max-width: 58rem; margin-bottom: 2rem; font-size: clamp(2.7rem, 5.7vw, 4.75rem); line-height: 1.12; letter-spacing: -.045em; font-weight: 650; }
.hero-bottom { display: flex; align-items: end; justify-content: space-between; gap: 3rem; }
.hero-copy { max-width: 39rem; margin-bottom: 0; color: #c9d5e5; font-size: 1.125rem; line-height: 1.8; }
.button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 3rem; padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: .3rem; text-decoration: none; font-size: .9375rem; font-weight: 650; line-height: 1.5; transition: background .15s ease; }
.button-light { background: #e9f1fb; color: var(--navy); }
.button-light:hover { background: white; }
.button-dark { background: var(--navy); color: white; }
.button-dark:hover { background: #294565; }
.section { padding-block: 4.5rem; }
.section .eyebrow { color: var(--blue); }
h2 { margin-bottom: 1rem; font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 650; letter-spacing: -.035em; line-height: 1.2; }
.about { display: grid; grid-template-columns: 1fr 1.8fr; gap: 4rem; }
.about-copy { max-width: 44rem; color: var(--muted); }
.about-copy p:first-child { color: var(--ink); font-size: 1.125rem; }
.tool-list { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding: 0; margin: 1.75rem 0 0; list-style: none; color: var(--blue); font-size: .875rem; font-weight: 600; }
.projects { border-top: 1px solid var(--line); }
.projects-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 2.5rem; }
.projects-heading h2 { margin-bottom: 0; }
.projects-heading > p { max-width: 23rem; margin: 0; color: var(--muted); }
.project { display: grid; grid-template-columns: 1fr 1.8fr; gap: 4rem; padding: 2.5rem; border: 1px solid var(--line); border-radius: .5rem; background: white; }
.project + .project { margin-top: 1.25rem; }
.project-type { display: block; margin-bottom: .7rem; color: var(--blue); font-size: .8125rem; font-weight: 600; line-height: 1.6; }
h3 { margin-bottom: .6rem; font-size: 1.625rem; line-height: 1.3; letter-spacing: -.025em; }
.project-note { color: var(--muted); font-size: .875rem; }
.project-details { color: var(--muted); }
.project-tech { margin-block: 1.4rem; color: var(--muted); font-size: .875rem; }
.text-link { color: var(--blue); font-size: .9375rem; font-weight: 600; }
.project-links { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 4rem; border-top: 1px solid var(--line); }
.contact > div:first-child { max-width: 40rem; }
.contact p:last-child { color: var(--muted); margin-bottom: 0; }
.contact-links { display: flex; flex-direction: column; align-items: center; gap: 1rem; flex-shrink: 0; }
.site-footer { color: #c9d5e5; background: var(--navy); }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.75rem; font-size: .875rem; }
.footer-content p { margin: 0; }
.footer-content a { color: #e9f1fb; }

@media (max-width: 800px) {
  .hero { padding-block: 4rem; }
  .hero-bottom { align-items: start; flex-direction: column; gap: 1.75rem; }
  .about { grid-template-columns: 1fr; gap: 1rem; }
  .projects-heading { align-items: start; flex-direction: column; gap: 1rem; }
  .projects-heading > p { max-width: 34rem; }
  .project { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem; }
  .contact { align-items: start; flex-direction: column; gap: 1.75rem; }
  .contact-links { align-items: start; }
}

@media (max-width: 480px) {
  .wrap { width: calc(100% - 2.5rem); }
  .site-header { flex-wrap: wrap; gap: .9rem; padding-block: 1.2rem; }
  nav { width: 100%; justify-content: space-between; gap: 1rem; }
  .hero { padding-block: 3rem; }
  .desktop-break { display: none; }
  .hero-copy { font-size: 1.0625rem; }
  .section { padding-block: 3rem; }
  .project { padding: 1.5rem; }
  .footer-content { flex-direction: column; align-items: start; gap: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
