/* Ocean, ink, mineral grey and sea-glass. Shared design tokens live here. */
:root {
  --paper: #0b1118;
  --ink: #edf0f3;
  --accent: #9bd6c7;
  --line: #2b333d;
  --muted: #a1aebc;
  --pad: clamp(22px, 4.2vw, 76px);
}
body {
  background: var(--paper);
  color: var(--ink);
  font-weight: 400;
}
.site-header {
  background: var(--paper);
  border-color: var(--line);
  padding-top: 23px;
  padding-bottom: 23px;
}
.brand img {
  filter: invert(1);
  width: 145px;
  max-height: 44px;
}
.site-nav {
  gap: 35px;
}
.site-nav a {
  font-size: 15px;
  color: #a1aebc;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}
.site-nav a:after {
  height: 1px;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.13em;
  color: var(--accent);
  line-height: 1.5;
}
.pill {
  border-radius: 3px;
  border-color: #576573;
  color: #edf0f3;
}
.pill:hover {
  background: #d0e5e0;
  color: #0b1118;
}
.page-wipe {
  background: #111c27;
}
.cursor,
.removed-cursor {
  display: none !important;
}
.text-link {
  display: inline-block;
  color: var(--ink);
  padding-bottom: 7px;
  border-bottom: 1px solid var(--accent);
  font-size: 16px;
  transition: color 0.25s;
}
.text-link:hover {
  color: var(--accent);
}
.subtle-link {
  font-size: 15px;
  color: var(--muted);
  transition: color 0.25s;
}
.subtle-link:hover {
  color: var(--ink);
}
.quiet-footer {
  display: flex;
  gap: 30px;
  align-items: center;
  padding: 28px var(--pad);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.quiet-footer span {
  margin-right: auto;
}
.quiet-footer a:hover {
  color: var(--accent);
}
.section-head {
  border-color: var(--line);
}
.section-head span:last-child {
  color: var(--muted);
}
.reveal,
.js-motion .reveal {
  opacity: 1;
  transform: none;
}
.reveal.motion-ready {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.reveal.motion-ready.visible {
  opacity: 1;
  transform: none;
}
/* Home: clear separation between identity and artwork. */
.landing {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6vw;
  padding: 60px var(--pad) 65px;
  align-items: center;
  min-height: calc(100svh - 85px);
}
.landing-copy {
  max-width: 610px;
}
.landing-logo {
  width: 100%;
  max-width: 480px;
  filter: invert(1);
  margin: 40px 0 45px;
}
.landing h1 {
  font-size: clamp(30px, 3.25vw, 54px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.landing-bio {
  font-size: 17px;
  line-height: 1.65;
  max-width: 395px;
  color: var(--muted);
  margin-top: 25px;
}
.landing-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 35px;
}
.landing-location {
  display: block;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #778895;
  margin-top: 65px;
}
.landing-art {
  min-width: 0;
}
.art-stage {
  height: clamp(420px, 65vh, 800px);
  overflow: hidden;
  background: #151c25;
}
.art-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.landing-art figcaption {
  font-size: 12px;
  color: var(--muted);
  padding-top: 16px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.art-controls {
  display: flex;
  gap: 13px;
  align-items: center;
  white-space: nowrap;
}
.art-controls button {
  color: #b4c1ce;
  background: transparent;
  font-size: 12px;
  padding: 0;
}
.art-controls button:hover {
  color: var(--accent);
}
.art-controls span {
  color: #758493;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.home-selected {
  padding: 45px var(--pad) 85px;
  border-top: 1px solid var(--line);
}
.home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 20px;
}
.home-section-head h2 {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.home-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.portfolio-card {
  display: block;
  min-width: 0;
}
.portfolio-card-image {
  aspect-ratio: 1.5;
  overflow: hidden;
  background: #151c25;
}
.portfolio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.9s var(--ease),
    filter 0.9s;
}
.portfolio-card:hover img {
  transform: scale(1.045);
}
.portfolio-card-meta {
  padding-top: 17px;
}
.portfolio-card-meta h3 {
  font-size: clamp(20px, 1.8vw, 29px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.portfolio-card-meta p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
.portfolio-card:focus-visible img {
  transform: scale(1.025);
}
/* Work: the taxonomy is the primary navigation. */
.work-intro {
  padding: 65px var(--pad) 50px;
}
.work-intro h1 {
  font-size: clamp(42px, 6.5vw, 100px);
  line-height: 1.03;
  letter-spacing: -0.05em;
  font-weight: 400;
  margin-top: 22px;
}
.work-intro p:last-child {
  margin-top: 23px;
  color: var(--muted);
  font-size: 18px;
}
.work-layout {
  display: grid;
  grid-template-columns: 245px 1fr;
  gap: 7vw;
  padding: 20px var(--pad) 100px;
  align-items: start;
}
.category-nav {
  position: sticky;
  top: 35px;
  padding: 10px 0;
}
.category-nav button {
  padding: 14px 0;
  text-align: left;
  background: transparent;
  color: var(--muted);
  width: 100%;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.25s;
  border-bottom: 1px solid #1e2934;
}
.category-nav button[aria-pressed="true"] {
  color: var(--accent);
}
.category-nav button:first-child {
  padding-bottom: 24px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 16px;
}
.category-nav button:first-child[aria-pressed="true"] {
  color: var(--ink);
}
.category-nav button:first-child span {
  margin-left: auto;
  font-size: 11px;
  color: #758493;
}
.category-number {
  font-size: 11px;
  color: #677987;
  min-width: 17px;
}
.category-count {
  font-size: 11px;
  color: #677987;
  margin-left: auto;
}
.category-nav button:hover {
  color: var(--ink);
}
.work-category {
  padding-bottom: 75px;
  margin-bottom: 45px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 30px;
}
.work-category:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.category-heading {
  margin-bottom: 32px;
}
.category-heading h2 {
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-top: 12px;
}
.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px 28px;
}
.category-grid .portfolio-card-image {
  aspect-ratio: 1.35;
}
.category-grid .portfolio-card[href$="coral-grief.html"] img {
  object-position: center;
}
.category-grid .portfolio-card[href$="computer-accessories.html"] img {
  object-fit: contain;
  background: #dce8e4;
}
.category-grid .portfolio-card[href$="love.html"] img,
.category-grid .portfolio-card[href$="mask.html"] img {
  object-fit: contain;
  background: #111319;
}
/* About follows the supplied CV-style structure. */
.about-intro {
  padding: 70px var(--pad) 90px;
  display: grid;
  grid-template-columns: 1.12fr 2.1fr;
  gap: 4vw;
  align-items: start;
}
.about-intro h1 {
  font-size: clamp(44px, 5.5vw, 86px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.06;
  margin: 24px 0 35px;
}
.about-intro p:not(.eyebrow) {
  font-size: 18px;
  line-height: 1.75;
  color: #b5c1cb;
  max-width: 650px;
  margin-bottom: 22px;
}
.about-intro figure {
  margin-top: 400px;
}
.about-intro img {
  width: 100%;
  height: clamp(300px, 38vw, 520px);
  object-fit: cover;
  object-position: 70% center;
}
.about-intro figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}
.about-details {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--pad) 95px;
}
.about-details > section {
  margin-bottom: 60px;
}
.about-details h2 {
  margin-bottom: 24px;
}
.cv-row {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 45px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  color: #c5ced6;
}
.cv-row span:last-child,
.cv-row time {
  color: #879baa;
  white-space: nowrap;
}
.cv-row small {
  font-size: 14px;
  display: block;
  color: var(--muted);
  margin-top: 6px;
}
.tool-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tool-list li {
  border: 1px solid #35424e;
  border-radius: 25px;
  padding: 9px 15px;
  font-size: 14px;
  color: #a9bcc9;
}
.contact-links {
  display: flex;
  gap: 18px 25px;
  flex-wrap: wrap;
}
.contact-links a {
  font-size: 16px;
  border-bottom: 1px solid #4b5b67;
  padding-bottom: 8px;
  color: #c1ced7;
}
.contact-links a:hover {
  color: var(--accent);
}
/* Existing project pages retain their contents and interactions in the new palette. */
.project-hero {
  padding-top: 45px;
}
.project-title {
  font-size: clamp(52px, 8.3vw, 130px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.98;
  overflow-wrap: normal;
}
.project-meta {
  margin-bottom: 40px;
}
.project-meta a {
  color: var(--muted);
  letter-spacing: 0.05em;
}
.project-meta span {
  color: var(--accent);
}
.project-subtitle {
  margin-top: 28px;
  margin-bottom: 25px;
}
.project-subtitle p {
  font-size: clamp(18px, 1.7vw, 26px);
  color: #b5c5d0;
  max-width: 780px;
}
.project-cover {
  background: #161e28;
}
.project-cover img {
  height: auto;
  max-height: 75vh;
  object-fit: contain;
}
.project-cover.contain img {
  height: 70vh;
  background: #161e28;
}
.project-section {
  padding-top: 75px;
  padding-bottom: 75px;
}
.project-story h2 {
  font-size: clamp(34px, 4.3vw, 65px);
  font-weight: 400;
  line-height: 1.05;
}
.story-copy p {
  font-size: 18px;
  line-height: 1.7;
  color: #b5c5d0;
}
.details dt {
  color: #879baa;
}
.details dd {
  color: #c5cdd5;
}
.project-gallery {
  gap: 30px;
}
.project-gallery figure:nth-child(even) {
  margin-top: 50px;
}
.project-gallery figcaption {
  color: #8fa2b1;
  font-size: 13px;
  line-height: 1.5;
}
.project-gallery img {
  background: #161e28;
}
.project-return {
  padding: 25px var(--pad) 85px;
}
.cinema {
  background: #071017;
}
.cinema h2 {
  font-weight: 400;
}
.video-shell {
  background: #101923;
}
.video-play .play-circle {
  border-radius: 4px;
  width: auto;
  height: auto;
  padding: 16px 25px;
  background: #08121ecc;
  border-color: #96b2bf;
  color: white;
  font-size: 14px;
  backdrop-filter: blur(10px);
}
.video-shell:hover .play-circle {
  transform: translateY(-3px);
  background: #cee5e0;
  color: #0b1118;
}
.video-meta {
  color: var(--muted);
}
.tech-note {
  border-color: var(--line);
  color: #9baebd;
}
.demo-frame {
  border-color: #334957;
}
.terminal {
  border: 1px solid #35483e;
  background: #0b110f;
}
.terminal button:hover {
  background: #263624;
}
.terminal input {
  color: #d3eac6;
}
.code-block {
  background: #101a20;
}
.lightbox {
  background: #0b1118;
}
.lightbox::backdrop {
  background: #000d;
}
/* Actual AI system visuals and full narrated video. */
.actual-demo {
  padding: 65px var(--pad);
  background: #081019;
}
.recording-player video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  object-fit: contain;
}
.recording-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  font-size: 14px;
  color: #b4c5d4;
}
.recording-controls > span {
  margin-right: auto;
}
.recording-controls label {
  font-size: 13px;
  color: #889dab;
}
.recording-controls select,
.recording-controls button {
  padding: 10px 14px;
  background: #172430;
  color: #d1e2eb;
  border: 1px solid #435b6b;
  border-radius: 3px;
}
.recording-note {
  font-size: 13px;
  color: #8096a5;
  max-width: 700px;
}
.system-views {
  padding: 0;
  list-style: none;
  counter-reset: steps;
  margin-top: 35px;
}
.system-views li {
  counter-increment: steps;
  padding: 21px 0 21px 42px;
  border-top: 1px solid #2a3b49;
  position: relative;
}
.system-views li:before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 24px;
  font-size: 12px;
  color: var(--accent);
}
.system-views strong {
  display: block;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.025em;
}
.system-views span {
  display: block;
  color: #a9bcc9;
  font-size: 16px;
  margin-top: 8px;
}
.oversight-section {
  padding: 80px var(--pad);
  background: #132530;
}
.oversight-section h2 {
  font-size: clamp(40px, 6vw, 90px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-top: 25px;
}
.oversight-section > p:last-child {
  max-width: 710px;
  font-size: 18px;
  line-height: 1.75;
  margin-top: 30px;
  color: #bfd2dc;
}
.evaluation-section {
  padding: 85px var(--pad);
}
.evaluation-heading h2 {
  font-size: clamp(38px, 5.5vw, 80px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin-top: 22px;
}
.evaluation-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 50px;
  margin-bottom: 35px;
}
.evaluation-metrics article {
  border-top: 1px solid #456474;
  padding-top: 25px;
}
.evaluation-metrics strong {
  display: block;
  font-size: clamp(48px, 5.5vw, 90px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.1;
  color: #a9d8e2;
}
.evaluation-metrics span {
  display: block;
  font-size: 14px;
  color: #94abba;
  margin-top: 12px;
}
.evaluation-section > p {
  font-size: 18px;
  color: #a9bcc9;
  line-height: 1.7;
  max-width: 800px;
}
.document-links {
  display: flex;
  gap: 30px;
  margin-top: 35px;
}
.sample-data {
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
}
.monitor-demo {
  background: #101c27;
  border: 1px solid #354755;
  padding: 30px;
}
.monitor-demo h3 {
  font-size: 26px;
  font-weight: 400;
}
.monitor-demo > p {
  color: var(--muted);
  font-size: 14px;
  margin: 10px 0 25px;
}
.monitor-selector {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}
.monitor-selector button {
  padding: 10px 15px;
  background: transparent;
  border: 1px solid #4b6578;
  color: #c4d6e0;
}
.monitor-selector button[aria-pressed="true"] {
  background: #294152;
  color: #b8e4df;
}
.monitor-chart {
  height: 250px;
  display: flex;
  gap: 25px;
  align-items: end;
  padding: 0 10px 25px;
  border-bottom: 1px solid #47616f;
}
.monitor-pair {
  height: 100%;
  flex: 1;
  display: flex;
  align-items: end;
  gap: 5px;
  position: relative;
}
.monitor-pair span {
  width: 50%;
  background: #94d7c6;
  transition: height 0.5s;
}
.monitor-pair span:last-of-type {
  background: #736faf;
}
.monitor-pair small {
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  white-space: nowrap;
}
.monitor-legend {
  display: flex;
  gap: 25px;
  font-size: 13px;
  margin-top: 20px;
  color: #a7c7d5;
}
.monitor-legend span:first-child {
  color: #94d7c6;
}
.monitor-legend span:last-child {
  color: #b8b3ec;
}
@media (min-width: 1700px) {
  .landing {
    min-height: 850px;
  }
  .landing-logo {
    max-width: 550px;
  }
}
@media (max-width: 1050px) {
  .landing {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    padding-top: 45px;
    padding-bottom: 55px;
    min-height: 700px;
  }
  .landing-logo {
    margin: 30px 0;
  }
  .landing h1 {
    font-size: 35px;
  }
  .landing-bio {
    font-size: 16px;
  }
  .landing-location {
    margin-top: 40px;
  }
  .art-stage {
    height: 540px;
  }
  .landing-art figcaption {
    flex-direction: column;
    gap: 12px;
  }
  .art-controls {
    justify-content: space-between;
  }
  .work-layout {
    grid-template-columns: 210px 1fr;
    gap: 35px;
  }
  .category-grid {
    gap: 35px 20px;
  }
  .category-heading h2 {
    font-size: 33px;
  }
  .category-grid .portfolio-card-meta h3 {
    font-size: 22px;
  }
}
@media (max-width: 760px) {
  .brand img {
    width: 120px;
  }
  .site-nav {
    gap: 25px;
  }
  .landing {
    grid-template-columns: 1fr;
    padding-top: 40px;
    gap: 40px;
    min-height: 0;
  }
  .landing-copy {
    max-width: 650px;
  }
  .landing-logo {
    max-width: 380px;
    width: 85%;
    margin: 32px 0;
  }
  .landing h1 {
    font-size: 36px;
  }
  .landing-bio {
    max-width: 500px;
  }
  .landing-location {
    margin-top: 35px;
  }
  .art-stage {
    height: 460px;
  }
  .landing-art figcaption {
    flex-direction: row;
    align-items: center;
  }
  .art-controls {
    gap: 15px;
  }
  .home-cards {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .home-selected {
    padding-top: 35px;
    padding-bottom: 65px;
  }
  .portfolio-card-image {
    aspect-ratio: 1.65;
  }
  .home-section-head h2 {
    font-size: 22px;
  }
  .work-intro {
    padding-top: 45px;
    padding-bottom: 35px;
  }
  .work-intro h1 {
    font-size: 46px;
  }
  .work-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 0;
  }
  .category-nav {
    position: relative;
    top: 0;
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 5px 0 18px;
    scrollbar-width: thin;
    scrollbar-color: #445967 transparent;
  }
  .category-nav button {
    flex-shrink: 0;
    width: auto;
    white-space: nowrap;
    border: 1px solid #2d404e;
    padding: 11px 15px;
    font-size: 14px;
    border-radius: 3px;
  }
  .category-nav button:first-child {
    padding: 11px 15px;
    margin: 0;
    font-size: 14px;
  }
  .category-nav button[aria-pressed="true"] {
    background: #17303a;
    border-color: #698c94;
  }
  .category-number,
  .category-count,
  .category-nav button:first-child span {
    display: none;
  }
  .work-category {
    padding-bottom: 50px;
    margin-bottom: 35px;
  }
  .category-heading h2 {
    font-size: 32px;
  }
  .category-grid {
    gap: 35px 20px;
  }
  .portfolio-card-meta h3 {
    font-size: 22px;
  }
  .about-intro {
    grid-template-columns: 1fr;
    padding-top: 45px;
    padding-bottom: 60px;
    gap: 20px;
  }
  .about-intro h1 {
    font-size: 48px;
  }
  .about-intro figure {
    margin-top: 0;
  }
  .about-intro img {
    height: 440px;
    object-position: 70% center;
  }
  .about-details {
    padding-bottom: 65px;
  }
  .cv-row {
    font-size: 16px;
    gap: 25px;
  }
  .cv-row span:last-child,
  .cv-row time {
    font-size: 14px;
  }
  .about-details > section {
    margin-bottom: 45px;
  }
  .project-title {
    font-size: clamp(45px, 9vw, 74px);
  }
  .project-story h2 {
    font-size: 40px;
  }
  .project-section {
    padding-top: 55px;
    padding-bottom: 55px;
  }
  .project-cover.contain img {
    height: 55vh;
  }
  .project-gallery figure:nth-child(even) {
    margin-top: 0;
  }
  .quiet-footer {
    gap: 15px;
    font-size: 12px;
    padding-top: 25px;
    padding-bottom: 25px;
  }
  .recording-controls {
    flex-wrap: wrap;
    gap: 12px;
  }
  .recording-controls > span {
    width: 100%;
    margin: 0;
  }
  .recording-controls select {
    max-width: 190px;
  }
  .recording-controls label {
    display: none;
  }
  .actual-demo {
    padding: 45px var(--pad);
  }
  .evaluation-metrics {
    gap: 22px;
  }
  .evaluation-metrics strong {
    font-size: 42px;
  }
  .evaluation-metrics span {
    font-size: 13px;
  }
  .oversight-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .oversight-section h2 {
    font-size: 52px;
  }
  .evaluation-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .document-links {
    flex-direction: column;
    align-items: start;
    gap: 22px;
  }
}
@media (max-width: 480px) {
  .brand img {
    width: 105px;
  }
  .site-header {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .site-nav {
    gap: 19px;
  }
  .site-nav a {
    font-size: 14px;
  }
  .landing h1 {
    font-size: 31px;
  }
  .landing-logo {
    width: 100%;
    max-width: 330px;
  }
  .landing-links {
    gap: 25px;
  }
  .art-stage {
    height: 370px;
  }
  .landing-art figcaption {
    flex-direction: column;
    align-items: stretch;
  }
  .home-section-head {
    align-items: start;
  }
  .home-section-head .subtle-link {
    font-size: 13px;
  }
  .work-intro h1 {
    font-size: 40px;
  }
  .category-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .category-grid .portfolio-card-image {
    aspect-ratio: 1.4;
  }
  .portfolio-card-meta h3 {
    font-size: 24px;
  }
  .about-intro h1 {
    font-size: 40px;
  }
  .about-intro img {
    height: 350px;
  }
  .about-intro p:not(.eyebrow) {
    font-size: 17px;
  }
  .cv-row {
    display: block;
  }
  .cv-row time,
  .cv-row > span:last-child {
    display: block;
    margin-top: 8px;
  }
  .cv-row > span:first-child {
    color: #c5ced6;
    margin-top: 0;
    font-size: 16px;
  }
  .tool-list {
    gap: 8px;
  }
  .tool-list li {
    font-size: 13px;
    padding: 8px 12px;
  }
  .quiet-footer {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .quiet-footer span {
    flex-basis: 100%;
    margin-bottom: 3px;
  }
  .project-meta {
    gap: 20px;
    font-size: 12px;
  }
  .project-title {
    font-size: 46px;
  }
  .project-subtitle p {
    font-size: 18px;
  }
  .project-cover img {
    height: auto;
  }
  .evaluation-metrics {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .evaluation-metrics strong {
    font-size: 65px;
  }
  .evaluation-metrics span {
    font-size: 14px;
  }
  .project-return {
    padding-bottom: 60px;
  }
  .monitor-demo {
    padding: 22px;
  }
  .monitor-chart {
    gap: 12px;
  }
  .monitor-pair small {
    font-size: 11px;
  }
  .recording-controls button,
  .recording-controls select {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal.motion-ready {
    opacity: 1;
    transform: none;
  }
  .page-wipe {
    display: none;
  }
  .portfolio-card img {
    transform: none !important;
  }
  .monitor-pair span {
    transition: none;
  }
}
/* Colours drawn from the coral, body-painted images and purple design work. */
:root {
  --accent: #dbb5df;
}
.landing-copy .eyebrow {
  color: #efb28e;
}
.landing h1 {
  color: #f4e7de;
}
.landing-links .text-link {
  border-color: #efa78b;
}
.landing-location {
  color: #bd9fc2;
}
.home-selected {
  background: #e9dfdb;
  color: #272033;
  border-top: 0;
}
.home-selected .subtle-link,
.home-selected .portfolio-card-meta p {
  color: #6a5b71;
}
.home-selected .portfolio-card-image {
  background: #322a3e;
}
.site-nav a[aria-current="page"] {
  color: #eeb395;
}
.work-category {
  border-top: 2px solid #b9a1d4;
  padding-top: 30px;
}
.work-category:nth-child(1) {
  border-top-color: #c4abed;
}
.work-category:nth-child(2) {
  border-top-color: #87d7ad;
}
.work-category:nth-child(3) {
  border-top-color: #f0b384;
}
.work-category:nth-child(4) {
  border-top-color: #b7dbe9;
}
.work-category:nth-child(5) {
  border-top-color: #d999b8;
}
.work-category:nth-child(6) {
  border-top-color: #eab0a0;
}
.work-category:nth-child(7) {
  border-top-color: #a69ae5;
}
.work-category:nth-child(8) {
  border-top-color: #e4c576;
}
.work-category:nth-child(1) h2 {
  color: #d0b8ed;
}
.work-category:nth-child(2) h2 {
  color: #a3d4b2;
}
.work-category:nth-child(3) h2 {
  color: #edbf9e;
}
.work-category:nth-child(4) h2 {
  color: #bfdce5;
}
.work-category:nth-child(5) h2 {
  color: #d8a0ba;
}
.work-category:nth-child(6) h2 {
  color: #e7b6a9;
}
.work-category:nth-child(7) h2 {
  color: #b7aae7;
}
.work-category:nth-child(8) h2 {
  color: #e0ca8e;
}
.category-nav button[aria-pressed="true"] {
  color: #e8b0a0;
}
.tool-list li:nth-child(3n + 1) {
  color: #ddbae3;
  border-color: #56415f;
}
.tool-list li:nth-child(3n + 2) {
  color: #e3bea1;
  border-color: #5b493c;
}
.tool-list li:nth-child(3n) {
  color: #a6cfc8;
  border-color: #35534f;
}
.presentation-section {
  padding: 65px var(--pad);
  background: #261f32;
  border-top: 1px solid #61506f;
}
.presentation-section:nth-of-type(even) {
  background: #302327;
  border-top-color: #79545d;
}
.presentation-section .section-head h2 {
  font-size: clamp(25px, 3vw, 44px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.presentation-section .section-head {
  border-color: #64536b;
  align-items: end;
}
.presentation-section .section-head span {
  max-width: 240px;
  text-align: right;
}
.slide-deck {
  background: #12131c;
  padding: 16px;
  border: 1px solid #745d82;
  border-radius: 4px;
}
.slide-deck .image-open img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: #f4f4f4;
  transform: none;
}
.slide-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0 4px;
  font-size: 14px;
  color: #c8b4d3;
}
.slide-controls button,
.slide-controls select {
  border: 1px solid #695a79;
  background: #302538;
  color: #ebd8ed;
  padding: 9px 15px;
  border-radius: 3px;
}
.slide-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}
.slide-controls label {
  margin-left: auto;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
}
.slide-transcript {
  font-size: 14px;
  color: #c2aecb;
  margin-top: 16px;
}
.slide-transcript summary {
  cursor: pointer;
  padding: 8px 0;
}
.slide-transcript [data-slide-text] {
  white-space: pre-wrap;
  line-height: 1.7;
  padding: 20px;
  background: #211a2c;
  color: #dfd2e4;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 35px 0 55px;
}
.process-steps article {
  border-top: 2px solid #c9a4d7;
  padding-top: 20px;
}
.process-steps article:nth-child(2) {
  border-color: #e9ab8c;
}
.process-steps article:nth-child(3) {
  border-color: #afd1db;
}
.process-steps span {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #bca6c9;
}
.process-steps h3 {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 15px 0;
}
.process-steps p {
  color: #b8bdca;
  line-height: 1.7;
  font-size: 16px;
}
.software-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.software-modules article {
  padding: 28px;
  background: #282231;
  border: 1px solid #534364;
}
.software-modules article:nth-child(even) {
  background: #302622;
  border-color: #624e42;
}
.software-modules span {
  font-size: 12px;
  color: #deb4da;
}
.software-modules h3 {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 16px 0;
}
.software-modules p {
  font-size: 16px;
  line-height: 1.7;
  color: #c5bbc9;
}
.oversight-section {
  background: #362b3c;
}
.oversight-section .eyebrow {
  color: #e2b7c5;
}
.oversight-section > p:last-child {
  color: #d6c1d4;
}
.evaluation-metrics strong {
  color: #d0b1e6;
}
.evaluation-metrics article {
  border-top-color: #81688f;
}
.monitor-demo {
  background: #211d2e;
  border-color: #5d4b6e;
}
.monitor-selector button[aria-pressed="true"] {
  background: #49344c;
  color: #efd6da;
}
.monitor-chart {
  border-color: #725582;
}
.project-meta span {
  color: #d5a9d8;
}
.quiet-footer a:hover {
  color: #efb998;
}
@media (max-width: 760px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .software-modules {
    grid-template-columns: 1fr;
  }
  .presentation-section {
    padding: 45px var(--pad);
  }
  .presentation-section .section-head {
    flex-direction: column;
    align-items: start;
    gap: 14px;
  }
  .presentation-section .section-head span {
    text-align: left;
    max-width: none;
  }
  .slide-deck {
    padding: 10px;
  }
  .slide-controls {
    gap: 12px;
    flex-wrap: wrap;
  }
  .slide-controls label {
    margin-left: 0;
    order: 4;
    width: 100%;
    justify-content: space-between;
    margin-top: 5px;
  }
  .slide-controls button {
    font-size: 13px;
    padding: 8px 13px;
  }
  .category-nav button[aria-pressed="true"] {
    background: #3d293e;
    border-color: #956383;
  }
  .software-modules article {
    padding: 23px;
  }
}
/* Full-width About heading */
.about-intro > .about-heading {
  grid-column: 1 / -1;
}

.about-intro {
  row-gap: 30px;
}

.about-intro > figure {
  margin-top: 0;
}