/* ===== shared base (all designs) ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { min-height: 100vh; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }

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

.sr-only { position: absolute !important; 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; left: 1rem; top: -100px; z-index: 1000; padding: 0.75rem 1rem; background: var(--focus, #FF5A1F); color: #000; font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* Facts still to be confirmed by Atlas CSF */
.is-tbc { outline: 1px dashed currentColor; outline-offset: 2px; }

.c-icon { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.c-icon--sm { width: 1.125rem; height: 1.125rem; }

/* Mobile menu / header hooks used by main.js */
body.has-menu-open { overflow: hidden; }
.c-burger .i-close { display: none; }
.is-open .c-burger .i-close { display: block; }
.is-open .c-burger .i-menu { display: none; }

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

/* ===== shared dialog + form (all designs), themed by --f-* variables on :root ===== */
.c-dialog {
  width: min(44rem, calc(100% - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  margin: auto; padding: 0;
  border: 1px solid var(--f-line);
  border-radius: var(--f-radius);
  background: var(--f-bg);
  color: var(--f-fg);
  font-family: var(--f-font, inherit);
  overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.5);
}
.c-dialog--narrow { width: min(30rem, calc(100% - 1.5rem)); }
.c-dialog::backdrop { background: var(--f-backdrop, rgb(0 0 0 / 0.6)); backdrop-filter: blur(4px); }
.c-dialog[open] { animation: f-in 0.25s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes f-in { from { opacity: 0; transform: translateY(12px); } }
.c-dialog__head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.5rem 1.5rem 1rem; background: var(--f-bg); border-bottom: 1px solid var(--f-line); }
.c-dialog__head h2 { font-family: var(--f-head-font, inherit); font-size: clamp(1.375rem, 1.2rem + 0.9vw, 1.75rem); line-height: 1.2; font-weight: var(--f-head-weight, 700); }
.c-dialog__head p { margin-top: 0.25rem; font-size: 0.9375rem; color: var(--f-muted); }
.c-dialog__close { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; margin: -0.5rem -0.5rem 0 0; border-radius: var(--f-radius); flex: none; }
.c-dialog__close:hover { background: var(--f-hover); }
.c-dialog__body { padding: 1.5rem; }
body:has(.c-dialog[open]) { overflow: hidden; }

.c-form { display: grid; gap: 1rem; }
.c-form__row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .c-form__row { grid-template-columns: 1fr 1fr; } }
.c-field { display: grid; gap: 0.375rem; align-content: start; }
.c-field > label, .c-field > legend { font-size: 0.9375rem; font-weight: 600; padding: 0; }
.c-opt { font-weight: 400; color: var(--f-muted); }
fieldset.c-field { border: 0; padding: 0; min-width: 0; }
.c-input {
  width: 100%; min-height: 3rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--f-input-line);
  border-radius: var(--f-radius);
  background: var(--f-input-bg);
  color: var(--f-fg);
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.c-input::placeholder { color: var(--f-muted); opacity: 0.8; }
.c-input:focus { outline: none; border-color: var(--f-accent); box-shadow: 0 0 0 3px var(--f-ring); }
textarea.c-input { min-height: 7rem; resize: vertical; }
select.c-input { appearance: none; background-image: var(--f-arrow); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 1.125rem; padding-right: 2.5rem; }
select.c-input option { background: var(--f-bg); color: var(--f-fg); }
.c-field__error { display: none; font-size: 0.8125rem; color: var(--f-error, #B42318); font-weight: 500; }
.c-field.is-invalid .c-input { border-color: var(--f-error, #B42318); }
.c-field.is-invalid .c-field__error { display: block; }

.c-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.c-chip { position: relative; }
.c-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.c-chip span { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0.375rem 0.875rem; border: 1px solid var(--f-input-line); border-radius: 999px; background: var(--f-input-bg); font-size: 0.9375rem; transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.c-chip input:checked + span { background: var(--f-accent); border-color: var(--f-accent); color: var(--f-accent-fg); }
.c-chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.c-check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9375rem; color: var(--f-muted); }
.c-check a { color: var(--f-fg); }
.c-check input { width: 1.25rem; height: 1.25rem; margin-top: 0.125rem; accent-color: var(--f-accent); flex: none; }
.c-form__status { font-size: 0.9375rem; }
.c-form__status:empty { display: none; }
.c-form__status.is-error { color: var(--f-error, #B42318); font-weight: 500; }
.c-success { display: grid; gap: 0.75rem; padding: 1.5rem 0; }
.c-success svg { width: 2.5rem; height: 2.5rem; color: var(--f-accent); }
.c-success h3 { font-size: 1.5rem; }
.c-success p { color: var(--f-muted); }
.c-success a { color: var(--f-fg); }

/* Buttons inside dialogs use the design's primary button via .c-btn--primary */
.c-dialog .c-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; padding: 0.75rem 1.5rem; border-radius: var(--f-radius); font-weight: 600; }
.c-dialog .c-btn--primary { background: var(--f-accent); color: var(--f-accent-fg); }
.c-dialog .c-btn--block { width: 100%; }

/* ===== shared schematic panel (designs 2 and 6): isometric cutaway SVG from _shared/schematic.mjs ===== */
.schem { position: relative; isolation: isolate; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(120% 90% at 70% 10%, #1B2540 0%, #0E1424 60%, #0A0F1C 100%); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgb(255 255 255 / 0.06); }
.schem__svg { display: block; width: 100%; height: auto; padding: 0.75rem 0.5rem 0; }
.schem__scan { position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 0%, rgb(255 140 76 / 0) 40%, rgb(255 140 76 / 0.16) 50%, rgb(255 140 76 / 0) 60%, transparent 100%); background-size: 250% 100%; animation: sx-scan 7s ease-in-out infinite; mix-blend-mode: screen; }
.schem__bar { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; padding: 0.75rem 1.125rem; border-top: 1px solid rgb(255 255 255 / 0.08); font-size: 0.8125rem; color: #A9B3C7; }
.schem__legend { display: inline-flex; align-items: center; gap: 0.5rem; }
.lg { width: 0.875rem; height: 3px; border-radius: 2px; margin-left: 0.5rem; }
.lg--power { background: #FF6B2C; box-shadow: 0 0 6px #FF6B2C; } .lg--cool { background: #FFB547; box-shadow: 0 0 6px #FFB547; }

.sx-grid { stroke: rgb(255 255 255 / 0.05); stroke-width: 1; fill: none; }
.sx-slab--top { fill: #16203A; } .sx-slab--l { fill: #0D1426; } .sx-slab--r { fill: #111A30; }
.sx-slab { stroke: rgb(255 255 255 / 0.18); stroke-width: 1; stroke-linejoin: round; }
.sx-wall { fill: rgb(255 255 255 / 0.035); stroke: rgb(255 255 255 / 0.22); stroke-width: 1; }
.sx-rack { stroke: rgb(190 205 230 / 0.45); stroke-width: 0.8; stroke-linejoin: round; }
.sx-rack--top { fill: #2A3756; } .sx-rack--l { fill: #1C2741; } .sx-rack--r { fill: #16203A; }
.sx-rackline { stroke: rgb(190 205 230 / 0.18); stroke-width: 0.7; fill: none; }
.sx-led { fill: #FF8A4C; animation: sx-blink 2.4s ease-in-out infinite; }
.sx-eq { stroke: rgb(255 150 90 / 0.65); stroke-width: 0.9; stroke-linejoin: round; }
.sx-eq--top { fill: #3A2A2C; } .sx-eq--l { fill: #2A1F25; } .sx-eq--r { fill: #23191F; }
.sx-out { stroke: rgb(190 205 230 / 0.45); stroke-width: 0.9; stroke-linejoin: round; }
.sx-out--top { fill: #24304C; } .sx-out--l { fill: #18213A; } .sx-out--r { fill: #131B30; }
.sx-chiller { stroke: rgb(190 205 230 / 0.5); stroke-width: 0.9; stroke-linejoin: round; }
.sx-chiller--top { fill: #26324F; } .sx-chiller--l { fill: #1A2440; } .sx-chiller--r { fill: #151E36; }
.sx-fan { fill: #0E1424; stroke: rgb(255 181 71 / 0.7); stroke-width: 0.9; }
.sx-dash { fill: none; stroke: rgb(255 255 255 / 0.22); stroke-width: 1; stroke-dasharray: 3 4; }
.sx-edge { fill: none; stroke: rgb(255 255 255 / 0.3); stroke-width: 1.2; }
.sx-lift { fill: none; stroke: rgb(255 255 255 / 0.2); stroke-width: 1; stroke-dasharray: 2 4; }
.sx-roof { fill: rgb(255 255 255 / 0.04); stroke: rgb(255 255 255 / 0.4); stroke-width: 1.1; stroke-linejoin: round; }
.sx-power { fill: none; stroke: rgb(255 107 44 / 0.45); stroke-width: 2; stroke-linejoin: round; }
.sx-cool { fill: none; stroke: rgb(255 181 71 / 0.35); stroke-width: 2; stroke-linejoin: round; }
.sx-pulse { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 0.1 22; animation: sx-flow 1.6s linear infinite; }
.sx-pulse--power { stroke: #FFB08A; filter: drop-shadow(0 0 3px #FF6B2C) drop-shadow(0 0 6px #FF6B2C); }
.sx-pulse--cool { stroke: #FFE0A8; filter: drop-shadow(0 0 3px #FFB547); animation-duration: 2.2s; }
.sx-label { fill: #DCE3F0; font-size: 11px; font-weight: 600; letter-spacing: 0.01em; paint-order: stroke; stroke: #0E1424; stroke-width: 4px; stroke-linejoin: round; }

@keyframes sx-flow { to { stroke-dashoffset: -22.1; } }
@keyframes sx-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes sx-scan { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .sx-pulse, .schem__scan { display: none; } .sx-led { animation: none; } }
@media (max-width: 639px) { .sx-label { font-size: 17px; stroke-width: 5px; } }

/* ===== Design 5: Minimal Swiss corporate (12-column grid, black type, orange squares) ===== */
@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --white: #FFFFFF;
  --grey: #F2F2F2;
  --black: #000000;
  --text: #111111;
  --muted: #5C5C5C;
  --line: #000000;
  --line-light: #DADADA;
  --orange: #FF5F00;         /* markers only, never text on white */
  --focus: #FF5F00;
  --wrap: 90rem;
  --gutter: clamp(1rem, 0.5rem + 2.4vw, 2.5rem);
  --col-gap: clamp(1rem, 0.6rem + 1.2vw, 1.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --f-bg: #FFFFFF; --f-fg: #000000; --f-muted: #5C5C5C; --f-line: #000000;
  --f-input-bg: #FFFFFF; --f-input-line: #9E9E9E; --f-accent: #000000; --f-accent-fg: #FFFFFF;
  --f-ring: rgb(255 95 0 / 0.25); --f-radius: 0px; --f-hover: #F2F2F2; --f-head-weight: 600;
  --f-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

body { background: var(--white); color: var(--text); font-family: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem); line-height: 1.55; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }

/* 12-column grid: every section aligns to it */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--col-gap); width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }

.sq { display: inline-block; width: 0.625rem; height: 0.625rem; background: var(--orange); flex: none; }

/* buttons + links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.75rem 1.5rem; background: var(--black); color: var(--white); font-size: 0.9375rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.btn:hover { background: var(--orange); color: var(--black); }
.btn--block { width: 100%; }
.tlink { font-size: 0.9375rem; font-weight: 500; text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
.tlink:hover { text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.tag-sample { padding: 0 0.375rem; border: 1px dashed var(--black); font-size: 0.75rem; color: var(--muted); }

/* header */
.hd { position: sticky; top: 0; z-index: 100; height: 4rem; background: var(--white); border-bottom: 1px solid var(--line-light); }
.hd__bar { height: 100%; align-items: center; }
.logo { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.02em; grid-column: 1 / span 2; }
.logo svg { width: 1.5rem; height: 1.5rem; }
.hd__nav { display: none; }
.c-burger { grid-column: 4; justify-self: end; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; margin-right: -0.5rem; }
@media (min-width: 960px) {
  .hd__nav { display: flex; grid-column: 5 / -1; justify-content: space-between; align-items: center; }
  .c-burger { display: none; }
}
.hd__nav a { font-size: 0.9375rem; text-decoration: none; padding-block: 0.375rem; border-bottom: 1px solid transparent; }
.hd__nav a:hover { border-bottom-color: var(--black); }
.hd__cta { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.mm { position: fixed; inset: 4rem 0 0; display: flex; flex-direction: column; background: var(--white); visibility: hidden; opacity: 0; transition: opacity 0.2s, visibility 0s 0.2s; padding-inline: var(--gutter); }
.is-open .mm { visibility: visible; opacity: 1; transition-delay: 0s; }
.mm__nav { flex: 1; overflow-y: auto; display: grid; align-content: start; padding-block: 1rem; }
.mm__nav a { display: flex; align-items: center; min-height: 3.5rem; border-bottom: 1px solid var(--line-light); font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.mm__foot { padding-block: 1rem calc(1rem + env(safe-area-inset-bottom)); }

/* hero */
.hero { padding-block: clamp(3.5rem, 2rem + 6vw, 8rem) clamp(3rem, 2rem + 4vw, 6rem); }
.hero__title { grid-column: 1 / -1; font-size: clamp(2.375rem, 1.3rem + 3.6vw, 4.75rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; max-width: 14ch; }
.hero__meta { grid-column: 1 / -1; display: flex; gap: 0.75rem; align-items: baseline; margin-top: clamp(2.5rem, 2rem + 3vw, 5rem); font-size: 0.9375rem; color: var(--muted); }
.hero__meta .sq { transform: translateY(-0.05em); }
.hero__lede { grid-column: 1 / -1; display: grid; gap: 1.75rem; align-content: start; margin-top: 1.5rem; }
.hero__lede p { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.45; max-width: 34rem; }
.hero__img { grid-column: 1 / -1; margin: 2.5rem 0 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--grey); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) {
  .hero .grid { grid-template-rows: auto 1fr; }
  .hero__title { grid-column: 1 / span 8; grid-row: 1; align-self: start; }
  .hero__img { grid-column: 9 / -1; grid-row: 1 / span 2; margin-top: 0.5rem; aspect-ratio: 4 / 5; align-self: start; }
  .hero__meta { grid-column: 1 / span 3; grid-row: 2; align-self: end; }
  .hero__lede { grid-column: 4 / span 5; grid-row: 2; margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); align-self: start; }
}

/* sections: label column + content columns */
.sec { padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem); border-top: 1px solid var(--line); }
.sec--grey { background: var(--grey); border-top: 0; }
.sec--line { border-top: 1px solid var(--line); }
.label { grid-column: 1 / -1; display: flex; align-items: center; gap: 0.625rem; margin-bottom: 1.5rem; }
.label h2 { font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; }
.content { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 960px) { .label { grid-column: 1 / span 3; align-self: start; margin-bottom: 0; } .content { grid-column: 4 / -1; } }
.intro { font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; max-width: 30ch; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }

/* services index table */
.idx + .idx { margin-top: 2.5rem; }
.idx__group { font-size: 0.875rem; font-weight: 500; color: var(--muted); letter-spacing: 0; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.idx__row { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1.5rem; padding-block: 1.125rem; border-bottom: 1px solid var(--line-light); text-decoration: none; transition: background-color 0.2s; }
.idx__name { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; }
.idx__sum { grid-column: 1; color: var(--muted); font-size: 0.9375rem; max-width: 40rem; }
.idx__row .c-icon { grid-column: 2; grid-row: 1 / span 2; align-self: center; transform: rotate(-90deg); transition: transform 0.2s var(--ease); }
.idx__row:hover { background: var(--grey); }
.idx__row:hover .c-icon { transform: rotate(-90deg) translateY(4px); color: var(--orange); }
@media (min-width: 960px) {
  .idx__row { grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: baseline; }
  .idx__name { grid-column: 1 / span 3; }
  .idx__sum { grid-column: 4 / span 5; }
  .idx__row .c-icon { grid-column: 9; grid-row: 1; justify-self: end; }
}

/* facts */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem var(--col-gap); }
.facts > div { border-top: 1px solid var(--line); padding-top: 1rem; }
.facts dt { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 3.25rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.facts dd { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.875rem; max-width: 15rem; }
@media (min-width: 960px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } .facts dt { font-size: clamp(1.75rem, 0.6rem + 2.2vw, 2.75rem); } }

/* clients */
.clients { display: grid; gap: 2.5rem var(--col-gap); }
.client { display: grid; gap: 0.75rem; align-content: start; padding-top: 1rem; border-top: 1px solid var(--line); }
.client h3 { font-size: 1.125rem; }
.client p { color: var(--muted); font-size: 0.9375rem; }
.client ul { display: grid; gap: 0.25rem; margin-top: 0.25rem; font-size: 0.875rem; }
.client li a { text-decoration: none; border-bottom: 1px solid var(--line-light); }
.client li a:hover { border-bottom-color: var(--orange); }
@media (min-width: 640px) { .clients { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .clients { grid-template-columns: repeat(4, 1fr); } }

/* work list */
.work { border-top: 1px solid var(--line); margin-bottom: 2rem; }
.work__row { position: relative; display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem var(--col-gap); padding-block: 1.25rem; border-bottom: 1px solid var(--line-light); align-items: center; }
.work__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--grey); }
.work__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.4s var(--ease); }
.work__row:hover .work__img img { filter: none; }
.work__meta { font-size: 0.8125rem; color: var(--muted); margin-bottom: 0.25rem; }
.work h3 { font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.375rem); letter-spacing: -0.015em; }
.work h3 a { text-decoration: none; }
.work h3 a::after { content: ""; position: absolute; inset: 0; }
.work__row:hover h3 a { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.work__dl { grid-column: 1 / -1; display: flex; gap: 2rem; font-size: 0.875rem; }
.work__dl dt { color: var(--muted); } .work__dl dd { margin: 0; font-weight: 500; }
@media (min-width: 960px) {
  .work__row { grid-template-columns: repeat(9, minmax(0, 1fr)); }
  .work__img { grid-column: 1 / span 2; }
  .work__main { grid-column: 3 / span 4; }
  .work__dl { grid-column: 7 / span 3; display: grid; gap: 0.5rem; }
}

/* credentials */
.creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem var(--col-gap); }
.creds b { display: inline-block; font-weight: 600; font-size: 0.9375rem; }
.creds span { display: block; color: var(--muted); font-size: 0.8125rem; margin-top: 0.125rem; }
@media (min-width: 960px) { .creds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* cta */
.cta { padding-block: clamp(4rem, 2.5rem + 6vw, 8rem); background: var(--black); color: var(--white); }
.cta__title { grid-column: 1 / -1; font-size: clamp(2.5rem, 1rem + 6vw, 6.5rem); letter-spacing: -0.045em; line-height: 0.95; }
.cta__title::after { content: ""; display: inline-block; width: 0.18em; height: 0.18em; margin-left: 0.08em; background: var(--orange); }
.cta__side { grid-column: 1 / -1; display: grid; gap: 1.5rem; margin-top: 2rem; }
.cta__side p { color: #BDBDBD; font-size: 1.0625rem; max-width: 28rem; }
.cta .btn { background: var(--white); color: var(--black); }
.cta .btn:hover { background: var(--orange); }
.cta .tlink { color: var(--white); }
@media (min-width: 960px) { .cta__title { grid-column: 1 / span 8; } .cta__side { grid-column: 9 / -1; align-self: end; margin-top: 0; } }

/* footer */
.ft { padding-block: 2.5rem; border-top: 1px solid var(--line-light); font-size: 0.875rem; }
.ft__grid { row-gap: 1.5rem; }
.ft__brand { grid-column: 1 / -1; }
.ft__col { grid-column: span 2; font-style: normal; color: var(--muted); line-height: 1.8; }
.ft__col a { text-decoration: none; }
.ft__col a:hover { text-decoration: underline; }
ul.ft__col { display: grid; }
.ft__legal { grid-column: 1 / -1; color: var(--muted); font-size: 0.8125rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light); }
@media (min-width: 960px) { .ft__brand { grid-column: 1 / span 3; } .ft__col { grid-column: span 3; } }
