@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=IBM+Plex+Mono:wght@400;500&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --paper: #f3f1e9;
  --surface: #e8e9df;
  --surface-card: #ffffff;
  --ink: #24251f;
  --muted: #6c6d62;
  --line: #cdcdc0;
  --line-subtle: rgba(0, 0, 0, 0.06);
  --accent: #e4572e;
  --grid-line: #dfdfd5;
  --portrait-bg: rgba(216, 218, 205, 0.4);
  --portrait-graphic: #aeb1a2;
  --shadow-subtle: rgba(36, 37, 31, 0.08);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}


:root[data-theme="dark"] {
  --paper: #121411;
  --surface: #1a1e17;
  --surface-card: #1f231c;
  --ink: #edf0e6;
  --muted: #9ba092;
  --line: #2b3027;
  --line-subtle: rgba(255, 255, 255, 0.07);
  --accent: #ff6f43;
  --grid-line: #232820;
  --portrait-bg: rgba(255, 255, 255, 0.08);
  --portrait-graphic: rgba(237, 240, 230, 0.22);
  --shadow-subtle: rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

img,
picture,
.work-cover,
.gallery-masonry-item,
.portrait-circle {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

svg {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.wrap {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}

.accent {
  color: var(--accent);
}

.serif {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
}

.mono,
.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 1px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 1.4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 15px;
  background: var(--ink);
  color: var(--paper);
  z-index: 99;
}

.skip-link:focus {
  top: 15px;
}

.site-header {
  height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 33px;
  font-weight: 700;
  letter-spacing: -2px;
}

.site-header nav {
  display: flex;
  gap: 40px;
}

.site-header nav a {
  font-size: 13px;
  position: relative;
  padding: 8px 0;
}

.nav-dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  bottom: -3px;
  opacity: 0;
  transition: opacity 0.2s;
}

.site-header nav a:hover .nav-dot {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, transform 0.25s, background-color 0.25s;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: rotate(15deg) scale(1.05);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle .sun-icon {
  display: none;
}

.theme-toggle .moon-icon {
  display: block;
}

:root[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
}

:root[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}


.hero {
  padding-top: 35px;
}

.hero-topline,
.hero-bottom,
.section-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hero-topline .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.asterisk {
  color: var(--accent);
  font-size: 26px;
  line-height: 1;
}

.hero-coordinate {
  color: var(--muted);
}

.hero-composition {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: 20px;
  padding: 55px 0 62px;
}

.hero h1 {
  font-size: clamp(66px, 7.3vw, 108px);
  line-height: 1.03;
  letter-spacing: -6px;
  font-weight: 500;
  margin: 0;
}

.hero h1 .serif {
  font-size: 1.15em;
  letter-spacing: -3px;
}

.hero-intro {
  display: flex;
  gap: 26px;
}

.intro-mark {
  font-size: 30px;
  color: var(--accent);
  line-height: 1.4;
}

.hero-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 25px;
}

.hero-intro strong {
  font-weight: 500;
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 35px;
  font-size: 13px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--ink);
  transition:
    color 0.2s,
    gap 0.2s;
}

.text-link:hover {
  color: var(--accent);
  gap: 45px;
}

.text-link>span:not(.mono) {
  font-size: 20px;
}

.hero-bottom {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
  color: var(--muted);
}

.hero-bottom.hero-ticker {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 16px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 40px, black calc(100% - 40px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40px, black calc(100% - 40px), transparent 100%);
}

.hero-ticker .ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  flex-shrink: 0;
  -webkit-animation: ticker-slide 34s linear infinite;
  animation: ticker-slide 34s linear infinite;
  will-change: transform;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .hero-ticker:hover .ticker-track {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
  }
}

@-webkit-keyframes ticker-slide {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  to {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes ticker-slide {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  to {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }
}

.hero-ticker .ticker-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 28px;
  padding-right: 28px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.85;
  user-select: none;
  -webkit-user-select: none;
}

.hero-ticker .ticker-dot {
  color: var(--accent);
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}

.spatial-object {
  position: relative;
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 390px;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  background:
    radial-gradient(circle at center, transparent 35%, var(--paper) 75%),
    repeating-linear-gradient(0deg,
      transparent,
      transparent 29px,
      var(--grid-line) 29px,
      var(--grid-line) 30px),
    repeating-linear-gradient(90deg,
      transparent,
      transparent 29px,
      var(--grid-line) 29px,
      var(--grid-line) 30px);
}

.spatial-object.is-dragging {
  cursor: grabbing;
}

.orbit-art {
  width: 100%;
  overflow: visible;
  filter: drop-shadow(0 24px 18px var(--shadow-subtle));
}

.orbit-art svg g {
  fill: var(--paper);
  stroke: var(--accent);
  transition: fill 0.25s ease, stroke 0.25s ease;
}

.quest-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 460 / 400;
  touch-action: none;
}

.quest-fallback,
.quest-canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  touch-action: none;
}

.quest-canvas {
  position: absolute;
  inset: 0;
}

.quest-canvas[hidden],
.quest-fallback[hidden] {
  display: none;
}

.object-cross {
  position: absolute;
  color: var(--muted);
  font-size: 18px;
  pointer-events: none;
}

.cross-one {
  top: 48px;
  left: 12px;
}

.cross-two {
  bottom: 55px;
  right: 5px;
}

.object-control {
  position: absolute;
  bottom: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.2s, background-color 0.2s, transform 0.2s;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-sizing: border-box;
}

.object-control svg {
  display: block;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.spatial-object:hover .object-control,
.object-control:focus-visible {
  opacity: 1;
}

@media (hover: none),
(max-width: 760px) {
  .spatial-object,
  .quest-viewport,
  .quest-fallback,
  .quest-canvas {
    touch-action: pan-y;
  }

  .spatial-object {
    cursor: default;
  }

  .object-control {
    opacity: 0.92;
    background: rgba(228, 87, 46, 0.1);
    border: 1px solid rgba(228, 87, 46, 0.25);
    color: var(--accent);
  }
}

.section-space {
  padding-top: 90px;
  padding-bottom: 90px;
}

.section-topline {
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

h2 {
  font-weight: 500;
  font-size: clamp(38px, 4.2vw, 60px);
  letter-spacing: -2.6px;
  line-height: 1.08;
  margin: 0;
}

h2 .serif {
  font-size: 1.12em;
  letter-spacing: -1.5px;
}

/* News section */
.news-section {
  padding-bottom: 30px;
}

.news-header {
  margin-bottom: 24px;
}

.news-feed {
  max-height: 280px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 6px 14px 6px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.news-feed::-webkit-scrollbar {
  width: 4px;
}

.news-feed::-webkit-scrollbar-track {
  background: transparent;
}

.news-feed::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 4px;
}

.news-feed::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-item {
  display: grid;
  grid-template-columns: 165px 1fr;
  gap: 28px;
  padding: 16px 0;
  align-items: baseline;
  border-bottom: 1px solid var(--line-subtle);
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.news-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.news-text strong {
  color: var(--ink);
  font-weight: 600;
}

.news-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s, text-decoration-color 0.2s;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-left: 4px;
}

.news-link:hover {
  color: var(--accent);
}

.news-arrow {
  font-size: 12px;
  display: inline-block;
  line-height: 1;
}

.work-header {
  margin-bottom: 38px;
}

.work-list {
  border-bottom: 1px solid var(--line);
}

.work-item {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.work-thumb {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface);
}

.work-thumb img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.work-thumb:hover img {
  transform: scale(1.025);
}

.work-kicker {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 9px;
}

.work-kicker span {
  margin-left: 4px;
}

.work-body h3 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.9px;
  line-height: 1.2;
  margin: 0;
}

.work-body h3 a:hover {
  color: var(--accent);
}

.work-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 11px 0 17px;
  max-width: 650px;
}

.work-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.work-links a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}

.work-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 760px) {
  .work-header {
    margin-bottom: 28px;
  }

  .work-item {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 25px;
    padding: 24px 0;
  }

  .work-body h3 {
    font-size: 23px;
  }

  .work-body p {
    font-size: 13px;
    margin: 9px 0 13px;
  }

  .work-kicker {
    font-size: 11px;
    margin-bottom: 6px;
  }
}

@media (max-width: 540px) {
  .work-item {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 0;
  }

  .work-thumb {
    width: 100%;
  }

  .work-body h3 {
    font-size: 25px;
  }

  .work-body p {
    font-size: 14px;
  }

  .work-kicker {
    font-size: 12px;
  }
}

.about-section {
  background: var(--surface);
  padding-top: 38px;
}

.about-section .section-topline {
  border-top: 0;
  padding-top: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 100px;
  align-items: center;
  margin-top: 53px;
}

.portrait-block {
  max-width: 365px;
}

.portrait-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 290px;
  background: transparent;
}

.portrait-circle {
  position: relative;
  z-index: 2;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--portrait-bg);
  box-shadow: 0 10px 30px var(--shadow-subtle);
}

.portrait-circle img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  filter: grayscale(1);
  z-index: 2;
}

.portrait-graphic {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg) scale(1.25);
  transform-origin: center center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 84px;
  color: var(--portrait-graphic);
  line-height: 1;
  letter-spacing: -2px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.portrait-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 8.5px;
  letter-spacing: 0.8px;
  color: var(--muted);
  max-width: 250px;
  margin: 16px auto 0;
}

.portrait-caption .caption-dot {
  color: var(--accent);
  font-size: 11px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about-copy h2 {
  margin-bottom: 28px;
}

.about-copy p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 535px;
}

.about-copy p a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.about-copy p a:hover {
  color: var(--accent);
}

.about-copy .about-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.about-copy .text-link {
  margin-top: 12px;
}

.toolkit {
  margin: 35px 0 0;
  border-top: 1px solid var(--line);
}

.toolkit>div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
}

.toolkit dt {
  color: var(--muted);
  font-size: 9px;
}

.toolkit dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.elsewhere-section .section-topline {
  border-top: 0;
  padding-top: 0;
}

.elsewhere-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 75px;
  margin-top: 43px;
}

.elsewhere-grid h2 {
  padding-top: 10px;
}

.social-list>a {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.25s;
}

.social-list>a:first-child {
  border-top: 1px solid var(--line);
}

.social-list>a:hover {
  padding-left: 10px;
}

.social-number {
  color: var(--muted);
  font-size: 9px;
  align-self: flex-start;
  padding-top: 6px;
}

.social-list strong {
  display: block;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.7px;
}

.social-list small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 7px;
}

.social-arrow {
  font-size: 26px;
  margin-left: auto;
  transition: color 0.2s;
}

.social-list a:hover .social-arrow {
  color: var(--accent);
}

.contact-section {
  background: var(--accent);
  color: #241e19;
  padding: 52px 0 35px;
}

.contact-title {
  position: relative;
  display: block;
  font-size: clamp(65px, 8.5vw, 121px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -6px;
  margin: 30px 0 45px;
  color: #241e19;
  text-decoration: none;
}

.contact-title .serif {
  font-size: 1.1em;
}

.contact-arrow {
  position: absolute;
  right: 5px;
  top: 0;
  font-size: 105px;
  font-weight: 400;
  transition: transform 0.3s;
}

.contact-title:hover .contact-arrow {
  transform: translate(5px, -5px);
}

.contact-bottom {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid #552d2460;
}

.contact-bottom>a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: #552d2470;
  text-underline-offset: 4px;
  transition: opacity 0.2s;
}

.contact-bottom>a:hover {
  opacity: 0.8;
}

.copy-email {
  padding: 0 0 3px;
  background: none;
  border: 0;
  border-bottom: 1px solid #552d2470;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.copy-email:hover {
  opacity: 0.8;
}

.contact-bottom>.mono {
  margin-left: auto;
  font-size: 9px;
}

.copy-status {
  font-size: 11px;
  font-weight: 500;
  min-height: 16px;
}

.site-footer {
  height: 105px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.site-footer .wordmark {
  font-size: 27px;
}

.site-footer>.mono,
.site-footer>a.mono {
  font-size: 9px;
  color: var(--muted);
}

/* Project pages share the portfolio's typography and spacing. */
.project-header nav {
  gap: 25px;
}

.project-page {
  padding-top: 42px;
}

.back-link {
  display: inline-flex;
  gap: 15px;
  color: var(--muted);
  font-size: 12px;
}

.project-page-top {
  margin: 55px 0 35px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 65px;
  align-items: end;
}

.project-page h1 {
  font-size: clamp(48px, 6.3vw, 88px);
  font-weight: 500;
  letter-spacing: -4px;
  line-height: 1.03;
  margin: 15px 0 0;
}

.project-page-top>p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.project-cover {
  background: var(--card-bg);
  aspect-ratio: 2.05;
  overflow: hidden;
}

.project-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 40px;
}

.project-cover.photo img {
  object-fit: cover;
  padding: 0;
}

.project-cover.poster img {
  padding: 35px;
}

.project-story {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 55px 0;
}

.project-facts {
  margin: 0;
}

.project-facts>div {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.project-facts dt {
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 7px;
}

.project-facts dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.project-narrative h2 {
  font-size: 38px;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.project-narrative p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.9;
}

.project-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.project-links a {
  font-size: 12px;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  transition:
    background 0.2s,
    color 0.2s;
}

.project-links a:first-child,
.project-links a:hover {
  background: var(--ink);
  color: var(--paper);
}

.gallery-heading {
  font-size: 10px;
  display: block;
  margin: 20px 0;
}

.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.project-gallery figure {
  margin: 0;
}

.project-gallery img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: contain;
  background: var(--surface);
}

.project-gallery figcaption {
  font-size: 10px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.6;
}

.next-project {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px 0;
  margin-top: 65px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 20px;
}

.next-project strong {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -1px;
}

.next-project>span:last-child {
  font-size: 35px;
}

.project-page+.site-footer {
  margin-top: 30px;
}

@media (min-width: 1600px) {
  .hero-composition {
    padding-block: 75px;
  }

  .hero h1 {
    font-size: 112px;
  }

  .spatial-object {
    min-height: 440px;
  }
}

@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 64px);
  }

  .hero h1 {
    font-size: 76px;
    letter-spacing: -4px;
  }

  .hero-composition {
    grid-template-columns: 1.3fr 1fr;
  }

  .hero-intro {
    gap: 15px;
  }

  .hero-intro p {
    font-size: 14px;
  }

  .spatial-object {
    min-height: 340px;
  }

  .about-grid {
    gap: 50px;
  }

  .elsewhere-grid {
    gap: 40px;
  }

  .project-page-top {
    gap: 35px;
  }

  .project-story {
    gap: 40px;
  }

  .hero-coordinate {
    display: none;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .site-header {
    height: 80px;
  }

  .site-header nav {
    gap: 16px;
  }

  .site-header nav a {
    font-size: 12px;
    white-space: nowrap;
  }

  .header-contact {
    display: none;
  }

  .wordmark {
    font-size: 26px;
  }

  .hero {
    padding-top: 25px;
  }

  .hero-topline .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .asterisk {
    font-size: 21px;
  }

  .hero-composition {
    grid-template-columns: 1fr;
    padding: 42px 0 30px;
    gap: 25px;
  }

  .hero h1 {
    font-size: clamp(60px, 11.4vw, 85px);
    letter-spacing: -3.8px;
    margin-bottom: 30px;
  }

  .hero-intro {
    gap: 22px;
  }

  .hero-intro p {
    font-size: 14px;
  }

  .spatial-object {
    width: min(100%, 400px);
    min-height: 330px;
    margin: auto;
  }

  .orbit-art {
    max-height: 330px;
  }

  .hero-bottom.hero-ticker {
    padding: 13px 0;
    mask-image: linear-gradient(to right, transparent 0%, black 20px, black calc(100% - 20px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20px, black calc(100% - 20px), transparent 100%);
    pointer-events: none;
    touch-action: pan-y;
  }

  .hero-ticker .ticker-track {
    -webkit-animation: ticker-slide 28s linear infinite !important;
    animation: ticker-slide 28s linear infinite !important;
    -webkit-animation-play-state: running !important;
    animation-play-state: running !important;
    will-change: transform;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  .hero-ticker .ticker-content {
    font-size: 8.5px;
    gap: 18px;
    padding-right: 18px;
    letter-spacing: 0.9px;
    flex-shrink: 0;
  }

  .hero-ticker .ticker-dot {
    font-size: 11px;
  }

  .section-space {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .news-section {
    padding-bottom: 15px;
  }

  .news-feed {
    max-height: 320px;
    padding-right: 6px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 13px 0;
  }

  .news-date {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: -0.1px;
  }

  .news-text {
    font-size: 13.5px;
  }

  .section-topline .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .section-topline>.mono {
    display: none;
  }

  h2 {
    font-size: 43px;
    letter-spacing: -2px;
  }

  .about-section {
    padding-top: 30px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 30px;
  }

  .portrait-block {
    width: 100%;
    max-width: 310px;
  }

  .portrait-frame {
    min-height: 250px;
    padding-top: 0;
    aspect-ratio: auto;
  }

  .portrait-circle {
    width: 210px;
    height: 210px;
  }

  .portrait-graphic {
    font-size: 68px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg) scale(1.25);
  }

  .portrait-caption {
    max-width: 210px;
    margin: 14px auto 0;
    font-size: 8px;
    gap: 6px;
  }

  .portrait-caption .caption-dot {
    font-size: 10px;
  }

  .about-copy h2 {
    font-size: 43px;
  }

  .about-copy .about-lead {
    font-size: 18px;
  }

  .about-copy p {
    font-size: 13px;
  }

  .toolkit>div {
    grid-template-columns: 100px 1fr;
  }

  .toolkit dd {
    font-size: 11px;
  }

  .elsewhere-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 25px;
  }

  .social-list>a {
    padding: 19px 0;
  }

  .social-list strong {
    font-size: 23px;
  }

  .social-list small {
    font-size: 11px;
  }

  .contact-section {
    padding: 35px 0 28px;
  }

  .contact-section .eyebrow {
    font-size: 9px;
  }

  .contact-title {
    font-size: clamp(53px, 10vw, 80px);
    letter-spacing: -3.7px;
    margin: 27px 0 32px;
  }

  .contact-arrow {
    font-size: 55px;
    top: -6px;
    right: 0;
  }

  .contact-bottom {
    gap: 14px;
  }

  .contact-bottom>a {
    font-size: 13px;
  }

  .contact-bottom>.mono {
    margin: 7px 0 0;
    flex-basis: 100%;
    font-size: 8px;
  }

  .site-footer {
    height: 93px;
    gap: 10px;
  }

  .site-footer>.mono {
    font-size: 7px;
    letter-spacing: 0.6px;
  }

  .site-footer>a.mono {
    font-size: 8px;
    letter-spacing: 0;
  }

  .site-footer .wordmark {
    font-size: 24px;
  }

  .project-page {
    padding-top: 25px;
  }

  .project-page-top {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 35px;
  }

  .project-page h1 {
    font-size: 56px;
    letter-spacing: -3px;
  }

  .project-page-top>p {
    font-size: 15px;
  }

  .project-cover {
    aspect-ratio: 1.35;
  }

  .project-cover img {
    padding: 15px;
  }

  .project-story {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 30px 0;
  }

  .project-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }

  .project-narrative h2 {
    font-size: 34px;
  }

  .project-narrative p {
    font-size: 14px;
  }

  .project-gallery {
    gap: 25px;
    grid-template-columns: 1fr;
  }

  .next-project strong {
    font-size: 25px;
  }

  .project-header nav a {
    font-size: 11px;
  }

  .project-header nav {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .spatial-object {
    min-height: 290px;
  }

  .orbit-art {
    max-height: 290px;
  }

  .hero-composition {
    gap: 30px;
  }

  .hero h1 {
    font-size: 61px;
  }

  .contact-title {
    font-size: 57px;
  }

  .contact-arrow {
    font-size: 44px;
    top: 0;
  }

  .site-header nav {
    gap: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *:not(.ticker-track),
  *:not(.ticker-track)::before,
  *:not(.ticker-track)::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Reusable thumbnail covers; styles stay local to Selected Work. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.carousel-shell {
  padding: 0;
  border: none;
  background: transparent;
}

.work-carousel .carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 28px;
}

.work-carousel .carousel-header h2 {
  font-size: 46px;
  letter-spacing: -2px;
}

.work-carousel-hint {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
}

.work-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(206px, 100%);
  gap: 23.2px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  padding: 6px 0 23px;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y pinch-zoom;
  cursor: grab;
  user-select: none;
}

.work-track::-webkit-scrollbar {
  height: 6px;
}

.work-track::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 6px;
}

.work-track::-webkit-scrollbar-track {
  background: var(--surface);
  border-radius: 6px;
}

.work-track.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

.work-track.is-dragging * {
  cursor: grabbing !important;
  user-select: none;
}

.work-slide {
  min-width: 0;
  scroll-snap-align: start;
}

.work-slide-link {
  display: block;
  position: relative;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s;
}

.work-cover {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 10px;
  isolation: isolate;
  background: var(--cover-base);
  border: 1px solid #ffffff18;
}

.work-slide-image {
  position: absolute;
  inset: 0 0 0 auto;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--cover-base), transparent 58%),
    linear-gradient(0deg, var(--cover-base) 3%, transparent 62%);
  z-index: 1;
  pointer-events: none;
}

.work-cover-title {
  position: absolute;
  z-index: 2;
  left: 20px;
  top: 28px;
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -1.5px;
  color: #fff;
  text-shadow: 0 2px 16px #0005;
}

.work-cover-title span {
  display: block;
}

.work-cover-title span:last-child {
  color: var(--cover-accent);
}

.work-slide-caption {
  position: absolute;
  inset: auto 54px 22px 20px;
  z-index: 2;
  color: #fff;
}

.work-slide-caption h3 {
  font-size: 16.32px;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -0.25px;
  margin: 0 0 6px;
}

.work-slide-caption p {
  font-size: 12px;
  line-height: 1.5;
  color: #e2e3db;
  margin: 0;
}

.work-slide-arrow {
  position: absolute;
  bottom: 30px;
  right: 14px;
  z-index: 2;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  line-height: 1;
  background: #f3f1e9;
  color: #24251f;
  font-size: 19px;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}

.work-slide-link:hover {
  transform: translateY(-4px);
}

.work-slide-link:hover .work-slide-image {
  transform: scale(1.035);
}

.work-slide-link:hover .work-slide-arrow,
.work-slide-link:focus-visible .work-slide-arrow {
  background: var(--accent);
  color: #fff;
  transform: scale(1.08);
}

.work-slide-link:focus-visible {
  outline-offset: -3px;
  outline-width: 3px;
}

.work-track.is-dragging .work-slide-link {
  transform: none;
}

.work-track.is-dragging .work-slide-image {
  transform: none;
}



/* Native video showcases on project detail pages. */
.project-videos {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  margin-bottom: 72px;
}

.project-videos-heading {
  margin-bottom: 24px;
}

.project-videos-heading .eyebrow {
  color: var(--muted);
}

.project-videos-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -1.6px;
}

.project-video-content {
  min-width: 0;
}

.project-video-stage {
  display: grid;
  gap: 28px;
}

.project-video[hidden],
.project-video-selectors[hidden] {
  display: none;
}

.project-video {
  min-width: 0;
  margin: 0;
}

.project-video--square {
  max-width: 720px;
}

.project-video-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #101310;
}

.project-video--square .project-video-frame {
  aspect-ratio: 1;
}

.project-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.project-video figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.project-video figcaption > span {
  color: var(--ink);
  font-weight: 550;
}

.project-video figcaption a:hover {
  color: var(--accent);
}

.project-video-selectors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.project-video-select {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 180px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  text-align: left;
  font-size: 13px;
  line-height: 1.4;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.project-video-select svg {
  flex: 0 0 auto;
}

.project-video-select[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.project-video-select:hover {
  border-color: var(--accent);
}

@media (max-width: 880px) {
  .project-videos {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .project-videos {
    margin-bottom: 48px;
  }
}

/* Rebuilt Clean Project Detail Pages */
.project-detail-body {
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

.project-page {
  padding: 24px 0 100px;
}

.project-page-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 550;
  color: var(--ink);
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--accent);
}

.back-arrow {
  transition: transform 0.2s ease;
}

.back-link:hover .back-arrow {
  transform: translateX(-4px);
}

.project-page-index {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1.2px;
}

.project-hero {
  margin-bottom: 56px;
  max-width: 960px;
}

.project-hero-title {
  overflow-wrap: anywhere;
  font-size: clamp(40px, 5.2vw, 74px);
  font-weight: 550;
  letter-spacing: -3px;
  line-height: 1.05;
  margin: 0 0 20px;
  text-wrap: balance;
}

.project-hero-lead {
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 400;
  line-height: 1.48;
  color: var(--muted);
  margin: 0;
  max-width: 860px;
}

.project-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--line-subtle);
  border: 1px solid var(--line);
  color: var(--ink);
}

.pill-label {
  color: var(--muted);
  font-weight: 500;
  font-size: 9.5px;
}

.project-cover-container {
  margin-bottom: 72px;
}

.project-cover {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card-bg, #24251f);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 680px;
}

.project-cover img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 680px;
}

.project-cover.fit-cover img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 440px;
}

.project-cover.fill-space img {
  width: 100%;
  height: auto;
}

.project-story-section {
  margin-bottom: 84px;
}

.project-story-section:has(+ .project-videos) {
  margin-bottom: 40px;
}

.project-story-grid {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.project-meta-sidebar {
  position: sticky;
  top: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.project-facts-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.project-facts-list dt {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-bottom: 4px;
}

.project-facts-list dd {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
}

.project-person-link {
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.project-person-link:hover,
.project-person-link:focus-visible {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.project-actions-block {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.actions-title {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: var(--muted);
}

.project-links-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.action-btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.action-btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(228, 87, 46, 0.28);
}

.action-btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.action-btn-secondary:hover {
  border-color: var(--ink);
  background: var(--line-subtle);
  transform: translateY(-2px);
}

.project-story-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 760px;
}

.project-story-content h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 550;
  letter-spacing: -1.6px;
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--ink);
}

.story-lead {
  font-size: clamp(20px, 2.1vw, 24px) !important;
  font-weight: 450 !important;
  line-height: 1.55 !important;
  color: var(--ink) !important;
  letter-spacing: -0.4px !important;
  margin-bottom: 24px !important;
}

.project-paragraphs p {
  font-size: 17px;
  line-height: 1.78;
  color: var(--muted);
  margin: 0 0 20px;
}

.project-gallery-section {
  margin-bottom: 96px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.gallery-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 36px;
}

.gallery-header-row .eyebrow {
  font-size: 11px;
  letter-spacing: 1.4px;
}

.project-gallery-masonry {
  column-count: 3;
  column-gap: 20px;
}

.project-gallery-masonry[data-layout="grid"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  column-count: auto;
}

.project-gallery-masonry[data-layout="grid"] .gallery-masonry-item {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .project-gallery-masonry[data-layout="grid"] {
    grid-template-columns: minmax(0, 1fr);
  }
}

.gallery-masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px var(--shadow-subtle);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.gallery-masonry-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.gallery-masonry-item img {
  width: 100%;
  height: auto;
  display: block;
}

.project-gallery-masonry[data-count="1"] {
  column-count: 1;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.project-gallery-masonry[data-count="2"] {
  column-count: 2;
  max-width: 960px;
}

@media (max-width: 880px) {
  .project-gallery-masonry {
    column-count: 2;
    column-gap: 16px;
  }

  .gallery-masonry-item {
    margin-bottom: 16px;
  }
}

@media (max-width: 560px) {
  .project-gallery-masonry {
    column-count: 1;
  }
}

.next-project-nav {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.next-project-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.next-project-card:hover {
  background: var(--surface-card);
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px var(--shadow-subtle);
}

.next-project-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.next-project-card .eyebrow {
  color: var(--muted);
  transition: color 0.25s ease;
}

.next-project-card:hover .eyebrow {
  color: var(--accent);
}

.next-project-title {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 550;
  letter-spacing: -1.2px;
  line-height: 1.15;
  color: var(--ink);
}

.next-project-card:hover .next-project-meta {
  color: var(--muted);
}

.next-project-action {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 550;
  color: var(--ink);
  flex-shrink: 0;
}

.next-project-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.next-project-card:hover .next-project-arrow {
  background: var(--accent);
  color: var(--paper);
  transform: translateX(6px);
}

@media (max-width: 880px) {
  .project-story-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  .project-story-content {
    order: 1;
  }

  .project-meta-sidebar {
    order: 2;
    position: static;
    border-top: 1px solid var(--line);
    padding-top: 36px;
    gap: 28px;
  }

  .project-facts-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 22px 20px;
  }

  .project-gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .work-carousel .carousel-header {
    gap: 16px;
    margin-bottom: 19px;
  }

  .work-carousel .carousel-header h2 {
    font-size: 36px;
    letter-spacing: -1.7px;
  }

  .work-track {
    grid-auto-columns: min(206px, 100%);
    gap: 16px;
    padding-bottom: 21px;
  }

  .work-cover-title {
    font-size: clamp(26px, 8.5vw, 32px);
  }

  .next-project-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .site-header {
    height: 72px;
  }

  .header-actions {
    gap: 10px;
  }

  .theme-toggle {
    width: 32px;
    height: 32px;
  }

  .wordmark {
    font-size: 24px;
  }

  .site-header nav {
    gap: 13px;
  }

  .site-header nav a {
    font-size: 11.5px;
  }

  .work-carousel .carousel-header {
    gap: 12px;
  }

  .work-carousel .carousel-header h2 {
    font-size: 32px;
    letter-spacing: -1.6px;
  }

  .work-slide-caption h3 {
    font-size: 17px;
  }
}

@media (max-width: 360px) {
  .wordmark {
    font-size: 20px;
  }

  .site-header nav {
    gap: 8px;
  }

  .site-header nav a {
    font-size: 10px;
  }

  .work-carousel .carousel-header h2 {
    font-size: 26px;
    letter-spacing: -1.1px;
  }
}
