/* ==========================================================
   Custom Shoe Factory industrial editorial design system
   Light canvas, precise typography, safety orange accent
   ========================================================== */

:root {
  color-scheme: light;
  --canvas: #f3f4ef;
  --surface: #ffffff;
  --surface-2: #e9ece6;
  --surface-3: #dfe4dc;
  --ink: #111712;
  --ink-2: #263029;
  --muted: #657069;
  --line: #c9cec6;
  --line-soft: #dfe3dc;
  --accent: #bf4618;
  --accent-deep: #9e3510;
  --accent-soft: #f5e2d9;
  --dark: #101612;
  --dark-2: #182019;
  --success: #146c43;
  --error: #a62e22;
  --font-sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --container: 1280px;
  --header-h: 72px;
  --radius: 4px;
  --radius-sm: 2px;
  --shadow-sm: 0 10px 28px rgb(17 23 18 / 0.08);
  --shadow-lg: 0 24px 70px rgb(17 23 18 / 0.15);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section-space: clamp(5.25rem, 8vw, 8.25rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  scrollbar-gutter: stable;
  background: var(--canvas);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
}

body.drawer-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: var(--accent);
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

picture {
  width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
dl,
dd,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

main:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.header-sentinel {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  pointer-events: none;
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  background: rgb(243 244 239 / 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgb(243 244 239 / 0.99);
  border-color: var(--line);
  box-shadow: 0 8px 30px rgb(17 23 18 / 0.07);
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(235px, auto) 1fr auto;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.4rem);
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  min-width: 0;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent-deep);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand__text {
  display: grid;
  gap: 0;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
  white-space: nowrap;
}

.brand__text small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.4;
}

.nav {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 2px;
  height: 100%;
}

.nav__item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav__trigger {
  display: flex;
  align-items: center;
}

.nav__link,
.nav__toggle {
  min-height: 40px;
  color: var(--ink-2);
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
}

.nav__toggle {
  display: inline-grid;
  place-items: center;
  width: 28px;
  padding: 0;
  margin-left: -7px;
}

.nav__dropdown-toggle {
  width: auto;
  padding: 0 10px;
  margin-left: 0;
}

.nav__link:hover,
.nav__toggle:hover,
.nav__item.is-open > .nav__dropdown-toggle,
.nav__item.is-open .nav__trigger {
  color: var(--accent-deep);
}

.nav__link[aria-current="page"] {
  color: var(--accent-deep);
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 13px;
  left: 10px;
  height: 2px;
  background: var(--accent);
}

.nav__caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms var(--ease);
}

.nav__item.is-open .nav__caret {
  transform: translateY(2px) rotate(225deg);
}

.mega {
  position: absolute;
  top: calc(100% - 7px);
  left: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(var(--mega-cols, 1), minmax(190px, 1fr));
  gap: 30px;
  width: max-content;
  min-width: 270px;
  max-width: min(620px, calc(100vw - 48px));
  padding: 25px;
  visibility: hidden;
  opacity: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: translateY(8px);
  transition: opacity 150ms ease, visibility 150ms ease, transform 180ms var(--ease);
  pointer-events: none;
}

.mega--right {
  right: 0;
  left: auto;
}

.nav__item.is-open .mega {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mega__col {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 190px;
}

.mega__col h4,
.mega__col .nav-group-title {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mega__col a {
  display: block;
  padding: 8px 0;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.88rem;
  font-weight: 600;
}

.mega__col a:last-child {
  border-bottom: 0;
}

.mega__col a:hover,
.mega__col a:focus-visible {
  color: var(--accent-deep);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.menu-toggle,
.drawer-close {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.5px;
  background: currentColor;
}

.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  justify-items: end;
  visibility: hidden;
  opacity: 0;
  background: rgb(16 22 18 / 0.54);
  transition: opacity 180ms ease, visibility 0s linear 180ms;
  pointer-events: none;
}

.mobile-drawer.is-open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
  pointer-events: auto;
}

.mobile-drawer__panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(470px, 100%);
  height: 100dvh;
  color: var(--ink);
  background: var(--canvas);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 70px rgb(16 22 18 / 0.22);
  transform: translateX(100%);
  transition: transform 260ms var(--ease);
}

.mobile-drawer.is-open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.drawer-close {
  display: inline-block;
  flex: 0 0 44px;
}

.drawer-close span::before,
.drawer-close span::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 12px;
  width: 19px;
  height: 1.5px;
  background: currentColor;
}

.drawer-close span::before { transform: rotate(45deg); }
.drawer-close span::after { transform: rotate(-45deg); }

.mobile-drawer__links {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 20px 28px;
}

.mobile-drawer__group {
  padding: 22px 0 17px;
  border-bottom: 1px solid var(--line);
}

.mobile-drawer__group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
}

.mobile-drawer__group h4,
.mobile-drawer__group .nav-group-title {
  margin: 0;
  font-size: 1rem;
}

.mobile-drawer__overview {
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 600;
  text-transform: uppercase;
}

.mobile-drawer__group > a:not(.mobile-drawer__overview),
.mobile-drawer__group--single > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 600;
}

.mobile-drawer__group--single {
  padding-block: 8px;
}

.mobile-drawer__footer {
  padding: 20px;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
}

.mobile-drawer__footer .btn {
  width: 100%;
}

.mobile-drawer__footer p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

/* Buttons and compact controls */
.btn,
.btn-ghost,
.btn-wa {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 50px;
  padding: 0 19px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.btn {
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: 0 6px 18px rgb(191 70 24 / 0.17);
}

.btn:hover {
  color: #fff;
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  box-shadow: 0 8px 22px rgb(158 53 16 / 0.22);
}

.btn--sm {
  min-height: 40px;
  padding-inline: 14px;
  font-size: 0.76rem;
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  color: var(--accent-deep);
  background: var(--surface);
  border-color: var(--accent);
}

.btn-ghost--inverse {
  color: #fff;
  border-color: rgb(255 255 255 / 0.36);
}

.btn-ghost--inverse:hover {
  color: #fff;
  background: rgb(255 255 255 / 0.08);
  border-color: #fff;
}

.btn__icon {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.9em;
  line-height: 1;
  transition: transform 180ms var(--ease);
}

.btn:hover .btn__icon,
.btn:focus-visible .btn__icon {
  transform: translate(2px, -2px);
}

/* Hero system */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  top: clamp(78px, 10vw, 130px);
  right: -6vw;
  width: min(32vw, 460px);
  height: 9px;
  background: var(--accent);
  opacity: 0.92;
  transform: rotate(-10deg);
  transform-origin: right center;
  pointer-events: none;
  z-index: -1;
}

.hero__inner {
  padding-block: clamp(3.5rem, 6vw, 6.5rem);
}

.hero--home .hero__inner {
  display: grid;
  align-content: center;
  min-height: min(780px, calc(100dvh - var(--header-h)));
}

.hero--inner .hero__inner {
  min-height: 625px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7.5rem);
}

.hero--inner .breadcrumbs {
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 670px;
}

.eyebrow,
.kicker {
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  max-width: 12.5ch;
  margin-bottom: 28px;
  font-size: clamp(3.4rem, 6.25vw, 6.75rem);
  line-height: 0.93;
  letter-spacing: -0.072em;
}

.hero--inner h1 {
  max-width: 13.5ch;
  font-size: clamp(3.25rem, 5.4vw, 5.7rem);
}

.hero__copy > p:not(.note) {
  max-width: 61ch;
  margin-bottom: 0;
  color: var(--ink-2);
  font-size: clamp(1.01rem, 1.3vw, 1.16rem);
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 5px 9px;
  color: var(--ink-2);
  background: rgb(255 255 255 / 0.54);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.015em;
}

.hero__note {
  max-width: 58ch;
  margin: 18px 0 0;
}

.hero__panel {
  position: relative;
  z-index: 1;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.hero__panel::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 46%;
  height: 42%;
  border-right: 14px solid var(--accent);
  border-bottom: 14px solid var(--accent);
  pointer-events: none;
  z-index: -1;
}

.hero__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 0.88;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__panel-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--dark);
}

.hero__panel-list li {
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid rgb(255 255 255 / 0.13);
  border-bottom: 1px solid rgb(255 255 255 / 0.13);
}

.hero__panel-list li:nth-child(2n) {
  border-right: 0;
}

.hero__panel-list li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.hero__panel-list strong,
.hero__panel-list span {
  display: block;
}

.hero__panel-list strong {
  margin-bottom: 5px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__panel-list span {
  color: #bfc7c0;
  font-size: 0.79rem;
  line-height: 1.45;
}

/* Breadcrumbs */
.breadcrumbs {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.025em;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: var(--line);
}

.breadcrumbs a:hover {
  color: var(--accent-deep);
}

/* Section rhythm */
.section {
  position: relative;
  padding-block: var(--section-space);
}

.section + .section {
  border-top: 1px solid var(--line-soft);
}

.section--alt {
  background: var(--surface-2);
}

.section--dark {
  color: var(--ink);
  background: var(--canvas);
}

.section__head {
  display: block;
  max-width: 860px;
  margin-bottom: clamp(2.5rem, 5vw, 4.75rem);
}

.section__head .kicker {
  margin-bottom: 13px;
}

.section__head h2 {
  max-width: 18ch;
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4.6vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.section__head > p {
  max-width: 62ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.section__head--related {
  margin-bottom: 24px;
}

.section__head--related h2 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
}

.kicker--inverse {
  color: #f09a75;
}

.grid-2,
.grid-3,
.grid-4,
.two-column {
  display: grid;
  gap: 20px;
}

.grid-2,
.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Trust strip and stats */
.trust-section {
  padding-block: 0;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.trust-badge {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 15px;
  min-width: 0;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}

.trust-badge:last-child {
  border-right: 0;
}

.trust-badge__code {
  display: inline-grid;
  place-items: center;
  width: 45px;
  height: 45px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid #e0b8a6;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.trust-badge strong,
.trust-badge span:not(.trust-badge__code) {
  display: block;
}

.trust-badge strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.35;
}

.trust-badge span:not(.trust-badge__code) {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.section--stats {
  padding-block: 0;
  background: var(--dark);
  border: 0;
}

.statbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  min-width: 0;
  padding: clamp(2rem, 4vw, 3.4rem) clamp(1rem, 2.4vw, 2.25rem);
  border-right: 1px solid rgb(255 255 255 / 0.14);
}

.stat:last-child {
  border-right: 0;
}

.stat b,
.stat span {
  display: block;
}

.stat b {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.stat span {
  color: #b7c0b8;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  line-height: 1.45;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

/* Editorial cards */
.card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  padding: clamp(1.45rem, 2.4vw, 2.2rem);
}

.card h3 {
  margin-bottom: 13px;
  font-size: clamp(1.22rem, 1.8vw, 1.62rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.68;
}

.card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  transition: transform 500ms var(--ease), filter 300ms ease;
}

.card--media picture {
  overflow: hidden;
}

.card--linked:hover,
.card--linked:focus-within {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.card--linked:hover .card__media {
  transform: scale(1.018);
}

.card--linked .mini-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card--linked .mini-link:focus-visible {
  outline: none;
}

.card--linked:has(.mini-link:focus-visible) {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.card--editorial {
  background: transparent;
  border-width: 1px 0 0;
  border-radius: 0;
}

.card--editorial .card__body {
  padding-inline: 0;
}

.card--callout {
  color: #fff;
  background: var(--dark);
  border-color: var(--dark);
}

.card--callout h3 {
  color: #fff;
}

.card--callout p {
  color: #c5ccc6;
}

.card__list {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 17px 0 0;
  width: 100%;
  color: var(--ink-2);
  border-top: 1px solid var(--line-soft);
  list-style: none;
  font-size: 0.82rem;
}

.card__list li {
  position: relative;
  padding-left: 17px;
}

.card__list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 2px;
  background: var(--accent);
}

.mini-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.mini-link span {
  transition: transform 180ms var(--ease);
}

.mini-link:hover span {
  transform: translate(2px, -2px);
}

/* Process timeline */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  counter-reset: process;
}

.process__step {
  position: relative;
  min-width: 0;
  padding: 26px 26px 8px 0;
  border-top: 2px solid var(--ink);
}

.process__step:not(:last-child) {
  margin-right: 24px;
}

.process__step::after {
  content: "";
  position: absolute;
  top: -6px;
  right: -5px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border: 2px solid var(--canvas);
}

.process__step:last-child::after {
  display: none;
}

.process__step .num {
  margin-bottom: 40px;
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.process__step h3 {
  max-width: 17ch;
  margin-bottom: 12px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.process__step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

/* Home page layout variants */
.section--home-reasons .grid-4 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 32px;
}

.section--home-reasons .card {
  background: transparent;
  border-width: 1px 0 0;
  border-radius: 0;
}

.section--home-reasons .card:nth-child(1),
.section--home-reasons .card:nth-child(4) {
  grid-column: span 5;
}

.section--home-reasons .card:nth-child(2),
.section--home-reasons .card:nth-child(3) {
  grid-column: span 7;
}

.section--home-reasons .card:nth-child(n + 3) {
  margin-top: 30px;
}

.section--home-reasons .card__body {
  padding-inline: 0;
}

.section--product-showcase .grid-4 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.section--product-showcase .card:nth-child(1),
.section--product-showcase .card:nth-child(4) {
  grid-column: span 7;
}

.section--product-showcase .card:nth-child(2),
.section--product-showcase .card:nth-child(3) {
  grid-column: span 5;
}

.section--product-showcase .card:nth-child(2),
.section--product-showcase .card:nth-child(4) {
  margin-top: 42px;
}

.section--product-showcase .card__media {
  aspect-ratio: 16 / 10;
}

.section--product-showcase .card:nth-child(2) .card__media,
.section--product-showcase .card:nth-child(3) .card__media {
  aspect-ratio: 4 / 3;
}

.section--quality .grid-3 {
  gap: 14px;
}

.section--quality .card {
  color: #fff;
  background: var(--dark);
  border-color: var(--dark);
}

.section--quality .card:nth-child(2) {
  margin-top: 34px;
}

.section--quality .card h3 {
  color: #fff;
}

.section--quality .card p {
  color: #bdc6be;
}

.section--quality .card__media {
  border-color: rgb(255 255 255 / 0.14);
  filter: saturate(0.82) contrast(1.04);
}

.section--industries .grid-3,
.section--materials .grid-3 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.section--industries .card:nth-child(1),
.section--materials .card:nth-child(2) {
  grid-column: span 5;
}

.section--industries .card:nth-child(2),
.section--materials .card:nth-child(1) {
  grid-column: span 7;
}

.section--industries .card:nth-child(3),
.section--materials .card:nth-child(3) {
  grid-column: 3 / span 8;
}

.section--industries .card,
.section--materials .card {
  min-height: 245px;
}

.section--insights .grid-3 {
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
  grid-template-rows: repeat(2, minmax(0, auto));
}

.section--insights .card--featured {
  grid-row: 1 / span 2;
}

.section--insights .card--featured .card__media {
  aspect-ratio: 16 / 11;
}

.section--insights .card:not(.card--featured) {
  min-height: 220px;
}

/* Shared content and lists */
.content {
  padding-block: clamp(4.5rem, 8vw, 8rem);
}

.content > .container > .breadcrumbs {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.content h1 {
  max-width: 16ch;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.content__title-spaced {
  margin-top: 24px;
}

.content__lead {
  max-width: 69ch;
  color: var(--ink-2);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.78;
}

.content__lead > :last-child {
  margin-bottom: 0;
}

.content__lead p {
  margin-bottom: 1.35em;
}

.content__lead--wide {
  max-width: 900px;
}

.content__lead--flush {
  margin-top: 0;
}

.content__split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: clamp(2.8rem, 6vw, 5.5rem);
}

.content__split--tight {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.content__image {
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.content__image img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.article {
  overflow-wrap: anywhere;
  color: var(--ink-2);
}

.article--spaced {
  margin-top: clamp(4rem, 8vw, 8rem);
}

.article--narrow {
  max-width: 790px;
  margin-inline: auto;
}

.article > section {
  scroll-margin-top: calc(var(--header-h) + 30px);
  margin-bottom: clamp(3.25rem, 6vw, 5.5rem);
}

.article > section:last-child {
  margin-bottom: 0;
}

.article h2 {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.article h3 {
  margin: 2rem 0 0.8rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.article p,
.article li {
  font-size: 1rem;
  line-height: 1.82;
}

.article p {
  margin-bottom: 1.35em;
}

.article ul,
.article ol {
  padding-left: 1.25rem;
}

.article a:not(.mini-link) {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article strong {
  color: var(--ink);
}

.list-clean {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-clean li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  color: var(--ink-2);
  font-size: 0.91rem;
  line-height: 1.6;
}

.check {
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-weight: 600;
}

.stack-top {
  margin-top: 30px;
  max-width: 820px;
}

.note,
.micro,
.muted {
  color: var(--muted);
}

.note {
  font-size: 0.82rem;
  line-height: 1.65;
}

.micro {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.no-margin {
  margin: 0 !important;
}

.note--spaced {
  margin-top: 28px;
}

.related-block {
  margin-top: clamp(4.5rem, 8vw, 8rem);
  padding-top: clamp(3rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
}

/* Data tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scrollbar-color: var(--accent) var(--surface-2);
  scrollbar-width: thin;
}

.table-wrap:focus-visible {
  outline-offset: 4px;
}

.table-scroll-hint {
  display: none;
  margin: 0 0 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
}

.spec-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: var(--ink-2);
}

.spec-table th,
.spec-table td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  color: #fff;
  background: var(--dark);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.spec-table td {
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.86rem;
  line-height: 1.6;
}

.spec-table tbody tr:nth-child(even) td {
  background: #f7f8f4;
}

.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.spec-table td:first-child {
  width: 28%;
  color: var(--ink);
  font-weight: 700;
}

/* FAQ */
.faq {
  max-width: 960px;
  border-top: 2px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 19px 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--accent-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 500;
  transition: transform 180ms var(--ease), background-color 180ms ease;
}

.faq details[open] summary span {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(45deg);
}

.faq__body {
  max-width: 74ch;
  padding: 0 54px 24px 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* Tags and anchor navigation */
.tag-row,
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 43px;
  padding: 9px 12px;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 600;
}

.tag:hover {
  color: var(--accent-deep);
  border-color: var(--accent);
}

.anchor-nav {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  z-index: 20;
  margin-bottom: 72px;
  padding: 10px;
  background: rgb(243 244 239 / 0.97);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.anchor-nav a {
  flex: 1 1 auto;
  padding: 10px 14px;
  color: var(--ink-2);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
}

.anchor-nav a:hover,
.anchor-nav a:focus-visible {
  color: #fff;
  background: var(--accent);
}

.material-group {
  scroll-margin-top: calc(var(--header-h) + 96px);
  padding-block: 28px clamp(4.5rem, 8vw, 8rem);
}

.material-group + .material-group {
  border-top: 1px solid var(--line);
}

.material-group .section__head {
  margin-bottom: 32px;
}

/* Metrics, case overview, and factory gallery */
.metric {
  min-height: 170px;
  padding: 24px;
  background: var(--surface);
  border-top: 3px solid var(--accent);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: var(--radius);
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  margin-bottom: 38px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.metric span {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.metric .mini-link {
  padding-top: 0;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.overview-grid > div {
  min-width: 0;
  padding: 22px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.overview-grid > div:nth-child(2n) {
  border-right: 0;
}

.overview-grid > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.overview-grid dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.overview-grid dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
}

.fac__cell {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.fac__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.fac__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

.fac__cell:hover .fac__media img {
  transform: scale(1.018);
}

.fac__cell figcaption {
  padding: 14px 16px;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.example-badge {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 10px 12px;
  color: #70462f;
  background: #f3e8de;
  border-left: 3px solid var(--accent);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  line-height: 1.55;
}

.example-badge--spaced {
  margin-top: 28px;
}

.ladder > :nth-child(2) {
  margin-top: 34px;
}

/* Article table of contents */
.toc {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
}

.toc h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.toc a:hover {
  color: var(--accent-deep);
}

/* Inquiry form */
.section--form {
  scroll-margin-top: var(--header-h);
}

.form {
  max-width: 1060px;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.section__head--form {
  margin-bottom: 38px;
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}

.field {
  min-width: 0;
}

.field--full {
  margin-top: 22px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.req {
  color: var(--error);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  color: var(--ink);
  background: #f8f9f5;
  border: 1px solid #7b867e;
  border-radius: var(--radius-sm);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.field input,
.field select {
  min-height: 50px;
  padding: 0 14px;
}

.field textarea {
  min-height: 165px;
  padding: 13px 14px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #657069;
  opacity: 1;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #59675e;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(191 70 24 / 0.14);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.form.was-validated .field input:invalid,
.form.was-validated .field select:invalid,
.form.was-validated .field textarea:invalid,
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 1px rgb(166 46 34 / 0.18);
}

.field__error {
  display: none;
  margin: 7px 0 0;
  color: #8c241c;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.45;
}

.field__error.is-visible,
.field [aria-invalid="true"] ~ .field__error,
.form.was-validated .field input:invalid ~ .field__error,
.form.was-validated .field select:invalid ~ .field__error,
.form.was-validated .field textarea:invalid ~ .field__error {
  display: block;
}

.form__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.btn-wa {
  color: #fff;
  background: var(--dark-2);
  border: 1px solid var(--dark-2);
}

.btn-wa:hover {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.form__note {
  margin: 18px 0 0;
}

.field input:disabled,
.field select:disabled,
.field textarea:disabled {
  color: #59635c;
  background: var(--surface-2);
  border-color: #a2aba4;
  cursor: not-allowed;
  opacity: 1;
}

.btn[disabled],
.btn-wa[disabled],
.btn-ghost[disabled],
.btn[aria-disabled="true"],
.btn-wa[aria-disabled="true"],
.btn-ghost[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.62;
  box-shadow: none;
  transform: none;
}

.form[aria-busy="true"] .btn[disabled] {
  cursor: progress;
  opacity: 0.76;
}

.form__status {
  display: none;
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  line-height: 1.55;
}

.form__status.is-ok,
.form__status.is-err,
.form__status.is-pending {
  display: block;
}

.form__status.is-pending {
  color: #59430d;
  background: #fff4d6;
  border: 1px solid #c7a44d;
}

.form__status.is-ok {
  color: #0f5c39;
  background: #e1f1e8;
  border: 1px solid #acd3bd;
}

.form__status.is-err {
  color: #8c241c;
  background: #f8e6e3;
  border: 1px solid #e4b8b2;
}

.inquiry-preview {
  margin-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.inquiry-preview summary {
  padding: 14px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
}

.inquiry-preview pre {
  max-width: 100%;
  margin: 14px 0 0;
  padding: 16px;
  overflow-x: auto;
  color: #d7ded8;
  background: var(--dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

/* Conversion band */
.section--cta {
  padding-top: clamp(3rem, 6vw, 6rem);
  background: var(--canvas);
}

.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: end;
  gap: clamp(2.5rem, 7vw, 7rem);
  overflow: hidden;
  padding: clamp(2.25rem, 5vw, 5.2rem);
  color: #fff;
  background: var(--dark);
  border: 1px solid #263128;
  border-radius: var(--radius);
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(2.25rem, 5vw, 5.2rem);
  width: 110px;
  height: 7px;
  background: var(--accent);
}

.cta-band h2 {
  max-width: 14ch;
  margin: 14px 0 20px;
  color: #fff;
  font-size: clamp(2.3rem, 4.5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.cta-band__copy > p {
  max-width: 58ch;
  margin: 0;
  color: #bdc6be;
  font-size: 0.93rem;
  line-height: 1.7;
}

.cta-band__aside {
  position: relative;
  z-index: 1;
}

.section-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-band .micro {
  margin: 18px 0 0;
  color: #9eaaa1;
}

/* Footer */
.foot {
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
  color: #c5cdc6;
  background: var(--dark);
  border-top: 1px solid #263128;
}

.foot__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.8fr);
  gap: clamp(3rem, 7vw, 7rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.brand--footer .brand__text {
  color: #fff;
}

.brand--footer .brand__text small {
  color: #94a096;
}

.foot__brand > p {
  max-width: 46ch;
  margin: 26px 0 0;
  color: #aeb8b0;
  font-size: 0.86rem;
  line-height: 1.75;
}

.foot__contact {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
}

.foot__contact > div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.foot__contact dt {
  color: #78857b;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.foot__contact dd {
  margin: 0;
  color: #d5dbd6;
  font-size: 0.76rem;
  overflow-wrap: anywhere;
}

.foot a:hover {
  color: #fff;
}

.foot__nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.foot__col h3 {
  margin-bottom: 18px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.foot__col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot__col a {
  color: #9eaaa1;
  font-size: 0.72rem;
  line-height: 1.4;
}

.foot__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  color: #7f8c82;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.025em;
}

/* Floating sales contact */
.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 65;
  display: inline-flex;
  align-items: center;
  min-width: 54px;
  height: 54px;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
  border: 1px solid #2e3930;
  border-radius: 27px;
  box-shadow: 0 12px 34px rgb(16 22 18 / 0.25);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.wa-fab svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  margin: 0 15px;
}

.wa-fab__label {
  max-width: 0;
  padding-right: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
  transition: max-width 260ms var(--ease), opacity 160ms ease, padding-right 260ms var(--ease);
}

.wa-fab:hover,
.wa-fab:focus-visible {
  background: var(--accent-deep);
  box-shadow: 0 14px 38px rgb(16 22 18 / 0.34);
}

.wa-fab:hover .wa-fab__label,
.wa-fab:focus-visible .wa-fab__label {
  max-width: 170px;
  padding-right: 18px;
  opacity: 1;
}

/* Scroll reveal */
.has-reveal .reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 560ms ease var(--reveal-delay, 0ms), transform 620ms var(--ease) var(--reveal-delay, 0ms);
}

.has-reveal .reveal-item.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet and compact desktop */
@media (max-width: 1120px) {
  :root {
    --header-h: 68px;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1.08fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }

  .hero h1 {
    font-size: clamp(3.25rem, 6.6vw, 5.5rem);
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-badge:nth-child(2n) {
    border-right: 0;
  }

  .trust-badge:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section--home-reasons .grid-4,
  .section--product-showcase .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section--home-reasons .card,
  .section--product-showcase .card {
    grid-column: auto !important;
  }

  .section--product-showcase .card:nth-child(2),
  .section--product-showcase .card:nth-child(4) {
    margin-top: 30px;
  }

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 24px;
  }

  .process__step:nth-child(2n) {
    margin-right: 0;
  }

  .section--industries .card:nth-child(3),
  .section--materials .card:nth-child(3) {
    grid-column: 1 / -1;
  }

  .foot__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --section-space: clamp(4.5rem, 10vw, 6rem);
  }

  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .hero {
    background: var(--canvas);
  }

  .hero::before {
    top: 92px;
    right: -80px;
    width: 340px;
  }

  .hero--home .hero__inner,
  .hero--inner .hero__inner {
    min-height: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__copy {
    max-width: 760px;
  }

  .hero h1,
  .hero--inner h1 {
    max-width: 13ch;
  }

  .hero__panel {
    width: min(100%, 760px);
  }

  .hero__media {
    aspect-ratio: 16 / 10;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section--quality .card:nth-child(2) {
    margin-top: 0;
  }

  .section--quality .card:last-child {
    grid-column: 1 / -1;
  }

  .section--industries .grid-3,
  .section--materials .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section--industries .card,
  .section--materials .card {
    grid-column: auto !important;
  }

  .section--industries .card:last-child,
  .section--materials .card:last-child {
    grid-column: 1 / -1 !important;
  }

  .section--insights .grid-3 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .section--insights .card--featured {
    grid-row: auto;
  }

  .content__split,
  .content__split--tight {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .content__image {
    max-width: 760px;
  }

  .cta-band {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .foot__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 24px;
  }
}

/* Keep the page theme light; the stats bar is a dark data component. */
.section--stats {
  padding-block: 28px;
  background: var(--canvas);
  border-top: 0;
}

.statbar {
  overflow: hidden;
  background: var(--dark);
  border: 1px solid #263128;
  border-radius: var(--radius);
}

@media (max-width: 680px) {
  :root {
    --header-h: 64px;
    --section-space: 4.35rem;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header__inner {
    gap: 10px;
  }

  .brand {
    gap: 9px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 0.7rem;
  }

  .brand__text {
    max-width: 220px;
    overflow: hidden;
    font-size: 0.76rem;
    text-overflow: ellipsis;
  }

  .brand__text small {
    font-size: 0.56rem;
  }

  .nav-actions > .btn {
    display: none;
  }

  .menu-toggle,
  .drawer-close {
    width: 44px;
    height: 44px;
  }

  .menu-toggle span:nth-child(1) { top: 14px; }
  .menu-toggle span:nth-child(2) { top: 21px; }
  .menu-toggle span:nth-child(3) { top: 28px; }

  .drawer-close span::before,
  .drawer-close span::after {
    top: 21px;
    left: 12px;
  }

  .mobile-drawer__head {
    min-height: 68px;
    padding-inline: 16px;
  }

  .mobile-drawer__links,
  .mobile-drawer__footer {
    padding-inline: 16px;
  }

  .hero::before {
    top: 72px;
    right: -130px;
    height: 7px;
  }

  .hero__inner {
    padding-block: 3.6rem 4.5rem;
  }

  .hero--inner .breadcrumbs {
    margin-bottom: 2.4rem;
  }

  .hero__grid {
    gap: 38px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 0.65rem;
  }

  .eyebrow::before {
    width: 24px;
  }

  .hero h1,
  .hero--inner h1 {
    margin-bottom: 22px;
    font-size: clamp(2.75rem, 14vw, 4.2rem);
    line-height: 0.96;
    letter-spacing: -0.065em;
  }

  .hero__copy > p:not(.note) {
    font-size: 0.98rem;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .hero__actions .btn,
  .hero__actions .btn-ghost {
    width: 100%;
  }

  .hero__points {
    gap: 6px;
    margin-top: 22px;
  }

  .chip {
    min-height: 29px;
    font-size: 0.62rem;
  }

  .hero__panel::after {
    right: -8px;
    bottom: -8px;
    border-right-width: 8px;
    border-bottom-width: 8px;
  }

  .hero__media {
    aspect-ratio: 1 / 0.85;
  }

  .hero__panel-list {
    grid-template-columns: 1fr;
  }

  .hero__panel-list li,
  .hero__panel-list li:nth-child(2n),
  .hero__panel-list li:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 0.13);
  }

  .hero__panel-list li:last-child {
    border-bottom: 0;
  }

  .section__head {
    margin-bottom: 2.6rem;
  }

  .section__head h2 {
    font-size: clamp(2.25rem, 11vw, 3.5rem);
  }

  .section__head > p {
    margin-top: 17px;
    font-size: 0.92rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .two-column,
  .section--home-reasons .grid-4,
  .section--product-showcase .grid-4,
  .section--industries .grid-3,
  .section--materials .grid-3 {
    grid-template-columns: 1fr;
  }

  .section--home-reasons .card,
  .section--product-showcase .card,
  .section--industries .card,
  .section--materials .card,
  .section--quality .card:last-child {
    grid-column: auto !important;
  }

  .section--home-reasons .card:nth-child(n + 3),
  .section--product-showcase .card:nth-child(2),
  .section--product-showcase .card:nth-child(4) {
    margin-top: 0;
  }

  .section--home-reasons .grid-4 {
    gap: 24px;
  }

  .section--industries .card,
  .section--materials .card {
    min-height: 210px;
  }

  .section--quality .grid-3 {
    gap: 16px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    border-right: 0;
    border-left: 0;
  }

  .trust-badge,
  .trust-badge:nth-child(2n),
  .trust-badge:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-badge:last-child {
    border-bottom: 0;
  }

  .section--stats {
    padding-block: 18px;
  }

  .statbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat {
    padding: 24px 18px;
  }

  .stat:nth-child(2n) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgb(255 255 255 / 0.14);
  }

  .stat b {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .process {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process__step,
  .process__step:not(:last-child) {
    margin-right: 0;
    padding: 24px 0 30px;
  }

  .process__step::after {
    display: none;
  }

  .process__step .num {
    margin-bottom: 20px;
  }

  .card__body {
    padding: 1.35rem;
  }

  .card__media,
  .section--product-showcase .card__media,
  .section--product-showcase .card:nth-child(2) .card__media,
  .section--product-showcase .card:nth-child(3) .card__media {
    aspect-ratio: 4 / 3;
  }

  .content {
    padding-block: 4rem;
  }

  .content h1 {
    font-size: clamp(2.75rem, 13vw, 4.2rem);
  }

  .content__lead {
    font-size: 1rem;
  }

  .content__split {
    margin-top: 2.8rem;
  }

  .article--spaced {
    margin-top: 4.5rem;
  }

  .article h2 {
    font-size: 2rem;
  }

  .table-scroll-hint {
    display: block;
  }

  .table-wrap {
    -webkit-overflow-scrolling: touch;
  }

  .anchor-nav {
    position: static;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-bottom: 48px;
    padding: 8px;
  }

  .anchor-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .material-group {
    padding-bottom: 4.5rem;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .overview-grid > div,
  .overview-grid > div:nth-child(2n),
  .overview-grid > div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .overview-grid > div:last-child {
    border-bottom: 0;
  }

  .faq summary {
    min-height: 70px;
    gap: 16px;
    padding-block: 17px;
    font-size: 0.98rem;
  }

  .faq__body {
    padding-right: 0;
  }

  .ladder > :nth-child(2) {
    margin-top: 0;
  }

  .form {
    padding: 24px 18px;
  }

  .form__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .form__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .form__actions .btn,
  .form__actions .btn-wa,
  .form__actions .btn-ghost {
    width: 100%;
  }

  .cta-band {
    gap: 2rem;
    padding: 2.5rem 1.35rem 1.5rem;
  }

  .cta-band::before {
    left: 1.35rem;
    width: 82px;
    height: 6px;
  }

  .cta-band h2 {
    font-size: clamp(2.25rem, 11vw, 3.4rem);
  }

  .section-band__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section-band__actions .btn,
  .section-band__actions .btn-ghost {
    width: 100%;
  }

  .foot__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foot__bar {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 20px;
  }

  .wa-fab {
    right: 12px;
    bottom: 12px;
    width: 50px;
    min-width: 50px;
    height: 50px;
  }

  .wa-fab svg {
    width: 22px;
    height: 22px;
    margin-inline: 13px;
  }

  .wa-fab__label {
    display: none;
  }
}

@media (max-width: 430px) {
  .brand__text {
    max-width: 190px;
    font-size: 0.71rem;
  }

  .brand__text small {
    display: none;
  }

  .hero__actions .btn,
  .hero__actions .btn-ghost,
  .btn,
  .btn-ghost,
  .btn-wa {
    min-height: 48px;
  }

  .stat {
    padding-inline: 14px;
  }

  .stat span {
    font-size: 0.6rem;
  }

  .trust-badge {
    padding-inline: 16px;
  }

  .foot__nav {
    gap: 30px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .has-reveal .reveal-item {
    opacity: 1;
    transform: none;
  }
}

@media print {
  :root {
    --canvas: #fff;
  }

  .site-header,
  .mobile-drawer,
  .wa-fab,
  .section--cta,
  .hero__actions,
  .hero__points,
  .anchor-nav {
    display: none !important;
  }

  body,
  .section,
  .section--alt,
  .foot {
    color: #000;
    background: #fff !important;
  }

  .hero,
  .card,
  .table-wrap,
  .form,
  .content__image {
    box-shadow: none !important;
  }

  .foot {
    border-top: 1px solid #999;
  }
}

.wa-fab__code {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media (max-width: 680px) {
  .wa-fab__code {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }
}

.mega--cols-1 { --mega-cols: 1; }
.mega--cols-2 { --mega-cols: 2; }

.redirect-page {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: 24px;
}

.redirect-page main {
  width: min(100%, 620px);
  padding: clamp(2rem, 6vw, 4.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent);
  border-radius: var(--radius);
}

.redirect-page h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 0.95;
}

.redirect-page p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.redirect-page a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ==========================================================
   Custom Shoe Factory insight library
   Editorial index, article metadata, and long-form callouts
   ========================================================== */
.insights-index {
  padding-top: clamp(4.5rem, 7vw, 7rem);
  background: var(--canvas);
}

.insights-index__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.65fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.insights-index__head h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.insights-index__head > p {
  max-width: 56ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.insights-nav {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  z-index: 25;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  background: rgb(255 255 255 / 0.97);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 35px rgb(17 23 18 / 0.07);
}

.insights-nav a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 62px;
  padding: 12px 14px;
  border-right: 1px solid var(--line-soft);
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
}

.insights-nav a:last-child {
  border-right: 0;
}

.insights-nav a:hover,
.insights-nav a:focus-visible {
  color: var(--accent-deep);
  background: var(--accent-soft);
}

.insights-nav a > span {
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.insights-nav a > b {
  display: inline-grid;
  min-width: 25px;
  height: 25px;
  place-items: center;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.insight-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  min-height: 530px;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
  border: 1px solid #263128;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.insight-feature__media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--dark-2);
}

.insight-feature__media picture,
.insight-feature__media img {
  width: 100%;
  height: 100%;
}

.insight-feature__media img {
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.insight-feature:hover .insight-feature__media img {
  transform: scale(1.018);
}

.insight-feature__flag {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 10px;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.insight-feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.insight-feature__body h2 {
  max-width: 12ch;
  margin: 24px 0 20px;
  color: #fff;
  font-size: clamp(2.6rem, 4.5vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.insight-feature__body > p {
  max-width: 52ch;
  margin-bottom: 34px;
  color: rgb(255 255 255 / 0.7);
  line-height: 1.75;
}

.insight-feature__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
}

.insight-feature__foot time {
  color: rgb(255 255 255 / 0.55);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  white-space: nowrap;
}

.insight-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.insight-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 8px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.2;
  text-transform: uppercase;
}

.insight-feature .insight-card__meta span {
  color: rgb(255 255 255 / 0.72);
  background: rgb(255 255 255 / 0.07);
  border-color: rgb(255 255 255 / 0.15);
}

.insights-cluster {
  scroll-margin-top: calc(var(--header-h) + 102px);
  margin-top: clamp(5.5rem, 10vw, 10rem);
  padding-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 2px solid var(--ink);
}

.insights-cluster__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.insights-cluster__head h2 {
  max-width: 13ch;
  margin: 10px 0 0;
  font-size: clamp(2.35rem, 4vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.insights-cluster__summary {
  display: grid;
  gap: 16px;
}

.insights-cluster__summary p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.insights-cluster__summary span {
  width: max-content;
  padding-top: 10px;
  color: var(--accent-deep);
  border-top: 1px solid var(--accent);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.insight-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 345px;
  flex-direction: column;
  padding: clamp(1.4rem, 2.5vw, 2.15rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.insight-card:first-child {
  grid-column: span 2;
}

.insight-card:hover {
  z-index: 1;
  border-color: #aeb5aa;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.insight-card__top,
.insight-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.insight-card__index {
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
}

.insight-card h3 {
  max-width: 17ch;
  margin: clamp(2.2rem, 5vw, 4.5rem) 0 16px;
  font-size: clamp(1.55rem, 2.4vw, 2.45rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.insight-card:first-child h3 {
  max-width: 20ch;
  font-size: clamp(2rem, 3vw, 3.35rem);
}

.insight-card h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.insight-card > p {
  max-width: 60ch;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.68;
}

.insight-card__foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.insight-card__foot .mini-link,
.insight-card__foot time {
  position: relative;
  z-index: 2;
}

.insight-card__foot time {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  white-space: nowrap;
}

.content--article .content__lead {
  max-width: 80ch;
  margin-top: 34px;
}

.article-meta {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 0.75fr));
  margin-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-meta__item {
  display: flex;
  min-width: 0;
  min-height: 86px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 16px 20px;
  border-right: 1px solid var(--line-soft);
}

.article-meta__item:last-child {
  border-right: 0;
}

.article-meta__item span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.article-meta__item strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.4;
}

a.article-meta__item:hover {
  color: var(--accent-deep);
  background: var(--accent-soft);
}

.article-intro {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.article-callout {
  position: relative;
  margin: 2rem 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--accent-soft);
  border: 1px solid #e0b8a6;
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-sm);
}

.article-callout > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-callout p:last-child {
  margin-bottom: 0;
}

.article .table-wrap {
  margin-block: 1.8rem 2.2rem;
}

@media (max-width: 1120px) {
  .insights-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .insights-nav a:nth-child(3) {
    border-right: 0;
  }

  .insights-nav a:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line-soft);
  }

  .insight-feature {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  }

  .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .insights-index__head,
  .insights-cluster__head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .insights-nav {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
  }

  .insights-nav a,
  .insights-nav a:nth-child(3) {
    flex: 0 0 230px;
    border-right: 1px solid var(--line-soft);
    border-bottom: 0;
    scroll-snap-align: start;
  }

  .insights-nav a:last-child {
    border-right: 0;
  }

  .insight-feature {
    grid-template-columns: 1fr;
  }

  .insight-feature__media {
    min-height: 390px;
  }

  .insight-feature__body h2 {
    max-width: 15ch;
  }

  .article-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-meta__item:nth-child(2) {
    border-right: 0;
  }

  .article-meta__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }
}

@media (max-width: 680px) {
  .insights-index__head h2 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .insights-nav {
    position: static;
    top: auto;
    z-index: auto;
    margin-inline: -16px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .insights-nav a {
    min-height: 54px;
    flex-basis: min(74vw, 240px);
    padding: 10px 12px;
  }

  .insight-feature {
    min-height: 0;
  }

  .insight-feature__media {
    min-height: 290px;
  }

  .insight-feature__body {
    padding: 1.6rem;
  }

  .insight-feature__body h2 {
    margin-top: 20px;
    font-size: clamp(2.25rem, 12vw, 3.5rem);
  }

  .insight-feature__foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .insights-cluster {
    scroll-margin-top: calc(var(--header-h) + 24px);
    margin-top: 5.5rem;
  }

  .insights-cluster__head h2 {
    font-size: clamp(2.25rem, 11vw, 3.6rem);
  }

  .insight-grid {
    grid-template-columns: 1fr;
  }

  .insight-card,
  .insight-card:first-child {
    grid-column: auto;
    min-height: 320px;
  }

  .insight-card h3,
  .insight-card:first-child h3 {
    max-width: 18ch;
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .article-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-meta__item {
    min-height: 78px;
    padding: 13px 14px;
  }

  .article-meta__item:first-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .article-meta__item:nth-child(2) {
    border-right: 1px solid var(--line-soft);
  }

  .article-meta__item:nth-child(3) {
    border-right: 0;
  }

  .article-meta__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .article-meta__item:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line-soft);
  }

  .article-callout {
    margin-inline: -8px;
  }
}

@media (forced-colors: active) {
  .field input,
  .field select,
  .field textarea {
    color: CanvasText;
    background: Canvas;
    border-color: CanvasText;
  }

  .field input:focus-visible,
  .field select:focus-visible,
  .field textarea:focus-visible {
    border-color: Highlight;
    outline: 3px solid Highlight;
    outline-offset: 2px;
    box-shadow: none;
  }

  .form.was-validated .field input:invalid,
  .form.was-validated .field select:invalid,
  .form.was-validated .field textarea:invalid,
  .field input[aria-invalid="true"],
  .field select[aria-invalid="true"],
  .field textarea[aria-invalid="true"] {
    border-width: 2px;
    border-color: CanvasText;
    box-shadow: none;
  }

  .field input:disabled,
  .field select:disabled,
  .field textarea:disabled,
  .btn[disabled],
  .btn-wa[disabled],
  .btn-ghost[disabled],
  .btn[aria-disabled="true"],
  .btn-wa[aria-disabled="true"],
  .btn-ghost[aria-disabled="true"] {
    color: GrayText;
    background: Canvas;
    border-color: GrayText;
    opacity: 1;
  }

  .field__error,
  .table-scroll-hint {
    color: CanvasText;
  }

  .form__status,
  .form__status.is-pending,
  .form__status.is-ok,
  .form__status.is-err {
    color: CanvasText;
    background: Canvas;
    border-color: CanvasText;
  }
}

@media print {
  .insights-nav,
  .insight-feature__flag,
  .article-meta {
    position: static;
    box-shadow: none;
  }
}

