/* ==========================================================================
   Plutus Power — design system
   Palette derived directly from the logo:
     brand blue  #2A5CE1   (logo left mark)
     brand navy  #16357A   (logo right mark)
     ink         #0B1526   (near-black navy, headers/footers)
   Neutrals are cool-tinted to sit with the blues rather than fight them.
   Signal amber is used sparingly — live data ticks only.

   Motif: the logo is two open square brackets. That bracket is echoed as
   corner rules on cards and as the section marker.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --brand: #2a5ce1;
  --brand-lift: #4a78ee;
  --navy: #16357a;
  --ink: #0b1526;
  --ink-2: #132038;

  --paper: #ffffff;
  --haze: #f4f6fa;
  --mist: #e9edf5;

  --line: rgba(11, 21, 38, 0.11);
  --line-strong: rgba(11, 21, 38, 0.2);
  --line-dark: rgba(255, 255, 255, 0.13);

  --text: #0b1526;
  --slate: #4a5570;
  --slate-dim: #7d879e;
  --on-dark: #e8ecf5;
  --on-dark-dim: rgba(232, 236, 245, 0.62);

  --signal: #e0a33c;

  --display: 'Fraunces', Georgia, serif;
  --body: 'Inter', 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --max: 1180px;
  --pad: clamp(24px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--text);
}

p { margin: 0; color: var(--slate); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }

/* --- Eyebrow: bracket marker echoes the logo's open square --- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 11px;
}
.eyebrow::before {
  content: '';
  width: 9px;
  height: 9px;
  border: 2px solid var(--brand);
  border-right-color: transparent;
  flex: none;
}
.eyebrow--on-dark { color: var(--brand-lift); }
.eyebrow--on-dark::before { border-color: var(--brand-lift); border-right-color: transparent; }

/* ------------------------------ Nav ------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand__mark { width: 32px; height: 32px; flex: none; object-fit: contain; }
.brand__word {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18.5px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.navlinks {
  display: flex;
  gap: clamp(16px, 2.6vw, 34px);
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.navlinks a { color: var(--slate); position: relative; padding-bottom: 4px; transition: color 0.15s ease; }
.navlinks a:hover { color: var(--ink); }
.navlinks a.active { color: var(--brand); }
.navlinks a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brand);
}
/* On narrow screens the links become a scrollable strip under the brand —
   hiding them entirely would leave no way to navigate. */
@media (max-width: 760px) {
  .nav__row { flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 12px; }
  .navlinks {
    width: 100%;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .navlinks::-webkit-scrollbar { display: none; }
  .navlinks li { flex: none; }
}

/* ------------------------------ Buttons ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.btn--primary { background: var(--brand); color: #fff; border-color: var(--brand); font-weight: 600; }
.btn--primary:hover { background: var(--brand-lift); border-color: var(--brand-lift); }
.btn--ghost { color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--on-dark { color: var(--on-dark); border-color: rgba(255,255,255,0.28); }
.btn--on-dark:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.06); }
.btn__arrow { transition: transform 0.16s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ------------------------------ Hero (dark) ------------------------------ */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
}
/* Blueprint grid + a soft brand glow, drawn in CSS so it never crops
   unpredictably across viewports the way a sliced SVG does. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 58px 58px;
}
.hero::after {
  content: '';
  position: absolute;
  right: -8%;
  top: 8%;
  width: 60%;
  height: 78%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(42, 92, 225, 0.20), transparent 68%);
}
.hero__watermark {
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  width: min(400px, 34vw);
  opacity: 0.09;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 900px) { .hero__watermark { opacity: 0.05; right: -6%; } }
.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(72px, 11vw, 128px);
  padding-bottom: clamp(64px, 10vw, 112px);
  max-width: 780px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-top: 26px;
}
.hero__rule { width: 64px; height: 2px; background: var(--brand); margin: 30px 0; }
.hero__sub { max-width: 54ch; font-size: clamp(16px, 1.9vw, 18.5px); color: var(--on-dark-dim); }
.hero__ctas { display: flex; gap: 14px; margin-top: 42px; flex-wrap: wrap; }

/* Market strip pinned to the base of the hero */
.hero__markets {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.hero__market {
  padding: 20px var(--pad);
  border-left: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--on-dark-dim);
  text-align: center;
}
.hero__market:first-child { border-left: none; }
.hero__market b { display: block; color: var(--on-dark); font-weight: 500; }
@media (max-width: 760px) {
  .hero__markets { grid-template-columns: repeat(3, 1fr); }
  .hero__market:nth-child(3n+1) { border-left: none; }
  .hero__market:nth-child(n+4) { border-top: 1px solid var(--line-dark); }
}

/* ------------------------------ Page hero (inner pages) ------------------------------ */
.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
}
.page-hero__watermark {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(220px, 24vw);
  opacity: 0.09;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 820px) { .page-hero__watermark { display: none; } }
.page-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(52px, 8vw, 84px);
  padding-bottom: clamp(52px, 8vw, 84px);
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 54px);
  margin-top: 20px;
  letter-spacing: -0.025em;
  line-height: 1.06;
}
.page-hero p { margin-top: 20px; max-width: 58ch; font-size: 16.5px; color: var(--on-dark-dim); }
.page-hero a { color: var(--on-dark); }

/* ------------------------------ Ticker ------------------------------ */
.ticker { border-bottom: 1px solid var(--line); overflow: hidden; background: var(--haze); }
.ticker__track {
  display: flex;
  gap: 46px;
  padding: 13px var(--pad);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--slate-dim);
  white-space: nowrap;
  animation: scroll-left 38s linear infinite;
  width: max-content;
}
.ticker__track span.on { color: var(--brand); }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------ Sections ------------------------------ */
section { padding-top: clamp(60px, 8vw, 100px); padding-bottom: clamp(60px, 8vw, 100px); }
.section--tight { padding-top: clamp(44px, 6vw, 68px); padding-bottom: clamp(44px, 6vw, 68px); }
.section--rule { border-top: 1px solid var(--line); }
.section--haze { background: var(--haze); }

.section__head { margin-bottom: 52px; max-width: 60ch; }
.section__head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-top: 18px; line-height: 1.12; }
.section__head p { margin-top: 16px; }

/* --- Bracket cards (logo motif) --- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trio__item {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px 32px 34px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.trio__item::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 26px; height: 26px;
  border-top: 2px solid var(--brand);
  border-left: 2px solid var(--brand);
}
.trio__item:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.trio__index { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; color: var(--brand); }
.trio__item h3 { font-size: 20px; margin-top: 18px; }
.trio__item p { margin-top: 14px; font-size: 15px; }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; } }

/* --- Numbered editorial rows --- */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: clamp(20px, 4vw, 52px);
  padding: clamp(34px, 5vw, 52px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.row__art { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
/* Icons sit inside an open square — the same frame the logo is built from */
.row__icon {
  width: 66px; height: 66px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  background: var(--haze);
  position: relative;
}
.row__icon::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 14px; height: 14px;
  border-top: 2px solid var(--brand);
  border-left: 2px solid var(--brand);
}
.row__icon svg { width: 32px; height: 32px; color: var(--navy); }
.row__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--slate-dim); }
.row__label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.row h3 { font-size: clamp(21px, 2.5vw, 27px); margin-bottom: 15px; }
.row p { font-size: 15.5px; max-width: 62ch; }
@media (max-width: 700px) { .row { grid-template-columns: 1fr; } .row__art { flex-direction: row; align-items: center; } }

/* ------------------------------ Stats ------------------------------ */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 40px var(--pad); border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(38px, 4.6vw, 54px);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat span { display: block; margin-top: 12px; font-size: 13px; color: var(--slate); font-family: var(--mono); letter-spacing: 0.08em; }
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line); padding-top: 28px; padding-bottom: 28px; }
  .stat:first-child { border-top: none; }
}

/* ------------------------------ Explore ------------------------------ */
.explore__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 34px; }
.explore__card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.explore__card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 20px; height: 20px;
  border-top: 2px solid var(--brand);
  border-left: 2px solid var(--brand);
  opacity: 0;
  transition: opacity 0.18s ease;
}
.explore__card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.explore__card:hover::before { opacity: 1; }
.explore__card .row__num { margin-bottom: 20px; }
.explore__card h3 { font-size: 19px; margin-bottom: 10px; }
.explore__card p { font-size: 14px; flex: 1; }
.explore__card .btn__arrow { color: var(--brand); font-family: var(--mono); font-size: 12.5px; margin-top: 20px; display: inline-block; }
@media (max-width: 900px) { .explore__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .explore__grid { grid-template-columns: 1fr; } }

/* ------------------------------ Roster (team) ------------------------------ */
.roster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.roster__row {
  position: relative;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 40px 36px;
}
.roster__row::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 26px; height: 26px;
  border-top: 2px solid var(--brand);
  border-left: 2px solid var(--brand);
}
.roster__count {
  font-family: var(--display);
  font-size: clamp(46px, 6vw, 68px);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}
.roster__count small {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate-dim);
  letter-spacing: 0.16em;
  margin-top: 12px;
  font-weight: 400;
}
.roster__desc { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.roster__desc h4 { font-size: 18px; font-weight: 600; font-family: var(--display); color: var(--ink); }
.roster__desc p { margin-top: 10px; font-size: 15px; }
@media (max-width: 700px) { .roster { grid-template-columns: 1fr; } }

/* ------------------------------ Contact ------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.contact-copy p { font-size: 17px; max-width: 50ch; }
.contact-copy p + p { margin-top: 18px; }
.contact-copy__art { margin-top: 44px; }
.contact-copy__art svg { width: 100%; max-width: 420px; height: auto; color: var(--navy); }
.contact-card {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  padding: 38px 34px;
  overflow: hidden;
}
.contact-card__wm { position: absolute; right: -28px; bottom: -34px; width: 168px; opacity: 0.07; pointer-events: none; }
.contact-card__label { position: relative; z-index: 1; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-lift); }
.contact-card__item { position: relative; z-index: 1; padding-top: 24px; }
.contact-card__item span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-dim); margin-bottom: 10px; }
.contact-card__item a, .contact-card__item div.value { font-family: var(--display); font-size: 20px; color: #fff; word-break: break-word; }
.contact-card__item a:hover { color: var(--brand-lift); }
.contact-card p { color: var(--on-dark-dim); position: relative; z-index: 1; }
.contact-card__note { margin-top: 24px; font-size: 12.5px; color: var(--on-dark-dim); position: relative; z-index: 1; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }

/* ------------------------------ Careers ------------------------------ */
.job-list { display: flex; flex-direction: column; gap: 18px; }
.job-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 34px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.job-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 26px; height: 26px;
  border-top: 2px solid var(--brand);
  border-left: 2px solid var(--brand);
}
.job-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.job-card__main h3 { font-size: 22px; }
.job-card__meta { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); margin-top: 10px; }
.job-card__main p { margin-top: 14px; font-size: 15px; max-width: 60ch; }
.job-card__go { font-family: var(--mono); font-size: 12.5px; color: var(--brand); white-space: nowrap; }
@media (max-width: 660px) { .job-card { flex-direction: column; align-items: flex-start; } }

.job-detail { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.job-detail__main { display: flex; flex-direction: column; gap: 40px; }
.job-detail__block p { font-size: 15.5px; margin-top: 6px; }
@media (max-width: 800px) { .job-detail { grid-template-columns: 1fr; } }

.detail-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.detail-list li { position: relative; padding-left: 22px; font-size: 15px; color: var(--slate); line-height: 1.6; }
.detail-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border: 2px solid var(--brand);
  border-right-color: transparent;
}

.apply-form { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
.apply-form label {
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--on-dark-dim);
}
.apply-form .field-label { display: block; }
.apply-form .field-label em { font-style: normal; color: var(--brand-lift); }
.apply-form input, .apply-form textarea {
  font-family: var(--body); font-size: 15px; color: #fff;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 2px; padding: 11px 12px; resize: vertical;
}
.apply-form input:focus, .apply-form textarea:focus { outline: none; border-color: var(--brand-lift); background: rgba(255,255,255,0.08); }
.apply-form input[type="file"] { padding: 9px 12px; font-size: 12.5px; color: var(--on-dark-dim); }
.apply-form input[type="file"]::file-selector-button {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(255,255,255,0.1); color: var(--on-dark);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 2px;
  padding: 6px 12px; margin-right: 12px; cursor: pointer;
}

/* ------------------------------ Footer ------------------------------ */
footer { background: var(--ink); color: var(--on-dark); padding-top: 56px; padding-bottom: 40px; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line-dark); }
.footer__lockup { display: flex; align-items: center; gap: 14px; }
.footer__lockup img { width: 42px; height: 42px; object-fit: contain; }
.footer__lockup div { font-family: var(--display); font-size: 19px; font-weight: 600; color: #fff; }
.footer__lockup small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--on-dark-dim); margin-top: 3px; font-weight: 400; }
.footer__links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; align-items: center; flex-wrap: wrap; }
.footer__links a { color: var(--on-dark-dim); transition: color 0.15s ease; }
.footer__links a:hover { color: #fff; }
.footer__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--on-dark-dim); }
