@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --ink: #111417;
  --graphite: #171b1e;
  --steel: #2d3438;
  --mist: #e8e9e6;
  --paper: #f6f5f1;
  --white: #fff;
  --ember: #f26a2e;
  --ember-dark: #c94b18;
  --muted: #aeb4b6;
  --line: rgba(255, 255, 255, .12);
  --shadow: 0 24px 70px rgba(13, 16, 18, .15);
  --radius: 1.1rem;
  --container: min(1180px, calc(100% - 2.5rem));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'DM Sans', system-ui, sans-serif; line-height: 1.6; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 4px; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 100; padding: .7rem 1rem; background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 50; color: var(--white); background: rgba(17, 20, 23, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-family: 'Manrope', sans-serif; font-weight: 800; letter-spacing: -.035em; text-transform: uppercase; }
.brand-logo { width: 2.75rem; height: 2.75rem; object-fit: contain; padding: .15rem; background: var(--white); border-radius: .2rem; }
.site-nav { display: flex; align-items: center; gap: 1.7rem; font-size: .92rem; font-weight: 600; }
.site-nav a { position: relative; color: #d9ddde; }
.site-nav a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -.5rem; height: 2px; background: var(--ember); transition: right .25s ease; }
.site-nav a:hover::after, .site-nav a[aria-current='page']::after { right: 0; }
.site-nav a[aria-current='page'] { color: var(--white); }
.nav-cta { padding: .75rem 1rem; color: var(--ink) !important; background: var(--ember); border-radius: .2rem; }
.nav-cta:hover { color: var(--ink) !important; background: #ff8b59; }
.menu-toggle { display: none; align-items: center; gap: .6rem; color: var(--white); background: transparent; border: 0; cursor: pointer; }
.menu-toggle i, .menu-toggle i::before, .menu-toggle i::after { display: block; width: 1.5rem; height: 2px; background: currentColor; transition: transform .2s ease; }
.menu-toggle i { position: relative; }
.menu-toggle i::before, .menu-toggle i::after { content: ''; position: absolute; left: 0; }
.menu-toggle i::before { top: -.45rem; }
.menu-toggle i::after { top: .45rem; }

.page-intro { position: relative; min-height: 56vh; display: grid; align-items: end; padding: clamp(7rem, 14vw, 12rem) 0 clamp(4rem, 8vw, 7rem); color: var(--white); background: radial-gradient(circle at 82% 22%, rgba(242, 106, 46, .18), transparent 30%), linear-gradient(135deg, #111417 0%, #252b2e 100%); overflow: hidden; }
.hero-shell { min-height: calc(100svh - 78px); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 12, 14, .95) 0%, rgba(10, 12, 14, .72) 48%, rgba(10, 12, 14, .14) 100%); }
.hero-content { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.2rem; color: #c8ccce; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 2.4rem; height: 2px; background: var(--ember); }
h1, h2, h3 { margin: 0; font-family: 'Manrope', sans-serif; line-height: 1.04; letter-spacing: -.055em; }
h1 { max-width: 13ch; font-size: clamp(3.2rem, 8vw, 7.7rem); }
h1 span { color: var(--ember); }
.lede { max-width: 38rem; margin: 2rem 0 0; color: #c8ccce; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; padding: .85rem 1.25rem; border: 1px solid transparent; border-radius: .25rem; font-weight: 700; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--ink); background: var(--ember); }
.button--primary:hover { color: var(--ink); background: #ff8b59; }
.button--ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.button--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.button--dark { color: var(--white); background: var(--ink); }
.button--dark:hover { background: var(--steel); }

.hero-facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 4rem; border-top: 1px solid rgba(255,255,255,.25); }
.hero-fact { padding: 1.2rem 1.5rem 0 0; }
.hero-fact strong { display: block; color: var(--white); font: 800 clamp(1.4rem, 3vw, 2.2rem)/1 'Manrope', sans-serif; letter-spacing: -.04em; }
.hero-fact span { display: block; margin-top: .45rem; color: #aeb5b8; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--dark { color: var(--white); background: var(--graphite); }
.section--steel { color: var(--white); background: var(--steel); }
.section--compact { padding-block: 3rem; }
.section-kicker { margin: 0 0 .8rem; color: var(--ember-dark); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section--dark .section-kicker, .section--steel .section-kicker { color: #ff8b59; }
.section-title { max-width: 15ch; font-size: clamp(2.2rem, 5vw, 4.6rem); }
.section-title--wide { max-width: 22ch; }
.section-copy { max-width: 42rem; margin: 1.4rem 0 0; color: #5f686c; font-size: 1.08rem; }
.section--dark .section-copy, .section--steel .section-copy { color: #c0c6c8; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
.media-frame { position: relative; overflow: hidden; min-height: 420px; background: #222; border-radius: var(--radius); box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.media-caption { position: absolute; right: 1rem; bottom: 1rem; max-width: 18rem; padding: .65rem .85rem; color: #d5d9da; background: rgba(13,15,17,.82); border: 1px solid rgba(255,255,255,.12); border-radius: .25rem; font-size: .72rem; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; border-top: 1px solid #d6d8d6; border-bottom: 1px solid #d6d8d6; }
.stat { padding: 1.8rem 1.5rem; border-right: 1px solid #d6d8d6; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font: 800 clamp(2rem, 4vw, 3.4rem)/1 'Manrope', sans-serif; letter-spacing: -.05em; }
.stat span { display: block; margin-top: .6rem; color: #687175; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.feature-card { min-height: 230px; padding: 1.7rem; background: var(--white); border: 1px solid #dbdcda; border-radius: .7rem; }
.section--dark .feature-card { background: #202528; border-color: rgba(255,255,255,.1); }
.feature-index { color: var(--ember); font: 700 .78rem/1 'Manrope', sans-serif; letter-spacing: .12em; }
.feature-card h3 { margin-top: 3rem; font-size: 1.45rem; letter-spacing: -.03em; }
.feature-card p { margin: .8rem 0 0; color: #667075; }
.section--dark .feature-card p { color: #afb6b9; }

.size-strip { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.size-pill { padding: .65rem .9rem; color: var(--white); background: #262c2f; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; font: 700 .78rem/1 'Manrope', sans-serif; }
.size-pill--accent { color: var(--ink); background: var(--ember); border-color: var(--ember); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.product-card { position: relative; min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.35rem; background: var(--white); border: 1px solid #d8dad8; border-radius: .75rem; overflow: hidden; }
.product-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--ember); transform: scaleY(0); transform-origin: bottom; transition: transform .25s ease; }
.product-card:hover::before { transform: scaleY(1); }
.product-card small { color: #788084; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product-card strong { font: 800 clamp(1.5rem, 3vw, 2.25rem)/1 'Manrope', sans-serif; letter-spacing: -.04em; }
.product-card a { font-size: .83rem; font-weight: 700; }
.product-card a::after { content: ' →'; color: var(--ember-dark); }
.product-table-wrap { margin-top: 3rem; overflow-x: auto; border: 1px solid #d8dad8; border-radius: .75rem; }
.product-table { width: 100%; min-width: 34rem; border-collapse: collapse; background: var(--white); }
.product-table caption { padding: 1.1rem 1.25rem; color: var(--ink); font: 800 1.05rem/1.3 'Manrope', sans-serif; text-align: left; }
.product-table th, .product-table td { padding: .85rem 1.25rem; border-top: 1px solid #e2e3e1; text-align: left; }
.product-table th { color: #596266; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.product-table td:last-child { text-align: right; }
.product-table a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--ember); text-underline-offset: .25rem; }

.location-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.5rem; }
.location-card { padding: 1.7rem; color: var(--ink); background: var(--white); border: 1px solid #d8dad8; border-radius: .7rem; }
.location-card h3 { font-size: 1.35rem; letter-spacing: -.03em; }
.location-card address { margin-top: 1rem; color: #5f696d; font-style: normal; }
.presence-list { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 2.5rem; border-top: 1px solid #d6d8d6; border-bottom: 1px solid #d6d8d6; }
.presence-list span { padding: 1.25rem .5rem; text-align: center; font-weight: 700; border-right: 1px solid #d6d8d6; }
.presence-list span:last-child { border: 0; }

.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.4rem; }
.contact-card { padding: 1.6rem; color: var(--white); background: var(--steel); border-radius: .7rem; }
.contact-card small { display: block; color: #b7bec0; text-transform: uppercase; letter-spacing: .12em; }
.contact-card strong { display: block; margin-top: .6rem; font: 700 clamp(1.15rem, 3vw, 1.8rem)/1.2 'Manrope', sans-serif; }
.contact-card:hover strong { color: #ff9568; }

.rfq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.rfq-form { padding: clamp(1.4rem, 4vw, 2.4rem); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-bottom: 1.4rem; }
.field { display: flex; flex-direction: column; gap: .45rem; color: var(--ink); }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 800; letter-spacing: .04em; }
.field label span { color: var(--ember-dark); }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .9rem; color: var(--ink); background: #f7f6f2; border: 1px solid #c9cdcb; border-radius: .35rem; }
.field textarea { resize: vertical; }
.field select { min-height: 9.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ember); outline: 2px solid rgba(242,106,46,.22); outline-offset: 1px; }
.field [aria-invalid='true'] { border-color: #b42318; }
.field small { color: #6d7578; }
.field-error { min-height: 1.1em; color: #b42318; font-size: .78rem; }

.cta-band { padding: clamp(3rem, 7vw, 5rem); color: var(--ink); background: var(--ember); border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { max-width: 17ch; font-size: clamp(2rem, 5vw, 4rem); }
.cta-band .button { flex: none; }

.site-footer { padding: 3rem 0; color: #c7ccce; background: #0d0f11; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr auto; align-items: center; gap: 2rem; }
.site-footer p { margin: 0; font-size: .88rem; }
.brand--footer { color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .85rem; }
.footer-links a:hover { color: var(--white); }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: 78px 0 auto; min-height: calc(100svh - 78px); padding: 2rem 1.25rem; flex-direction: column; align-items: stretch; gap: 0; background: #111417; transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility .28s; }
  .site-nav.is-open { transform: none; visibility: visible; }
  .site-nav a { padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
  .site-nav .nav-cta { margin-top: 1.25rem; padding: 1rem; text-align: center; border: 0; }
  .footer-inner, .split, .rfq-layout { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: initial; }
  .feature-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .presence-list { grid-template-columns: repeat(3, 1fr); }
  .presence-list span { border-bottom: 1px solid #d6d8d6; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .cta-band { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  :root { --container: min(100% - 1.5rem, 1180px); }
  .header-inner { min-height: 70px; }
  .brand { font-size: .9rem; }
  .brand-mark { width: 2.2rem; }
  .site-nav { inset-block-start: 70px; min-height: calc(100svh - 70px); }
  .hero-shell { min-height: calc(100svh - 70px); }
  h1 { font-size: clamp(2.8rem, 15vw, 4.7rem); }
  .hero-facts, .stat-grid, .feature-grid, .product-grid, .location-grid, .contact-cards, .presence-list { grid-template-columns: 1fr; }
  .hero-fact { padding-right: 0; }
  .stat { border-right: 0; border-bottom: 1px solid #d6d8d6; }
  .stat:last-child { border-bottom: 0; }
  .presence-list span { border-right: 0; }
  .media-frame { min-height: 320px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
