/* ============================================================
   SIGNA SYSTEM — design system
   Aesthetic: architectural / editorial. Warm paper, deep ink,
   one "glass" accent + one "heritage" accent.
   ============================================================ */

@layer reset, tokens, base, layout, components, utilities;

:root {
  --ink:        #14120F;
  --ink-2:      #2E2921;
  --ink-3:      #5A5348;
  --paper:      #FCFAF7;
  --paper-2:    #F5F1EA;
  --paper-3:    #EBE5DA;
  --line:       rgba(20, 18, 15, 0.12);
  --line-soft:  rgba(20, 18, 15, 0.07);

  --glass:      #0E7A8A;
  --glass-deep: #0A5A66;
  --glass-tint: #E4F1F2;
  --heritage:   #A96A34;
  --heritage-lt:#F3E7D9;

  --display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --sp-1: 0.5rem;  --sp-2: 1rem;   --sp-3: 1.5rem;
  --sp-4: 2rem;    --sp-5: 3rem;   --sp-6: 4.5rem;
  --sp-7: 6.5rem;  --sp-8: 9rem;

  --wrap: 74rem;
  --wrap-narrow: 52rem;
  --radius: 4px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(20,18,15,.05), 0 2px 8px rgba(20,18,15,.04);
  --shadow-md: 0 4px 12px rgba(20,18,15,.06), 0 12px 32px rgba(20,18,15,.07);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 1.6rem + 4.2vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.05rem); line-height: 1.12; }
h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem); line-height: 1.25; }
h4 { font-size: 1.0625rem; font-family: var(--sans); font-weight: 650; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--glass);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--glass); color: #fff; }

/* ---------- layout ---------- */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.wrap-narrow { max-width: var(--wrap-narrow); }

section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); }
.g-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.g-auto { grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); }

@media (max-width: 860px) {
  .g-2, .g-3, .g-4 { grid-template-columns: minmax(0,1fr); }
}

/* ---------- typography helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--glass);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.eyebrow--light { color: #8FD3DC; }

.lede {
  font-size: clamp(1.075rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 42ch;
  text-wrap: pretty;
}

.muted { color: var(--ink-3); }
.small { font-size: .875rem; line-height: 1.55; }
.tiny  { font-size: .75rem; letter-spacing: .04em; }
.center { text-align: center; }
.measure { max-width: 46ch; }
.measure-wide { max-width: 62ch; }

/* ---------- buttons ---------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 0.92rem 1.55rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: .9375rem;
  font-weight: 560;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--glass { --btn-bg: var(--glass); }
.btn--glass:hover { --btn-bg: var(--glass-deep); }
.btn--heritage { --btn-bg: var(--heritage); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { --btn-bg: var(--paper-2); border-color: var(--ink); box-shadow: none; }
.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255,255,255,.38);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover { --btn-bg: rgba(255,255,255,.14); border-color: #fff; box-shadow: none; }
.btn--sm { padding: .62rem 1.1rem; font-size: .875rem; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1rem; }

.btn .arw { transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252,250,247,.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 1px 0 var(--line), 0 8px 28px rgba(20,18,15,.05); }

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__mark { width: 30px; height: 34px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand__sub {
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: .3rem;
}

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  position: relative;
  font-size: .9375rem;
  font-weight: 480;
  color: var(--ink-2);
  text-decoration: none;
  padding-block: .35rem;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 560; }

.header-cta { display: flex; align-items: center; gap: .75rem; margin-left: .5rem; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .875rem;
  font-weight: 560;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.header-phone:hover { color: var(--glass); }
.header-phone svg { width: 15px; height: 15px; opacity: .6; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 2.75rem; height: 2.75rem;
  align-items: center; justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 100px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 20px; height: 20px; }

/* Mid tier: full nav + phone fit, but the big CTA button does not.
   Without this the header overflows between 1041px and ~1180px. */
@media (max-width: 1180px) {
  .header-cta .btn { display: none; }
  .nav__list { gap: clamp(.9rem, 1.6vw, 1.5rem); }
}

@media (max-width: 1040px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .header-cta .btn { display: none; }
}

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  padding: 1.25rem clamp(1.25rem, 5vw, 2rem) 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.drawer[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; height: 3.5rem; }
.drawer__close {
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  background: none; border: 1px solid var(--line); border-radius: 100px;
  cursor: pointer; color: var(--ink);
}
.drawer__links { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: .25rem; }
.drawer__links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--display);
  font-size: 1.75rem;
  text-decoration: none;
  padding-block: .7rem;
  border-bottom: 1px solid var(--line-soft);
}
.drawer__links a span {
  font-family: var(--mono);
  font-size: .625rem;
  color: var(--ink-3);
  letter-spacing: .1em;
}
.drawer__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: .9rem; }
.drawer__foot .btn { width: 100%; }
body.no-scroll { overflow: hidden; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: .55;
  filter: saturate(.85) contrast(1.04);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11,10,8,.94) 0%, rgba(11,10,8,.78) 42%, rgba(11,10,8,.34) 74%, rgba(11,10,8,.55) 100%),
    radial-gradient(120% 80% at 80% 0%, rgba(14,122,138,.22), transparent 60%);
}
.hero__inner {
  padding-block: clamp(5rem, 12vw, 9.5rem) clamp(4rem, 9vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: var(--sp-5);
  align-items: end;
}
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: minmax(0,1fr); align-items: start; }
}

.hero h1 { color: #fff; max-width: 17ch; }
.hero h1 em {
  font-style: italic;
  color: #9AD8E0;
  font-variation-settings: "SOFT" 60, "WONK" 1;
}
.hero__sub {
  margin-top: 1.6rem;
  font-size: clamp(1.03rem, .95rem + .35vw, 1.19rem);
  line-height: 1.62;
  color: rgba(255,255,255,.78);
  max-width: 44ch;
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; }

.hero__card {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  align-self: end;
}
.hero__card h2 {
  font-family: var(--mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.1rem;
}
.hero__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.hero__facts li {
  display: grid;
  grid-template-columns: 4.6rem 1fr;
  gap: .9rem;
  align-items: baseline;
  padding-top: .85rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero__facts li:first-child { border-top: 0; padding-top: 0; }
.hero__facts b {
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 500;
  color: #9AD8E0;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.hero__facts span { font-size: .875rem; color: rgba(255,255,255,.72); line-height: 1.45; }

/* ---------- marquee / trust strip ---------- */

.strip {
  background: var(--ink);
  color: rgba(255,255,255,.62);
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 1.15rem;
  overflow: hidden;
}
.strip__row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.strip__row::-webkit-scrollbar { display: none; }
.strip__row span { display: inline-flex; align-items: center; gap: .7rem; }
.strip__row span::after { content: "·"; color: rgba(255,255,255,.28); margin-left: 1.8rem; }

/* ---------- cards ---------- */

.card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.4vw, 1.85rem);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover { border-color: var(--line); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .9375rem; color: var(--ink-3); line-height: 1.6; }

.card--num { position: relative; padding-top: 3.4rem; }
.card__num {
  position: absolute;
  top: 1.3rem; left: clamp(1.4rem, 2.4vw, 1.85rem);
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  color: var(--glass);
  font-weight: 500;
}

.card--flat { background: var(--paper-2); border-color: transparent; box-shadow: none; }
.card--flat:hover { transform: none; box-shadow: none; border-color: var(--line); }

/* feature icon */
.ficon {
  width: 2.6rem; height: 2.6rem;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--glass-tint);
  color: var(--glass-deep);
  margin-bottom: 1.15rem;
}
.ficon svg { width: 20px; height: 20px; }
.ficon--heritage { background: var(--heritage-lt); color: var(--heritage); }

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats > div {
  padding: clamp(1.5rem, 3vw, 2.2rem) clamp(1rem, 2vw, 1.6rem);
  border-left: 1px solid var(--line);
}
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--display);
  font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
}
.stat__num sup { font-size: .45em; vertical-align: super; letter-spacing: 0; color: var(--glass); }
.stat__label {
  display: block;
  margin-top: .6rem;
  font-size: .8125rem;
  color: var(--ink-3);
  line-height: 1.4;
  max-width: 20ch;
}
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats > div { border-left: 1px solid var(--line); }
  .stats > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- vision ----------
   One paragraph, set larger than body and deliberately plain. No cards, no
   icons, no eyebrow furniture beyond the label — the argument is the design. */

.vision {
  max-width: 62rem;
  border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 4vw, 3rem);
}
.vision__body {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1rem + 0.85vw, 1.6rem);
  line-height: 1.55;
  letter-spacing: -0.011em;
  color: var(--ink);
  margin: 1.4rem 0 0;
  text-wrap: pretty;
}

/* ---------- split / editorial ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--media-first > .split__media { order: -1; }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0,1fr); }
  .split--media-first > .split__media { order: 0; }
}
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.split__media--plain img { box-shadow: none; background: #fff; border: 1px solid var(--line-soft); padding: .75rem; }

/* numbered steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  position: relative;
  padding: 1.35rem 0 1.35rem 3.6rem;
  border-top: 1px solid var(--line-soft);
  counter-increment: step;
}
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps li::before {
  content: "0" counter(step);
  position: absolute;
  left: 0; top: 1.4rem;
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  color: var(--glass);
}
.steps li:first-child::before { top: .05rem; }
.steps h4 { margin-bottom: .3rem; }
.steps p { font-size: .9375rem; color: var(--ink-3); margin: 0; max-width: 46ch; }

/* ---------- dark section ---------- */

.dark { background: var(--ink); color: #fff; }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.dark p { color: rgba(255,255,255,.7); }
.dark .lede { color: rgba(255,255,255,.72); }
.dark .card {
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.1);
}
.dark .card:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); box-shadow: none; }
.dark .card p { color: rgba(255,255,255,.66); }
.dark .card__num { color: #9AD8E0; }
.dark .ficon { background: rgba(154,216,224,.13); color: #9AD8E0; }

/* ---------- projects ---------- */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.project {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper-3);
  text-decoration: none;
  aspect-ratio: 4 / 5;
}
.project img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .5s var(--ease);
  filter: saturate(.92);
}
.project:hover img { transform: scale(1.045); filter: saturate(1); }
.project__meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.25rem 1.2rem;
  background: linear-gradient(to top, rgba(10,9,7,.9), rgba(10,9,7,.42) 52%, transparent);
  color: #fff;
}
.project__addr {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.project__spec {
  font-family: var(--mono);
  font-size: .625rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.64);
  margin-top: .5rem;
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
}
.project__spec i { font-style: normal; opacity: .45; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  background: var(--glass-deep);
  color: #fff;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 140% at 15% 0%, rgba(154,216,224,.28), transparent 58%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: var(--sp-4);
  align-items: center;
  padding-block: clamp(2.75rem, 6vw, 4.25rem);
}
@media (max-width: 820px) { .cta-band__inner { grid-template-columns: minmax(0,1fr); } }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: rgba(255,255,255,.76); margin-top: .8rem; max-width: 44ch; }
.cta-band .btn--ghost-light { white-space: nowrap; }

/* ---------- page header ---------- */

.page-head {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-soft);
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem);
}
.page-head h1 { max-width: 18ch; font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.75rem); }
.page-head .lede { margin-top: 1.25rem; }
.crumbs {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1.4rem;
  display: flex;
  gap: .55rem;
  align-items: center;
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--glass); }
.crumbs i { font-style: normal; opacity: .4; }

/* ---------- prose ---------- */

.prose { max-width: 66ch; }
.prose h2 { margin-top: 2.6rem; margin-bottom: 1rem; }
.prose h3 { margin-top: 2rem; margin-bottom: .6rem; }
.prose p { color: var(--ink-2); }
.prose ul { padding-left: 1.1rem; color: var(--ink-2); }
.prose li { margin-bottom: .5rem; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5rem; }
.prose strong { font-weight: 620; }
.prose a { color: var(--glass-deep); }

/* ---------- form ---------- */

.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field > label {
  font-size: .8125rem;
  font-weight: 560;
  letter-spacing: -.005em;
  color: var(--ink-2);
}
.field .hint { font-size: .75rem; color: var(--ink-3); }
.input, .select, .textarea {
  width: 100%;
  font: inherit;
  font-size: .9375rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .78rem .9rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--glass);
  box-shadow: 0 0 0 3px rgba(14,122,138,.13);
}
.textarea { resize: vertical; min-height: 8rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.form-msg {
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  font-size: .9rem;
  display: none;
}
.form-msg[data-state="ok"] { display: block; background: var(--glass-tint); color: var(--glass-deep); border: 1px solid rgba(14,122,138,.25); }
.form-msg[data-state="err"] { display: block; background: #FDECEC; color: #8E2626; border: 1px solid rgba(142,38,38,.2); }

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

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.contact-list dt {
  font-family: var(--mono);
  font-size: .625rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: .35rem;
}
.contact-list dd { margin: 0; font-size: 1.0625rem; line-height: 1.5; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--glass); text-decoration: underline; }

.team-member {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
  border-top: 1px solid var(--line-soft);
  flex-wrap: wrap;
}
.team-member:first-child { border-top: 0; }
.team-member b { font-weight: 600; font-size: .9375rem; }
.team-member span { font-size: .8125rem; color: var(--ink-3); }
.team-member a { font-size: .8125rem; text-decoration: none; color: var(--glass-deep); white-space: nowrap; }
.team-member a:hover { text-decoration: underline; }

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

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.66);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: .875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: rgba(255,255,255,.45); }
.footer-blurb { margin-top: 1.1rem; max-width: 34ch; line-height: 1.6; color: rgba(255,255,255,.58); }
.footer-col h3 {
  font-family: var(--mono);
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-col a { text-decoration: none; transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  font-size: .75rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,.75); }

/* ---------- checklist ---------- */

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.checklist li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .7rem; align-items: start; font-size: .9375rem; line-height: 1.5; }
.checklist .ck { width: 16px; height: 16px; margin-top: .28rem; color: var(--glass); stroke-width: 2; }
.dark .checklist .ck { color: #9AD8E0; }

/* ---------- faq ---------- */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(1.05rem, .98rem + .4vw, 1.22rem);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.35;
  transition: color .2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--glass-deep); }
.faq__sign { position: relative; flex-shrink: 0; width: 14px; height: 14px; margin-top: .35rem; }
.faq__sign::before, .faq__sign::after {
  content: "";
  position: absolute;
  background: currentColor;
  opacity: .5;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq__sign::before { top: 50%; left: 0; width: 14px; height: 1px; transform: translateY(-50%); }
.faq__sign::after { left: 50%; top: 0; height: 14px; width: 1px; transform: translateX(-50%); }
.faq__item[open] .faq__sign::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq__item[open] summary { color: var(--glass-deep); }
.faq__body { padding: 0 2.5rem 1.4rem 0; }
.faq__body p { font-size: .9375rem; line-height: 1.65; color: var(--ink-3); margin: 0; max-width: 68ch; }
.dark .faq { border-color: rgba(255,255,255,.13); }
.dark .faq__item { border-color: rgba(255,255,255,.13); }
.dark .faq__body p { color: rgba(255,255,255,.66); }

/* ---------- testimonial ---------- */

.quote-block {
  border-left: 2px solid var(--glass);
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
  max-width: 54rem;
}
.quote__mark { color: var(--glass); opacity: .28; margin-bottom: .9rem; }
.quote-block blockquote { margin: 0; }
.quote-block blockquote p {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem);
  line-height: 1.42;
  letter-spacing: -.018em;
  color: var(--ink);
  text-wrap: pretty;
}
.quote-block footer { margin-top: 1.4rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.stars { display: flex; gap: .18rem; color: #C8963E; }
.quote-block cite { font-style: normal; font-size: .875rem; color: var(--ink-3); }

/* ---------- service rows ---------- */

.svc {
  display: grid;
  grid-template-columns: 3.4rem 1fr minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2.25rem);
  padding-block: clamp(1.75rem, 3.5vw, 2.6rem);
  border-top: 1px solid var(--line);
  align-items: start;
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc__idx {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  color: var(--ink-3);
  padding-top: .55rem;
}
.svc h3 { margin-bottom: .55rem; }
.svc p { font-size: .9375rem; color: var(--ink-3); line-height: 1.62; margin: 0; }
@media (max-width: 820px) {
  .svc { grid-template-columns: 1fr; gap: .5rem; }
  .svc__idx { padding-top: 0; }
}

/* ---------- project cards (projects page) ---------- */

.project-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.project-card:hover { border-color: var(--line); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.project-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-3); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.04); }
.project-card__body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.project-card__body h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.project-card__spec {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  margin: 0 0 .35rem;
}
.project-card__spec i { font-style: normal; opacity: .4; }

.tagrow { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: 1rem; }
.tag {
  font-family: var(--mono);
  font-size: .625rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--glass-deep);
  background: var(--glass-tint);
  border-radius: 100px;
  padding: .28rem .6rem;
  white-space: nowrap;
}

/* ---------- roster lists ---------- */

.roster { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .4rem; }
.roster li {
  font-size: .875rem;
  color: var(--ink-3);
  padding-left: .9rem;
  position: relative;
  line-height: 1.45;
}
.roster li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--glass);
  opacity: .5;
}

.roster-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: .95rem 1.1rem;
}
.roster-block summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  flex-wrap: wrap;
}
.roster-block summary::-webkit-details-marker { display: none; }
.roster-block summary b { font-size: .9375rem; font-weight: 600; }
.roster-block[open] summary { margin-bottom: .25rem; }

/* ---------- team list ---------- */

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

/* ---------- definition list ---------- */

.deflist { margin: 1.1rem 0 0; display: grid; gap: .9rem; }
.deflist > div { display: grid; gap: .18rem; padding-top: .9rem; border-top: 1px solid var(--line-soft); }
.deflist > div:first-child { padding-top: 0; border-top: 0; }
.deflist dt {
  font-family: var(--mono);
  font-size: .625rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.deflist dd { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--ink-2); }

/* ---------- timeline ---------- */

.timeline-wrap { position: relative; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0; top: .55rem; bottom: .5rem;
  width: 1px;
  background: var(--line);
}
.timeline > li {
  position: relative;
  padding: 0 0 1.75rem 1.75rem;
}
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
  content: "";
  position: absolute;
  left: -3px; top: .5rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--glass);
}
.timeline__year {
  display: block;
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .13em;
  color: var(--glass-deep);
  margin-bottom: .3rem;
}
.timeline h4 { margin-bottom: .25rem; }
.timeline p { font-size: .875rem; color: var(--ink-3); line-height: 1.55; margin: 0; max-width: 40ch; }

/* Full-width variant: the same spine, laid horizontally where there is room.
   Reads left-to-right as a sequence instead of down a sidebar. */
.timeline--wide {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0;
}
.timeline--wide::before {
  top: 0; bottom: auto; left: 0; right: 0;
  width: auto; height: 1px;
  background: var(--line);
}
.timeline--wide > li {
  padding: 1.6rem 1.5rem 0 0;
  border-right: 1px solid var(--line-soft);
}
.timeline--wide > li:last-child { border-right: 0; padding-right: 0; }
.timeline--wide > li::before {
  left: 0; top: -4px;
  background: var(--paper-2);
}
.timeline--wide p { max-width: none; }
@media (max-width: 900px) {
  .timeline--wide { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .timeline--wide > li:nth-child(2n) { border-right: 0; padding-right: 0; }
  .timeline--wide > li:nth-child(n+3) { border-top: 1px solid var(--line-soft); margin-top: 1.5rem; }
  .timeline--wide > li:nth-child(n+3)::before { top: calc(-4px - 1.5rem); }
}
@media (max-width: 560px) {
  .timeline--wide { grid-template-columns: minmax(0,1fr); }
  .timeline--wide > li { border-right: 0; padding: 1.4rem 0 0; }
  .timeline--wide > li + li { border-top: 1px solid var(--line-soft); margin-top: 1.4rem; }
  .timeline--wide > li + li::before { top: calc(-4px - 1.4rem); }
}

/* ---------- utilities ---------- */

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100px; left: 1rem;
  background: var(--ink); color: #fff;
  padding: .7rem 1.1rem; border-radius: var(--radius);
  z-index: 300; text-decoration: none; font-size: .875rem;
}
.skip-link:focus { top: 1rem; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   v2 additions — coverage table, glossary, owners, benefits
   ============================================================ */

/* ---------- benefit stat (dark cards) ---------- */

.benefit-stat {
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 .55rem;
}
.benefit-stat span {
  display: block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #9AD8E0;
  margin-top: .4rem;
}

/* ---------- figure caveat ----------
   Every published performance number (acoustic, HVAC, frost) carries this line.
   Kept small and low-contrast on purpose: it has to be present and legible
   without competing with the figure it qualifies. */

.caveat {
  font-size: 0.8125rem;
  line-height: 1.62;
  color: var(--ink-3);
  border-top: 1px solid var(--line);
  padding-top: 0.95rem;
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  max-width: 78ch;
  text-wrap: pretty;
}
.caveat b {
  color: var(--ink);
  font-weight: 600;
}
.caveat--dark {
  color: rgba(255, 255, 255, 0.54);
  border-top-color: rgba(255, 255, 255, 0.12);
}
.caveat--dark b { color: #fff; }

/* ---------- STC table ---------- */

.stc { width: 100%; }
.stc__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.5rem 5.5rem;
  gap: 1rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.stc__row--head {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
  padding-block: 0.5rem;
}
.stc__glass {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.stc__basis {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-3);
  margin-top: 0.2rem;
  line-height: 1.45;
}
.stc__num {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.stc__lab { display: none; }

/* The bar is the point: four rows of numbers do not show that the last one is
   nearly twice the first. Drawn under the text row, full width, so it scales. */
.stc__bar {
  grid-column: 1 / -1;
  display: block;
  height: 5px;
  margin-top: 0.1rem;
  border-radius: 3px;
  background: var(--line-soft);
  overflow: hidden;
}
.stc__bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--glass);
  transition: width 0.9s var(--ease);
}
.stc__bar i.is-base { background: var(--ink-3); opacity: 0.42; }
.stc__axis {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  opacity: 0.75;
  padding-top: 0.6rem;
}

@media (max-width: 720px) {
  .stc__row--head { display: none; }
  .stc__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 0.55rem;
    padding: 1rem 0;
  }
  .stc__glass { grid-column: 1 / -1; }
  /* On a phone the column header is gone, so each cell carries its own label. */
  .stc__lab {
    display: block;
    font-family: var(--mono);
    font-size: 0.5625rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 0.15rem;
  }
}

/* ---------- comparison table (Signa vs replacement) ---------- */

.cmp {
  border-top: 2px solid var(--ink);
  margin-bottom: 0;
}

.cmp__head,
.cmp__row {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.15fr) minmax(0, 1.15fr);
  gap: clamp(0.75rem, 2vw, 1.75rem);
  align-items: baseline;
}

.cmp__head {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.cmp__head span {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.cmp__head span:nth-child(2) { color: var(--glass-deep); }

.cmp__row {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.cmp__label {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 0.28rem;
}

.cmp__signa {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9688rem;
  line-height: 1.5;
}

.cmp__replace {
  color: var(--ink-3);
  font-size: 0.9688rem;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .cmp__head { display: none; }
  .cmp__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.4rem;
    padding: 1.1rem 0;
  }
  .cmp__label { padding-top: 0; }
  /* Without the column header, the two cells need to identify themselves. */
  .cmp__signa::before,
  .cmp__replace::before {
    display: block;
    font-family: var(--mono);
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.1rem;
  }
  .cmp__signa::before { content: "Signa"; color: var(--glass); }
  .cmp__replace::before { content: "Replacement"; color: var(--ink-3); opacity: 0.85; }
}

/* ---------- energy model ---------- */

.energy__headline {
  font-family: var(--display);
  font-size: clamp(3rem, 2rem + 5vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: 0;
}
/* .dark p is more specific than a bare class, so the colour is set explicitly. */
.dark .energy__headline,
.energy__headline { color: #fff; }

.energy__headline-label {
  margin: 0.9rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
  max-width: 30ch;
}

.energy__figures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.energy__figures > div {
  padding: 1.5rem 1.35rem 0 0;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 1.35rem;
}
.energy__figures > div:first-child { border-left: 0; padding-left: 0; }

.energy__num {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #9AD8E0;
  margin-bottom: 0.55rem;
}

.energy__figures p {
  margin: 0;
  font-size: 0.8438rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .energy__figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .energy__figures > div { padding: 1.25rem 1rem 0 0; }
  .energy__figures > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .energy__figures > div:nth-child(n + 3) { margin-top: 1.5rem; }
}

/* ---------- credentials ---------- */

.cred {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.cred__item {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  border-top: 2px solid var(--glass);
  padding: clamp(1.35rem, 2.6vw, 1.85rem);
  display: flex;
  flex-direction: column;
}

.cred__item h3 {
  font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem);
  letter-spacing: -0.015em;
  margin: 0 0 0.35rem;
}

.cred__date {
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin: 0 0 0.9rem;
}

.cred__body {
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}

.cred__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1.1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--glass-deep);
}
.cred__link svg { width: 14px; height: 14px; }
.cred__link:hover { color: var(--glass); }
.cred__link:hover svg { transform: translateX(3px); }
.cred__link svg { transition: transform 0.25s var(--ease); }

@media (max-width: 780px) {
  .cred { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- headline metrics ---------- */

.headline-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.headline-metrics > div {
  padding: 1.5rem clamp(.9rem, 2vw, 1.5rem);
  border-left: 1px solid var(--line);
}
.headline-metrics > div:first-child { border-left: 0; padding-left: 0; }
.hm__num {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hm__label {
  display: block;
  margin-top: .45rem;
  font-size: .8125rem;
  color: var(--ink-3);
  line-height: 1.35;
}
@media (max-width: 860px) {
  .headline-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .headline-metrics > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .headline-metrics > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- roster head ---------- */

.roster-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: .25rem;
}
.roster-role {
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: .45rem 0 0;
}
.roster-sum {
  font-size: .8125rem;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
}
.roster-sum b { color: var(--ink); font-weight: 620; }
.roster-sum span { opacity: .35; }

/* ---------- building table ---------- */

.bldg-table { width: 100%; }
.bldg-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.5rem 6rem minmax(8rem, 10rem);
  gap: 1rem;
  align-items: center;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .9375rem;
}
.bldg-row--head {
  font-family: var(--mono);
  font-size: .625rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
  padding-block: .55rem;
}
.bldg-row--head span:nth-child(2),
.bldg-row--head span:nth-child(3) { text-align: right; }
.bldg-addr { font-weight: 500; letter-spacing: -.01em; }
.bldg-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
  font-size: .875rem;
}
.bldg-bar-cell { display: flex; align-items: center; gap: .6rem; }
.bldg-bar {
  flex: 1;
  height: 5px;
  border-radius: 100px;
  background: var(--paper-3);
  overflow: hidden;
}
.bldg-bar i {
  display: block;
  height: 100%;
  border-radius: 100px;
  background: var(--glass);
}
.bldg-bar-cell em {
  font-style: normal;
  font-family: var(--mono);
  font-size: .6875rem;
  color: var(--ink-3);
  width: 2.4rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 720px) {
  .bldg-row {
    grid-template-columns: minmax(0,1fr) auto;
    gap: .35rem 1rem;
    padding: .85rem 0;
  }
  .bldg-row--head { display: none; }
  .bldg-addr { grid-column: 1 / -1; }
  .bldg-num { text-align: left; font-size: .8125rem; }
  .bldg-num::after { content: " windows"; color: var(--ink-3); font-size: .75rem; }
  .bldg-num:nth-of-type(2)::after { content: " Signa"; }
  .bldg-bar-cell { grid-column: 1 / -1; }
}

/* ---------- glossary ---------- */

.alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding-bottom: 2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 4.75rem;
  background: var(--paper);
  padding-top: .75rem;
  z-index: 20;
}
.alpha-nav a {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .05em;
  text-decoration: none;
  color: var(--ink-3);
  padding: .3rem .5rem;
  border-radius: 3px;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.alpha-nav a:hover { background: var(--glass-tint); color: var(--glass-deep); }

.gloss-group { margin-bottom: 2.75rem; scroll-margin-top: 9rem; }
.gloss-letter {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--glass);
  margin: 0 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--line);
}
.gloss-list { margin: 0; padding: 0; }
.gloss-item {
  padding: .85rem 0;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  gap: 1.5rem;
}
.gloss-item:last-child { border-bottom: 0; }
.gloss-item dt {
  font-weight: 600;
  font-size: .9375rem;
  letter-spacing: -.008em;
  line-height: 1.45;
}
.gloss-item dd {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 62ch;
}
@media (max-width: 720px) {
  .gloss-item { grid-template-columns: minmax(0,1fr); gap: .3rem; }
  .alpha-nav { position: static; }
}

/* ---------- owner biogs (/contact) ----------
   Two full profiles, not two cards. Portrait holds a narrow column that stays
   sticky on desktop so the face is still there while the prose reads. */

.bio { display: flex; flex-direction: column; gap: clamp(2.75rem, 6vw, 4.5rem); }

.bio__person {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.75rem, 4.5vw, 3.5rem);
  align-items: start;
}

.bio__media {
  margin: 0;
  position: sticky;
  top: 6.5rem;
}

.bio__media img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--radius-lg);
  filter: saturate(.94);
  background: var(--paper-3);
}

.bio__body h3 {
  font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2rem);
  margin-bottom: .5rem;
}

.bio__body > p {
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 58ch;
  text-wrap: pretty;
}
.bio__body > p + p { margin-top: 1rem; }

.bio__quote {
  margin: clamp(1.5rem, 3vw, 2rem) 0 0;
  padding: .1rem 0 .1rem 1.4rem;
  border-left: 2px solid var(--glass);
  font-family: var(--display);
  font-size: clamp(1.15rem, 1rem + .55vw, 1.4rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.42;
  letter-spacing: -.01em;
  color: var(--ink);
  max-width: 46ch;
  text-wrap: balance;
}

.bio__contact {
  margin-top: clamp(1.4rem, 2.5vw, 1.8rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
}

.bio__foot {
  margin-top: clamp(2.25rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 62ch;
}
.bio__foot p { font-size: .9375rem; line-height: 1.68; text-wrap: pretty; }

@media (max-width: 900px) {
  .bio__person { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .bio__media { position: static; max-width: 19rem; }
  .bio__media img { aspect-ratio: 4 / 5; object-position: center 22%; }
}

.owner-role {
  font-family: var(--mono);
  font-size: .625rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--glass-deep);
  margin: 0 0 1rem;
  line-height: 1.5;
}
.owner-note {
  font-size: .9375rem;
  color: var(--ink-3);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}
.owner-mail {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .875rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: .2rem;
}
.owner-mail svg { width: 15px; height: 15px; opacity: .55; }
.owner-mail:hover { color: var(--glass-deep); border-color: var(--glass); }

.owner-tel {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .8125rem;
  text-decoration: none;
  color: var(--ink-3);
  margin-top: .75rem;
  line-height: 1.5;
}
.owner-tel svg { width: 14px; height: 14px; opacity: .5; flex: none; }
.owner-tel:hover { color: var(--glass-deep); }

/* ---------- callout ---------- */

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}
.callout h3, .callout h4 { margin-bottom: .2rem; }

/* ---------- hero proof line ----------
   Three numbers under the hero buttons. Sits on the photo, so it needs its own
   contrast rather than inheriting the body colour. */

.hero__proof {
  margin: 1.9rem 0 0;
  font-size: .8125rem;
  letter-spacing: .01em;
  color: rgba(255,255,255,.66);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .9rem;
}
.hero__proof b {
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: #9AD8E0;
  letter-spacing: -0.01em;
}

/* ---------- process flow ----------
   4-up numbered sequence. Deliberately not cards: the sequence is the point,
   so a rule between steps reads as "then", not as "one of many". */

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.flow li {
  padding: 1.5rem 1.5rem 0 0;
  border-right: 1px solid var(--line-soft);
}
.flow li:last-child { border-right: 0; padding-right: 0; }
.flow__num {
  display: block;
  font-family: var(--mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  color: var(--glass);
  margin-bottom: .8rem;
}
.flow h3 {
  font-size: 1.0625rem;
  margin-bottom: .5rem;
  letter-spacing: -0.01em;
}
.flow p {
  font-size: .875rem;
  line-height: 1.58;
  color: var(--ink-3);
  margin: 0;
}
@media (max-width: 900px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow li:nth-child(2n) { border-right: 0; padding-right: 0; }
  .flow li:nth-child(n+3) { border-top: 1px solid var(--line-soft); margin-top: 1.5rem; }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow li { border-right: 0; padding: 1.25rem 0 0; }
  .flow li + li { border-top: 1px solid var(--line-soft); margin-top: 1.25rem; }
}

/* ---------- crew ----------
   The two owners, with faces. Portrait ratio is fixed so the two cards stay in
   lockstep even though the source files differ in height. */

.crew__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.crew__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.crew__card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border-top: 2px solid var(--glass);
}
.crew__card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(.94);
}
.crew__card > div { padding: 1.15rem 1.15rem 1.3rem; }
.crew__card h3 {
  font-size: 1.0625rem;
  margin-bottom: .3rem;
  letter-spacing: -0.015em;
}
.crew__card .owner-role {
  font-size: .5625rem;
  margin: 0 0 .85rem;
}
.crew__card .owner-mail { font-size: .75rem; word-break: break-word; }
@media (max-width: 900px) {
  .crew__inner { grid-template-columns: minmax(0, 1fr); }
  .crew__intro { max-width: 46ch; }
}
@media (max-width: 480px) {
  .crew__cards { grid-template-columns: minmax(0, 1fr); }
  .crew__card img { aspect-ratio: 5 / 4; object-position: center 18%; }
}

/* ============================================================
   Teaching sections — pillars, visits, show-us, assembly,
   install steps, other work, Mies, values. Added for the
   "explain it to someone who has never heard of us" pass.
   ============================================================ */

/* ---------- three pillars ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--ink);
}

.pillar {
  padding: 1.6rem 1.5rem 0 0;
  border-left: 1px solid var(--line);
  padding-left: 1.5rem;
}
.pillar:first-child { border-left: 0; padding-left: 0; }

.pillar h3 {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--glass-deep);
  margin-bottom: 0.65rem;
  font-weight: 600;
}

.pillar p {
  font-size: 0.9688rem;
  line-height: 1.62;
  color: var(--ink-2);
  margin: 0;
  max-width: 34ch;
}

@media (max-width: 820px) {
  .pillars { grid-template-columns: minmax(0, 1fr); border-top-width: 2px; }
  .pillar {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
    padding: 1.25rem 0 0;
  }
  .pillar:first-child { border-top: 0; padding-top: 1.5rem; }
}

/* ---------- two invitations ---------- */

.visits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.visit {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--glass);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
}

.visit__kicker {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--heritage);
  margin: 0 0 0.6rem;
}

.visit h3 {
  font-size: clamp(1.35rem, 1.05rem + 1vw, 1.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}

.visit__body {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.68;
  margin: 0 0 1.25rem;
  max-width: 46ch;
}

.visit__points {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.visit__points li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-3);
}

.visit__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--glass);
  opacity: 0.55;
}

.visit__foot {
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.visit__meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (max-width: 820px) {
  .visits { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- schedule aside mini list ---------- */

.visit-mini {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.visit-mini li {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.visit-mini svg { color: var(--heritage); margin-top: 0.2rem; }

.visit-mini b {
  display: block;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.visit-mini em {
  display: block;
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-3);
}

/* ---------- show us one window ---------- */

.showus {
  background: var(--ink);
  color: #fff;
}

.showus__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.showus h2 {
  color: #fff;
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  letter-spacing: -0.035em;
  margin-bottom: 1.1rem;
}

.showus__body {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 46ch;
  margin: 0;
}

.showus__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
}

.showus__steps li {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.showus__steps span {
  font-family: var(--display);
  font-size: 1.25rem;
  color: #9AD8E0;
  line-height: 1.2;
}

.showus__steps p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9688rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 820px) {
  .showus__inner { grid-template-columns: minmax(0, 1fr); }
  .showus__steps {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-left: 0;
    padding-top: 1.75rem;
  }
}

/* ---------- assembly spec ---------- */

.assembly {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}

.assembly li {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}

.assembly__n {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--glass);
  font-weight: 600;
}

.assembly b {
  display: block;
  font-size: 0.9375rem;
  font-weight: 550;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.assembly em {
  display: block;
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-3);
  margin-top: 0.15rem;
}

/* ---------- six install steps ---------- */

.install {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--ink);
}

.install li {
  padding: 1.5rem 1.5rem 0 0;
  border-left: 1px solid var(--line);
  padding-left: 1.5rem;
}
.install li:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
.install li:nth-child(n + 4) {
  border-top: 1px solid var(--line-soft);
  margin-top: 1.75rem;
}

.install__num {
  display: block;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  color: var(--glass);
  margin-bottom: 0.55rem;
}

.install h3 {
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.45rem;
}

.install p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-3);
  margin: 0;
  max-width: 34ch;
}

@media (max-width: 900px) {
  .install { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .install li:nth-child(3n + 1) { border-left: 1px solid var(--line); padding-left: 1.5rem; }
  .install li:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
  .install li:nth-child(n + 3) { border-top: 1px solid var(--line-soft); margin-top: 1.75rem; }
}

@media (max-width: 560px) {
  .install { grid-template-columns: minmax(0, 1fr); }
  .install li,
  .install li:nth-child(3n + 1),
  .install li:nth-child(2n + 1) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line-soft);
    margin-top: 1.25rem;
    padding-top: 1.25rem;
  }
  .install li:first-child { border-top: 0; margin-top: 1.25rem; padding-top: 0; }
}

/* ---------- the rest of the work ---------- */

.otherwork {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.otherwork li {
  padding: 0.85rem 0 0.85rem 1.4rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.9688rem;
  color: var(--ink-2);
  position: relative;
}

.otherwork li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: 0.6rem;
  height: 1px;
  background: var(--heritage);
}

/* ---------- Mies quote ---------- */

.mies-quote {
  margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 0;
  padding: 0 0 0 1.4rem;
  border-left: 2px solid rgba(154, 216, 224, 0.7);
  max-width: 46ch;
}

.mies-quote p {
  font-family: var(--display);
  font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.4rem);
  line-height: 1.42;
  letter-spacing: -0.015em;
  color: #fff !important;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}

.mies-quote footer {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- values ---------- */

.values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink);
}

.values li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: clamp(0.75rem, 2vw, 1.5rem);
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}

.values__n {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--glass);
}

.values h3 {
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.3rem;
}

.values p {
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--ink-3);
  margin: 0;
  max-width: 62ch;
}

/* ---------- second energy scenario ---------- */

.energy__alt {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.energy__alt-num {
  font-family: var(--display);
  font-size: clamp(2.25rem, 1.6rem + 3vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: #fff;
  margin: 0;
}

.energy__alt-label {
  margin: 0.7rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
  max-width: 30ch;
}

.energy__alt-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.75rem;
}

.energy__alt-figures b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #9AD8E0;
  line-height: 1.05;
  margin-bottom: 0.35rem;
}

.energy__alt-figures span {
  display: block;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 820px) {
  .energy__alt { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) {
  .energy__alt-figures { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
}

/* ============================================================
   PORTAL — Part 2 seed. Staff-only; noindex on every route.
   Kept visually quiet: it is an internal tool, not marketing.
   ============================================================ */

.portal-shell {
  background: var(--paper-2);
  min-height: 72vh;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.portal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
  max-width: 26rem;
  margin: 0 auto;
}

.portal-card__head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.portal-card__icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--glass);
  margin-bottom: .75rem;
}

.portal-card__head h1 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
  margin-bottom: .4rem;
}

.portal-card .form { display: grid; gap: 1.1rem; }

.portal-note {
  background: var(--heritage-lt);
  border: 1px solid rgba(169, 106, 52, .25);
  border-radius: 3px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
}

.portal-note code {
  font-family: var(--mono);
  font-size: .78em;
  background: rgba(20, 18, 15, .07);
  padding: .1em .35em;
  border-radius: 2px;
  display: inline-block;
  margin: 0 .15em;
}

.portal-error {
  background: #FBEDEA;
  border: 1px solid rgba(176, 58, 38, .3);
  color: #8C2D1D;
  border-radius: 3px;
  padding: .8rem 1rem;
  font-size: .875rem;
  margin-bottom: 1.25rem;
}

.portal-foot {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  line-height: 1.55;
}

.portal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.portal-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.portal-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.15rem 1.25rem;
}

.portal-stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: .4rem;
}

.portal-stat span {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink-3);
}

.portal-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
}

.portal-panel--muted {
  background: transparent;
  border-style: dashed;
}

.portal-panel__title {
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.portal-table-wrap { overflow-x: auto; }

.portal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  min-width: 44rem;
}

.portal-table th {
  text-align: left;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink-3);
  padding: 0 0 .7rem;
  border-bottom: 1px solid var(--line);
}

.portal-table td {
  padding: .85rem .9rem .85rem 0;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.portal-table tr:last-child td { border-bottom: 0; }
.portal-table .nowrap { white-space: nowrap; }

.portal-todo {
  margin: 0;
  padding-left: 1.1rem;
  font-size: .875rem;
  color: var(--ink-3);
  line-height: 1.75;
}

@media (max-width: 860px) {
  .portal-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
