/*
Theme Name: Yuhui Lighting
Theme URI: https://ttch.ai/
Author: Yuhui Lighting / TTCH
Description: An editable, project-led B2B lighting theme for Guangzhou Yuhui Electronics Co., Ltd.
Version: 0.1.4
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: yuhui-lighting
*/

:root {
  --ink: #10110f;
  --coal: #191a17;
  --paper: #f3f1eb;
  --white: #fff;
  --signal: #e6542d;
  --signal-dark: #ba3415;
  --muted: #787a73;
  --border: #d8d5cc;
  --dark-border: rgba(255, 255, 255, .14);
  --success: #247b58;
  --error: #b42318;
  --display: Bahnschrift, "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Cascadia Mono", Consolas, monospace;
  --shell: min(1360px, calc(100vw - 80px));
  --header-height: 82px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; line-height: 1.02; letter-spacing: -.035em; }
h1 { font-size: clamp(3.4rem, 7vw, 7.7rem); }
h2 { font-size: clamp(2.3rem, 4.6vw, 5.25rem); }
h3 { font-size: clamp(1.35rem, 2vw, 2rem); }
::selection { color: var(--white); background: var(--signal); }

.site-shell { width: var(--shell); margin-inline: auto; }
.site-shell.narrow { max-width: 980px; margin-inline: auto; }
.section { padding: clamp(84px, 10vw, 150px) 0; }
.section-dark, .section-ink { color: var(--white); background: var(--ink); }
.section-ink { background: #151614; }
.eyebrow, .ttch-kicker { margin-bottom: 24px; color: var(--signal); font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; left: 20px; top: -100px; padding: 10px 16px; color: var(--white); background: var(--signal); }
.skip-link:focus { top: 20px; }

.site-header { position: fixed; z-index: 1000; inset: 0 0 auto; height: var(--header-height); color: var(--white); background: rgba(16, 17, 15, .88); border-bottom: 1px solid transparent; backdrop-filter: blur(16px); transition: background .25s ease, border-color .25s ease; }
.site-header.is-scrolled { background: rgba(16, 17, 15, .96); border-bottom-color: var(--dark-border); }
.admin-bar .site-header { top: 32px; }
.admin-bar .site-main { padding-top: 32px; }
.header-inner { height: 100%; display: grid; grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr); align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; color: inherit; text-decoration: none; }
.brand-mark { position: relative; width: 27px; height: 27px; border: 1px solid rgba(255,255,255,.55); transform: rotate(45deg); overflow: hidden; }
.brand-mark::after { content: ""; position: absolute; width: 20px; height: 48px; top: -10px; left: 10px; background: var(--signal); transform: rotate(23deg); }
.brand-mark i { position: absolute; z-index: 1; width: 5px; height: 44px; top: -9px; left: 6px; background: var(--white); opacity: .82; transform: rotate(23deg); }
.brand-name { font-family: var(--display); font-size: 1.05rem; font-weight: 650; letter-spacing: .02em; text-transform: uppercase; }
.site-nav ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); padding: 0; margin: 0; list-style: none; }
.site-nav a { position: relative; display: block; color: rgba(255,255,255,.78); font-family: var(--display); font-size: .85rem; font-weight: 520; letter-spacing: .035em; text-decoration: none; }
.site-nav a::after { content: ""; position: absolute; height: 1px; left: 0; right: 100%; bottom: -8px; background: var(--signal); transition: right .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav .current-menu-item > a { color: var(--white); }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav .current-menu-item > a::after { right: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 22px; }
.header-whatsapp { color: rgba(255,255,255,.78); font-size: .8rem; text-decoration: none; }
.header-rfq { display: inline-flex; align-items: center; gap: 13px; color: var(--white); font-family: var(--display); font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.header-rfq span { display: grid; width: 34px; height: 34px; place-items: center; color: var(--white); background: var(--signal); }
.nav-toggle { display: none; width: 44px; height: 44px; color: var(--white); background: transparent; border: 0; }
.nav-toggle > span:not(.screen-reader-text) { display: block; width: 24px; height: 1px; margin: 7px auto; background: currentColor; }

.site-main { min-height: 60vh; }
.hero { position: relative; min-height: min(900px, 100svh); padding-top: var(--header-height); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: var(--header-height) auto 0 8%; width: 1px; background: linear-gradient(transparent, var(--dark-border), transparent); }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; min-height: calc(min(900px, 100svh) - 145px); align-items: center; gap: clamp(50px, 8vw, 130px); padding-block: 70px 35px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 760px; margin-bottom: 36px; font-size: clamp(4rem, 7.1vw, 7.8rem); }
.hero-lead { max-width: 650px; margin-bottom: 42px; color: rgba(255,255,255,.67); font-size: clamp(1rem, 1.4vw, 1.26rem); line-height: 1.62; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.button, .ttch-button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 0 25px; border: 1px solid transparent; border-radius: 0; font-family: var(--display); font-size: .78rem; font-weight: 650; letter-spacing: .075em; line-height: 1; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover, .ttch-button:hover { transform: translateY(-2px); }
.button.primary, .ttch-button { color: var(--white); background: var(--signal); border-color: var(--signal); }
.button.primary:hover, .ttch-button:hover { background: var(--signal-dark); border-color: var(--signal-dark); }
.button.ghost { color: var(--white); background: transparent; border-color: rgba(255,255,255,.32); }
.button.ghost:hover { border-color: var(--white); }
.button.secondary { color: var(--ink); background: transparent; border-color: var(--ink); }
.light-stage { position: relative; aspect-ratio: .88; max-height: 650px; min-height: 480px; background: radial-gradient(circle at 50% 42%, rgba(255,225,176,.34), rgba(255,255,255,.05) 11%, transparent 32%), #090a08; border: 1px solid rgba(255,255,255,.1); overflow: hidden; }
.light-stage::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(255,255,255,.06) 25%); }
.light-stage::after { content: ""; position: absolute; width: 66%; aspect-ratio: 1; left: 17%; top: 16%; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 90px rgba(255,201,130,.18); }
.light-beam { position: absolute; z-index: 2; width: 10px; height: 56%; left: calc(50% - 5px); top: 2%; background: linear-gradient(rgba(255,255,255,.9), rgba(255,194,113,.25), transparent); filter: blur(1px); box-shadow: 0 0 22px rgba(255,226,181,.72); }
.light-line { position: absolute; z-index: 2; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent); transform-origin: center; }
.light-line-a { width: 90%; left: 5%; top: 52%; transform: rotate(-31deg); }
.light-line-b { width: 70%; left: 15%; top: 65%; transform: rotate(36deg); opacity: .6; }
.stage-label { position: absolute; z-index: 3; right: 24px; bottom: 22px; color: rgba(255,255,255,.42); font-family: var(--mono); font-size: .65rem; letter-spacing: .11em; }
.market-rail { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 63px; align-items: center; color: rgba(255,255,255,.5); border-top: 1px solid var(--dark-border); font-family: var(--mono); font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; }
.market-rail span:not(:first-child) { padding-left: 30px; border-left: 1px solid var(--dark-border); }

.section-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr); gap: 70px; align-items: end; margin-bottom: 70px; }
.section-head h2 { max-width: 820px; margin-bottom: 0; }
.section-head > p { max-width: 520px; margin-bottom: 8px; color: var(--muted); }
.direction-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.direction-card { position: relative; min-height: 570px; padding: 28px 34px 38px; color: var(--ink); background: #e5e2d9; border-right: 1px solid rgba(16,17,15,.15); text-decoration: none; overflow: hidden; transition: transform .3s ease, background .3s ease; }
.direction-card:hover { z-index: 2; transform: translateY(-8px); background: var(--white); }
.direction-card-dark { color: var(--white); background: var(--coal); }
.direction-card-dark:hover { background: #24251f; }
.direction-index { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; }
.direction-icon { position: relative; display: block; height: 230px; margin: 48px -34px 46px; }
.icon-grid { background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), rgba(16,17,15,.14) 20%), repeating-linear-gradient(0deg, transparent 0 calc(25% - 1px), rgba(16,17,15,.14) 25%); }
.icon-grid::after { content: ""; position: absolute; width: 43%; height: 43%; top: 28%; left: 28%; background: radial-gradient(circle, rgba(230,84,45,.6), transparent 65%); border: 1px solid var(--signal); }
.icon-arc::before, .icon-arc::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }
.icon-arc::before { width: 260px; height: 260px; left: calc(50% - 130px); top: -12px; }
.icon-arc::after { width: 160px; height: 160px; left: calc(50% - 80px); top: 38px; box-shadow: 0 0 75px rgba(255,214,161,.22); }
.icon-bars { background: repeating-linear-gradient(90deg, transparent 0 12%, var(--signal) 12% 13%, transparent 13% 25%); transform: skewY(-8deg); }
.direction-card h3 { margin-bottom: 17px; }
.direction-card p { color: var(--muted); }
.direction-card-dark p { color: rgba(255,255,255,.6); }
.text-link { display: inline-block; color: var(--signal); font-family: var(--display); font-size: .78rem; font-weight: 650; letter-spacing: .055em; text-decoration: none; text-transform: uppercase; }
.direction-card .text-link { position: absolute; left: 34px; bottom: 34px; }

.requirements-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; align-items: start; }
.requirements-grid h2 { position: sticky; top: 130px; }
.requirements-list article { display: grid; grid-template-columns: 60px 1fr; gap: 25px; padding: 35px 0; border-top: 1px solid var(--dark-border); }
.requirements-list article:last-child { border-bottom: 1px solid var(--dark-border); }
.requirements-list article > span { color: var(--signal); font-family: var(--mono); font-size: .7rem; }
.requirements-list h3 { margin-bottom: 13px; }
.requirements-list p { max-width: 520px; margin-bottom: 0; color: rgba(255,255,255,.58); }

.process-section { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 0; list-style: none; counter-reset: process; }
.process-grid li { min-height: 340px; padding: 33px; border: 1px solid var(--border); border-right: 0; }
.process-grid li:last-child { border-right: 1px solid var(--border); }
.process-grid span { display: block; margin-bottom: 110px; color: var(--signal); font-family: var(--mono); font-size: .72rem; }
.process-grid p { color: var(--muted); }
.market-section { color: var(--white); background: var(--signal); }
.market-section .eyebrow { color: rgba(255,255,255,.65); }
.market-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 90px; align-items: end; }
.market-grid h2 { max-width: 880px; margin-bottom: 0; }
.region-list { border-top: 1px solid rgba(255,255,255,.38); }
.region-list span { display: block; padding: 19px 0; border-bottom: 1px solid rgba(255,255,255,.38); font-family: var(--display); font-size: 1.1rem; }
.final-cta { padding: clamp(85px, 10vw, 145px) 0; }
.final-cta-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 80px; align-items: end; }
.final-cta h2 { max-width: 830px; margin-bottom: 0; }
.final-cta-grid > div:last-child p { margin-bottom: 30px; color: rgba(255,255,255,.6); }

.page-hero, .standard-page-header { padding: calc(var(--header-height) + clamp(85px, 11vw, 155px)) 0 clamp(85px, 10vw, 140px); }
.page-hero h1, .standard-page-header h1 { max-width: 1050px; margin-bottom: 34px; }
.page-hero .narrow > p:last-child { max-width: 750px; margin-bottom: 0; color: rgba(255,255,255,.62); font-size: 1.2rem; }
.application-stack { border-top: 1px solid var(--border); }
.application-stack article { display: grid; grid-template-columns: .3fr .7fr; gap: 70px; padding: 80px 0; border-bottom: 1px solid var(--border); }
.application-number { color: var(--signal); font-family: var(--mono); font-size: .72rem; }
.application-stack h2 { max-width: 900px; }
.application-stack p:not(.eyebrow) { max-width: 700px; color: var(--muted); }
.custom-grid, .company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.brief-list { display: grid; grid-template-columns: 1fr 1fr; }
.brief-list article { min-height: 250px; padding: 28px; border: 1px solid var(--border); margin: -1px 0 0 -1px; }
.brief-list span { color: var(--signal); font-family: var(--mono); font-size: .72rem; }
.brief-list h3 { margin-top: 55px; }
.brief-list p, .company-grid p { color: var(--muted); }
.company-grid .large-copy { color: var(--ink); font-size: 1.45rem; line-height: 1.45; }
.split-cta { padding: 65px 0; color: var(--white); background: var(--signal); }
.split-cta .site-shell { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.split-cta h2 { margin: 0; font-size: clamp(2rem, 4vw, 4rem); }
.split-cta .button { background: var(--ink); border-color: var(--ink); }
.legal-page { padding: calc(var(--header-height) + 90px) 0 110px; background: var(--white); }
.prose { max-width: 880px; }
.prose h1 { font-size: clamp(3rem, 6vw, 6rem); }
.prose h2 { margin-top: 58px; font-size: 2rem; }
.prose p, .prose li { max-width: 72ch; color: #54564f; }
.archive-content { padding: calc(var(--header-height) + 80px) 0 100px; }
.error-page { min-height: 80vh; padding: calc(var(--header-height) + 120px) 0 100px; }

/* Product plugin presentation */
.ttch-shell, .ttch-rfq { width: var(--shell); max-width: none; margin-inline: auto; }
.ttch-catalog { padding: calc(var(--header-height) + 100px) 0 120px; }
.ttch-catalog > h1 { max-width: 1040px; margin-bottom: 55px; font-family: var(--display); font-size: clamp(3.2rem, 6vw, 6.5rem); }
.ttch-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 45px; }
.ttch-filter a { padding: 10px 15px; color: var(--muted); border: 1px solid var(--border); font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.ttch-filter a:hover, .ttch-filter a.is-active { color: var(--white); background: var(--ink); border-color: var(--ink); }
.ttch-product-grid, .ttch-featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.ttch-product-card, .ttch-featured-card { min-width: 0; background: var(--white); }
.ttch-product-card > a, .ttch-featured-card > a { display: block; height: 100%; color: inherit; text-decoration: none; }
.ttch-product-visual { position: relative; aspect-ratio: 1.15; background: #e9e7df; overflow: hidden; }
.ttch-product-image { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.ttch-product-card:hover .ttch-product-image, .ttch-featured-card:hover .ttch-product-image { transform: scale(1.025); }
.ttch-product-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at center, rgba(255,215,151,.42), transparent 18%), #e7e4db; }
.ttch-product-placeholder::before { content: ""; width: 42%; aspect-ratio: 1; border: 1px solid rgba(16,17,15,.18); border-radius: 50%; }
.ttch-product-placeholder i { position: absolute; width: 1px; height: 66%; background: linear-gradient(transparent, var(--signal), transparent); transform: rotate(38deg); }
.ttch-card-body { padding: 30px; }
.ttch-card-body h3 { margin-bottom: 14px; }
.ttch-card-body p { color: var(--muted); font-size: .93rem; }
.ttch-card-specs { padding: 17px 0 0; margin: 22px 0 0; border-top: 1px solid var(--border); list-style: none; }
.ttch-card-specs li { display: grid; grid-template-columns: .95fr 1.05fr; gap: 12px; padding: 5px 0; font-size: .78rem; }
.ttch-card-specs strong { color: var(--muted); font-family: var(--mono); font-size: .64rem; letter-spacing: .04em; text-transform: uppercase; }
.ttch-spec-value { overflow-wrap: anywhere; }
.ttch-card-link { display: block; margin-top: 25px; color: var(--signal); font-family: var(--display); font-size: .73rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.ttch-empty { grid-column: 1 / -1; padding: 90px clamp(30px, 8vw, 110px); color: var(--white); background: var(--ink); }
.ttch-empty h2 { max-width: 800px; }
.ttch-empty p { max-width: 700px; color: rgba(255,255,255,.6); }
.ttch-featured-products { background: #e8e5dc; }
.featured-products-footer { margin-top: 35px; }
.product-hero { padding: calc(var(--header-height) + 70px) 0 80px; }
.product-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8vw; align-items: center; }
.product-visual-large { position: relative; aspect-ratio: 1.12; background: #e7e4db; }
.product-visual-large img { width: 100%; height: 100%; object-fit: contain; }
.product-placeholder-large { position: absolute; inset: 0; background: radial-gradient(circle, rgba(255,216,153,.4), transparent 18%), repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), rgba(16,17,15,.08) 20%); }
.product-placeholder-large::after { content: ""; position: absolute; width: 43%; aspect-ratio: 1; top: 28%; left: 28%; border: 1px solid var(--signal); border-radius: 50%; }
.product-intro h1 { font-size: clamp(3.4rem, 6vw, 6.6rem); overflow-wrap: anywhere; }
.product-lead { color: rgba(255,255,255,.62); font-size: 1.15rem; }
.product-content { padding: 90px 0 120px; }
.ttch-product-specs { margin-top: 75px; }
.ttch-product-specs h2 { font-size: clamp(2.1rem, 4vw, 4.2rem); }
.spec-list { margin: 40px 0 0; border-top: 1px solid var(--border); }
.spec-list > div { display: grid; grid-template-columns: .42fr .58fr; gap: 40px; padding: 17px 0; border-bottom: 1px solid var(--border); }
.spec-list dt { color: var(--muted); font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.spec-list dd { margin: 0; color: var(--ink); }

.ttch-rfq { padding: 95px clamp(25px, 6vw, 80px); margin-top: 90px; margin-bottom: 120px; color: var(--white); background: var(--ink); }
.ttch-rfq h2 { max-width: 920px; margin-bottom: 25px; font-family: var(--display); font-size: clamp(2.6rem, 5vw, 5.3rem); }
.ttch-rfq-intro { max-width: 720px; margin-bottom: 50px; color: rgba(255,255,255,.62); }
.ttch-form { display: grid; gap: 22px; }
.ttch-two, .ttch-three { display: grid; gap: 22px; }
.ttch-two { grid-template-columns: repeat(2, 1fr); }
.ttch-three { grid-template-columns: repeat(3, 1fr); }
.ttch-field { display: grid; gap: 9px; color: rgba(255,255,255,.78); font-family: var(--mono); font-size: .7rem; font-weight: 650; letter-spacing: .045em; text-transform: uppercase; }
.ttch-field input, .ttch-field select, .ttch-field textarea { width: 100%; min-height: 52px; padding: 12px 14px; color: var(--white); background: #20211e; border: 1px solid rgba(255,255,255,.2); border-radius: 0; font-family: var(--body); font-size: 1rem; letter-spacing: 0; text-transform: none; outline: none; }
.ttch-field textarea { min-height: 155px; resize: vertical; }
.ttch-field input:focus, .ttch-field select:focus, .ttch-field textarea:focus { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal); }
.ttch-field select { color-scheme: dark; }
.ttch-field small { color: rgba(255,255,255,.45); font-family: var(--body); font-size: .76rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.ttch-consent { display: flex; align-items: flex-start; gap: 11px; max-width: 800px; color: rgba(255,255,255,.65); font-size: .84rem; }
.ttch-consent input { margin-top: 5px; accent-color: var(--signal); }
.ttch-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ttch-form .ttch-button { width: max-content; margin-top: 10px; }
.ttch-notice { padding: 20px; border: 1px solid rgba(255,255,255,.25); }
.ttch-notice--success { border-color: var(--success); background: rgba(36,123,88,.14); }
.ttch-notice p { margin: 0; }

.site-footer { color: var(--white); background: #090a08; }
.footer-top { display: grid; grid-template-columns: 1.1fr 1fr .8fr; gap: 75px; padding: 80px 0; border-bottom: 1px solid var(--dark-border); }
.footer-brand p { max-width: 370px; margin: 28px 0 0; color: rgba(255,255,255,.45); }
.footer-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; padding: 0; margin: 0; list-style: none; }
.footer-nav a { color: rgba(255,255,255,.68); font-size: .9rem; text-decoration: none; }
.footer-contact a { color: var(--white); font-family: var(--display); font-size: 1.2rem; text-decoration: none; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 24px 0; color: rgba(255,255,255,.38); font-family: var(--mono); font-size: .65rem; letter-spacing: .06em; text-transform: uppercase; }
.legal-links { display: flex; gap: 24px; }
.legal-links a { text-decoration: none; }

.reveal-on-scroll { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal-on-scroll.is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  :root { --shell: min(100% - 48px, 1360px); }
  .header-inner { grid-template-columns: 1fr auto; }
  .site-nav { position: absolute; inset: 100% 0 auto; width: 100vw; height: calc(100vh - var(--header-height)); padding: 50px 24px; color: var(--white); background: var(--ink); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
  .nav-open .site-nav { visibility: visible; opacity: 1; }
  .site-nav ul { display: grid; gap: 0; }
  .site-nav a { padding: 17px 0; border-bottom: 1px solid var(--dark-border); font-size: 1.35rem; }
  .nav-toggle { display: block; justify-self: end; }
  .header-actions { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
  .direction-card { min-height: 520px; padding-inline: 25px; }
  .direction-icon { margin-inline: -25px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  :root { --shell: min(100% - 34px, 1360px); --header-height: 70px; }
  body { font-size: 16px; }
  h1 { font-size: clamp(3rem, 15vw, 5.2rem); }
  h2 { font-size: clamp(2.25rem, 11vw, 4rem); }
  .section { padding: 78px 0; }
  .brand-name { font-size: .92rem; }
  .admin-bar .site-header { top: 46px; }
  .admin-bar .site-main { padding-top: 46px; }
  .admin-bar .site-nav { height: calc(100vh - var(--header-height) - 46px); }
  .hero { min-height: auto; }
  .hero::before { display: none; }
  .hero-grid { position: relative; grid-template-columns: 1fr; min-height: auto; padding: 70px 0 20px; }
  .hero h1 { font-size: clamp(3.4rem, 17vw, 5.7rem); }
  .hero-lead { font-size: 1rem; }
  .light-stage { position: absolute; z-index: 0; inset: 38px -17px 0; height: 620px; min-height: 0; max-height: none; aspect-ratio: auto; opacity: .24; pointer-events: none; }
  .hero-copy { padding-bottom: 8px; }
  .market-rail { grid-template-columns: 1fr; padding: 18px 0; gap: 10px; }
  .market-rail span:not(:first-child) { padding-left: 0; border-left: 0; }
  .section-head, .requirements-grid, .market-grid, .final-cta-grid, .custom-grid, .company-grid, .product-hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .section-head { margin-bottom: 45px; }
  .direction-grid, .process-grid, .ttch-product-grid, .ttch-featured-grid { grid-template-columns: 1fr; }
  .direction-card { min-height: 500px; border-right: 0; border-bottom: 1px solid rgba(16,17,15,.14); }
  .requirements-grid h2 { position: static; }
  .process-grid li { min-height: auto; border-right: 1px solid var(--border); border-bottom: 0; }
  .process-grid li:last-child { border-bottom: 1px solid var(--border); }
  .process-grid span { margin-bottom: 65px; }
  .page-hero, .standard-page-header { padding-top: calc(var(--header-height) + 80px); }
  .application-stack article { grid-template-columns: 50px 1fr; gap: 20px; padding: 55px 0; }
  .brief-list { grid-template-columns: 1fr; }
  .split-cta .site-shell { align-items: flex-start; flex-direction: column; }
  .ttch-catalog { padding-top: calc(var(--header-height) + 75px); }
  .ttch-two, .ttch-three { grid-template-columns: 1fr; }
  .ttch-rfq { width: 100%; padding: 70px 17px; margin-bottom: 0; }
  .spec-list > div { grid-template-columns: 1fr; gap: 5px; }
  .footer-top { grid-template-columns: 1fr; gap: 45px; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

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