:root {
  color-scheme: light;
  --paper: #f7f8f5;
  --navy: #06334b;
  --muted: #536671;
  --teal: #008795;
  --line: #d8e0df;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #092330;
  --navy: #edf4f4;
  --muted: #afc2c9;
  --teal: #38c5cd;
  --line: #2a4551;
}
:root[data-theme="dark"] .brand img { filter: brightness(0) invert(1); }
.header-tools { display: flex; align-items: center; gap: 24px; }
.theme-toggle { font: inherit; font-size: 11px; color: var(--navy); background: transparent; border: 1px solid var(--line); border-radius: 20px; padding: 9px 12px; cursor: pointer; white-space: nowrap; min-height: 44px; }
.theme-toggle::before { content: "◐"; margin-right: 7px; color: var(--teal); }
.theme-toggle:hover { border-color: var(--teal); }
.theme-toggle[aria-pressed="true"] { border-color: var(--teal); }
.theme-toggle:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
body { margin: 0; }
.page { max-width: 1440px; min-height: 100svh; margin: 0 auto; padding: 0 7.5%; display: flex; flex-direction: column; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; width: 186px; }
.brand img { width: 100%; height: auto; }
.location { font-size: 12px; letter-spacing: .035em; color: var(--muted); }
main { padding: clamp(66px, 10vh, 128px) 0 76px; flex: 1; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
h1 { font-size: clamp(48px, 6.5vw, 90px); font-weight: 500; line-height: 1.06; letter-spacing: -.055em; margin: 29px 0 28px; }
.period { color: var(--teal); }
.intro { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; color: var(--muted); margin: 0; max-width: 590px; }
.capabilities { display: flex; flex-wrap: wrap; gap: 10px 0; list-style: none; padding: 0; margin: 29px 0 0; font-size: 12px; font-weight: 500; }
.capabilities li + li::before { content: "/"; color: #7b9299; margin: 0 17px; }
.contact { margin-top: 62px; }
.contact p { font-size: 12px; color: var(--muted); margin: 0 0 12px; }
.email { display: inline-flex; align-items: center; gap: 32px; padding-bottom: 8px; border-bottom: 1px solid var(--teal); font-size: clamp(20px, 2vw, 25px); font-weight: 500; letter-spacing: -.025em; color: var(--navy); text-decoration: none; }
.email span { color: var(--teal); transition: transform .15s ease; }
.email:hover { color: var(--teal); }
.email:hover span { transform: translate(2px, -2px); }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 6px; border-radius: 2px; }
footer { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 0 30px; font-size: 11px; color: var(--muted); }
footer p { margin: 0; line-height: 1.8; }
footer strong { font-weight: 500; color: var(--navy); }
.footer-separator { margin: 0 12px; color: #7b9299; }
.legal { white-space: nowrap; }
.section { margin-top: 86px; padding-top: 32px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
h2 { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.text-link { color: var(--navy); font-size: inherit; text-decoration-color: var(--teal); text-underline-offset: 5px; }
.section-heading .text-link { font-size: 12px; }
.text-link:hover { color: var(--teal); }
.file-type { color: var(--muted); font-size: 10px; margin: 0 5px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; margin-top: 42px; }
.project-context { color: var(--muted); font-size: 11px; line-height: 1.8; margin: 0 0 20px; }
.project-context span { display: block; }
h3 { font-size: clamp(23px, 2.5vw, 30px); font-weight: 500; letter-spacing: -.035em; line-height: 1.2; margin: 0 0 18px; }
.project-copy > p:not([class]) { font-size: 15px; line-height: 1.8; color: var(--muted); margin: 0; max-width: 500px; }
.project-focus { color: var(--teal); font-size: 11px; line-height: 1.8; margin: 24px 0 0; }
.news-list { list-style: none; margin: 28px 0 0; padding: 0; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 210px 1fr 16px; gap: 20px; align-items: center; padding: 20px 0; color: var(--navy); text-decoration: none; }
.news-source { font-size: 11px; color: var(--muted); line-height: 1.8; }
.news-source time { display: block; }
.news-title { font-size: 15px; line-height: 1.5; }
.news-arrow { color: var(--teal); }
.news-list a:hover .news-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--teal); }
.coverage-note { margin: 16px 0 0; font-size: 11px; color: var(--muted); line-height: 1.6; }
@media (max-width: 760px) {
  .project-grid { grid-template-columns: 1fr; gap: 36px; }
  .project + .project { border-top: 1px solid var(--line); padding-top: 32px; }
  .news-list a { grid-template-columns: 1fr 16px; gap: 6px 16px; }
  .news-source { grid-column: 1; }
  .news-source time { display: inline; margin-left: 10px; }
  .news-title { grid-column: 1; }
  .news-arrow { grid-column: 2; grid-row: 1 / 3; }
  .section { margin-top: 64px; }
}
@media (max-width: 600px) {
  .page { padding: 0 7%; }
  .header { padding: 28px 0; }
  .brand { width: 146px; }
  .brand { flex-shrink: 0; }
  .header-tools { gap: 8px; flex-direction: column; align-items: flex-end; }
  .location { font-size: 10px; max-width: 80px; text-align: right; line-height: 1.5; }
  main { padding: 66px 0 64px; }
  h1 { font-size: clamp(41px, 10.2vw, 61px); margin-top: 26px; }
  .desktop-break { display: none; }
  .capabilities { font-size: 11px; }
  .capabilities li + li::before { margin: 0 9px; }
  .contact { margin-top: 48px; }
  footer { align-items: flex-start; flex-direction: column; gap: 9px; padding: 22px 0; }
}
@media (prefers-reduced-motion: reduce) { .email span { transition: none; } }

/* Project imagery stays in its original colors in both themes. */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; }
.hero h1 { font-size: clamp(45px, 5vw, 70px); }
figure { margin: 0; min-width: 0; }
.hero-media img, .project-media img, .project-media video { display: block; width: 100%; height: auto; border-radius: 3px; }
.hero-media img { aspect-ratio: 3 / 2; object-fit: cover; }
figcaption { margin-top: 12px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.project-grid { grid-template-columns: 1fr; gap: 42px; }
.project { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.project + .project { border-top: 1px solid var(--line); padding-top: 42px; }
.project-media video { background: #111; }
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 42px; }
  .hero h1 { font-size: clamp(41px, 6.5vw, 70px); }
  .hero-media { max-width: 720px; }
}
@media (max-width: 760px) {
  .project { grid-template-columns: 1fr; gap: 24px; }
}
.slide-frame { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 3px; background: #092330; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 900ms ease; pointer-events: none; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.slideshow-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 8px; }
.slide-caption { font-size: 10px; line-height: 1.7; color: var(--muted); margin: 0; }
.slideshow-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.slideshow-controls[hidden] { display: none; }
.slide-dots { display: flex; }
.slide-dot, .slide-pause { min-width: 32px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.slide-dot::after { content: ''; display: block; margin: auto; width: 6px; height: 6px; border: 1px solid var(--muted); border-radius: 50%; }
.slide-dot[aria-current="true"]::after { border-color: var(--teal); background: var(--teal); }
.slide-pause { font: inherit; font-size: 10px; min-width: 44px; }
.slide-dot:focus-visible, .slide-pause:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; border-radius: 3px; }
@media (max-width: 420px) { .slideshow-bar { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

.project-copy > p:not([class]) + p:not([class]) { margin-top: 16px; }
