:root {
  --steel: #c9cdd1;      /* galvanizado: page ground */
  --steel-deep: #b5bac0; /* hairlines, wells */
  --sheet: #e3e6e9;      /* drawing sheet */
  --ink: #15171c;
  --ink-soft: #454a53;
  --night: #0f1115;
  --magenta: #e6007e;    /* proceso M */
  --magenta-btn: #c8006c;
  --cyan: #0098da;       /* proceso C — lines */
  --cyan-text: #005f8c;  /* proceso C — text on light */
  --yellow: #ffe500;     /* proceso Y */

  --f-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Onest", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --pad: clamp(1.1rem, 4vw, 3.5rem);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--steel);
  color: var(--ink);
  font: 400 1rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: .5rem;
  background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 50;
}
.skip:focus { left: .5rem; }

/* ---------- type ---------- */
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.005em;
  margin: 0;
}
h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h3 { font-size: 1.9rem; font-weight: 700; }

.eyebrow {
  font: 500 .72rem/1.4 var(--f-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cyan-text);
  margin: 0 0 1rem;
  display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before {
  content: ""; width: 1.6rem; height: 0;
  border-top: 1.5px solid currentColor;
}
.eyebrow-light { color: var(--cyan); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.35rem;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 600 .98rem/1 var(--f-body);
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-magenta { background: var(--magenta-btn); color: #fff; box-shadow: 0 0 0 0 rgba(230,0,126,0); }
.btn-magenta:hover { background: #b0005f; box-shadow: 0 6px 24px -6px rgba(230,0,126,.65); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2a2d35; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 2.5rem; padding: .5rem 1rem; font-size: .9rem; }
.btn-wide { width: 100%; }

/* ---------- Arkon proposal bar ---------- */
.demo-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.25rem;
  padding: .45rem var(--pad);
  background: var(--ink); color: #c9ced5;
  font: 500 .68rem/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .06em;
}
.demo-bar-note { color: #8a939e; margin-right: auto; }
.demo-bar a { color: #fff; text-decoration: none; }
.demo-bar a:hover { text-decoration: underline; text-decoration-color: var(--magenta); text-underline-offset: 3px; }
@media (max-width: 480px) { .demo-bar-note { display: none; } }

/* ---------- header ---------- */
.top {
  display: flex; align-items: center; gap: 2rem;
  padding: 1rem var(--pad);
  position: sticky; top: 0; z-index: 20;
  background: var(--steel);
  border-bottom: 1px solid var(--steel-deep);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 35%, var(--cyan) 0 38%, transparent 39%),
    radial-gradient(circle at 70% 35%, var(--magenta) 0 38%, transparent 39%),
    radial-gradient(circle at 50% 70%, var(--yellow) 0 38%, transparent 39%);
  mix-blend-mode: multiply;
}
.brand-name {
  font: 900 1.45rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em;
}
.brand-name b { font-weight: 500; margin-left: .2rem; }
.top-nav { display: flex; gap: 1.6rem; }
.top-nav a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.top-nav a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--magenta); }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4.5rem) var(--pad) clamp(3rem, 6vw, 6rem);
}
.hero h1 {
  font-size: clamp(3.4rem, 7.4vw, 7.2rem);
  margin-bottom: 1.4rem;
}
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 34ch; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.facade {
  margin: 0;
  position: relative;
  background: var(--night);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 7 / 6;
  /* Never taller than the visible screen under the sticky header. */
  --fit-h: calc(100vh - 9rem);
  width: 100%;
  max-width: calc(var(--fit-h) * 7 / 6);
  justify-self: center;
  container-type: inline-size;
  color: #d8dde3;
}
.facade-wall {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 45% at 50% 48%, rgba(230,0,126,.0), transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(255,255,255,.045) 46px 47px),
    linear-gradient(180deg, #171a20 0%, #0d0f13 70%, #08090b 100%);
  transition: background .6s ease;
}
.facade.is-lit .facade-wall {
  background:
    radial-gradient(62% 40% at 50% 46%, rgba(230,0,126,.26), transparent 72%),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(255,255,255,.05) 46px 47px),
    linear-gradient(180deg, #171a20 0%, #0d0f13 70%, #08090b 100%);
}
.sign-stage {
  position: absolute;
  left: 50%; top: 47%;
  transform: translate(-50%, -50%);
  width: max-content;
}
.sign {
  display: flex; flex-direction: column; align-items: flex-start;
}
.sign-word {
  font-family: var(--f-display);
  font-weight: 900;
  line-height: .82;
  display: flex;
  user-select: none;
}
.sign-magenta { font-size: 19.5cqi; }
.sign-white { font-size: 11cqi; align-self: flex-end; margin-top: 1.5cqi; letter-spacing: .06em; }

.sign-word .l {
  color: #2a1a23;
  text-shadow: 1px 1px 0 #1d1219, 2px 2px 0 #140d11;
  transition: color .08s linear, text-shadow .08s linear;
}
.sign-white .l { color: #23262b; text-shadow: 1px 1px 0 #191b1f, 2px 2px 0 #111214; }

.facade.is-lit .sign-magenta .l.on {
  color: #ffd1ea;
  text-shadow:
    1px 1px 0 #7a0043, 2px 2px 0 #4d002a,
    0 0 4px #ff5cb4, 0 0 14px #ff2a9a, 0 0 34px var(--magenta), 0 0 70px rgba(230,0,126,.55);
}
.facade.is-lit .sign-white .l.on {
  color: #ffffff;
  text-shadow:
    1px 1px 0 #6d7580, 2px 2px 0 #3c4148,
    0 0 4px #fff, 0 0 12px #dbe9ff, 0 0 30px rgba(180,210,255,.7);
}
.facade.is-lit .l.buzz { animation: buzz 3.2s steps(1) infinite; will-change: opacity; }
.facade.is-offscreen .l.buzz { animation-play-state: paused; }
@keyframes buzz {
  0%, 91%, 100% { opacity: 1; }
  92% { opacity: .35; }
  93% { opacity: 1; }
  95% { opacity: .5; }
  96% { opacity: 1; }
}

.dim { position: absolute; color: var(--cyan); font: 500 clamp(.55rem, 1.6cqi, .75rem)/1 var(--f-mono); opacity: 0; transition: opacity .5s ease .2s; }
.facade.is-drawn .dim, .facade.is-drawn .callout { opacity: 1; }
.dim-top { left: 0; right: 0; top: -2.6cqi; height: 0; border-top: 1px solid currentColor; }
.dim-top::before, .dim-top::after {
  content: ""; position: absolute; top: -6px; height: 11px; border-left: 1px solid currentColor;
}
.dim-top::before { left: 0; }
.dim-top::after { right: 0; }
.dim-top span { position: absolute; left: 50%; top: -1.9em; transform: translateX(-50%); background: var(--night); padding: 0 .5em; }
.dim-side { top: 0; bottom: 0; left: -3.4cqi; width: 0; border-left: 1px solid currentColor; }
.dim-side::before, .dim-side::after {
  content: ""; position: absolute; left: -6px; width: 11px; border-top: 1px solid currentColor;
}
.dim-side::before { top: 0; }
.dim-side::after { bottom: 0; }
.dim-side span { position: absolute; top: 50%; left: -.9em; transform: translate(-50%, -50%) rotate(-90deg); white-space: nowrap; background: var(--night); padding: 0 .5em; }

.callout {
  position: absolute; display: flex; align-items: flex-start; gap: .5rem;
  font: 400 clamp(.5rem, 1.45cqi, .68rem)/1.45 var(--f-mono);
  color: #aab3bd; opacity: 0; transition: opacity .5s ease .5s;
}
.callout i { flex: none; width: 3.2rem; height: 0; border-top: 1px solid var(--cyan); margin-top: .55em; position: relative; }
.callout i::before { content: ""; position: absolute; left: -3px; top: -3.5px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.callout { top: calc(100% + 2.2cqi); }
.callout i { width: 2rem; }
.callout-a { right: 0; flex-direction: row-reverse; text-align: right; }
.callout-b { left: 0; }

.titleblock {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: auto 1fr auto;
  border-top: 1px solid rgba(255,255,255,.12);
  font: 400 clamp(.5rem, 1.4cqi, .66rem)/1 var(--f-mono);
  text-transform: uppercase; letter-spacing: .08em; color: #7d8792;
}
.titleblock span { padding: .85em 1.2em; }
.titleblock span + span { border-left: 1px solid rgba(255,255,255,.12); }

/* ---------- sections ---------- */
.section-head { max-width: 46rem; margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }

.work { padding: clamp(3rem, 7vw, 6rem) var(--pad); border-top: 1px solid var(--steel-deep); }

.work-tabs {
  display: flex; gap: .4rem; overflow-x: auto;
  padding-bottom: .25rem; margin-bottom: 1.25rem;
  scrollbar-width: thin;
}
.work-tabs button {
  flex: none;
  border: 1.5px solid var(--ink); background: transparent; border-radius: 999px;
  padding: .55rem 1.1rem; cursor: pointer; font-weight: 500; font-size: .93rem;
  transition: background-color .15s ease, color .15s ease;
}
.work-tabs button:hover { background: rgba(21,23,28,.08); }
.work-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }

.panel {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  background: var(--sheet); border-radius: 10px; overflow: hidden;
  animation: panel-in .35s ease;
}
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.plate {
  padding: clamp(1rem, 3vw, 2.5rem);
  background:
    linear-gradient(rgba(0,152,218,.09) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(0,152,218,.09) 1px, transparent 1px) 0 0 / 24px 24px,
    #eef0f2;
  border-right: 1px solid var(--steel-deep);
  display: grid; place-items: center;
}
.plate { position: relative; }
.plate .drawing { width: 100%; max-width: 520px; height: auto; }
.gallery { display: none; }

/* With real photos: photo leads, the drawing becomes a small spec inset. */
.plate.has-photos { padding: 0; place-items: stretch; background: var(--night); }
.plate.has-photos .gallery { display: flex; flex-direction: column; min-width: 0; }
.plate.has-photos .drawing {
  position: absolute; top: .9rem; right: .9rem;
  width: 9.5rem; padding: .35rem;
  background:
    linear-gradient(rgba(0,152,218,.09) 1px, transparent 1px) 0 0 / 12px 12px,
    linear-gradient(90deg, rgba(0,152,218,.09) 1px, transparent 1px) 0 0 / 12px 12px,
    #eef0f2;
  border-radius: 6px;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,.6);
  pointer-events: none;
}
.gallery-main { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #0b0c0f; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-main figcaption {
  position: absolute; left: 0; bottom: 0;
  padding: .55rem .9rem;
  background: rgba(15,17,21,.82); color: #e7eaee;
  font: 400 .68rem/1.3 var(--f-mono); letter-spacing: .04em;
  border-top-right-radius: 6px;
}
.gallery-main figcaption b { color: #fff; font-weight: 500; }
.gallery-thumbs { display: flex; gap: .45rem; padding: .55rem; overflow-x: auto; background: var(--night); scrollbar-width: thin; }
.gallery-thumbs button {
  flex: none; width: 4.25rem; aspect-ratio: 1; padding: 0;
  border: 2px solid transparent; border-radius: 4px; overflow: hidden;
  background: #1b1e24; cursor: pointer; opacity: .55;
  transition: opacity .15s, border-color .15s;
}
.gallery-thumbs button:hover { opacity: .9; }
.gallery-thumbs button[aria-pressed="true"] { opacity: 1; border-color: var(--magenta); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

.preview-note { margin: 0; padding: 2.5rem 1.5rem; color: #a3acb6; text-align: center; font-size: .95rem; }
.plate .wall { fill: none; stroke: var(--steel-deep); stroke-width: 1; }
.plate .ln { fill: none; stroke: var(--ink); stroke-width: 2; }
.plate .ln.thin { stroke-width: 1; stroke: var(--ink-soft); }
.plate .dm { stroke: var(--cyan); stroke-width: 1.2; }
.plate .tx { fill: var(--cyan-text); font: 500 11px var(--f-mono); text-anchor: middle; }
.plate .glow { fill: rgba(230,0,126,.14); }
.plate .accent { fill: var(--magenta); }
.plate .sg { font: 900 44px var(--f-display); fill: var(--magenta); text-anchor: middle; }
.plate .letters { font: 900 128px var(--f-display); text-anchor: middle; }
.plate .letters.depth { fill: var(--steel-deep); }
.plate .letters.face { fill: var(--sheet); stroke: var(--ink); stroke-width: 2; }
.plate .grommets circle { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.5; }

.panel-copy { padding: clamp(1.4rem, 3vw, 2.6rem); display: flex; flex-direction: column; align-items: flex-start; }
.panel-copy h3 { margin-bottom: .75rem; }
.panel-copy > p { color: var(--ink-soft); margin: 0 0 1.5rem; max-width: 40ch; }
.panel-copy h4 {
  font: 500 .7rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em;
  color: var(--cyan-text); margin: 0 0 .7rem;
}
.checklist { list-style: none; padding: 0; margin: 0 0 1.8rem; width: 100%; }
.checklist li {
  padding: .6rem 0 .6rem 1.7rem; border-top: 1px solid var(--steel-deep); position: relative;
}
.checklist li:last-child { border-bottom: 1px solid var(--steel-deep); }
.checklist li::before {
  content: ""; position: absolute; left: .1rem; top: 1.05rem;
  width: .8rem; height: 0; border-top: 1.5px solid var(--cyan);
}
.checklist li::after {
  content: ""; position: absolute; left: .1rem; top: .8rem; height: .5rem; border-left: 1.5px solid var(--cyan);
}
.panel-copy .btn { margin-top: auto; }

.work-more { margin: 1.25rem 0 0; color: var(--ink-soft); }
.work-more a { font-weight: 600; color: var(--ink); text-decoration-color: var(--magenta); text-underline-offset: 3px; }

/* ---------- process ---------- */
.process { padding: clamp(3rem, 7vw, 6rem) var(--pad); border-top: 1px solid var(--steel-deep); }
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: none;
}
.steps li { padding: 0 1.5rem 0 0; position: relative; }
.steps li::before {
  content: ""; position: absolute; left: 3.2rem; right: 1rem; top: 1.45rem;
  border-top: 1.5px dashed var(--cyan);
}
.steps li:last-child::before { display: none; }
.step-n {
  display: grid; place-items: center;
  width: 2.9rem; height: 2.9rem; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--steel);
  font: 900 1.5rem/1 var(--f-display); margin-bottom: 1.2rem; position: relative;
}
.steps h3 { font-size: 1.55rem; margin-bottom: .5rem; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .95rem; max-width: 28ch; }

/* ---------- quote ---------- */
.quote {
  background: var(--night); color: #e7eaee;
  padding: clamp(3rem, 7vw, 6rem) var(--pad);
}
.quote-head { max-width: 50rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.quote-head h2 { margin-bottom: 1rem; }
.quote-head h2::first-line { color: #fff; }
.quote-head > p:not(.eyebrow) { color: #a3acb6; margin: 0; max-width: 52ch; }

.quote-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(1.5rem, 3vw, 3rem); align-items: start;
}

.quote-form fieldset { border: 0; padding: 0; margin: 0 0 1.8rem; min-width: 0; }
.quote-form legend {
  font: 500 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em;
  color: var(--cyan); margin-bottom: .9rem; padding: 0;
}
.legend-note { color: #6f7a86; text-transform: none; letter-spacing: 0; margin-left: .4rem; }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-block; padding: .5rem .95rem; border-radius: 999px;
  border: 1.5px solid #3a404a; font-size: .92rem; font-weight: 500;
  transition: border-color .15s, background-color .15s, color .15s;
}
.chips label:hover span { border-color: #7b8491; }
.chips input:checked + span { background: var(--magenta-btn); border-color: var(--magenta-btn); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }

.row-2, .row-3 { display: grid; gap: .9rem; }
.row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { margin-bottom: .9rem; min-width: 0; }
.row-2 .field, .row-3 .field { margin-bottom: 0; }
.row-2 + .field { margin-top: .9rem; }
.field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: .4rem; color: #cdd3da; }
.opt { color: #6f7a86; font-weight: 400; }

.quote-form input:not([type="radio"]):not([type="checkbox"]),
.quote-form select,
.quote-form textarea {
  width: 100%; background: #181b21; border: 1.5px solid #333943; border-radius: var(--radius);
  padding: .7rem .8rem; color: #fff; min-height: 3rem;
  transition: border-color .15s;
}
.quote-form textarea { resize: vertical; min-height: 5.5rem; }
.quote-form input::placeholder, .quote-form textarea::placeholder { color: #5f6873; }
.quote-form input:hover, .quote-form select:hover, .quote-form textarea:hover { border-color: #4d5561; }
.quote-form input:focus-visible, .quote-form select:focus-visible, .quote-form textarea:focus-visible {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,152,218,.3);
}
.quote-form [aria-invalid="true"] { border-color: #ff5a9f !important; }
.unit { position: relative; }
.unit input { padding-right: 2.2rem !important; font-family: var(--f-mono); }
.unit span { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); color: #6f7a86; font: 400 .8rem var(--f-mono); pointer-events: none; }
.quote-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8b95a1 50%), linear-gradient(135deg, #8b95a1 50%, transparent 50%); background-position: calc(100% - 1.1rem) 55%, calc(100% - .8rem) 55%; background-size: .3rem .3rem; background-repeat: no-repeat; padding-right: 2rem; }
.err { color: #ff7ab3; font-size: .82rem; margin: .35rem 0 0; }

.toggles { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1rem; }
.toggle { display: inline-flex; align-items: center; gap: .55rem; cursor: pointer; font-size: .93rem; }
.toggle input { appearance: none; width: 2.3rem; height: 1.3rem; border-radius: 999px; background: #2b3039; position: relative; margin: 0; cursor: pointer; transition: background-color .15s; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: calc(1.3rem - 6px); height: calc(1.3rem - 6px); border-radius: 50%; background: #8b95a1; transition: transform .15s, background-color .15s; }
.toggle input:checked { background: var(--magenta-btn); }
.toggle input:checked::after { transform: translateX(1rem); background: #fff; }

.form-note { color: #7d8792; font-size: .85rem; margin: .8rem 0 0; text-align: center; }

.preview { position: sticky; top: 5.5rem; }
.preview-sheet {
  border-radius: 10px; overflow: hidden;
  background:
    linear-gradient(rgba(0,152,218,.1) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(0,152,218,.1) 1px, transparent 1px) 0 0 / 20px 20px,
    #12151a;
  border: 1px solid #262b33;
}
#preview-svg { width: 100%; height: auto; }
#preview-svg .ground { stroke: #5b6470; stroke-width: 1.5; }
#preview-svg .hatch { stroke: #333a44; stroke-width: 1; }
#preview-svg .person { fill: #4a525d; }
#preview-svg .pole { stroke: #6b7480; stroke-width: 3; }
#preview-svg .sign-rect { fill: #1c2027; stroke: #e7eaee; stroke-width: 2; transition: fill .3s; }
#preview-svg .sign-rect.lit { fill: rgba(230,0,126,.35); stroke: #ff6fbe; filter: drop-shadow(0 0 10px rgba(230,0,126,.7)); }
#preview-svg .dmn { stroke: var(--cyan); stroke-width: 1.2; }
#preview-svg .dtx { fill: var(--cyan); font: 500 12px var(--f-mono); }
#preview-svg .ptx { fill: #7d8792; font: 400 10px var(--f-mono); }
#preview-svg .copies { fill: none; stroke: #5b6470; stroke-dasharray: 4 4; }

.readout {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0; border: 1px solid #262b33; border-top: 0; border-radius: 0 0 10px 10px;
}
.preview-sheet { border-radius: 10px 10px 0 0; }
.readout div { padding: .9rem 1rem; }
.readout div + div { border-left: 1px solid #262b33; }
.readout dt { font: 400 .66rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: #7d8792; margin-bottom: .35rem; }
.readout dd { margin: 0; font: 700 1.5rem/1 var(--f-display); color: #fff; }

/* Slightly smaller quote on desktop: same layout, scaled down uniformly. */
@media (min-width: 1001px) {
  .quote-head, .quote-grid { zoom: .86; }
}

/* ---------- footer ---------- */
.foot { padding: clamp(3rem, 6vw, 5rem) var(--pad) 2.5rem; overflow: hidden; }
.foot-sign {
  font: 900 clamp(3rem, 13.2vw, 14rem)/.8 var(--f-display);
  text-transform: uppercase; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; border-top: 1px solid var(--steel-deep); padding-top: 1.5rem; }
.foot-h { font: 500 .7rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--cyan-text); margin: 0 0 .7rem; }
.foot p { margin: 0; }
.foot a { text-decoration-color: var(--magenta); text-underline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .facade { aspect-ratio: 16 / 10; max-width: calc(var(--fit-h) * 16 / 10); }
  .lede { max-width: 46ch; }
  .quote-grid { grid-template-columns: 1fr; }
  .preview { position: static; order: -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .steps li:nth-child(2)::before { display: none; }
}
@media (max-width: 760px) {
  .top-nav { display: none; }
  .panel { grid-template-columns: 1fr; }
  .plate { border-right: 0; border-bottom: 1px solid var(--steel-deep); }
  .callout { display: none; }
  .plate.has-photos .drawing { display: none; }
  .facade { aspect-ratio: 5 / 4; max-width: calc(var(--fit-h) * 5 / 4); }
  .row-2, .row-3 { grid-template-columns: 1fr; }
  .row-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-3 .field:last-child { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr; }
  .readout dd { font-size: 1.2rem; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .steps li::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
