:root {
  --paper: light-dark(#f8f9fc, #080b12);
  --ink: light-dark(#172033, #edf2fb);
  --muted: light-dark(#58677a, #9aa8bb);
  --line: light-dark(#d4dce8, #293344);
  --accent: light-dark(#123cff, #a5b5ff);
  --blue: #123cff;
  --surface: light-dark(#edf1f8, #0d1420);
  --secondary: light-dark(#4d5b70, #c5d1e0);
  --detail: light-dark(#536176, #b5c1d3);
  --control-line: light-dark(#8996aa, #465267);
  --hover-surface: light-dark(#e8edf6, #121a27);
  --logo-filter: invert(1);
  --gutter: clamp(22px, 5vw, 80px);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  color-scheme: light dark;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) { --logo-filter: none; }
}
:root[data-theme="light"] { --logo-filter: none; }
.theme-toggle {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--control-line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.theme-toggle:not([hidden]) {
  display: inline-grid;
  place-items: center;
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
button,
a,
summary {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: var(--blue);
  color: white;
}
.wrap {
  width: min(1520px, 100%);
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  font-family: "SFMono-Regular", Consolas, monospace;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.065em;
  line-height: 1.6;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 20px;
  z-index: 30;
  padding: 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.identity {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1.3px;
}
.site-header nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 12px;
}
.site-header nav a {
  position: relative;
  padding: 14px 0;
}
.site-header nav a:after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.site-header nav a:hover:after {
  transform: scaleX(1);
}
.contact-link {
  padding: 12px 17px;
  border: 1px solid var(--line);
  border-radius: 24px;
  font-size: 12px;
  transition:
    background 0.2s,
    color 0.2s;
}
.contact-link span {
  margin-left: 20px;
}
.contact-link:hover {
  background: var(--ink);
  color: var(--paper);
}
.brand-family {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brand-family > span {
  font-size: 9px;
  letter-spacing: 0.025em;
  color: var(--muted);
}
.contact-link,
.primary-link {
  background: #244dff;
  color: white;
  border: 1px solid #6887ff;
  font-weight: 600;
}
.contact-link:hover,
.primary-link:hover {
  background: #123cff;
  color: white;
}
.intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(35px, 6vw, 90px);
  align-items: center;
  padding-block: 80px;
}
.intro h1 {
  font-size: clamp(48px, 5.5vw, 84px);
  line-height: 1.01;
  letter-spacing: -0.055em;
  font-weight: 700;
  margin: 25px 0;
}
.intro h1 > span {
  color: var(--accent);
}
.intro-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--secondary);
  max-width: 48ch;
  margin-top: 24px;
}
.intro-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 30px;
}
.primary-link {
  display: inline-flex;
  gap: 25px;
  align-items: center;
  border-radius: 30px;
  font-size: 12px;
  min-height: 48px;
  padding: 13px 20px;
  transition: background 0.2s;
}
.channel-feature {
  display: block;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
}
.channel-feature:hover {
  transform: translateY(-6px);
}
.channel-image {
  position: relative;
  overflow: hidden;
}
.channel-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.6s, opacity 0.4s;
}
.channel-image .channel-hover {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
}
.channel-feature:hover .channel-hover,
.channel-feature:focus-visible .channel-hover {
  opacity: 1;
}
.channel-feature:hover img {
  transform: scale(1.045);
}
.channel-play {
  display: grid;
  place-items: center;
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #244dff;
  color: white;
  font-size: 16px;
  box-shadow: 0 0 0 7px #244dff33;
  transition: transform 0.3s;
}
.channel-feature:hover .channel-play {
  transform: scale(1.12);
}
.channel-caption {
  padding: 22px;
}
.channel-caption .eyebrow {
  font-size: 9px;
}
.channel-caption h2 {
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.035em;
  line-height: 1.3;
  margin-top: 9px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.channel-caption > p:last-child {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 9px;
}
.text-link {
  display: inline-flex;
  gap: 25px;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  border-bottom: 1px solid var(--ink);
  padding: 6px 0;
}
.text-link > span {
  transition: transform 0.25s;
}
.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.text-link:hover > span {
  transform: translateY(5px);
}
.work-section {
  background: var(--paper);
  color: var(--ink);
}
.work-stage {
  padding-block: 30px;
  overflow: clip;
  background: var(--paper);
}
.work-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.work-heading .eyebrow {
  color: var(--muted);
  font-size: 10px;
}
.work-heading h2 {
  font-size: 26px;
  letter-spacing: -0.04em;
  font-weight: 400;
  margin-top: 6px;
}
.project-reel {
  display: flex;
  gap: 34px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 12px var(--gutter) 20px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.project-reel::-webkit-scrollbar {
  display: none;
}
.project-card {
  flex: 0 0 min(720px, 65vw);
  min-width: 0;
  scroll-snap-align: start;
  perspective: 1000px;
}
.project-card > a {
  display: block;
}
.project-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 6px;
  background: var(--surface);
  transform: perspective(1100px) rotateY(var(--angle, 0deg))
    scale(var(--scale, 1));
  transform-origin: center;
  transition: box-shadow 0.3s;
  will-change: transform;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.015);
  transition:
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.4s;
}
.card-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--ink);
  color: var(--paper);
  padding: 13px 17px;
  border-radius: 30px;
  font-size: 19px;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.3s;
}
.card-arrow > span {
  font-size: 12px;
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  transition:
    max-width 0.3s,
    opacity 0.3s;
}
.project-card a:hover .card-arrow,
.project-card a:focus-visible .card-arrow {
  background: #244dff;
  color: #fff;
  transform: translateY(-5px);
}
.project-card a:hover .card-arrow > span,
.project-card a:focus-visible .card-arrow > span {
  max-width: 100px;
  opacity: 1;
}
.project-card a:hover img,
.project-card a:focus-visible img {
  transform: scale(1.085);
  filter: brightness(1.12);
}
.project-card a:hover .project-image {
  box-shadow: 0 15px 35px #0008;
}
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
  margin: 20px 0 9px;
}
.project-card h3 {
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.project-card > p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--detail);
  max-width: 65ch;
  margin-top: 10px;
}
.reel-controls {
  display: flex;
  align-items: center;
  gap: 9px;
}
.reel-controls[hidden] {
  display: none;
}
.reel-position {
  font: 11px monospace;
  color: var(--secondary);
  min-width: 60px;
  margin-right: 12px;
}
.reel-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--control-line);
  border-radius: 50%;
  background: transparent;
  font-size: 21px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.reel-controls button:hover:enabled {
  background: #244dff;
  color: white;
  transform: scale(1.08);
}
.reel-controls button:disabled {
  opacity: 0.25;
  cursor: default;
}
.reel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 18px;
  font-size: 10px;
  color: var(--muted);
}
.reel-progress {
  height: 2px;
  background: var(--line);
  flex: 1;
  max-width: 400px;
}
.reel-progress > span {
  display: block;
  width: 100%;
  height: 100%;
  background: #244dff;
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}
.work-section > .archive {
  padding-bottom: 30px;
}
.work-section .archive-list time {
  color: var(--detail);
}
.work-section .archive summary,
.work-section .archive-list > a {
  border-color: var(--line);
}
/* Desktop scroll translates the native carousel. No wheel interception. */
.work-scroll.is-pinned {
  height: var(--scroll-height);
}
.is-pinned .work-stage {
  position: sticky;
  top: 80px;
  height: calc(100svh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.is-pinned .project-reel {
  scroll-snap-type: none;
  flex-shrink: 0;
}
.is-pinned .project-card {
  flex-basis: min(720px, 65vw, calc((100svh - 365px) * 1.6));
}
.is-pinned .project-image {
  aspect-ratio: 16/10;
}
.is-pinned .project-card > p {
  max-width: 62ch;
}
.is-pinned .work-heading {
  margin-bottom: 16px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 35px;
}
.section-heading h2,
.about-copy h2 {
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.1;
  margin-top: 16px;
}
.section-heading > p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.writing-section,
.video-section {
  padding-top: 95px;
}
.writing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 35px;
}
.writing-card {
  transition: transform 0.3s;
}
.writing-card:hover {
  transform: translateY(-9px);
}
.writing-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 5px;
  transition: filter 0.3s;
}
.writing-card:hover img {
  filter: brightness(1.13);
}
.writing-card .eyebrow {
  color: var(--muted);
  font-size: 10px;
  margin: 18px 0 10px;
}
.writing-card h3 {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.025em;
}
.read-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 12px;
  transition: transform 0.3s;
}
.writing-card:hover .read-link {
  transform: translateX(8px);
  color: var(--accent);
}
.archive {
  font-size: 12px;
}
.archive summary {
  cursor: pointer;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.archive summary::-webkit-details-marker {
  display: none;
}
.archive summary > span {
  font-size: 23px;
  line-height: 14px;
  transition: transform 0.2s;
}
.archive[open] summary > span {
  transform: rotate(45deg);
}
.archive-list > a {
  display: grid;
  grid-template-columns: 90px 1fr 20px;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  align-items: center;
  line-height: 1.5;
  transition:
    padding 0.2s,
    color 0.2s;
}
.archive-list > a:hover {
  padding-inline: 12px;
  color: var(--accent);
}
.archive-list > a[hidden] {
  display: none;
}
.load-more {
  margin-top: 20px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.load-more:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.archive-list time {
  color: var(--muted);
  font: 10px monospace;
}
.video-row {
  display: grid;
  grid-template-columns: 35px 1fr 90px 40px;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  transition:
    padding 0.3s,
    background 0.3s;
}
.video-row:hover {
  padding-inline: 15px;
  background: var(--hover-surface);
}
.video-row > span:first-child {
  font: 10px monospace;
  color: var(--muted);
}
.video-row h3 {
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.025em;
}
.video-row p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 70ch;
  margin-top: 8px;
}
.video-row .eyebrow {
  font-size: 10px;
  color: var(--muted);
}
.play-icon {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  height: 40px;
  width: 40px;
  font-size: 11px;
  transition:
    background 0.2s,
    color 0.2s;
}
.video-row:hover .play-icon {
  background: var(--ink);
  color: var(--paper);
}
.about-section {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: clamp(40px, 10vw, 150px);
  align-items: center;
  padding-block: 110px;
}
.portrait-toggle {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  isolation: isolate;
}
.portrait-toggle:disabled {
  cursor: default;
}
.portrait-toggle img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 750ms ease,
    filter 750ms ease,
    transform 950ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.portrait-color {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}
.portrait-illustrated {
  opacity: 0;
  transform: scale(1.07) rotate(2deg);
  filter: blur(8px);
}
.portrait-toggle[aria-pressed="true"] .portrait-color {
  opacity: 0;
  transform: scale(1.04) rotate(-2deg);
  filter: blur(8px) grayscale(1);
}
.portrait-toggle[aria-pressed="true"] .portrait-illustrated {
  opacity: 1;
  transform: scale(1) rotate(0);
  filter: blur(0);
}
.about-photo > span {
  display: block;
  font-size: 10px;
  margin-top: 18px;
  color: var(--muted);
}
.about-copy h2 {
  margin-bottom: 25px;
}
.about-copy > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 15px;
}
.about-copy > p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.about-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-top: 20px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 100px;
  gap: 25px;
  font-size: 11px;
  color: var(--muted);
}
.site-footer > .footer-socials {
  display: flex;
  gap: 25px;
}
.site-footer a {
  padding-block: 12px;
}
.site-footer a:hover {
  color: var(--accent);
}
@media (max-width: 800px) {
  .site-header {
    height: 70px;
  }
  .site-header nav {
    gap: 20px;
    font-size: 11px;
  }
  .contact-link {
    display: none;
  }
  .identity {
    font-size: 23px;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 40px;
  }
  .intro h1 {
    font-size: clamp(42px, 9vw, 68px);
    margin-block: 20px;
  }
  .intro .eyebrow {
    font-size: 9px;
  }
  .intro-description {
    font-size: 14px;
    margin-top: 18px;
  }
  .intro-actions {
    gap: 20px;
    margin-top: 22px;
  }
  .channel-feature {
    max-width: 580px;
    width: 100%;
  }
  .channel-caption {
    padding: 18px;
  }
  .channel-caption h2 {
    font-size: 20px;
  }
  .work-stage {
    padding-block: 25px;
  }
  .work-heading h2 {
    font-size: 20px;
  }
  .work-heading {
    gap: 15px;
  }
  .reel-controls {
    gap: 7px;
  }
  .reel-position {
    display: none;
  }
  .reel-controls button {
    width: 40px;
    height: 40px;
  }
  .project-reel {
    gap: 20px;
    padding-block: 10px 20px;
  }
  .project-card {
    flex-basis: 83vw;
  }
  .project-card h3 {
    font-size: 22px;
  }
  .project-card > p {
    font-size: 12px;
  }
  .reel-footer {
    gap: 20px;
    font-size: 10px;
  }
  .reel-progress {
    max-width: 70px;
  }
  .card-arrow {
    bottom: 12px;
    right: 12px;
    padding: 10px 14px;
  }
  .card-arrow > span {
    max-width: 100px;
    opacity: 1;
    font-size: 11px;
  }
  .section-heading > p {
    display: none;
  }
  .writing-section,
  .video-section {
    padding-top: 65px;
  }
  .section-heading h2,
  .about-copy h2 {
    font-size: clamp(31px, 6.5vw, 46px);
  }
  .writing-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .writing-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px 18px;
  }
  .writing-card img {
    grid-column: 1;
    grid-row: 1/4;
    aspect-ratio: 1;
  }
  .writing-card .eyebrow {
    margin: 0;
    font-size: 9px;
  }
  .writing-card h3 {
    grid-column: 2;
    font-size: 17px;
  }
  .read-link {
    grid-column: 2;
    margin: 0;
    font-size: 11px;
  }
  .archive-list > a {
    grid-template-columns: 62px 1fr 12px;
    gap: 12px;
  }
  .video-row {
    grid-template-columns: 20px 1fr 36px;
    gap: 12px;
  }
  .video-row h3 {
    font-size: 18px;
  }
  .video-row > .eyebrow {
    display: none;
  }
  .video-row p {
    font-size: 11px;
  }
  .video-section .section-heading {
    display: block;
  }
  .video-section .section-heading > .text-link {
    margin-top: 15px;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 70px;
  }
  .about-photo {
    width: 70%;
    max-width: 300px;
  }

  .site-footer {
    flex-wrap: wrap;
    padding-block: 25px;
    gap: 20px;
  }
  .site-footer > .footer-socials {
    order: 3;
    width: 100%;
    gap: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .project-image,
  .project-image img {
    transform: none !important;
  }
  .writing-card:hover,
  .video-row:hover {
    transform: none;
  }
}

.work-section {
  border-top: 1px solid var(--line);
}

.footer-family {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-block: 28px;
}
.footer-family > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}
.footer-family img {
  width: 120px;
  height: auto;
  filter: var(--logo-filter);
}
.footer-family > a > span {
  font-size: 10px;
  color: var(--muted);
}
@media (max-width: 500px) {
  .site-header {
    gap: 12px;
  }
  .site-header nav {
    gap: 10px;
    font-size: 10px;
  }
  .site-header nav a[href="#about"] {
    display: none;
  }
  .brand-family > span {
    font-size: 8px;
  }
  .identity {
    font-size: 23px;
  }
  .intro h1 {
    font-size: clamp(38px, 9vw, 48px);
  }
  .intro-actions {
    gap: 16px;
  }
  .intro-actions .text-link {
    font-size: 11px;
  }
  .site-footer > .footer-family {
    order: 0;
    width: 100%;
    padding: 0;
  }
}
