:root {
  --bg: #030d14;
  --bg-soft: #071722;
  --panel: rgba(8, 24, 34, .76);
  --panel-strong: rgba(6, 20, 29, .94);
  --line: rgba(114, 215, 219, .18);
  --text: #f4f8fa;
  --muted: #9eb1ba;
  --cyan: #45f2e6;
  --cyan-soft: #1bb9b7;
  --gold: #f1bb57;
  --green: #34d791;
  --radius: 17px;
  --shadow: 0 18px 60px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 58% 33%, rgba(19, 192, 187, .09), transparent 30%),
    radial-gradient(circle at 46% 42%, rgba(240, 184, 76, .05), transparent 30%),
    linear-gradient(180deg, #020b11 0%, #06131d 62%, #020a10 100%);
}
.grid-field {
  position: absolute;
  inset: 80px 0 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(61, 239, 227, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 239, 227, .07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 55% 38%, black 0, transparent 70%);
  pointer-events: none;
}
.ambient { position: absolute; border-radius: 999px; filter: blur(80px); pointer-events: none; }
.ambient-one { width: 460px; height: 320px; top: 170px; left: 46%; background: rgba(17, 183, 180, .08); }
.ambient-two { width: 320px; height: 260px; top: 90px; right: 2%; background: rgba(239, 180, 73, .05); }

.topbar {
  width: min(1540px, calc(100% - 48px));
  height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  z-index: 30;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-weight: 800; letter-spacing: .04em; color: var(--cyan); font-size: 22px; }
.brand img { width: 52px; height: 52px; object-fit: cover; object-position: 48% 50%; border-radius: 50%; filter: drop-shadow(0 0 11px rgba(67, 240, 228, .25)); }
.main-nav { display: flex; align-items: center; gap: 48px; height: 100%; }
.main-nav a { position: relative; color: rgba(255,255,255,.83); font-size: 14px; padding: 31px 4px; transition: .25s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--cyan); }
.main-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 2px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 10px rgba(69,242,230,.75); }
.login-button { justify-self: end; border: 1px solid rgba(69,242,230,.8); background: rgba(3,17,24,.55); border-radius: 16px; min-width: 108px; padding: 10px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer; transition: .25s ease; }
.login-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.login-button:hover { background: rgba(69,242,230,.12); box-shadow: 0 0 22px rgba(69,242,230,.16); }
.menu-toggle { display: none; }

main { position: relative; z-index: 2; }
.hero {
  width: min(1540px, calc(100% - 48px));
  min-height: 510px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 310px minmax(760px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 28px 0 8px;
}
.hero-copy { align-self: center; z-index: 10; }
.eyebrow { margin: 0 0 14px; font-size: 11px; letter-spacing: .22em; color: rgba(69,242,230,.72); }
.hero-copy h1 { margin: 0; font-size: clamp(42px, 3vw, 58px); line-height: 1.08; letter-spacing: -.045em; font-weight: 650; }
.hero-copy h1 span { color: var(--cyan); text-shadow: 0 0 24px rgba(69,242,230,.18); }
.hero-description { max-width: 290px; margin: 22px 0 28px; color: rgba(235,244,247,.76); font-size: 16px; line-height: 1.72; }
.primary-button { width: fit-content; display: inline-flex; align-items: center; gap: 19px; border: 1px solid rgba(69,242,230,.82); border-radius: 999px; padding: 8px 9px 8px 24px; color: var(--cyan); font-size: 14px; transition: .3s ease; }
.primary-button:hover { background: rgba(69,242,230,.1); transform: translateY(-2px); box-shadow: 0 0 24px rgba(69,242,230,.15); }
.button-arrow { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(69,242,230,.17); border: 1px solid rgba(69,242,230,.22); font-size: 18px; }

.ecosystem { position: relative; height: 510px; min-width: 760px; }
.hub-aura { position: absolute; width: 500px; height: 360px; left: 42%; top: 50%; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle, rgba(59,239,227,.12), transparent 66%); filter: blur(18px); }
.logo-stage { position: absolute; left: 42%; top: 51%; transform: translate(-50%,-50%); width: 530px; height: 430px; display: grid; place-items: center; z-index: 3; }
.logo-stage::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(8,34,44,.88), rgba(1,9,14,.72)); border: 1px solid rgba(69,242,230,.12); box-shadow: inset 0 0 60px rgba(0,0,0,.6), 0 0 80px rgba(27,185,183,.08); }
.hero-logo { width: 610px; max-width: none; position: relative; z-index: 2; filter: drop-shadow(0 0 16px rgba(48,231,222,.12)); user-select: none; pointer-events: none; }
.connection-map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; overflow: visible; pointer-events: none; }
.connection-path { fill: none; stroke: rgba(69,242,230,.4); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 850; stroke-dashoffset: 0; transition: stroke .3s ease, stroke-width .3s ease, filter .3s ease, opacity .3s ease; }
.connection-path.gold { stroke: rgba(241,187,87,.45); }
.connection-path.active { stroke: var(--cyan); stroke-width: 3.2; filter: url(#softGlow); animation: pulsePath 1.9s ease-in-out infinite alternate; }
.connection-path.dimmed { opacity: .16; }
@keyframes pulsePath { to { stroke-width: 4.2; } }

.company-node { position: absolute; z-index: 7; width: 132px; min-height: 118px; padding: 14px 10px 13px; border-radius: 16px; border: 1px solid rgba(172,216,219,.34); background: linear-gradient(180deg, rgba(13,31,41,.92), rgba(5,18,26,.92)); color: white; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; box-shadow: inset 0 0 20px rgba(69,242,230,.04), 0 14px 34px rgba(0,0,0,.28); cursor: pointer; transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease; }
.company-node::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(255,255,255,.06); border-radius: 12px; pointer-events: none; }
.company-node:hover, .company-node.active { transform: scale(1.06); border-color: rgba(69,242,230,.9); box-shadow: inset 0 0 24px rgba(69,242,230,.10), 0 0 25px rgba(69,242,230,.20), 0 16px 36px rgba(0,0,0,.32); }
.company-node.active { border-color: rgba(241,187,87,.72); box-shadow: inset 0 0 24px rgba(69,242,230,.11), 0 0 26px rgba(69,242,230,.28), 0 0 17px rgba(241,187,87,.13); }
.company-node > span:last-child { font-size: 14px; line-height: 1.15; }
.node-icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--cyan); }
.node-icon svg { width: 47px; height: 47px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.node-icon.monogram { font-size: 44px; font-weight: 700; text-shadow: 0 0 12px rgba(69,242,230,.52); }
.gold-icon { color: var(--gold); }
.node-archidoverse { left: 5%; top: 11%; }
.node-tdoverse { left: 2%; bottom: 4%; }
.node-estates { right: 16%; top: 11%; }
.node-studio { right: 16%; bottom: 4%; }

.company-popover { position: absolute; right: 0; top: 20%; width: 235px; min-height: 178px; z-index: 9; padding: 24px 24px 21px; border-radius: 16px; border: 1px solid rgba(241,187,87,.72); background: linear-gradient(155deg, rgba(14,28,37,.96), rgba(5,16,23,.96)); box-shadow: 0 20px 44px rgba(0,0,0,.4), inset 0 0 25px rgba(241,187,87,.04), 0 0 20px rgba(241,187,87,.08); transition: opacity .25s ease, transform .25s ease; }
.company-popover::before { content: ""; position: absolute; left: -10px; top: 42%; width: 18px; height: 18px; background: #0b1c25; border-left: 1px solid rgba(241,187,87,.72); border-bottom: 1px solid rgba(241,187,87,.72); transform: rotate(45deg); }
.company-popover.is-hidden { opacity: 0; transform: translateX(14px); pointer-events: none; }
.popover-close { position: absolute; right: 15px; top: 10px; border: 0; background: transparent; color: white; font-size: 20px; cursor: pointer; }
.popover-kicker { margin: 0 0 7px; color: rgba(69,242,230,.62); font-size: 9px; letter-spacing: .16em; }
.company-popover h2 { margin: 0 0 11px; font-size: 18px; }
.company-popover p:not(.popover-kicker) { margin: 0; color: rgba(225,236,239,.72); font-size: 13px; line-height: 1.5; }
.popover-button { margin-top: 20px; display: inline-flex; align-items: center; justify-content: space-between; min-width: 124px; border-radius: 10px; padding: 9px 12px; color: #021014; background: linear-gradient(90deg, #62f7eb, #36d7df); font-size: 13px; font-weight: 600; box-shadow: 0 0 18px rgba(69,242,230,.18); }

.dashboard-grid { width: min(1540px, calc(100% - 48px)); margin: 2px auto 0; display: grid; grid-template-columns: .96fr .98fr 1.05fr 1.02fr; gap: 16px; position: relative; z-index: 15; }
.glass-card { min-height: 190px; border: 1px solid rgba(154,204,209,.27); border-radius: var(--radius); background: linear-gradient(145deg, rgba(10,27,37,.92), rgba(4,16,24,.90)); box-shadow: var(--shadow), inset 0 0 30px rgba(69,242,230,.025); padding: 20px; overflow: hidden; }
.card-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.card-heading > div { display: flex; align-items: center; gap: 10px; }
.card-heading h2 { margin: 0; font-size: 15px; font-weight: 500; }
.card-heading a, .card-heading button { color: var(--cyan); background: transparent; border: 0; font-size: 11px; cursor: pointer; }
.heading-icon { color: var(--cyan); font-size: 17px; }
.avatars { display: flex; align-items: center; margin: 8px 0 18px; }
.avatar { width: 49px; height: 49px; border-radius: 50%; margin-right: -8px; display: grid; place-items: center; border: 1px solid rgba(241,187,87,.65); color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 7px 20px rgba(0,0,0,.25); }
.avatar-a { background: linear-gradient(145deg,#3a6f7a,#102d38); }
.avatar-b { background: linear-gradient(145deg,#8b633c,#362617); }
.avatar-c { background: linear-gradient(145deg,#4a647d,#142332); }
.avatar-d { background: linear-gradient(145deg,#745f76,#2a1f2e); }
.avatar-more { margin-left: 13px; margin-right: 0; background: rgba(5,17,25,.75); color: var(--cyan); }
.team-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.article-row { display: grid; grid-template-columns: 54px 1fr; gap: 11px; align-items: center; padding: 6px 0; border-top: 1px solid rgba(255,255,255,.06); }
.article-row:first-of-type { border-top: 0; }
.article-thumb { height: 36px; border-radius: 4px; border: 1px solid rgba(255,255,255,.09); background-size: cover; }
.thumb-one { background: linear-gradient(135deg,#507d98,#172d3c 65%); }
.thumb-two { background: linear-gradient(135deg,#705740,#243e47 70%); }
.thumb-three { background: linear-gradient(135deg,#576f4b,#1a3041 75%); }
.article-row strong { display: block; color: rgba(247,251,252,.9); font-size: 11px; font-weight: 500; margin-bottom: 3px; }
.article-row small { display: block; color: #708792; font-size: 9px; }
.insights-body { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: end; }
.metric strong { display: block; font-size: 28px; letter-spacing: -.04em; }
.metric span { display: block; margin: 5px 0 13px; color: var(--muted); font-size: 11px; }
.metric em { display: inline-flex; color: var(--green); background: rgba(52,215,145,.11); border-radius: 7px; padding: 5px 8px; font-size: 10px; font-style: normal; }
.metric small { display: block; margin-top: 6px; color: #718792; font-size: 8px; }
.mini-chart { width: 100%; height: 112px; overflow: visible; }
.mini-chart polyline { fill: none; stroke: var(--cyan); stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(69,242,230,.55)); }
.chart-area { fill: url(#chartFill); }
.chart-dots circle { fill: var(--cyan); }
.weekdays { display: grid; grid-template-columns: repeat(7,1fr); margin-left: 127px; color: #6f8590; font-size: 8px; text-align: center; }
.admin-content { display: grid; grid-template-columns: 1fr 118px; gap: 10px; align-items: center; }
.admin-content p { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 0 0 16px; }
.admin-button { width: 100%; border: 1px solid rgba(241,187,87,.84); background: transparent; color: var(--gold); border-radius: 999px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.lock-orbit { width: 105px; height: 105px; border-radius: 50%; border: 1px solid rgba(69,242,230,.7); display: grid; place-items: center; position: relative; box-shadow: inset 0 0 24px rgba(69,242,230,.1), 0 0 18px rgba(69,242,230,.08); }
.lock-orbit::before, .lock-orbit::after { content: ""; position: absolute; border-radius: 50%; inset: -12px; border: 1px dashed rgba(69,242,230,.27); animation: orbit 12s linear infinite; }
.lock-orbit::after { inset: 13px; border-style: solid; border-color: rgba(69,242,230,.16); }
.lock-orbit span { font-size: 32px; filter: drop-shadow(0 0 10px rgba(69,242,230,.42)); }
@keyframes orbit { to { transform: rotate(360deg); } }

.feature-strip { width: min(1540px, calc(100% - 48px)); margin: 20px auto 0; min-height: 92px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; border-top: 1px solid rgba(255,255,255,.08); }
.feature { min-height: 54px; display: flex; justify-content: center; align-items: center; gap: 17px; border-right: 1px solid rgba(255,255,255,.1); }
.feature:last-child { border-right: 0; }
.feature > span { color: var(--gold); font-size: 26px; }
.feature:nth-child(even) > span { color: var(--cyan); }
.feature strong { display: block; font-size: 13px; font-weight: 500; }
.feature small { display: block; margin-top: 5px; color: #7f949d; font-size: 10px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(0,7,11,.78); backdrop-filter: blur(12px); }
.modal-backdrop[hidden] { display: none; }
.login-modal { position: relative; width: min(430px, 100%); border: 1px solid rgba(69,242,230,.34); border-radius: 22px; padding: 32px; background: linear-gradient(145deg,#091d27,#041118); box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 40px rgba(69,242,230,.08); }
.modal-close { position: absolute; right: 15px; top: 12px; border: 0; background: transparent; font-size: 24px; cursor: pointer; }
.modal-logo { width: 80px; height: 80px; margin: 0 auto 8px; overflow: hidden; border-radius: 50%; }
.modal-logo img { width: 116px; height: 90px; object-fit: cover; transform: translate(-18px,-4px); }
.login-modal > p { text-align: center; margin: 0; color: var(--cyan); font-size: 9px; letter-spacing: .18em; }
.login-modal h2 { text-align: center; margin: 8px 0 24px; }
.login-modal form { display: grid; gap: 15px; }
.login-modal label { display: grid; gap: 7px; color: #b8c8ce; font-size: 12px; }
.login-modal input { width: 100%; border: 1px solid rgba(159,211,214,.24); border-radius: 10px; background: rgba(2,12,17,.65); color: white; padding: 12px 13px; outline: none; }
.login-modal input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(69,242,230,.08); }
.login-modal form button { border: 0; border-radius: 11px; padding: 12px; color: #021014; font-weight: 700; background: linear-gradient(90deg,#65f5e9,#39d5dc); cursor: pointer; }

@media (max-width: 1280px) {
  .hero { grid-template-columns: 270px minmax(700px,1fr); }
  .company-popover { width: 210px; }
  .dashboard-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 1040px) {
  .topbar { grid-template-columns: 1fr auto auto; }
  .menu-toggle { display: flex; flex-direction: column; gap: 4px; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid rgba(69,242,230,.35); border-radius: 10px; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 17px; height: 1px; background: white; }
  .main-nav { position: absolute; top: 76px; left: 0; right: 0; height: auto; padding: 16px; border: 1px solid rgba(69,242,230,.2); border-radius: 16px; background: rgba(4,15,22,.97); display: none; justify-content: center; gap: 25px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 8px; }
  .main-nav a.active::after { bottom: 0; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 55px; }
  .hero-copy { max-width: 600px; margin: 0 auto; }
  .hero-description { max-width: 520px; margin-left: auto; margin-right: auto; }
  .primary-button { margin: 0 auto; }
  .ecosystem { width: 100%; min-width: 0; max-width: 950px; margin: 0 auto; }
  .feature-strip { grid-template-columns: repeat(2,1fr); }
  .feature:nth-child(2) { border-right: 0; }
}

@media (max-width: 720px) {
  .topbar, .hero, .dashboard-grid, .feature-strip { width: min(100% - 28px, 1540px); }
  .brand span { display: none; }
  .login-button { min-width: 46px; width: 46px; padding: 9px; }
  .login-button span { display: none; }
  .main-nav.open { flex-direction: column; align-items: center; }
  .hero-copy h1 { font-size: 40px; }
  .ecosystem { height: auto; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; padding-top: 310px; }
  .hub-aura { width: 320px; height: 250px; left: 50%; top: 135px; }
  .logo-stage { left: 50%; top: 140px; width: 360px; height: 280px; }
  .logo-stage::before { width: 220px; height: 220px; }
  .hero-logo { width: 390px; }
  .connection-map { display: none; }
  .company-node { position: relative; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; width: 100%; min-height: 105px; }
  .company-popover { position: relative; grid-column: 1 / -1; top: auto; right: auto; width: 100%; min-height: 150px; }
  .company-popover::before { display: none; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: 1fr; padding: 15px 0; }
  .feature { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding: 15px; justify-content: flex-start; }
  .feature:last-child { border-bottom: 0; }
}

/* CMS-connected refinements */
.brand img { object-fit: contain; border-radius: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.language-picker { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 10px; border: 1px solid rgba(69,242,230,.25); border-radius: 13px; background: rgba(3,17,24,.55); color: var(--muted); }
.language-picker select { appearance: none; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 11px; cursor: pointer; max-width: 94px; }
.language-picker option { color: #08151d; }
.banner-rail { width: min(1540px, calc(100% - 48px)); margin: 14px auto 0; display: grid; gap: 10px; }
.site-banner { min-height: 96px; padding: 20px 24px; border: 1px solid rgba(69,242,230,.24); border-radius: 17px; background: linear-gradient(90deg,rgba(3,13,20,.96),rgba(3,13,20,.75)); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: space-between; gap: 22px; box-shadow: var(--shadow); }
.site-banner p { margin: 0 0 6px; color: var(--cyan); font-weight: 700; }
.site-banner span { color: var(--muted); font-size: 13px; }
.site-banner a { flex: 0 0 auto; border: 1px solid var(--cyan); border-radius: 999px; padding: 9px 16px; color: var(--cyan); }
.node-custom-logo { width: 55px; height: 55px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(69,242,230,.35)); }
.company-popover { visibility: visible; }
.company-popover.is-hidden { visibility: hidden; }
.login-error { min-height: 18px; color: #ff9a9a; font-size: 12px; text-align: center; }
.login-modal form button[disabled] { opacity: .55; cursor: wait; }
.avatar-image { overflow: hidden; background: #102833; }
.avatar-image img { width: 100%; height: 100%; object-fit: cover; }
.empty-state { padding: 18px 0; color: var(--muted); font-size: 12px; }
.custom-section { width: min(1180px, calc(100% - 48px)); margin: 28px auto; padding: 34px; border: 1px solid rgba(69,242,230,.2); border-radius: 20px; background: linear-gradient(145deg,rgba(10,27,37,.92),rgba(4,16,24,.9)); }
.custom-section h2 { margin: 0 0 14px; font-size: 30px; }
.custom-section > div { color: var(--muted); line-height: 1.75; }
.article-page { width: min(940px, calc(100% - 36px)); margin: 0 auto; padding: 28px 0 80px; }
.article-page > .brand { margin-bottom: 70px; }
.article-page article { padding: 42px; border: 1px solid rgba(69,242,230,.2); border-radius: 24px; background: linear-gradient(145deg,rgba(10,27,37,.94),rgba(4,16,24,.92)); }
.article-page h1 { font-size: clamp(36px,7vw,68px); line-height: 1.04; margin: 0 0 28px; }
.article-hero { width: 100%; max-height: 500px; object-fit: cover; border-radius: 16px; margin-bottom: 24px; }
.article-lead { color: var(--cyan); font-size: 20px; line-height: 1.6; }
.article-body { color: #c4d2d8; line-height: 1.9; }
[dir="rtl"] .hero-copy, [dir="rtl"] .custom-section, [dir="rtl"] .article-page article { text-align: right; }
[dir="rtl"] .primary-button, [dir="rtl"] .header-actions { flex-direction: row-reverse; }
[dir="rtl"] .feature { border-right: 0; border-left: 1px solid rgba(255,255,255,.1); }
[dir="rtl"] .feature:last-child { border-left: 0; }
[dir="rtl"] .company-popover::before { left: auto; right: -10px; transform: rotate(225deg); }
[dir="rtl"] .popover-close, [dir="rtl"] .modal-close { right: auto; left: 15px; }

@media (max-width: 1040px) {
  .topbar { grid-template-columns: 1fr auto auto; }
  .header-actions { gap: 6px; }
  .language-picker { width: 46px; justify-content: center; padding: 0; }
  .language-picker select { width: 13px; color: transparent; }
}
@media (max-width: 720px) {
  .banner-rail { width: min(100% - 28px, 1540px); }
  .site-banner { align-items: flex-start; flex-direction: column; }
  .header-actions { gap: 5px; }
  .language-picker { height: 38px; }
  .custom-section { width: min(100% - 28px, 1180px); padding: 24px; }
  .article-page article { padding: 24px; }
}
.company-directory{width:min(1180px,calc(100% - 48px));margin:0 auto 24px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.directory-company{display:flex;gap:15px;align-items:flex-start;padding:19px;border:1px solid rgba(69,242,230,.2);border-radius:16px;background:linear-gradient(145deg,rgba(10,27,37,.92),rgba(4,16,24,.9));transition:.25s}.directory-company:hover{transform:translateY(-3px);border-color:rgba(69,242,230,.55)}.directory-company>span{color:var(--cyan);font-size:28px}.directory-company h3{margin:0 0 7px}.directory-company p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}@media(max-width:900px){.company-directory{grid-template-columns:1fr 1fr}}@media(max-width:600px){.company-directory{width:min(100% - 28px,1180px);grid-template-columns:1fr}}
.profile-page{width:min(1180px,calc(100% - 36px));margin:0 auto;padding:28px 0 80px}.profile-page>.brand{margin-bottom:60px}.profile-card{display:grid;grid-template-columns:minmax(280px,420px) 1fr;gap:50px;align-items:center;padding:45px;border:1px solid rgba(69,242,230,.2);border-radius:25px;background:linear-gradient(145deg,rgba(10,27,37,.94),rgba(4,16,24,.92));box-shadow:var(--shadow)}.profile-visual{min-height:360px;border:1px solid rgba(69,242,230,.16);border-radius:20px;background:radial-gradient(circle,rgba(69,242,230,.12),transparent 65%),#04131b;display:grid;place-items:center;overflow:hidden}.profile-visual img{width:100%;height:100%;max-height:430px;object-fit:contain}.profile-initials{font-size:92px;font-weight:800;color:var(--cyan);text-shadow:0 0 28px rgba(69,242,230,.32)}.profile-card h1{margin:0 0 12px;font-size:clamp(40px,6vw,72px);line-height:1.04}.profile-card h2{margin:0 0 25px;color:var(--gold);font-size:22px;font-weight:500}.profile-description{color:var(--muted);font-size:17px;line-height:1.85}.profile-links{display:flex;gap:10px;margin-top:24px}.profile-links a{border:1px solid rgba(69,242,230,.5);border-radius:999px;padding:9px 16px;color:var(--cyan)}@media(max-width:800px){.profile-card{grid-template-columns:1fr;padding:25px}.profile-visual{min-height:280px}}
.directory-page{width:min(1240px,calc(100% - 36px));margin:0 auto;padding:28px 0 80px}.directory-page>.brand{margin-bottom:60px}.directory-page>header{text-align:center;margin-bottom:40px}.directory-page>header h1{margin:0;font-size:clamp(42px,7vw,78px)}.directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.directory-profile{padding:18px;border:1px solid rgba(69,242,230,.2);border-radius:20px;background:linear-gradient(145deg,rgba(10,27,37,.94),rgba(4,16,24,.92));transition:.25s}.directory-profile:hover{transform:translateY(-5px);border-color:rgba(69,242,230,.55)}.directory-profile-image{height:230px;margin-bottom:18px;border-radius:15px;overflow:hidden;background:radial-gradient(circle,rgba(69,242,230,.12),transparent 65%),#04131b;display:grid;place-items:center}.directory-profile-image img{width:100%;height:100%;object-fit:cover}.directory-profile-image>span{font-size:60px;color:var(--cyan)}.directory-profile h2{margin:0 0 8px}.directory-profile>p{margin:0;color:var(--muted);line-height:1.65}.article-directory-card .directory-profile-image img{object-fit:cover}@media(max-width:900px){.directory-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:580px){.directory-grid{grid-template-columns:1fr}.directory-profile-image{height:260px}}

/* Phase 1 — About & Careers pages */
.dashboard-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.inner-site { min-height: 100vh; }
.inner-page { width: min(1320px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 90px; }
.inner-hero { min-height: 420px; display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 70px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.08); }
.inner-hero h1 { max-width: 900px; margin: 0; font-size: clamp(48px, 6vw, 86px); line-height: 1.02; letter-spacing: -.055em; font-weight: 620; }
.inner-hero > div > p:last-child { max-width: 850px; margin: 28px 0 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.inner-logo-stage { position: relative; min-height: 330px; display: grid; place-items: center; }
.inner-logo-stage::before,.inner-logo-stage::after,.inner-logo-stage span { content:""; position:absolute; border-radius:50%; border:1px solid rgba(69,242,230,.22); }
.inner-logo-stage::before { width: 330px; height: 330px; box-shadow: 0 0 80px rgba(69,242,230,.08), inset 0 0 60px rgba(69,242,230,.04); }
.inner-logo-stage::after { width: 245px; height: 245px; border-color: rgba(241,187,87,.22); }
.inner-logo-stage span { width: 385px; height: 180px; border-style: dashed; transform: rotate(-18deg); }
.inner-logo-stage img { position: relative; z-index: 2; width: 250px; height: 250px; object-fit: cover; border-radius: 50%; filter: drop-shadow(0 0 35px rgba(69,242,230,.18)); }
.inner-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin-top: 34px; }
.inner-card { min-height: 270px; padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg,rgba(10,31,42,.86),rgba(4,16,24,.92)); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.inner-card::after { content:""; position:absolute; width:190px; height:190px; border-radius:50%; right:-80px; bottom:-110px; background:rgba(69,242,230,.055); filter:blur(4px); }
.inner-card > span { color: var(--gold); font-size: 12px; letter-spacing: .2em; }
.inner-card h2 { margin: 50px 0 14px; font-size: 30px; letter-spacing: -.035em; }
.inner-card p { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.85; }
.inner-card-wide { grid-column: 1 / -1; min-height: 230px; }
.careers-grid .inner-card:first-child { min-height: 320px; }
.opportunity-card { display: grid; grid-template-columns: 1fr auto; column-gap: 40px; align-content: center; }
.opportunity-card > span,.opportunity-card h2,.opportunity-card p { grid-column: 1; }
.opportunity-status { grid-column: 2; grid-row: 1 / span 3; align-self: center; min-width: 230px; padding: 24px; border: 1px solid rgba(69,242,230,.2); border-radius: 18px; background: rgba(3,13,20,.42); display: flex; align-items: center; gap: 12px; }
.opportunity-status i { width: 11px; height: 11px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px rgba(69,242,230,.75); }
.inner-cta { margin-top: 20px; padding: 42px; border: 1px solid rgba(241,187,87,.22); border-radius: 22px; background: linear-gradient(120deg,rgba(241,187,87,.06),rgba(69,242,230,.04)); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.inner-cta h2 { margin: 0 0 10px; font-size: 34px; }
.inner-cta p:not(.eyebrow) { margin: 0; color: var(--muted); line-height: 1.75; }
.inner-cta .primary-button { flex: 0 0 auto; }
@media(max-width:1280px){.dashboard-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1040px){.inner-hero{grid-template-columns:1fr;text-align:center}.inner-logo-stage{min-height:290px}.inner-hero>div>p:last-child{margin-left:auto;margin-right:auto}.inner-page{padding-top:40px}}
@media(max-width:760px){.dashboard-grid{grid-template-columns:1fr}.inner-page{width:min(100% - 28px,1320px)}.inner-hero h1{font-size:44px}.inner-logo-stage{min-height:245px}.inner-logo-stage::before{width:240px;height:240px}.inner-logo-stage::after{width:185px;height:185px}.inner-logo-stage span{width:270px;height:125px}.inner-logo-stage img{width:180px;height:180px}.inner-card-grid{grid-template-columns:1fr}.inner-card-wide{grid-column:auto}.inner-card{padding:26px}.opportunity-card{display:block}.opportunity-status{margin-top:24px}.inner-cta{padding:28px;align-items:flex-start;flex-direction:column}}

/* Doverse central auth navigation — Fix 03 */
.header-actions{gap:8px}
.login-button.doverse-signout-button{min-width:auto;padding-inline:14px}
.login-button.doverse-signout-button span{display:inline}
@media (max-width:720px){.login-button.doverse-signout-button{width:auto;min-width:auto;padding:9px 10px}.login-button.doverse-signout-button span{display:inline;font-size:11px}}
