/* ==========================================================================
   Hunan Jinlang Aix Bio-Tech Inc. — site stylesheet
   Brand: forest green on warm sand. Botanical, lab-grade, restrained.
   Type: serif headlines for authority, grotesque sans for reading.
   ========================================================================== */

:root {
  --ink: #14211c;
  --forest: #1e4d3a;
  --forest-deep: #122c23;
  --moss: #3e7a5e;
  --sand: #f6f3ec;
  --sand-2: #eae3d4;
  --paper: #ffffff;
  --line: #ddd7c8;
  --line-soft: #ebe6da;
  --muted: #5b6a61;
  --muted-2: #808b83;

  --max: 1180px;
  --radius: 18px;
  --radius-sm: 12px;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: ui-serif, Georgia, "Times New Roman", "Songti SC", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --shadow-sm: 0 1px 2px rgba(20, 33, 28, 0.04);
  --shadow-md: 0 14px 34px -18px rgba(20, 33, 28, 0.35);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--moss); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px; top: 16px; z-index: 99;
  background: var(--forest); color: #fff;
  padding: 10px 16px; border-radius: 8px;
}

/* ============================ header ============================ */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.brand-lockup { height: 30px; width: auto; display: block; }

.brand-name {
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  line-height: 1.35;
}

.site-nav { display: flex; align-items: center; gap: 6px; }

.site-nav a {
  font-size: 13.5px;
  font-weight: 550;
  letter-spacing: 0.01em;
  color: var(--ink);
  padding: 9px 13px;
  border-radius: 8px;
  white-space: nowrap;
}

.site-nav a:hover { background: var(--sand); color: var(--forest); }

.site-nav a[aria-current="page"] {
  color: var(--forest);
  box-shadow: inset 0 -2px 0 var(--forest);
  border-radius: 8px 8px 0 0;
}

.head-cta { display: flex; align-items: center; gap: 10px; flex: none; }

/* mobile menu */
.nav-toggle { display: none; }

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-burger span {
  display: block; width: 17px; height: 1.6px; background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============================ buttons ============================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.015em;
  padding: 12px 21px;
  border-radius: 999px;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: #fff;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--sand);
  border-color: var(--sand-2);
  color: var(--forest);
  box-shadow: none;
}

.btn-sm { padding: 9px 16px; font-size: 12.5px; }

.btn-light {
  background: #fff;
  border-color: #fff;
  color: var(--forest-deep);
}
.btn-light:hover { background: var(--sand); border-color: var(--sand); color: var(--forest-deep); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

/* ============================ shared blocks ============================ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--moss);
  flex: none;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.022em;
  font-weight: 600;
  margin: 0;
  max-width: 20ch;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  font-weight: 600;
  margin: 0 0 18px;
  max-width: 26ch;
}

h3 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.008em;
  margin: 0 0 8px;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 62ch;
}

.sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 56ch;
  margin: 22px 0 0;
}

.section { padding: 92px 0; }
.section-tight { padding: 68px 0; }
.bg-sand { background: var(--sand); }

.section-head { max-width: 62ch; margin-bottom: 42px; }
.section-head p { color: var(--muted); }

.link-rule {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
  border-bottom: 1.5px solid rgba(30, 77, 58, 0.28);
  padding-bottom: 2px;
}
.link-rule:hover { border-bottom-color: var(--forest); color: var(--forest-deep); }

/* ============================ hero ============================ */

.hero { padding: 74px 0 0; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 60px;
  align-items: center;
}

.hero-copy h1 { margin-bottom: 0; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before {
  content: "";
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--sand-2);
  outline: 1px solid var(--moss);
  outline-offset: 0;
  background: var(--moss);
  opacity: 0.8;
}

.hero-panel {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: var(--forest-deep);
  aspect-ratio: 4 / 4.15;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  isolation: isolate;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 130%;
  aspect-ratio: 1;
  background: repeating-radial-gradient(
    circle at 72% 18%,
    rgba(255, 255, 255, 0.11) 0 1px,
    rgba(255, 255, 255, 0) 1px 26px
  );
  z-index: -1;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -12% -18% -12%;
  height: 70%;
  background: radial-gradient(ellipse at 50% 100%, rgba(94, 168, 133, 0.35), transparent 62%);
  z-index: -1;
}

.hero-panel .panel-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.hero-panel .panel-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.hero-panel .panel-mark {
  width: 118px;
  opacity: 0.95;
}

.hero-panel .panel-body { position: relative; }

.hero-panel .panel-title {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.24;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  max-width: 20ch;
}

.hero-panel .panel-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-panel.panel-short { aspect-ratio: 4 / 3.1; }

.hero-panel .panel-list li {  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 6px 12px;
  backdrop-filter: blur(2px);
}

/* ============================ fact strip ============================ */

.facts {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  padding: 26px 26px 26px 0;
  position: relative;
}
.fact + .fact { padding-left: 26px; }
.fact + .fact::before {
  content: "";
  position: absolute;
  left: 0; top: 24%; height: 52%;
  width: 1px;
  background: var(--line-soft);
}

.fact .k {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.012em;
  display: block;
  margin-bottom: 5px;
}

.fact .v {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

/* ============================ cards ============================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: rgba(30, 77, 58, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card .icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--forest);
}

.card h3 { margin-bottom: 9px; }
.card p { font-size: 14.8px; color: var(--muted); line-height: 1.6; }
.card .card-list {
  list-style: none; padding: 0; margin: 14px 0 0;
  font-size: 14px; color: var(--muted);
}
.card .card-list li {
  padding: 6px 0 6px 16px;
  position: relative;
}
.card .card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sand-2);
  box-shadow: inset 0 0 0 1px var(--moss);
  background: rgba(62, 122, 94, 0.55);
}

.card-foot { margin-top: auto; padding-top: 20px; }

/* product category cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.cat:hover {
  border-color: rgba(30, 77, 58, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.cat-top .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--sand); color: var(--forest);
  display: flex; align-items: center; justify-content: center;
}
.cat .count {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

.cat h3 { font-size: 19px; }
.cat p { font-size: 14.8px; color: var(--muted); }

.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tag {
  font-size: 12px;
  color: var(--forest);
  background: rgba(62, 122, 94, 0.09);
  border-radius: 999px;
  padding: 5px 11px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ============================ split ============================ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-top { align-items: start; }

.doc-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.doc-card-head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.doc-list { list-style: none; margin: 0; padding: 6px 0; }

.doc-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 15px 24px;
  border-bottom: 1px solid var(--line-soft);
}
.doc-list li:last-child { border-bottom: none; }

.doc-list .name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.doc-list .desc {
  grid-column: 1 / -1;
  font-size: 13.4px;
  color: var(--muted);
  line-height: 1.5;
}
.doc-list .lang {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--forest);
  background: rgba(62, 122, 94, 0.1);
  border-radius: 999px;
  padding: 3px 9px;
  align-self: start;
  white-space: nowrap;
}

/* ============================ statement ============================ */

.statement {
  border-left: 3px solid var(--forest);
  padding: 6px 0 6px 30px;
  margin: 0;
}
.statement p {
  font-family: var(--serif);
  font-size: clamp(1.22rem, 2.1vw, 1.55rem);
  line-height: 1.42;
  letter-spacing: -0.012em;
  color: var(--ink);
  max-width: 38ch;
  margin: 0;
}
.statement strong { font-weight: 600; }

/* ============================ steps ============================ */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  padding: 28px 26px 8px 0;
  position: relative;
}
.step + .step { padding-left: 26px; }
.step + .step::before {
  content: "";
  position: absolute;
  left: 0; top: 30px; bottom: 20px;
  width: 1px;
  background: var(--line-soft);
}

.step .n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--moss);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}
.step h3 { font-size: 15.5px; margin-bottom: 7px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ============================ CTA band ============================ */

.cta {
  position: relative;
  background: var(--forest-deep);
  border-radius: 26px;
  padding: 62px 56px;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.25fr auto;
  gap: 40px;
  align-items: center;
}

.cta::before {
  content: "";
  position: absolute;
  right: -8%; top: -55%;
  width: 70%;
  aspect-ratio: 1;
  background: repeating-radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.09) 0 1px,
    rgba(255, 255, 255, 0) 1px 24px
  );
  z-index: -1;
}

.cta .eyebrow { color: rgba(255, 255, 255, 0.6); margin-bottom: 16px; }
.cta .eyebrow::before { background: #7fc3a1; }

.cta h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  max-width: 24ch;
  margin-bottom: 14px;
}

.cta p { color: rgba(255, 255, 255, 0.72); max-width: 52ch; font-size: 15.5px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; flex: none; }

/* ============================ page header ============================ */

.page-head {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--sand) 0%, rgba(246, 243, 236, 0) 100%);
}

.page-head h1 { max-width: 20ch; }
.page-head .sub { margin-top: 20px; }

.crumbs {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 22px;
}
.crumbs a { color: var(--muted-2); }
.crumbs a:hover { color: var(--forest); }

/* ============================ tables ============================ */

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.table-scroll { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin: 0;
}

thead th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 15px 22px;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

tbody td {
  padding: 14px 22px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(246, 243, 236, 0.6); }

tbody td:first-child { font-weight: 550; }

td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

.table-note {
  font-size: 13.4px;
  color: var(--muted);
  margin: 16px 0 0;
  max-width: 72ch;
}

/* ============================ lists ============================ */

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

.bare li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
  max-width: 72ch;
}
.bare li:last-child { border-bottom: none; }
.bare b { color: var(--ink); font-weight: 600; }

/* ============================ contact ============================ */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--paper);
}
.contact-card .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
  display: block;
}
.contact-card .value {
  font-size: 16.5px;
  font-weight: 550;
  line-height: 1.5;
  word-break: break-word;
}
.contact-card .value.small { font-size: 14.6px; font-weight: 400; color: var(--muted); }
.contact-card a.value { color: var(--forest); }
.contact-card a.value:hover { text-decoration: underline; }

.addr { font-style: normal; }

/* markets */
.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.market {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
  background: var(--paper);
}
.market .c {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 6px;
}
.market .d { font-size: 13.4px; color: var(--muted); line-height: 1.5; }

/* ============================ footer ============================ */

.site-foot {
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0;
  padding: 64px 0 28px;
  font-size: 14px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.foot-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.foot-brand img { height: 40px; width: auto; }
.foot-brand .t { color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4; }

.site-foot p { color: rgba(255, 255, 255, 0.62); font-size: 13.6px; line-height: 1.62; }

.foot-col h4 {
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 10px; }
.foot-col a { color: rgba(255, 255, 255, 0.72); font-size: 13.8px; }
.foot-col a:hover { color: #fff; }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 12.6px;
  color: rgba(255, 255, 255, 0.5);
}

.foot-bottom a { color: rgba(255, 255, 255, 0.5); }
.foot-bottom a:hover { color: #fff; }

/* ============================ responsive ============================ */

@media (max-width: 1040px) {
  .hero-grid { gap: 40px; }
  .hero-panel .panel-title { font-size: 22px; }
  .split { gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 880px) {
  .head-cta .btn { display: none; }

  .nav-burger { display: flex; }

  /* ch-based measures must not exceed the viewport on narrow screens */
  h1, h2, .sub, .lede, .statement p, .section-head, .table-note, .section-head p {
    max-width: 100%;
  }

  .site-nav {
    position: absolute;
    left: 0; right: 0; top: 76px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 18px;
    box-shadow: 0 18px 30px -22px rgba(20, 33, 28, 0.4);
    display: none;
  }

  .nav-toggle:checked ~ .site-nav { display: flex; }

  .site-nav a { padding: 12px 10px; border-radius: 8px; font-size: 15px; }
  .site-nav a[aria-current="page"] { box-shadow: none; background: var(--sand); }

  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-panel, .hero-panel.panel-short {
    aspect-ratio: auto;
    min-height: 300px;
    padding: 26px;
  }
  .hero-panel .panel-mark { width: 84px; }
  .hero-panel .panel-title { font-size: 21px; }

  .nav-toggle:checked ~ .head-cta .nav-burger span:nth-child(1) {
    transform: translateY(5.6px) rotate(45deg);
  }
  .nav-toggle:checked ~ .head-cta .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .head-cta .nav-burger span:nth-child(3) {
    transform: translateY(-5.6px) rotate(-45deg);
  }

  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 22px 20px 22px 0; }
  .fact + .fact { padding-left: 0; }
  .fact:nth-child(even) { padding-left: 22px; }
  .fact + .fact::before { display: none; }
  .fact:nth-child(even)::before {
    content: ""; display: block; position: absolute;
    left: 0; top: 22%; height: 56%; width: 1px; background: var(--line-soft);
  }
  .fact:nth-child(3), .fact:nth-child(4) { border-top: 1px solid var(--line-soft); }

  .card-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { padding: 24px 20px 8px 0; }
  .step:nth-child(odd) { padding-left: 0; }
  .step:nth-child(even) { padding-left: 20px; }
  .step + .step::before { display: none; }
  .step:nth-child(even)::before {
    content: ""; display: block; position: absolute; left: 0; top: 26px; bottom: 18px;
    width: 1px; background: var(--line-soft);
  }
  .step:nth-child(3), .step:nth-child(4) { border-top: 1px solid var(--line-soft); margin-top: 10px; }

  .cta { grid-template-columns: 1fr; padding: 40px 30px; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }

  .contact-grid { grid-template-columns: 1fr; }
  .market-grid { grid-template-columns: 1fr 1fr; }

  .section { padding: 64px 0; }
  .section-tight { padding: 52px 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .head-inner { height: 66px; }
  .site-nav { top: 66px; }
  .brand-mark { height: 32px; }
  .brand-name { font-size: 10px; letter-spacing: 0.04em; }
  .hero { padding-top: 36px; }
  h1 { font-size: clamp(1.85rem, 8.4vw, 2.3rem); }
  .sub { font-size: 16.5px; }
  .lede { font-size: 16px; }
  .hero-meta { gap: 8px 16px; font-size: 12.4px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(even) { padding: 22px 0 8px; }
  .step + .step::before, .step:nth-child(even)::before { display: none; }
  .step + .step { border-top: 1px solid var(--line-soft); }
  .step:nth-child(3), .step:nth-child(4) { margin-top: 0; }
  .market-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(even) { padding: 20px 0; }
  .fact + .fact, .fact:nth-child(even)::before { border-top: 1px solid var(--line-soft); }
  .fact:nth-child(even)::before { display: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta { border-radius: 20px; padding: 32px 22px; }
  .statement { padding-left: 20px; }
  thead th { padding: 12px 16px; }
  tbody td { padding: 12px 16px; }
}

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

/* ============================ quotation form ============================ */

.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr);
  gap: 52px;
  align-items: start;
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 34px 30px;
  box-shadow: var(--shadow-sm);
  min-height: 472px;
}

/* progress rail */
.step-count {
  display: none;
  margin: 0 0 22px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.steps {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-2);
  flex: 1;
}
.steps li::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--line);
  flex: none;
}
.steps li:first-child::before { display: none; }
.steps li .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: transparent;
  flex: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.steps li.is-done { color: var(--muted); }
.steps li.is-done .dot { background: var(--moss); border-color: var(--moss); }
.steps li.is-current { color: var(--forest); font-weight: 700; }
.steps li.is-current .dot {
  background: var(--forest);
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(30, 77, 58, 0.12);
}

.form-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-step[hidden] { display: none; }
.form-step > legend {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 27px);
  line-height: 1.25;
  color: var(--forest-deep);
  padding: 0;
  margin-bottom: 6px;
}
.step-note {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px;
}

/* choice cards */
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 4px;
}
.choice {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  padding: 16px 16px 15px;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}
.choice:hover { border-color: rgba(30, 77, 58, 0.4); background: #fcfbf7; }
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  pointer-events: none;
}
.choice .t {
  display: block;
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 3px;
}
.choice .d {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.choice.is-selected {
  border-color: var(--forest);
  background: #f4f8f5;
  box-shadow: 0 0 0 1px var(--forest) inset;
}
.choice.is-selected .t { color: var(--forest-deep); }
.choice input:focus-visible + .t { outline: 2px solid var(--forest); outline-offset: 3px; }

/* fields */
.field { margin-bottom: 18px; }
.field > label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.field .opt {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted-2);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #a8b0a9; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(30, 77, 58, 0.13);
}
.field .hint {
  font-size: 12.5px;
  color: var(--muted-2);
  margin: 6px 0 0;
}
.field .err {
  display: none;
  font-size: 12.5px;
  color: #a8353c;
  margin: 6px 0 0;
}
.field.invalid input,
.field.invalid textarea { border-color: #c9555b; }
.field.invalid .err { display: block; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.form-actions .btn { cursor: pointer; }
.form-actions .btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-quiet {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  padding-left: 14px;
  padding-right: 14px;
}
.btn-quiet:hover {
  background: var(--sand);
  border-color: transparent;
  color: var(--forest);
  box-shadow: none;
}
/* direct-to-mailbox alternative */
.direct-mail {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}
.direct-mail-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--forest);
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 77, 58, 0.45);
  padding-bottom: 3px;
}
.direct-mail-btn:hover { color: var(--moss); border-bottom-color: var(--moss); }
.direct-mail p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 10px 0 0;
  max-width: 62ch;
}
.form-foot {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted-2);
  margin: 14px 0 0;
}
.form-foot a { text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* result states */
.form-result { padding: 6px 0 4px; }
.form-result[hidden] { display: none; }
.form-result .mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(62, 122, 94, 0.12);
  color: var(--forest);
  margin-bottom: 18px;
}
.form-result h2 {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--forest-deep);
}
.form-result p { font-size: 15px; color: var(--muted); margin: 0 0 12px; }
.form-result .recap {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--sand);
  padding: 16px 18px;
  font-size: 14px;
  color: var(--ink);
  margin: 18px 0 0;
  white-space: pre-wrap;
  word-break: break-word;
}
.form-result .recap strong { color: var(--forest-deep); }

/* aside */
.form-aside { position: sticky; top: 96px; }
.form-aside .panel {
  background: var(--forest);
  color: #eef3ef;
  border-radius: var(--radius);
  padding: 30px 28px;
}
.form-aside .panel h2 {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 16px;
  color: #fff;
}
.form-aside .panel ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.form-aside .panel li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 11px;
  color: #d9e4dc;
}
.form-aside .panel li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}
.form-aside .panel .alt {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 16px;
  font-size: 13.5px;
  color: #c9d8ce;
}
.form-aside .panel .alt a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.form-aside .panel .alt a:hover { color: #d8e8dd; }

@media (max-width: 880px) {
  .form-shell { grid-template-columns: 1fr; gap: 34px; }
  .form-card { padding: 26px 22px 24px; min-height: 0; }
  .steps { display: none; }
  .step-count { display: block; }
  .steps li.is-current .lbl { display: inline; }
  .form-aside { position: static; }
  .choice-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .direct-mail p { max-width: 100%; }
  .form-actions { flex-wrap: wrap; }
}

@media print {
  .site-head, .site-foot, .cta, .hero-panel, .form-card { display: none; }
  body { font-size: 11pt; }
  .section { padding: 18pt 0; }
}
