/* Atlanta Metallurgical Services
   Set in the grammar of a material test certificate: ruled tables,
   specimen IDs, standard codes and a signed-off seal. */

:root {
  --ink: #1a1a18;
  --ink-2: #242422;
  --ink-3: #30302d;
  --steel: #54544e;
  --muted: #5e5f58;
  --paper: #f2f3ee;
  --paper-2: #e6e8e0;
  --sheet: #fbfbf8;
  --rule: rgba(26, 26, 24, 0.14);
  --rule-strong: rgba(26, 26, 24, 0.32);
  --rule-dark: rgba(242, 243, 238, 0.14);
  --on-ink: #f2f3ee;
  --on-ink-muted: #b4b6ab;
  --lime: #8fbb4f;
  --lime-bright: #a6d05f;
  --lime-deep: #4a6f22;
  --lime-wash: #dfe9cc;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

::selection { background: var(--lime); color: var(--ink); }

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

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

html { scrollbar-color: var(--steel) var(--paper-2); }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

.mono { font-family: var(--mono); font-size: 0.86em; letter-spacing: 0; }
.num { font-variant-numeric: tabular-nums; }

/* Display type scale */
.display {
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  font-variation-settings: "wdth" 112;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.h2 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-variation-settings: "wdth" 108;
  letter-spacing: -0.028em;
}
.h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.625rem);
  font-variation-settings: "wdth" 104;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.lede {
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height: 1.55;
  max-width: 60ch;
}

/* Buttons */
.btn {
  --btn-bg: var(--lime);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { --btn-bg: var(--lime-bright); }
.btn:active { transform: translateY(1px); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--on-ink);
  border-color: rgba(242, 243, 238, 0.32);
}
.btn--ghost:hover { --btn-bg: rgba(242, 243, 238, 0.08); border-color: rgba(242, 243, 238, 0.6); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--on-ink); }
.btn--ink:hover { --btn-bg: var(--ink-3); }
.btn--line {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--rule-strong);
}
.btn--line:hover { --btn-bg: var(--paper-2); border-color: var(--ink); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Announcement ribbon */
.ribbon {
  background: var(--ink-2);
  color: var(--on-ink-muted);
  font-size: 0.875rem;
  border-bottom: 1px solid var(--rule-dark);
}
.ribbon .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.ribbon__news {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--on-ink);
  text-decoration: none;
}
.ribbon__news strong { color: var(--lime-bright); font-weight: 600; }
.ribbon__news:hover span { text-decoration: underline; }
.ribbon__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(143, 187, 79, 0.25);
  flex: none;
}
.ribbon__meta { display: flex; gap: 20px; }
.ribbon__meta a { text-decoration: none; }
.ribbon__meta a:hover { color: var(--on-ink); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--on-ink);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.6); }
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}
.brand__mark { width: 44px; height: auto; }
.brand__text { display: grid; gap: 3px; }
.brand__word { width: 118px; height: auto; }
.brand__tag {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 600;
  white-space: nowrap;
}
.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav a {
  position: relative;
  display: block;
  padding: 10px 12px;
  color: var(--on-ink-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s var(--ease);
}
.nav a:hover { color: var(--on-ink); }
.nav a[aria-current="page"] { color: var(--on-ink); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { min-height: 42px; padding: 10px 16px; font-size: 0.9375rem; }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-left: auto;
  border: 1px solid rgba(242, 243, 238, 0.24);
  border-radius: 10px;
  background: transparent;
  color: var(--on-ink);
  cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1100px) {
  .header-actions .btn--ghost { display: none; }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .header-actions { display: none; }
  .nav {
    position: fixed;
    inset: var(--nav-top, 112px) 0 auto 0;
    max-height: calc(100dvh - var(--nav-top, 112px));
    overflow-y: auto;
    background: var(--ink);
    border-top: 1px solid var(--rule-dark);
    padding: 12px var(--gutter) 28px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 16px 0; font-size: 1.25rem; border-bottom: 1px solid var(--rule-dark); border-radius: 0; color: var(--on-ink); }
  .nav a[aria-current="page"]::after { left: auto; right: 0; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); }
  .nav__cta { display: grid; gap: 10px; margin-top: 20px; }
  .nav__cta .btn { justify-content: center; }
}
@media (min-width: 961px) { .nav__cta { display: none; } }
@media (max-width: 640px) {
  .ribbon__meta { display: none; }
  .ribbon { font-size: 0.8125rem; }
}

/* Hero */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 88px) clamp(64px, 7vw, 104px);
}
.hero__copy { display: grid; gap: 28px; justify-items: start; }
.hero__copy .display em { font-style: normal; color: var(--lime); }
.hero__sub { color: var(--on-ink-muted); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); max-width: 34em; }
.hero__sub strong { color: var(--on-ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-dark);
  width: 100%;
  color: var(--on-ink-muted);
  font-size: 0.9375rem;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .icon { width: 18px; height: 18px; color: var(--lime); }

/* Report sheet: the signature */
.report {
  position: relative;
  margin: 0;
  background: var(--sheet);
  color: var(--ink);
  border-radius: 6px;
  padding: clamp(18px, 2vw, 28px);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.3);
  font-size: 0.875rem;
  transform: rotate(-1.2deg);
}
.report__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}
.report__head img { width: 38px; }
.report__title { display: grid; gap: 2px; line-height: 1.2; }
.report__title strong { font-size: 1rem; font-variation-settings: "wdth" 110; letter-spacing: 0.01em; text-transform: uppercase; }
.report__title span { color: var(--muted); font-size: 0.75rem; }
.report__id { text-align: right; line-height: 1.35; font-size: 0.75rem; color: var(--muted); }
.report__id b { display: block; color: var(--ink); font-weight: 500; }
.report__spec {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--rule);
}
.report__spec div { padding: 8px 0; line-height: 1.3; }
.report__spec div + div { padding-left: 12px; border-left: 1px solid var(--rule); }
.report__spec dt { font-size: 0.6875rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.report__spec dd { margin: 2px 0 0; font-weight: 600; }
.report__rows { margin: 0; padding: 0; list-style: none; }
.report__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 22px;
  gap: 12px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--rule);
  line-height: 1.3;
}
.report__row small { display: block; font-size: 0.6875rem; color: var(--muted); }
.report__val { font-family: var(--mono); font-size: 0.8125rem; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.report__tick {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
}
.report__tick svg { width: 12px; height: 12px; stroke-width: 3; }
.report__curve { margin-top: 10px; }
.report__curve svg { max-height: 96px; }
.report__curve svg { width: 100%; height: auto; overflow: visible; }
.report__curve .axis { stroke: var(--ink); stroke-width: 1; }
.report__curve .grid { stroke: var(--rule); stroke-width: 1; }
.report__curve .trace { fill: none; stroke: var(--lime-deep); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.report__curve .pt { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.5; }
.report__curve text { font-family: var(--mono); font-size: 9px; fill: var(--muted); }
.report__curve text.lbl { fill: var(--ink); font-weight: 500; }
.report__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  font-size: 0.6875rem;
  color: var(--muted);
}
.seal {
  position: absolute;
  right: clamp(-28px, -2vw, -12px);
  top: clamp(-44px, -3vw, -28px);
  width: clamp(112px, 11vw, 148px);
  aspect-ratio: 1;
  color: var(--lime);
  transform: rotate(10deg);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}
.seal svg { width: 100%; height: 100%; }
.seal .disc { fill: var(--ink); }
.seal .ring { fill: none; stroke: currentColor; stroke-width: 1.5; }
.seal text { fill: currentColor; font-family: var(--font); font-weight: 600; font-size: 10.5px; letter-spacing: 0.18em; }
.seal .big { font-size: 46px; font-weight: 800; letter-spacing: -0.04em; font-variation-settings: "wdth" 115; fill: var(--on-ink); }
.seal .small { font-size: 9px; letter-spacing: 0.2em; fill: var(--on-ink); }

/* Printing sequence (only when JS and motion are available) */
.js.motion-ok .report.is-armed .report__row { opacity: 0; transform: translateY(-4px); clip-path: inset(0 0 100% 0); }
.js.motion-ok .report.is-armed .report__tick { transform: scale(0); }
.js.motion-ok .report.is-armed .report__curve .trace { stroke-dashoffset: var(--len, 600); }
.js.motion-ok .report.is-armed .seal { opacity: 0; transform: rotate(-8deg) scale(1.35); }
.report__row { transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), clip-path 0.5s var(--ease); }
.report__tick { transition: transform 0.45s var(--ease); }
.report__curve .trace { stroke-dasharray: var(--len, 600); stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease); }
.seal { transition: opacity 0.3s var(--ease), transform 0.7s var(--ease); }

.report-caption { margin-top: 18px; font-size: 0.8125rem; color: var(--on-ink-muted); text-align: right; transform: rotate(-1.2deg); }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; width: 100%; margin-inline: auto; padding-top: 24px; }
}
@media (max-width: 480px) {
  .report { transform: none; }
  .report-caption { transform: none; }
  .report__spec { grid-template-columns: 1fr 1fr; }
  .report__spec div:nth-child(3) { display: none; }
  .seal { right: -6px; top: -48px; width: 104px; }
}

/* Ledger band (brand lime) */
.ledger { background: var(--lime); color: var(--ink); }
.ledger .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ledger__item {
  display: grid;
  gap: 4px;
  padding: clamp(28px, 4vw, 48px) clamp(16px, 2.4vw, 32px);
}
.ledger__item + .ledger__item { border-left: 1px solid rgba(26, 26, 24, 0.22); }
.ledger__item:first-child { padding-left: 0; }
.ledger__num {
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variation-settings: "wdth" 115;
  font-variant-numeric: tabular-nums;
}
.ledger__label { font-size: clamp(0.9375rem, 1.3vw, 1.125rem); font-weight: 600; }
.ledger__note { font-size: 0.875rem; color: #2f3a1f; }
@media (max-width: 720px) {
  .ledger .wrap { grid-template-columns: 1fr; }
  .ledger__item { padding: 22px 0; grid-template-columns: auto 1fr; column-gap: 20px; align-items: baseline; }
  .ledger__item + .ledger__item { border-left: 0; border-top: 1px solid rgba(26, 26, 24, 0.22); }
  .ledger__num { grid-row: span 2; min-width: 5.2ch; }
}

/* Sections */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--sheet { background: var(--sheet); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head p { color: var(--muted); max-width: 52ch; }
.section--ink .section-head p { color: var(--on-ink-muted); }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Commitment statement */
.statement {
  font-size: clamp(1.5rem, 2.9vw, 2.5rem);
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -0.02em;
  max-width: 30em;
  font-variation-settings: "wdth" 100;
}
.statement b { font-weight: 700; }
.statement .hl { background: linear-gradient(transparent 62%, var(--lime-wash) 62%); font-weight: 700; }
.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.statement-aside { display: grid; gap: 16px; color: var(--muted); padding-bottom: 8px; }
.statement-aside p b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .statement-grid { grid-template-columns: 1fr; } }

/* Scope bar */
.scope-bar { background: var(--ink); color: var(--on-ink); }
.scope-bar ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.scope-bar li { flex: 1 1 auto; }
.scope-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 12px 16px;
  color: var(--on-ink);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.scope-bar li + li a { border-left: 1px solid var(--rule-dark); }
.scope-bar a::before { content: ""; width: 6px; height: 6px; background: var(--lime); border-radius: 50%; }
.scope-bar a:hover { background: var(--ink-3); color: var(--lime-bright); }
@media (max-width: 860px) {
  .scope-bar ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
  .scope-bar ul::-webkit-scrollbar { display: none; }
}

/* Scope index (tabs) */
.scope-index {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.6fr);
  border-top: 2px solid var(--ink);
}
.scope-index__list { display: grid; align-content: start; border-right: 1px solid var(--rule); }
.scope-tab {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 22px 20px 22px 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 600;
  font-variation-settings: "wdth" 106;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.scope-tab .count { font-family: var(--mono); font-size: 0.75rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.scope-tab:hover { color: var(--ink); }
.scope-tab[aria-selected="true"] { color: var(--ink); padding-left: 16px; box-shadow: inset 3px 0 0 var(--lime); }
.scope-panel { padding: clamp(24px, 3vw, 40px) 0 clamp(24px, 3vw, 40px) clamp(24px, 4vw, 56px); }
.scope-panel[hidden] { display: none; }
.scope-panel.is-entering { animation: panel-in 0.5s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.scope-panel__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: start; }
.scope-panel h3 { margin-bottom: 10px; }
.scope-panel p { color: var(--muted); max-width: 46ch; }
.plate {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  min-width: 240px;
  min-height: 190px;
  padding: 20px 24px;
  background: var(--paper-2);
  border-radius: var(--radius);
}
.plate img { max-height: 160px; width: auto; }
.plate--photo { padding: 0; overflow: hidden; align-items: stretch; }
.plate--photo img { max-height: none; width: 100%; height: 100%; object-fit: cover; }
.test-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 28px 0 24px;
  padding: 0;
  list-style: none;
}
.test-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 500;
  line-height: 1.35;
}
.test-list li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 0.45em; background: var(--lime); border-radius: 50%; }
.test-list small { display: block; color: var(--muted); font-weight: 400; font-size: 0.875rem; }
@media (max-width: 960px) {
  .scope-index { grid-template-columns: 1fr; }
  .scope-index__list {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    scrollbar-width: none;
    gap: 8px;
    padding: 16px 0;
  }
  .scope-index__list::-webkit-scrollbar { display: none; }
  .scope-tab {
    flex: none;
    width: auto;
    grid-template-columns: auto;
    padding: 10px 16px;
    border: 1px solid var(--rule-strong);
    border-radius: 999px;
    font-size: 0.9375rem;
  }
  .scope-tab .count { display: none; }
  .scope-tab[aria-selected="true"] { padding-left: 16px; background: var(--ink); color: var(--on-ink); border-color: var(--ink); box-shadow: none; }
  .scope-panel { padding-left: 0; }
}
@media (max-width: 640px) {
  .scope-panel__top { grid-template-columns: 1fr; }
  .plate { min-width: 0; }
  .test-list { grid-template-columns: 1fr; }
}

/* Nashik */
.nashik {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.nashik__copy { display: grid; gap: 22px; justify-items: start; }
.nashik__copy p { color: var(--on-ink-muted); max-width: 48ch; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(143, 187, 79, 0.5);
  border-radius: 999px;
  color: var(--lime-bright);
  font-size: 0.875rem;
  font-weight: 600;
}
.route { position: relative; }
.route svg { width: 100%; height: auto; }
.route .road { fill: none; stroke: rgba(242, 243, 238, 0.22); stroke-width: 1.5; stroke-dasharray: 3 6; }
.route .road-live { fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-linecap: round; }
.route .city { fill: var(--ink); stroke: var(--on-ink); stroke-width: 1.5; }
.route .city--hq { fill: var(--lime); stroke: var(--lime); }
.route .city--new { fill: var(--ink); stroke: var(--lime); stroke-width: 2; }
.route .halo { fill: none; stroke: var(--lime); stroke-width: 1.5; opacity: 0.5; transform-box: fill-box; transform-origin: center; animation: halo 2.6s var(--ease) infinite; }
@keyframes halo { from { transform: scale(0.6); opacity: 0.7; } to { transform: scale(2.2); opacity: 0; } }
.route text { font-family: var(--font); font-size: 13px; fill: var(--on-ink); font-weight: 600; }
.route text.sub { font-size: 10.5px; fill: var(--on-ink-muted); font-weight: 400; font-family: var(--mono); }
@media (max-width: 860px) { .nashik { grid-template-columns: 1fr; } }

/* Benefits ledger */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 5vw, 72px);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}
.benefit {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}
.benefit__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
}
.benefit__icon .icon { width: 22px; height: 22px; }
.benefit h3 { font-size: 1.1875rem; font-variation-settings: "wdth" 104; letter-spacing: -0.01em; line-height: 1.25; margin-bottom: 6px; }
.benefit p { color: var(--muted); font-size: 0.9875rem; }
.benefit--free .benefit__icon { background: var(--lime); color: var(--ink); }
.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--lime-wash);
  color: var(--lime-deep);
  font-size: 0.75rem;
  font-weight: 600;
  vertical-align: 0.15em;
  letter-spacing: 0.02em;
}
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; } }

/* Micrograph strip */
.specimens {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}
.specimen { margin: 0; display: grid; gap: 10px; }
.specimen__img {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink-3);
  box-shadow: inset 0 0 0 6px var(--ink-2), 0 0 0 1px var(--rule-dark);
}
.specimen__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) contrast(1.05); transition: transform 0.8s var(--ease); }
.specimen:hover .specimen__img img { transform: scale(1.08); }
.specimen figcaption { font-size: 0.8125rem; color: var(--on-ink-muted); text-align: center; line-height: 1.35; }
.specimen figcaption b { display: block; color: var(--on-ink); font-weight: 600; font-size: 0.875rem; }
@media (max-width: 760px) {
  .specimens { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .specimen:nth-child(n+4) { display: none; }
}

/* CTA close */
.close {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.close__copy { display: grid; gap: 24px; justify-items: start; }
.close__copy p { color: var(--on-ink-muted); max-width: 44ch; }
.channels { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule-dark); }
.channel {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-dark);
  text-decoration: none;
  color: var(--on-ink);
  transition: color 0.25s var(--ease);
}
.channel .icon { color: var(--lime); }
.channel small { display: block; color: var(--on-ink-muted); font-size: 0.8125rem; }
.channel b { font-weight: 600; font-size: 1.0625rem; overflow-wrap: anywhere; }
.channel .go { width: 18px; height: 18px; color: var(--on-ink-muted); transition: transform 0.3s var(--ease), color 0.25s var(--ease); }
a.channel:hover .go { transform: translate(2px, -2px); color: var(--lime); }
@media (max-width: 860px) { .close { grid-template-columns: 1fr; } }

/* Page header (inner pages) */
.page-head { background: var(--ink); color: var(--on-ink); }
.page-head .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px);
}
.page-head p { color: var(--on-ink-muted); max-width: 46ch; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); }
.crumbs { display: flex; gap: 8px; margin-bottom: 20px; font-size: 0.875rem; color: var(--on-ink-muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--on-ink); }
@media (max-width: 860px) { .page-head .wrap { grid-template-columns: 1fr; } }

/* Services page */
.svc-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.svc-toc {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: grid;
  gap: 2px;
  font-size: 0.9375rem;
}
.svc-toc a {
  display: block;
  padding: 10px 0 10px 16px;
  color: var(--muted);
  text-decoration: none;
  border-left: 2px solid var(--rule);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.svc-toc a:hover { color: var(--ink); }
.svc-toc a.is-active { color: var(--ink); font-weight: 600; border-left-color: var(--lime); }
.svc { padding-bottom: clamp(56px, 7vw, 96px); margin-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--rule); }
.svc:last-child { border-bottom: 0; margin-bottom: 0; }
.svc__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: end; margin-bottom: 32px; }
.svc__head p { color: var(--muted); max-width: 52ch; margin-top: 14px; }
.svc__code { font-family: var(--mono); font-size: 0.8125rem; color: var(--lime-deep); margin-bottom: 12px; display: block; }
.scope-table { width: 100%; border-collapse: collapse; font-size: 0.975rem; }
.scope-table caption { text-align: left; font-size: 0.8125rem; color: var(--muted); padding-bottom: 10px; }
.scope-table th, .scope-table td { text-align: left; padding: 15px 16px 15px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.scope-table thead th { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); border-bottom: 2px solid var(--ink); padding-block: 10px; }
.scope-table tbody th { font-weight: 600; width: 36%; }
.scope-table td { color: var(--muted); }
.scope-table td.std { font-family: var(--mono); font-size: 0.8125rem; color: var(--ink); white-space: nowrap; width: 1%; }
.svc .plate { min-height: 170px; }
@media (max-width: 960px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-toc {
    position: sticky;
    top: var(--header-h);
    z-index: 5;
    display: flex;
    overflow-x: auto;
    gap: 0;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    scrollbar-width: none;
  }
  .svc-toc::-webkit-scrollbar { display: none; }
  .svc-toc a { flex: none; border-left: 0; border-bottom: 2px solid transparent; padding: 14px 14px; }
  .svc-toc a.is-active { border-bottom-color: var(--lime); }
}
@media (max-width: 640px) {
  .svc__head { grid-template-columns: 1fr; }
  .scope-table thead { display: none; }
  .scope-table tr { display: grid; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .scope-table th, .scope-table td { border: 0; padding: 0; width: auto; }
  .scope-table td { margin-top: 4px; }
  .scope-table td.std { margin-top: 8px; white-space: normal; }
  .scope-table td.std:empty { display: none; }
}

/* Two column prose + media */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.split--top { align-items: start; }
.prose { display: grid; gap: 18px; max-width: 62ch; }
.prose p { color: var(--muted); }
.prose p b, .prose p strong { color: var(--ink); font-weight: 600; }
.section--ink .prose p { color: var(--on-ink-muted); }
.section--ink .prose p b { color: var(--on-ink); }
.frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame figcaption {
  position: absolute;
  left: 16px; bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(26, 26, 24, 0.82);
  color: var(--on-ink);
  font-size: 0.8125rem;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.timeline li { position: relative; display: grid; gap: 10px; align-content: start; padding: 32px 24px 8px 0; }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.timeline li.is-now::before { background: var(--lime); border-color: var(--lime); }
.timeline li.is-next::before { background: var(--paper); border-color: var(--lime-deep); border-style: dashed; }
.timeline .yr { font-size: clamp(1.75rem, 2.8vw, 2.5rem); font-weight: 750; letter-spacing: -0.03em; font-variation-settings: "wdth" 112; line-height: 1; font-variant-numeric: tabular-nums; }
.timeline p { color: var(--muted); font-size: 0.9875rem; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); padding-left: 24px; }
  .timeline li { padding: 0 0 32px; }
  .timeline li::before { top: 6px; left: -32px; }
}

/* Director note */
.note {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.note blockquote {
  margin: 0;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  display: grid;
  gap: 20px;
}
.note blockquote p { max-width: 36em; }
.note cite { display: block; margin-top: 28px; font-style: normal; font-size: 1rem; }
.note cite b { display: block; font-size: 1.0625rem; }
.note cite span { color: var(--muted); }
@media (max-width: 860px) { .note { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { position: relative; display: grid; gap: 12px; align-content: start; padding: 28px clamp(16px, 2vw, 28px) 28px 0; border-top: 2px solid var(--on-ink); counter-increment: step; }
.step + .step { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--rule-dark); }
.step::before { content: "Step " counter(step); font-family: var(--mono); font-size: 0.75rem; color: var(--lime); }
.step h3 { font-size: 1.25rem; font-variation-settings: "wdth" 106; letter-spacing: -0.01em; line-height: 1.2; }
.step p { color: var(--on-ink-muted); font-size: 0.9875rem; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; padding-left: 0; }
}

/* Equipment catalogue */
.catalogue { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin: 0; padding: 0; list-style: none; }
.item { display: grid; grid-template-rows: auto 1fr; background: var(--sheet); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(26, 26, 24, 0.06), 0 8px 24px -16px rgba(26, 26, 24, 0.25); }
.item__img { display: grid; place-items: center; height: 200px; padding: 20px; background: var(--paper-2); }
.item__img img { max-height: 160px; width: auto; }
.item__body { display: grid; gap: 4px; align-content: start; padding: 16px 18px 20px; }
.item__body b { font-weight: 650; line-height: 1.3; }
.item__body span { color: var(--muted); font-size: 0.875rem; }
.item__body .mono { color: var(--lime-deep); font-size: 0.75rem; margin-bottom: 4px; }
@media (max-width: 1024px) { .catalogue { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); } .item__img { height: 160px; } .item__img img { max-height: 124px; } }

/* Accreditation */
.accred {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  background: var(--sheet);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(26, 26, 24, 0.06), 0 16px 40px -24px rgba(26, 26, 24, 0.35);
}
.accred .seal { position: static; width: clamp(140px, 16vw, 200px); transform: rotate(-6deg); filter: none; }
.accred dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 24px 0 0; border-top: 1px solid var(--rule); }
.accred dl div { padding: 16px 16px 0 0; }
.accred dl div + div { padding-left: 16px; border-left: 1px solid var(--rule); }
.accred dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.accred dd { margin: 6px 0 0; font-weight: 600; }
@media (max-width: 760px) {
  .accred { grid-template-columns: 1fr; }
  .accred dl { grid-template-columns: 1fr; }
  .accred dl div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .accred dl div { padding-bottom: 14px; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-card { display: grid; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.contact-card:first-child { border-top: 2px solid var(--ink); }
.contact-card h3 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; font-variation-settings: "wdth" 100; }
.contact-card a, .contact-card address { font-style: normal; font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 600; text-decoration: none; letter-spacing: -0.01em; line-height: 1.35; }
.contact-card a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; }
.contact-card .rows { display: grid; gap: 10px; }
.contact-card .rows span { display: block; font-size: 0.875rem; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3.4; box-shadow: 0 16px 40px -24px rgba(26, 26, 24, 0.35); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(1.05); }
.map-link { margin-top: 16px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink-muted); font-size: 0.9375rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--on-ink); }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-block: clamp(56px, 7vw, 88px) 48px;
}
.footer-brand { display: grid; gap: 18px; align-content: start; justify-items: start; }
.footer-brand img { width: 150px; }
.footer-brand p { max-width: 30ch; }
.nabl-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--rule-dark); border-radius: 999px; color: var(--on-ink); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; }
.nabl-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.site-footer h2 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--on-ink); font-weight: 600; margin-bottom: 16px; font-variation-settings: "wdth" 100; }
.site-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer address { font-style: normal; line-height: 1.6; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid var(--rule-dark); font-size: 0.8125rem; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* Utility */
.stack-lg > * + * { margin-top: clamp(40px, 5vw, 64px); }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.page-head .display em { font-style: normal; color: var(--lime); }
.status--light { color: var(--lime-deep); border-color: var(--lime); justify-self: start; }
@media (min-width: 961px) { .nav__mobile-contact { display: none; } }
.plate img { min-width: 0; flex: 0 1 auto; object-fit: contain; }

/* Route map: legend and light variant */
.route { margin: 0; display: grid; gap: 16px; }
.route svg { max-height: 420px; margin-inline: auto; }
.route figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 0.875rem; color: var(--on-ink-muted); }
.route figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.route .k { display: inline-block; width: 22px; height: 0; border-top: 2.5px solid var(--lime); }
.route .k--next { border-top: 1.5px dashed var(--on-ink-muted); }
.route text { font-size: 15px; }
.route text.sub { font-size: 11px; }
.nashik-light .nashik__copy p { color: var(--muted); }
.nashik-light .route text { fill: var(--ink); }
.nashik-light .route text.sub { fill: var(--muted); }
.nashik-light .route .road { stroke: rgba(26, 26, 24, 0.4); }
.nashik-light .route .road-live { stroke: var(--lime-deep); }
.nashik-light .route .city { fill: var(--sheet); stroke: var(--ink); }
.nashik-light .route .city--hq { fill: var(--lime); stroke: var(--lime-deep); }
.nashik-light .route .city--new { fill: var(--sheet); stroke: var(--lime-deep); }
.nashik-light .route figcaption { color: var(--muted); }
.nashik-light .route .k { border-top-color: var(--lime-deep); }
.nashik-light .route .k--next { border-top-color: var(--muted); }
.scope-table thead th { white-space: nowrap; }
@media (max-width: 480px) {
  .report__head { grid-template-columns: auto 1fr; padding-right: 64px; }
  .report__id { display: none; }
}
@media (max-width: 640px) {
  .scope-table tbody th, .scope-table td.std { width: auto; }
}

/* Enquiry form */
.section--flush-top { padding-top: 0; }
@media (min-width: 861px) { .contact-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.enquiry { display: grid; gap: 16px; align-content: start; }
.enquiry__intro { color: var(--muted); max-width: 52ch; margin-bottom: 12px; }
.enquiry__intro a { color: var(--ink); font-weight: 600; }
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 20px;
  padding: clamp(20px, 3vw, 36px);
  background: var(--sheet);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(26, 26, 24, 0.06), 0 16px 40px -24px rgba(26, 26, 24, 0.35);
}
.field { display: grid; gap: 8px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 0.9375rem; font-weight: 600; padding: 0; }
.field legend { margin-bottom: 8px; }
.field .opt { font-weight: 400; color: var(--muted); font-size: 0.8125rem; margin-left: 4px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 148px; }
.field ::placeholder { color: #85867e; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--lime-deep);
  box-shadow: 0 0 0 3px rgba(143, 187, 79, 0.35);
}
.select { position: relative; }
.select select { appearance: none; padding-right: 44px; cursor: pointer; }
.select::after {
  content: "";
  position: absolute;
  right: 18px; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.75px solid var(--ink);
  border-bottom: 1.75px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice label { position: relative; cursor: pointer; font-weight: 500; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  height: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.choice span .icon { width: 20px; height: 20px; flex: none; }
.choice label:hover span { border-color: var(--steel); }
.choice input:checked + span { border-color: var(--lime-deep); background: var(--lime-wash); box-shadow: inset 0 0 0 1px var(--lime-deep); }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(143, 187, 79, 0.45); }
.has-error input, .has-error select, .has-error textarea, .has-error .choice span { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 0.875rem; font-weight: 500; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 4px; }
.form__foot p { color: var(--muted); font-size: 0.875rem; }
.form .btn[disabled] { opacity: 0.6; cursor: progress; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--danger-wash);
  color: var(--danger);
  font-weight: 500;
}
.form-success {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--sheet);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(26, 26, 24, 0.06), 0 16px 40px -24px rgba(26, 26, 24, 0.35);
}
.form-success:focus { outline: none; }
.form-success__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.form-success__icon .icon { width: 24px; height: 24px; stroke-width: 2.5; }
.form-success h3 { font-size: 1.375rem; font-variation-settings: "wdth" 106; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 8px; }
.form-success p { color: var(--muted); margin-bottom: 16px; }
.form-success p a { color: var(--ink); font-weight: 600; }
.contact-aside { display: grid; align-content: start; }
.map--wide { aspect-ratio: 21 / 8; }
@media (max-width: 860px) { .map--wide { aspect-ratio: 4 / 3; } }
@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; }
  .choice { grid-template-columns: 1fr; }
}
:root { --danger: #a3321f; --danger-wash: #f6e3dd; }
