/* ================================================================
   brezzicna-omrezja.css
   Dedicated styles for the Brezžična omrežja service page
   ================================================================ */

/* ── SECTION PADDING RESET ────────────────────────────────────── */
/* advant.css adds padding:120px 0 to all <section>; our containers
   add their own padding, zero out the section-level duplicate */
.wh, .wp, .wa, .wrf, .wv, .wba, .wbv, .wart, .wpar, .wfcta, .wtp {
  padding: 0;
}

/* ── WIFI TYPES (sekcija 00) ──────────────────────────────────── */
.wtp { background: var(--bg-2); }
.wtp .container { padding-top: 120px; padding-bottom: 120px; }

.wtp__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 64px;
}

.wtp__card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  transition: background .25s ease;
}
.wtp__card:hover { background: var(--bg-1); }

.wtp__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.wtp__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .9s cubic-bezier(.2,.6,.2,1);
}
.wtp__card:hover .wtp__media img { transform: scale(1.05); }

.wtp__body {
  padding: 24px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  border-top: 1px solid var(--line);
}

.wtp__tag {
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hot);
}

.wtp__title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.3;
}
.wtp__card:hover .wtp__title { color: var(--hot); }

.wtp__list {
  list-style: none;
  padding: 0; margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wtp__list li {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}
.wtp__list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--hot);
}

@media (max-width: 900px) {
  .wtp__grid { grid-template-columns: 1fr; }
  .wtp .container { padding-top: 80px; padding-bottom: 80px; }
}

/* ── HERO ─────────────────────────────────────────────────────── */
.wh {
  position: relative;
  min-height: calc(100svh - 72px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.wh__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("images/brezzicna-omrezja.png");
  background-size: cover; background-position: center;
  filter: saturate(0.7) brightness(0.42) contrast(1.12);
}
.wh__scrim {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,0.35) 0%, rgba(10,10,11,0.1) 28%, rgba(10,10,11,0.96) 100%),
    linear-gradient(90deg, rgba(10,10,11,0.55) 0%, transparent 70%);
}
.wh .container { position: relative; z-index: 1; width: 100%; }
.wh__inner {
  padding: 130px 0 52px;
  display: flex; flex-direction: column;
  max-width: 1060px;
}
.wh__eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-family: "DM Mono", monospace;
  font-size: 11px; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 24px;
}
.wh__eyebrow-sep { width: 1px; height: 12px; background: var(--line); }
.wh__coord { color: var(--hot); }
.wh__h1 {
  font-size: clamp(36px, 5.6vw, 84px);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 0.97;
  margin: 0;
}
.wh__h1-main { display: block; color: var(--ink); }
.wh__h1-em { display: block; color: var(--ink-3); }
.wh__h1-hot { display: block; color: var(--hot); }
.wh__lede {
  margin-top: 20px;
  font-size: clamp(14px, 1.2vw, 17px);
  color: var(--ink-2); line-height: 1.6; max-width: 58ch;
}
.wh__actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 36px;
}
.wh__stats {
  display: flex; align-items: center;
  width: 100%;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.09);
}
.wh__stat {
  padding-right: 40px; margin-right: 40px;
  border-right: 1px solid var(--line);
  flex-shrink: 0;
}
.wh__stats-cta {
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}
.wh__stat-n {
  font-family: "DM Mono", monospace;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 500; letter-spacing: -0.02em; color: var(--ink);
}
.wh__stat-l {
  font-family: "DM Mono", monospace;
  font-size: 10px; color: var(--ink-3);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-top: 6px;
}

/* ── PROBLEM ──────────────────────────────────────────────────── */
.wp .container { padding-top: 120px; padding-bottom: 120px; }
.wp__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
  margin-top: 56px;
}
.wp__head h2 {
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.1; letter-spacing: -0.018em; font-weight: 500;
}
.wp__head h2 em { font-style: normal; color: var(--hot); }
.wp__head p {
  margin-top: 20px;
  font-size: 16px; color: var(--ink-2); line-height: 1.6; max-width: 44ch;
}
.wp__right-label {
  font-family: "DM Mono", monospace;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--hot); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.wp__right-label::before {
  content: ""; width: 6px; height: 6px; background: var(--hot); flex-shrink: 0;
}
.wp__right-body {
  font-size: 16px; color: var(--ink-2); line-height: 1.65; max-width: 46ch;
  margin: 0;
}
.wp__list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.wp__item {
  display: grid; grid-template-columns: 8px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px; color: var(--ink-2); line-height: 1.55;
  align-items: start;
}
.wp__item::before {
  content: "";
  width: 6px; height: 6px; background: var(--hot);
  flex-shrink: 0; margin-top: 9px;
  border-radius: 0;
}
.wp__close {
  margin-top: 32px;
  padding: 28px 32px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  font-size: 15px; color: var(--ink-2); line-height: 1.65;
  border-left: 3px solid var(--hot);
}
.wp__close strong { color: var(--ink); }

/* ── ENGINEERING APPROACH ─────────────────────────────────────── */
.wa { background: var(--bg-2); }
.wa .container { padding-top: 120px; padding-bottom: 120px; }
.wa__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 56px;
}
.wa__card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background .25s ease;
  position: relative; overflow: hidden;
}
.wa__card:hover { background: var(--bg-1); }
.wa__card::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--hot);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.wa__card:hover::after { transform: scaleY(1); }
.wa__card-top {
  display: flex; justify-content: space-between; align-items: flex-start;
}
.wa__card-num {
  font-family: "DM Mono", monospace;
  font-size: 11px; color: var(--hot); letter-spacing: 0.08em;
}
.wa__card-tag {
  font-family: "DM Mono", monospace;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--hot); border: 1px solid rgba(239,126,44,0.25);
  padding: 3px 8px; line-height: 1; align-self: flex-start;
}
.wa__card-title {
  font-size: 18px; font-weight: 500; letter-spacing: -0.008em;
  color: var(--ink); line-height: 1.2;
}
.wa__card-body {
  font-size: 13px; color: var(--ink-3); line-height: 1.65; max-width: 32ch;
}

/* ── RF ENGINEERING DASHBOARD ─────────────────────────────────── */
/* Hard guard: this section can never exceed the viewport width */
.wrf { overflow-x: hidden; }
.wrf .container { padding-top: 120px; padding-bottom: 120px; min-width: 0; }
.wrf__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  margin-top: 16px;
  min-width: 0;
  max-width: 100%;
}
/* All direct dashboard blocks must be allowed to shrink, never to expand the grid */
.wrf__tabs,
.wrf__canvas,
.wrf__panel { min-width: 0; max-width: 100%; }
.wrf__variant-lbl {
  font-family: "DM Mono", monospace;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-4);
  margin-top: 48px;
  margin-bottom: 0;
}
/* Canvas — full width, landscape aspect ratio */
.wrf__canvas {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1033 / 378;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.wrf__grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 36px 36px;
  z-index: 0;
}
.wrf__canvas-badge {
  position: absolute; top: 16px; left: 18px; z-index: 10;
  font-family: "DM Mono", monospace;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--hot);
  display: flex; align-items: center; gap: 8px;
}
.wrf__canvas-badge::before {
  content: "";
  width: 6px; height: 6px; background: var(--hot);
  animation: rf-pulse 2.2s ease-in-out infinite;
}
@keyframes rf-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}
.wrf__floorplan {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3;
}
/* Coverage radial zones — screen blend stacks to realistic heatmap */
.wrf__zone {
  position: absolute; border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 1;
  mix-blend-mode: screen;
}
/* Measure dead-zone: dark gradient blocks left side (no-coverage area) */
.wrf__dead-cover {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to right,
    rgba(10,10,11,0.94) 0%,
    rgba(10,10,11,0.86) 24%,
    rgba(10,10,11,0.55) 37%,
    rgba(10,10,11,0.18) 50%,
    transparent 65%);
  pointer-events: none;
}
/* AP elements */
.wrf__ap {
  position: absolute; transform: translate(-50%, -50%); z-index: 5;
}
.wrf__ap-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(239,126,44,0.22);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: rf-ring 4.5s ease-out infinite;
}
.wrf__ap-ring:nth-child(2) { animation-delay: 1.5s; }
.wrf__ap-ring:nth-child(3) { animation-delay: 3s; }
@keyframes rf-ring {
  0%   { opacity: 0.26; transform: translate(-50%, -50%) scale(0.88); }
  65%  { opacity: 0.07; transform: translate(-50%, -50%) scale(1.01); }
  100% { opacity: 0;    transform: translate(-50%, -50%) scale(1.07); }
}
.wrf__ap-dot {
  width: 10px; height: 10px;
  background: var(--hot); border-radius: 50%;
  box-shadow: 0 0 14px rgba(239,126,44,0.7);
  position: relative; z-index: 2;
}
.wrf__ap-lbl {
  position: absolute; top: -20px; left: 50%;
  transform: translateX(-50%);
  font-family: "DM Mono", monospace; font-size: 9px;
  color: var(--hot); letter-spacing: 0.06em; white-space: nowrap;
}
/* RSSI floating badges */
.wrf__rssi {
  position: absolute; z-index: 6;
  font-family: "DM Mono", monospace; font-size: 10px;
  color: rgba(255,255,255,0.5);
  background: rgba(10,10,11,0.8);
  padding: 3px 7px;
  border: 1px solid var(--line);
  white-space: nowrap;
}
.wrf__rssi.bad { color: rgba(248,113,113,0.7); border-color: rgba(248,113,113,0.2); }
/* Dead zone */
.wrf__dead {
  position: absolute; z-index: 3;
  background: rgba(180,40,40,0.06);
  border: 1px dashed rgba(200,60,60,0.3);
  display: flex; align-items: center; justify-content: center;
}
.wrf__dead-lbl {
  font-family: "DM Mono", monospace; font-size: 9px;
  color: rgba(200,60,60,0.6); letter-spacing: 0.08em; text-transform: uppercase;
}
.wrf__canvas-foot {
  position: absolute; bottom: 14px; right: 16px; z-index: 10;
  font-family: "DM Mono", monospace; font-size: 9px;
  color: var(--ink-4); letter-spacing: 0.06em;
}

/* Data panel — horizontal 3-column below canvas */
.wrf__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  background: var(--bg);
}
.wrf__panel-head {
  grid-column: 1 / -1;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  font-family: "DM Mono", monospace;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ink-3);
}
.wrf__panel-col {
  padding: 16px 20px 20px;
  border-right: 1px solid var(--line);
}
.wrf__panel-col:last-child { border-right: none; }
.wrf__panel-head .live { color: var(--hot); display: flex; align-items: center; gap: 6px; }
.wrf__panel-head .live::before {
  content: ""; width: 5px; height: 5px;
  background: var(--hot); border-radius: 50%;
  animation: rf-pulse 2s ease-in-out infinite;
}
.wrf__row {
  display: grid; grid-template-columns: 1fr auto;
  gap: 12px; padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.wrf__row:last-child { border-bottom: none; }
.wrf__row-k { font-size: 12px; color: var(--ink-3); line-height: 1.3; }
.wrf__row-v {
  font-family: "DM Mono", monospace;
  font-size: 12px; color: var(--ink);
  text-align: right; white-space: nowrap;
}
.wrf__row-v.good { color: #4ade80; }
.wrf__row-v.warn { color: var(--hot); }
.wrf__row-v.bad  { color: #f87171; }
.wrf__bar-row {
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.wrf__bar-head {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--ink-3);
}
.wrf__bar-head span:last-child { font-family: "DM Mono", monospace; color: var(--ink); }
.wrf__bar-track { height: 2px; background: var(--line); position: relative; overflow: hidden; }
.wrf__bar-fill {
  position: absolute; left: 0; top: 0; height: 100%;
  background: var(--hot);
  transition: width 1.8s cubic-bezier(.2,.7,.2,1) .4s;
  width: 0;
}
.wrf__bar-fill.is-visible { width: var(--w, 0%); }
.wrf__section-lbl {
  padding: 10px 20px 6px;
  font-family: "DM Mono", monospace; font-size: 9px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-4);
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
}

/* Intro block above dashboard */
.wrf__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: end;
  margin-top: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.wrf__intro-left {
  display: flex; flex-direction: column; gap: 14px;
}
.wrf__intro-eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--hot);
  display: flex; align-items: center; gap: 10px;
}
.wrf__intro-eyebrow::before {
  content: "";
  width: 5px; height: 5px; background: var(--hot); flex-shrink: 0;
}
.wrf__intro-hl {
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 500; letter-spacing: -0.018em; line-height: 1.1;
  color: var(--ink); margin: 0;
}
.wrf__intro-body {
  font-size: 15px; color: var(--ink-2); line-height: 1.7;
  max-width: 52ch; margin: 0;
}

/* Dashboard tab bar */
.wrf__tabs {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
  padding: 0 20px;
}
.wrf__tabs-list {
  display: flex; align-items: stretch;
}
.wrf__tab {
  font-family: "DM Mono", monospace;
  font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink-3);
  background: none; border: none; outline: none;
  padding: 15px 22px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .18s ease, border-color .18s ease;
  line-height: 1;
}
.wrf__tab:hover { color: var(--ink); }
.wrf__tab.is-active {
  color: var(--hot);
  border-bottom-color: var(--hot);
}
.wrf__tabs-mode {
  margin-left: auto;
  font-family: "DM Mono", monospace;
  font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink-4);
  padding-right: 4px;
}

@media (max-width: 900px) {
  .wrf__intro { grid-template-columns: 1fr; gap: 20px; }
  .wrf__tabs-mode { display: none; }
}

/* Dim value (N/A in predict state) */
.wrf__row-v.dim { color: var(--ink-4); }

/* Simulated RSSI, slightly dimmed in predict */
.wrf__rssi.sim { opacity: 0.5; }

/* Resolved dead zone (optimize state) */
.wrf__dead--resolved {
  background: rgba(74,222,128,0.025);
  border: 1px dashed rgba(74,222,128,0.18);
  opacity: 0.5;
}
.wrf__dead--resolved .wrf__dead-lbl {
  color: rgba(74,222,128,0.32);
}

/* Validation badge in data panel (optimize state) */
.wrf__panel-validate {
  margin: 12px 20px 16px;
  padding: 13px 16px;
  border: 1px solid rgba(74,222,128,0.22);
  background: rgba(74,222,128,0.04);
  display: flex; align-items: center; gap: 10px;
  font-family: "DM Mono", monospace;
  font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase;
  color: rgba(74,222,128,0.7);
}
.wrf__panel-validate-check {
  font-size: 13px; color: rgba(74,222,128,0.85); flex-shrink: 0;
}

/* Explanatory note below dashboard */
.wrf__note {
  margin-top: 18px;
  font-family: "DM Mono", monospace;
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--ink-4); line-height: 1.6;
  text-align: right;
}

/* State-switch fade-in */
@keyframes wrf-content-fade {
  0%   { opacity: 0.05; }
  100% { opacity: 1; }
}
.wrf__canvas.is-fading,
.wrf__panel.is-fading {
  animation: wrf-content-fade 0.25s ease-out;
}

/* Reduced motion: disable all dashboard motion */
@media (prefers-reduced-motion: reduce) {
  .wrf__ap-ring { animation: none; opacity: 0.12; }
  .wrf__canvas-badge::before { animation: none; }
  .wrf__panel-head .live::before { animation: none; }
  .wrf__canvas.is-fading,
  .wrf__panel.is-fading { animation: none; }
  .wrf__bar-fill { transition: none; }
}

/* Mobile: tabs scroll horizontally, canvas scales */
@media (max-width: 600px) {
  .wrf__tabs {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 10px;
  }
  .wrf__tabs::-webkit-scrollbar { display: none; }
  .wrf__tabs-list { flex-shrink: 0; min-width: max-content; }
  .wrf__tab { padding: 13px 14px; white-space: nowrap; }
  .wrf__panel { grid-template-columns: minmax(0, 1fr); }
  .wrf__panel-col { border-right: none; border-top: 1px solid var(--line); min-width: 0; }
  .wrf__panel-col:first-of-type { border-top: none; }
  .wrf__note { text-align: left; }
  /* Stack value under label so rows read cleanly on narrow screens */
  .wrf__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    align-items: start;
  }
  .wrf__row-v { text-align: left; white-space: normal; }
}

/* Smaller phones: shrink the switcher so it fits without dominating */
@media (max-width: 400px) {
  .wrf__tabs { padding: 0 6px; }
  .wrf__tab {
    padding: 12px 10px;
    font-size: 10px;
    letter-spacing: 0.05em;
  }
}

/* ── VALIDATION ───────────────────────────────────────────────── */
.wv { background: var(--bg-2); }
.wv .container { padding-top: 120px; padding-bottom: 120px; }
.wv__intro {
  font-size: 17px; color: var(--ink-2); line-height: 1.65;
  max-width: 66ch; margin-top: 0;
}
.wv__pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 48px;
}
.wv__pillar {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 36px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background .25s ease;
}
.wv__pillar:hover { background: var(--bg-1); }
.wv__pillar-num { font-family: "DM Mono", monospace; font-size: 11px; color: var(--hot); }
.wv__pillar-title { font-size: 19px; font-weight: 500; letter-spacing: -0.008em; }
.wv__pillar-body { font-size: 14px; color: var(--ink-3); line-height: 1.6; max-width: 30ch; }

/* ── BEFORE / AFTER ───────────────────────────────────────────── */
.wba .container { padding-top: 120px; padding-bottom: 120px; }
.wba .sec-head { align-items: end; }
.wba__subhead {
  font-size: 16px; color: var(--ink-2); line-height: 1.6; max-width: 52ch;
  margin-top: 8px;
}

/* Two-panel layout */
.wba__panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 48px;
  border: 1px solid var(--line);
}
.wba__panel {
  display: flex; flex-direction: column;
}
.wba__panel--bef {
  background: var(--bg);
  border-right: 1px solid var(--line);
}
.wba__panel--aft {
  background: var(--bg-1);
  box-shadow: inset 0 3px 0 0 var(--hot);
}
.wba__panel-hd {
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.wba__panel-tag {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}
.wba__panel-tag.bef { color: rgba(248,113,113,0.5); }
.wba__panel-tag.aft  { color: var(--hot); }
.wba__panel-sub {
  font-family: "DM Mono", monospace;
  font-size: 10px; color: var(--ink-4); letter-spacing: 0.06em;
}

/* Metric rows */
.wba__mrow {
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
  transition: background .2s ease;
}
.wba__mrow:last-child { border-bottom: none; }
.wba__panel--bef .wba__mrow:hover { background: rgba(255,255,255,0.01); }
.wba__panel--aft .wba__mrow:hover { background: rgba(255,255,255,0.02); }
.wba__mrow-top {
  display: flex; justify-content: space-between; align-items: center;
}
.wba__mrow-lbl { font-size: 13px; color: var(--ink-3); }
.wba__mrow-val {
  font-family: "DM Mono", monospace;
  font-size: 15px; font-weight: 500;
  letter-spacing: -0.01em;
}
.wba__mrow-val.bef { color: rgba(248,113,113,0.6); }
.wba__mrow-val.aft { color: #4ade80; }

/* Fill bars */
.wba__mrow-track {
  height: 2px; background: var(--line);
  position: relative; overflow: hidden;
}
.wba__mrow-fill {
  position: absolute; left: 0; top: 0; height: 100%;
}
.wba__mrow-fill.bef {
  width: var(--w, 0%);
  background: rgba(248,113,113,0.3);
}
.wba__mrow-fill.aft {
  width: 0;
  background: var(--hot);
  transition: width 1.5s cubic-bezier(.2,.7,.2,1) calc(var(--d, 0) * 100ms + 0.3s);
}
.wba__panels.is-vis .wba__mrow-fill.aft {
  width: var(--w, 0%);
}

/* Highlight callouts */
.wba__highlights {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-top: none;
}
.wba__hl {
  padding: 32px 36px;
  border-right: 1px solid var(--line);
  transition: background .25s ease;
  position: relative;
}
.wba__hl:last-child { border-right: none; }
.wba__hl:hover { background: rgba(255,255,255,0.02); }
.wba__hl::before {
  content: ""; position: absolute;
  left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--hot);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.wba__hl:hover::before { transform: scaleY(1); }
.wba__hl-n {
  font-family: "DM Mono", monospace;
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 500; color: var(--hot); letter-spacing: -0.02em;
  line-height: 1;
}
.wba__hl-l {
  font-family: "DM Mono", monospace;
  font-size: 10px; color: var(--ink-3);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-top: 10px;
}

@media (max-width: 720px) {
  .wba__panels { grid-template-columns: 1fr; }
  .wba__panel--bef { border-right: none; border-bottom: 1px solid var(--line); }
  .wba__panel--aft { border-top-width: 3px; margin-top: 0; }
  .wba__highlights { grid-template-columns: 1fr 1fr; }
  .wba__hl:nth-child(2) { border-right: none; }
  .wba__hl:nth-child(3) { grid-column: 1/-1; border-right: none; border-top: 1px solid var(--line); }
}

/* ── BUSINESS VALUE ───────────────────────────────────────────── */
.wbv { background: var(--bg-2); }
.wbv .container { padding-top: 120px; padding-bottom: 120px; }
.wbv__outcomes {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 56px;
}
.wbv__outcome {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background .25s ease; position: relative;
}
.wbv__outcome:hover { background: var(--bg-1); }
.wbv__outcome-dot { width: 6px; height: 6px; background: var(--hot); }
.wbv__outcome-title { font-size: 16px; font-weight: 500; letter-spacing: -0.008em; }
.wbv__outcome-body { font-size: 13px; color: var(--ink-3); line-height: 1.55; }

/* ── FINAL CTA ────────────────────────────────────────────────── */
.wfcta { background: var(--bg-1); }
.wfcta .container { padding-top: 120px; padding-bottom: 120px; }
.wfcta__inner {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 80px; align-items: center;
  border-top: 1px solid var(--line); padding-top: 56px;
}
.wfcta h2 {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 500; letter-spacing: -0.022em; line-height: 1.08;
}
.wfcta h2 em { font-style: normal; color: var(--hot); }
.wfcta__sub { margin-top: 16px; font-size: 16px; color: var(--ink-2); line-height: 1.65; max-width: 48ch; }
.wfcta__actions { display: flex; flex-direction: column; gap: 12px; }
.wfcta__actions .btn { justify-content: space-between; }
.wfcta__tags {
  grid-column: 1 / -1;
  padding-top: 40px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px;
}
.wfcta__tag {
  font-family: "DM Mono", monospace; font-size: 11px;
  letter-spacing: 0.05em; color: var(--ink-3);
  border: 1px solid var(--line); padding: 7px 14px;
  transition: color .2s ease, border-color .2s ease;
}
.wfcta__tag:hover { color: var(--ink); border-color: var(--ink-4); }

/* ── ARTICLES ─────────────────────────────────────────────────── */
.wart .container { padding-top: 120px; padding-bottom: 120px; }
.wart__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 56px;
}
.wart__card {
  display: flex; flex-direction: column;
  background: var(--bg);
  text-decoration: none;
  transition: background .25s ease;
  position: relative;
}
.wart__card:hover { background: var(--bg-1); }
.wart__card__media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.wart__card__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.7) brightness(0.65) contrast(1.05);
  transition: transform .9s cubic-bezier(.2,.6,.2,1), filter .5s ease;
}
.wart__card:hover .wart__card__media img {
  transform: scale(1.04);
  filter: saturate(0.85) brightness(0.75) contrast(1.05);
}
.wart__card__tag {
  position: absolute; top: 14px; left: 16px;
  font-family: "DM Mono", monospace;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--hot); border: 1px solid rgba(239,126,44,0.35);
  padding: 3px 8px; background: rgba(10,10,11,0.75);
}
.wart__card__body {
  padding: 24px 28px 28px;
  display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.wart__card__meta {
  display: flex; align-items: center; gap: 10px;
  font-family: "DM Mono", monospace; font-size: 11px; color: var(--ink-4);
}
.wart__card__meta .dot { width: 3px; height: 3px; background: var(--ink-4); border-radius: 50%; }
.wart__card__title {
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 500; letter-spacing: -0.008em;
  line-height: 1.25; color: var(--ink);
}
.wart__card__excerpt {
  font-size: 13px; color: var(--ink-3); line-height: 1.6;
  flex: 1;
}
.wart__card__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; border-top: 1px solid var(--line);
  margin-top: auto;
  font-family: "DM Mono", monospace; font-size: 11px; color: var(--ink-4);
}
.wart__card__foot .arr {
  color: var(--ink-4);
  transition: transform .25s ease, color .25s ease;
}
.wart__card:hover .wart__card__foot .arr {
  transform: translate(3px, -3px); color: var(--hot);
}
.wart__more {
  margin-top: 32px;
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--ink-3);
}
@media (max-width: 900px) {
  .wart__grid { grid-template-columns: 1fr 1fr; }
  .wart__card:last-child { display: none; }
}
@media (max-width: 600px) {
  .wart__grid { grid-template-columns: 1fr; }
  .wart__card:last-child { display: flex; }
}
.sr-item {
  opacity: 0; transform: translateY(22px);
  transition: opacity .9s cubic-bezier(.16,.84,.24,1), transform .9s cubic-bezier(.16,.84,.24,1);
  transition-delay: calc(var(--d, 0) * 100ms);
}
.sr-ready .sr-item { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .sr-item { opacity: 1; transform: none; transition: none; }
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .wa__grid { grid-template-columns: repeat(2, 1fr); }
  .wrf__panel { grid-template-columns: 1fr 1fr; }
  .wrf__panel-col:nth-child(4) { grid-column: 1 / -1; border-right: none; border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .wh__inner { padding: 160px 0 64px; }
  .wp__grid { grid-template-columns: 1fr; gap: 40px; }
  .wv__pillars { grid-template-columns: 1fr; }
  .wba__highlights { grid-template-columns: 1fr 1fr; }
  .wba__hl:nth-child(2) { border-right: none; }
  .wba__hl:nth-child(3) { border-top: 1px solid var(--line); grid-column: 1 / -1; }
  .wbv__outcomes { grid-template-columns: 1fr 1fr; }
  .wfcta__inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .wh__eyebrow { flex-direction: column; align-items: flex-start; gap: 8px; }
  .wh__eyebrow-sep { display: none; }
  .wh__stats { flex-wrap: wrap; gap: 16px 12px; }
  .wh__stat { border-right: none; padding-right: 0; margin-right: 0;
    flex: 1 1 0; min-width: 0; }
  .wh__stat-n { font-size: 20px; }
  .wh__stats-cta { margin-left: 0; margin-top: 8px; width: 100%; justify-content: space-between; }
  .wa__grid { grid-template-columns: 1fr; }
  .wba__table { overflow-x: auto; }
  .wba__thead, .wba__tr { min-width: 500px; }
  .wba__highlights { grid-template-columns: 1fr; }
  .wba__hl { border-right: none; border-bottom: 1px solid var(--line); }
  .wba__hl:last-child { border-bottom: none; }
  .wbv__outcomes { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .wh { min-height: 640px; }
  .wh__h1 { letter-spacing: -0.02em; }
  .wh__inner { padding: 120px 0 56px; }
  .wp .container, .wa .container, .wrf .container,
  .wv .container, .wba .container, .wbv .container, .wfcta .container {
    padding-top: 72px; padding-bottom: 72px;
  }
}

/* ── HERO BADGE ───────────────────────────────────────────────── */
.wh__badge {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  margin-bottom: 4px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: rgba(255,255,255,0.03);
}

/* ── PARTNERS SECTION ─────────────────────────────────────────── */
.wpar { padding: 0; }
.wpar .container { padding-top: 120px; padding-bottom: 120px; }

.wpar__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 64px;
}

.wpar__card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}

.wpar__logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.85);
  flex-shrink: 0;
  align-self: flex-start;
  margin-bottom: 24px;
}

.wpar__card-right {
  display: flex;
  flex-direction: column;
  padding: 40px;
  gap: 0;
}
.wpar__btn {
  align-self: flex-start;
  margin-top: 28px;
}

.wpar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wpar__tags span {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0a0a0b;
  background: #ffffff;
  border: 1px solid #ffffff;
  padding: 4px 10px;
  border-radius: 2px;
  font-weight: 500;
}

.wpar__card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.wpar__image-wrap {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

.wpar__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.6) brightness(0.7);
  display: block;
  min-height: 280px;
  transition: filter 0.4s ease;
}

.wpar__card:hover .wpar__image {
  filter: saturate(0.8) brightness(0.85);
}

.wpar__image-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: linear-gradient(to top, rgba(10,10,11,0.85) 0%, transparent 100%);
}

.wpar__desc {
  padding: 0;
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0 0 20px;
}

/* ── IMAGE-BASED CANVAS OVERRIDES ─────────────────────────────── */
.wrf__canvas--img {
  background: #0a0a0b;
}

.wrf__floorplan-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.92;
  transition: opacity 0.3s ease;
}

/* ── RESPONSIVE — PARTNERS ─────────────────────────────────────── */
@media (max-width: 900px) {
  .wpar__card-body { grid-template-columns: 1fr; }
  .wpar__image-wrap { border-right: none; border-bottom: 1px solid var(--line); }
  .wpar__image { min-height: 220px; }
  .wpar .container { padding-top: 80px; padding-bottom: 80px; }
}

@media (max-width: 600px) {
  .wpar__card-right { padding: 24px; }
  .wpar__desc { margin-top: 16px; }
  .wpar__logo { height: 28px; }
}
