/* =====================================================
   INTERLOCK v2  -  "Engineered" editorial design
   Light warm paper, ink, gold accent, one dark section.
   Distinct display type + readable labels.
   ===================================================== */

:root {
  --paper:   #F3F0E8;
  --paper-2: #EAE5D9;
  --card:    #FBFAF6;
  --ink:     #16181C;
  --ink-2:   #565A63;
  --line:    rgba(22, 24, 28, 0.14);
  --gold:    #F2B01E;
  --gold-deep: #A9740A;
  --electric: #2F55FF;
  --night:   #141519;
  --night-2: #1E2027;

  --disp: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;

  --wrap: 1200px;
  --r: 16px;
  --r-sm: 10px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--disp); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 860px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-sm); }

/* ---------- shared type helpers ---------- */
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  margin-bottom: 20px;
}
.tag-onlight { color: var(--gold); border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.05); }
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 3.8vw, 46px); }
.section-sub { margin-top: 16px; font-size: 19px; color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: 16px;
  padding: 13px 22px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
  transform: translate(var(--mgx, 0px), var(--mgy, 0px));
}
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-block { width: 100%; justify-content: center; }
.btn-solid { background: var(--gold); color: var(--ink); box-shadow: 0 8px 22px rgba(242,176,30,.28); }
.btn-solid:hover { background: #ffc23a; box-shadow: 0 12px 30px rgba(242,176,30,.4); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn .arr { transition: transform .18s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.brand-word { font-family: var(--disp); font-weight: 700; letter-spacing: 0.04em; font-size: 20px; }
.brand-since { font-family: var(--mono); font-size: 11px; color: var(--ink-2); align-self: flex-end; margin-bottom: 3px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { position: relative; font-weight: 500; font-size: 15.5px; padding: 4px 0; color: var(--ink); }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--gold); transition: width .2s var(--ease); }
.nav a:hover { color: var(--gold-deep); }
.nav a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.phone-link { font-family: var(--mono); font-weight: 600; font-size: 14px; color: var(--ink); }
.phone-link:hover { color: var(--gold-deep); }
.burger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: var(--r-sm); }
.burger span { width: 20px; height: 2px; background: var(--ink); transition: transform .2s var(--ease), opacity .2s var(--ease); }
.topbar.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topbar.menu-open .burger span:nth-child(2) { opacity: 0; }
.topbar.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 90% at 70% 10%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 20%, transparent 75%);
  opacity: .5;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6.2vw, 78px); font-weight: 700; letter-spacing: -0.03em; }
.hero h1 .hl { color: var(--ink); background: linear-gradient(transparent 62%, rgba(242,176,30,.55) 0); }
.hero h1 .soft { display: block; color: var(--ink-2); font-weight: 500; }
.hero-lead { margin-top: 26px; font-size: 20px; color: var(--ink-2); max-width: 44ch; }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-family: var(--mono); font-size: 13.5px; color: var(--ink-2); }

/* hero art */
.hero-art { justify-self: end; width: 100%; }
.art-panel {
  position: relative; border: 1px solid var(--line); border-radius: var(--r);
  background:
    radial-gradient(240px 240px at var(--mx, 60%) var(--my, 40%), rgba(242,176,30,.20), transparent 70%),
    var(--card);
  padding: 30px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(22,24,28,.35);
}
.art-panel::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 30px 30px; opacity: .4; pointer-events: none;
}
.interlock { width: 100%; height: auto; position: relative; animation: floaty 7s ease-in-out infinite; }
.interlock .mesh path { stroke: var(--gold); stroke-width: 2; fill: none; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.4s var(--ease) forwards; }
.interlock .mesh path:nth-child(2) { stroke: var(--ink); opacity: .5; animation-delay: .35s; }
.interlock .mesh path:nth-child(3) { stroke: var(--gold-deep); animation-delay: .6s; }
.interlock .nodes circle { fill: var(--ink); }
.interlock .spark circle { fill: var(--gold); animation: pulse 2.2s ease-in-out infinite; transform-origin: center; }
.art-chips { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12.5px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.ok { background: #1FA971; }
.dot.gold { background: var(--gold); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0%,100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.35); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); color: var(--paper); overflow: hidden; }
.marquee-track { display: flex; align-items: center; gap: 26px; padding: 16px 0; white-space: nowrap; width: max-content; animation: scroll 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--disp); font-weight: 500; font-size: 20px; letter-spacing: .01em; }
.marquee-track i { color: var(--gold); font-style: normal; font-size: 12px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile {
  position: relative; text-align: left; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px; min-height: 210px; cursor: pointer; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.tile:nth-child(1), .tile:nth-child(2), .tile:nth-child(5) { grid-column: span 2; }
.tile:nth-child(3), .tile:nth-child(4) { grid-column: span 1; }
.tile:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 18px 40px -22px rgba(22,24,28,.45); }
.tile-num { font-family: var(--mono); font-size: 13px; color: var(--gold-deep); }
.tile h3 { font-size: 23px; margin: 14px 0 8px; }
.tile p { color: var(--ink-2); font-size: 15.5px; }
.tile-face, .tile-back { transition: opacity .3s var(--ease), transform .3s var(--ease); }
.tile-back { position: absolute; left: 26px; right: 26px; bottom: 26px; top: 60px; opacity: 0; transform: translateY(8px); pointer-events: none; }
.tile-back ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tile-back li { position: relative; padding-left: 20px; font-size: 15px; color: var(--ink); }
.tile-back li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.tile.flipped .tile-face { opacity: 0; transform: translateY(-8px); }
.tile.flipped .tile-back { opacity: 1; transform: translateY(0); pointer-events: auto; }
.tile-hint { position: absolute; top: 22px; right: 24px; font-family: var(--mono); font-size: 11px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }
.tile.flipped .tile-hint { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.tile-dark { background: var(--night); border-color: var(--night-2); }
.tile-dark h3 { color: var(--paper); }
.tile-dark p, .tile-dark .tile-back li { color: rgba(237,235,228,.78); }
.tile-dark .tile-num { color: var(--gold); }
.tile-dark:hover { border-color: var(--gold); }

/* ---------- explorer ---------- */
.explorer { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: start; }
.explorer-list { display: grid; gap: 10px; }
.ex-item { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px 20px; font-family: var(--disp); font-weight: 500; font-size: 18px; cursor: pointer; display: flex; align-items: center; gap: 14px; transition: all .2s var(--ease); color: var(--ink); }
.ex-item .ex-k { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.ex-item:hover { border-color: var(--gold); }
.ex-item.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ex-item.active .ex-k { color: var(--gold); }
.explorer-detail { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 40px; min-height: 280px; }
.ex-panel { display: none; }
.ex-panel.active { display: block; animation: fade .35s var(--ease); }
.ex-panel h3 { font-size: 28px; margin-bottom: 14px; max-width: 22ch; }
.ex-panel p { color: var(--ink-2); font-size: 17px; max-width: 54ch; }
.ex-stat { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 16px; }
.ex-stat strong { font-family: var(--disp); font-size: 52px; font-weight: 700; color: var(--gold-deep); line-height: 1; }
.ex-stat span { color: var(--ink-2); font-size: 15px; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- night / proof ---------- */
.night { background: var(--night); color: #EDEBE4; }
.night h2 { color: #fff; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.proof-lead h2 { font-size: clamp(28px, 3.6vw, 44px); }
.proof-lead p { margin: 18px 0 28px; color: rgba(237,235,228,.72); font-size: 18px; max-width: 46ch; }
.proof-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--night-2); border: 1px solid var(--night-2); border-radius: var(--r); overflow: hidden; }
.fig { margin: 0; background: var(--night); padding: 32px; }
.fig strong { display: block; font-family: var(--disp); font-weight: 700; font-size: clamp(42px, 5vw, 62px); color: var(--gold); line-height: 1; letter-spacing: -0.02em; }
.fig figcaption { margin-top: 12px; color: rgba(237,235,228,.66); font-size: 14.5px; }
.quote { margin: 64px 0 0; border-left: 3px solid var(--gold); padding: 8px 0 8px 28px; max-width: 820px; }
.quote p { font-family: var(--disp); font-weight: 500; font-size: clamp(21px, 2.6vw, 30px); line-height: 1.35; color: #fff; }
.quote footer { margin-top: 20px; display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 14px; color: rgba(237,235,228,.72); }
.q-mark { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--ink); font-family: var(--disp); font-weight: 700; }

/* ---------- industries ---------- */
.ind { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); }
.ind-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.ind-tab { flex: 1 1 auto; min-width: 150px; padding: 18px 16px; background: transparent; border: 0; border-right: 1px solid var(--line); font-family: var(--body); font-weight: 600; font-size: 15px; color: var(--ink-2); cursor: pointer; transition: all .18s var(--ease); }
.ind-tab:last-child { border-right: 0; }
.ind-tab:hover { color: var(--ink); background: var(--paper); }
.ind-tab.active { color: var(--ink); background: var(--gold); }
.ind-body { padding: clamp(28px, 4vw, 52px); }
.ind-panel { display: none; }
.ind-panel.active { display: block; animation: fade .35s var(--ease); }
.ind-panel h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; max-width: 20ch; }
.ind-panel p { color: var(--ink-2); font-size: 18px; max-width: 62ch; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.qa { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-family: var(--disp); font-weight: 500; font-size: 18px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--gold-deep); }
.qa-i { position: relative; flex-shrink: 0; width: 20px; height: 20px; }
.qa-i::before, .qa-i::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--gold-deep); transform: translate(-50%,-50%); transition: transform .2s var(--ease); }
.qa-i::after { transform: translate(-50%,-50%) rotate(90deg); }
.qa[open] .qa-i::after { transform: translate(-50%,-50%) rotate(0); }
.qa[open] summary { color: var(--gold-deep); }
.qa-a { padding: 0 22px 22px; }
.qa-a p { color: var(--ink-2); font-size: 16px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 16px; max-width: 16ch; }
.contact-copy p { color: var(--ink-2); font-size: 18px; max-width: 46ch; }
.contact-facts { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; }
.contact-facts li { display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); font-size: 17px; }
.contact-facts li span { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); width: 84px; flex-shrink: 0; }
.contact-facts a:hover { color: var(--gold-deep); }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; }
.fld { position: relative; margin-bottom: 18px; }
.fld input, .fld textarea { width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 20px 16px 8px; font-family: var(--body); font-size: 16px; color: var(--ink); resize: vertical; }
.fld label { position: absolute; left: 16px; top: 15px; color: var(--ink-2); font-size: 15px; pointer-events: none; transition: all .16s var(--ease); }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,176,30,.2); }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label,
.fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label { top: 7px; font-size: 11.5px; font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); }
.form-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.form-note.ok { color: #1FA971; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: rgba(237,235,228,.8); padding: 64px 0 28px; }
.foot .brand-word { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 16px; max-width: 40ch; color: rgba(237,235,228,.6); font-size: 15px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h4 { font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.foot-col a, .foot-col span { color: rgba(237,235,228,.75); font-size: 15px; }
.foot-col a:hover { color: var(--gold); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-family: var(--mono); font-size: 12.5px; color: rgba(237,235,228,.5); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; border-radius: 4px; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { justify-self: stretch; max-width: 520px; }
  .explorer { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; gap: 36px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile:nth-child(n) { grid-column: span 1; }
  .tile:nth-child(1) { grid-column: span 2; }
}
@media (max-width: 820px) {
  .nav, .phone-link { display: none; }
  .burger { display: inline-flex; }
  .topbar.menu-open .nav {
    display: flex; flex-direction: column; gap: 4px; position: absolute;
    top: 72px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 16px 28px 22px; margin: 0;
  }
  .topbar.menu-open .nav a { padding: 10px 0; font-size: 18px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .proof-figures { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .bento { grid-template-columns: 1fr; }
  .tile:nth-child(n) { grid-column: span 1; }
  .ind-tab { min-width: 50%; border-bottom: 1px solid var(--line); }
  .proof-figures { grid-template-columns: 1fr; }
  .brand-since { display: none; }
  .topbar-inner { gap: 12px; }
  .nav-actions { gap: 10px; }
  .nav-actions .btn-solid { padding: 10px 15px; font-size: 14px; }
  .brand-word { font-size: 18px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .interlock .mesh path { stroke-dashoffset: 0; }
}

/* =====================================================
   v2 ADDITIONS - bigger logo, ops console, dark theme,
   and the feature pack (search, cookie, to-top, loader,
   progress, copy, floating CTA, print).
   ===================================================== */

/* ---------- brand / logo (larger, high contrast) ---------- */
.brand { gap: 12px; }
.brand-mark { height: 36px; width: auto; fill: var(--gold); flex-shrink: 0; }
.brand-word { font-size: 25px; letter-spacing: 0.06em; }
.foot .brand-mark { fill: var(--gold); height: 32px; }
@media (max-width: 560px) { .brand-mark { height: 30px; } .brand-word { font-size: 20px; } }

/* ---------- hero ops console ---------- */
.console {
  position: relative; border: 1px solid var(--line); border-radius: var(--r);
  background:
    radial-gradient(260px 220px at var(--mx, 70%) var(--my, 12%), rgba(242,176,30,.18), transparent 70%),
    var(--card);
  box-shadow: 0 30px 60px -30px rgba(22,24,28,.35); overflow: hidden;
}
.console-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.console-title { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.console-meta { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.live { width: 9px; height: 9px; border-radius: 50%; background: #1FA971; box-shadow: 0 0 0 0 rgba(31,169,113,.6); animation: livep 2s ease-out infinite; }
@keyframes livep { 0% { box-shadow: 0 0 0 0 rgba(31,169,113,.55); } 70% { box-shadow: 0 0 0 8px rgba(31,169,113,0); } 100% { box-shadow: 0 0 0 0 rgba(31,169,113,0); } }
.console-tabs { display: flex; gap: 6px; padding: 12px 14px 0; }
.ctab { flex: 1; padding: 9px 8px; border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; background: transparent; font-family: var(--body); font-weight: 600; font-size: 13.5px; color: var(--ink-2); cursor: pointer; transition: all .18s var(--ease); }
.ctab:hover { color: var(--ink); }
.ctab.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.console-body { position: relative; padding: 24px 22px 6px; min-height: 250px; }
.cpanel { display: none; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; }
.cpanel.active { display: grid; animation: fade .35s var(--ease); }
.gauge { position: relative; width: 150px; height: 150px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .g-track { fill: none; stroke: var(--line); stroke-width: 10; }
.gauge .g-fill { fill: none; stroke: var(--gold); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; transition: stroke-dashoffset 1.1s var(--ease); }
.gauge-val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge-val b { font-family: var(--disp); font-weight: 700; font-size: 30px; line-height: 1; color: var(--ink); }
.gauge-val span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }
.crows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; align-self: center; }
.crows li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px dashed var(--line); font-size: 14.5px; color: var(--ink-2); }
.crows li:first-child { border-top: 0; }
.crows li b { font-family: var(--disp); font-weight: 600; color: var(--ink); font-size: 15px; }
.crows li b.ok { color: #1a9e6a; }
.console-foot { margin: 0; padding: 12px 22px 16px; font-family: var(--mono); font-size: 11px; color: var(--ink-2); border-top: 1px solid var(--line); }
/* ---------- hero industry picker ---------- */
.hpick-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 16px 0; }
.hpick-tab { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-family: var(--body); font-weight: 600; font-size: 13px; color: var(--ink-2); cursor: pointer; transition: all .18s var(--ease); }
.hpick-tab:hover { color: var(--ink); border-color: var(--ink-2); }
.hpick-tab.active { background: var(--gold); border-color: var(--gold); color: #16181C; }
.hpick-body { padding: 22px 22px 24px; min-height: 230px; }
.hpick-panel { display: none; }
.hpick-panel.active { display: block; animation: fade .35s var(--ease); }
.hpick-panel h3 { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 10px; }
.hpick-panel p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 18px; }
.hpick-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--gold-deep); text-decoration: none; }
.hpick-cta:hover .arr { transform: translateX(3px); }
.hpick-cta .arr { transition: transform .18s var(--ease); }
@media (max-width: 480px) { .cpanel.active { grid-template-columns: 1fr; justify-items: center; gap: 16px; } .crows { width: 100%; } }

/* =====================================================
   DARK THEME
   Flip text + surface tokens; keep decorative-dark blocks dark.
   ===================================================== */
:root[data-theme="dark"] {
  --paper:   #131418;
  --paper-2: #191b21;
  --card:    #1b1e25;
  --ink:     #ECEAE3;
  --ink-2:   rgba(236,234,227,.66);
  --line:    rgba(255,255,255,.12);
  --gold-deep: #F2B01E;
  color-scheme: dark;
}
:root[data-theme="dark"] .marquee { background: #0e0f12; color: #ECEAE3; }
:root[data-theme="dark"] .foot { background: #0e0f12; }
:root[data-theme="dark"] .night { background: #0e0f12; }
:root[data-theme="dark"] .tile-dark { background: #0e0f12; border-color: rgba(255,255,255,.14); }
:root[data-theme="dark"] .ctab.active,
:root[data-theme="dark"] .ex-item.active { background: var(--gold); color: #16181C; border-color: var(--gold); }
:root[data-theme="dark"] .ex-item.active .ex-k { color: #16181C; }
:root[data-theme="dark"] .ind-tab.active { color: #16181C; }
:root[data-theme="dark"] .btn-line { border-color: var(--ink); color: var(--ink); }
:root[data-theme="dark"] .btn-line:hover { background: var(--ink); color: var(--paper); }
:root[data-theme="dark"] .hero h1 .hl { background: linear-gradient(transparent 62%, rgba(242,176,30,.4) 0); }
:root[data-theme="dark"] .fig { background: var(--card); }
:root[data-theme="dark"] .proof-figures { background: var(--line); border-color: var(--line); }
:root[data-theme="dark"] .gauge-val b { color: var(--ink); }

/* ---------- nav icon buttons (theme + search, injected) ---------- */
.icon-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); color: var(--ink); cursor: pointer; transition: all .18s var(--ease); }
.icon-btn:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-1px); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn .i-sun { display: none; }
:root[data-theme="dark"] .icon-btn .i-sun { display: block; }
:root[data-theme="dark"] .icon-btn .i-moon { display: none; }

/* ---------- scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: var(--gold); z-index: 120; will-change: transform; }

/* ---------- search overlay ---------- */
.search-ov { position: fixed; inset: 0; z-index: 300; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 20px 20px; background: rgba(12,12,14,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), visibility .2s var(--ease); }
.search-ov.open { opacity: 1; visibility: visible; }
.search-box { width: 100%; max-width: 600px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 70px -20px rgba(0,0,0,.4); transform: translateY(-8px); transition: transform .25s var(--ease); }
.search-ov.open .search-box { transform: translateY(0); }
.search-in-wrap { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.search-in-wrap svg { width: 20px; height: 20px; color: var(--gold-deep); flex-shrink: 0; }
.search-in { flex: 1; border: 0; background: transparent; color: var(--ink); font-family: var(--body); font-size: 17px; }
.search-in:focus { outline: none; }
.search-kbd { font-family: var(--mono); font-size: 11px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; }
.search-res { max-height: 54vh; overflow-y: auto; padding: 8px; }
.search-res a { display: block; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid transparent; }
.search-res a:hover, .search-res a.active { background: rgba(242,176,30,.1); border-color: var(--line); }
.search-res .r-c { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.search-res .r-t { display: block; font-family: var(--disp); font-weight: 600; margin-top: 3px; }
.search-res .r-d { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.search-empty { padding: 22px; text-align: center; color: var(--ink-2); }

/* ---------- back to top + floating CTA ---------- */
.to-top, .float-cta { position: fixed; bottom: 22px; z-index: 110; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s var(--ease); }
.to-top.show, .float-cta.show { opacity: 1; visibility: visible; transform: translateY(0); }
body.cookie-open .to-top, body.cookie-open .float-cta { bottom: 96px; }
.to-top { left: 22px; width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--card); border: 1px solid var(--line); color: var(--gold-deep); box-shadow: 0 10px 28px -12px rgba(0,0,0,.4); cursor: pointer; }
.to-top:hover { border-color: var(--gold); transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }
.float-cta { right: 22px; display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px; border-radius: 999px; background: var(--gold); color: #16181C; font-weight: 700; font-size: 14.5px; box-shadow: 0 12px 30px rgba(242,176,30,.35); }
.float-cta:hover { transform: translateY(-3px); background: #ffc23a; }
.float-cta svg { width: 17px; height: 17px; }
@media (max-width: 560px) { .to-top { left: 16px; bottom: 16px; } .float-cta { right: 16px; bottom: 16px; } .float-cta .fc-label { display: none; } .float-cta { padding: 14px; border-radius: 50%; } }

/* ---------- cookie banner ---------- */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 130; background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(0,0,0,.25); padding: 16px 28px; transform: translateY(100%); transition: transform .35s var(--ease); }
.cookie.show { transform: translateY(0); }
.cookie-in { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.cookie-in p { font-size: 14px; color: var(--ink-2); max-width: 62ch; }
.cookie-in a { color: var(--gold-deep); text-decoration: underline; }
.cookie-act { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-act .btn { padding: 10px 18px; font-size: 14px; }
@media (max-width: 560px) { .cookie-act { width: 100%; } .cookie-act .btn { flex: 1; justify-content: center; } }

/* ---------- page loader ---------- */
.loader { position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center; background: var(--paper); transition: opacity .4s var(--ease), visibility .4s var(--ease); }
.loader.hide { opacity: 0; visibility: hidden; }
.loader .ring { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--gold); animation: lspin .8s linear infinite; }
@keyframes lspin { to { transform: rotate(360deg); } }

/* ---------- copy buttons ---------- */
.contact-facts li { align-items: center; }
.copy { position: relative; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink-2); cursor: pointer; transition: all .16s var(--ease); vertical-align: middle; margin-left: 8px; }
.copy:hover { color: var(--gold-deep); border-color: var(--gold); }
.copy svg { width: 15px; height: 15px; }
.copy .i-check { display: none; }
.copy.done { color: #1a9e6a; border-color: #1a9e6a; }
.copy.done .i-copy { display: none; }
.copy.done .i-check { display: block; }
.copy::after { content: 'Copied'; position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(4px); background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 10px; padding: 3px 7px; border-radius: 5px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .16s var(--ease), transform .16s var(--ease); }
.copy.done::after { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- print ---------- */
@media print {
  .topbar, .marquee, .progress, .to-top, .float-cta, .cookie, .search-ov, .loader, .burger, .nav-actions, .console-tabs, .hero-cta, .contact-form, .foot-bottom { display: none !important; }
  body { background: #fff !important; color: #000 !important; font-size: 12pt; }
  .section { padding: 18px 0 !important; }
  a { color: #000 !important; text-decoration: underline; }
  .night, .section-alt, .tile-dark, .card, .console, .qa, .ind { background: #fff !important; color: #000 !important; border: 1px solid #ccc !important; box-shadow: none !important; }
  h1,h2,h3,h4,p,li,span,b { color: #000 !important; }
  .tag, .gold, .tile-num { color: #333 !important; }
  .cpanel { display: grid !important; }
  .qa-a { display: block !important; }
  a[href^="http"]::after, a[href^="tel:"]::after, a[href^="mailto:"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}


/* declutter mobile header: booking stays in hero + floating CTA + menu */
@media (max-width: 560px) {
  .nav-actions .btn-solid { display: none; }
  .brand-since { display: none; }
  .topbar-inner { gap: 10px; }
  .nav-actions { gap: 8px; }
  .icon-btn { width: 38px; height: 38px; }
}

/* =====================================================
   HERO VISUAL OPTIONS  (B = cost/team, C = topology)
   Reuse the .console card shell; add option specifics.
   ===================================================== */

/* ---------- Option B: in-house team you'd replace ---------- */
.cost-body { padding: 22px; }
.cost-slider-l { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.cost-slider-l b { font-family: var(--disp); color: var(--ink); }
.cost-slider { width: 100%; margin: 0 0 18px; accent-color: var(--gold); height: 4px; cursor: pointer; }
.cost-roles { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.cost-roles li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 14px; animation: fade .3s var(--ease); }
.cost-roles .role-n { color: var(--ink); font-weight: 500; }
.cost-roles .role-n small { color: var(--ink-2); font-weight: 400; }
.cost-roles .role-s { font-family: var(--mono); font-size: 12.5px; color: var(--gold-deep); }
.cost-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0 8px; border-top: 2px solid var(--line); }
.cost-total span { font-size: 13px; color: var(--ink-2); }
.cost-total b { font-family: var(--disp); font-weight: 700; font-size: 30px; color: var(--ink); letter-spacing: -0.02em; }
.cost-247 { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; margin: 4px 0 16px; }
.cost-247 input { width: 16px; height: 16px; accent-color: var(--gold); }
.cost-vs { padding: 14px 16px; border-radius: var(--r-sm); background: linear-gradient(135deg, rgba(242,176,30,.14), rgba(242,176,30,.05)); border: 1px solid rgba(242,176,30,.35); font-size: 14.5px; color: var(--ink); }
.cost-vs b { color: var(--gold-deep); }

/* ---------- Option C: network topology ---------- */
.topo-body { padding: 14px 16px 8px; }
.topo { width: 100%; height: auto; }
.topo .link { stroke: var(--line); stroke-width: 2; fill: none; stroke-dasharray: 6 7; animation: flow 3s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -26; } }
.topo .hub circle { fill: var(--ink); }
.topo .hub text { fill: var(--paper); }
.topo .node { cursor: pointer; }
.topo .node circle { fill: var(--card); stroke: var(--line); stroke-width: 2; transition: stroke .18s var(--ease), fill .18s var(--ease); }
.topo .node .ic { stroke: var(--ink); fill: none; stroke-width: 2; }
.topo .node text { fill: var(--ink-2); font-family: var(--mono); font-size: 10.5px; }
.topo .node:hover circle, .topo .node.active circle { fill: rgba(242,176,30,.16); stroke: var(--gold); }
.topo .node:hover .ic, .topo .node.active .ic { stroke: var(--gold-deep); }
.topo .node:hover text, .topo .node.active text { fill: var(--ink); }
.topo .pulse { fill: #1FA971; }
.topo-cap { min-height: 44px; margin: 6px 4px 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.topo-cap b { color: var(--ink); font-family: var(--disp); }

/* ---------- compare page scaffolding ---------- */
.opt-wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.opt-head { padding: 56px 0 8px; }
.opt-head .tag { margin-bottom: 14px; }
.opt-head h1 { font-family: var(--disp); font-weight: 700; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; max-width: 20ch; }
.opt-head p { margin-top: 12px; color: var(--ink-2); font-size: 18px; max-width: 60ch; }
.opt-row { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.opt-row:last-child { border-bottom: 1px solid var(--line); }
.opt-label .n { font-family: var(--mono); font-size: 13px; color: var(--gold-deep); letter-spacing: .1em; }
.opt-label h2 { font-family: var(--disp); font-size: 24px; margin: 8px 0 10px; letter-spacing: -0.01em; }
.opt-label p { color: var(--ink-2); font-size: 15px; }
.opt-label .cur { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 11px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.opt-visual { max-width: 520px; width: 100%; }
@media (max-width: 860px) { .opt-row { grid-template-columns: 1fr; gap: 22px; } }
