/* Capital Catalyst · areas (Phase 2, 13 Nov 2026): area links in the top bar, the grouped directory, the offer cards,
   the four-step line, the chart fold, the header call to action and the Cyber Security wing. */

/* ---------- top bar: area links between the name and the controls */
.areas { position: relative; display: flex; gap: 26px; align-items: center; margin: 0 auto 0 48px; }
/* the same soft scrim as the name beside it (x-a11y.css): the links sit over the tower's crown at the top floor */
.areas::before {
  content: ""; position: absolute; inset: -12px -34px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 56% 75% at 50% 50%, var(--scrim) 0%, var(--scrim) 58%, transparent 88%);
}
.areas a { position: relative; font: 400 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 8px 0; transition: color .3s; }
.areas a:hover, .areas a:focus-visible, .areas a[aria-current] { color: var(--ink); }
.areas a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.areas a:hover::after, .areas a[aria-current]::after { transform: scaleX(1); }
.areas a:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
@media (max-width: 1180px) { .areas { display: none; } }
html.plain .areas { display: none; }

/* ---------- the header call to action: high contrast, the one strong element in the bar */
.topbar .begin.primary { background: #1A6CAF; border-color: #1A6CAF; color: #fff; height: 38px; padding: 0 18px; font-weight: 500; box-shadow: 0 6px 22px -10px rgba(30, 125, 196, .9); }
.topbar .begin.primary:hover { filter: none; background: #2a8bd3; }
body.golden .topbar .begin.primary { background: #b5652a; border-color: #b5652a; box-shadow: 0 6px 22px -10px rgba(181, 101, 42, .9); }
body.golden .topbar .begin.primary:hover { background: #c4733a; }

/* ---------- the directory: one row per area, the area's other floors indented */
.floors li.sub { min-height: 26px; padding: 3px 0; font-size: .92em; opacity: .78; }
.floors li.sub button::before { content: "·"; margin-right: 6px; color: var(--muted); }
.floors li.sub::after { width: 4px; height: 4px; margin-top: -2px; right: -18.5px; }
@media (max-width: 760px) {
  .floors { cursor: pointer; }
  .floors.open ol { display: block; position: absolute; right: 0; bottom: calc(100% + 8px); min-width: 210px; padding: 10px 14px 8px; border-right: 0;
    background: rgba(243, 245, 247, .97); border: 1px solid var(--glass-edge); border-radius: 6px; box-shadow: 0 18px 50px -20px rgba(11, 31, 51, .45); }
  body.night .floors.open ol { background: rgba(10, 13, 19, .97); }
  body.golden .floors.open ol { background: rgba(250, 242, 232, .97); }
  .floors.open ol li { min-height: 40px; }
  .floors.open ol li::after { display: none; }
}

/* ---------- Offerings: four cards, each a link to its own page, and the add-on line */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.offer { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 12px; border: 1px solid var(--hair); border-radius: 4px; color: inherit; text-decoration: none;
  transition: border-color .3s, background-color .3s, transform .4s cubic-bezier(.16, 1, .3, 1); }
.offer:hover, .offer:focus-visible { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); transform: translateY(-1px); }
.offer:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
.offer i { font: 400 10px var(--mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.offer b { font: 400 17px/1.2 var(--display); letter-spacing: -.04em; color: var(--ink); }
.offer span { font-size: 12.5px; line-height: 1.45; color: var(--soft); text-wrap: pretty; }
.offer u { margin-top: auto; padding-top: 4px; text-decoration: none; font: 400 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.offer:first-child { border-color: color-mix(in srgb, var(--accent) 55%, var(--hair)); }
.addon { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.5; color: var(--soft); text-wrap: pretty; }
.addon b { color: var(--ink); font-weight: 500; }

/* ---------- How it works: one line of four steps; who it's for underneath */
.steps.line { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.steps.line li { display: block; padding: 14px 0 0; border-top: 1px solid var(--line); position: relative; }
.steps.line li::before { content: ""; position: absolute; top: -1px; left: 0; width: 26px; height: 1px; background: var(--accent); }
.steps.line i { display: block; margin-bottom: 8px; }
.steps.line b { font-size: 15px; margin-bottom: 4px; }
.steps.line span { font-size: 12.5px; line-height: 1.45; display: block; }
.who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--soft); }
.who .who-k { font: 400 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.who .ic { display: inline-block; width: 6px; height: 6px; margin-right: 8px; vertical-align: 1px; background: var(--accent); }
#how .screen { max-width: 860px; }

/* ---------- What we build: a slim stat row under the pipeline */
.cc-stats.slim dt { font-size: 22px; }
.cc-stats.slim dd { font-size: 12px; }

/* ---------- Results: every chart folds out under the overview */
.more-btn { all: unset; box-sizing: border-box; display: block; margin: 10px auto 0; padding: 8px 14px; cursor: pointer; font: 400 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--hair); border-radius: 3px; background: var(--glass); transition: color .3s, border-color .3s; }
.more-btn::after { content: " ↓"; }
.more-btn[aria-expanded="true"]::after { content: " ↑"; }
.more-btn:hover, .more-btn:focus-visible { color: var(--ink); border-color: var(--accent); }
.screen-panel .tabs[hidden] { display: none; }
.more-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; font: 400 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.more-links a { color: var(--accent-text); text-decoration: none; }
.more-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Cyber Security: its own wing. Calm, but a different world: deep blue glass, cyan hairlines, a slow scan. */
.panel.security { --ink: #e8f3ff; --soft: #a9c0d8; --muted: #7f97b2; --accent: #38c8ff; --accent-text: #5ed6ff; --hair: rgba(94, 214, 255, .18); --line: rgba(94, 214, 255, .22); }
.panel.security .story { color: var(--ink); }
.panel.security .story::before { --scrim: rgba(4, 12, 24, .76); }
.panel.security .story h2, .panel.security .story .lede, .panel.security .story .kicker { text-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 4px 16px rgba(0, 0, 0, .45) !important; }
.panel.security .screen { position: relative; overflow: hidden; background: linear-gradient(160deg, rgba(6, 18, 36, .9), rgba(3, 9, 20, .92)); border-color: rgba(94, 214, 255, .28); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(94, 214, 255, .06) inset, 0 30px 80px -40px rgba(0, 120, 200, .6); }
.panel.security .screen::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(94, 214, 255, .035) 3px 4px); }
.panel.security .screen::after { content: ""; position: absolute; left: 0; right: 0; top: -30%; height: 30%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(94, 214, 255, .07), transparent); animation: cc-scan 7s linear infinite; }
@keyframes cc-scan { to { transform: translateY(440%); } }
html.reduce-motion .panel.security .screen::after { animation: none; display: none; }
@media (prefers-reduced-motion: reduce) { .panel.security .screen::after { animation: none; display: none; } }
.panel.security .begin.primary { background: #38c8ff; border-color: #38c8ff; color: #04121f; }
.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; position: relative; }
.sec-grid > div { position: relative; padding: 14px 14px 15px; border: 1px solid var(--hair); border-radius: 2px; background: rgba(94, 214, 255, .025); }
.sec-grid > div::before, .sec-grid > div::after { content: ""; position: absolute; width: 8px; height: 8px; border: 1px solid var(--accent); }
.sec-grid > div::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.sec-grid > div::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.sec-grid i { display: block; font: 400 10px var(--mono); font-style: normal; letter-spacing: .16em; color: var(--accent-text); margin-bottom: 8px; }
.sec-grid b { display: block; font: 400 16px/1.2 var(--display); letter-spacing: -.03em; margin-bottom: 6px; color: var(--ink); }
.sec-grid span { font-size: 12.5px; line-height: 1.45; color: var(--soft); text-wrap: pretty; }
.panel.security .note a { color: var(--accent-text); }

@media (max-width: 760px) {
  .offers, .sec-grid { grid-template-columns: 1fr; gap: 8px; }
  .offer span { display: none; }
  .offer { padding: 10px 12px; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
  .offer u { margin: 0 0 0 auto; padding: 0; }
  .steps.line { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .who { gap: 6px 12px; font-size: 12px; }
  .addon { font-size: 12px; }
}
/* phones: the small headline card of the Cyber Security wing is dark too (the default card is light glass) */
@media (max-width: 760px) {
  .panel.split.security .story { background: rgba(6, 18, 36, .92); border-color: rgba(94, 214, 255, .28); }
  .panel.security .story h2, .panel.security .story .kicker { text-shadow: none !important; }
}

/* ---------- final pass (13 Nov 2026): Leak Audit "Start here" strip, one price per card, linked proof figures, Questions fold */
.start-here { display: grid; grid-template-columns: auto auto 1fr auto; align-items: baseline; gap: 4px 14px; margin-top: 16px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--hair));
  border-radius: 4px; background: color-mix(in srgb, var(--accent) 7%, transparent); color: inherit; text-decoration: none; transition: border-color .3s, background-color .3s; }
.start-here:hover, .start-here:focus-visible { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, transparent); }
.start-here:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
.start-here i { font: 400 10px var(--mono); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.start-here b { font: 400 17px/1.2 var(--display); letter-spacing: -.04em; color: var(--ink); white-space: nowrap; }
.start-here span { font-size: 12.5px; line-height: 1.45; color: var(--soft); text-wrap: pretty; }
.start-here u { text-decoration: none; font: 400 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); white-space: nowrap; }
.offer:first-child { border-color: var(--hair); }
.offer em { font: 400 11px var(--mono); font-style: normal; letter-spacing: .06em; color: var(--ink); }
.addon.wing { margin-top: 8px; padding-top: 0; border-top: 0; }
.addon.wing a { color: var(--accent-text); text-decoration: none; font: 400 11px var(--mono); letter-spacing: .08em; }
.addon.wing a:hover { text-decoration: underline; text-underline-offset: 4px; }
.proof dt a, .cc-stats dt a { color: inherit; text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 1px no-repeat; transition: background-size .4s cubic-bezier(.16, 1, .3, 1); }
.proof dt a:hover, .proof dt a:focus-visible, .cc-stats dt a:hover, .cc-stats dt a:focus-visible { background-size: 100% 1px; }
.proof dt a::after, .cc-stats dt a::after { content: " ↗"; font: 400 .45em var(--mono); vertical-align: .9em; color: var(--accent-text); opacity: .7; }
details.qs { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
details.qs summary { cursor: pointer; list-style: none; font: 400 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
details.qs summary::-webkit-details-marker { display: none; }
details.qs summary::after { content: " +"; color: var(--accent-text); }
details.qs[open] summary::after { content: " −"; }
details.qs summary:hover { color: var(--ink); }
details.qs .faq { margin-top: 8px; }
details.qs .faq dt { font-weight: 500; font-size: 13px; margin-top: 8px; color: var(--ink); }
details.qs .faq dd { margin: 2px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--soft); }
@media (max-width: 760px) {
  .start-here { grid-template-columns: auto 1fr auto; }
  .start-here span { display: none; }
  .offer em { margin-left: 0; }
}

/* ---------- arriving in another area: its name shows briefly above the floor indicator, like an elevator display */
.area-flash { position: absolute; right: 0; bottom: calc(100% + 10px); white-space: nowrap; pointer-events: none; padding: 7px 12px;
  font: 400 10.5px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--ink);
  background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 4px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transform: translateY(6px); }
.area-flash::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px; vertical-align: 1px; background: var(--accent); }
.area-flash.on { animation: cc-flash 2.6s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes cc-flash { 0% { opacity: 0; transform: translateY(6px); } 14% { opacity: 1; transform: none; } 78% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-3px); } }
html.reduce-motion .area-flash.on { animation-duration: 2.2s; }
@media (max-width: 760px) { .area-flash { font-size: 9.5px; padding: 6px 10px; } }
html.plain .area-flash { display: none; }

/* ---------- phones (final polish, 13 Nov 2026): a split floor (headline card + content card) fits above the page counter
   and floor number; the content card scrolls inside itself (a swipe scrolls it first, then moves floors) */
@media (max-width: 760px) {
  html:not(.plain) .panel.split { display: flex; flex-direction: column; overflow: visible; max-height: calc(100vh - 168px); max-height: calc(100dvh - 168px); }
  html:not(.plain) .panel.split > .story { flex: none; }
  html:not(.plain) .panel.split > .screen-panel { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 26px), transparent); }
  html:not(.plain) .panel.split > .screen-panel::-webkit-scrollbar { display: none; }
  /* less repetition: the headline card already names the floor */
  #offerings .screen .view > .kicker, #offerings .screen .view > h2 { display: none; }
  .offer i { display: none; }
  .start-here { margin-top: 0; }
  .panel.contact .cf-links { display: none; }
}

/* ---------- mid-size windows (761-1080 px: small laptops, tablets, a narrowed browser): the two-card floors had a fixed
   300 px headline column and a 46 px gap, which left the content card ~200 px wide at 800 px, so its stats ran into each
   other. Here the two cards stack (headline card on top, its lede and extras dropped as on phones), clear of the floor index */
@media (min-width: 761px) and (max-width: 1080px) {
  html:not(.plain) .panel.split { width: min(620px, calc(100vw - 310px)); display: flex; flex-direction: column; align-items: stretch; gap: 14px; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); }
  html:not(.plain) .panel.split > .story { flex: none; }
  html:not(.plain) .panel.split > .screen-panel { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  html:not(.plain) .split .story { padding: 16px 18px 12px; border-radius: 10px; background: var(--glass); border: 1px solid var(--glass-edge);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  html:not(.plain) .split .story::before { display: none; }
  html:not(.plain) .split .story h2 { font-size: 26px; margin-bottom: 0; }
  html:not(.plain) .split .story .lede, html:not(.plain) .split .story .cc-roles, html:not(.plain) .split .story .row { display: none; }
  html:not(.plain) .panel.screen-panel, html:not(.plain) .panel.hero, html:not(.plain) .panel.contact { width: min(620px, calc(100vw - 310px)); }
  html:not(.plain) .panel.hero { padding: 22px 24px 18px; }
  html:not(.plain) .panel.hero h1 { font-size: 36px; margin-bottom: 12px; }
  html:not(.plain) .panel:not(.hero) { max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); }
  html:not(.plain) .panel.screen-panel, html:not(.plain) .panel.contact { overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
}
/* the stat rows follow the card's own width, whatever the window: four (or three) across only when there is room */
.screen { container-type: inline-size; }
@container (max-width: 540px) { .screen .cc-stats.four, .screen .cc-stats.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 250px) { .screen .cc-stats.four, .screen .cc-stats.three { grid-template-columns: minmax(0, 1fr); } }
/* (the card measures its own width for the stat rows, so it no longer sizes itself from its content: in the stacked
   layouts it is told to fill the floor's width) */
@media (max-width: 760px) { .panel.split > .screen-panel { align-self: stretch; } }
