/* ============================================================
   EMS BIOMETRIC — design-tokens.css · T2 Chroma Green
   Style selected by user: terminal/tech, dark + green, no glow,
   no cursor effects. Images NEVER stylized (original colors).
   Class contract: only classes below may be used by coder workers.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --black: #0B0B0C;
  --panel: #121315;
  --panel-2: #16181A;
  --line: #23262A;
  --green: #44D62C;
  --green-ink: #0A1A05;
  --white: #EDEDED;
  --muted: #8A8E93;
  --dim: #55585E;

  --font-display: "Oxanium", sans-serif;
  --font-body: "Public Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-utility: "Share Tech Mono", ui-monospace, monospace;

  --radius: 4px;
  --container: 1200px;
  --header-h: 68px;

  /* type scale */
  --fs-h1: clamp(34px, 5vw, 62px);
  --fs-h2: clamp(26px, 3.4vw, 40px);
  --fs-h3: clamp(19px, 2.2vw, 22px);
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-uti: 12px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.18; margin: 0 0 18px 0; color: var(--white); }
h1 { font-size: var(--fs-h1); letter-spacing: 0.005em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 16px 0; }
ul, ol { margin: 0 0 16px 0; padding-left: 22px; }
li { margin-bottom: 6px; }
::selection { background: var(--green); color: var(--green-ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tint { background: var(--panel); }
.section--cut { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.section--dark { background: #060607; }
.main { min-height: 60vh; }

/* grid */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid > *, .grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Eyebrow / Terminal label (P12 adapted) ---------- */
.eyebrow { font-family: var(--font-utility); font-size: var(--fs-uti); letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin: 0 0 14px 0; }
.eyebrow::before { content: "● "; color: var(--green); }

/* ---------- Status bar (signature 1) ---------- */
.status-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-block: 1px solid var(--line); background: #060607; padding: 10px 0; font-family: var(--font-utility); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.status-bar .led-green { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; margin-right: 6px; flex: none; }
.status-bar b { color: var(--white); font-weight: 600; }
.status-bar .sb-stats { display: flex; gap: 28px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .status-bar { flex-direction: column; align-items: flex-start; gap: 6px; }
  .status-bar .sb-stats { display: flex; gap: 14px; flex-wrap: wrap; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1; padding: 14px 26px; border-radius: var(--radius); border: 1px solid transparent; text-decoration: none; min-height: 48px; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.btn:hover { text-decoration: none; }
.btn--solid { background: var(--green); color: var(--green-ink); }
.btn--solid:hover { background: #55E43C; }
.btn--line { border-color: var(--green); color: var(--green); background: transparent; }
.btn--line:hover { background: rgba(68, 214, 44, 0.08); }
.btn--ghost { border-color: var(--line); color: var(--white); }
.btn--ghost:hover { border-color: var(--green); }
.btn--sm { font-size: 14px; padding: 10px 18px; min-height: 42px; }

/* ---------- Header / Nav (single template via blocks/nav.html) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 12, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: 0.03em; color: var(--white); }
.brand:hover { text-decoration: none; }
.brand img { height: 32px; width: auto; }
.brand .brand-sub { font-family: var(--font-utility); font-size: 10px; letter-spacing: 0.22em; color: var(--muted); text-transform: uppercase; display: block; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav .nav-item { position: relative; }
.site-nav a.nav-link { display: inline-block; color: var(--white); font-size: 14px; font-weight: 500; padding: 12px 14px; border-radius: var(--radius); text-decoration: none; }
.site-nav a.nav-link:hover { color: var(--green); background: var(--panel); }
.site-nav a.nav-link.is-active { color: var(--green); }
.site-nav .drop { position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; display: none; z-index: 60; }
.site-nav .nav-item:hover .drop, .site-nav .nav-item:focus-within .drop { display: block; }
.site-nav .drop a { display: block; padding: 10px 12px; border-radius: var(--radius); color: var(--white); font-size: 14px; text-decoration: none; }
.site-nav .drop a:hover { background: var(--panel-2); color: var(--green); }
.nav-burger { display: none; background: none; border: 1px solid var(--line); color: var(--white); font-size: 20px; border-radius: var(--radius); width: 44px; height: 44px; }
@media (max-width: 1000px) {
  .site-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--black); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px; }
  .site-nav .drop { position: static; display: none; border: none; padding-left: 14px; }
  .site-nav .nav-item.is-open .drop { display: block; }
  .nav-burger { display: block; }
}

/* ---------- Footer (single template via blocks/footer.html) ---------- */
.site-footer { border-top: 1px solid var(--line); background: #060607; padding: 56px 0 28px; }
.site-footer .foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 34px; }
.site-footer .foot-h { font-family: var(--font-utility); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px 0; }
.site-footer a { color: var(--white); display: block; padding: 8px 0; font-size: 14px; }
.site-footer a:hover { color: var(--green); }
.site-footer .foot-brand { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.site-footer .foot-note { color: var(--muted); font-size: 14px; line-height: 1.7; }
.site-footer .foot-bottom { border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--dim); font-size: 14px; }
@media (max-width: 900px) { .site-footer .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Hero variants (P1) ---------- */
.hero { position: relative; overflow: hidden; background: var(--black); }
.hero .h-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; padding: 68px 0; min-height: 520px; outline: 1px solid var(--line); }
/* P1b dark: left copy + right media (T2 signature) */
.hero--p1b .h-media { position: relative; }
.hero--p1b .h-media img, .hero--p1b .h-media .ph-hold { width: 100%; height: 100%; object-fit: cover; }
.hero--p1b .h-media.ar-3-2 { aspect-ratio: 1 / 1; }
.hero--p1b .h-media.ar-1-1 { aspect-ratio: 1 / 1; }
.hero--p1b .h-media.ar-2-3 { aspect-ratio: 1 / 1; }
/* P1c: full-bleed background image + overlay + left text */
.hero--p1c { background-position: center; background-size: cover; background-repeat: no-repeat; }
.hero--p1c .h-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); background: linear-gradient(100deg, rgba(11, 11, 12, 0.94) 0%, rgba(11, 11, 12, 0.82) 46%, rgba(11, 11, 12, 0.35) 100%); outline: none; min-height: 560px; }
/* P1d: light text hero, no image */
.hero--p1d { border-bottom: 1px solid var(--line); background: #060607; }
.hero--p1d .h-inner { display: block; padding: 44px 0 36px; min-height: 0; outline: none; }
/* P1e: subsection themed bg images via --hero-img */
.hero--p1e { background-image: var(--hero-img, none); background-size: cover; background-position: center; }
.hero--p1e .h-inner { background: linear-gradient(100deg, rgba(11, 11, 12, 0.93) 0%, rgba(11, 11, 12, 0.78) 55%, rgba(11, 11, 12, 0.4) 100%); }
/* P1a: centered */
.hero--p1a .h-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; background: linear-gradient(180deg, rgba(11, 11, 12, 0.55), rgba(11, 11, 12, 0.92)); }
.hero .h-kicker { font-family: var(--font-utility); font-size: 12px; letter-spacing: 0.18em; color: var(--green); text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { margin-bottom: 16px; }
.hero .h-sub { color: var(--muted); font-size: 17px; max-width: 54ch; margin-bottom: 26px; }
.hero .h-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .h-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.hero .h-stats span { font-family: var(--font-utility); font-size: 12px; padding: 7px 12px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--white); background: rgba(18, 19, 21, 0.7); }
.hero .h-stats i { font-style: normal; color: var(--green); margin-right: 7px; }

/* ---------- Hero home (full-bleed media, left text) ---------- */
.hero-home { position: relative; overflow: hidden; background: var(--black); }
.hero-home__bg { position: absolute; inset: 0; }
.hero-home__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-home__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,12,0.97) 0%, rgba(11,11,12,0.87) 32%, rgba(11,11,12,0.45) 62%, rgba(11,11,12,0.06) 100%); }
.hero-home .container { position: relative; }
.hero-home__in { position: relative; z-index: 1; max-width: 640px; padding: clamp(88px, 10vw, 140px) 0 clamp(76px, 8vw, 116px); }
.hero-home .eyebrow { font-family: var(--font-utility); font-size: 12.5px; letter-spacing: 0.18em; color: var(--green); text-transform: uppercase; margin: 0 0 14px; }
.hero-home h1 { color: var(--white); font-size: clamp(38px, 4.6vw, 60px); line-height: 1.06; margin-bottom: 18px; }
.hero-home .lead { color: var(--white); opacity: 0.92; font-size: 17.5px; max-width: 56ch; margin: 0 0 28px; }
.hero-home .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-home .hero-coords { font-family: var(--font-utility); font-size: 12.5px; letter-spacing: 0.14em; color: var(--green); text-transform: uppercase; margin: 0; }
@media (max-width: 760px) {
  .hero-home__bg img { object-position: 74% 50%; }
  .hero-home__bg::after { background: linear-gradient(180deg, rgba(11,11,12,0.60) 0%, rgba(11,11,12,0.52) 45%, rgba(11,11,12,0.94) 100%); }
  .hero-home__in { max-width: 100%; padding: 64px 0 56px; }
}
@media (max-width: 1000px) {
  .hero .h-inner, .hero--p1c .h-inner { grid-template-columns: 1fr; min-height: 0; gap: 26px; }
  .hero--p1c .h-inner { padding-top: 200px; }
}

/* ---------- Spec Card (P3) ---------- */
.spec-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.spec-card .sc-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--font-utility); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.spec-card table { width: 100%; border-collapse: collapse; }
.spec-card th, .spec-card td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-card th { font-family: var(--font-utility); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); font-weight: 400; }
.spec-card td { color: var(--white); font-family: var(--font-utility); font-size: 14px; }
.spec-card td b { color: var(--green); font-weight: 600; }

/* ---------- Volt number (signature 2) ---------- */
.volt { font-family: var(--font-utility); color: var(--green); letter-spacing: 0.02em; line-height: 1; }

/* ---------- Stats band (P4) ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 22px; }
.stat-card .n { font-family: var(--font-utility); font-size: clamp(28px, 3.4vw, 44px); color: var(--green); line-height: 1; margin-bottom: 10px; }
.stat-card .l { font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stats-band { grid-template-columns: 1fr; } }

/* ---------- Cards (P8) ---------- */
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; display: flex; flex-direction: column; }
.card .card-media { position: relative; overflow: hidden; }
.card .card-media img { width: 100%; object-fit: cover; }
.card .card-media.ar-3-2 { aspect-ratio: 1 / 1; }
.card .card-media.ar-1-1 { aspect-ratio: 1 / 1; }
.card .card-media.ar-2-3 { aspect-ratio: 1 / 1; }
.card .card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .card-title { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin: 0; }
.card .card-desc { font-size: 14px; color: var(--muted); margin: 0; }
.card .card-tag { font-family: var(--font-utility); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.card .card-cta { margin-top: auto; padding-top: 10px; font-size: 14px; color: var(--green); font-weight: 600; }
a.card, .card a.card-link { text-decoration: none; }
a.card:hover, .card:hover { border-color: var(--green); }
.card:hover .card-title { color: var(--green); }

/* ---------- Split (P2) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 40px; }
.split.rev .split-media { order: 2; }
.split .split-media { position: relative; width: 100%; min-width: 0; }
.split .split-media img { width: 100%; height: 100%; object-fit: cover; }
.split .split-media.ar-3-2, .split .split-media.h-3-2 { aspect-ratio: 1 / 1; }
.split .split-media.ar-2-3 { aspect-ratio: 1 / 1; }
.split .split-media.ar-1-1 { aspect-ratio: 1 / 1; }
.split .split-body { align-self: center; }
.split .split-body h2, .split .split-body h3 { margin-bottom: 18px; }
.split .split-body ul { color: var(--muted); }
.split .split-body li { margin-bottom: 10px; }
.split .split-body li b { color: var(--white); }
@media (max-width: 900px) { .split, .split.rev { grid-template-columns: 1fr; } .split.rev .split-media { order: 0; } }

/* ---------- Spec table (P5) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.spec-table th { font-family: var(--font-utility); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 12px 16px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--white); }
.spec-table td:first-child { font-family: var(--font-utility); font-size: 12.5px; color: var(--muted); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td b { color: var(--green); font-weight: 600; }
.spec-table a { color: var(--green); font-weight: 600; }

/* ---------- Steps (P6) ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps--6 { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 22px 20px; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-utility); font-size: 13px; color: var(--green); letter-spacing: 0.1em; display: block; margin-bottom: 12px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .steps--4, .steps--6, .steps--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps--4, .steps--6, .steps--3 { grid-template-columns: 1fr; } }

/* ---------- FAQ (P7) ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: none; color: var(--white); font-family: var(--font-body); font-weight: 600; font-size: 16px; text-align: left; padding: 18px 40px 18px 0; position: relative; min-height: 52px; }
.faq-q::after { content: '▾'; position: absolute; right: 6px; top: 18px; color: var(--green); transition: transform 0.18s ease; }
.faq-item.is-open .faq-q::after { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 40px 18px 0; color: var(--muted); font-size: 14.5px; }
.faq-item.is-open .faq-a { display: block; }

/* ---------- Quote band (P9) ---------- */
.quote-band { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(120deg, var(--panel) 0%, var(--panel-2) 100%); padding: 46px 44px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 30px; }
.quote-band h2 { margin-bottom: 8px; }
.quote-band p { color: var(--muted); margin: 0; max-width: 56ch; }
.quote-band .btn { flex: none; }
@media (max-width: 820px) { .quote-band { grid-template-columns: 1fr; padding: 32px 26px; } }

/* ---------- Timeline (P10) ---------- */
.timeline { border-left: 1px solid var(--line); margin-left: 10px; padding-left: 28px; }
.timeline .tl-item { position: relative; padding: 0 0 26px; }
.timeline .tl-item::before { content: ""; position: absolute; left: -33px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.timeline .tl-year { font-family: var(--font-utility); color: var(--green); font-size: 14px; letter-spacing: 0.06em; margin-bottom: 6px; }
.timeline h3 { font-size: 17px; margin-bottom: 8px; }
.timeline p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Cert / logo wall (P11) ---------- */
.cert-wall { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: row; gap: 16px; }
.cert-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.cert-card .img-hold { aspect-ratio: 3 / 2; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.cert-card .img-hold img { width: 100%; height: 100%; object-fit: contain; }
.cert-card h3 { font-size: 15px; margin: 0; }
.cert-card p { font-size: 14px; color: var(--muted); margin: 0; }
.cert-card .tag { font-family: var(--font-utility); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 960px) { .cert-wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cert-wall { grid-template-columns: 1fr; } }

/* ---------- Corner overlay (signature 3) ---------- */
.corner-au { position: relative; }
.corner-au img { width: 100%; height: 100%; object-fit: cover; }
.corner-au::before, .corner-au::after { content: ""; position: absolute; width: 18px; height: 18px; border-color: var(--green); border-style: solid; pointer-events: none; z-index: 1; }
.corner-au::before { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.corner-au::after { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }

/* ---------- Stamp (signature 4) ---------- */
.stamp { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-utility); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); border: 1px solid var(--green); border-radius: var(--radius); padding: 7px 12px; }
.stamp i { font-style: normal; background: var(--green); color: var(--green-ink); border-radius: 2px; padding: 1px 5px; font-weight: 600; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-utility); font-size: 12px; color: var(--dim); margin: 20px 0 4px; }
.breadcrumb a { color: var(--muted); padding: 6px 4px; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { color: var(--dim); }

/* ---------- Product detail internals ---------- */
.sku-hero-label { font-family: var(--font-utility); font-size: 12px; letter-spacing: 0.18em; color: var(--green); text-transform: uppercase; margin-bottom: 8px; }
.sku-line { display: inline-block; font-family: var(--font-utility); color: var(--dim); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }

/* ---------- Modal (inquiry, left image + right form) ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(6, 6, 7, 0.82); z-index: 90; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.is-open { display: flex; }
.modal-dialog { width: 100%; max-width: 820px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; max-height: 92vh; }
.modal-image-panel { position: relative; min-height: 420px; }
.modal-image-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-image-panel .mi-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,0.2) 0%, rgba(11,11,12,0.88) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.modal-image-panel .mi-shade h3 { margin: 0 0 4px; font-size: 20px; }
.modal-image-panel .mi-shade p { margin: 0; color: var(--muted); font-size: 14px; }
.modal-form-panel { padding: 28px; overflow-y: auto; }
.modal-form-panel h3 { margin-bottom: 16px; }
.modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--green-ink); color: var(--white); border: 1px solid var(--line); border-radius: var(--radius); width: 38px; height: 38px; font-size: 16px; }
@media (max-width: 760px) { .modal-dialog { grid-template-columns: 1fr; } .modal-image-panel { min-height: 160px; } .modal-image-panel .mi-shade { display: none; } }

/* ---------- Forms ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row.single { grid-template-columns: 1fr; }
.field { margin-bottom: 14px; }
.field label { display: block; font-family: var(--font-utility); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; background: var(--black); border: 1px solid var(--line); border-radius: var(--radius); color: var(--white); font-family: inherit; font-size: 14px; padding: 12px 14px; min-height: 46px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Contact info card ---------- */
.info-card { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 22px; }
.info-card .ic-title { font-family: var(--font-utility); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.info-card p { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.info-card b { color: var(--white); }

/* ---------- Testimonial (P13) ---------- */
.testi { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 24px; }
.testi .t-quote { font-size: 15px; line-height: 1.7; color: var(--white); margin-bottom: 14px; }
.testi .t-who { font-family: var(--font-utility); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.testi .t-who b { color: var(--green); }

/* ---------- Placeholder image hold (pre-img2img) ---------- */
.ph-hold { display: flex; align-items: center; justify-content: center; border: 1px dashed var(--line); border-radius: var(--radius); background: repeating-linear-gradient(45deg, var(--panel) 0 12px, var(--panel-2) 12px 24px); color: var(--dim); font-family: var(--font-utility); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; text-align: center; padding: 14px; min-height: 120px; }

/* ---------- Utilities ---------- */
.uti { font-family: var(--font-utility); font-size: var(--fs-uti); letter-spacing: 0.08em; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 18px; color: var(--muted); }
.two-col { column-gap: 48px; }
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .related { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .related { grid-template-columns: 1fr; } }

/* ---------- Motion (static-only design) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.45s ease, transform 0.45s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--green); color: var(--green-ink); padding: 10px 16px; z-index: 200; font-weight: 700; }
.skip-link:focus { left: 0; }
