/* ==========================================================================
   HangBo Alloy Group — light editorial theme
   Palette: warm ivory paper, graphite ink, bronze accent, espresso footer
   ========================================================================== */

:root {
  /* surfaces */
  --ivory: #faf7f1;
  --paper: #fffefb;
  --sand: #f0ebe1;
  --sand-2: #e7e0d2;
  --espresso: #221c16;
  --espresso-2: #2d251d;

  /* ink */
  --ink: #1a1c19;
  --ink-2: #34372f;
  --muted: #6f6b61;
  --muted-2: #6b6459;

  /* accents */
  --bronze: #8f6231;
  --bronze-2: #a87a44;
  --bronze-soft: #c2a177;
  --gold: #8f6231; /* legacy alias used in inline styles */
  --red: #b93a2e; /* logo red, used sparingly */

  /* lines */
  --line: #ddd5c5;
  --line-soft: #eae4d6;
  --line-strong: #c9bfab;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
  --shadow-s: 0 2px 10px rgba(40, 32, 20, 0.05);
  --shadow-m: 0 18px 44px rgba(40, 32, 20, 0.09);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC",
    "Microsoft YaHei", sans-serif;
  font-size: 18px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--bronze);
  color: #fff;
}

/* ---------- typography ---------- */

h1,
h2,
h3,
h4,
.display {
  font-family: "Bahnschrift", "DIN Alternate", "Arial Narrow", "Helvetica Neue",
    Arial, sans-serif;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
}

h3 {
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.14;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  color: var(--ink-2);
  max-width: 60ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: "Bahnschrift", "DIN Alternate", Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.num-tag {
  font-family: "Bahnschrift", "DIN Alternate", Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--muted-2);
}

/* ---------- layout ---------- */

.container {
  width: min(1320px, 92vw);
  margin-inline: auto;
}

.section {
  padding: clamp(56px, 8vw, 118px) 0;
  position: relative;
}

.section--tight {
  padding: clamp(40px, 5vw, 68px) 0;
}

.section--paper {
  background: var(--sand);
}

.section--paper .eyebrow {
  color: var(--bronze);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  padding-bottom: clamp(28px, 3.6vw, 48px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(32px, 4.4vw, 56px);
}

.section-head p {
  max-width: 46ch;
  color: var(--muted);
  margin: 0;
}

.muted {
  color: var(--muted);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  padding: 1.05em 1.75em;
  font-family: "Bahnschrift", "DIN Alternate", Arial, sans-serif;
  font-size: 0.79rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease);
  cursor: pointer;
}

.btn:hover {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}

.btn--solid {
  background: var(--bronze);
  border-color: var(--bronze);
  color: #fff;
}

.btn--solid:hover {
  background: var(--bronze-2);
  border-color: var(--bronze-2);
  color: #fff;
}

.btn--ghost-light {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost-light:hover {
  background: var(--ink);
  color: var(--ivory);
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: "Bahnschrift", "DIN Alternate", Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.22em;
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}

.link-arrow:hover {
  border-color: var(--bronze);
  gap: 1em;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(250, 247, 241, 0.94);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-s);
}

.header__inner {
  width: min(1440px, 94vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  font-family: "Bahnschrift", "DIN Alternate", Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.4em 0;
  color: var(--ink);
}

.menu-btn__bars {
  display: grid;
  gap: 5px;
  width: 22px;
}

.menu-btn__bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), width 0.35s var(--ease);
}

.menu-btn:hover .menu-btn__bars span:nth-child(2) {
  width: 70%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: auto;
}

.brand img {
  height: 38px;
  width: auto;
}

.brand__divider {
  width: 1px;
  height: 22px;
  background: var(--line-strong);
}

.brand__sub {
  font-family: "Bahnschrift", "DIN Alternate", Arial, sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1.5;
}

.header__tools {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
}

.header__social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--muted);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.icon-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.icon-link:hover {
  color: var(--bronze);
  transform: translateY(-2px);
}

.header__cta {
  padding: 0.9em 1.4em;
}

/* ==========================================================================
   Menu overlay (light)
   ========================================================================== */

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--ivory);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease),
    transform 0.45s var(--ease);
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-overlay__main {
  padding: clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
}

.nav-overlay__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-overlay__top img {
  height: 34px;
}

.nav-close {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: "Bahnschrift", Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.nav-close:hover {
  color: var(--ink);
}

.nav-close span {
  position: relative;
  width: 18px;
  height: 18px;
}

.nav-close span::before,
.nav-close span::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  background: currentColor;
}

.nav-close span::before {
  transform: rotate(45deg);
}

.nav-close span::after {
  transform: rotate(-45deg);
}

.nav-list {
  list-style: none;
  margin: clamp(28px, 5vw, 56px) 0;
  padding: 0;
}

.nav-list li {
  border-bottom: 1px solid var(--line);
}

.nav-list a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 1.2em;
  padding: clamp(14px, 2.2vw, 24px) 0;
  font-family: "Bahnschrift", "DIN Alternate", Arial, sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.3s var(--ease), padding-left 0.4s var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 3.4em;
  bottom: 6px;
  height: 1px;
  width: 0;
  background: var(--bronze);
  transition: width 0.45s var(--ease);
}

.nav-num {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--bronze);
  width: 2.2em;
  flex: none;
  font-variant-numeric: tabular-nums;
}

.nav-title {
  flex: none;
}

.nav-desc {
  margin-left: auto;
  align-self: center;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--bronze);
  padding-left: 0.6em;
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  width: calc(100% - 3.4em);
}

.nav-list a:hover .nav-desc,
.nav-list a[aria-current="page"] .nav-desc {
  opacity: 1;
  transform: none;
}

.nav-overlay__aside {
  padding: clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 40px;
  background: var(--sand);
}

.nav-overlay__block h4 {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--bronze);
  margin-bottom: 1em;
}

.nav-overlay__block p,
.nav-overlay__block a {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.95;
}

.nav-overlay__block a:hover {
  color: var(--bronze);
}

.nav-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-socials .icon-link {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  background: var(--paper);
}

.nav-socials .icon-link svg {
  width: 17px;
  height: 17px;
}

.nav-socials .icon-link:hover {
  background: var(--bronze);
  border-color: var(--bronze);
  color: #fff;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding-top: var(--header-h);
  background: var(--ivory);
}

.hero__media {
  height: clamp(300px, 52vh, 560px);
  overflow: hidden;
  background: var(--sand-2);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  animation: heroZoom 22s var(--ease) forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.045);
  }
  to {
    transform: scale(1);
  }
}

.hero__panel {
  width: min(1320px, 92vw);
  margin: -88px auto 0;
  position: relative;
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: clamp(26px, 3.8vw, 54px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(22px, 4vw, 60px);
  align-items: end;
  box-shadow: var(--shadow-m);
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 0.8em;
  font-family: "Bahnschrift", Arial, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: clamp(14px, 2vw, 24px);
}

.hero__kicker::before {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.hero h1 {
  font-size: clamp(2.05rem, 4.6vw, 3.9rem);
  max-width: 18ch;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  color: var(--bronze);
}

.hero__text {
  max-width: 44ch;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  margin-bottom: 1.6em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* stat strip */

.stat-bar {
  border-top: 1px solid var(--line);
  margin-top: clamp(28px, 4vw, 48px);
  background: var(--ivory);
}

.stat-bar__inner {
  width: min(1320px, 92vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 26px clamp(12px, 2vw, 28px) 30px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat__value {
  font-family: "Bahnschrift", "DIN Alternate", Arial, sans-serif;
  font-size: clamp(1.1rem, 1.9vw, 1.5rem);
  line-height: 1;
  color: var(--ink);
}

.stat__label {
  margin-top: 9px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ==========================================================================
   Page hero (sub pages): photo band + title block
   ========================================================================== */

.page-hero {
  padding-top: var(--header-h);
  background: var(--ivory);
}

.page-hero__media {
  height: clamp(190px, 30vh, 340px);
  overflow: hidden;
  background: var(--sand-2);
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__body {
  width: min(1320px, 92vw);
  margin-inline: auto;
  padding: clamp(22px, 3.2vw, 40px) 0 clamp(22px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  max-width: 22ch;
}

.breadcrumb {
  display: flex;
  gap: 0.7em;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.1rem;
}

.breadcrumb a:hover {
  color: var(--bronze);
}

/* ==========================================================================
   Family cards
   ========================================================================== */

.family-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.family-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 14px 14px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.45s var(--ease), box-shadow 0.45s var(--ease),
    transform 0.45s var(--ease);
}

.family-card:hover {
  border-color: var(--bronze-soft);
  box-shadow: var(--shadow-m);
  transform: translateY(-3px);
}

.family-card__media {
  height: 168px;
  overflow: hidden;
  background: var(--sand);
}

.family-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.family-card:hover .family-card__media img {
  transform: scale(1.05);
}

.family-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 0 8px;
}

.family-card__head .num-tag {
  white-space: nowrap;
  font-size: 0.6rem;
  padding-top: 0.3em;
  color: var(--bronze);
}

.family-card h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
}

.family-card p {
  font-size: 0.96rem;
  color: var(--muted);
  margin: 0;
  padding: 0 8px;
}

.family-card__grades {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding: 0 8px;
}

.family-card__link {
  padding: 0 8px;
  margin-top: 4px;
}

.chip {
  font-family: "Bahnschrift", "DIN Alternate", Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 0.34em 0.64em;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--ivory);
}

.chip--gold {
  border-color: var(--bronze-soft);
  color: var(--bronze);
  background: transparent;
}

/* ==========================================================================
   Product forms
   ========================================================================== */

.forms-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.form-item {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 14px 14px 24px;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.form-item:hover {
  border-color: var(--bronze-soft);
  box-shadow: var(--shadow-m);
  transform: translateY(-3px);
}

.form-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 18px;
  background: var(--sand);
}

.form-item h4 {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  margin-bottom: 7px;
  padding: 0 6px;
}

.form-item p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  padding: 0 6px;
}

.form-item--cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  background: var(--sand);
  border-color: var(--line-strong);
  padding: 24px 22px;
}

.form-item--cta h4 {
  font-size: 1.1rem;
  line-height: 1.15;
  max-width: 12ch;
  margin-top: 6px;
  padding: 0;
}

.form-item--cta p {
  color: var(--ink-2);
  padding: 0;
}

.form-item--cta .link-arrow {
  color: var(--bronze);
}

/* ==========================================================================
   Process
   ========================================================================== */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process__step {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(22px, 2.8vw, 36px);
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s var(--ease);
}

.process__step::after {
  content: "";
  position: absolute;
  left: -1px;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--bronze);
  transition: width 0.6s var(--ease);
}

.process__step:hover {
  border-color: var(--bronze-soft);
}

.process__step:hover::after {
  width: calc(100% + 2px);
}

.process__num {
  font-family: "Bahnschrift", Arial, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  color: var(--bronze);
  margin-bottom: 26px;
}

.process__step h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.process__step p {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   Split feature
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  height: clamp(320px, 44vw, 540px);
  object-fit: cover;
  border: 1px solid var(--line);
}

.split__media figcaption {
  margin-top: 12px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5f5a50;
}

.check-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.check-list li {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-2);
}

.check-list li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 0.6em;
  background: var(--bronze);
}

.check-list strong {
  font-weight: 600;
  color: var(--ink);
}

/* ==========================================================================
   Applications
   ========================================================================== */

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.app-item {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(20px, 2.6vw, 32px);
  min-height: 172px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.app-item:hover {
  background: var(--bronze);
  border-color: var(--bronze);
  color: #fff;
}

.app-item h4 {
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.app-item p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.app-item:hover h4,
.app-item:hover p,
.app-item:hover .num-tag {
  color: #fff;
}

/* ==========================================================================
   Grade table
   ========================================================================== */

.table-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.filter-input {
  flex: 1 1 260px;
  min-width: 200px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 0.85em 1em;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.filter-input:focus {
  border-color: var(--bronze);
}

.filter-input::placeholder {
  color: var(--muted-2);
}

.table-count {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  flex: 0 0 auto;
  white-space: nowrap;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}

.table-hint {
  display: none;
  margin: 0 0 10px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}

table.spec {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

table.spec th,
table.spec td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.9rem;
  vertical-align: top;
}

table.spec thead th {
  background: var(--sand);
  font-family: "Bahnschrift", Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

table.spec tbody tr {
  transition: background 0.25s var(--ease);
}

table.spec tbody tr:hover {
  background: var(--ivory);
}

table.spec td {
  color: var(--ink-2);
}

table.spec td:first-child {
  font-family: "Bahnschrift", "DIN Alternate", Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}

table.spec .fam {
  color: var(--bronze);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.table-empty {
  padding: 26px 18px;
  color: var(--muted);
  font-size: 0.9rem;
  display: none;
}

/* anchor nav */

.anchor-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(250, 247, 241, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.anchor-nav__inner {
  width: min(1320px, 92vw);
  margin-inline: auto;
  display: flex;
  gap: clamp(12px, 2.4vw, 30px);
  overflow-x: auto;
  scrollbar-width: none;
}

.anchor-nav__inner::-webkit-scrollbar {
  display: none;
}

.anchor-nav a {
  flex: none;
  padding: 16px 0;
  font-family: "Bahnschrift", Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.anchor-nav a:hover,
.anchor-nav a.is-active {
  color: var(--ink);
  border-color: var(--bronze);
}

/* family detail blocks */

.family-block {
  padding: clamp(38px, 5.4vw, 70px) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 52px);
}

.family-block:last-child {
  border-bottom: 0;
}

.family-block__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(26px, 4vw, 64px);
  align-items: start;
}

.family-block__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.family-block h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 18px;
}

.family-block__grades {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.family-block__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 26px;
}

.family-block__meta div {
  background: var(--paper);
  padding: 16px 18px;
}

.family-block__meta dt {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 6px;
}

.family-block__meta dd {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-2);
}

/* ==========================================================================
   News
   ========================================================================== */

.news-featured {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  border: 1px solid var(--line);
  margin-bottom: clamp(30px, 4vw, 52px);
  background: var(--paper);
  transition: box-shadow 0.4s var(--ease);
}

.news-featured:hover {
  box-shadow: var(--shadow-m);
}

.news-featured__media {
  overflow: hidden;
  min-height: 320px;
}

.news-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.news-featured:hover .news-featured__media img {
  transform: scale(1.03);
}

.news-featured__body {
  padding: clamp(24px, 3.4vw, 46px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.news-meta .tag {
  color: var(--bronze);
}

.news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.news-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(22px, 2.8vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 230px;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.news-card:hover {
  border-color: var(--bronze-soft);
  box-shadow: var(--shadow-m);
}

.news-card h3 {
  font-size: 1.14rem;
  max-width: 26ch;
}

.news-card p {
  font-size: 0.89rem;
  color: var(--muted);
  margin: 0;
}

.news-card .link-arrow {
  margin-top: auto;
}

/* ==========================================================================
   CTA band (bronze)
   ========================================================================== */

.cta-band {
  position: relative;
  padding: clamp(52px, 7.5vw, 104px) 0;
  background: var(--bronze);
  color: #fdf8ef;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 120% at 100% 0%, rgba(255, 255, 255, 0.12), transparent 60%);
  pointer-events: none;
}

.cta-band__inner {
  width: min(1320px, 92vw);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.cta-band .eyebrow {
  color: #fff;
  opacity: 0.92;
}

.cta-band h2 {
  color: #fff;
  max-width: 18ch;
}

.cta-band p {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.82);
  margin: 18px 0 0;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-band .btn {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.cta-band .btn:hover {
  background: #fff;
  color: var(--bronze);
  border-color: #fff;
}

.cta-band .btn--solid {
  background: var(--espresso);
  border-color: var(--espresso);
  color: #fff;
}

.cta-band .btn--solid:hover {
  background: #100d09;
  border-color: #100d09;
  color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--espresso);
  color: #cfc7ba;
  padding: clamp(44px, 6vw, 78px) 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 1.1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(34px, 4.6vw, 60px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer h4 {
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  color: var(--bronze-soft);
  margin-bottom: 1.2em;
}

.footer__brand img {
  height: 40px;
  margin-bottom: 20px;
  filter: brightness(1.06);
}

.footer .muted,
.footer p,
.footer a {
  font-size: 0.89rem;
  color: #b8afa1;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer ul a:hover,
.footer__contact a:hover {
  color: #fff;
}

.footer__contact {
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
}

.footer__contact a {
  color: #ddd5c8;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.footer__social .icon-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #cfc7ba;
}

.footer__social .icon-link:hover {
  background: var(--bronze);
  border-color: var(--bronze);
  color: #fff;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  font-size: 0.74rem;
  color: #8e8578;
}

.footer__bottom .links {
  display: flex;
  gap: 20px;
}

.footer__wordmark {
  font-family: "Bahnschrift", "DIN Alternate", Arial, sans-serif;
  font-size: clamp(3rem, 12.5vw, 10.5rem);
  line-height: 0.82;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
  text-transform: uppercase;
  margin-top: clamp(22px, 3vw, 38px);
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */

.wa-float {
  position: fixed;
  right: clamp(14px, 2.2vw, 26px);
  bottom: clamp(14px, 2.2vw, 26px);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.7em 1.1em 0.7em 0.85em;
  background: #177a44;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(20, 80, 47, 0.28);
  font-family: "Bahnschrift", Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    opacity 0.3s var(--ease);
}

.wa-float svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.wa-float:hover {
  transform: translateY(-3px);
  background: #126235;
}

.wa-float.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 4.6vw, 68px);
  align-items: start;
}

.contact-card {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(22px, 3vw, 36px);
}

.contact-list {
  display: grid;
  gap: 22px;
  margin-top: 8px;
}

.contact-list__item {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}

.contact-list__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-list dt {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 7px;
}

.contact-list dd {
  margin: 0;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.5;
}

.contact-list dd a:hover {
  color: var(--bronze);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.87rem;
  color: var(--ink-2);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.social-item svg {
  width: 16px;
  height: 16px;
  fill: var(--muted);
  flex: none;
  transition: fill 0.3s var(--ease);
}

.social-item:hover {
  border-color: var(--bronze-soft);
  background: var(--ivory);
}

.social-item:hover svg {
  fill: var(--bronze);
}

.social-item span.arrow {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 0.9rem;
}

.social-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* form */

.form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--ivory);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 0.85em 1em;
  font: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  border-radius: 0;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--bronze);
  background: #fff;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #8c8779 50%),
    linear-gradient(135deg, #8c8779 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field select option {
  background: #fff;
  color: var(--ink);
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.form__note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}

.form-status {
  font-size: 0.85rem;
  color: var(--bronze);
  min-height: 1.4em;
}

/* ==========================================================================
   Reveal animation
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero__media img {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .family-grid,
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process,
  .forms-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-overlay {
    grid-template-columns: 1fr;
  }

  .nav-overlay__aside {
    display: none;
  }

  .header__social {
    display: none;
  }

  .hero__panel {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 70px;
  }

  .header__inner {
    gap: 10px;
  }

  .menu-btn {
    gap: 0.55em;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  .menu-btn__bars {
    width: 18px;
    gap: 4px;
  }

  .brand {
    gap: 9px;
  }

  .header__cta {
    padding: 0.72em 0.95em;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    flex: 1 1 46%;
    justify-content: center;
    padding-inline: 1em;
    font-size: 0.66rem;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .split,
  .family-block__grid,
  .contact-grid,
  .news-featured {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .news-featured__media {
    min-height: 240px;
  }

  .news-list {
    grid-template-columns: 1fr;
  }

  .stat-bar__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .hero__panel {
    margin-top: -56px;
    padding: 24px;
  }

  .hero h1 {
    max-width: 16ch;
  }

  .brand__sub,
  .brand__divider {
    display: none;
  }

  .brand img {
    height: 32px;
  }
}

@media (max-width: 760px) {
  .table-hint {
    display: block;
  }

  table.spec {
    min-width: 560px;
  }

  table.spec th,
  table.spec td {
    padding: 12px 14px;
    font-size: 0.84rem;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .family-grid,
  .app-grid,
  .process,
  .forms-row,
  .form-row,
  .social-grid,
  .family-block__meta {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .family-card__media {
    height: 190px;
  }

  .wa-float span {
    display: none;
  }

  .wa-float {
    padding: 0.85em;
    border-radius: 50%;
  }

  .nav-list a {
    font-size: 1.6rem;
  }

  .footer__wordmark {
    font-size: clamp(2.3rem, 15vw, 4rem);
  }

  .hero__panel {
    margin-top: -40px;
    width: 94vw;
  }
}

@media (max-width: 900px) {
  .nav-desc {
    display: none;
  }
  .nav-list a::after {
    left: 3em;
  }
  .nav-list a:hover::after,
  .nav-list a[aria-current="page"]::after {
    width: calc(100% - 3em);
  }
}

.nav-overlay__block--intro {
  margin-bottom: auto;
}

.nav-overlay__meta {
  margin-top: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}

/* ---------- process step photographs ---------- */
.process__media {
  margin-bottom: 18px;
  overflow: hidden;
  background: var(--sand);
}

.process__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.process__step:hover .process__media img {
  transform: scale(1.04);
}

/* ---------- slow drift on the hero photograph ---------- */
.hero__media img {
  animation: heroDrift 26s ease-in-out infinite alternate;
  transform-origin: 62% 45%;
  will-change: transform;
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.09) translate3d(-1.4%, -1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media img {
    animation: none;
  }
}

/* ---------- credential scans ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
  margin-top: clamp(24px, 3vw, 40px);
}

.cert {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 10px;
}

.cert a {
  display: block;
  overflow: hidden;
}

.cert img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #ffffff;
  transition: transform 0.5s var(--ease);
}

.cert:hover img {
  transform: scale(1.02);
}

.cert figcaption {
  padding: 14px 4px 4px;
}

.cert figcaption h4 {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.cert figcaption p {
  margin-top: 6px;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--muted);
}

.cert-note {
  margin-top: clamp(18px, 2vw, 26px);
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 78ch;
}

@media (max-width: 900px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- CTA strip under the forms grid ---------- */
.forms-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--sand);
}

.forms-cta h4 {
  margin-top: 8px;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
}

.forms-cta p {
  margin-top: 8px;
  max-width: 62ch;
  font-size: 0.86rem;
  color: var(--muted);
}

@media (max-width: 760px) {
  .forms-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- grade landing pages ---------- */
.lede {
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.55;
  color: var(--ink-2);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.grade-facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.grade-fact {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.grade-fact dt {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.15em;
}

.grade-fact dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.spec-duo {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(24px, 3vw, 40px);
}

@media (max-width: 900px) {
  .spec-duo {
    grid-template-columns: 1fr;
  }
  .grade-fact {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ---------- deeper band for section rhythm ---------- */
.section--deep {
  background: var(--sand);
}

/* ---------- related grades ---------- */
.related {
  margin-top: clamp(26px, 3vw, 40px);
  padding-top: clamp(20px, 2.4vw, 30px);
  border-top: 1px solid var(--line);
}

.related__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.chip--link {
  text-decoration: none;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.chip--link:hover {
  border-color: var(--bronze);
  color: var(--bronze);
}

/* ---------- band tones ---------- */
.section--light {
  background: #e9eef2;
}

.section--ink {
  background: #22303a;
  color: #eef2f5;
}

.section--ink .eyebrow {
  color: #9db4c2;
}

.section--ink h2 {
  color: #f5f9fb;
}

.section--ink p {
  color: rgba(238, 242, 245, 0.78);
}

.section--ink .section-head {
  border-color: rgba(255, 255, 255, 0.16);
}

.section--ink .cert {
  background: #2b3b47;
  border-color: rgba(255, 255, 255, 0.14);
}

.section--ink .cert figcaption h4 {
  color: #f5f9fb;
}

.section--ink .cert figcaption p,
.section--ink .cert-note {
  color: rgba(238, 242, 245, 0.72);
}

/* ==========================================================================
   Responsive type corrections after the 18px root increase
   ========================================================================== */

@media (max-width: 1400px) and (min-width: 1081px) {
  .hero__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .hero__actions .btn {
    padding-inline: 1.05em;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    justify-content: center;
  }
}

@media (max-width: 1080px) {
  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero__actions .btn {
    justify-content: center;
  }
}

@media (max-width: 1180px) {
  .cta-band__inner {
    align-items: start;
  }

  .cta-band__actions {
    width: 100%;
  }

  .cta-band__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}


/* linked grade chips */
.chip--link {
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.chip--link:hover,
.chip--link:focus-visible {
  border-color: var(--bronze);
  background: var(--bronze);
  color: var(--on-accent);
  outline: none;
}

td.grade a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--bronze-soft);
}

td.grade a:hover {
  color: var(--bronze);
  border-color: var(--bronze);
}

/* article layout */
.article {
  max-width: 760px;
  margin-inline: auto;
}

.article h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  margin: 2.2em 0 0.6em;
}

.article h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  margin: 1.8em 0 0.5em;
}

.article p {
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--ink-2);
  margin: 0 0 1.15em;
}

.article ul,
.article ol {
  margin: 0 0 1.3em;
  padding-left: 1.2em;
  color: var(--ink-2);
}

.article li {
  margin-bottom: 0.5em;
  line-height: 1.66;
}

.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0 1.8em;
  font-size: 0.94rem;
}

.article th,
.article td {
  text-align: left;
  padding: 0.7em 0.8em;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.article th {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom-color: var(--line-strong);
}

.article blockquote {
  margin: 1.8em 0;
  padding: 1.1em 1.4em;
  border-left: 3px solid var(--bronze);
  background: var(--paper);
  color: var(--ink-2);
  font-size: 1rem;
}

.article .note {
  font-size: 0.86rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1.1em;
  margin-top: 2em;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}


/* one number, three channels */
.contact-number {
  display: inline-block;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--bronze-soft);
  margin-bottom: 10px;
}

.contact-number:hover {
  color: var(--bronze);
  border-color: var(--bronze);
}

.contact-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 10px;
}

.contact-channels a,
.contact-channels span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  text-decoration: none;
}

.contact-channels a:hover {
  border-color: var(--bronze);
  color: var(--bronze);
}

.contact-channels span {
  border-style: dashed;
  color: var(--muted);
}


/* ---------- hero loop: poster first, video only where it is worth the bytes ---------- */

.hero__media {
  position: relative;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}

.hero__video.is-playing {
  opacity: 1;
}

.hero__still {
  position: relative;
  z-index: 0;
}

.hero__video.is-playing + .hero__still {
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }
}


/* ---------- progressive disclosure ---------- */

[data-collapse] > [data-collapse-hidden] {
  display: none !important;
}

.collapse-more {
  margin-top: 34px;
  text-align: center;
}

.collapse-more button {
  font: inherit;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 30px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}

.collapse-more button:hover,
.collapse-more button:focus-visible {
  border-color: var(--bronze);
  color: var(--bronze);
  outline: none;
}

.collapse-more button[aria-expanded="true"]:hover {
  background: var(--bronze);
  color: var(--on-accent);
}


/* ---------- hero: three-line statement across the full panel ---------- */

.hero__panel {
  display: block;
}

.hero__head h1 {
  max-width: none;
  font-size: clamp(1.9rem, 3.5vw, 3.25rem);
  line-height: 1.08;
  text-wrap: nowrap;
}

.hero__row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(22px, 4vw, 60px);
  align-items: end;
  margin-top: clamp(24px, 3vw, 40px);
  padding-top: clamp(20px, 2.4vw, 30px);
  border-top: 1px solid var(--line);
}

.hero__row .hero__text {
  margin-bottom: 0;
  max-width: 52ch;
}

@media (max-width: 1080px) {
  .hero__head h1 {
    font-size: clamp(1.7rem, 5.2vw, 2.6rem);
    text-wrap: balance;
  }

  .hero__row {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }
}

@media (max-width: 560px) {
  .hero__head h1 {
    font-size: clamp(1.5rem, 7.4vw, 2rem);
  }
}


/* headline line control */
.hero__head h1 .l1 {
  display: block;
}

@media (max-width: 560px) {
  .hero__head h1 .l2,
  .hero__head h1 .l3 {
    display: block;
  }
}
