/* Fonts are loaded via <link> in each page head so they fetch in
   parallel with this stylesheet rather than after it. */

/* ==========================================================================
   SENG HIAP ALLOYS SDN BHD — Design System
   Pattern: Trust & Authority + Conversion  |  Style: Swiss / Minimalist
   Palette derived from company logo. See design-system/seng-hiap-alloys/MASTER.md
   ========================================================================== */

/* --- 1. TOKENS ----------------------------------------------------------- */
:root {
  /* Brand */
  --brand-red:       #D6182B;
  --brand-red-deep:  #A81020;
  --brand-red-soft:  #FF6B6B;   /* red for text on dark surfaces only */
  --brand-gold:      #F5B335;
  --brand-gold-lt:   #FFD24A;

  /* Neutrals */
  --ink:        #14171A;
  --ink-2:      #1E2328;
  --ink-3:      #2A3037;
  --body:       #4A5157;
  --muted-dark: #A8AEB5;
  --line:       #E3E6E9;
  --line-dark:  #333A41;
  --paper:      #FFFFFF;
  --paper-2:    #F7F8F9;

  /* Semantic */
  --color-bg:       var(--paper);
  --color-fg:       var(--ink);
  --color-accent:   var(--brand-red);
  --color-on-accent:#FFFFFF;
  --color-ring:     var(--brand-red);

  /* Type */
  --font-head: 'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-display: clamp(2.5rem, 1.4rem + 4.6vw, 5rem);
  --fs-h1:      clamp(2rem, 1.3rem + 2.9vw, 3.5rem);
  --fs-h2:      clamp(1.65rem, 1.2rem + 1.9vw, 2.75rem);
  --fs-h3:      clamp(1.25rem, 1.08rem + 0.7vw, 1.6rem);
  --fs-lead:    clamp(1.05rem, 0.98rem + 0.35vw, 1.3rem);
  --fs-body:    1rem;
  --fs-sm:      0.9375rem;
  --fs-xs:      0.8125rem;

  /* Space — density 4/10 (standard) */
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.5rem;   --space-6: 2rem;
  --space-7: 3rem;     --space-8: 4rem;     --space-9: 6rem;
  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);

  /* Shape & depth */
  --radius:    4px;
  --radius-lg: 8px;
  --shadow-1: 0 1px 2px rgba(20,23,26,.06), 0 2px 8px rgba(20,23,26,.05);
  --shadow-2: 0 4px 12px rgba(20,23,26,.09), 0 12px 32px rgba(20,23,26,.08);

  /* Motion */
  --ease: cubic-bezier(.2,.6,.2,1);
  --t-fast: 160ms; --t-base: 240ms; --t-slow: 380ms;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1.25rem, 0.6rem + 2.6vw, 3rem);
  --header-h: 76px;

  /* Z-scale */
  --z-base:0; --z-raised:10; --z-sticky:40; --z-drawer:90; --z-modal:100;
}

/* --- 2. RESET ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--body);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
body.is-locked { overflow: hidden; }

h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }
img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25rem; }
li { margin-bottom: var(--space-2); }

a { color: var(--brand-red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-red-deep); }

/* Accessible focus — never removed */
:focus-visible {
  outline: 3px solid var(--color-ring);
  outline-offset: 2px;
  border-radius: 2px;
}
.on-dark :focus-visible, .site-footer :focus-visible, .site-header :focus-visible {
  outline-color: var(--brand-gold);
}

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.skip-link {
  position: absolute; left: var(--space-4); top: -100px;
  z-index: var(--z-modal);
  background: var(--brand-red); color: #fff;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius); font-weight: 600; text-decoration: none;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: var(--space-4); color: #fff; }

.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;
}

/* --- 3. LAYOUT PRIMITIVES ------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.section--paper2 { background: var(--paper-2); }

.section-head { max-width: 62ch; margin-bottom: var(--space-7); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-3);
  font-family: var(--font-head);
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-red); margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: ""; inline-size: 28px; block-size: 2px;
  background: var(--brand-red); flex: none;
}
/* Brand red only reaches 3.45:1 on charcoal — always switch to gold on dark surfaces */
.on-dark .eyebrow, .hero .eyebrow { color: var(--brand-gold); }
.on-dark .eyebrow::before, .hero .eyebrow::before { background: var(--brand-gold); }
.section-head--center .eyebrow { justify-content: center; }

.lead { font-size: var(--fs-lead); line-height: 1.6; max-width: 65ch; }
.on-dark { color: var(--muted-dark); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark a { color: var(--brand-gold); }
.on-dark a:hover { color: var(--brand-gold-lt); }

/* --- 4. BUTTONS ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-3);
  min-height: 48px;                    /* touch target */
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: .01em;
  border: 2px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              transform var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { inline-size: 18px; block-size: 18px; flex: none; }

.btn--primary { background: var(--brand-red); color: #fff; border-color: var(--brand-red); }
.btn--primary:hover { background: var(--brand-red-deep); border-color: var(--brand-red-deep); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--paper-2); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--gold { background: var(--brand-gold); color: var(--ink); border-color: var(--brand-gold); }
.btn--gold:hover { background: var(--brand-gold-lt); border-color: var(--brand-gold-lt); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm);
  text-decoration: none; min-height: 44px;
}
.link-arrow svg { transition: transform var(--t-base) var(--ease); inline-size: 16px; block-size: 16px; }
.link-arrow:hover svg { transform: translateX(4px); }

/* --- 5. HEADER / NAV ----------------------------------------------------- */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0;
  z-index: var(--z-sticky);
  block-size: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.site-header::before {          /* gradient scrim so white nav stays legible over hero */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(20,23,26,.75), rgba(20,23,26,0));
  transition: opacity var(--t-base) var(--ease);
}
.site-header.is-solid { background: var(--paper); border-bottom-color: var(--line); box-shadow: var(--shadow-1); }
.site-header.is-solid::before { opacity: 0; }

.header-inner { display: flex; align-items: center; gap: var(--space-5); width: 100%; }

.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; flex: none; min-height: 44px; }
.brand img { inline-size: 44px; block-size: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem;
  letter-spacing: -.01em; color: #fff; transition: color var(--t-base) var(--ease);
}
.brand-tag {
  font-size: 0.6875rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-dark); transition: color var(--t-base) var(--ease);
}
.is-solid .brand-name { color: var(--ink); }
.is-solid .brand-tag { color: var(--body); }

.nav { margin-inline-start: auto; }
.nav-list { display: flex; align-items: center; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-link {
  position: relative; display: flex; align-items: center;
  min-height: 44px; padding: 0 var(--space-4);
  font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 500;
  color: rgba(255,255,255,.92); text-decoration: none;
  transition: color var(--t-base) var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; inset-block-end: 14px; inset-inline: var(--space-4);
  block-size: 2px; background: var(--brand-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
@media (min-width: 1024px) { .nav-link { white-space: nowrap; } .nav-list { gap: 0; } }
.is-solid .nav-link { color: var(--ink); }
.is-solid .nav-link::after { background: var(--brand-red); }
.nav-link[aria-current="page"] { font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: var(--space-3); flex: none; }

/* Language switcher */
.lang { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 44px; padding: 0 var(--space-3);
  background: transparent; border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius); color: #fff;
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600;
  transition: border-color var(--t-base) var(--ease), color var(--t-base) var(--ease),
              background-color var(--t-base) var(--ease);
}
.lang-toggle:hover { background: rgba(255,255,255,.12); }
.is-solid .lang-toggle { border-color: var(--line); color: var(--ink); }
.is-solid .lang-toggle:hover { background: var(--paper-2); border-color: var(--ink); }
.lang-toggle svg { inline-size: 14px; block-size: 14px; transition: transform var(--t-base) var(--ease); }
.lang-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.lang-menu {
  position: absolute; inset-block-start: calc(100% + 8px); inset-inline-end: 0;
  min-inline-size: 168px; padding: var(--space-2);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-2);
  list-style: none; margin: 0; z-index: var(--z-raised);
}
.lang-menu[hidden] { display: none !important; }
.lang-menu li { margin: 0; }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  inline-size: 100%; min-height: 44px; padding: 0 var(--space-3);
  background: transparent; border: 0; border-radius: var(--radius);
  font-size: var(--fs-sm); text-align: start; color: var(--ink);
  transition: background-color var(--t-fast) var(--ease);
}
.lang-menu button:hover { background: var(--paper-2); }
.lang-menu button[aria-current="true"] { font-weight: 600; color: var(--brand-red); }
.lang-menu .tick { inline-size: 16px; block-size: 16px; opacity: 0; flex: none; }
.lang-menu button[aria-current="true"] .tick { opacity: 1; }

.header-cta { display: none; }

/* Hamburger */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  inline-size: 48px; block-size: 48px;
  background: transparent; border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius); color: #fff;
}
.is-solid .nav-toggle { border-color: var(--line); color: var(--ink); }
.nav-toggle svg { inline-size: 22px; block-size: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

/* Mobile drawer */
@media (max-width: 1023px) {
  .nav {
    position: fixed; inset-block-start: var(--header-h); inset-inline: 0;
    block-size: calc(100dvh - var(--header-h));
    background: var(--ink); z-index: var(--z-drawer);
    padding: var(--space-6) var(--gutter) var(--space-8);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--t-slow) var(--ease), visibility var(--t-slow);
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line-dark); }
  .nav-link {
    min-height: 60px; padding-inline: 0;
    font-size: 1.25rem; font-weight: 500; color: #fff;
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--brand-gold); }
  .nav .btn { margin-top: var(--space-6); width: 100%; }
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
  .nav .btn--drawer { display: none; }
}

/* --- 6. HERO ------------------------------------------------------------- */
.hero {
  position: relative;
  min-block-size: min(92dvh, 860px);
  display: flex; align-items: flex-end;
  padding-block: calc(var(--header-h) + var(--space-8)) var(--space-9);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero--inner { min-block-size: min(58dvh, 520px); align-items: center; }

/* Molten-metal glow + logo meridian grid: brand-derived, no photo dependency */
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(255,210,74,.34) 0%, rgba(245,179,53,.16) 26%, rgba(20,23,26,0) 62%),
    radial-gradient(90% 70% at 12% 100%, rgba(214,24,43,.30) 0%, rgba(214,24,43,0) 58%),
    linear-gradient(155deg, #1E2328 0%, #14171A 55%, #0E1113 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  opacity: .16; color: var(--brand-gold);
  -webkit-mask-image: radial-gradient(75% 75% at 70% 25%, #000 20%, transparent 78%);
          mask-image: radial-gradient(75% 75% at 70% 25%, #000 20%, transparent 78%);
}
.hero-content { position: relative; }
.hero-content h1 { max-width: 18ch; }
.hero-content .lead { max-width: 56ch; }
.hero h1 {
  font-size: var(--fs-display); font-weight: 300;
  color: #fff; letter-spacing: -.03em; line-height: 1.02;
  margin-bottom: var(--space-5);
}
.hero h1 strong { font-weight: 700; color: var(--brand-gold); display: block; }
.hero .lead { color: rgba(255,255,255,.86); margin-bottom: var(--space-7); }
.hero .btn-row { margin-bottom: var(--space-6); }

.hero--inner h1 { font-size: var(--fs-h1); font-weight: 600; }
.hero--inner .lead { margin-bottom: 0; }

/* Breadcrumb */
.crumb { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center;
         list-style: none; margin: 0 0 var(--space-5); padding: 0; font-size: var(--fs-xs); }
.crumb li { margin: 0; color: var(--muted-dark); display: flex; align-items: center; gap: var(--space-2); }
.crumb a { color: var(--muted-dark); text-decoration: none; }
.crumb a:hover { color: #fff; text-decoration: underline; }
.crumb li[aria-current] { color: var(--brand-gold); }
.crumb svg { inline-size: 12px; block-size: 12px; opacity: .55; }

/* Scroll cue */
.scroll-cue {
  position: absolute; inset-block-end: var(--space-6); inset-inline-start: var(--gutter);
  display: inline-flex; align-items: center; gap: var(--space-3);
  color: rgba(255,255,255,.7); font-size: var(--fs-xs);
  letter-spacing: .16em; text-transform: uppercase;
  font-family: var(--font-head); font-weight: 600;
  text-decoration: none; min-height: 44px;
}
.scroll-cue:hover { color: #fff; }
.scroll-cue svg { inline-size: 18px; block-size: 18px; animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (max-width: 767px) { .scroll-cue { display: none; } }

/* --- 7. METALS STRIP ----------------------------------------------------- */
.metals { background: var(--ink-2); }
.metals-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 1px; background: var(--line-dark);
  border-block: 1px solid var(--line-dark);
  list-style: none; margin: 0; padding: 0;
}
.metal {
  background: var(--ink-2); margin: 0;
  padding: var(--space-6) var(--space-5);
  display: flex; flex-direction: column; gap: var(--space-2);
}
.metal svg {
  inline-size: 30px; block-size: 30px;
  color: var(--brand-gold); margin-bottom: var(--space-2);
}
.metal-name {
  font-family: var(--font-head); font-weight: 600;
  font-size: 1.125rem; color: #fff;
}
.metal-sub { font-size: var(--fs-sm); color: var(--muted-dark); line-height: 1.5; }

/* --- 8. CARD GRIDS ------------------------------------------------------- */
.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }

.card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease),
              transform var(--t-base) var(--ease);
}
.card:hover { border-color: #C9CED3; box-shadow: var(--shadow-2); transform: translateY(-3px); }
.card-media {
  position: relative; aspect-ratio: 16 / 10;
  background: linear-gradient(140deg, var(--ink-2), var(--ink));
  color: var(--brand-gold);
  display: grid; place-items: center; overflow: hidden;
}
.card-media svg.pattern { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; opacity: .22; }
.card-media .glyph { position: relative; inline-size: 46px; block-size: 46px; opacity: .95; }
.card-body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: var(--fs-h3); margin-bottom: var(--space-3); }
.card p { font-size: var(--fs-sm); }
.card .link-arrow { margin-top: auto; padding-top: var(--space-4); }

/* Numbered capability card */
.card-index {
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-xs);
  letter-spacing: .14em; color: var(--brand-red);
  font-variant-numeric: tabular-nums; display: block; margin-bottom: var(--space-3);
}

/* --- 9. SPLIT / FEATURE ROW ---------------------------------------------- */
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split-media { order: 2; }
}
.split-media {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg);
  overflow: hidden; background: linear-gradient(140deg, var(--ink-2), var(--ink));
  display: grid; place-items: center; color: var(--brand-gold);
}
.split-media svg.pattern { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; opacity: .2; }

/* Key-value list */
.kv { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: 0; }
.kv li {
  display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: var(--space-4);
  padding-block: var(--space-4); margin: 0;
  border-bottom: 1px solid var(--line); font-size: var(--fs-sm);
}
.kv dt, .kv .k {
  font-family: var(--font-head); font-weight: 600; color: var(--ink);
}
.on-dark .kv li { border-bottom-color: var(--line-dark); }
.on-dark .kv .k { color: #fff; }

/* Checklist */
.ticks { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: grid; gap: var(--space-3); }
.ticks li { display: flex; gap: var(--space-3); align-items: flex-start; margin: 0; font-size: var(--fs-sm); }
.ticks svg { inline-size: 20px; block-size: 20px; color: var(--brand-red); flex: none; margin-top: 2px; }
.on-dark .ticks svg { color: var(--brand-gold); }

/* --- 10. PROCESS TIMELINE ------------------------------------------------ */
.process { display: grid; gap: var(--space-5); counter-reset: step;
           grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { position: relative; padding-top: var(--space-6); }
.step::before {                      /* connector rail */
  content: ""; position: absolute; inset-block-start: 19px; inset-inline: 0;
  block-size: 2px; background: var(--line);
}
.step:first-child::before { inset-inline-start: 50%; }
.step:last-child::before  { inset-inline-end: 50%; }
@media (max-width: 599px) { .step::before { display: none; } }
.step-num {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  inline-size: 40px; block-size: 40px; margin: 0 auto var(--space-4);
  border-radius: 50%; background: var(--brand-gold); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 6px var(--paper-2);
}
.step-body { text-align: center; padding-inline: var(--space-2); }
.step h3 { font-size: 1.0625rem; margin-bottom: var(--space-2); }
.step p { font-size: var(--fs-sm); }

/* --- 11. DARK BAND (sustainability spotlight) ---------------------------- */
.band-dark { position: relative; background: var(--ink); overflow: hidden; isolation: isolate; }
.band-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 120% at 88% 12%, rgba(245,179,53,.20) 0%, rgba(20,23,26,0) 60%),
    radial-gradient(70% 100% at 0% 100%, rgba(214,24,43,.20) 0%, rgba(20,23,26,0) 62%);
}
.figure-big {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(3.5rem, 2rem + 7vw, 7rem); line-height: .92;
  color: var(--brand-gold); letter-spacing: -.04em;
  font-variant-numeric: tabular-nums; margin: 0 0 var(--space-4);
}
.figure-big .unit { font-size: .38em; }

/* --- 12. CERTIFICATION / PROOF STRIP ------------------------------------- */
.proof-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
}
.proof-item {
  display: flex; gap: var(--space-4); align-items: center;
  padding: var(--space-5);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.proof-item svg { inline-size: 30px; block-size: 30px; color: var(--brand-red); flex: none; }
.proof-item .t { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: var(--fs-sm); display: block; }
.proof-item .s { font-size: var(--fs-xs); color: var(--body); }

/* --- 13. SPEC TABLE ------------------------------------------------------ */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--paper); -webkit-overflow-scrolling: touch;
}
table.spec { inline-size: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-inline-size: 640px; }
table.spec caption {
  caption-side: top; text-align: start; padding: var(--space-4) var(--space-5);
  font-family: var(--font-head); font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
table.spec th, table.spec td {
  padding: var(--space-3) var(--space-5); text-align: start;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
table.spec thead th {
  background: var(--paper-2); font-family: var(--font-head); font-weight: 600;
  color: var(--ink); font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase;
  position: sticky; inset-block-start: 0;
}
table.spec tbody tr:last-child th, table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec tbody tr:hover { background: var(--paper-2); }
table.spec tbody th { font-family: var(--font-head); font-weight: 600; color: var(--ink); white-space: nowrap; }

.tag {
  display: inline-block; padding: 2px var(--space-3); border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 600; font-family: var(--font-head);
  background: rgba(214,24,43,.08); color: var(--brand-red-deep); white-space: nowrap;
}
.tag--gold { background: rgba(245,179,53,.18); color: #7A5510; }

/* --- 14. CTA BAND -------------------------------------------------------- */
.cta-band { background: var(--brand-red); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); }
.cta-inner { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.4fr auto; } }
.cta-band .btn--ghost { background: #fff; color: var(--brand-red-deep); border-color: #fff; }
.cta-band .btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* --- 15. FORMS ----------------------------------------------------------- */
.form { display: grid; gap: var(--space-5); }
.field { display: grid; gap: var(--space-2); }
.field label { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); color: var(--ink); }
.field .req { color: var(--brand-red); margin-inline-start: 2px; }
.field .hint { font-size: var(--fs-xs); color: var(--body); }
.field input, .field select, .field textarea {
  min-height: 48px; padding: var(--space-3) var(--space-4);
  background: var(--paper); border: 1px solid #C9CED3; border-radius: var(--radius);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  inline-size: 100%;
}
.field textarea { min-height: 132px; resize: vertical; padding-block: var(--space-3); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--body); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand-red); box-shadow: 0 0 0 3px rgba(214,24,43,.16); outline: none;
}
.field .err { display: none; font-size: var(--fs-xs); color: var(--brand-red-deep); font-weight: 600; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--brand-red); }
.field.has-error .err { display: flex; align-items: center; gap: var(--space-2); }
.field.has-error .err svg { inline-size: 14px; block-size: 14px; flex: none; }
.form-row { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-status { display: none; padding: var(--space-4) var(--space-5); border-radius: var(--radius); font-size: var(--fs-sm); }
.form-status.is-visible { display: block; }
.form-status--ok { background: rgba(5,150,105,.10); border: 1px solid rgba(5,150,105,.4); color: #045F45; }
.form-status--err { background: rgba(214,24,43,.08); border: 1px solid rgba(214,24,43,.4); color: var(--brand-red-deep); }
.form-status a { color: inherit; }

/* --- 16. FOOTER ---------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding-block: var(--space-8) var(--space-6); }
.footer-grid { display: grid; gap: var(--space-7); }
@media (min-width: 760px)  { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; } }
.footer-brand { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-5); text-decoration: none; }
.footer-brand img { inline-size: 52px; block-size: 52px; }
.footer-brand .brand-name { color: #fff; font-size: 1.125rem; }
.footer-brand .brand-tag { color: var(--muted-dark); }
.site-footer h4 {
  font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase;
  color: #fff; margin-bottom: var(--space-4); font-weight: 600;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0; }
.footer-links a {
  display: flex; align-items: center; min-height: 40px;
  color: var(--muted-dark); text-decoration: none; font-size: var(--fs-sm);
  transition: color var(--t-fast) var(--ease);
}
.footer-links a:hover { color: var(--brand-gold); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); font-size: var(--fs-sm); }
.footer-contact li { display: flex; gap: var(--space-3); margin: 0; }
.footer-contact svg { inline-size: 18px; block-size: 18px; color: var(--brand-gold); flex: none; margin-top: 3px; }
.footer-contact a { color: var(--muted-dark); text-decoration: none; }
.footer-contact a:hover { color: var(--brand-gold); text-decoration: underline; }
.footer-bottom {
  margin-top: var(--space-8); padding-top: var(--space-5);
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6);
  align-items: center; justify-content: space-between;
  font-size: var(--fs-xs);
}
.footer-bottom p { margin: 0; }

/* --- 17. REVEAL ANIMATION ------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  transition-delay: var(--d, 0ms);
}

/* No-JS fallback: never hide content from crawlers or non-JS users */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .scroll-cue svg { animation: none; }
}

/* --- 18. PRINT ----------------------------------------------------------- */
@media print {
  .site-header, .nav-toggle, .scroll-cue, .cta-band, .lang { display: none !important; }
  body { color: #000; }
  .hero, .band-dark, .site-footer, .stats { background: #fff !important; color: #000; }
  .on-dark h1, .on-dark h2, .on-dark h3 { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}

/* --- 19. CALLOUT --------------------------------------------------------- */
.callout {
  display: flex; gap: var(--space-4);
  padding: var(--space-5);
  background: rgba(245,179,53,.10);
  border: 1px solid rgba(245,179,53,.45);
  border-left: 4px solid var(--brand-gold);
  border-radius: var(--radius);
}
.callout svg { inline-size: 22px; block-size: 22px; color: #7A5510; flex: none; margin-top: 2px; }
.callout h3 { font-size: 1rem; margin-bottom: var(--space-2); }
.callout p { font-size: var(--fs-sm); margin: 0; }

/* --- 20. ERROR SUMMARY LIST ---------------------------------------------- */
.form-status ul { margin: var(--space-2) 0 0; padding-left: 1.15rem; }
.form-status li { margin-bottom: var(--space-1); }
.form-status a { font-weight: 600; }
.form-status:focus-visible { outline: 3px solid var(--brand-red); outline-offset: 3px; }

/* --- 21. MAP ------------------------------------------------------------- */
.map-frame {
  position: relative; aspect-ratio: 16 / 9; min-block-size: 280px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--paper-2);
}
.map-frame iframe { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; border: 0; }
.map-placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center;
  gap: var(--space-4); text-align: center; padding: var(--space-6);
  background: linear-gradient(140deg, var(--ink-2), var(--ink)); color: var(--muted-dark);
}
.map-placeholder svg { inline-size: 34px; block-size: 34px; color: var(--brand-gold); }
.map-placeholder p { font-size: var(--fs-sm); max-width: 40ch; margin: 0; }

/* --- 22. CONTACT LAYOUT -------------------------------------------------- */
.contact-layout { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start; }
@media (min-width: 940px) { .contact-layout { grid-template-columns: 1fr 1.15fr; } }
.panel {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

/* --- 23. SIGNBOARD FIGURE ------------------------------------------------ */
.figure-plate { margin: 0; }
.figure-plate img {
  inline-size: 100%; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--paper);
}
.figure-plate figcaption {
  margin-top: var(--space-3); font-size: var(--fs-xs); color: var(--body);
}

/* --- 24. HEADER FIT ON SMALL SCREENS ------------------------------------- */
/* The drawer nav is position:fixed below 1024px, so it no longer pushes the
   actions right. Anchor them explicitly and let the brand shrink instead of
   pushing the menu button off-screen. */
@media (max-width: 1023px) {
  .header-actions { margin-inline-start: auto; }
  .brand { flex: 0 1 auto; min-inline-size: 0; }
  .brand-text { min-inline-size: 0; }
  .brand-name, .brand-tag { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 479px) {
  .brand-tag { display: none; }
  .brand img { inline-size: 38px; block-size: 38px; }
  .brand-name { font-size: 0.95rem; }
  .header-actions { gap: var(--space-2); }
  .header-inner { gap: var(--space-3); }
}

/* --- 25. HEADER WHILE THE DARK DRAWER IS OPEN ---------------------------- */
/* Wins over .is-solid so nav links never render charcoal-on-charcoal. */
.site-header.nav-open { background: var(--ink); border-bottom-color: var(--line-dark); box-shadow: none; }
.site-header.nav-open::before { opacity: 0; }
.site-header.nav-open .brand-name { color: #fff; }
.site-header.nav-open .brand-tag { color: var(--muted-dark); }
.site-header.nav-open .nav-link { color: #fff; }
.site-header.nav-open .nav-link[aria-current="page"] { color: var(--brand-gold); }
.site-header.nav-open .lang-toggle,
.site-header.nav-open .nav-toggle { color: #fff; border-color: rgba(255,255,255,.35); }
.site-header.nav-open .lang-toggle:hover,
.site-header.nav-open .nav-toggle:hover { background: rgba(255,255,255,.12); }

/* --- 26. GROUP COMPANIES ------------------------------------------------- */
.group-label {
  font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-gold); font-weight: 600; margin-bottom: var(--space-5);
}
.group-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
  gap: var(--space-4); list-style: none; margin: 0; padding: 0;
}
.group-item {
  display: flex; align-items: center; gap: var(--space-4); margin: 0;
  padding: var(--space-4) var(--space-5);
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  font-family: var(--font-head); font-weight: 500; font-size: var(--fs-sm);
  color: #fff;
}
.group-item svg { inline-size: 22px; block-size: 22px; color: var(--muted-dark); flex: none; }
/* SHA itself is highlighted so its place in the group reads at a glance */
.group-item--self { border-color: var(--brand-gold); background: rgba(245,179,53,.10); }
.group-item--self svg { color: var(--brand-gold); }
.group-item--self span { color: var(--brand-gold); font-weight: 600; }

/* --- 27. FIGURES --------------------------------------------------------- */
.figures {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(244px, 1fr));
  gap: var(--space-5); list-style: none; margin: 0; padding: 0;
}
.figure-item {
  margin: 0; padding: var(--space-6) var(--space-5);
  background: var(--paper); border: 1px solid var(--line);
  border-top: 3px solid var(--brand-gold); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: var(--space-2);
}
.figure-num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.5rem, 1.8rem + 2.6vw, 3.5rem); line-height: 1;
  color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.figure-num .unit { font-size: .5em; font-weight: 500; }
.figure-label {
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm);
  letter-spacing: .04em; text-transform: uppercase; color: var(--brand-red);
}
.figure-desc { font-size: var(--fs-sm); color: var(--body); line-height: 1.55; }
.figures-note {
  margin-top: var(--space-5); max-width: 72ch;
  font-size: var(--fs-xs); color: var(--body);
}

/* --- 28. MATERIALS PAGE -------------------------------------------------- */
.mat-block { margin-bottom: var(--space-8); }
.mat-block h2 { margin-bottom: var(--space-5); }

/* Anchor targets must clear the fixed header, or headings land underneath it */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* --- 29. FOOTER SLOGAN --------------------------------------------------- */
.footer-slogan {
  font-family: var(--font-head); font-weight: 500;
  font-size: 1.0625rem; line-height: 1.4;
  color: var(--brand-gold);          /* 9.75:1 on charcoal */
  max-width: 30ch; margin-bottom: var(--space-4);
}

/* --- 30. SIX-METAL GRIDS ------------------------------------------------- */
/* Six items need an explicit 3-up track: auto-fit would resolve to four
   columns at desktop width and leave two orphans on a second row. */
.metals-grid, .grid--metals { grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .metals-grid, .grid--metals { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 940px) {
  .metals-grid, .grid--metals { grid-template-columns: repeat(3, 1fr); }
}

/* --- 31. GROUP COMPANY LINKS --------------------------------------------- */
/* Only companies with a verified website become links; the rest stay as
   plain text until a URL is supplied. */
.group-item { position: relative; }
.group-item--link {
  transition: border-color var(--t-base) var(--ease),
              background-color var(--t-base) var(--ease),
              transform var(--t-fast) var(--ease);
}
.group-item--link:hover {
  border-color: var(--brand-gold);
  background: rgba(255,255,255,.085);
  transform: translateY(-2px);
}
.group-item--link a {
  display: inline-flex; align-items: center; gap: var(--space-2);
  color: #fff; text-decoration: none;
}
/* stretch the hit area over the whole card — a 22px label is a poor target */
.group-item--link a::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg);
}
.group-item--link:hover a { color: var(--brand-gold); }
.group-item .ext {
  inline-size: 14px; block-size: 14px; flex: none;
  color: var(--muted-dark); transition: color var(--t-base) var(--ease);
}
.group-item--link:hover .ext { color: var(--brand-gold); }
/* focus ring on the card, not the inline text, so it traces the hit area */
.group-item--link:has(a:focus-visible) {
  outline: 3px solid var(--brand-gold); outline-offset: 2px;
}
.group-item--link:has(a:focus-visible) a { outline: none; }
