:root {
  --ink: #0e1111;
  --graphite: #171a1a;
  --graphite-2: #202424;
  --panel: rgba(232, 226, 213, 0.052);
  --paper: #ece7dc;
  --paper-2: #d9d1c2;
  --paper-text: #171a1a;
  --text: #f1eee7;
  --muted: #b8b1a5;
  --line: rgba(232, 226, 213, 0.14);
  --line-strong: rgba(232, 226, 213, 0.26);
  --brass: #b88a42;
  --brass-2: #e8b85d;
  --copper: #c65a2e;
  --oxide: #a84727;
  --rust: #7b3822;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  color-scheme: dark;
  font-family: Arial, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font-size: 16px; line-height: 1.65; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, ul, ol, dl { margin: 0; }
ul, ol { padding-left: 1.2em; }
button, input, textarea, select { font: inherit; }
table { width: 100%; border-collapse: collapse; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(14, 17, 17, 0.9); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.nav { width: min(1240px, calc(100% - 40px)); min-height: 74px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(184, 138, 66, 0.2)); }
.brand-word { color: var(--text); font-size: 23px; font-weight: 900; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 13px; color: #ddd6ca; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 800; white-space: nowrap; transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease; }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); background: var(--brass-2); border-color: transparent; }
.nav-links a:hover { transform: translateY(-2px); }
.nav-toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(232, 226, 213, 0.06); color: var(--text); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.container, .section-inner, .footer-inner { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.hero { min-height: 86svh; display: flex; align-items: center; position: relative; isolation: isolate; overflow: hidden; background: var(--graphite); }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: -5px; z-index: -3; background-image: linear-gradient(90deg, rgba(14, 17, 17, 0.97), rgba(14, 17, 17, 0.78) 50%, rgba(14, 17, 17, 0.5)), linear-gradient(0deg, rgba(14, 17, 17, 0.92), rgba(14, 17, 17, 0.22)), var(--hero-image); background-size: cover; background-position: center; filter: brightness(0.78) contrast(1.06); }
.page-hero::before { background-image: linear-gradient(90deg, rgba(14, 17, 17, 0.97), rgba(14, 17, 17, 0.72) 52%, rgba(14, 17, 17, 0.16)), linear-gradient(0deg, rgba(14, 17, 17, 0.78), rgba(14, 17, 17, 0.05)), var(--hero-image); filter: brightness(0.94) contrast(1.06); }
.hero::after, .page-hero::after, .image-band::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(184,138,66,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(198,90,46,.055) 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(90deg, black, transparent 78%); opacity: .38; }
.hero-inner { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 76px 0 54px; }
.hero-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, .58fr); gap: 54px; align-items: center; }
.hero-copy { max-width: 780px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--brass-2); font-size: 12px; line-height: 1.3; font-weight: 900; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--copper); }
h1, h2, h3, h4 { margin: 0; color: var(--white); line-height: 1.05; }
h1 { margin-top: 18px; font-size: clamp(44px, 7vw, 92px); max-width: 900px; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4vw, 58px); letter-spacing: -0.01em; }
h3 { font-size: 22px; }
.lead, .hero-lead { max-width: 760px; margin-top: 22px; color: #dcd3c4; font-size: clamp(18px, 2vw, 22px); }
.hero-actions, .section-actions, .card-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; border-radius: 999px; font-weight: 900; border: 1px solid var(--line-strong); transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease; }
.button:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.25); }
.button.primary { color: #17150f; background: linear-gradient(135deg, #e0ad59, #b85d34); border-color: transparent; }
.button.secondary { color: var(--text); background: rgba(232,226,213,.06); }
.button.ghost { color: #241f1a; background: transparent; border-color: rgba(138, 61, 36, .35); }

.hero-console, .spec-console { position: relative; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(232,226,213,.1), rgba(232,226,213,.03)); box-shadow: var(--shadow); transform: rotate(-1.2deg); transition: transform 260ms ease, border-color 260ms ease; }
.hero-console:hover, .spec-console:hover { transform: rotate(0deg) translateY(-4px); border-color: rgba(232,184,93,.55); }
.hero-console img, .spec-console img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; filter: contrast(1.04); }
.console-topline { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; color: var(--muted); font-size: 12px; font-weight: 900; }
.console-topline strong { color: var(--brass-2); }
.console-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.console-grid span, .spec-console div { padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: rgba(14,17,17,.46); color: var(--muted); font-size: 13px; }
.console-grid strong, .spec-console strong { display: block; color: var(--white); font-size: 19px; line-height: 1.1; }

.process-rail { background: #121515; border-block: 1px solid var(--line); overflow: hidden; }
.process-rail-track { display: flex; width: max-content; animation: rail 26s linear infinite; }
.process-rail span { display: inline-flex; align-items: center; min-height: 58px; padding: 0 34px; color: #d5caba; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.process-rail span::after { content: ""; width: 9px; height: 9px; margin-left: 34px; background: var(--oxide); transform: rotate(45deg); }
@keyframes rail { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section { padding: 96px 0; background: var(--ink); }
.section.alt { background: linear-gradient(180deg, #191c1c, #0e1111); }
.section.light { background: var(--paper); color: var(--paper-text); }
.section.light h2, .section.light h3, .section.light h4 { color: #171a1a; }
.section.light .eyebrow { color: var(--rust); }
.section.light .section-title p, .section.light .product-card p, .section.light .value-card p, .section.light .process-card p { color: #5d574f; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.section-title { max-width: 850px; }
.section-title h2 { margin-top: 14px; }
.section-title p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
.stagger-grid .product-card:nth-child(even) { margin-top: 44px; }
.product-card, .value-card, .process-card, .article-card, .contact-block, .spec-console, .feature-row { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(232,226,213,.065), rgba(232,226,213,.038)); }
.section.light .product-card, .section.light .value-card, .section.light .process-card, .section.light .article-card, .section.light .contact-block { background: #f6f1e8; border-color: #cec5b7; box-shadow: 0 16px 36px rgba(43,35,22,.08); }
.product-card, .article-card { overflow: hidden; position: relative; transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease; }
.product-card::after, .article-card::after, .value-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 0%, rgba(232,184,93,.14) 42%, transparent 58%); transform: translateX(-120%); transition: transform 620ms ease; }
.product-card:hover, .article-card:hover, .value-card:hover { transform: translateY(-8px); border-color: rgba(232,184,93,.58); box-shadow: var(--shadow); }
.product-card:hover::after, .article-card:hover::after, .value-card:hover::after { transform: translateX(120%); }
.media-link { display: block; overflow: hidden; }
.product-card img, .article-card img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; filter: contrast(1.04); transition: transform 500ms ease, filter 300ms ease; }
.product-card:hover img, .article-card:hover img { transform: scale(1.06); filter: contrast(1.08); }
.product-card-body, .value-card, .article-card-body, .contact-block, .feature-row, .process-card { padding: 23px; position: relative; }
.tag { display: inline-flex; align-items: center; min-height: 25px; padding: 3px 10px; border: 1px solid rgba(184,138,66,.46); border-radius: 999px; color: var(--brass-2); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.section.light .tag { color: #8a3d24; background: #ead7bd; }
.product-card h3, .value-card h3, .article-card h2, .article-card h3, .contact-block h3 { margin-top: 14px; }
.product-card p, .value-card p, .process-card p, .article-card p, .contact-block p, .copy-block p { margin-top: 12px; color: var(--muted); }
.product-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.product-card dl div { padding: 10px; border: 1px solid var(--line); border-radius: 6px; }
.product-card dt { color: var(--muted); font-size: 12px; }
.product-card dd { margin: 3px 0 0; color: var(--white); font-weight: 900; }
.section.light .product-card dd { color: #171a1a; }
.card-link { display: inline-flex; margin-top: 18px; color: var(--brass-2); font-weight: 900; }
.card-link::after { content: "↗"; margin-left: 8px; transition: transform 180ms ease; }
.card-link:hover::after { transform: translate(3px, -3px); }
.editorial-band { background: linear-gradient(135deg, #191c1c, #0e1111 62%, #211513); }
.editorial-layout, .split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, .56fr); gap: 40px; align-items: start; }
.editorial-copy p, .copy-block p, .copy-block li { color: var(--muted); }
.copy-block h2, .copy-block h3 { margin-top: 28px; }
.copy-block h2:first-child, .copy-block h3:first-child { margin-top: 0; }
.copy-block ul { margin-top: 14px; }
.copy-block li + li { margin-top: 8px; }
.kpi-lattice { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.kpi-lattice div { min-height: 138px; padding: 22px; background: rgba(232,226,213,.06); }
.section.light .kpi-lattice div { background: #f6f1e8; }
.kpi-lattice strong { display: block; color: var(--brass-2); font-size: 42px; line-height: 1; }
.kpi-lattice span { display: block; margin-top: 10px; color: var(--muted); }
.section.light .kpi-lattice span { color: #5d574f; }
.image-band { min-height: 570px; position: relative; display: flex; align-items: end; isolation: isolate; overflow: hidden; background: #0e1111; }
.image-band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: brightness(.7) contrast(1.06); }
.image-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,17,17,.98), rgba(14,17,17,.22) 58%, rgba(14,17,17,.72)); }
.image-band-content { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 78px 0; }
.image-band-content h2 { max-width: 900px; margin-top: 14px; }
.image-band-content p { max-width: 710px; margin-top: 16px; color: #e2d6bd; font-size: 18px; }
.workflow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid #cec5b7; border-radius: var(--radius); overflow: hidden; background: #cec5b7; }
.process-card { border: 0; border-radius: 0; background: rgba(255,250,240,.92); }
.process-index { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #1d2020; color: var(--brass-2); font-weight: 900; }
.process-card h3 { margin-top: 18px; color: #171a1a; }
.page-hero { min-height: 430px; position: relative; isolation: isolate; display: flex; align-items: end; overflow: hidden; background: var(--graphite); }
.page-hero-inner { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 92px 0 66px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: #d8ceb8; font-size: 14px; font-weight: 800; }
.breadcrumb a { color: var(--brass-2); }
.breadcrumb span::before, .breadcrumb a + a::before { content: "/"; margin-right: 8px; color: #746a5d; }
.spec-console { transform: none; display: grid; gap: 12px; }
.spec-console img { aspect-ratio: 16 / 10; }
.table-wrap { width: 100%; margin-top: 30px; overflow-x: auto; border: 1px solid #cec5b7; border-radius: var(--radius); background: #f6f1e8; }
th, td { padding: 14px 15px; border-bottom: 1px solid #cec5b7; text-align: left; vertical-align: top; }
th { color: #171a1a; background: #e5d7b7; font-size: 14px; }
td { color: #4e4941; }
tr { transition: background 160ms ease; }
tbody tr:hover { background: #efe3cf; }
tr:last-child td { border-bottom: 0; }
.article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-card h2 { font-size: 23px; line-height: 1.15; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; color: var(--muted); font-size: 13px; }
.article-body { width: min(880px, calc(100% - 40px)); margin: 0 auto; }
.article-body > img { width: 100%; margin: 0 0 34px; border-radius: var(--radius); filter: contrast(1.04); }
.article-body h2 { margin-top: 36px; font-size: clamp(26px, 3vw, 38px); }
.article-body p, .article-body ul, .article-body ol { margin-top: 16px; color: var(--muted); font-size: 18px; }
.article-body blockquote { margin: 30px 0; padding: 22px 26px; border-left: 4px solid var(--brass-2); background: rgba(184,138,66,.1); color: #e8ded0; }
.form { display: grid; gap: 14px; margin-top: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { color: #e8ded0; font-weight: 900; font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px; color: var(--text); background: rgba(232,226,213,.07); border: 1px solid var(--line-strong); border-radius: 6px; outline: none; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass-2); box-shadow: 0 0 0 3px rgba(184,138,66,.14); }
.spec-list { display: grid; gap: 14px; }
.notice { margin-top: 24px; padding: 17px 19px; border: 1px solid rgba(184,138,66,.46); border-radius: var(--radius); color: #ecd2aa; background: rgba(184,138,66,.09); }
.site-footer { background: #090b0b; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: minmax(270px, 1.2fr) repeat(3, minmax(150px, .55fr)); gap: 30px; padding: 56px 0; }
.footer-brand img { width: 172px; height: 58px; object-fit: contain; }
.footer-brand p { max-width: 430px; margin-top: 14px; color: var(--muted); }
.footer-col h3 { font-size: 15px; }
.footer-col a, .footer-col span { display: block; margin-top: 9px; color: var(--muted); font-size: 14px; }
.footer-col a:hover { color: var(--brass-2); }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0; color: #857b70; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 720ms ease, transform 720ms cubic-bezier(.2,.8,.2,1); }
[data-reveal="left"] { transform: translateX(-42px); }
[data-reveal="right"] { transform: translateX(42px); }
[data-reveal].is-visible { opacity: 1; transform: translate(0,0); }

@media (max-width: 1060px) {
  .hero-layout, .editorial-layout, .split { grid-template-columns: 1fr; }
  .product-grid, .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.three, .article-grid, .workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav { width: min(100% - 28px, 1240px); min-height: 68px; }
  .brand img { width: 40px; height: 40px; }
  .brand-word { font-size: 20px; }
  .nav-toggle { display: inline-flex; }
  .nav-links { position: absolute; top: 68px; left: 14px; right: 14px; display: grid; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(14,17,17,.98); box-shadow: var(--shadow); transform-origin: top; transform: scaleY(.96); opacity: 0; pointer-events: none; transition: opacity 160ms ease, transform 160ms ease; }
  .nav-links.is-open { opacity: 1; transform: scaleY(1); pointer-events: auto; }
  .nav-links a { width: 100%; border-radius: 6px; }
  .hero { min-height: auto; }
  .hero-inner { padding: 64px 0 34px; }
  .hero-console { transform: none; }
  .console-grid, .product-card dl, .form-grid, .kpi-lattice, .product-grid, .grid.three, .grid.four, .article-grid, .workflow, .footer-inner { grid-template-columns: 1fr; }
  .stagger-grid .product-card:nth-child(even) { margin-top: 0; }
  .section { padding: 66px 0; }
  .section-head { display: block; }
  .section-head .button { margin-top: 22px; }
  .image-band { min-height: 500px; }
  .page-hero { min-height: 360px; }
  .page-hero-inner { padding: 68px 0 50px; }
}
@media (max-width: 480px) {
  .container, .section-inner, .footer-inner, .hero-inner, .page-hero-inner, .image-band-content { width: min(100% - 28px, 1240px); }
  h1 { font-size: 38px; }
  h2 { font-size: 29px; }
  .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
