/* ==========================================================================
   T.LUG theme — WordPress-ready static source
   Tokens match Figma file TLUG (TvBzGkAvf1j7IAzmA2MeAT)
   Drop this folder into wp-content/themes/tlug/assets/css/
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500&display=swap");

:root {
  --brand: #d2232a;
  --brand-ink: #8f161c;
  --brand-on-dark: #ff6b72;
  --void: #080808;
  --void-mid: #111111;
  --void-deep: #050505;
  --ink: #1e1e1e;
  --body: #3d3d3d;
  --muted: #4a4a4a;
  --surface: #f7f7f7;
  --surface-2: #ececec;
  --white: #ffffff;
  --line: #d9d9d9;
  --footer: #141414;
  --footer-line: #2c2c2c;
  --footer-ink: #d0d0d0;
  --on-dark: #f3f3f3;
  --hero-void: #111111;
  --hero-copy: #f2f2f2;
  --brand-soft: #fff5f5;
  --hero-overlay: linear-gradient(90deg, rgba(14, 14, 14, 0.82) 0%, rgba(14, 14, 14, 0.45) 58%, rgba(14, 14, 14, 0.2) 100%);
  --ghost-fill: rgba(255, 255, 255, 0.1);
  --radius: 4px;
  --radius-tile: 2px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --wrap: 1180px;
  --util-h: 38px;
  --header-h: 68px;
  --header-stack: calc(var(--util-h) + var(--header-h));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-dropdown: 20;
  --z-sticky: 30;
  --z-overlay: 40;
  --z-modal: 50;
  --z-toast: 60;
  --font: "Google Sans", system-ui, -apple-system, sans-serif;
  --font-heading: "Kanit", "Google Sans", system-ui, sans-serif;
}


@font-face {
  font-family: "Kanit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/kanit-400-thai.woff2") format("woff2");
  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Kanit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/kanit-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Kanit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/kanit-500-thai.woff2") format("woff2");
  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Kanit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/kanit-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Kanit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/kanit-600-thai.woff2") format("woff2");
  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Kanit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/kanit-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html {
  scroll-behavior: smooth;
}

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body);
  background: var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1, h2, h3, p {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  z-index: var(--z-toast);
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

/* Type */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3 {
  font-family: var(--font-heading);
}

.h1 {
  font-size: clamp(1.75rem, 2.4vw + 1rem, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
}

.h2 {
  font-size: clamp(1.5rem, 1.2vw + 1rem, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}

.h3 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 8px;
}

.lede {
  font-size: 1.05rem;
  color: var(--body);
  max-width: 68ch;
  margin: 0;
}

.caption {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.4;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.btn:focus-visible,
.nav-link:focus-visible,
.nav-toggle:focus-visible,
.search-field:focus-visible,
.search-submit:focus-visible,
.tile:focus-visible,
.lang a:focus-visible,
.inline-link:focus-visible,
.series-card:focus-visible,
.skip-link:focus-visible,
.crumb a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-ink);
}

.btn-secondary {
  background: var(--white);
  color: var(--brand);
  border-color: var(--brand);
}

.btn-secondary:hover {
  background: var(--brand-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-ghost:hover {
  background: var(--ghost-fill);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 500;
}

.inline-link::after {
  content: "→";
}

/* Header */
.utility-bar {
  background: var(--brand);
  color: var(--white);
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  min-height: var(--util-h);
}

.utility-bar a {
  display: inline-flex;
  align-items: center;
  min-height: var(--util-h);
  padding: 0 2px;
}

.utility-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: var(--util-h);
}

.utility-bar a {
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.site-header .nav-primary,
.site-header .nav-link,
.site-header .nav-primary li a,
.site-header .nav-toggle {
  font-family: var(--font-heading);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
  padding-block: 8px;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: 4px;
}

.logo img {
  width: auto;
  height: 53px;
  object-fit: contain;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.nav-primary ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-primary li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  color: var(--ink);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  color: var(--ink);
  font-weight: 400;
}

@media (min-width: 901px) {
  .site-header .nav-link {
    font-size: 1rem;
  }
}

.nav-link.is-active::after,
.nav-link:hover::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 2px;
  background: var(--brand);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 12px;
}

.search {
  position: relative;
}

.search-field {
  width: min(240px, 28vw);
  min-height: 44px;
  padding: 8px 40px 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.search-field::placeholder {
  color: var(--muted);
}

.search-submit {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.lang {
  display: flex;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--muted);
}

.lang .is-active {
  color: var(--ink);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 20px;
  height: 20px;
}

.nav-toggle-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle-icon span {
    transition: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--hero-void) center / cover no-repeat;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 0 72px;
  max-width: 720px;
}

.badge {
  display: inline-block;
  background: var(--brand);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  margin-bottom: 18px;
}

.hero .h1,
.hero .lede {
  color: var(--white);
}

.hero .lede {
  color: var(--hero-copy);
  margin-bottom: 28px;
}

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

/* Trust plates */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 28px 0;
}

.plate {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 18px 16px;
}

.plate strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
}

.plate span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Sections */
.section {
  padding: var(--space-5) 0;
}

.section-surface {
  background: var(--surface);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: var(--space-3);
}

/* Category entries — not identical icon cards */
.cat-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.cat {
  display: grid;
  grid-template-rows: 220px auto;
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 100%;
}

.cat-media {
  overflow: hidden;
  background: var(--surface-2);
}

.cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-body {
  padding: var(--space-3);
}

.cat-kicker {
  color: var(--brand);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: var(--space-1);
}

/* Product tiles */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.tile {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-tile);
  min-height: 100%;
  transition: border-color 180ms var(--ease);
}

.tile:hover {
  border-color: var(--brand);
}

.tile-media {
  aspect-ratio: 1;
  background: var(--white);
  display: grid;
  place-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tile-body {
  padding: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex: 1;
}

.tile-code {
  color: var(--brand);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1;
}

.tile-en {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Dark CTA */
.cta-band {
  background: var(--ink);
  color: var(--white);
  padding: 56px 0;
}

.cta-band .h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  color: var(--surface-2);
  max-width: 60ch;
}

.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: var(--on-dark);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
}

.site-footer a {
  color: var(--on-dark);
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer h2 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 14px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.footer-bar {
  border-top: 1px solid var(--footer-line);
  padding: 14px 0;
  color: var(--footer-ink);
  font-size: 0.875rem;
}

/* Page hero (inner) */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 36px 0 28px;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.crumb a:hover {
  color: var(--brand);
}

/* Filters + listing */
.listing {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding: 40px 0 72px;
}

.filter-group {
  margin-bottom: 28px;
}

.filter-group h2 {
  font-size: 1rem;
  margin-bottom: 10px;
}

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

.filter-list button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
}

.filter-list button.is-active,
.filter-list button:hover {
  color: var(--brand);
}

.listing-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
}

.filter-panel > summary {
  display: none;
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  margin-bottom: 16px;
}

.filter-panel > summary::-webkit-details-marker {
  display: none;
}

.filter-panel > summary::after {
  content: "▾";
  margin-left: auto;
  padding-left: 12px;
  color: var(--muted);
  transition: transform 0.2s ease-out;
}

.filter-panel[open] > summary::after {
  transform: rotate(180deg);
}

/* Product detail */
.pdp {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  padding: 40px 0 24px;
}

.pdp-stage {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
}

.pdp-stage img {
  width: 100%;
  height: 420px;
  object-fit: contain;
}

.thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.thumbs button {
  width: 72px;
  height: 72px;
  padding: 6px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.thumbs button.is-active,
.thumbs button:hover {
  border-color: var(--brand);
}

.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.facts {
  margin: 20px 0 24px;
  padding: 0;
}

.facts li {
  margin-bottom: 8px;
}

.pdp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.spec {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 48px;
}

.spec th,
.spec td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
}

.spec th {
  width: 34%;
  background: var(--surface);
  color: var(--ink);
  font-weight: 500;
}

/* About */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-photo {
  min-height: 360px;
  background: var(--hero-void);
}

.about-photo img,
.bleed-photo img {
  width: 100%;
  min-height: inherit;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-photo img { min-height: 360px; }
.bleed-photo img { min-height: 420px; }

.bleed-photo {
  min-height: 420px;
  background: var(--hero-void);
  margin: 48px 0;
}

/* Certificates */
.cert-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.cert-mark {
  width: 160px;
  height: 160px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
}

/* Quote form */
.quote {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  padding: 40px 0 80px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  color: var(--ink);
  font-weight: 500;
}

.req {
  color: var(--brand);
  font-weight: 600;
}

.field-error {
  display: none;
  color: var(--brand);
  font-size: 0.875rem;
}

.field.is-invalid .field-error {
  display: block;
}

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select {
  border-color: var(--brand);
}

.field input,
.field textarea,
.field select {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}

.aside-card {
  background: var(--surface);
  padding: 24px;
  border: 1px solid var(--line);
}

.form-status {
  display: none;
  margin-top: 12px;
  color: var(--ink);
}

.form-status.is-visible {
  display: block;
}

/* Design system page */
.swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.swatch {
  width: 140px;
}

.swatch i {
  display: block;
  height: 72px;
  border: 1px solid var(--line);
}

.ds-stack {
  display: grid;
  gap: 20px;
}

/* Empty */
.empty {
  border: 1px dashed var(--line);
  padding: 32px;
  text-align: center;
}

/* Mobile */
@media (max-width: 900px) {
  .header-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px 16px;
    flex-wrap: unset;
    padding-block: 10px;
  }

  .logo {
    grid-column: 1;
    margin-right: 0;
  }

  .nav-toggle {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-primary {
    grid-column: 1 / -1;
    display: none;
    margin-left: 0;
  }

  .nav-primary.is-open .nav-menu {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .nav-primary.is-open .nav-menu .nav-link {
    display: flex;
  }

  .nav-primary.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: static;
    left: auto;
    right: auto;
    top: auto;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 0;
    padding: 8px 0 12px;
    gap: 2px;
    z-index: auto;
  }

  .header-tools {
    grid-column: 1 / -1;
    width: 100%;
    order: unset;
    margin-left: 0;
    padding-bottom: 10px;
  }

  .filter-panel > summary {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .page-products .filter-group--search {
    display: none;
  }

  .search {
    flex: 1;
  }
  .search-field {
    width: 100%;
  }
  .trust-row,
  .cat-split,
  .info-split,
  .info-facts li,
  .info-cta,
  .pdp,
  .about-split,
  .quote,
  .listing,
  .footer-grid,
  .cta-band .wrap,
  .cert-row {
    grid-template-columns: 1fr;
  }
  .cta-band .wrap,
  .header-row {
    flex-wrap: wrap;
  }
  .hero { min-height: 560px; }
  .pdp-stage img { height: 280px; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .utility-bar .hide-sm { display: none; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .page-home .home-skus .tile-grid { grid-template-columns: 1fr; }
}

/* Intro splash — landing gate */
body.is-intro {
  background: #050505;
  color: var(--white);
}

.intro {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.intro-slides {
  position: absolute;
  inset: 0;
  background: #050505;
}

.intro-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.06);
  animation: intro-slide-fade 25s infinite;
  will-change: opacity, transform;
}

.intro-slide:nth-child(1) { animation-delay: 0s; }
.intro-slide:nth-child(2) { animation-delay: 5s; }
.intro-slide:nth-child(3) { animation-delay: 10s; }
.intro-slide:nth-child(4) { animation-delay: 15s; }
.intro-slide:nth-child(5) { animation-delay: 20s; }

.intro-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 65% at 50% 42%, rgba(5, 5, 5, 0.08) 0%, rgba(5, 5, 5, 0.72) 68%, rgba(5, 5, 5, 0.92) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.35) 0%, rgba(5, 5, 5, 0.2) 45%, rgba(5, 5, 5, 0.82) 100%);
}

.intro-inner {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 48px));
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(40px, 6vw, 64px) clamp(28px, 5vw, 56px);
  background: rgba(5, 5, 5, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(var(--radius) + 4px);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  animation: intro-rise 820ms var(--ease) both;
}

.intro-logo {
  width: auto;
  height: clamp(72px, 10vw, 104px);
  margin-bottom: clamp(24px, 4vw, 36px);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.intro-eyebrow {
  margin: 0 0 8px;
  font-size: clamp(0.8125rem, 1.4vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.72);
}

.intro-hero {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 7vw + 0.25rem, 4.75rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.intro-sub-th {
  margin: 0 0 clamp(32px, 5vw, 44px);
  font-size: clamp(0.9375rem, 1.6vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
  max-width: 32ch;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.intro-cta {
  min-height: 56px;
  min-width: min(220px, 100%);
  padding-inline: 32px;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.intro-copy {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 22px;
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

@keyframes intro-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes intro-slide-fade {
  0% {
    opacity: 0;
    transform: scale(1.08);
  }
  4% {
    opacity: 1;
    transform: scale(1.04);
  }
  20% {
    opacity: 1;
    transform: scale(1);
  }
  24% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@media (max-width: 640px) {
  .intro-inner {
    width: calc(100% - 32px);
    padding: 32px 24px;
  }

  .intro-sub-th {
    max-width: none;
  }

  .intro-actions {
    flex-direction: column;
  }

  .intro-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-inner {
    animation: none;
  }

  .intro-slide {
    animation: none;
    opacity: 0;
    transform: none;
  }

  .intro-slide:first-child {
    opacity: 1;
  }
}

/* Story home — Figma 22:23 */
.story-photo {
  position: relative;
  min-height: min(62vh, 640px);
  background: #050505;
  overflow: hidden;
}

.story-photo img {
  width: 100%;
  height: min(62vh, 640px);
  object-fit: cover;
  object-position: 78% 40%;
  filter: saturate(0.92) contrast(1.05);
}

.story-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.story-dark {
  background: var(--void);
  color: var(--white);
  padding: 72px 0 80px;
}

.story-kicker {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.story-kicker-2 {
  margin-top: 64px;
}

.story-dark .h2 {
  color: var(--white);
  max-width: 18ch;
}

.story-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.story-meta {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.62);
  text-align: right;
}

.story-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 980px;
}

.story-copy p {
  margin: 0;
  color: var(--on-dark);
  max-width: 54ch;
  line-height: 1.7;
}

.story-lead {
  margin: 12px 0 0;
  max-width: 46ch;
  color: var(--on-dark);
  line-height: 1.7;
}

.story-dark .inline-link {
  color: var(--brand-on-dark);
}

.mag-hero-actions {
  margin-top: 28px;
}

.series-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.series-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 210px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-tile);
  overflow: hidden;
  transition: transform 220ms var(--ease);
}

.series-card:hover {
  transform: translateY(-2px);
}

.series-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.series-code {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.series-card .h3 {
  margin: 0;
}

.series-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.series-card .inline-link {
  margin-top: auto;
}

.series-media {
  background: var(--surface);
  display: grid;
  place-items: center;
  padding: 16px;
}

.series-media img {
  width: 100%;
  height: 100%;
  max-height: 210px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .story-head,
  .story-copy,
  .series-grid,
  .series-card,
  .volt-lane,
  .volt-lane.is-flip,
  .proof-rail-row {
    grid-template-columns: 1fr;
  }
  .story-meta { text-align: left; }
  .story-photo img { height: 42vh; }
  .intro-logo { height: 48px; }
  .volt-lane.is-flip .volt-copy { order: 0; }
  .volt-media { min-height: 240px; }
}

/* Home — contained information layout */
.page-home {
  background: var(--white);
  color: var(--ink);
}

/* Home hero — full-bleed factory photo, diagonal shade, copy on the left */
.home-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(560px, 80vh, 820px);
  overflow: hidden;
  background: var(--void-deep);
  color: var(--white);
}

.home-hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.home-hero-media .mag-parallax-layer {
  position: absolute;
  inset: -8% 0;
}

.home-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 42%;
}

.home-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    112deg,
    rgba(5, 5, 5, 0.94) 0%,
    rgba(5, 5, 5, 0.86) 30%,
    rgba(5, 5, 5, 0.5) 52%,
    rgba(5, 5, 5, 0.12) 72%,
    rgba(5, 5, 5, 0) 88%
  );
  pointer-events: none;
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  padding-block: var(--space-6);
}

.home-hero-copy {
  max-width: 34rem;
}

.home-hero-eyebrow {
  margin: 0 0 var(--space-2);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.76);
}

.home-hero-eyebrow [lang="th"] {
  letter-spacing: 0;
}

.home-hero-title {
  margin: 0 0 var(--space-3);
  font-family: var(--font-heading);
  font-size: clamp(2.125rem, 2.2vw + 1.25rem, 3.5rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--white);
}

.home-hero-title span {
  white-space: nowrap;
}

.home-hero-lede {
  margin: 0 0 var(--space-4);
  max-width: 42ch;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.home-hero-caption {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 1;
  margin: 0;
  padding: 6px 10px;
  background: rgba(5, 5, 5, 0.64);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8125rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .home-hero {
    min-height: auto;
    align-items: end;
  }

  .home-hero-media .mag-parallax-layer {
    transform: none !important;
  }

  .home-hero-media img {
    object-position: 72% 40%;
  }

  .home-hero-shade {
    background: linear-gradient(
      165deg,
      rgba(5, 5, 5, 0.2) 0%,
      rgba(5, 5, 5, 0.62) 34%,
      rgba(5, 5, 5, 0.9) 62%,
      rgba(5, 5, 5, 0.96) 100%
    );
  }

  .home-hero-grid {
    padding-block: 200px var(--space-5);
  }

  .home-hero-caption {
    top: 16px;
    bottom: auto;
    right: 16px;
  }
}

@media (max-width: 380px) {
  .home-hero-title span:first-child {
    white-space: normal;
  }
}

/* Proof rail — corporate credentials strip */
.home-proof {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.home-proof-row {
  padding: var(--space-3) 0;
}

.home-proof .plate {
  position: relative;
  border: 0;
  border-top: 3px solid var(--brand);
  background: var(--surface);
  padding: 20px 18px;
}

.home-proof .plate strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.home-proof .plate span {
  font-size: 0.875rem;
  line-height: 1.45;
}

/* Dark credentials ledger */
.home-ledger {
  background: var(--ink);
  color: var(--on-dark);
  padding: var(--space-5) 0;
}

.home-ledger-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 24px;
  align-items: end;
  margin-bottom: var(--space-3);
}

.home-ledger-head .h2,
.home-ledger-head .lede {
  color: var(--on-dark);
  margin: 0;
}

.home-ledger-head .lede {
  grid-column: 1;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.72);
}

.home-ledger-link {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--brand-on-dark);
}

.home-cred-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.home-cred-grid li {
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.home-cred-grid strong {
  display: block;
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.home-cred-grid span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.page-home .home-about {
  padding: var(--space-5) 0;
}

.page-home .home-volts {
  padding: var(--space-5) 0 var(--space-6);
}

.page-home .home-volts .cat {
  grid-template-rows: 300px auto;
  border: 0;
  box-shadow: 0 1px 0 var(--line), 0 8px 32px rgba(0, 0, 0, 0.06);
}

.page-home .home-volts .cat-body {
  padding: var(--space-3) var(--space-3) var(--space-4);
}

.page-home .home-volts .cat-kicker {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .home-skus {
  padding: var(--space-5) 0;
  background: var(--surface);
}

.page-home .home-skus .tile {
  border: 0;
  box-shadow: 0 1px 0 var(--line);
}

.page-home .home-skus .tile-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.page-home .home-skus .tile:nth-child(-n+2),
.page-home .home-skus .tile:nth-child(n+3) {
  grid-column: auto;
}

.page-home .home-skus .tile:nth-child(-n+2) .tile-media {
  aspect-ratio: 1;
}

.page-home .home-act {
  padding: var(--space-5) 0 var(--space-6);
  background: var(--surface);
}

.page-home .home-act .info-cta {
  background: var(--white);
  border: 1px solid var(--line);
  padding: var(--space-4);
}

.page-home .home-act .info-cta .h2 {
  color: var(--ink);
}

.page-home .home-act .info-cta p {
  color: var(--body);
}

.page-home .home-act .btn-ghost {
  color: var(--ink);
  border-color: var(--line);
}

.page-home .home-act .btn-ghost:hover {
  background: var(--surface);
}

.page-home .info-split {
  align-items: center;
  gap: var(--space-5);
}

.page-home .info-copy .h2 {
  font-size: clamp(1.625rem, 1.2vw + 1.25rem, 2rem);
  max-width: 22ch;
  line-height: 1.3;
}

.page-home .info-figure {
  overflow: hidden;
  min-height: 360px;
}

.page-home .info-figure img {
  object-position: 88% 42%;
  transform: scale(1.35);
  transform-origin: 90% 44%;
  min-height: 360px;
}

.page-home .page-hero {
  padding: 48px 0 40px;
}

.page-home .page-hero .hero-actions {
  margin-top: 24px;
}

.info-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-4);
  align-items: start;
}

.info-copy p {
  margin: 0 0 16px;
  max-width: 65ch;
  color: var(--body);
}

.info-copy p:last-child {
  margin-bottom: 0;
}

.info-figure {
  margin: 0;
  background: var(--void);
}

.info-figure img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: 88% 40%;
}

.info-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.info-facts li {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-facts strong {
  color: var(--ink);
  font-weight: 600;
}

.info-facts span,
.info-facts a {
  color: var(--body);
}

.info-facts a {
  color: var(--brand);
  font-weight: 500;
}

.info-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--ink);
  color: var(--white);
}

.info-cta .h2,
.info-cta p {
  color: var(--white);
}

.info-cta p {
  margin: 0;
  max-width: 48ch;
  color: var(--surface-2);
}

@media (max-width: 900px) {
  .info-split,
  .info-facts li {
    grid-template-columns: 1fr;
  }
  .info-cta {
    flex-wrap: wrap;
    padding: var(--space-3);
  }
  .home-ledger-head {
    grid-template-columns: 1fr;
  }
  .home-ledger-link {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
  .home-cred-grid {
    grid-template-columns: 1fr;
  }
  .page-home .home-volts .cat {
    grid-template-rows: 200px auto;
  }
  .page-home .home-skus .tile-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-home .home-skus .tile:nth-child(-n+2),
  .page-home .home-skus .tile:nth-child(n+3) {
    grid-column: auto;
  }
  .page-home .home-skus .tile:nth-child(-n+2) .tile-media {
    aspect-ratio: 1;
  }
  .page-home .info-figure img {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .page-home .home-skus .tile-grid {
    grid-template-columns: 1fr;
  }
}

/* About — magazine editorial layout */
.page-about {
  background: var(--white);
  color: var(--ink);
}

.page-about .inline-link {
  color: var(--brand);
}

.page-about .mag-chapter-ink .inline-link,
.page-about .mag-chapter-dark .inline-link,
.page-about .mag-end .inline-link {
  color: var(--brand-on-dark);
}

.mag-parallax-layer {
  width: 100%;
  height: 112%;
  will-change: transform;
}

.mag-parallax-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mag-hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.mag-hero-media {
  position: absolute;
  inset: 0;
  background: var(--void-deep);
}

.mag-hero-media .mag-parallax-layer img {
  object-position: 88% 44%;
  transform: scale(1.3);
  transform-origin: 88% 46%;
}

.mag-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 5, 5, 0.97) 0%, rgba(5, 5, 5, 0.9) 34%, rgba(5, 5, 5, 0.62) 58%, rgba(5, 5, 5, 0.22) 100%);
  pointer-events: none;
}

.mag-hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(36px, 5vh, 56px) 0 var(--space-5);
  max-width: 40rem;
}

.mag-crumb,
.mag-crumb a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
}

.mag-eyebrow {
  margin: 0 0 var(--space-2);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.mag-title {
  margin: 0 0 var(--space-2);
  font-family: var(--font-heading);
  font-size: clamp(2.125rem, 3vw + 1rem, 3.5rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--white);
  text-wrap: balance;
  max-width: 14ch;
}

.mag-lede {
  margin: 0;
  max-width: 48ch;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

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

.mag-hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
}

.mag-hero .btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.mag-shot-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.mag-shot-link:hover figcaption,
.mag-shot-link:focus-visible figcaption {
  color: var(--brand-on-dark);
}

.mag-inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
}

.mag-inline-cta p {
  margin: 0;
  max-width: 40ch;
  color: var(--body);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.mag-proof {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.mag-proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  padding: var(--space-4) 0;
}

.mag-stat {
  padding: 18px 20px;
  background: var(--surface);
  border-top: 3px solid var(--brand);
}

.mag-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.mag-stat span {
  font-size: 0.875rem;
  color: var(--body);
  line-height: 1.45;
}

.mag-chapter {
  padding: var(--space-6) 0;
}

.mag-chapter-light {
  background: var(--white);
}

.mag-chapter-ink {
  background: var(--ink);
  color: var(--on-dark);
}

.mag-chapter-dark {
  background: var(--void-deep);
  color: var(--on-dark);
}

.mag-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.mag-grid-process {
  margin-bottom: var(--space-4);
}

.mag-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.mag-num {
  position: sticky;
  top: calc(var(--util-h) + var(--header-h) + 20px);
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(3.25rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: rgba(210, 35, 42, 0.2);
  user-select: none;
}

.mag-num-light {
  color: rgba(210, 35, 42, 0.14);
}

.mag-chapter-ink .mag-num,
.mag-chapter-dark .mag-num {
  color: rgba(210, 35, 42, 0.32);
}

.mag-intro-copy .h2,
.mag-grid .h2 {
  max-width: 28ch;
  margin-bottom: var(--space-2);
}

.mag-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: var(--space-2);
}

.mag-cols p {
  margin: 0;
  max-width: 65ch;
  line-height: 1.7;
}

.mag-chapter-light .mag-cols p {
  color: var(--body);
}

.mag-chapter-ink .mag-cols p,
.mag-lede-dark {
  color: rgba(255, 255, 255, 0.76);
}

.mag-figure {
  margin: 0;
  overflow: hidden;
  min-height: 400px;
  background: var(--surface);
}

.mag-figure-factory .mag-parallax-layer img {
  object-position: 92% 48%;
  transform: scale(1.42);
  transform-origin: 92% 48%;
}

.mag-bleed {
  position: relative;
  min-height: 58vh;
  overflow: hidden;
  background: var(--void-deep);
}

.mag-bleed-frame {
  position: absolute;
  inset: -10% 0;
}

.mag-bleed-frame .mag-parallax-layer img {
  object-position: 76% center;
  transform: scale(1.18);
  transform-origin: 76% center;
}

.mag-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.06) 0%, rgba(5, 5, 5, 0.62) 100%);
  pointer-events: none;
}

.mag-caption {
  position: absolute;
  left: max(24px, calc((100% - var(--wrap)) / 2));
  bottom: 28px;
  z-index: 1;
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
}

.mag-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.mag-shot {
  margin: 0;
}

.mag-shot-offset {
  margin-top: 56px;
}

.mag-shot-media {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 3 / 4;
}

.mag-shot-media .mag-parallax-layer {
  height: 100%;
}

.mag-shot-media img {
  object-fit: contain;
  object-position: center;
  padding: 16px;
  transform: none;
}

.mag-shot figcaption {
  margin-top: 12px;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.62);
}

.mag-more {
  margin: var(--space-4) auto 0;
}

.mag-on-dark {
  color: var(--white);
}

.mag-process-lede {
  margin: 0;
  max-width: 52ch;
  color: var(--body);
}

.mag-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.mag-steps li {
  padding: var(--space-4) var(--space-3);
  background: var(--surface);
  border-top: 3px solid var(--brand);
}

.mag-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 14px;
  border: 1px solid var(--brand);
  color: var(--brand);
  font-family: var(--font-heading);
  font-weight: 500;
}

.mag-steps .h3 {
  margin-bottom: 8px;
}

.mag-steps p {
  margin: 0;
  color: var(--body);
  line-height: 1.65;
}

.mag-ledger-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 28px;
  align-items: end;
  margin-bottom: var(--space-4);
}

.mag-ledger-head .mag-num {
  position: static;
}

.mag-ledger-link {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.mag-cred-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.mag-cred-grid li {
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mag-cred-grid strong {
  display: block;
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.mag-cred-grid span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.mag-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: start;
}

.mag-cols-light p {
  color: var(--body);
}

.mag-address {
  font-style: normal;
  color: var(--body);
  line-height: 1.7;
}

.mag-address strong {
  display: block;
  color: var(--ink);
  margin-bottom: 8px;
}

.mag-address a {
  color: var(--brand);
  font-weight: 500;
}

.mag-end {
  background: var(--ink);
  color: var(--on-dark);
  padding: var(--space-5) 0 var(--space-6);
}

.mag-end .h2,
.mag-end p {
  color: var(--on-dark);
  margin: 0;
}

.mag-end p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.mag-end-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
}

.mag-end .btn-primary {
  background: var(--brand);
  color: var(--white);
}

.mag-end .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.mag-end .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .mag-hero {
    min-height: 72vh;
  }

  .mag-proof-row,
  .mag-intro,
  .mag-grid,
  .mag-cols,
  .mag-trio,
  .mag-steps,
  .mag-cred-grid,
  .mag-contact,
  .mag-ledger-head {
    grid-template-columns: 1fr;
  }

  .mag-num {
    position: static;
    font-size: 3rem;
    margin-bottom: 8px;
  }

  .mag-shot-offset {
    margin-top: 0;
  }

  .mag-title {
    max-width: none;
  }

  .mag-bleed {
    min-height: 44vh;
  }

  .mag-figure {
    min-height: 280px;
  }

  .mag-ledger-link {
    grid-column: 1;
    grid-row: auto;
  }

  .mag-end-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* About — industrial editorial (.about-editorial) */
.about-editorial {
  --ed-gap: clamp(16px, 2vw, 24px);
  --ed-accent-faint: rgba(210, 35, 42, 0.24);
  --ed-accent-dim: rgba(210, 35, 42, 0.42);
  --ed-rule-dark: rgba(255, 255, 255, 0.14);
}

/* Opening spread */
.about-editorial .mag-hero-media .mag-parallax-layer img {
  object-position: 72% 40%;
  transform: none;
}

.about-editorial .ed-spread-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--ed-gap);
  padding: clamp(36px, 5vh, 56px) 0 var(--space-5);
  align-items: end;
}

.about-editorial .ed-spread-copy {
  grid-column: 1 / span 8;
}

.about-editorial .ed-spread-title {
  margin: 0 0 var(--space-2);
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 2.4vw + 1rem, 3.5rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--white);
  text-wrap: balance;
}

.about-editorial .mag-eyebrow [lang="th"] {
  letter-spacing: 0;
}

/* Chapter heads */
.about-editorial .ed-chapter-head {
  display: flex;
  align-items: baseline;
  gap: 16px 24px;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--line);
}

.about-editorial .ed-chapter-head--dark {
  border-bottom-color: var(--ed-rule-dark);
}

.about-editorial .ed-chapter-num {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ed-accent-faint);
}

.about-editorial .ed-chapter-head--dark .ed-chapter-num {
  color: var(--ed-accent-dim);
}

.about-editorial .ed-chapter-label {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--body);
}

.about-editorial .ed-chapter-head--dark .ed-chapter-label {
  color: rgba(255, 255, 255, 0.72);
}

/* Grid */
.about-editorial .ed-grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.about-editorial .ed-span-5 { grid-column: span 5; }
.about-editorial .ed-span-6 { grid-column: span 6; }
.about-editorial .ed-span-7 { grid-column: span 7; }

.about-editorial .ed-copy .h2 {
  max-width: 22ch;
  margin-bottom: var(--space-2);
}

.about-editorial .ed-copy p {
  margin: 0 0 1.25rem;
  max-width: 52ch;
  line-height: 1.7;
  color: var(--body);
  text-wrap: pretty;
}

.about-editorial .ed-copy p:last-child {
  margin-bottom: 0;
}

/* Image frames: fixed ratio, image always fills */
.about-editorial .ed-figure,
.about-editorial .ed-range,
.about-editorial .ed-process-fig {
  margin: 0;
}

.about-editorial .ed-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--surface-2);
}

.about-editorial .ed-frame > img,
.about-editorial .ed-frame .mag-parallax-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-editorial .ed-frame .mag-parallax-layer {
  inset: -7% 0;
  height: auto;
}

.about-editorial .ed-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-editorial .ed-frame--range {
  background: var(--void-deep);
}

.about-editorial .ed-figcaption {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--body);
}

.about-editorial .mag-chapter-ink .ed-figcaption {
  color: rgba(255, 255, 255, 0.68);
}

.about-editorial .ed-stats {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

/* Full-bleed */
.about-editorial .ed-bleed {
  min-height: clamp(360px, 46vw, 640px);
}

.about-editorial .ed-bleed .mag-bleed-frame .mag-parallax-layer img {
  object-position: 50% 55%;
  transform: none;
}

/* Chapter 02 — materials */
.about-editorial .ed-mat-intro {
  align-items: center;
}

.about-editorial .ed-mat-intro .h2 {
  max-width: 22ch;
  margin-bottom: var(--space-2);
}

.about-editorial .ed-mat-intro p {
  margin: 0 0 1rem;
  max-width: 48ch;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.76);
}

.about-editorial .ed-product-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--ed-gap);
  margin-top: var(--space-6);
  align-items: end;
}

.about-editorial .ed-product--lg { grid-column: 1 / span 4; }
.about-editorial .ed-product--md { grid-column: 6 / span 3; margin-bottom: 48px; }
.about-editorial .ed-product--sm { grid-column: 10 / span 3; }

.about-editorial .ed-product .mag-shot-media {
  aspect-ratio: 3 / 2;
  border: 0;
  background: var(--void-mid);
}

.about-editorial .ed-product .mag-shot-media img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  display: block;
}

.about-editorial .ed-product figcaption {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Chapter 03 — process */
.about-editorial .ed-process-intro {
  max-width: 40rem;
  margin-bottom: var(--space-5);
}

.about-editorial .ed-process-intro .h2 {
  max-width: 24ch;
  margin-bottom: var(--space-2);
}

.about-editorial .ed-process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 72px);
}

.about-editorial .ed-process-step {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-bottom: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}

.about-editorial .ed-process-step:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.about-editorial .ed-process-step--flip {
  grid-template-columns: 7fr 5fr;
}

.about-editorial .ed-process-step--flip .ed-process-body {
  order: 2;
}

.about-editorial .ed-process-num {
  display: block;
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand);
}

.about-editorial .ed-process-body .h3 {
  margin: 0 0 8px;
  max-width: 24ch;
}

.about-editorial .ed-process-body p {
  margin: 0;
  max-width: 40ch;
  line-height: 1.65;
  color: var(--body);
}

/* Chapter 04 — standards ledger */
.about-editorial .ed-ledger-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 28px;
  align-items: end;
  margin-bottom: var(--space-4);
}

.about-editorial .ed-ledger-link {
  align-self: center;
}

.about-editorial .ed-ledger {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-editorial .ed-ledger li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 16px 24px;
  align-items: start;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--ed-rule-dark);
}

.about-editorial .ed-ledger li:last-child {
  border-bottom: 1px solid var(--ed-rule-dark);
}

.about-editorial .ed-ledger-mark {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--brand-on-dark);
  padding-top: 2px;
}

.about-editorial .ed-ledger-item strong {
  display: block;
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.about-editorial .ed-ledger-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 52ch;
}

/* Closing */
.about-editorial .ed-contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.about-editorial .ed-contact-copy .h2 {
  max-width: 24ch;
  margin-bottom: var(--space-2);
}

.about-editorial .ed-contact-copy p {
  margin: 0;
  max-width: 52ch;
  line-height: 1.7;
  color: var(--body);
}

/* Touch targets for text links */
.about-editorial .mag-more .inline-link,
.about-editorial .ed-ledger-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.about-editorial .mag-address a {
  display: inline-block;
  padding-block: 10px;
}

/* Image reveal: clip + scale on the img only; parallax owns the layer transform */
.has-motion .about-editorial [data-image-reveal] img {
  clip-path: inset(8% 0 8% 0);
  transform: scale(1.05);
  transition: clip-path 620ms var(--ease), transform 620ms var(--ease);
}

.has-motion .about-editorial [data-image-reveal].is-in img {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}

.has-motion .about-editorial .will-reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
}

.has-motion .about-editorial .will-reveal.is-in {
  animation: ed-reveal 560ms var(--ease) forwards;
}

@keyframes ed-reveal {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .about-editorial .ed-spread-copy {
    grid-column: 1 / -1;
    max-width: 40rem;
  }

  .about-editorial .ed-span-5,
  .about-editorial .ed-span-6,
  .about-editorial .ed-span-7 {
    grid-column: 1 / -1;
  }

  .about-editorial .ed-product--lg,
  .about-editorial .ed-product--md,
  .about-editorial .ed-product--sm {
    grid-column: span 4;
    margin-bottom: 0;
  }

  .about-editorial .ed-product-grid {
    margin-top: var(--space-5);
  }

  .about-editorial .ed-process-step,
  .about-editorial .ed-process-step--flip {
    grid-template-columns: 1fr 1fr;
  }

  .about-editorial .ed-contact,
  .about-editorial .ed-ledger-head {
    grid-template-columns: 1fr;
  }

  .about-editorial .ed-ledger-link {
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .about-editorial .mag-hero {
    min-height: auto;
    padding-bottom: var(--space-4);
  }

  .about-editorial [data-parallax] {
    transform: none !important;
  }

  .about-editorial .mag-proof-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .about-editorial .ed-product--lg,
  .about-editorial .ed-product--md,
  .about-editorial .ed-product--sm {
    grid-column: span 6;
  }

  .about-editorial .ed-product--lg {
    grid-column: 1 / -1;
  }

  .about-editorial .ed-process-step,
  .about-editorial .ed-process-step--flip {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-editorial .ed-process-step--flip .ed-process-body {
    order: 0;
  }

  .about-editorial .ed-process-num {
    font-size: 2.5rem;
    margin-bottom: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-motion .about-editorial [data-image-reveal] img {
    clip-path: none;
    transform: none;
    transition: none;
  }

  .has-motion .about-editorial .will-reveal.is-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
}



.has-motion [data-parallax] {
  will-change: transform;
}

.has-motion .will-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}

.has-motion .will-reveal.is-in {
  animation: mag-rise 820ms var(--ease) forwards;
}

.has-motion .page-about .will-reveal.is-in {
  animation: mag-rise-about 920ms var(--ease) forwards;
}

.has-motion .will-reveal[data-delay="1"].is-in { animation-delay: 90ms; }
.has-motion .will-reveal[data-delay="2"].is-in { animation-delay: 180ms; }
.has-motion .will-reveal[data-delay="3"].is-in { animation-delay: 270ms; }

@keyframes mag-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes mag-rise-about {
  from {
    opacity: 0;
    transform: translate3d(0, 44px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-motion [data-parallax] {
    will-change: auto;
    transform: none !important;
  }
  .has-motion .will-reveal.is-in {
    animation: none;
  }
}

/* ==========================================================================
   Products catalog (page-products v3)
   ========================================================================== */

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
  min-height: 40px;
}

.page-products .catalog-hero {
  background: var(--void);
  color: var(--on-dark);
  padding: 44px 0 36px;
}

.page-products .catalog-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
}

.page-products .catalog-hero .crumb {
  color: rgba(255, 255, 255, 0.55);
}

.page-products .catalog-hero .crumb a {
  color: rgba(255, 255, 255, 0.72);
}

.page-products .catalog-hero .crumb a:hover {
  color: var(--brand-on-dark);
}

.page-products .catalog-hero .h1,
.page-products .catalog-hero .lede {
  color: var(--on-dark);
}

.page-products .catalog-hero .lede {
  color: rgba(255, 255, 255, 0.62);
  margin-top: 8px;
}

.page-products .catalog-volts {
  display: flex;
  gap: 12px;
}

.page-products .catalog-volt {
  display: grid;
  gap: 2px;
  min-width: 108px;
  padding: 16px 20px;
  background: var(--void-mid);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--on-dark);
  text-align: center;
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}

.page-products .catalog-volt strong {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
  color: var(--brand-on-dark);
}

.page-products .catalog-volt span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.page-products .catalog-volt:hover,
.page-products .catalog-volt.is-active {
  border-color: var(--brand-on-dark);
  background: rgba(210, 35, 42, 0.12);
}

.page-products .listing {
  grid-template-columns: minmax(220px, 260px) 1fr;
  gap: 40px;
  padding-top: 36px;
}

.page-products .filter-rail {
  position: relative;
}

.page-products .filter-rail-inner {
  position: sticky;
  top: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.page-products .filter-rail .filter-panel > summary {
  margin-bottom: 0;
}

.page-products .filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .filter-pills button {
  width: auto;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 40px;
  font-size: 0.875rem;
  background: var(--white);
  transition: border-color 180ms var(--ease), color 180ms var(--ease), background 180ms var(--ease);
}

.page-products .filter-pills button.is-active {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.page-products .filter-pills button:hover:not(.is-active) {
  border-color: var(--muted);
  color: var(--ink);
}

.page-products .filter-rail-note {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.page-products .catalog-main {
  min-width: 0;
}

.page-products .catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.page-products .catalog-toolbar-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.page-products .tile-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.page-products .tile {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.page-products .tile:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.page-products .tile-media {
  aspect-ratio: 1;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 24px;
  position: relative;
}

.page-products .tile-media img {
  filter: none;
}

.page-products .tile-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 1;
}

.page-products .tile-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.page-products .tile-badge--volt {
  color: var(--brand);
}

.page-products .tile-body {
  padding: 16px;
}

.page-products .tile-code {
  font-size: 1.5rem;
}

.page-products .catalog-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0 4px;
  color: var(--muted);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9375rem;
}

.page-products .catalog-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.page-products .catalog-empty {
  margin-top: 24px;
  border-radius: var(--radius);
  background: var(--surface);
}

.page-products .catalog-end {
  background: var(--ink);
  color: var(--on-dark);
  padding: 56px 0;
}

.page-products .catalog-end-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.page-products .catalog-end .h2,
.page-products .catalog-end p {
  color: var(--on-dark);
}

.page-products .catalog-end p {
  color: var(--surface-2);
  margin-top: 8px;
  max-width: 48ch;
}

@media (max-width: 900px) {
  .page-products .catalog-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-products .catalog-volts {
    width: 100%;
  }

  .page-products .catalog-volt {
    flex: 1;
  }

  .page-products .listing {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-products .filter-rail-inner {
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .page-products .filter-rail .filter-panel > summary {
    display: flex;
  }

  .page-products .filter-rail-note {
    display: none;
  }

  .page-products .catalog-toolbar {
    flex-wrap: wrap;
  }

  .page-products .catalog-end-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page-products .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .page-products .tile-media {
    padding: 16px;
  }

  .page-products .tile-body {
    padding: 12px;
  }

  .page-products .tile-code {
    font-size: 1.25rem;
  }

  .page-products .tile-en {
    display: none;
  }
}

/* UX audit v4 — forms, specs, mobile catalog/PDP */
.page-hero--compact {
  padding-block: clamp(20px, 3vw, 36px);
}

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select {
  border-color: var(--brand);
}

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select {
  outline: 2px solid rgba(210, 35, 42, 0.35);
  outline-offset: 1px;
}

.form-status[data-status="success"] {
  color: #1f6b45;
}

.form-status[data-status="invalid"],
.form-status[data-status="server"],
.form-status[data-status="network"],
.form-status[data-status="not_configured"] {
  color: var(--brand);
}

.form-fallback {
  margin-top: 12px;
}

.inline-link-btn {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--brand);
  text-decoration: underline;
  cursor: pointer;
}

.spec-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 12px 0 20px;
  border: 1px solid var(--line);
}

.spec-table {
  min-width: 720px;
  margin: 0;
}

.spec-table th,
.spec-table td {
  white-space: nowrap;
  font-size: 0.875rem;
}

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

.pdp-info {
  order: 1;
}

.pdp-media {
  order: 2;
}

.field.is-optional .req {
  display: none;
}

@media (max-width: 900px) {
  .pdp {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 20px;
  }

  .pdp-info {
    order: 1;
  }

  .pdp-media {
    order: 2;
  }

  .pdp-stage {
    padding: 16px;
  }

  .pdp-stage img {
    height: 240px;
  }

  .page-products .catalog-hero {
    padding-block: 16px 12px;
  }

  .page-products .catalog-hero .h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 6px;
  }

  .page-products .catalog-hero .lede {
    margin-bottom: 0;
  }

  .page-products .catalog-volts {
    gap: 8px;
  }

  .page-products .catalog-volt {
    padding: 10px 12px;
  }

  .page-products .catalog-toolbar .btn {
    display: none;
  }

  .page-products .catalog-end {
    display: none;
  }

  .intro-actions {
    flex-direction: column;
    width: 100%;
  }

  .intro-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-slide {
    animation: none !important;
    opacity: 0;
  }

  .intro-slide:first-child {
    opacity: 1;
    transform: none;
  }

  .intro-inner {
    animation: none !important;
  }
}
