/* THỔ MỘC — concept-c
   North star: phụ lục danh mục vật tư đính kèm hợp đồng (material schedule
   annex, one swatch and one initial box per line). */

/* ---------- tokens ---------- */
:root {
  /* grounds */
  --ink: #1f2024;          /* slate table, dark ground + body text on paper */
  --ink-2: #2b2d32;        /* second dark step */
  --ink-3: #16171a;        /* deepest step, footer */
  --paper: #e8e7e1;        /* schedule paper */
  --paper-2: #dcdbd4;      /* banded row / warm second surface */
  --paper-3: #f1f0eb;      /* lifted paper */

  /* two separate greys: one draws, one speaks */
  --rule: #a2a199;         /* HAIRLINES ONLY. never text. */
  --rule-dark: #43454a;    /* hairline on ink ground */
  --ink-soft: #55565b;     /* secondary text on paper, 6.9:1 */
  --paper-soft: #b9b8b2;   /* secondary text on ink, 8.6:1 */

  /* the mark: carmine sign-off ink. one meaning only. */
  --mark: #a62b34;
  --mark-on-ink: #e86d72;

  /* material swatches (content colour, never chrome) */
  --sw-chalk: #dcd8cf;
  --sw-oat: #c8bfa8;
  --sw-graphite: #4a4c50;
  --sw-sage: #8c9187;
  --sw-stone: #9a958c;
  --sw-walnut: #6b594a;

  /* type */
  --fs-xs: 0.6875rem;
  --fs-sm: 0.8125rem;
  --fs-base: 1.0313rem;
  --fs-md: 1.1875rem;
  --fs-lg: 1.5rem;
  --fs-xl: 2.125rem;
  --fs-2xl: 2.875rem;
  --fs-3xl: 4rem;

  --f-grot: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-text: 'Be Vietnam Pro', 'Segoe UI', Roboto, Arial, sans-serif;

  /* space */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 18px;
  --s5: 26px;
  --s6: 38px;
  --s7: 54px;
  --s8: 76px;
  --s9: 104px;

  --wrap: 1180px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: var(--fs-base);
  line-height: 1.62;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--f-grot);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0;
}

p { margin: 0 0 var(--s4); }

.num {
  font-family: var(--f-grot);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s5); }

.mc {
  font-family: var(--f-grot);
  font-size: var(--fs-xs);
  letter-spacing: 0.155em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  display: block;
}
.on-ink .mc, .mc--ink { color: var(--paper-soft); }

.cap {
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ink-soft);
}
.on-ink .cap { color: var(--paper-soft); }

/* ---------- surfaces ---------- */
.on-paper { background: var(--paper); color: var(--ink); }
.on-ink { background: var(--ink); color: var(--paper); }
.on-ink h1, .on-ink h2, .on-ink h3 { color: var(--paper); }

.band { padding: var(--s9) 0; }
.band--tight { padding: var(--s8) 0; }

/* hatch: concrete at 10% */
.hatch {
  background-image: repeating-linear-gradient(
    45deg, rgba(31, 32, 36, 0.1) 0 1px, transparent 1px 7px);
}
.on-ink .hatch {
  background-image: repeating-linear-gradient(
    45deg, rgba(232, 231, 225, 0.1) 0 1px, transparent 1px 7px);
}

/* ---------- header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  border-bottom: 1px solid var(--rule-dark);
}
.hdr__in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: var(--s3) var(--s5);
  display: flex;
  align-items: center;
  gap: var(--s5);
}
.wordmark {
  font-family: var(--f-grot);
  font-weight: 700;
  font-size: var(--fs-md);
  letter-spacing: 0.19em;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}
.nav {
  display: flex;
  gap: var(--s5);
  margin-left: auto;
  align-items: center;
}
.nav a {
  font-family: var(--f-grot);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--paper-soft);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .2s;
}
.nav a:hover, .nav a:focus-visible { color: var(--paper); }
.nav a[aria-current='page'] { color: var(--paper); border-bottom-color: var(--mark-on-ink); }

.hdr__tel {
  font-family: var(--f-grot);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: var(--fs-sm);
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}

.lang-toggle { display: flex; border: 1px solid var(--rule-dark); }
.lang-toggle button {
  font-family: var(--f-grot);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  font-weight: 600;
  padding: 5px 9px;
  background: transparent;
  color: var(--paper-soft);
  border: 0;
  cursor: pointer;
  line-height: 1.4;
}
.lang-toggle button[aria-pressed='true'] { background: var(--mark); color: var(--paper); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--f-grot);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 11px 20px;
  background: var(--mark);
  color: var(--paper);
  border: 1px solid var(--mark);
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.7,.2,1);
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.on-ink .btn--ghost { color: var(--paper); border-color: var(--paper-soft); }
.btn--lg { font-size: var(--fs-base); padding: 15px 30px; }

/* ---------- the signable line: one hover device for the whole site ---------- */
/* Hover a line and it gets initialled: the tick swings into the box and a
   2px carmine rule is drawn left to right under the line. */
.line {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: var(--s4);
  align-items: baseline;
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--rule);
}
.on-ink .line { border-bottom-color: var(--rule-dark); }
.line::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--mark);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .42s cubic-bezier(.2,.7,.2,1);
}
.on-ink .line::after { background: var(--mark-on-ink); }
.line:hover::after, .line:focus-within::after { transform: scaleX(1); }

.box {
  width: 18px;
  height: 18px;
  border: 1px solid var(--rule);
  position: relative;
  align-self: center;
  flex: none;
}
.on-ink .box { border-color: var(--rule-dark); }
.box::before {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 7px; height: 12px;
  border-right: 2px solid var(--mark);
  border-bottom: 2px solid var(--mark);
  transform: rotate(42deg) scale(0);
  transform-origin: 60% 70%;
  transition: transform .3s cubic-bezier(.3,1.5,.5,1);
}
.on-ink .box::before { border-color: var(--mark-on-ink); }
.line:hover .box::before,
.line:focus-within .box::before,
.box--on::before { transform: rotate(42deg) scale(1); }

.line__label { font-size: var(--fs-base); }
.line__sub { display: block; font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.45; }
.on-ink .line__sub { color: var(--paper-soft); }
.line__val {
  font-family: var(--f-grot);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: var(--fs-base);
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}
.line__val--wrap { white-space: normal; }
.line__val a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--rule); }
.line__val a:hover, .line__val a:focus-visible { border-bottom-color: var(--mark); }
/* column head above a run of spec lines, same grid as .line */
.lhd {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: var(--s4);
  align-items: end;
  padding-bottom: var(--s2);
  border-bottom: 1px solid var(--ink);
}
.on-ink .lhd { border-bottom-color: var(--paper-soft); }
/* step numeral inside a process line: grey ink, never the sign-off carmine */
.step__no {
  font-family: var(--f-grot);
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 600;
  color: var(--ink-soft);
  margin-right: var(--s3);
}
.on-ink .step__no { color: var(--paper-soft); }
/* sub-heading inside a spec block */
.sub-h { font-size: var(--fs-md); margin: 0 0 var(--s4); }
.line--total { border-bottom: 3px double var(--ink); }
.on-ink .line--total { border-bottom-color: var(--paper-soft); }

/* material swatch chip */
.chip {
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: -2px;
  border: 1px solid rgba(31, 32, 36, .32);
  margin-right: var(--s2);
}
.on-ink .chip { border-color: rgba(232, 231, 225, .3); }

/* ---------- section heads ---------- */
.head { margin-bottom: var(--s6); max-width: 62ch; }
.head h2 { font-size: var(--fs-xl); margin: var(--s2) 0 var(--s3); }
.head p { margin: 0; color: var(--ink-soft); }
.on-ink .head p { color: var(--paper-soft); }

/* ---------- hero ---------- */
.hero { background: var(--ink); padding: var(--s8) 0 var(--s9); }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr minmax(430px, 560px);
  gap: var(--s7);
  align-items: start;
}
.hero h1 {
  font-size: var(--fs-3xl);
  color: var(--paper);
  margin: var(--s4) 0 var(--s5);
  letter-spacing: -0.022em;
}
.hero__lede { color: var(--paper-soft); font-size: var(--fs-md); max-width: 46ch; }
.hero__acts { display: flex; gap: var(--s4); align-items: center; flex-wrap: wrap; margin-top: var(--s6); }
.hero__tel {
  font-family: var(--f-grot);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--paper);
  text-decoration: none;
}

/* the annex sheet: paper laid on the dark table.
   DECLARED EXCEPTION to the no-shadow rule (design-rules §9): this shadow
   reads as paper on a table, not as a UI card. It is the only one on site. */
.sheet {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule);
  padding: var(--s5) var(--s5) var(--s4);
  box-shadow: 0 26px 60px -34px rgba(0, 0, 0, .75);
}
/* the sheet is paper even when it lies on the dark table */
.on-ink .sheet .mc, .sheet .mc { color: var(--ink-soft); }
.on-ink .sheet .cap, .sheet .cap { color: var(--ink-soft); }
.on-ink .sheet h1, .on-ink .sheet h2, .on-ink .sheet h3 { color: var(--ink); }
.sheet__tb {
  border: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: var(--s4);
}
.sheet__tb div { padding: 7px 10px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sheet__tb div:nth-child(2n) { border-right: 0; }
.sheet__tb div:nth-last-child(-n+2) { border-bottom: 0; }
.sheet__tb b {
  display: block;
  font-family: var(--f-grot);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: var(--fs-base);
  font-weight: 600;
}

.sch { width: 100%; border-collapse: collapse; }
.sch th, .sch td { padding: 8px 6px; border-bottom: 1px solid var(--rule); text-align: left; }
.sch thead th {
  font-family: var(--f-grot);
  font-size: var(--fs-xs);
  letter-spacing: 0.155em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
}
.sch .c { text-align: center; width: 62px; }
.sch tbody tr:nth-child(2n) { background: var(--paper-2); }
.sch td.item { font-size: var(--fs-sm); line-height: 1.4; }
.sch tfoot td {
  border-bottom: 0;
  border-top: 3px double var(--ink);
  padding-top: 10px;
  font-family: var(--f-grot);
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 600;
  font-size: var(--fs-sm);
}
.sch tfoot .c { color: var(--mark); }

/* a row of the schedule is signable too */
.sch tbody tr { position: relative; }
.sch tbody tr td:first-child { position: relative; }
.sch tbody tr .mk {
  display: inline-block;
  width: 14px; height: 14px;
  border: 1px solid var(--rule);
  position: relative;
}
.sch tbody tr .mk::before {
  content: '';
  position: absolute;
  left: 3px; top: 0;
  width: 6px; height: 10px;
  border-right: 2px solid var(--mark);
  border-bottom: 2px solid var(--mark);
  transform: rotate(42deg) scale(0);
  transform-origin: 60% 70%;
  transition: transform .3s cubic-bezier(.3,1.5,.5,1);
}
.sch tbody tr .mk--on::before { transform: rotate(42deg) scale(1); }
.sch tbody tr:hover .mk::before { transform: rotate(42deg) scale(1); }
.sch tbody tr:hover td { background: var(--paper-3); }

/* ---------- comparison plate (three schedules) ---------- */
.plate { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); }
.plate > * { border-bottom: 1px solid var(--rule); padding: var(--s3) var(--s4); }
.plate .ph {
  border-bottom: 1px solid var(--ink);
  align-self: end;
}
.plate .ph b {
  font-family: var(--f-grot);
  font-size: var(--fs-lg);
  font-weight: 600;
  display: block;
}
.plate .ph .num { font-size: var(--fs-sm); display: block; color: var(--ink-soft); }
.plate .rl { font-size: var(--fs-sm); line-height: 1.45; }
.plate .cel { text-align: center; font-size: var(--fs-sm); position: relative; }
.plate .cel .mk {
  display: inline-block; width: 14px; height: 14px; border: 1px solid var(--rule); position: relative;
}
.plate .cel .mk::before {
  content: ''; position: absolute; left: 3px; top: 0; width: 6px; height: 10px;
  border-right: 2px solid var(--mark); border-bottom: 2px solid var(--mark);
  transform: rotate(42deg) scale(0); transform-origin: 60% 70%;
  transition: transform .3s cubic-bezier(.3,1.5,.5,1);
}
.plate .cel .mk--on::before { transform: rotate(42deg) scale(1); }
.plate .cel .dash { color: var(--ink-soft); }
.plate .rowhov:hover .mk::before { transform: rotate(42deg) scale(1); }
.colmark { color: var(--mark); font-weight: 600; }
.sch .colmark { font-size: var(--fs-sm); }
.plate .foot {
  border-bottom: 3px double var(--ink);
  font-family: var(--f-grot);
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 600;
}

/* ---------- record cards (photo + spec grid) ---------- */
.recs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.rec {
  border: 1px solid var(--rule);
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.on-ink .rec { border-color: var(--rule-dark); background: var(--ink-2); }
.rec__code {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
  padding: 7px 12px;
  border-bottom: 1px solid var(--rule);
}
.on-ink .rec__code { border-bottom-color: var(--rule-dark); }
.rec__code .num { font-size: var(--fs-sm); font-weight: 600; }
.rec__img { aspect-ratio: 16 / 10; overflow: hidden; }
.rec__img img { width: 100%; height: 100%; object-fit: cover; }
.rec__body { padding: var(--s4) var(--s4) 0; }
.rec__body h3 { font-size: var(--fs-md); margin-bottom: var(--s2); }
.rec__spec {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}
.on-ink .rec__spec { border-top-color: var(--rule-dark); }
.rec__spec div {
  padding: 9px 12px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.on-ink .rec__spec div { border-color: var(--rule-dark); }
.rec__spec div:nth-child(3n) { border-right: 0; }
.rec__spec div:nth-child(n+4) { border-bottom: 0; }
.rec__spec b {
  display: block;
  font-family: var(--f-grot);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: var(--fs-base);
  font-weight: 600;
}
/* the site's one hover device, applied to a record */
.rec { position: relative; }
.rec::after {
  content: '';
  position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: var(--mark);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .42s cubic-bezier(.2,.7,.2,1);
}
.rec:hover::after, .rec:focus-within::after { transform: scaleX(1); }
.rec:hover .box::before { transform: rotate(42deg) scale(1); }

/* ---------- figures ---------- */
.fig { border: 1px solid var(--rule); background: var(--paper); }
.on-ink .fig { border-color: var(--rule-dark); background: var(--ink-2); }
.fig__img { aspect-ratio: 16 / 10; overflow: hidden; }
.fig__img img { width: 100%; height: 100%; object-fit: cover; }
.fig figcaption {
  display: flex; justify-content: space-between; gap: var(--s4);
  padding: 8px 12px; border-top: 1px solid var(--rule);
}
.on-ink .fig figcaption { border-top-color: var(--rule-dark); }

/* ---------- two-column layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: start; }
.split--wide { grid-template-columns: 1.15fr 1fr; }
.split--narrow { grid-template-columns: 340px 1fr; }

/* ---------- procedures ---------- */
.proc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule-dark); }
.proc > article { padding: var(--s5) var(--s5) var(--s5) 0; border-right: 1px solid var(--rule-dark); padding-right: var(--s5); }
.proc > article:last-child { border-right: 0; }
.proc > article:not(:first-child) { padding-left: var(--s5); }
.proc h3 { font-size: var(--fs-md); margin: var(--s3) 0 var(--s3); color: var(--paper); }
.proc .no {
  font-family: var(--f-grot);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--mark-on-ink);
  line-height: 1;
}

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.quote { border-top: 2px solid var(--ink); padding-top: var(--s4); }
.on-ink .quote { border-top-color: var(--paper-soft); }
.quote p { font-size: var(--fs-md); line-height: 1.55; }
.quote .who { font-size: var(--fs-sm); color: var(--ink-soft); }
.on-ink .quote .who { color: var(--paper-soft); }

/* ---------- article list ---------- */
.arts { border-top: 1px solid var(--rule); }
.art {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: var(--s5);
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  text-decoration: none;
  position: relative;
}
.art::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--mark); transform: scaleX(0); transform-origin: left center;
  transition: transform .42s cubic-bezier(.2,.7,.2,1);
}
.art:hover::after, .art:focus-visible::after { transform: scaleX(1); }
.art h3 { font-size: var(--fs-lg); margin-bottom: var(--s2); }
.art .go { font-family: var(--f-grot); font-size: var(--fs-sm); font-weight: 600; color: var(--mark); white-space: nowrap; }

/* ---------- long-form article ---------- */
.prose { max-width: 66ch; }
.prose h2 { font-size: var(--fs-lg); margin: var(--s7) 0 var(--s4); }
.prose h3 { font-size: var(--fs-md); margin: var(--s6) 0 var(--s3); }
.prose p { font-size: var(--fs-base); }
.prose ol, .prose ul { padding-left: 1.25em; margin: 0 0 var(--s4); }
.prose li { margin-bottom: var(--s3); }

/* ---------- form ---------- */
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5) var(--s6); }
.field { display: flex; flex-direction: column; gap: var(--s2); }
.field label {
  font-family: var(--f-grot);
  font-size: var(--fs-xs);
  letter-spacing: 0.155em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--paper-soft);
}
.field input, .field select {
  font-family: var(--f-grot);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: var(--fs-md);
  color: var(--paper);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-dark);
  padding: 7px 0;
  border-radius: 0;
  appearance: none;
}
.field select option { color: var(--ink); }
.field input:focus, .field select:focus {
  outline: none;
  border-bottom-color: var(--mark-on-ink);
  border-bottom-width: 2px;
  padding-bottom: 6px;
}
.form__act { grid-column: 1 / -1; display: flex; gap: var(--s5); align-items: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.ft { background: var(--ink-3); color: var(--paper-soft); padding: var(--s8) 0 var(--s6); }
.ft__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s6); }
.ft h3 { font-size: var(--fs-xs); letter-spacing: 0.155em; text-transform: uppercase; color: var(--paper-soft); margin-bottom: var(--s3); }
.ft a { color: var(--paper-soft); text-decoration: none; }
.ft a:hover { color: var(--paper); }
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft li { margin-bottom: 6px; font-size: var(--fs-sm); }
.ft .addr { font-size: var(--fs-sm); line-height: 1.6; }
.ft__bot {
  margin-top: var(--s7);
  padding-top: var(--s4);
  border-top: 1px solid var(--rule-dark);
  display: flex;
  justify-content: space-between;
  gap: var(--s5);
  font-size: var(--fs-sm);
  flex-wrap: wrap;
}

/* ---------- filters ---------- */
.filters { display: flex; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s6); }
.filters button {
  font-family: var(--f-grot);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
  cursor: pointer;
}
.on-ink .filters button { border-color: var(--rule-dark); color: var(--paper); }
.filters button[aria-pressed='true'] { background: var(--mark); border-color: var(--mark); color: var(--paper); }

/* ---------- motion: one entrance carried through, transform only ---------- */
/* opacity is NEVER part of a reveal or entrance rule here. */
.rv {
  transform: translateY(20px);
  transition: transform .62s cubic-bezier(.2,.7,.2,1);
}
.rv.is-visible { transform: none; }

@keyframes sheetIn { from { transform: translateY(22px); } to { transform: none; } }
@keyframes rowIn { from { transform: translateY(12px); } to { transform: none; } }

.hero__copy > * { animation: rowIn .7s cubic-bezier(.2,.7,.2,1) both; }
.hero__copy > *:nth-child(1) { animation-delay: .04s; }
.hero__copy > *:nth-child(2) { animation-delay: .12s; }
.hero__copy > *:nth-child(3) { animation-delay: .2s; }
.hero__copy > *:nth-child(4) { animation-delay: .28s; }
.hero__sheet { animation: sheetIn .8s cubic-bezier(.2,.7,.2,1) .1s both; }
.sheet .sch tbody tr { animation: rowIn .55s cubic-bezier(.2,.7,.2,1) both; }
.sheet .sch tbody tr:nth-child(1) { animation-delay: .3s; }
.sheet .sch tbody tr:nth-child(2) { animation-delay: .37s; }
.sheet .sch tbody tr:nth-child(3) { animation-delay: .44s; }
.sheet .sch tbody tr:nth-child(4) { animation-delay: .51s; }
.sheet .sch tbody tr:nth-child(5) { animation-delay: .58s; }
.sheet .sch tbody tr:nth-child(6) { animation-delay: .65s; }
.sheet .sch tbody tr:nth-child(7) { animation-delay: .72s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; transition-duration: .001s !important; }
  .rv { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  :root { --fs-3xl: 3.1rem; --fs-2xl: 2.4rem; --fs-xl: 1.85rem; }
  .hero__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .hero__sheet { max-width: 620px; }
  .split, .split--wide, .split--narrow { grid-template-columns: 1fr; gap: var(--s6); }
  .recs, .quotes { grid-template-columns: 1fr 1fr; }
  .proc { grid-template-columns: 1fr; }
  .proc > article { border-right: 0; border-bottom: 1px solid var(--rule-dark); padding: var(--s5) 0; }
  .proc > article:not(:first-child) { padding-left: 0; }
  .proc > article:last-child { border-bottom: 0; }
  .ft__grid { grid-template-columns: 1fr 1fr; }
  .hdr__in { flex-wrap: wrap; }
  .hdr__tel { display: none; }
  .nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: var(--s5);
    overflow-x: auto;
    border-top: 1px solid var(--rule-dark);
    padding-top: 10px;
  }
  .nav a { white-space: nowrap; }
}

@media (max-width: 720px) {
  :root { --fs-3xl: 2.4rem; --fs-2xl: 2rem; --fs-xl: 1.55rem; --s9: 62px; --s8: 48px; }
  .wrap { padding: 0 var(--s4); }
  .hdr__in { gap: var(--s3); padding: var(--s3) var(--s4); }
  .recs, .quotes, .form { grid-template-columns: 1fr; }
  .ft__grid { grid-template-columns: 1fr; }
  /* the plate keeps its comparison shape: labels left, three narrow tick columns */
  .plate { grid-template-columns: 1fr repeat(3, 66px); }
  .plate > * { padding: 10px 1px; }
  .plate .rl, .plate > .ph:first-child, .plate > .foot:first-child { padding-left: 0; padding-right: var(--s3); }
  .plate .ph { text-align: center; }
  .plate .ph:first-child { text-align: left; }
  .plate .ph b { font-size: var(--fs-base); }
  .plate .ph .num { display: none; }
  .plate .rl { font-size: var(--fs-sm); }
  .plate .cel.colmark { font-size: var(--fs-xs); line-height: 1.3; }
  .plate .foot { font-size: var(--fs-xs); letter-spacing: -0.02em; text-align: center; }
  .plate .foot:first-child { text-align: left; }
  .art { grid-template-columns: 1fr; gap: var(--s3); }
  .sheet { padding: var(--s4) var(--s4) var(--s3); }
  .sheet__tb { grid-template-columns: 1fr; }
  .sheet__tb div { border-right: 0; }
  .sheet__tb div:nth-last-child(2) { border-bottom: 1px solid var(--rule); }
  .sch th, .sch td { padding: 7px 4px; }
  .sch .c { width: 40px; }
  /* long text values wrap instead of pushing the value column to the edge */
  .line__val--wrap { max-width: 11ch; }
}
