/* Obsidian Graphics: KNAPPED GLASS.
   The studio as its namesake: black volcanic glass. Fracture facets lit
   by the pointer, razor edge-light, thin-film iridescence, work framed
   under glass. (Replaces the print-production system, 2026-07-29.) */

:root {
  color-scheme: dark;
  --obsidian: #070709;
  --glass-1: #0d0e12;
  --glass-2: #14161d;
  --glass-3: #1b1e26;
  --facet: #11131a;
  --bone: #f2eee4;
  --platinum: #aaa499;
  --dim: #6d6f78;
  --edge: rgba(255, 255, 255, 0.14);
  --edge-strong: rgba(255, 255, 255, 0.3);
  --iris: linear-gradient(108deg, #5fd3c2 0%, #7d84e6 32%, #cf7cc4 64%, #e3c584 100%);
  --font-display: "Syne", "Arial Black", sans-serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-mono: "Martian Mono", "Courier New", monospace;
  --shadow-glass: 0 24px 60px rgba(0, 0, 0, 0.6), 0 4px 14px rgba(0, 0, 0, 0.5);
  --ease-glass: cubic-bezier(0.22, 0.9, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--obsidian);
  color: var(--bone);
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 1.01rem;
  line-height: 1.7;
  color: var(--bone);
  background:
    radial-gradient(1000px 480px at 82% -10%, rgba(125, 132, 230, 0.045), transparent 60%),
    radial-gradient(900px 520px at 6% 16%, rgba(95, 211, 194, 0.03), transparent 55%),
    var(--obsidian);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--bone); color: var(--obsidian); }

a:focus-visible,
button:focus-visible {
  outline: 2.5px solid #7d84e6;
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: -70px;
  left: 14px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--bone);
  color: var(--obsidian);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(76rem, 100% - clamp(2.5rem, 7vw, 5rem));
  margin-inline: auto;
}

h1, h2, h3 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--bone);
  text-wrap: balance;
}

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--platinum);
}
/* a struck flake precedes every label */
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--iris);
  clip-path: polygon(50% 0, 100% 62%, 62% 100%, 0 48%);
  filter: saturate(0.85);
}
.eyebrow--dark { color: var(--platinum); }

.section-title { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.015em; }

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4.5vw, 52px);
}
.section-heading > div { max-width: 38rem; }
.section-heading .section-title { margin-bottom: 0; }
.section-heading-copy {
  max-width: 26rem;
  margin: 0;
  color: var(--dim);
  font-size: 0.97rem;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- buttons: cut glass ---------- */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  /* knapped corner */
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.button--light {
  background: var(--bone);
  color: var(--obsidian);
}
.button--light:hover { background: #ffffff; transform: translateY(-2px); }
.button--light:active { transform: translateY(0); }
.button--outline-light {
  background: rgba(255, 255, 255, 0.04);
  color: var(--bone);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.button--outline-light:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
  text-decoration: none;
  padding-bottom: 4px;
  background: var(--iris) left bottom / 0% 2px no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: background-size 0.35s var(--ease-glass), color 0.2s ease;
}
.text-link:hover { background-size: 100% 2px; color: #ffffff; }
.text-link::after { content: "\2197"; font-size: 0.9em; }

/* ---------- header: the glass ledge ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 9, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
/* razor edge: an iridescent hairline appears once scrolled */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--iris);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.site-header.is-scrolled::after { opacity: 0.55; }
.site-header.is-scrolled { box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}
.site-brand { display: inline-flex; align-items: center; }
.site-brand img { width: min(212px, 52vw); height: auto; }

.desktop-nav { display: none; align-items: center; gap: 26px; }
.desktop-nav > a:not(.button) {
  position: relative;
  padding: 8px 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--platinum);
  text-decoration: none;
  transition: color 0.18s ease;
}
.desktop-nav > a:not(.button):hover { color: var(--bone); }
.desktop-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1.5px;
  background: var(--iris);
  transition: right 0.3s var(--ease-glass);
}
.desktop-nav > a:not(.button):hover::after { right: 0; }
.desktop-nav .button { padding: 11px 20px; }

.mobile-actions { display: flex; align-items: center; gap: 12px; }
.mobile-start {
  padding: 10px 16px;
  background: var(--bone);
  color: var(--obsidian);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}
.menu-toggle {
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}
.menu-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--bone);
  transition: transform 0.25s ease, top 0.25s ease;
}
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
body.menu-open .menu-toggle span:first-child { top: 22px; transform: rotate(45deg); }
body.menu-open .menu-toggle span:last-child { top: 22px; transform: rotate(-45deg); }

@media (min-width: 961px) {
  .desktop-nav { display: flex; }
  .mobile-actions { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: 84px 0 auto 0;
  z-index: 90;
  padding: 10px clamp(1.25rem, 3.5vw, 2.5rem) 26px;
  background: rgba(10, 10, 13, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(-12px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
body.menu-open .mobile-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu-links { display: grid; }
.mobile-menu-links a {
  padding: 15px 2px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu-footer {
  display: grid;
  gap: 4px;
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--dim);
}
.mobile-menu-footer a { color: var(--platinum); text-decoration: none; word-break: break-all; }

/* ---------- reveals ---------- */

html.js main .container {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s var(--ease-glass);
}
html.js main .container.is-in { opacity: 1; transform: translateY(0); }

html.shot main .container { opacity: 1 !important; transform: none !important; transition: none !important; }
html.shot *, html.shot *::before, html.shot *::after { animation: none !important; transition: none !important; }
html.shot { scroll-behavior: auto; }

/* ---------- hero: the living obsidian face ---------- */

.hero {
  position: relative;
  padding: clamp(52px, 9vh, 96px) 0 clamp(56px, 9vh, 96px);
  overflow: hidden;
  --lx: 68%;
  --ly: 30%;
}

/* fracture facets */
.facet-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}
.fct {
  fill: var(--facet);
  stroke: rgba(255, 255, 255, 0.045);
  stroke-width: 1;
  transition: fill 0.9s ease, fill-opacity 0.9s ease;
}
.fct:hover { fill: #232733; transition: fill 0.1s ease; }

/* the pointer is the light source */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at var(--lx) var(--ly), rgba(255, 255, 255, 0.075), transparent 62%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}
/* thin-film iridescence blooms around the light */
.hero-iris {
  position: absolute;
  inset: 0;
  background: var(--iris);
  opacity: 0;
  -webkit-mask-image: radial-gradient(340px circle at var(--lx) var(--ly), rgba(0, 0, 0, 0.85), transparent 70%);
  mask-image: radial-gradient(340px circle at var(--lx) var(--ly), rgba(0, 0, 0, 0.85), transparent 70%);
  mix-blend-mode: color-dodge;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.6s ease;
}
.hero.is-lit .hero-iris { opacity: 0.14; }

/* strike burst: conchoidal fracture on click */
.strike {
  position: fixed;
  z-index: 300;
  width: 0;
  height: 0;
  pointer-events: none;
}
.strike::before {
  content: "";
  position: absolute;
  left: -20px;
  top: -20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  animation: strike-ring 0.5s var(--ease-glass) forwards;
}
.strike::after {
  content: "";
  position: absolute;
  left: -30px;
  top: -30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: strike-ring 0.6s var(--ease-glass) 0.06s both;
}
.strike i {
  position: absolute;
  left: -5px;
  top: -14px;
  width: 10px;
  height: 28px;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.1));
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  animation: shard-fly 0.55s var(--ease-glass) forwards;
}
@keyframes strike-ring {
  0% { transform: scale(0.3); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes shard-fly {
  0% { transform: rotate(var(--ang, 0deg)) translateY(-6px) scale(1); opacity: 1; }
  100% { transform: rotate(var(--ang, 0deg)) translateY(-64px) scale(0.5); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  pointer-events: none;
}
.hero-inner a,
.hero-inner button { pointer-events: auto; }

.hero-copy { max-width: 34rem; }
.display-title {
  display: grid;
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
/* the spectral line: light through the glass */
.steel-text {
  background: var(--iris);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: saturate(0.8) brightness(1.05);
}
.hero-lede { max-width: 30em; color: var(--platinum); font-size: 1.08rem; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* three posters under glass */
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  min-height: 440px;
  /* reserved room for the stage note so tilted panes never cover it */
  padding-bottom: 88px;
}
.hero-art {
  position: relative;
  padding: 0;
  background: var(--glass-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-glass);
  overflow: hidden;
  transition: transform 0.5s var(--ease-glass), box-shadow 0.5s ease, border-color 0.3s ease;
  --gx: 50%;
  --gy: 20%;
}
/* glass glare riding each pane */
.hero-art::after,
.work-card-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(240px circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(118deg, transparent 42%, rgba(255, 255, 255, 0.05) 50%, transparent 58%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.hero-art:hover::after,
.work-card-button:hover::after { opacity: 1; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

.hero-art--main {
  grid-column: 3 / 11;
  z-index: 2;
  aspect-ratio: 4 / 5;
}
.hero-art--left,
.hero-art--right {
  z-index: 1;
  aspect-ratio: 3 / 4.4;
  filter: brightness(0.6) saturate(0.9);
}
.hero-art--left { grid-column: 1 / 4; transform: rotate(-4deg) translateY(16px); }
.hero-art--right { grid-column: 10 / 13; transform: rotate(4deg) translateY(26px); }
.hero-art--left:hover,
.hero-art--right:hover { filter: brightness(0.95) saturate(1); z-index: 3; }
.hero-art--left:hover { transform: rotate(-2.5deg) translateY(10px) scale(1.03); }
.hero-art--right:hover { transform: rotate(2.5deg) translateY(20px) scale(1.03); }
.hero-art--main:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.3); }

.hero-stage-note {
  position: absolute;
  right: 0;
  bottom: 10px;
  z-index: 5;
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 7px 14px;
  background: rgba(10, 10, 14, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-stage-note strong { color: var(--bone); font-weight: 600; }
.hero-stage-note span { color: var(--platinum); }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stage { min-height: 0; margin-top: 6px; padding-bottom: 72px; }
  .hero-stage-note { bottom: 4px; }
}

/* ---------- sections: strata of the glass ---------- */

.section { position: relative; padding: clamp(60px, 9vw, 108px) 0; }

/* razor seams between strata */
.section--paper,
.section--carbon {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.section--paper::before,
.section--carbon::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--iris);
  opacity: 0.28;
}
.section--paper { background: linear-gradient(var(--glass-1), var(--obsidian)); }
.section--carbon { background: linear-gradient(#0a0b0f, var(--obsidian)); }
.section--dark { background: transparent; }

/* ---------- work: framed under glass ---------- */

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.6vw, 26px);
}
.work-card { position: relative; }
.work-card-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  background: var(--glass-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-glass);
  overflow: hidden;
  transition: transform 0.5s var(--ease-glass), border-color 0.3s ease, box-shadow 0.5s ease;
  --gx: 50%;
  --gy: 20%;
}
.work-card-button:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.7), 0 6px 18px rgba(0, 0, 0, 0.5);
}
.work-card-button img { width: 100%; height: auto; transition: transform 0.7s var(--ease-glass); }
.work-card-button:hover img { transform: scale(1.025); }

.work-card-caption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 14px;
  padding: 14px 4px 0;
}
.work-index {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.7rem;
  color: transparent;
  background: var(--iris);
  -webkit-background-clip: text;
  background-clip: text;
  filter: saturate(0.8);
}
.work-name {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0;
  color: var(--bone);
}
.work-type {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.work-section-footer { margin-top: clamp(24px, 4vw, 40px); display: flex; justify-content: flex-end; }

@media (max-width: 720px) {
  .work-grid { grid-template-columns: 1fr; }
}

/* ---------- services: struck ledger ---------- */

.service-list {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 18px 28px;
  align-items: start;
  padding: clamp(20px, 3vw, 30px) 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.3s ease;
}
/* razor edge lights up along the row */
.service-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 1px;
  width: 0%;
  background: var(--iris);
  transition: width 0.5s var(--ease-glass);
}
.service-row:hover { background: rgba(255, 255, 255, 0.025); }
.service-row:hover::before { width: 100%; }
.service-number {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--dim);
  transition: color 0.3s ease;
  padding-top: 6px;
}
.service-row:hover .service-number {
  color: transparent;
  background: var(--iris);
  -webkit-background-clip: text;
  background-clip: text;
}
.service-row h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 700;
  margin: 0;
}
.service-row p { margin: 0; color: var(--platinum); font-size: 0.95rem; }
.service-row p strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
@media (max-width: 860px) {
  .service-row { grid-template-columns: 52px minmax(0, 1fr); }
  .service-row p { grid-column: 2; }
}

/* ---------- process: struck flakes ---------- */

.process-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4.5vw, 48px);
}
.process-header > div { max-width: 38rem; }
.process-header .section-title { margin-bottom: 0; }
.process-header > p {
  max-width: 26rem;
  margin: 0;
  color: var(--dim);
  font-size: 0.97rem;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.process-step {
  position: relative;
  padding: 22px 18px 20px;
  background: linear-gradient(160deg, var(--glass-2), var(--glass-1) 70%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* each step is a struck flake: knapped corners */
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  transition: transform 0.35s var(--ease-glass), border-color 0.3s ease, background 0.3s ease;
}
.process-step:hover { transform: translateY(-5px); }
.process-step span {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.72rem;
  color: transparent;
  background: var(--iris);
  -webkit-background-clip: text;
  background-clip: text;
  filter: saturate(0.8);
}
.process-step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.process-step p { margin: 0; color: var(--platinum); font-size: 0.87rem; line-height: 1.55; }

@media (max-width: 1023px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-step:last-child { grid-column: auto; }
}

/* ---------- engagements: glass cases ---------- */

.engagements-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.engagement-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px 20px;
  background: linear-gradient(170deg, var(--glass-2), var(--glass-1) 75%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.35s var(--ease-glass), border-color 0.3s ease;
}
.engagement-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.24); }
.engagement-card-number {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.engagement-card h3 { font-size: 1.22rem; margin: 0; }
.engagement-card p { margin: 0 0 6px; color: var(--platinum); font-size: 0.89rem; line-height: 1.55; }
.engagement-card .text-link { font-size: 0.68rem; justify-self: start; }

/* the flagship sits in an iridescent seam */
.engagement-card--featured {
  border: 1px solid transparent;
  background:
    linear-gradient(170deg, var(--glass-3), var(--glass-1) 80%) padding-box,
    var(--iris) border-box;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}
.engagement-card--featured::before {
  content: "Flagship";
  position: absolute;
  top: -9px;
  right: 14px;
  padding: 2px 10px;
  background: var(--obsidian);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: transparent;
  background-image: var(--iris);
  -webkit-background-clip: text;
  background-clip: text;
}

.engagement-note {
  margin: 20px 0 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

@media (max-width: 1023px) {
  .engagements-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .engagements-grid { grid-template-columns: 1fr; }
}

/* ---------- contact ---------- */

.contact-section {
  position: relative;
  padding: clamp(70px, 11vw, 130px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(700px 380px at 50% 0%, rgba(125, 132, 230, 0.06), transparent 62%),
    var(--obsidian);
  overflow: hidden;
}
.contact-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--iris);
  opacity: 0.35;
}
.contact-inner { max-width: 46rem; margin-inline: auto; text-align: center; }
.contact-inner .eyebrow { justify-content: center; }
.contact-inner .section-title { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 30px 0 26px;
}
.copy-email {
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--platinum);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  word-break: break-all;
}
.copy-email:hover { color: var(--bone); border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.07); }
.copy-email.is-copied { color: var(--obsidian); background: var(--bone); border-color: var(--bone); }

.brief-prompt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.brief-prompt strong { color: var(--platinum); font-weight: 600; }
.brief-prompt span {
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(#0a0a0d, #060608);
  padding: clamp(40px, 6vw, 60px) 0 26px;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 52px);
  padding-bottom: clamp(26px, 4vw, 40px);
}
.footer-brand img { width: min(200px, 60vw); height: auto; margin-bottom: 14px; }
.footer-brand p { margin: 0; color: var(--dim); font-size: 0.92rem; max-width: 26em; }
.footer-column { display: grid; align-content: start; gap: 9px; }
.footer-column h2 {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dim);
}
.footer-column a {
  width: fit-content;
  font-size: 0.93rem;
  color: var(--platinum);
  text-decoration: none;
  transition: color 0.18s ease;
  word-break: break-word;
}
.footer-column a:hover { color: var(--bone); }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: var(--dim);
}
.footer-legal a { color: var(--platinum); }
.footer-legal a:hover { color: var(--bone); }

@media (max-width: 860px) {
  .footer-main { grid-template-columns: 1fr; }
}

/* ---------- artwork dialog: under museum glass ---------- */

.art-dialog {
  width: min(1080px, calc(100vw - 24px));
  max-height: calc(100vh - 32px);
  padding: 0;
  background: rgba(10, 10, 14, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--bone);
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.8);
}
.art-dialog::backdrop {
  background: rgba(4, 4, 6, 0.82);
  backdrop-filter: blur(10px);
}
.dialog-shell {
  position: relative;
  display: grid;
  padding: clamp(18px, 3vw, 34px);
}
.dialog-figure { margin: 0; display: grid; gap: 14px; justify-items: center; }
.dialog-figure img {
  max-height: min(74vh, 900px);
  width: auto;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-glass);
}
.dialog-caption {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--platinum);
}
.dialog-count {
  color: transparent;
  background: var(--iris);
  -webkit-background-clip: text;
  background-clip: text;
}
.dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  color: var(--bone);
  font-size: 1.3rem;
  line-height: 1;
}
.dialog-close:hover { background: rgba(255, 255, 255, 0.14); }
.dialog-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  color: var(--bone);
  font-size: 1.1rem;
}
.dialog-nav:hover { background: rgba(255, 255, 255, 0.14); }
.dialog-nav--prev { left: 10px; }
.dialog-nav--next { right: 10px; }
.dialog-help {
  margin: 14px 0 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
body.dialog-open { overflow: hidden; }
@media (max-width: 720px) {
  .dialog-help { display: none; }
}

/* ---------- work page ---------- */

.work-hero {
  position: relative;
  padding: clamp(52px, 8vh, 88px) 0 clamp(26px, 4vh, 44px);
  overflow: hidden;
}
.work-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, auto);
  gap: clamp(24px, 4vw, 60px);
  align-items: end;
}
.work-hero-copy .display-title { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.work-hero-copy p:not(.eyebrow) { color: var(--platinum); max-width: 36em; margin: 0; }
.work-hero-rail {
  display: grid;
  gap: 6px;
  justify-items: end;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: right;
}
.work-hero-rail span:first-child,
.work-hero-rail strong {
  color: transparent;
  background: var(--iris);
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 600;
}
@media (max-width: 780px) {
  .work-hero-inner { grid-template-columns: 1fr; }
  .work-hero-rail { justify-items: start; text-align: left; }
}

/* ---------- 404 ---------- */

.page-error .error-main,
.error-main {
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: clamp(60px, 10vh, 110px) clamp(1.25rem, 4vw, 2.5rem);
}
.error-code {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: transparent;
  background: var(--iris);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 14px;
  display: block;
}
.error-content h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.error-content p { color: var(--platinum); max-width: 34em; margin-inline: auto; }
.error-content .hero-actions { justify-content: center; margin-top: 26px; }

/* ---------- amaze pass: the glass comes alive ---------- */

/* struck facets stay worked: the surface remembers */
.fct.is-struck {
  fill: #2c313f;
  fill-opacity: 1;
  stroke: rgba(255, 255, 255, 0.3);
  transition: fill 0.15s ease, stroke 0.15s ease;
}

/* the strike counter engraved in the corner */
.strike-count {
  position: absolute;
  left: clamp(1.25rem, 4vw, 3rem);
  bottom: 16px;
  z-index: 2;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: transparent;
  background: var(--iris);
  -webkit-background-clip: text;
  background-clip: text;
  filter: saturate(0.85);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-glass);
  pointer-events: none;
}
.strike-count.is-on { opacity: 1; transform: translateY(0); }

/* first light: one specular sweep across the face at load */
.hero-sweep {
  position: absolute;
  inset: -12%;
  z-index: 1;
  background: linear-gradient(112deg, transparent 42%, rgba(255, 255, 255, 0.11) 49%, rgba(125, 132, 230, 0.09) 52%, rgba(207, 124, 196, 0.06) 55%, transparent 62%);
  mix-blend-mode: screen;
  transform: translateX(-72%);
  animation: hero-sweep 1.9s var(--ease-glass) 0.3s forwards;
  pointer-events: none;
}
@keyframes hero-sweep {
  to { transform: translateX(72%); }
}

/* the headline glints as the light passes over it */
.hero .display-title span:not(.steel-text) {
  background: linear-gradient(
    102deg,
    var(--bone) max(calc(var(--lx) - 24%), 0%),
    #ffffff var(--lx),
    var(--bone) min(calc(var(--lx) + 24%), 100%)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* framed work tilts toward the light like held glass */
.work-card-button {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.work-card-button:hover {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
}

/* flakes and cases chip in one at a time */
html.js:not(.shot) .process-step,
html.js:not(.shot) .engagement-card,
html.js:not(.shot) .service-row,
html.js:not(.shot) .work-card {
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-glass);
}
html.js:not(.shot) .container.is-in .process-step,
html.js:not(.shot) .container.is-in .engagement-card,
html.js:not(.shot) .container.is-in .service-row,
html.js:not(.shot) .container.is-in .work-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}
html.js:not(.shot) .container.is-in .process-step:nth-child(2),
html.js:not(.shot) .container.is-in .engagement-card:nth-child(2),
html.js:not(.shot) .container.is-in .service-row:nth-child(2),
html.js:not(.shot) .container.is-in .work-card:nth-child(2) { transition-delay: 0.1s; }
html.js:not(.shot) .container.is-in .process-step:nth-child(3),
html.js:not(.shot) .container.is-in .engagement-card:nth-child(3),
html.js:not(.shot) .container.is-in .service-row:nth-child(3),
html.js:not(.shot) .container.is-in .work-card:nth-child(3) { transition-delay: 0.2s; }
html.js:not(.shot) .container.is-in .process-step:nth-child(4),
html.js:not(.shot) .container.is-in .engagement-card:nth-child(4),
html.js:not(.shot) .container.is-in .service-row:nth-child(4),
html.js:not(.shot) .container.is-in .work-card:nth-child(4) { transition-delay: 0.3s; }
html.js:not(.shot) .container.is-in .process-step:nth-child(5) { transition-delay: 0.4s; }

/* work card tilt pre-state must not fight the reveal transform */
html.js:not(.shot) .container.is-in .work-card .work-card-button { transition-delay: 0s; }

/* the viewer settles like set glass */
.art-dialog[open] { animation: dialog-in 0.34s var(--ease-glass); }
@keyframes dialog-in {
  from { opacity: 0; transform: scale(0.965) translateY(10px); }
}

/* an idle glint crosses the email chip */
.copy-email {
  background-image: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
  background-size: 260% 100%;
  background-position: 130% 0;
  background-repeat: no-repeat;
  animation: chip-glint 8s ease-in-out 2s infinite;
}
@keyframes chip-glint {
  0% { background-position: 130% 0; }
  14% { background-position: -130% 0; }
  100% { background-position: -130% 0; }
}

/* ---------- motion safety ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
