/* Transom Scaffolding: concept site (04C). Night horizon + site dashboard. */

:root {
  --night: #07080C;
  --panel: #10131B;
  --seg: #171B25;
  --chalk: #F1EEE8;
  --steel: #9BA4B6;
  --sodium: #FFA94D;
  --sodium-light: #FFD3A0;
  --sodium-dark: #9A4F00;
  --fog: #ECEEF2;
  --slate: #4A5263;
  --line: #262B38;
  --line-2: #3A4152;
  --glow-a: #FFC27D;
  --glow-b: #FF7A28;
  --f-head: "Gabarito", "Arial Black", system-ui, sans-serif;
  --f-body: "Bai Jamjuree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 64px;
  --wrap: 1240px;
  --pad: 24px;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--night);
  color: var(--chalk);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

@media (min-width: 1024px) {
  body { font-size: 17px; }
}

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

h1, h2, h3, h4, p, ul, ol, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }

a { color: inherit; }

[hidden] { display: none !important; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

.band--fog :focus-visible { outline-color: var(--night); }

.skip-link {
  position: absolute;
  left: 16px; top: -80px;
  z-index: 100;
  background: var(--sodium);
  color: var(--night);
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; outline-color: var(--night); outline-offset: -4px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}

@media (max-width: 767px) {
  :root { --pad: 16px; }
}

/* ---------- Type ---------- */

.h-display {
  font-family: var(--f-head);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.h-section {
  font-family: var(--f-head);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-size: clamp(34px, calc(34px + (100vw - 390px) * 0.021), 56px);
}

.h-page {
  font-family: var(--f-head);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-size: clamp(42px, calc(42px + (100vw - 390px) * 0.0362), 80px);
}

.eyebrow {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  line-height: 1.4;
}

.section { padding-block: 64px; }
@media (min-width: 1024px) { .section { padding-block: 96px; } }

.section__head { margin-bottom: 40px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out;
}

.btn--primary { background: var(--sodium); color: var(--night); }
.btn--primary:hover { background: #FFB362; }
.btn--primary:focus-visible { outline-color: var(--night); outline-offset: -5px; }

.btn--ghost { border-color: var(--chalk); color: var(--chalk); background: transparent; }
.btn--ghost:hover { background: var(--panel); }

.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Top strip + header ---------- */

.topstrip {
  background: var(--panel);
  min-height: 36px;
  padding: 6px var(--pad);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
  color: var(--chalk);
  border-bottom: 1px solid var(--line);
}
.topstrip a { font-weight: 600; color: var(--sodium); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--night);
  border-bottom: 1px solid var(--line);
  transition: background-color 220ms ease-out, border-color 220ms ease-out;
}

.site-header[data-hero]:not(.is-solid):not(.menu-open) {
  background: linear-gradient(to bottom, rgba(7, 8, 12, 0.72), rgba(7, 8, 12, 0));
  border-bottom-color: transparent;
}

.site-header__in {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: none;
  font-family: var(--f-head);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--chalk);
  margin-right: auto;
}
.brand svg { width: 16px; height: 16px; flex: none; }

.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  color: var(--chalk);
  border-radius: 6px;
}
.nav a:hover { color: var(--sodium); }
.nav a[aria-current="page"] { color: var(--sodium); }

.hdr-call .short { display: none; }

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0 16px;
  background: transparent;
  color: var(--chalk);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

@media (max-width: 719px) {
  .site-header__in { gap: 10px; }
  .brand { font-size: 22px; }
  .hdr-call .long { display: none; }
  .hdr-call .short { display: inline; }
  .hdr-call { padding: 0 16px; }

  .js .nav-toggle { display: inline-flex; align-items: center; }

  .js .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--night);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 16px;
  }
  .js .nav.is-open { display: block; }
  .js .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav a { width: 100%; min-height: 48px; padding: 0 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 17px; }

  /* Without JavaScript: nav drops to its own row under the bar. */
  html:not(.js) .site-header { height: auto; }
  html:not(.js) .site-header__in { flex-wrap: wrap; height: auto; padding-block: 6px; }
  html:not(.js) .nav { order: 3; width: 100%; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  min-height: max(100svh, 640px);
  padding-top: max(30svh, 170px);
  padding-bottom: calc(22vh + 16px);
  background: var(--night);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  z-index: 1;
}

.hero__glow {
  position: absolute;
  z-index: 2;
  left: -30%;
  top: 0;
  width: 160%;
  aspect-ratio: 3.2 / 1;
  transform: translateY(-62%);
  mix-blend-mode: screen;
  pointer-events: none;
}
@media (max-width: 767px) {
  .hero__glow { aspect-ratio: 2 / 1; }
}

.glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 169, 77, 0.55), rgba(255, 122, 40, 0.22) 55%, rgba(255, 122, 40, 0) 75%);
  filter: blur(40px);
  opacity: 0.8;
}

.glow-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.glow-line ellipse {
  fill: none;
  stroke: var(--glow-a);
  stroke-opacity: 0.6;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.hero__fade {
  position: absolute;
  z-index: 3;
  left: 0; right: 0; bottom: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(7, 8, 12, 0), var(--night));
  pointer-events: none;
}

.hero__copy {
  position: relative;
  z-index: 4;
  width: min(920px, calc(100% - 32px));
  margin-inline: auto;
  padding: 32px;
  background: rgba(7, 8, 12, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  text-align: center;
}
@media (max-width: 767px) {
  .hero__copy { padding: 24px 20px; }
}

.hero__title {
  margin-top: 16px;
  font-size: clamp(48px, calc(48px + (100vw - 390px) * 0.0533), 104px);
}
.hero__title span { display: block; }
.hero__title .t-a { color: var(--chalk); }
.hero__title .t-b { color: var(--sodium); }

.hero__lede {
  max-width: 640px;
  margin: 20px auto 28px;
  color: var(--chalk);
}

.hero .btn-row { justify-content: center; }

/* ---------- Dashboard ---------- */

.dash-wrap {
  position: relative;
  z-index: 2;
  margin-top: -22vh;
  perspective: 1600px;
  padding-bottom: 8px;
  scroll-margin-top: 72px;
}
@media (max-width: 767px) {
  .dash-wrap { margin-top: -12vh; }
}

.dash {
  width: calc(100% - 32px);
  max-width: 1180px;
  margin-inline: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  transform-origin: 50% 100%;
  will-change: transform;
}
@media (min-width: 768px) {
  .dash { width: calc(100% - 48px); }
}

.dash__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--steel); opacity: 0.55; display: block; }
.dash__title {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--steel);
  letter-spacing: 0.02em;
  margin-right: auto;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--sodium);
  color: var(--night);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.dash__panes { display: block; }
@media (min-width: 1024px) {
  .dash__panes { display: grid; grid-template-columns: 58fr 42fr; }
  .pane--track { border-left: 1px solid var(--line); }
}

.pane { padding: 24px 20px 28px; min-width: 0; }
@media (min-width: 1024px) { .pane { padding: 28px 32px 32px; } }
@media (max-width: 1023px) { .pane--track { border-top: 1px solid var(--line); } }

.pane__title {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.15;
  color: var(--chalk);
}

.pane__head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }

.tag-outline {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid var(--sodium);
  border-radius: 999px;
  color: var(--sodium);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
}

/* Estimator controls */

.est { display: grid; gap: 22px; margin-top: 20px; }

.ctl__label, .ctl legend {
  display: block;
  padding: 0;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--steel);
  letter-spacing: 0.02em;
}

.ctl__help { margin-top: 8px; font-size: 13px; color: var(--steel); line-height: 1.45; }

.seg__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seg__opt { position: relative; display: block; }
.seg__opt input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.seg__opt span {
  display: grid;
  place-items: center;
  min-height: 44px;
  background: var(--seg);
  color: var(--chalk);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 600;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  transition: background-color 160ms ease-out, color 160ms ease-out;
}
.seg__opt input:checked + span { background: var(--sodium); color: var(--night); border-color: var(--sodium); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--sodium); outline-offset: 3px; }
.seg__opt:hover input:not(:checked) + span { border-color: var(--line-2); }

.range-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.range-head .ctl__label { margin-bottom: 0; }
.range-out { font-weight: 600; font-size: 16px; color: var(--chalk); font-variant-numeric: tabular-nums; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  --fill: 37.5%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--sodium) var(--fill), var(--line) var(--fill));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px; height: 26px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--sodium);
  border: 3px solid var(--panel);
  box-shadow: 0 0 0 1px var(--sodium);
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--sodium); }
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--sodium);
  border: 3px solid var(--panel);
  box-shadow: 0 0 0 1px var(--sodium);
}

.checks { display: grid; gap: 2px; }
.check {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  cursor: pointer;
  font-size: 15px;
}
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--sodium); cursor: pointer; }

/* Result */

.result { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }

.rbar { position: relative; }

.rbar__labs { position: relative; height: 56px; }

.rbar__lab {
  position: absolute;
  top: 0;
  display: grid;
  gap: 2px;
  min-width: 108px;
  white-space: nowrap;
}
.rbar__lab--lo {
  left: max(var(--lo, 40%), 112px);
  transform: translateX(-100%);
  text-align: right;
}
.rbar__lab--hi {
  left: min(var(--hi, 60%), calc(100% - 112px));
  text-align: left;
}
.rbar__cap { font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); line-height: 1.3; }
.rbar__val { font-weight: 600; font-size: 28px; line-height: 1.15; color: var(--chalk); font-variant-numeric: tabular-nums; }

.rbar__track { position: relative; height: 10px; border-radius: 5px; background: var(--line); margin-top: 10px; }
.rbar__seg {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--lo, 40%);
  width: calc(var(--hi, 60%) - var(--lo, 40%));
  border-radius: 5px;
  background: linear-gradient(90deg, var(--sodium), var(--sodium-light));
}
.rbar__mk {
  position: absolute;
  top: -6px;
  width: 3px;
  height: 22px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--chalk);
}
.rbar__mk--lo { left: var(--lo, 40%); }
.rbar__mk--hi { left: var(--hi, 60%); }

@media (max-width: 479px) {
  .rbar__labs { display: flex; justify-content: space-between; align-items: flex-start; }
  .rbar__lab { position: static; transform: none; min-width: 0; }
  .rbar__lab--lo { text-align: left; }
  .rbar__lab--hi { text-align: right; }
}

.breakdown { margin-top: 22px; display: grid; gap: 6px; }
.breakdown__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--steel);
}
.breakdown__row b {
  flex: none;
  min-width: 88px;
  text-align: right;
  font-weight: 600;
  color: var(--chalk);
  font-variant-numeric: tabular-nums;
}

.foot-note { margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--steel); }

.result .btn { margin-top: 20px; width: 100%; }
@media (min-width: 640px) { .result .btn { width: auto; } }

/* Tracker */

.tracker-sub { color: var(--steel); font-size: 15px; line-height: 1.5; margin-top: 4px; }

.stepper { margin-top: 24px; }
.step { position: relative; display: grid; grid-template-columns: 24px 1fr; column-gap: 16px; padding-bottom: 22px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: 11.5px;
  top: 24px;
  bottom: 0;
  width: 1px;
  background: var(--line-2);
}
.step:last-child::before { display: none; }

.step__dot { position: relative; width: 24px; height: 24px; display: grid; place-items: center; }
.step__dot::after {
  content: "";
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--steel);
  background: transparent;
}
.step--done .step__dot::after { background: var(--sodium); border-color: var(--sodium); }
.step--current .step__dot::after { background: var(--sodium); border-color: var(--sodium); }
.step--current .step__dot::before {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--sodium);
  animation: ring 1.6s ease-out infinite;
}
@keyframes ring {
  from { transform: scale(1); opacity: 0.6; }
  to { transform: scale(1.6); opacity: 0; }
}

.step__name { font-weight: 600; font-size: 16px; line-height: 1.35; color: var(--steel); }
.step--done .step__name, .step--current .step__name { color: var(--chalk); }
.step__date { font-size: 14px; color: var(--steel); line-height: 1.45; margin-top: 2px; }

.hire { margin-top: 28px; }
.hire__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; }
.hire__top span:first-child { font-weight: 600; color: var(--steel); }
.hire__top span:last-child { font-weight: 600; color: var(--chalk); font-variant-numeric: tabular-nums; }
.hire__track { margin-top: 8px; height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
.hire__fill { height: 100%; width: 50%; border-radius: 5px; background: linear-gradient(90deg, var(--sodium), var(--sodium-light)); }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.tile { background: var(--seg); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.tile__k { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); line-height: 1.3; }
.tile__v { margin-top: 4px; font-size: 15px; font-weight: 600; color: var(--chalk); line-height: 1.35; }
@media (max-width: 479px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */

.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  transition: transform 180ms ease-out;
}
.card:hover { transform: translateY(-6px); }
.card h3 { font-family: var(--f-head); font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--chalk); }
.card p { margin-top: 10px; color: var(--steel); line-height: 1.55; }
.card .from { margin-top: auto; padding-top: 16px; color: var(--sodium); font-weight: 600; }

/* ---------- How a job runs ---------- */

.steps-wrap { position: relative; }
.steps { display: grid; gap: 0; grid-template-columns: 1fr; }
.steps__line { display: none; }

.steps li { position: relative; padding: 0 0 28px 56px; min-height: 36px; }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17.5px;
  top: 40px;
  bottom: 4px;
  width: 1px;
  background: var(--line-2);
}
.steps__n {
  position: absolute;
  left: 0; top: 0;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--night);
  color: var(--sodium);
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 16px;
  z-index: 1;
}
.steps h3 { font-family: var(--f-head); font-weight: 700; font-size: 22px; line-height: 36px; color: var(--chalk); }
.steps p { margin-top: 4px; color: var(--steel); line-height: 1.5; }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(5, 1fr); column-gap: 24px; }
  .steps__line {
    display: block;
    position: absolute;
    left: 18px;
    top: 17.5px;
    height: 1px;
    width: calc(0.8 * (100% + 24px));
    background: var(--line-2);
    transform-origin: 0 50%;
  }
  .steps li { padding: 0; }
  .steps li:not(:last-child)::before { display: none; }
  .steps__n { position: relative; margin-bottom: 14px; }
  .steps h3 { line-height: 1.2; }
}

/* ---------- Reviews ---------- */

.band--fog { background: var(--fog); color: var(--night); }
.reviews { display: grid; gap: 28px; grid-template-columns: 1fr; margin-top: 40px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.review blockquote p { font-family: var(--f-head); font-weight: 600; font-size: 22px; line-height: 1.3; color: var(--night); }
.review figcaption { margin-top: 14px; font-weight: 500; font-size: 14px; color: var(--slate); }
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 18px; height: 18px; fill: var(--sodium-dark); }

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

.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.cta__glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 0;
  width: 150%;
  max-width: 1900px;
  aspect-ratio: 3.2 / 1;
  transform: translate(-50%, -30%);
  opacity: 0.5;
  pointer-events: none;
}
/* Narrow screens: lift the arc so its line clears the two-line heading. */
@media (max-width: 767px) {
  .cta__glow { transform: translate(-50%, -72%); }
}
.cta__glow .glow { opacity: 1; }
.cta .wrap { position: relative; }
.cta h2 { max-width: 14ch; margin-inline: auto; }
.cta .btn-row { justify-content: center; margin-top: 32px; }

/* ---------- Page header band (work) ---------- */

.page-head { padding-block: 48px 64px; }
@media (min-width: 1024px) { .page-head { padding-block: 80px 96px; } }
.page-head__grid { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; }
.page-head__img { order: -1; }
@media (min-width: 1024px) {
  .page-head__grid { grid-template-columns: 1.15fr 1fr; gap: 64px; }
  .page-head__img { order: 0; }
}
.page-head__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.page-head__copy p { margin-top: 24px; max-width: 56ch; color: var(--chalk); }
.page-head__copy p + p { margin-top: 16px; color: var(--steel); }

/* ---------- Jobs ---------- */

.jobs { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .jobs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .jobs { grid-template-columns: repeat(3, 1fr); } }

.job {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 180ms ease-out;
}
.job:hover { transform: translateY(-6px); }
.job img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.job__body { padding: 18px 20px 22px; }
.job__title { color: var(--chalk); line-height: 1.4; }
.job__tag { margin-top: 10px; font-weight: 600; font-size: 12px; letter-spacing: 0.12em; color: var(--steel); }

.stats { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 24px 20px; }
.stat__v { font-family: var(--f-head); font-weight: 900; font-size: 34px; line-height: 1.05; color: var(--sodium); }
.stat__k { margin-top: 6px; color: var(--steel); font-size: 15px; line-height: 1.4; }

/* ---------- Contact ---------- */

.contact { display: grid; gap: 40px; grid-template-columns: 1fr; padding-block: 56px 48px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.05fr; gap: 64px; padding-block: 88px 64px; } }

.phone-big {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(34px, calc(34px + (100vw - 390px) * 0.0133), 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--chalk);
  text-decoration: none;
}
.phone-big:hover { color: var(--sodium); }

.contact dl { margin: 32px 0 0; display: grid; gap: 18px; }
.contact dt { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
.contact dd { margin: 4px 0 0; color: var(--chalk); }
.contact dd a { text-underline-offset: 3px; }

.form-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px 20px; }
@media (min-width: 640px) { .form-panel { padding: 32px; } }

.form-panel h2 { font-family: var(--f-head); font-weight: 800; font-size: 28px; line-height: 1.1; margin-bottom: 20px; }

.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label, .field legend { font-size: 14px; color: var(--steel); font-weight: 500; padding: 0; }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--night);
  color: var(--chalk);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.4;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: auto; }
.field input[readonly] { color: var(--sodium); font-weight: 600; border-style: dashed; }
.field .req { color: var(--sodium); }

.radios { display: flex; gap: 12px; }
.radios label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--chalk);
  font-size: 16px;
  cursor: pointer;
}
.radios input { width: 20px; height: 20px; margin: 0; accent-color: var(--sodium); }

.form-done {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.25;
  color: var(--chalk);
}
.form-done:empty { display: none; }
.form-done:focus-visible { outline-offset: 8px; }

.van { padding-bottom: 64px; }
.van figure { margin: 0; }
.van img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.van figcaption { margin-top: 14px; color: var(--steel); font-size: 15px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--night); border-top: 1px solid var(--line); padding-block: 48px 32px; color: var(--steel); font-size: 15px; }
.footer__grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.1fr 1fr 1fr; } }
.footer__brand { font-family: var(--f-head); font-weight: 900; font-size: 22px; letter-spacing: 0.06em; color: var(--chalk); line-height: 1.2; }
.site-footer p { margin: 4px 0 0; line-height: 1.5; }
.site-footer a { color: var(--chalk); text-underline-offset: 3px; display: inline-block; padding-block: 6px; }
.credit { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--steel); }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .step--current .step__dot::before { animation: none; opacity: 0; }
  .job, .card, .btn, .site-header, .seg__opt span { transition: none; }
  .job:hover, .card:hover { transform: none; }
  .dash { will-change: auto; }
}
