/* Digisteel Drafting — hand-made stylesheet */
:root {
  --ink: #0A0E0C;
  --ink-2: #0F1512;
  --ink-3: #151D19;
  --ink-4: #1C2620;
  --line: rgba(205, 228, 213, 0.11);
  --line-2: rgba(205, 228, 213, 0.2);
  --text: #E9EFEB;
  --muted: #9BA9A1;
  --dim: #6D7B73;
  --green: #45B542;
  --green-2: #3DA33A;
  --lime: #8CF07B;
  --galv: #B9C4C8;
  --paper: #EDF1EE;
  --paper-2: #E1E7E3;
  --paper-ink: #0E1411;
  --paper-muted: #4C5A52;
  --radius: 14px;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 32px);
  --f-display: "Archivo", system-ui, sans-serif;
  --f-mark: "Michroma", "Archivo", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 var(--f-display);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 760; letter-spacing: -0.02em; line-height: 1; font-stretch: 112%; }
.display { font-size: clamp(42px, 7.2vw, 108px); line-height: 0.94; letter-spacing: -0.035em; }
.h2 { font-size: clamp(34px, 5vw, 70px); line-height: 0.98; letter-spacing: -0.03em; }
.h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.accent { color: var(--green); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 18px/1.2 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--green);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: ""; width: 20px; height: 17px; flex: none;
  background: currentColor;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%, 25% 0, 32% 14%, 21% 50%, 32% 86%, 68% 86%, 79% 50%, 68% 14%, 32% 14%);
}
.mono { font-family: var(--f-mono); }
.tag {
  display: inline-block; font: 500 11px/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--muted);
}

/* ---------- buttons ---------- */
.btn {
  --b: var(--green);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--b); color: #06140A; border: 1px solid transparent;
  font: 650 15px/1 var(--f-display); font-stretch: 108%; letter-spacing: 0.01em; text-decoration: none;
  cursor: pointer; transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s;
  box-shadow: 0 0 0 0 rgba(140, 240, 123, 0);
  white-space: nowrap;
}
.btn:hover { background: var(--lime); transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(140, 240, 123, .6); }
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { background: rgba(255, 255, 255, .06); color: var(--text); box-shadow: none; border-color: var(--lime); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .35s ease, border-color .35s ease, transform .4s ease;
  border-bottom: 1px solid transparent;
}
.site-head.is-solid { background: rgba(10, 14, 12, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line); }
.site-head.is-hidden { transform: translateY(-100%); }
/* the open menu is a fixed overlay inside the header: drop the blur so it isn't clipped to the bar */
.menu-open .site-head { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-color: transparent; transform: none; }
.head-in { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark { width: 44px; height: auto; }
.brand-word { font: 400 12.5px/1.25 var(--f-mark); letter-spacing: 0.16em; color: var(--text); }
.brand-word span { display: block; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a {
  position: relative; padding: 10px 14px; text-decoration: none; color: var(--muted);
  font: 500 15px/1 var(--f-display); transition: color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--green); border-radius: 2px; }
.head-cta { margin-left: 10px; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, top .3s, opacity .2s; }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 22px; }
.menu-btn span:nth-child(3) { top: 27px; }
.menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .head-cta { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: center; gap: 0;
    padding: 90px var(--gut) 40px; background: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
  }
  .nav a { font-size: clamp(30px, 9vw, 44px); font-weight: 720; font-stretch: 112%; color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--line); letter-spacing: -0.02em; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--green); }
  .nav .nav-cta { margin-top: 28px; border: 0; font: 650 17px/1 var(--f-display); letter-spacing: 0.01em; padding: 0 24px; color: #06140A; align-self: flex-start; }
  .brand, .menu-btn { position: relative; z-index: 2; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
}
@media (min-width: 901px) { .nav .nav-cta { display: none; } }

/* ---------- hero (home) ---------- */
.hero { position: relative; height: 470vh; background: radial-gradient(120% 80% at 70% 40%, #14201A 0%, var(--ink) 60%); }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.hero--ready .hero-canvas { opacity: 1; }
.hero-fallback-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.hero--fallback .hero-fallback-img { opacity: .45; }
.hero-scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 14, 12, .95) 0%, rgba(10, 14, 12, .86) 30%, rgba(10, 14, 12, .35) 52%, rgba(10, 14, 12, 0) 66%),
              linear-gradient(0deg, rgba(10, 14, 12, .9) 0%, rgba(10, 14, 12, 0) 26%); }
.hero-copy { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-46%); pointer-events: none; }
.hero-copy .wrap > * { pointer-events: auto; }
.hero-intro { max-width: 720px; transition: opacity .6s ease, transform .6s ease; }
.hero-intro .display { font-size: clamp(42px, 6vw, 94px); }
.hero[data-stage]:not([data-stage="-1"]) .hero-intro { opacity: 0; transform: translateY(-30px); pointer-events: none; }
.hero-intro .display { margin-bottom: 26px; }
.hero-intro .lead { margin: 0 0 34px; color: #B7C3BC; }
/* captions share one grid cell, centred between the menu bar and the parts counter */
.hero-steps { position: absolute; left: 0; right: 0; top: 96px; bottom: 120px; display: flex; align-items: center; pointer-events: none; }
.hero-steps .wrap { display: grid; }
.hero-step {
  grid-area: 1 / 1; max-width: 560px; opacity: 0; transform: translateY(40px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1);
}
.hero-step.is-on { opacity: 1; transform: none; }
.hero-step .n { font: 500 13px/1 var(--f-mono); color: var(--green); letter-spacing: .14em; display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.hero-step .n i { flex: none; width: 60px; height: 1px; background: var(--green); }
.hero-step h2 { font-size: clamp(40px, 6.2vw, 92px); line-height: .92; letter-spacing: -0.035em; margin-bottom: 20px; }
.hero-step p { color: #B7C3BC; font-size: clamp(16px, 1.4vw, 19px); max-width: 30em; margin: 0; }
.hud {
  position: absolute; left: 0; right: 0; bottom: 26px; pointer-events: none;
  font: 500 11.5px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.hud .wrap { display: flex; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.hud-count { font: 400 34px/1 var(--f-mark); color: var(--text); letter-spacing: 0; }
.hud-count small { font: 500 12px var(--f-mono); color: var(--dim); margin-left: 6px; }
.hud-meter { width: 180px; height: 2px; background: var(--line-2); margin-top: 10px; overflow: hidden; }
.hud-meter i { display: block; height: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); }
.hud-kinds { display: flex; gap: 22px; }
.hud-kinds b { display: block; color: var(--text); font-weight: 500; }
.hud-kinds .sw { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 1px; vertical-align: 0; }
.hud-scroll { margin-left: auto; display: flex; align-items: center; gap: 10px; transition: opacity .4s; }
.hero[data-stage="3"] .hud-scroll { opacity: 0; }
/* once the frame is built: click a member (the invite takes the "scroll to build" spot) */
.hud .hero-invite { position: absolute; right: var(--gut); bottom: 0; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.hud .wrap { position: relative; }
.hero.is-clickable .hero-invite { opacity: 1; transform: none; }
.hero.is-reading .hero-invite { opacity: 0; }
.hero.is-pointing .hero-canvas { cursor: pointer; }
.hero.is-reading .hero-step.is-on { opacity: 0; transform: translateY(-14px); }
.hero-scrim { transition: opacity .5s ease; }
.hero.is-reading .hero-scrim { opacity: 0; }   /* (the model slides left under it while a drawing is open) */
.hero .asm-tip { z-index: 8; }
@media (min-width: 901px) {
  .hero .asm-sheet { top: 92px; right: var(--gut); bottom: 96px; width: min(46vw, 720px); z-index: 9; }
}
.hud-scroll i { width: 1px; height: 38px; background: linear-gradient(var(--lime), transparent); animation: drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero-corner { position: absolute; top: 96px; right: var(--gut); font: 500 11px/1.6 var(--f-mono); letter-spacing: .1em; color: var(--dim); text-align: right; text-transform: uppercase; pointer-events: none; }
.hero-corner b { color: var(--muted); font-weight: 500; }

@media (max-width: 900px) {
  .hero { height: 420vh; }
  .hero-scrim { background: linear-gradient(0deg, rgba(10, 14, 12, .97) 0%, rgba(10, 14, 12, .9) 42%, rgba(10, 14, 12, .45) 58%, rgba(10, 14, 12, 0) 72%); }
  .hero-copy { top: auto; bottom: 120px; transform: none; }
  .hero-steps { top: 90px; bottom: 112px; align-items: flex-end; }
  .hero-corner { display: none; }
  .hud .wrap { gap: 16px; }
  .hud-kinds { display: none; }
  .hud-count { font-size: 26px; }
  .hud-meter { width: 120px; }
}
@media (max-width: 900px) and (max-height: 700px) {
  .hero-intro .lead { display: none; }
  .hero-scrim { background: linear-gradient(0deg, rgba(10, 14, 12, .97) 0%, rgba(10, 14, 12, .92) 55%, rgba(10, 14, 12, .5) 72%, rgba(10, 14, 12, 0) 85%); }
  .hero-step p { font-size: 15px; }
}
@media (min-width: 901px) and (max-height: 780px) {
  .hero-step h2 { font-size: clamp(36px, 5vw, 70px); margin-bottom: 14px; }
  .hero-step p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero-stage { position: relative; height: 100svh; }
  .hero-steps, .hud-scroll { display: none; }
}

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(84px, 11vw, 160px) 0; }
.sec--tight { padding: clamp(60px, 8vw, 110px) 0; }
.sec--paper { background: var(--paper); color: var(--paper-ink); color-scheme: light; }
.sec--paper .muted, .sec--paper .lead { color: var(--paper-muted); }
.sec--paper .eyebrow { color: var(--green-2); }
.sec--paper .tag { color: var(--paper-muted); border-color: rgba(14, 20, 17, .18); }
.sec--ink2 { background: var(--ink-2); }
.sec-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 80px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.sec-head .lead { margin: 0; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; } }

.grid-lines {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
}
.sec--paper.grid-lines {
  background-image:
    linear-gradient(rgba(14, 20, 17, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 20, 17, .07) 1px, transparent 1px);
}

/* statement */
.statement { font-size: clamp(30px, 4.3vw, 62px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; font-stretch: 110%; max-width: 19em; }
.statement .hl { color: var(--green-2); }
.statement .word { display: inline-block; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 8vw, 100px); border-top: 1px solid rgba(14, 20, 17, .16); }
.fact { padding: 26px 22px 0 0; }
.fact + .fact { padding-left: 22px; border-left: 1px solid rgba(14, 20, 17, .16); }
.fact b { display: block; font: 300 clamp(36px, 4.4vw, 62px)/1 var(--f-display); font-stretch: 125%; letter-spacing: -0.03em; margin-bottom: 14px; }
.fact > span { font: 500 12px/1.5 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--paper-muted); }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(14, 20, 17, .16); margin-top: 22px; }
}

/* deliverables */
.deliv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.deliv-card { position: relative; background: var(--ink); padding: 30px 26px 30px; min-height: 250px; display: flex; flex-direction: column; transition: background .3s; overflow: hidden; }
.deliv-card:hover { background: var(--ink-3); }
.deliv-card .code { font: 500 11px/1 var(--f-mono); color: var(--dim); letter-spacing: .12em; }
.deliv-card svg.ico { width: 54px; height: 54px; margin: 26px 0 auto; color: var(--green); }
.deliv-card h3 { font-size: 20px; line-height: 1.15; font-stretch: 106%; margin-top: 26px; letter-spacing: -0.01em; }
.deliv-card p { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.deliv-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.deliv-card:hover::after { transform: scaleX(1); }
.deliv-card--cta { background: var(--green-2); color: #06140A; justify-content: space-between; text-decoration: none; }
.deliv-card--cta:hover { background: var(--lime); }
.deliv-card--cta h3 { font-size: 26px; margin: 0; }
.deliv-card--cta .code { color: rgba(6, 20, 10, .6); }
.deliv-card--cta svg { width: 40px; height: 40px; }
@media (max-width: 1000px) { .deliv { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .deliv { grid-template-columns: 1fr; } .deliv-card { min-height: 0; } .deliv-card svg.ico { margin: 20px 0 0; } }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 20px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; animation: marq 38s linear infinite; padding-left: 48px; }
.marquee span { font: 500 clamp(16px, 1.6vw, 20px)/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: ""; width: 12px; height: 10px; background: var(--green); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* project rail (home) */
.rail-sec { overflow: hidden; }
.rail { display: flex; gap: 22px; padding: 0 var(--gut); width: max-content; }
.rail-item { position: relative; flex: none; margin: 0; }
.rail-item .ph { position: relative; height: clamp(280px, 56vh, 540px); aspect-ratio: var(--ar, 1.6); border-radius: var(--radius); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line); }
.rail-item .ph--paper { background: #fff; }
.rail-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.rail-item .ph--paper img { object-fit: contain; padding: 4%; }
.rail-item:hover img { transform: scale(1.04); }
.rail-item figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: 15px; color: var(--muted); }
.rail-item figcaption b { color: var(--text); font-weight: 600; }
.rail-item .tag { flex: none; }
.rail-end { flex: none; width: min(70vw, 380px); display: flex; flex-direction: column; justify-content: center; padding: 0 20px; }
@media (max-width: 900px) {
  .rail { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail-item { width: 84vw; scroll-snap-align: center; }
  .rail-item .ph { height: auto; width: 100%; aspect-ratio: 4 / 3; }
  .rail-end { width: 70vw; }
}

/* split (about teaser etc.) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.photo-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.photo-frame img { width: 100%; height: auto; }
.photo-frame .stamp { position: absolute; left: 14px; bottom: 14px; }
.callouts { position: absolute; inset: 0; pointer-events: none; }
.quote { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; font-weight: 600; font-stretch: 104%; letter-spacing: -0.015em; margin: 0 0 30px; }
.checks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.checks li b { color: var(--text); font-weight: 600; }
.sec--paper .checks li { color: var(--paper-muted); }
.sec--paper .checks li b { color: var(--paper-ink); }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--green); margin-top: 2px; }

/* steeltally band */
.st-band { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; padding: clamp(34px, 5vw, 64px); background: linear-gradient(120deg, #0F2117 0%, #0B140F 55%, #0A0E0C 100%); border: 1px solid rgba(69, 181, 66, .35); display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px 60px; align-items: center; }
.st-band h2 { font-size: clamp(34px, 5vw, 70px); line-height: 0.98; letter-spacing: -0.03em; margin-bottom: 16px; }   /* every section heading one size (2026-10-27) */
.st-band p { color: var(--muted); margin: 0; max-width: 34em; }
.st-band .btns { justify-content: flex-end; }
.st-band .st-logo { font: 800 15px/1 var(--f-display); letter-spacing: .02em; color: var(--text); display: inline-flex; gap: 0; margin-bottom: 18px; }
.st-band .st-logo b { color: var(--green); }
.st-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(140, 240, 123, .18), transparent 65%); pointer-events: none; }
@media (max-width: 800px) { .st-band { grid-template-columns: 1fr; } .st-band .btns { justify-content: flex-start; } }

/* big CTA */
.cta { text-align: left; }
.cta .display { font-size: clamp(44px, 8.4vw, 132px); margin-bottom: 40px; }
.cta-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 56px; }
.cta-cell { background: var(--ink); padding: 26px 26px 28px; text-decoration: none; display: block; transition: background .3s; }
a.cta-cell:hover { background: var(--ink-3); }
.cta-cell .k { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; color: var(--dim); text-transform: uppercase; }
.cta-cell .v { display: block; margin-top: 14px; font-size: clamp(18px, 1.8vw, 24px); font-weight: 650; font-stretch: 104%; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.cta-cell .s { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
@media (max-width: 800px) { .cta-row { grid-template-columns: 1fr; } }

/* ---------- page heads (inner pages) ---------- */
.page-head { position: relative; padding: calc(76px + clamp(70px, 10vw, 150px)) 0 clamp(60px, 8vw, 110px); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-head .display { max-width: 12em; }
.page-head .lead { margin-top: 28px; }
.page-head-bg { position: absolute; inset: 0; z-index: -1; }
.page-head-bg img { width: 100%; height: 115%; object-fit: cover; opacity: .55; filter: saturate(.9); }
.page-head-bg { overflow: hidden; }
.page-head-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 12%, rgba(10, 14, 12, .78) 45%, rgba(10, 14, 12, .25) 100%), linear-gradient(0deg, var(--ink) 0%, rgba(10, 14, 12, 0) 45%); }
.crumbs { font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 26px; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--lime); }

/* dimension line ornament */
.dim { display: flex; align-items: center; gap: 12px; font: 500 11px/1 var(--f-mono); color: var(--dim); letter-spacing: .1em; margin: 0 0 40px; }
.dim svg { flex: 1; height: 12px; color: var(--dim); overflow: visible; }

/* ---------- services: process ---------- */
.process { position: relative; display: grid; gap: 0; }
.proc { display: grid; grid-template-columns: 140px 1fr 1fr; gap: 30px 60px; padding: clamp(40px, 5vw, 70px) 0; border-top: 1px solid var(--line); align-items: start; }
.proc:last-child { border-bottom: 1px solid var(--line); }
.proc-n { font: 400 clamp(44px, 5vw, 72px)/1 var(--f-mark); color: transparent; -webkit-text-stroke: 1px var(--green); letter-spacing: -0.04em; }
.proc h3 { font-size: clamp(26px, 2.8vw, 40px); margin-bottom: 18px; }
.proc p { color: var(--muted); margin: 0 0 14px; }
.proc ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.proc-art { border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.proc-art img { width: 100%; height: 100%; object-fit: cover; }
.proc-art--paper { background: #fff; }
.proc-art--paper img { object-fit: contain; padding: 4%; }
.proc-art svg { width: 100%; height: 100%; }
.proc-sheets { display: grid; gap: 12px; }
.proc-sheets .zoom { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; cursor: zoom-in; aspect-ratio: 1.585; }
.proc-sheets .zoom img { width: 100%; height: 100%; object-fit: contain; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.proc-sheets .zoom:hover img { transform: scale(1.03); }
@media (max-width: 1000px) { .proc { grid-template-columns: 90px 1fr; } .proc-art, .proc-sheets { grid-column: 1 / -1; } }
@media (max-width: 560px) { .proc { grid-template-columns: 1fr; gap: 18px; } }

.provide { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 60px; counter-reset: p; }
.provide-item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid rgba(14, 20, 17, .14); }
.provide-item svg { width: 48px; height: 48px; color: var(--green-2); }
.provide-item h3 { font-size: 21px; font-stretch: 104%; letter-spacing: -0.01em; margin-bottom: 8px; line-height: 1.2; }
.provide-item p { margin: 0; color: var(--paper-muted); font-size: 16px; }
@media (max-width: 800px) { .provide { grid-template-columns: 1fr; } }


/* ---------- projects ---------- */
.viewer { position: relative; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); overflow: hidden; background: radial-gradient(100% 90% at 50% 30%, #16231C, var(--ink) 70%); height: min(78vh, 720px); min-height: 440px; touch-action: pan-y; cursor: grab; }
.viewer:active { cursor: grabbing; }
.viewer.is-in-use { border-color: rgba(69, 181, 66, .5); }   /* (the model has the wheel and the fingers till a press elsewhere - members.js) */
.viewer canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.viewer-ui { position: absolute; left: 18px; right: 18px; top: 18px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.viewer-ui > * { pointer-events: auto; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(10, 14, 12, .7); border: 1px solid var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.seg button { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; cursor: pointer; font: 500 13px/1 var(--f-display); color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--green); color: #06140A; }
.viewer-stats { position: absolute; left: 18px; bottom: 16px; font: 500 11.5px/1.6 var(--f-mono); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.viewer-stats b { color: var(--text); font-weight: 500; }
.viewer-hint { position: absolute; right: 18px; bottom: 16px; font: 500 11.5px/1 var(--f-mono); color: var(--dim); letter-spacing: .08em; text-transform: uppercase; pointer-events: none; display: flex; gap: 8px; align-items: center; }
.viewer-hint svg { width: 18px; height: 18px; }
.viewer-load { position: absolute; inset: 0; display: grid; place-items: center; font: 500 12px var(--f-mono); color: var(--dim); letter-spacing: .1em; text-transform: uppercase; transition: opacity .5s; }
.viewer.is-ready .viewer-load { opacity: 0; pointer-events: none; }
.viewer--fallback { cursor: default; }
.viewer--fallback .viewer-load { opacity: 1; }
.viewer-load--retry { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 0 24px; text-align: center; line-height: 1.6; }

.onsite { margin-top: clamp(70px, 9vw, 120px); }
.sec-head--sub { margin-bottom: clamp(30px, 4vw, 48px); }
.h2--sub { font-size: clamp(34px, 5vw, 70px); }   /* (same as .h2 - every section heading one size, 2026-10-27) */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pair-item { position: relative; margin: 0; }
.viewer--pair { height: auto; min-height: 0; aspect-ratio: 1.72; }
.pair-photo { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); overflow: hidden; cursor: zoom-in; background: var(--ink-3); aspect-ratio: 1.72; }
.pair-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.pair-photo:hover img { transform: scale(1.03); }
.pair-tag { position: absolute; left: 16px; top: 16px; pointer-events: none; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #06140A; background: var(--green); padding: 7px 10px; border-radius: 6px; }
@media (max-width: 900px) { .pair { grid-template-columns: 1fr; } }

.gal-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.gal { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.gal figure { margin: 0; position: relative; grid-column: span 4; }
.gal figure.w6 { grid-column: span 6; }
.gal figure.w8 { grid-column: span 8; }
.gal figure.w12 { grid-column: span 12; }
.gal button.zoom { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--ink-3); aspect-ratio: var(--ar, 4 / 3); }
.gal button.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1), opacity .4s; }
.gal button.zoom:hover img { transform: scale(1.035); }
.gal .paper button.zoom { background: #fff; }
.gal .paper button.zoom img { object-fit: contain; padding: 3%; }
.gal figcaption { margin-top: 12px; font-size: 14.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.gal figcaption b { color: var(--text); font-weight: 600; }
.sec--paper .gal figcaption { color: var(--paper-muted); }
.sec--paper .gal figcaption b { color: var(--paper-ink); }
.sec--paper .gal button.zoom { border-color: rgba(14, 20, 17, .14); }
@media (max-width: 900px) { .gal figure, .gal figure.w6, .gal figure.w8 { grid-column: span 12; } .gal figure.half-sm { grid-column: span 6; } }

.note { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 10px; padding: 14px 16px; max-width: 46em; }
.note svg { flex: none; width: 18px; height: 18px; color: var(--green); margin-top: 3px; }
.sec--paper .note { color: var(--paper-muted); border-color: rgba(14, 20, 17, .22); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 8, 6, .94); display: grid; place-items: center; padding: 60px 20px 30px; opacity: 0; transition: opacity .3s; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1600px, 100%); max-height: 100%; object-fit: contain; border-radius: 8px; background: #fff; }
.lightbox img.dark { background: transparent; }
.lb-close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font-size: 26px; line-height: 1; cursor: pointer; color: var(--text); }
.lb-cap { position: absolute; left: 20px; top: 24px; font: 500 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); max-width: calc(100% - 100px); }

/* ---------- about ---------- */
.about-photo { position: relative; }
.about-photo .photo-frame img { object-fit: cover; }   /* (the whole photo shows, at its own shape) */
.about-photo .stamp-card { position: absolute; right: -14px; bottom: -26px; background: var(--green-2); color: #06140A; border-radius: 12px; padding: 18px 20px; font: 500 11px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.about-photo .stamp-card b { display: block; font: 400 30px/1 var(--f-mark); letter-spacing: -0.02em; margin-bottom: 6px; text-transform: none; }
@media (max-width: 560px) { .about-photo .stamp-card { right: 10px; bottom: -22px; } }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { border-top: 2px solid var(--green-2); padding-top: 22px; }
.value h3 { font-size: 21px; font-stretch: 104%; margin-bottom: 10px; letter-spacing: -0.01em; }
.value p { margin: 0; font-size: 15.5px; color: var(--paper-muted); }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; gap: 34px 22px; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.timeline li { background: var(--ink); padding: 30px 26px 34px; }
.timeline .yr { font: 400 clamp(28px, 3vw, 40px)/1 var(--f-mark); color: var(--green); letter-spacing: -0.02em; }
.timeline h3 { font-size: 20px; margin: 20px 0 8px; font-stretch: 104%; }
.timeline p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 800px) { .timeline { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.c-cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.c-card { display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: center; background: var(--ink); padding: 24px 24px; text-decoration: none; transition: background .25s; }
a.c-card:hover { background: var(--ink-3); }
.c-card svg.i { width: 26px; height: 26px; color: var(--green); }
.c-card .k { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; color: var(--dim); text-transform: uppercase; }
.c-card .v { display: block; margin-top: 8px; font-size: clamp(18px, 2vw, 23px); font-weight: 650; font-stretch: 104%; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.c-card .arrow { width: 20px; height: 20px; color: var(--muted); transition: transform .25s, color .25s; }
a.c-card:hover .arrow { transform: translateX(4px); color: var(--lime); }
.hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; font-size: 16px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); padding: clamp(24px, 3vw, 36px); }
.panel h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 14px; }
.panel p { color: var(--muted); }
.panel + .panel { margin-top: 20px; }
.send-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.send-list li { display: flex; gap: 12px; color: var(--muted); font-size: 16px; }
.send-list li::before { content: ""; flex: none; width: 12px; height: 10px; margin-top: 8px; background: var(--green); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.loc-map { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); margin-top: 20px; }
.loc-map svg { width: 100%; height: 100%; }

@media (max-width: 600px) {
  .viewer-hint { display: none; }
  .viewer-stats { right: 18px; }
}
@media (max-width: 480px) {
  .c-card { grid-template-columns: 26px 1fr; gap: 14px; padding: 22px 18px; }
  .c-card .arrow { display: none; }
  .c-card .v { font-size: 17px; overflow-wrap: normal; }
}

/* ---------- legal pages ---------- */
.legal-body > * { max-width: 760px; }
.legal-body h2 { font-size: 24px; font-stretch: 104%; margin: 44px 0 14px; letter-spacing: -0.01em; }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body a { color: var(--lime); }
.legal-body ul { padding-left: 20px; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 70px 0 34px; background: var(--ink); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-grid h4 { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.foot-grid a { display: block; text-decoration: none; color: var(--muted); padding: 5px 0; font-size: 15.5px; }
.foot-grid a:hover { color: var(--lime); }
.foot-grid a.brand { display: flex; padding: 0; }
.foot-brand p { color: var(--muted); font-size: 15px; max-width: 24em; margin: 20px 0 0; }
.foot-contact p { margin: 0 0 4px; color: var(--muted); font-size: 15.5px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); font: 500 12px/1.6 var(--f-mono); letter-spacing: .06em; color: var(--dim); }
.foot-legal a { color: var(--muted); text-decoration: none; }
.foot-legal a:hover { color: var(--lime); }
.foot-big { font: 400 clamp(34px, 9.4vw, 150px)/0.9 var(--f-mark); letter-spacing: -0.02em; color: transparent; -webkit-text-stroke: 1px rgba(205, 228, 213, .16); margin-top: 60px; white-space: nowrap; overflow: hidden; user-select: none; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- reveal helpers (JS adds .js on <html>) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); }
.js .is-in[data-reveal], .no-motion [data-reveal] { opacity: 1; transform: none; }
.split-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-line > span { display: inline-block; will-change: transform; }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gut) 60px; }
.nf .display { font-family: var(--f-mark); font-weight: 400; color: transparent; -webkit-text-stroke: 1px var(--green); font-size: clamp(90px, 22vw, 260px); }

/* ---------- click a member, see its shop drawing (Projects) ---------- */
/* the model and the drawing side by side; the drawing slides in over the right of the stage */
.asm-stage { position: relative; }
.asm-viewer { height: min(80vh, 760px); cursor: default; }
.asm-viewer.is-pointing { cursor: pointer; }
.asm-viewer.is-dragging { cursor: grabbing; }

.asm-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 999px;
  background: rgba(10, 14, 12, .7); border: 1px solid var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.asm-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(140, 240, 123, .18); animation: asmPing 2.2s ease-out infinite; }
@keyframes asmPing { 0% { box-shadow: 0 0 0 0 rgba(140, 240, 123, .5); } 80%, 100% { box-shadow: 0 0 0 10px rgba(140, 240, 123, 0); } }
.asm-chip span { color: var(--text); }

/* the label that follows the pointer */
.asm-tip {
  position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; min-width: 170px;
  padding: 10px 12px 11px; border-radius: 10px; background: rgba(8, 12, 10, .92); border: 1px solid rgba(140, 240, 123, .45);
  box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .8); transform: translate(16px, 16px);
}
.asm-tip b { display: block; font: 400 17px/1.1 var(--f-mark); color: var(--lime); letter-spacing: .02em; }
.asm-tip span { display: block; margin-top: 6px; font: 500 11.5px/1.4 var(--f-mono); color: var(--text); letter-spacing: .04em; }
.asm-tip em { display: block; margin-top: 6px; font: 500 10.5px/1 var(--f-mono); font-style: normal; color: var(--dim); letter-spacing: .1em; text-transform: uppercase; }
.asm-tip.is-none { border-color: var(--line-2); }
.asm-tip.is-none b { color: var(--muted); font: 600 13px/1.2 var(--f-display); }

/* the drawing */
.asm-sheet {
  position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(58%, 820px); z-index: 6;
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--paper); color: var(--paper-ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .75), 0 0 0 1px rgba(140, 240, 123, .35);
  transform: translateX(calc(100% + 24px)); opacity: 0; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s;
}
.asm-sheet.is-open { transform: none; opacity: 1; }
.asm-sheet[hidden] { display: none; }
.asm-sheet-head { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px 12px; border-bottom: 1px solid #CCD5D0; }
.asm-kicker { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--green-2); }
.asm-mark { margin-top: 8px; font: 400 clamp(26px, 2.6vw, 36px)/1 var(--f-mark); letter-spacing: .01em; color: var(--paper-ink); }
.asm-meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 16px; font: 500 12px/1.3 var(--f-mono); color: var(--paper-muted); }
.asm-meta b { color: var(--paper-ink); font-weight: 500; }
.asm-x { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #C4CEC8; background: #fff; color: var(--paper-ink); font-size: 24px; line-height: 1; cursor: pointer; }
.asm-x:hover { border-color: var(--green-2); color: var(--green-2); }

.asm-paper { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #FFF6D2; cursor: grab; touch-action: none; }
.asm-paper:active { cursor: grabbing; }
.asm-paper img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; user-select: none; -webkit-user-select: none; opacity: 0; transition: opacity .25s; }
.asm-paper.is-loaded img { opacity: 1; }
.asm-paper img { mix-blend-mode: multiply; }
.asm-paper-load { position: absolute; inset: 0; display: grid; place-items: center; font: 500 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--paper-muted); }
.asm-paper.is-loaded .asm-paper-load { display: none; }

.asm-sheet-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid #CCD5D0; background: var(--paper-2); }
.seg--light { background: #fff; border-color: #C4CEC8; backdrop-filter: none; }
.seg--light button { color: var(--paper-muted); }
.seg--light button:hover { color: var(--paper-ink); }
.asm-step { display: flex; align-items: center; gap: 10px; font: 500 12px var(--f-mono); color: var(--paper-muted); }
.asm-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #C4CEC8; background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--paper-ink); }
.asm-arrow:hover { border-color: var(--green-2); color: var(--green-2); }

@media (max-width: 900px) {
  .asm-viewer { height: 70vh; min-height: 420px; }
  /* on a phone the drawing covers the whole screen */
  .asm-sheet { position: fixed; inset: 0; width: auto; border-radius: 0; z-index: 250; transform: translateY(30px); }
  .asm-sheet.is-open { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .asm-sheet, .asm-paper img { transition: none; }
  .asm-chip i { animation: none; }
}

/* ---------- projects: one job after another, each a panel with its title on top of its own model ---------- */
.job + .job { margin-top: clamp(64px, 8vw, 110px); }
article.job {
  position: relative; padding: clamp(14px, 2.4vw, 30px);
  border: 1px solid var(--line-2); border-radius: calc(var(--radius) + 10px);
  background: linear-gradient(180deg, var(--ink-4), var(--ink-2) 220px);
}
article.job::before { content: ""; position: absolute; left: clamp(14px, 2.4vw, 30px); top: -1px; width: 96px; height: 3px; border-radius: 0 0 3px 3px; background: var(--green); }
article.job + article.job { margin-top: clamp(80px, 10vw, 140px); }
article.job:first-of-type { margin-top: clamp(30px, 4vw, 48px); }
.job-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px 60px; align-items: end; margin: 6px 4px clamp(18px, 2vw, 24px); padding-bottom: clamp(16px, 2vw, 22px); border-bottom: 1px solid var(--line); }
.job-head .eyebrow { margin-bottom: 14px; }
.job-head .h2 { margin: 0; }
.job-head .lead { margin: 0; }
.job-num { font: 500 18px/1 var(--f-mono); letter-spacing: .12em; color: var(--dim); margin-right: 12px; }
@media (max-width: 900px) { .job-head { grid-template-columns: 1fr; } }
