:root {
  color-scheme:light;
  --ink:#242528;
  --muted:#74767c;
  --line:#dedfe2;
  --paper:#f6f6f7;
  --accent:#5b6eaa
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:85px
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
a {
  color:inherit;
  text-decoration:none
}
button {
  font:inherit;
  cursor:pointer
}
a:focus-visible,button:focus-visible {
  outline:3px solid #416ac9;
  outline-offset:5px
}
a:hover {
  color:var(--accent)
}
.wrap,.nav-inner {
  width:min(1200px,calc(100% - 80px));
  margin:auto
}
.header {
  position:absolute;
  inset:0 0 auto;
  z-index:10;
  color:#fff;
  background:rgba(12,15,18,.28);
  -webkit-backdrop-filter:blur(36px) saturate(140%);
  backdrop-filter:blur(36px) saturate(140%);
  border-bottom:1px solid #ffffff30
}
.nav-inner {
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between
}
.logo {
  font-size:19px;
  font-weight:750;
  letter-spacing:-1px
}
.logo span {
  color:#a4a5ab
}
nav {
  display:flex;
  gap:8px
}
nav a {
  padding:8px 22px;
  border-radius:7px;
  color:var(--muted);
  font-size:14px
}
nav a[aria-current] {
  background:#e7e8eb;
  color:var(--ink)
}
.work-link {
  font-size:13px
}
.work-link span {
  margin-left:15px
}
.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  padding:50px 0 30px
}
.eyebrow {
  margin:0 0 8px;
  font-size:11px;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted)
}
h1,h2,h3,p {
  margin-top:0
}
h1 {
  font-size:clamp(36px,5vw,60px);
  line-height:1.1;
  letter-spacing:-.055em;
  margin-bottom:0;
  font-weight:600
}
h1 span {
  color:#9b9da6
}
.page-heading>p {
  color:var(--muted);
  font-size:13px;
  margin-bottom:5px
}
.featured {
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  background:#fff
}
.hero-image {
  height:clamp(250px,34vh,430px);
  position:relative;
  background:#e3e5eb
}
.hero-image img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block
}
.placeholder {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  background:radial-gradient(ellipse at 65% 30%,#f2f3f7,transparent 65%),#e0e3eb;
  overflow:hidden
}
.developer .placeholder {
  background:radial-gradient(ellipse at 65% 30%,#edf2ee,transparent 65%),#dce4df
}
.placeholder-mark {
  font-size:150px;
  line-height:1;
  font-weight:650;
  letter-spacing:-.08em;
  color:#b9c0d0;
  user-select:none
}
.developer .placeholder-mark {
  color:#b0bfb6
}
.hero-image .placeholder-mark {
  font-size:220px
}
.preview-note {
  position:absolute;
  bottom:18px;
  left:24px;
  font-size:11px;
  color:#687183;
  letter-spacing:.04em
}
.hero-caption {
  padding:24px 30px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px
}
.hero-caption h2 {
  font-size:27px;
  letter-spacing:-.035em;
  line-height:1.2;
  margin:0;
  font-weight:550
}
.hero-caption h2 span {
  color:#9c9fa8;
  font-size:20px
}
.details-link {
  font-size:12px;
  white-space:nowrap
}
.details-link span {
  margin-left:20px
}
.carousel-controls {
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:16px;
  padding:0 24px 18px;
  font-size:11px;
  color:var(--muted)
}
[hidden] {
  display:none!important
}
.carousel-controls button {
  border:1px solid var(--line);
  border-radius:50%;
  background:transparent;
  width:32px;
  height:32px;
  color:var(--ink)
}
.carousel-controls button:hover {
  background:#eceef2
}
.projects {
  padding-top:55px
}
.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-bottom:18px;
  border-bottom:1px solid var(--line)
}
.section-heading h2 {
  font-size:18px;
  letter-spacing:-.03em;
  margin:0;
  font-weight:550
}
.section-heading h2 span {
  font-size:11px;
  margin-left:10px;
  color:var(--muted)
}
.section-heading>span {
  font-size:12px;
  color:var(--muted)
}
.project {
  display:grid;
  grid-template-columns:30% 1fr 155px;
  gap:32px;
  padding:30px 0;
  border-bottom:1px solid var(--line);
  scroll-margin-top:100px
}
.project-media {
  align-self:start;
  border-radius:10px;
  overflow:hidden;
  background:#edeef1
}
.card-slide {
  aspect-ratio:16/10
}
.card-slide img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block
}
.card-slide .placeholder-mark {
  font-size:90px
}
.card-slide .preview-note {
  bottom:12px;
  left:16px;
  font-size:10px
}
.project-media .carousel-controls {
  padding:10px 12px;
  justify-content:center
}
.project-copy {
  padding:8px 0
}
.project h3 {
  font-size:23px;
  font-weight:550;
  letter-spacing:-.035em;
  line-height:1.25;
  margin-bottom:12px
}
.project-copy>p:not(.eyebrow) {
  color:var(--muted);
  font-size:14px;
  max-width:520px;
  margin-bottom:12px
}
.tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px
}
.tags span {
  font-size:10px;
  border:1px solid var(--line);
  border-radius:5px;
  padding:2px 7px;
  color:var(--muted)
}
.project-info {
  padding-top:8px;
  display:flex;
  flex-direction:column;
  align-items:start;
  justify-content:space-between;
  gap:20px;
  font-size:12px
}
.project-info p {
  margin:6px 0;
  color:var(--muted)
}
.project-link {
  border-bottom:1px solid #aeb0b7;
  padding-bottom:4px
}
.project-link span {
  margin-left:12px
}
footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:35px!important;
  padding-bottom:35px!important;
  color:var(--muted);
  font-size:12px
}
.empty {
  padding:50px 24px;
  color:var(--muted)
}
.skip {
  position:fixed;
  top:-100px;
  left:20px;
  z-index:20;
  background:white;
  padding:10px
}
.skip:focus {
  top:10px
}
.slides>[data-slide]+[data-slide] {
  border-top:1px solid var(--line)
}
.carousel.is-ready .slides>[data-slide] {
  border:0
}
@media(min-width:1500px) {
  .wrap,.nav-inner {
    width:min(1360px,calc(100% - 120px))
  }
}
@media(max-width:760px) {
  .wrap,.nav-inner {
    width:calc(100% - 36px)
  }
  .nav-inner {
    height:64px
  }
  .logo {
    font-size:17px
  }
  nav a {
    font-size:12px;
    padding:7px 12px
  }
  .work-link {
    display:none
  }
  .page-heading {
    padding:34px 0 24px;
    display:block
  }
  .page-heading>p {
    margin:14px 0 0
  }
  .hero-caption {
    padding:20px;
    align-items:start
  }
  .hero-caption h2 {
    font-size:23px
  }
  .details-link {
    font-size:11px
  }
  .details-link span {
    margin-left:5px
  }
  .project {
    grid-template-columns:36% 1fr;
    gap:18px;
    padding:24px 0
  }
  .project h3 {
    font-size:20px
  }
  .project-info {
    grid-column:2;
    padding:0;
    gap:12px
  }
  .project-copy {
    padding:0
  }
  .project-copy>p:not(.eyebrow) {
    font-size:13px
  }
  .preview-note {
    font-size:9px
  }
  .card-slide {
    aspect-ratio:1
  }
  .card-slide .preview-note {
    left:10px;
    font-size:9px
  }
  .card-slide .placeholder-mark {
    font-size:65px
  }
  .projects {
    padding-top:35px
  }
}
@media(max-width:460px) {
  .project {
    grid-template-columns:1fr
  }
  .card-slide {
    aspect-ratio:16/9
  }
  .project-info {
    grid-column:1;
    flex-direction:row;
    align-items:center
  }
  .hero-caption {
    display:block
  }
  .details-link {
    display:inline-block;
    margin-top:16px
  }
  .section-heading>span {
    display:none
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
}

/* Full-width spotlight and foreground project content. */
:root {
  --surface:#fff;
  --nav:#f6f6f7f2;
  --selected:#e7e8eb;
  --vignette:rgba(33,37,48,.12)
}
:root[data-theme="dark"] {
  color-scheme:dark;
  --ink:#f1f2f5;
  --muted:#b0b3bd;
  --line:#383b45;
  --paper:#17191e;
  --surface:#20232a;
  --nav:#17191ef2;
  --selected:#343844;
  --accent:#a8baff;
  --vignette:rgba(0,0,0,.65)
}
@media(prefers-color-scheme:dark) {
  :root:not([data-theme="light"]) {
    color-scheme:dark;
    --ink:#f1f2f5;
    --muted:#b0b3bd;
    --line:#383b45;
    --paper:#17191e;
    --surface:#20232a;
    --nav:#17191ef2;
    --selected:#343844;
    --accent:#a8baff;
    --vignette:rgba(0,0,0,.65)
  }
}
body::before {
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(90deg,var(--vignette),transparent 24%,transparent 76%,var(--vignette))
}
.header nav a { color:#e6e8ee }
.header nav a[aria-current] { color:#fff; background:#ffffff20 }
.header .logo span { color:#d2d5dd }
.header a:hover { color:#fff; text-decoration:underline }
.header .theme-toggle { color:#fff; background:transparent; border-color:#ffffff70 }
.header :focus-visible { outline-color:#fff }
.hero-slide::after {
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:100px;
  pointer-events:none;
  background:linear-gradient(rgba(0,0,0,.8),transparent)
}
nav a[aria-current] { background:var(--selected) }
.theme-toggle {
  color:var(--ink);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:20px;
  padding:6px 13px;
  font-size:12px
}
.featured {
  position:relative;
  z-index:1;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  background:var(--surface)
}
.hero-slide { position:relative }
.hero-image { height:auto; overflow:hidden }
.hero-image img {
  width:100%;
  height:auto;
  display:block;
  filter:blur(var(--hero-blur,0px));
  opacity:1
}
.hero-image.placeholder { height:auto; aspect-ratio:16/9 }
.featured.scroll-hero { position:sticky; top:var(--hero-top,0px) }
.hero-caption {
  position:absolute;
  inset:auto 0 0;
  padding:22px max(24px,calc((100% - 1200px)/2));
  justify-content:center;
  color:#fff;
  background:linear-gradient(transparent,rgba(0,0,0,.88))
}
.hero-caption .eyebrow { color:#e0e2e9 }
.hero-caption a:hover { color:#fff; text-decoration:underline }
.content-layer,footer { position:relative; z-index:2 }
.content-layer {
  background:transparent;
  border-top:1px solid var(--line);
  min-height:100svh
}
.scroll-cue {
  display:inline-flex;
  align-items:center;
  gap:16px;
  padding:8px 16px;
  border:1px solid #ffffff60;
  border-radius:24px;
  background:#080b0860;
  font-size:12px
}
.scroll-cue span { font-size:20px; line-height:1 }
@media(prefers-reduced-motion:reduce) {
  .featured.scroll-hero { position:relative }
  .hero-image img { filter:none; opacity:1 }
}
.projects { padding-top:12px }
.project-media { background:var(--surface) }
.card-slide { aspect-ratio:16/9 }
.carousel-controls button:hover { background:var(--selected) }
.skip { color:var(--ink); background:var(--surface) }
@media(max-width:760px) {
  .nav-inner { gap:8px }
  nav { gap:0 }
  nav a { padding:7px 8px }
  .theme-toggle { padding:5px 8px; font-size:11px; white-space:nowrap }
  .hero-caption { padding:20px }
  .projects { padding-top:8px }
}
@media(max-width:380px) {
  .logo { font-size:14px }
  nav a { font-size:11px; padding:7px 5px }
}
.logo { white-space:nowrap; flex-shrink:0 }

@media(max-width:460px) {
  .hero-caption { padding:10px; display:flex }
  .scroll-cue { font-size:11px; padding:5px 12px }
}

/* Artwork remains visible behind the transparent project list. */
.artwork-backdrop {
  position:fixed;
  inset:0;
  z-index:0;
  overflow:hidden;
  pointer-events:none;
  background:#080b08
}
.artwork-backdrop img {
  width:100%;
  height:100%;
  object-fit:cover;
  filter:blur(20px) brightness(.38);
  transform:scale(1.06)
}
body.has-artwork .content-layer,body.has-artwork footer {
  --ink:#f4f5f7;
  --muted:#d1d4dc;
  --line:#ffffff40;
  --accent:#c3d1ff;
  color:var(--ink)
}
body.has-artwork .featured { opacity:var(--hero-visibility,1) }
body.has-artwork .content-layer .project-copy,body.has-artwork .content-layer .page-heading {
  text-shadow:0 1px 4px #0008
}
body.has-artwork .hero-image img { filter:blur(var(--hero-blur,0px)) brightness(var(--hero-brightness,1)) }
body.has-artwork .hero-caption { opacity:var(--cue-opacity,1) }
@media(prefers-reduced-motion:reduce) {
  body.has-artwork .hero-image img { filter:none }
}

/* Support stays readable in both themes, with or without scripts. */
.support-page .header {
  position:relative;
  color:var(--ink);
  background:var(--nav);
  border-color:var(--line)
}
.support-page .header nav a { color:var(--muted) }
.support-page .header a:hover { color:var(--ink) }
.support-page .header .theme-toggle {
  color:var(--ink);
  border-color:var(--line);
  background:var(--surface)
}
.support-page .header :focus-visible { outline-color:var(--accent) }
.support-main { position:relative; z-index:1; padding-top:64px; padding-bottom:40px }
.support-intro { max-width:680px; margin-bottom:42px }
.support-intro h1 { margin-bottom:22px }
.support-main p,.support-main li { color:var(--muted) }
.support-main h2 { font-size:24px; line-height:1.3; letter-spacing:-.03em }
.support-section { padding:28px 0; border-top:1px solid var(--line); max-width:800px }
.support-section ol { padding-left:22px }
.support-section li { margin-bottom:12px }
.support-section a { text-decoration:underline; text-underline-offset:4px; overflow-wrap:anywhere }
.support-contact { display:inline-block; font-size:19px; margin:6px 0 14px }
.support-links { display:flex; flex-wrap:wrap; gap:24px }
@media(max-width:760px) {
  .support-main { padding-top:36px }
  .support-page footer { flex-wrap:wrap; gap:16px }
}
