:root {
  color-scheme: dark;
  --ground: #080a0c;
  --upper: #0c1013;
  --ink: #edf0ef;
  --soft: #c4cacb;
  --muted: #a0abad;
  --line: #30373b;
  --accent: #d1f890;
  --mono: ui-monospace, Menlo, Consolas, monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 4.25vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.55 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
button, summary { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
section[id], main[id] { scroll-margin-top: 30px; }
.shell { width: min(100% - 2 * var(--gutter), 1440px); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: var(--gutter);
  padding: 8px 12px;
  transform: translateY(-180%);
  background: var(--accent);
  color: var(--ground);
}
.skip-link:focus { transform: none; color: var(--ground); }

.site-footer {
  --shell-line: var(--line);
  --shell-muted: var(--muted);
  display: flex;
  width: min(calc(100% - 40px), 1540px);
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer nav a { color: var(--muted); font-size: 10px; text-decoration: none; text-transform: uppercase; }
.site-footer nav a:hover { color: var(--ink); }
.burcin-newsletter [data-local-newsletter] button:disabled { opacity: .55; cursor: default; }


.hero-layout {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(470px, 44vw, 690px);
}
.hero-copy { position: relative; z-index: 1; width: fit-content; padding: 64px 0 74px; }
.eyebrow {
  color: var(--accent);
  font: 12px/1.4 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow span { margin-inline: .5em; color: var(--muted); }
h1 {
  margin: 20px 0 24px -.045em;
  font-weight: 750;
  font-size: clamp(70px, 9.25vw, 147px);
  line-height: .84;
  letter-spacing: -.067em;
}
.hero-intro { max-width: 29ch; color: var(--soft); font-size: clamp(17px, 1.42vw, 21px); line-height: 1.43; }
.primary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 27px;
  padding: 8px 14px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #131a0b;
  font-size: 13px;
  font-weight: 700;
}
.primary-button:hover { background: var(--ink); border-color: var(--ink); }
.primary-button span { font-size: 16px; }

.hero-media {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 17%;
  overflow: hidden;
}
.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ground), transparent 24%);
  content: "";
  pointer-events: none;
}
.player-poster, .player-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.player-poster img, .player-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-media .player-poster img, .hero-media .player-video { object-position: right center; }
.player-video { visibility: hidden; }
[data-rendering="true"] .player-video { visibility: visible; }

.playback-bar {
  display: flex;
  position: relative;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 16px;
  border-block: 1px solid var(--line);
}
.media-caption, .playback-actions { display: flex; align-items: center; gap: 10px; }
.media-caption { color: var(--soft); font: 11px/1.5 var(--mono); }
.signal { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--accent); }
.caption-divider { color: var(--muted); }
.playback-actions { gap: 0; }
.playback-actions button, .viewer-message button {
  min-height: 44px;
  padding: 7px 12px;
  border: 0;
  background: none;
  color: var(--ink);
  font: 12px/1.3 var(--mono);
}
.playback-actions button + button { border-left: 1px solid var(--line); }
.playback-actions button:hover, .playback-actions button[aria-pressed="true"], .viewer-message button:hover { color: var(--accent); }
.playback-message { width: 100%; padding: 0 0 12px; color: var(--soft); font-size: 13px; }
.hero-credit { padding-top: 14px; color: var(--muted); font-size: 13px; }
.hero-credit > span { padding-inline: 5px; }
.hero-credit a { color: var(--soft); }
.hero-credit a:hover { color: var(--accent); }

.editorial {
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.4fr);
  gap: clamp(30px, 7vw, 110px);
  padding-block: clamp(58px, 8.7vw, 128px);
  border-top: 1px solid var(--line);
}
.statement { margin-top: clamp(56px, 7vw, 112px); }
.editorial h2, .section-heading h2 {
  max-width: 16ch;
  font-weight: 650;
  font-size: clamp(34px, 4vw, 64px);
  line-height: .98;
  letter-spacing: -.055em;
}
.editorial-body { min-width: 0; }
.editorial-body p { max-width: 68ch; margin-bottom: 18px; color: var(--soft); }
.statement-body { max-width: 760px; font-size: clamp(16px, 1.28vw, 19px); }
.statement-body p { max-width: 64ch; }
.statement-body .statement-lead {
  max-width: 29ch;
  margin: -5px 0 29px;
  color: var(--ink);
  font: clamp(27px, 3.1vw, 49px)/1.14 Georgia, serif;
  letter-spacing: -.034em;
  text-wrap: pretty;
}
.statement-body .signature { margin: 28px 0 0; color: var(--accent); font: 12px/1.4 var(--mono); }

.colorways { border-top: 1px solid var(--line); padding-block: clamp(55px, 8vw, 114px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.section-heading p { color: var(--muted); font-size: 14px; }
.gallery-media {
  position: relative;
  aspect-ratio: var(--clip-ratio, 4 / 1);
  max-height: 650px;
  background: #050607;
}
.gallery-options { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 1.5fr); gap: 16px; margin-top: 12px; }
.palette-options, .group-options { display: flex; flex-wrap: wrap; }
.palette-options button, .group-options button { flex: 1 1 0; }
.gallery-options button {
  display: flex;
  min-height: 54px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
  font-size: 13px;
}
.gallery-options button:hover { color: var(--ink); }
.gallery-options button[aria-pressed="true"] { border-color: var(--line); background: var(--upper); color: var(--ink); }
.gallery-options .composition[aria-pressed="true"] { border-bottom-color: var(--accent); }
.palette-mark { width: 10px; height: 10px; flex: 0 0 10px; border-radius: 50%; }
.palette-mark.ice-data { background: #9ee8ff; }
.palette-mark.rgb-whisker { background: conic-gradient(#e83d3d 0 33.3%, #45c759 33.3% 66.6%, #4a61f0 66.6%); }
.palette-mark.linen-bone { background: #ede3cc; }
.palette-mark.acid-mind { background: #c7ff3d; }
.palette-mark.violet-load { background: #b88fff; }

.section-intro { color: var(--ink) !important; font-size: clamp(18px, 2vw, 25px); line-height: 1.35; letter-spacing: -.018em; }
.process {
  grid-template-areas: "heading intro" "art readings" ". details";
  grid-template-rows: auto auto 1fr;
  row-gap: 24px;
  align-items: start;
}
.process-heading { grid-area: heading; }
.process-intro { grid-area: intro; max-width: 51ch; }
.process-live { grid-area: art; min-width: 0; border: 1px solid var(--line); }
.mini-stage { position: relative; aspect-ratio: 4 / 3; background: #000; }
.mini-stage img, #mini-frame, #mini-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.mini-stage img { object-fit: contain; }
#mini-frame { opacity: 0; pointer-events: none; }
.mini-stage[data-ready] #mini-frame { opacity: 1; }
.process-live figcaption {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding-left: 9px;
  color: var(--soft);
  font: 11px/1.25 var(--mono);
  border-top: 1px solid var(--line);
}
#mini-toggle {
  min-height: 44px;
  padding: 4px 8px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
}
#mini-toggle:hover { color: var(--accent); }
.process-readings { grid-area: readings; min-width: 0; }
.clock {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.clock > div { min-width: 0; padding: 12px clamp(6px, 1.6vw, 22px); border-bottom: 1px solid var(--line); }
.clock > div:nth-child(odd) { padding-left: 0; }
.clock > div:nth-child(even) { border-left: 1px solid var(--line); }
.clock dt { margin-bottom: 5px; color: var(--muted); font: 11px/1.25 var(--mono); }
.clock dd { color: var(--accent); font: clamp(16px, 2vw, 30px)/1.15 var(--mono); letter-spacing: -.055em; }
.pressure-note { margin-top: 13px; color: var(--soft); font-size: 13px; }
.process-details { grid-area: details; }
.process-details .technical { margin-top: 0; }
.technical { margin-top: 28px; border-top: 1px solid var(--line); }
.technical details { border-bottom: 1px solid var(--line); }
.technical summary {
  display: flex;
  min-height: 53px;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
}
.technical summary::-webkit-details-marker { display: none; }
.technical summary::after { content: "+"; color: var(--accent); font: 18px/1 var(--mono); }
.technical details[open] summary::after { content: "−"; }
.chain-values { margin-bottom: 16px; }
.chain-values div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 14px; border-top: 1px solid var(--line); padding: 12px 0; }
.chain-values dt, .chain-values dd { font-size: 14px; }
.chain-values dd { color: var(--soft); }

.sale-block { max-width: 340px; margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); }
.sale-block h3 { margin-bottom: 9px; font-size: 18px; font-weight: 650; }
.sale-block dl > div { display: grid; grid-template-columns: minmax(92px, 1fr) minmax(0, 1.8fr); gap: 10px; align-items: baseline; padding-block: 6px; }
.sale-block dt { color: var(--muted); font: 11px/1.4 var(--mono); }
.sale-block dd { color: var(--soft); font-size: 14px; }
.sale-block .auction-link { margin-top: 13px; color: #131a0b; text-decoration: none; }
.provenance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.provenance-grid dl > div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px; align-items: baseline; min-height: 43px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.provenance-grid dt { color: var(--muted); font: 11px/1.5 var(--mono); }
.provenance-grid dd { font-size: 14px; }
.provenance-links { display: grid; }
.provenance-links a, .provenance-links button {
  display: flex;
  min-height: 43px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font-size: 14px;
  text-align: left;
  text-decoration: none;
}
.provenance-links a:hover, .provenance-links button:hover { color: var(--accent); }
.provenance-links span { color: var(--accent); }
.credits { margin-top: 37px; font-size: 14px; }
.credits { border-block: 1px solid var(--line); }
.credits summary {
  display: flex;
  min-height: 53px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 650;
}
.credits summary::-webkit-details-marker { display: none; }
.credits summary::after { content: "+"; color: var(--accent); font: 18px/1 var(--mono); }
.credits[open] summary::after { content: "−"; }
.credits[open] { padding-bottom: 16px; }
.credits p:last-child { margin-bottom: 0; }

#token-viewer {
  width: min(100% - 36px, 1380px);
  height: min(100% - 36px, 900px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid var(--line);
  background: #050608;
  color: var(--ink);
}
#token-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
#token-viewer::backdrop { background: #030405e8; }
.viewer-header, .viewer-footer {
  display: flex;
  z-index: 1;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px;
  background: var(--ground);
}
.viewer-header { border-bottom: 1px solid var(--line); }
.viewer-header h2 { font-size: 16px; font-weight: 640; }
#viewer-source { margin-left: 6px; color: var(--muted); font: 11px/1.4 var(--mono); }
.viewer-close {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}
.viewer-close:hover { color: var(--accent); }
.viewer-close span { font-size: 21px; line-height: 1; }
.viewer-stage { display: grid; position: relative; min-height: 0; background: #000; }
#viewer-frame, #viewer-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.viewer-message { z-index: 1; place-self: center; max-width: 32ch; padding: 20px; text-align: center; }
.viewer-message p { color: var(--soft); }
.viewer-message button { margin-top: 12px; border: 1px solid var(--line); }
.viewer-footer { border-top: 1px solid var(--line); color: var(--muted); font: 11px/1.4 var(--mono); }
.viewer-footer a { padding-block: 6px; text-align: right; }

@media (max-width: 950px) {
  .hero-media { left: 7%; }
  h1 { font-size: clamp(70px, 10.1vw, 110px); }
  .editorial { grid-template-columns: minmax(0, .63fr) minmax(0, 1.4fr); gap: 34px; }
}

@media (max-width: 720px) {
  .site-footer { display: block; width: calc(100% - 24px); }
  .site-footer nav { margin-top: 24px; }
  .hero-layout { display: flex; min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-copy { padding: 37px 0 18px; }
  h1 { margin: 15px 0 19px -.042em; font-size: clamp(61px, 13vw, 96px); }
  .hero-intro { max-width: 32ch; }
  .primary-button { margin-top: 19px; }
  .hero-media { position: relative; inset: auto; width: 100%; aspect-ratio: 4 / 5; max-height: 510px; }
  .hero-media .player-poster img, .hero-media .player-video { object-position: center; }
  .hero-media::after { background: linear-gradient(180deg, var(--ground), transparent 11%, transparent 91%, var(--ground)); }
  .playback-bar { min-height: 50px; gap: 0 5px; }
  .playback-actions button { padding-inline: 7px; font-size: 10px; }
  .media-caption { gap: 6px; font-size: 10px; }
  .editorial { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .editorial.process {
    grid-template: "heading heading" auto "intro intro" auto "art readings" auto "details details" auto /
      minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px 12px;
  }
  .mini-stage { aspect-ratio: 4 / 5; }
  .process-live figcaption { font-size: 10px; }
  .clock > div { padding: 7px 4px; }
  .clock dt { font-size: 10px; }
  .clock dd { font-size: 16px; }
  .pressure-note { margin-top: 7px; font-size: 11px; line-height: 1.35; }
  .statement-body .statement-lead { margin-top: 0; }
  .section-heading { display: grid; }
  .gallery-media { aspect-ratio: var(--mobile-clip-ratio, 16 / 9); max-height: 520px; }
  .gallery-options { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .gallery-options button { min-height: 46px; padding-inline: 7px; font-size: 12px; }
  .palette-options button { flex: 1 1 33.333%; }
  .provenance-grid { gap: 18px; }
}

@media (max-width: 375px) {
  :root { --gutter: 16px; }
  .media-caption { font-size: 9px; }
  .playback-actions button { padding-inline: 6px; }
  .process-live figcaption { padding-left: 4px; }
  #mini-toggle { padding-inline: 4px; }
  .viewer-header, .viewer-footer { align-items: start; }
  #viewer-source { display: block; margin: 2px 0 0; }
}

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