/* ==========================================================================
   GSC Web (https://www.gsc.hk/) — v8 Modern Cloudflare Pages Edition
   - Self-hosted Latin woff2 typography (Plus Jakarta Sans / Inter / IBM Plex Mono)
     with zero overseas CDN blockage for fast Mainland China + Global loads
   - Locked 3-layer smoked glass aesthetic enhanced with native backdrop-filter,
     subtle elevation shadows, and smooth CSS micro-interactions
   - Flagship desktop (1080px master axis) + tablet + mobile (390px/430px) layout
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/plus-jakarta-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/plus-jakarta-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --bg-obsidian: #080C14;
  --glass-stage: rgba(12, 17, 27, 0.56);
  --glass-card: rgba(255, 255, 255, 0.042);
  --glass-card-hover: rgba(255, 255, 255, 0.068);

  --ink-primary: #F8FAFC;
  --ink-secondary: #CBD5E1;
  --ink-muted: #94A3B8;
  --crimson: #E11D48;
  --crimson-bright: #FB3763;
  --crimson-link: #F43F5E;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-obsidian);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.65;
  letter-spacing: -0.004em;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

img {
  display: block;
  max-width: 100%;
  border: 0;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

/* 1180px master axis (restrained spacious framing on 16" laptops & desktops) */
.wrap {
  width: 1180px;
  margin: 0 auto;
}

/* ==========================================================================
   MASTER HEADER (Clean unboxed logo + Apple-style Liquid Glass pill nav)
   ========================================================================== */
.master-header {
  width: 100%;
  padding: 24px 0 16px 0;
  background-color: transparent;
}

.header-inner {
  width: 1180px;
  margin: 0 auto;
  height: 62px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  width: 318px;
  height: 50px;
  flex-shrink: 0;
  opacity: 0.96;
  transition: opacity 200ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.header-logo:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.header-logo img {
  width: 318px;
  height: 50px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-liquid {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.035) 60%, rgba(255, 255, 255, 0.065) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px) saturate(145%);
  -webkit-backdrop-filter: blur(10px) saturate(145%);
  transition:
    transform 420ms cubic-bezier(0.22, 1.12, 0.36, 1),
    width 420ms cubic-bezier(0.22, 1.12, 0.36, 1),
    opacity 200ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
  will-change: transform, width;
}

.nav-group.has-liquid .nav-liquid {
  opacity: 1;
}

.nav-group.is-hovering .nav-liquid {
  border-color: rgba(255, 255, 255, 0.19);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

.nav-link {
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
  font-size: 13.8px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #CBD5E1;
  padding: 8px 18px;
  border-radius: 999px;
  line-height: 1.2;
  transition: color 200ms ease;
}

.nav-link:hover {
  color: #FFFFFF;
}

.nav-link.active {
  color: #FFFFFF;
  font-weight: 600;
}

/* Fallback static glass pill when JS has not initialized yet */
.nav-group:not(.has-liquid) .nav-link.active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.09) 100%);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 3px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--crimson);
}

.btn-header {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  background: linear-gradient(180deg, rgba(225, 29, 72, 0.28) 0%, rgba(190, 18, 60, 0.20) 100%);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  padding: 0 22px;
  border: 1px solid rgba(244, 63, 94, 0.56);
  border-radius: 999px;
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.34);
  transition: transform 240ms cubic-bezier(0.22, 1.15, 0.36, 1), border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.btn-header::before,
.btn-red::before,
.btn-outline-light::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(110px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03) 48%, transparent 72%);
  transition: opacity 240ms ease;
}

.btn-header:hover::before,
.btn-red:hover::before,
.btn-outline-light:hover::before {
  opacity: 1;
}

.btn-header:hover {
  border-color: rgba(253, 164, 175, 0.82);
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.88) 0%, rgba(225, 29, 72, 0.92) 100%);
  transform: translateY(-1px) scale(1.015);
  box-shadow: 0 10px 26px rgba(225, 29, 72, 0.38), inset 0 1px 1px rgba(255, 255, 255, 0.55);
}

.btn-header.active {
  border-color: var(--crimson-bright);
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.92) 0%, rgba(225, 29, 72, 0.96) 100%);
  box-shadow: 0 8px 22px rgba(225, 29, 72, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.48);
}

/* Mobile-only header & quick-contact bars (hidden on desktop >= 821px) */
.mob-nav-actions,
.mob-quick-contact,
.mob-metrics-bar {
  display: none;
}

/* Anchor scroll offset for sticky mobile header */
[id] {
  scroll-margin-top: 72px;
}

/* Keyboard focus ring consistency */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--crimson-link);
  outline-offset: 2px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-red {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--crimson);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 13px 24px;
  border: 1px solid var(--crimson);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.28);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.btn-red:hover {
  background-color: var(--crimson-bright);
  border-color: var(--crimson-bright);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.36);
}

.btn-outline-light {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: rgba(255, 255, 255, 0.045);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 13px 24px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
}

.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.68);
  background-color: rgba(255, 255, 255, 0.10);
  transform: translateY(-1px);
}

.btn-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   LOCKED 3-LAYER SHELL: 1920x1360 Baked 0.48 Backdrop + Native Frosted Glass
   ========================================================================== */
.stage-band {
  width: 100%;
  padding: 0;
  min-height: 1360px;
  background-color: var(--bg-obsidian);
  background-image: url("assets/v4/backdrop-cnc.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: max(1920px, 100%) auto;
  color: var(--ink-primary);
}

.stage-veil {
  width: 100%;
  min-height: 1360px;
}

/* Smoked Apple-grade frosted glass stage panel (1180px x >=1120px unified across all 4 pages) */
.stage-frame {
  width: 1180px;
  min-height: 1120px;
  margin: 14px auto 0;
  background: linear-gradient(180deg, rgba(16, 22, 35, 0.62) 0%, rgba(11, 16, 26, 0.58) 100%);
  backdrop-filter: blur(10px) saturate(128%);
  -webkit-backdrop-filter: blur(10px) saturate(128%);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.44);
  padding: 48px 56px 50px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
}

/* ==========================================================================
   TYPOGRAPHY SYSTEM (Plus Jakarta Sans 600/700 · Inter OpenType · IBM Plex Mono)
   ========================================================================== */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 13px 0;
}

.eyebrow-bar {
  display: inline-block;
  width: 18px;
  height: 2px;
  background-color: var(--crimson);
  border-radius: 1px;
  flex-shrink: 0;
}

.stage-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: #FFFFFF;
  margin: 0 0 10px 0;
  text-wrap: balance;
}

.stage-sub {
  font-size: 15px;
  line-height: 1.68;
  color: var(--ink-secondary);
  max-width: 62ch;
  text-wrap: balance;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.page-head-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
  padding-bottom: 4px;
}

.glass-box {
  background-color: var(--glass-card);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.09);
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: border-color 200ms ease, background-color 200ms ease;
}

.glass-box-interactive:hover {
  background-color: var(--glass-card-hover);
  border-top-color: rgba(255, 255, 255, 0.26);
  border-left-color: rgba(255, 255, 255, 0.15);
  border-right-color: rgba(255, 255, 255, 0.15);
}

.slash {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--crimson-link);
  padding: 0 9px;
}

/* ==========================================================================
   HOME: EXECUTIVE HERO SPLIT + MISSION STRIP + 3 GLASS CARDS + BRAND DOCK
   ========================================================================== */
.home-hero-grid {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 56px;
}

.home-hero-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-title {
  font-family: var(--font-display);
  font-size: 41px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0 0 18px 0;
}

.home-lead {
  font-size: 15.5px;
  line-height: 1.74;
  color: var(--ink-secondary);
  margin: 0 0 28px 0;
  max-width: 560px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 6 3 3;
  text-wrap: pretty;
}

.home-metrics {
  width: 356px;
  flex-shrink: 0;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 20px;
}

.metric-cell {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.metric-val {
  font-family: var(--font-display);
  font-size: 19.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  line-height: 1.24;
  margin-bottom: 5px;
}

.metric-accent {
  color: var(--crimson-link);
}

.metric-lbl {
  font-size: 12.6px;
  line-height: 1.5;
  color: var(--ink-muted);
  text-wrap: balance;
}

/* Mission Accent Strip */
.mission-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 28px;
  background-color: rgba(255, 255, 255, 0.032);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--crimson);
  border-radius: 4px 14px 14px 4px;
}

.mission-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.014em;
  color: #F8FAFC;
  margin: 0 0 7px 0;
}

.mission-sub {
  font-size: 14px;
  line-height: 1.66;
  color: var(--ink-muted);
  max-width: 660px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 6 3 3;
  text-wrap: pretty;
}

.mission-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #CBD5E1;
  white-space: nowrap;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  background-color: rgba(10, 15, 24, 0.42);
}

/* 3 Elevated Glass Capability Cards */
.do-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.do-card {
  padding: 18px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.do-photo {
  width: 100%;
  height: 178px;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background-color: #131A26;
  margin: 0 0 18px 0;
}

.do-title {
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.014em;
  color: #FFFFFF;
  margin: 0 0 8px 0;
}

.do-line {
  font-size: 13.6px;
  line-height: 1.66;
  color: var(--ink-muted);
  margin: 0 0 16px 0;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 6 3 3;
  text-wrap: pretty;
}

.do-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: var(--crimson-link);
}

.do-link:hover {
  color: #FDA4AF;
}

/* Bottom Brand & CTA Dock */
.brand-dock {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.brand-strip .slash {
  font-size: 14px;
}

.brand-link {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #F8FAFC;
}

.brand-link:hover {
  color: var(--crimson-link);
}

/* ==========================================================================
   PRODUCTS: 5 ELEVATED PRECISION EXHIBIT TRAYS (Locked hierarchy & links)
   ========================================================================== */
.exhibit-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.exhibit-card {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 22px 14px 16px;
}

.row-photo {
  width: 256px;
  height: 144px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: #F4F6F9;
  padding: 4px;
}

.row-copy {
  flex: 1;
  min-width: 0;
}

.brand-head-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 5px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 21.5px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.016em;
  color: #FFFFFF;
}

.brand-role {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.row-sub {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: #E2E8F0;
  margin: 0 0 7px 0;
}

.row-voice {
  font-size: 13.8px;
  font-style: italic;
  line-height: 1.55;
  color: #94A3B8;
  margin: 0 0 10px 0;
}

.voice-src {
  font-style: normal;
  font-weight: 600;
  color: #CBD5E1;
}

.row-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--crimson-link);
}

.row-link:hover {
  color: #FDA4AF;
}

/* ==========================================================================
   SERVICES: 3 CAPABILITY CARDS + 4 FRAMED INDUSTRY SHOWCASE CARDS
   ========================================================================== */
.service-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-card {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 28px 18px 18px;
}

.service-photo {
  width: 260px;
  height: 146px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: #131A26;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.service-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #94A3B8;
  padding: 3px 8px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.track-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.track-head .eyebrow {
  margin: 0;
}

.track-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.track-card {
  padding: 12px 12px 15px 12px;
  border-color: rgba(255, 255, 255, 0.075);
}

.track-photo {
  width: 100%;
  height: 126px;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background-color: #131A26;
  margin-bottom: 10px;
}

.track-label {
  font-family: var(--font-display);
  font-size: 13.8px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 3px;
}

.service-card .row-sub {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 6 3 3;
  text-wrap: pretty;
}

.track-note {
  font-size: 12.6px;
  line-height: 1.45;
  color: var(--ink-muted);
  text-wrap: balance;
}

.installed-note {
  margin-top: 12px;
  font-size: 12.8px;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* ==========================================================================
   CONTACT: ELEVATED FORM CARD + DUAL HQ/BRANDS STACK + 3 SUPPORT PILLARS
   ========================================================================== */
.contact-grid {
  display: flex;
  align-items: stretch;
  gap: 32px;
}

.form-panel {
  flex: 1;
  min-width: 0;
  padding: 30px 32px;
}

.hq-stack {
  width: 376px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #E2E8F0;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #F8FAFC;
  background-color: rgba(10, 15, 26, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.form-control::placeholder {
  color: #64748B;
}

.form-control:focus {
  border-color: rgba(244, 63, 94, 0.78);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.18);
  background-color: rgba(10, 15, 26, 0.92);
}

select.form-control {
  padding: 0 11px;
}

textarea.form-control {
  height: 184px;
  padding: 13px 14px;
  resize: vertical;
}

.form-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
}

.form-note {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.form-status {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.form-status.is-success {
  display: block;
  background-color: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.36);
  color: #A7F3D0;
}

.form-status.is-error {
  display: block;
  background-color: rgba(225, 29, 72, 0.16);
  border: 1px solid rgba(251, 113, 133, 0.40);
  color: #FECDD3;
}

.hq-card {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hq-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.012em;
  color: #FFFFFF;
  margin: 0 0 18px 0;
}

.hq-field {
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hq-field:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.hq-field-lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748B;
  margin: 0 0 5px 0;
}

.hq-line {
  font-size: 13.6px;
  font-variant-numeric: tabular-nums;
  line-height: 1.62;
  color: var(--ink-secondary);
  margin: 0;
}

.hq-line a {
  color: #F8FAFC;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.hq-line a:hover {
  color: var(--crimson-link);
  border-bottom-color: var(--crimson-link);
}

.hq-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.hq-brands-card {
  padding: 22px 28px;
}

.hq-brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 6px;
  font-family: var(--font-display);
  font-size: 11.8px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #E2E8F0;
  margin: 0 0 14px 0;
}

.hq-brands .slash {
  padding: 0 4px;
}

.pillar-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pillar-card {
  padding: 22px 24px;
}

.pillar-kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crimson-link);
  margin: 0 0 8px 0;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: #FFFFFF;
  margin: 0 0 8px 0;
}

.pillar-line {
  font-size: 13.5px;
  line-height: 1.64;
  color: var(--ink-muted);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 6 3 3;
  text-wrap: pretty;
}

/* ==========================================================================
   MASTER FOOTER (Aligned 1180px flush with glass stage; single quiet hairline)
   ========================================================================== */
.master-footer {
  width: 100%;
  background-color: transparent;
  color: var(--ink-secondary);
  padding: 28px 0 36px 0;
}

.master-footer .wrap {
  width: 1180px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 0;
}

.footer-logo {
  width: 236px;
  height: 37px;
  flex-shrink: 0;
}

.footer-hq {
  font-size: 12.2px;
  font-variant-numeric: tabular-nums;
  line-height: 1.55;
  color: var(--ink-muted);
}

.footer-hq a {
  color: inherit;
  border-bottom: 0;
}

.footer-hq a:hover {
  color: #E2E8F0;
}

.hq-sep {
  color: rgba(148, 163, 184, 0.55);
  padding: 0 7px;
}

.form-status a {
  color: #FFFFFF;
  text-decoration: underline;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 6px;
}

.footer-copy {
  font-size: 12px;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a {
  font-size: 12.5px;
  font-weight: 600;
  color: #E2E8F0;
}

.footer-links a:hover {
  color: var(--crimson-link);
}

.footer-links .slash {
  font-size: 11px;
  padding: 0 2px;
}

/* ==========================================================================
   RESPONSIVE TABLET & MOBILE UX (Desktop >= 1121px unchanged 1:1)
   ========================================================================== */
@media (max-width: 1220px) {
  .wrap,
  .master-footer .wrap,
  .header-inner,
  .stage-frame {
    width: auto;
    max-width: 1180px;
    margin-left: 20px;
    margin-right: 20px;
  }

  .stage-band,
  .stage-veil {
    min-height: 100vh;
    background-size: cover;
    background-position: 75% top;
  }

  .stage-frame {
    min-height: auto;
    padding: 28px;
  }

  .form-panel {
    width: auto;
    flex: 1.5;
    min-width: 0;
  }

  .hq-stack {
    width: auto;
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 820px) {
  .wrap,
  .stage-frame {
    margin-left: 12px;
    margin-right: 12px;
  }

  .stage-band {
    background-position: 78% top;
    background-attachment: scroll;
  }

  /* 56px single-row sticky frosted mobile header + native <details> drawer */
  .master-header {
    position: sticky;
    top: 0;
    z-index: 60;
    height: 56px;
    padding: 0;
    background-color: rgba(8, 12, 20, 0.86);
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
  }

  .header-inner {
    width: auto;
    max-width: none;
    height: 56px;
    margin: 0 14px;
    padding: 0;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .header-logo,
  .header-logo img {
    width: 204px;
    height: 32px;
  }

  .header-right {
    display: none;
  }

  .mob-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mob-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 13px;
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 600;
    color: #FFFFFF;
    background-color: rgba(225, 29, 72, 0.22);
    border: 1px solid rgba(244, 63, 94, 0.65);
    border-radius: 7px;
  }

  .mob-contact-btn.active {
    background-color: var(--crimson);
    border-color: var(--crimson);
  }

  .mob-menu {
    position: relative;
  }

  .mob-menu > summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 36px;
    border-radius: 7px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #F8FAFC;
    cursor: pointer;
    user-select: none;
  }

  .mob-menu > summary::-webkit-details-marker {
    display: none;
  }

  .mob-menu[open] > summary {
    border-color: rgba(244, 63, 94, 0.72);
    background-color: rgba(225, 29, 72, 0.16);
  }

  .mob-drawer {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 64px;
    z-index: 70;
    padding: 10px;
    background-color: rgba(10, 15, 25, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .mob-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .mob-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 9px;
    font-family: var(--font-display);
    font-size: 15.5px;
    font-weight: 600;
    color: #CBD5E1;
  }

  .mob-drawer-link.active {
    color: #FFFFFF;
    background-color: rgba(225, 29, 72, 0.16);
    border: 1px solid rgba(244, 63, 94, 0.42);
  }

  .mob-drawer-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background-color: var(--crimson);
  }

  .mob-drawer-quick {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
  }

  .mob-drawer-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 10px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
    color: #E2E8F0;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  /* Frosted stage panel */
  .stage-frame {
    margin-top: 12px;
    padding: 18px 14px;
    border-radius: 16px;
    gap: 18px;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 10.5px;
  }

  .stage-title {
    font-size: clamp(24px, 6.8vw, 30px);
  }

  .stage-sub {
    font-size: 13.8px;
    line-height: 1.5;
  }

  .page-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 12px;
  }

  .page-head .btn-red {
    width: 100%;
  }

  /* Home mobile: Hero + inline proof + first business card inside 390x844 fold */
  .home-hero-grid {
    order: 1;
    flex-direction: column;
    gap: 12px;
  }

  .home-title {
    font-size: clamp(25px, 7vw, 31px);
    line-height: 1.14;
    margin-bottom: 10px;
  }

  .home-lead {
    font-size: 13.8px;
    line-height: 1.55;
    margin-bottom: 14px;
    text-align: left;
    hyphens: none;
    -webkit-hyphens: none;
    text-wrap: pretty;
  }

  .btn-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .btn-red,
  .btn-outline-light {
    width: 100%;
    padding: 11px 12px;
    font-size: 13.2px;
    min-height: 44px;
  }

  .home-metrics {
    display: none;
  }

  .mob-metrics-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    padding: 9px 12px;
    border-radius: 9px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-family: var(--font-mono);
    font-size: 11px;
    color: #CBD5E1;
  }

  .mob-metrics-bar strong {
    color: #FFFFFF;
    font-weight: 600;
  }

  .mob-metrics-sep {
    color: var(--crimson-link);
  }

  .home-do-block {
    order: 2;
  }

  .home-mission-block {
    order: 3;
  }

  .brand-dock {
    order: 4;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 14px;
  }

  .mission-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 15px 14px;
  }

  .mission-title {
    font-size: 17.5px;
  }

  .mission-sub {
    font-size: 13.4px;
    text-align: left;
    hyphens: none;
    -webkit-hyphens: none;
    text-wrap: pretty;
  }

  .do-grid-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .do-card {
    padding: 14px;
  }

  .do-photo {
    height: 168px;
    margin-bottom: 12px;
  }

  .do-title {
    font-size: 17.5px;
    margin-bottom: 5px;
  }

  .do-line {
    font-size: 13.4px;
    margin-bottom: 10px;
    text-align: left;
    hyphens: none;
    -webkit-hyphens: none;
    text-wrap: pretty;
  }

  .brand-link {
    font-size: 13.5px;
    letter-spacing: 0.06em;
  }

  /* Products mobile: 136px photo so next brand previews earlier */
  .exhibit-stack {
    gap: 12px;
  }

  .exhibit-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 13px;
  }

  .row-photo {
    width: 100%;
    height: 136px;
    object-fit: contain;
    padding: 6px;
    background-color: #F4F6F9;
  }

  .brand-head-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    margin-bottom: 6px;
  }

  .brand-name {
    font-size: 19.5px;
  }

  .brand-role {
    font-size: 10.5px;
  }

  .row-sub {
    font-size: 13.6px;
    margin-bottom: 5px;
  }

  .row-voice {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .row-link {
    padding: 6px 0;
  }

  /* Services mobile: sleek app-style 92px left thumbnail + full-width bottom scope strip */
  .service-stack {
    gap: 12px;
  }

  .service-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: start;
    gap: 8px 12px;
    padding: 13px;
  }

  .service-photo {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 92px;
    height: 92px;
    border-radius: 8px;
  }

  .service-card .row-copy {
    display: contents;
  }

  .service-card .brand-head-line {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0;
  }

  .service-card .brand-name {
    font-size: 16.5px;
    line-height: 1.24;
  }

  .service-card .brand-role {
    font-size: 10px;
  }

  .service-card .row-sub {
    grid-column: 2;
    grid-row: 2;
    font-size: 12.8px;
    line-height: 1.45;
    margin-bottom: 0;
    text-align: left;
    hyphens: none;
    -webkit-hyphens: none;
    text-wrap: pretty;
  }

  .service-tags {
    grid-column: 1 / -1;
    grid-row: 3;
    gap: 6px;
    margin-top: 4px;
    padding-top: 9px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .service-pill {
    font-size: 10.5px;
    padding: 3px 7px;
  }

  .track-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .track-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .track-card {
    padding: 8px 8px 11px 8px;
  }

  .track-photo {
    height: 92px;
  }

  .track-label {
    font-size: 13px;
  }

  .track-note {
    font-size: 12px;
  }

  /* Contact mobile: instant Call HQ + Email quick bar at top */
  .mob-quick-contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mob-quick-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 52px;
    padding: 8px 12px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
  }

  .mob-quick-btn-primary {
    background-color: rgba(225, 29, 72, 0.16);
    border-color: rgba(244, 63, 94, 0.55);
  }

  .mob-quick-kicker {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 2px;
  }

  .mob-quick-btn-primary .mob-quick-kicker {
    color: #FDA4AF;
  }

  .mob-quick-val {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    font-variant-numeric: tabular-nums;
  }

  .contact-grid {
    flex-direction: column;
    gap: 16px;
  }

  .form-panel {
    width: 100%;
    padding: 16px 14px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-control {
    font-size: 16px;
    height: 46px;
  }

  textarea.form-control {
    height: 124px;
  }

  .form-footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .form-footer-row .btn-red {
    width: 100%;
  }

  .hq-stack {
    width: 100%;
    gap: 12px;
  }

  .hq-card,
  .hq-brands-card {
    padding: 16px 14px;
  }

  .pillar-grid-3 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pillar-line {
    text-align: left;
    hyphens: none;
    -webkit-hyphens: none;
    text-wrap: pretty;
  }

  /* Footer mobile: 3 tappable rows + 2x2 link grid, zero hanging slashes */
  .master-footer {
    padding: 18px 0 28px 0;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 14px;
  }

  .footer-logo {
    width: 192px;
    height: 30px;
  }

  .footer-hq {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    line-height: 1.45;
  }

  .hq-sep {
    display: none;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 14px;
    padding-top: 14px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .footer-links a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 13px;
  }

  .footer-links .slash {
    display: none;
  }

  .footer-copy {
    font-size: 12px;
    text-align: center;
    padding-top: 4px;
  }
}
