/* ==========================================================================
   Prestige & Co — shared stylesheet
   One file for all pages. Brand tokens, layout, components.
   ========================================================================== */

:root {
  --bg: #FFFFFF; --alt: #FAF8F3; --text: #1A1D23; --muted: #5A5F69;
  --navy: #1F3A5F; --navy-dark: #162B47;
  --gold: #8A6A35; --gold-soft: #9A7A45; --line: #B8935A; --rule: #ECE6DA;
  --serif: 'EB Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --max: 1180px;
  --gutter: 40px;
}

/* ─── BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--serif); font-size: 18px; line-height: 1.7;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--navy); color: var(--bg); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
[id] { scroll-margin-top: 110px; }

.skip-link {
  position: absolute; top: -120px; left: 0; z-index: 9999;
  background: var(--text); color: var(--bg);
  padding: 12px 24px; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.06em;
}
.skip-link:focus { top: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }

/* ─── LOGO (text) ──────────────────────────────────────── */
.brand-logo { display: inline-flex; align-items: center; gap: 14px; line-height: 1; font-family: var(--serif); letter-spacing: 0.01em; flex-shrink: 0; }
.pc-mark { font-size: 1.55rem; white-space: nowrap; letter-spacing: 0; }
.pc-p { color: #8A6A35; font-weight: 700; font-size: 1.06em; }
.pc-amp { color: #1F3A5F; font-weight: 500; font-size: 0.8em; }
.pc-c { color: #1F3A5F; font-weight: 500; }
.brand-divider { display: block; width: 1px; height: 1.6rem; background: #ECE6DA; }
.wordmark { font-size: 1.3rem; white-space: nowrap; }
.wm-prestige { color: #8A6A35; font-weight: 700; }
.wm-amp { color: #1F3A5F; font-weight: 500; font-size: 0.8em; white-space: pre; }
.wm-co { color: #1F3A5F; font-weight: 500; }
@media (max-width: 640px) {
  .brand-logo { gap: 10px; }
  .pc-mark { font-size: 1.3rem; }
  .brand-divider { height: 1.3rem; }
  .wordmark { font-size: 1.1rem; }
}

/* ─── FRAME (fine gold border, desktop) ───────────────── */
.frame {
  position: fixed; inset: 8px; z-index: 400; pointer-events: none;
  border: 1px solid var(--line); opacity: 0.55;
}
@media (max-width: 900px), (hover: none), (pointer: coarse) { .frame { display: none; } }

/* ─── CREDENTIAL BAR ───────────────────────────────────── */
.cred-bar {
  background: var(--bg); border-bottom: 1px solid var(--rule);
  padding: 10px var(--gutter); text-align: center;
  font-family: var(--sans); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--navy); line-height: 1.6;
}
@media (max-width: 600px) { .cred-bar { font-size: 0.52rem; letter-spacing: 0.18em; padding: 8px 16px; } }

/* ─── NAV ──────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter);
  height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-family: var(--sans); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  transition: color 0.2s ease; padding: 8px 0; display: inline-block;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -1px 0 var(--line); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--rule); cursor: pointer;
  font-family: var(--sans); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--navy); min-height: 44px; min-width: 44px; padding: 0 16px;
}
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--rule);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 28px;
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: flex; align-items: center; min-height: 52px; padding: 0; border-bottom: 1px solid var(--rule); width: 100%; }
  .nav-links a[aria-current="page"] { box-shadow: none; color: var(--gold); }
  .nav-menu .btn { margin-top: 20px; justify-content: center; }
}
@media (max-width: 600px) { .nav-inner { height: 66px; } }

/* ─── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--sans); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.3;
  min-height: 48px; padding: 14px 30px; border: 1px solid var(--navy);
  background: var(--navy); color: #FFFFFF; cursor: pointer; text-align: center;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, gap 0.25s ease;
}
.btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #FFFFFF; gap: 16px; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn--light { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.55); }
.btn--light:hover { background: rgba(255, 255, 255, 0.08); border-color: #FFFFFF; }
.btn--sm { min-height: 44px; padding: 10px 22px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.link-arrow {
  font-family: var(--sans); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--navy); display: inline-flex; align-items: center;
  gap: 10px; min-height: 44px; transition: gap 0.25s ease, color 0.2s ease;
}
.link-arrow:hover { gap: 16px; color: var(--gold); }

/* ─── TYPE ─────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--sans); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--line); flex-shrink: 0; }
.h2, .sec h2 {
  font-family: var(--serif); font-weight: 400; color: var(--navy);
  font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.12; letter-spacing: 0.002em;
  margin-bottom: 28px;
}
.prose p { margin-bottom: 20px; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.prose a:hover { color: var(--gold); }
.lede { font-size: 1.2rem; line-height: 1.65; }
.label {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--navy); line-height: 1.5;
}

/* ─── COVER ────────────────────────────────────────────── */
.cover {
  position: relative; min-height: calc(100vh - 118px); min-height: calc(100svh - 118px);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--navy-dark); padding: 120px var(--gutter) 110px;
}
.cover-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.cover-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(17, 17, 17, 0.52) 0%, rgba(17, 17, 17, 0.42) 50%, rgba(17, 17, 17, 0.6) 100%); }
.cover::before {
  content: ''; position: absolute; inset: 40px; z-index: 2; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.cover-inner { position: relative; z-index: 3; text-align: center; max-width: 900px; display: flex; flex-direction: column; align-items: center; }
.cover-eyebrow {
  font-family: var(--sans); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.34em;
  text-transform: uppercase; color: #FFFFFF; display: flex; align-items: center; gap: 18px; margin-bottom: 36px;
}
.cover-eyebrow::before, .cover-eyebrow::after { content: ''; width: 40px; height: 1px; background: var(--line); }
.cover-statement {
  font-family: var(--serif); font-weight: 400; color: #FFFFFF;
  font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: 1.12; letter-spacing: 0.005em;
}
.cover-rule { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 30px 0 22px; width: 100%; }
.cover-rule::before, .cover-rule::after { content: ''; flex: 0 1 90px; height: 1px; background: var(--line); }
.cover-motto { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: #E9DCC4; }
.cover-line { font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.75rem); color: #FFFFFF; line-height: 1.4; }
.cover-sub { margin-top: 14px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, 0.9); line-height: 1.6; max-width: 620px; }
.cover-place {
  position: absolute; left: 0; right: 0; bottom: 58px; z-index: 3; text-align: center;
  font-family: var(--sans); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.5em; color: rgba(255, 255, 255, 0.7);
}
/* Plain cover, used where a page has no cover image */
.cover--plain { background: var(--alt); min-height: 0; padding: 120px var(--gutter) 96px; border-bottom: 1px solid var(--rule); }
.cover--plain::before { border-color: var(--rule); inset: 24px; }
.cover--plain .cover-eyebrow { color: var(--gold); }
.cover--plain .cover-statement { color: var(--navy); font-size: clamp(2.3rem, 4.8vw, 4.2rem); }
.cover--plain .cover-line { color: var(--text); }
.cover--plain .cover-sub { color: var(--muted); }
@media (max-width: 600px) {
  .cover { padding: 96px 20px 100px; }
  .cover::before { inset: 14px; }
  .cover-eyebrow { letter-spacing: 0.2em; gap: 0; margin-bottom: 26px; }
  .cover-eyebrow::before, .cover-eyebrow::after { display: none; }
  .cover-place { bottom: 32px; letter-spacing: 0.35em; }
  .cover--plain { padding: 80px 20px 64px; }
}

/* ─── MOTTO BAND ───────────────────────────────────────── */
.motto-band { padding: 88px 0 80px; border-bottom: 1px solid var(--rule); background: var(--bg); }
.motto-head { display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 52px; }
.motto-head::before, .motto-head::after { content: ''; flex: 0 1 120px; height: 1px; background: var(--line); }
.motto-text {
  font-family: var(--sans); font-weight: 600; font-style: normal; text-transform: uppercase;
  letter-spacing: 4px; color: var(--gold-soft); font-size: clamp(0.95rem, 1.7vw, 1.3rem); line-height: 1.6; text-align: center;
}
.motto-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.motto-pillars p { padding: 28px 32px 0; font-size: 1.02rem; line-height: 1.7; color: var(--text); border-left: 1px solid var(--rule); }
.motto-pillars p:first-child { border-left: none; padding-left: 0; }
.motto-pillars strong { display: block; font-family: var(--sans); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
@media (max-width: 800px) {
  .motto-band { padding: 64px 0 56px; }
  .motto-head { gap: 14px; margin-bottom: 36px; }
  .motto-head .motto-text { letter-spacing: 2px; }
  .motto-pillars { grid-template-columns: 1fr; border-top: none; }
  .motto-pillars p, .motto-pillars p:first-child { padding: 22px 0; border-left: none; border-top: 1px solid var(--rule); }
}

/* ─── SECTIONS ─────────────────────────────────────────── */
.sec { padding: 112px 0; border-bottom: 1px solid var(--rule); }
.sec--alt { background: var(--alt); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.sec-intro { max-width: 760px; margin-bottom: 56px; }
.sec-cta { margin-top: 40px; }
@media (max-width: 900px) {
  .sec { padding: 80px 0; }
  .split, .split--even { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; }
  body { font-size: 17px; }
  .sec { padding: 64px 0; }
  .lede { font-size: 1.1rem; }
}

/* ─── NUMBERED CARDS ───────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--rule); border: 1px solid var(--rule); }
.cards--4 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--bg); padding: 44px 36px 36px; display: flex; flex-direction: column; border-top: 2px solid transparent; transition: border-top-color 0.3s ease; }
.card:hover { border-top-color: var(--line); }
.card h3 { margin-bottom: 14px; font-weight: 400; }
.card-num { display: block; font-family: var(--sans); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 12px; }
.card-title { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--navy); line-height: 1.2; }
.card p { font-size: 1rem; line-height: 1.7; flex: 1; margin-bottom: 20px; }
.card .link-arrow { margin-top: auto; }
/* Image cards (homepage markets) */
.cards--img { gap: 2px; }
.icard { position: relative; min-height: 460px; overflow: hidden; display: flex; align-items: flex-end; color: #FFFFFF; background: var(--navy-dark); }
.icard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.icard:hover .icard-img { transform: scale(1.05); }
.icard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 43, 71, 0.94) 0%, rgba(22, 43, 71, 0.45) 48%, rgba(22, 43, 71, 0.08) 100%); transition: background 0.4s ease; }
.icard:hover::after { background: linear-gradient(to top, rgba(22, 43, 71, 0.96) 0%, rgba(138, 106, 53, 0.35) 60%, rgba(22, 43, 71, 0.05) 100%); }
.icard-body { position: relative; z-index: 1; padding: 32px; width: 100%; }
.icard .card-num { color: #E9DCC4; }
.icard .card-title { color: #FFFFFF; font-size: 1.9rem; }
.icard .link-arrow { color: #FFFFFF; margin-top: 12px; }
.icard .link-arrow:hover { color: #E9DCC4; }
.icard h3 { font-weight: 400; }
@media (max-width: 900px) {
  .cards, .cards--4 { grid-template-columns: 1fr; }
  .icard { min-height: 340px; }
  .card { padding: 36px 24px 28px; }
}

/* ─── LABELLED ITEMS ───────────────────────────────────── */
.items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.items--1 { grid-template-columns: 1fr; }
.items--3 { grid-template-columns: repeat(3, 1fr); }
.item { padding: 28px 0 28px 24px; border-top: 1px solid var(--rule); border-left: 2px solid transparent; transition: border-left-color 0.3s ease; }
.item:hover { border-left-color: var(--line); }
.item h3 { font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; color: var(--navy); margin-bottom: 10px; line-height: 1.5; }
.item p { font-size: 1.02rem; line-height: 1.72; }
.item p + p { margin-top: 10px; }
@media (max-width: 900px) { .items, .items--3 { grid-template-columns: 1fr; } .item { padding-left: 16px; } }

/* ─── STEPS ────────────────────────────────────────────── */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step { display: flex; gap: 22px; padding: 28px 0; border-top: 1px solid var(--rule); }
.step-num { font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--line); flex-shrink: 0; width: 34px; }
.step h3 { font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; color: var(--navy); margin-bottom: 8px; line-height: 1.5; padding-top: 6px; }
.step p { font-size: 1.02rem; line-height: 1.7; }
@media (max-width: 900px) { .steps, .steps--3 { grid-template-columns: 1fr; } }

/* ─── FOUNDER / CREDENTIALS ────────────────────────────── */
.quote {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.45;
  color: var(--navy); padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--rule);
}
.quote::before { content: '\201C'; display: block; font-size: 4.5rem; line-height: 0.6; color: var(--line); opacity: 0.5; margin-bottom: 14px; font-style: normal; }
.creds { display: flex; flex-direction: column; gap: 6px; }
.cred { padding: 16px 20px; background: var(--bg); border: 1px solid var(--rule); border-left: 2px solid var(--rule); transition: border-left-color 0.3s ease; }
.cred:hover { border-left-color: var(--line); }
.cred h3 { font-family: var(--sans); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.24em; color: var(--gold); margin-bottom: 4px; }
.cred p { font-size: 1rem; line-height: 1.55; color: var(--text); }
.note { margin-top: 28px; padding: 18px 22px; border: 1px solid var(--rule); border-left: 2px solid var(--line); font-size: 0.98rem; line-height: 1.7; background: var(--bg); }
.note strong { color: var(--navy); font-weight: 500; }
.markets-list { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); line-height: 2.2; margin-top: 20px; }

/* ─── APPLY PANEL ──────────────────────────────────────── */
.apply-panel { padding: 120px 0; background: var(--alt); border-bottom: 1px solid var(--rule); text-align: center; position: relative; }
.apply-panel::before { content: ''; position: absolute; inset: 24px; border: 1px solid var(--rule); pointer-events: none; }
.apply-panel .wrap { max-width: 760px; position: relative; }
.apply-panel .eyebrow { justify-content: center; }
.apply-panel .eyebrow::after { content: ''; width: 26px; height: 1px; background: var(--line); }
.apply-panel h2 { font-family: var(--serif); font-weight: 400; color: var(--navy); font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.15; margin-bottom: 22px; }
.apply-panel p { font-size: 1.08rem; line-height: 1.7; }
.apply-panel .btn { margin-top: 36px; }
@media (max-width: 600px) { .apply-panel { padding: 80px 0; } .apply-panel::before { inset: 10px; } .apply-panel .btn { width: 100%; } }

/* ─── FOOTER ───────────────────────────────────────────── */
.footer { padding: 80px 0 40px; background: var(--bg); }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--rule); }
.footer-brand { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); margin-bottom: 10px; }
.footer-desc { font-size: 0.95rem; line-height: 1.7; color: var(--text); max-width: 34ch; }
.footer-col-head { font-family: var(--sans); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--navy); display: block; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 4px; }
.footer-col a { font-size: 0.95rem; color: var(--muted); transition: color 0.2s ease; display: inline-flex; align-items: center; min-height: 32px; }
.footer-col a:hover { color: var(--gold); }
.footer-legal { padding: 28px 0; border-bottom: 1px solid var(--rule); font-size: 0.82rem; line-height: 1.7; color: var(--muted); max-width: 900px; }
.footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.footer-bottom .motto-inline { color: var(--gold-soft); font-weight: 600; }
.footer-top { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
.footer-top:hover { color: var(--gold); }
@media (max-width: 1060px) { .footer-cols { grid-template-columns: 1fr 1fr 1fr; } .footer-cols > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .footer { padding: 56px 0 120px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (max-width: 400px) { .footer-cols { grid-template-columns: 1fr; } }

/* ─── COOKIE BANNER ────────────────────────────────────── */
.pc-banner { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000; background: #FFFFFF; border-top: 1px solid #ECE6DA; padding: 16px 24px; }
.pc-banner-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.pc-banner p { margin: 0; flex: 1; min-width: 220px; font-family: var(--serif); font-size: 0.95rem; color: #5A5F69; line-height: 1.55; }
.pc-banner p a { color: #1F3A5F; text-decoration: underline; }
.pc-banner-btns { display: flex; gap: 12px; flex-shrink: 0; }
.pc-banner button { font-family: var(--sans); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid #1F3A5F; padding: 10px 22px; min-height: 44px; cursor: pointer; }
.pc-accept { color: #FFFFFF; background: #1F3A5F; }
.pc-decline { color: #1F3A5F; background: transparent; }

/* ─── CUSTOM CURSOR (desktop only, set by site.js) ─────── */
.cur, .cur-ring { display: none; }
html.has-cursor, html.has-cursor body, html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor select { cursor: none; }
html.has-cursor input, html.has-cursor textarea { cursor: text; }
html.has-cursor .cur, html.has-cursor .cur-ring { display: block; position: fixed; top: 0; left: 0; pointer-events: none; border-radius: 50%; will-change: transform; }
html.has-cursor .cur { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--gold); z-index: 10001; }
html.has-cursor .cur-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid var(--line); z-index: 10000; transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease, opacity 0.25s ease; }
html.has-cursor .cur-ring.is-link { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
html.has-cursor .cur.is-hidden, html.has-cursor .cur-ring.is-hidden { opacity: 0; }

/* ─── REVEAL ON SCROLL ─────────────────────────────────── */
html.reveal-on .r { opacity: 0; transform: translateY(22px); transition: opacity 0.9s ease, transform 0.9s ease; }
html.reveal-on .r.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.reveal-on .r { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   PAGE-SPECIFIC
   ========================================================================== */

/* ─── HOMEPAGE: career timeline (carried over unchanged) ─ */
.markets-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.market-card { display: flex; flex-direction: column; }
.market-img-wrap { overflow: hidden; aspect-ratio: 3/4; margin-bottom: 32px; }
.market-card h3 { font-size: 1.45rem; font-weight: 500; color: var(--navy); margin-bottom: 18px; letter-spacing: 0.01em; }
.market-card p { font-size: 1rem; color: var(--text); line-height: 1.68; margin-bottom: 24px; flex: 1; }
@media (max-width: 900px) { .market-img-wrap { aspect-ratio: 16/9; } }
.tl-section { padding: 48px 0 80px; }
.tl-carousel { display: flex; align-items: center; gap: 16px; }
.tl-grid-wrap { flex: 1; min-width: 0; overflow: hidden; }
.tl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.tl-card { display: none; flex-direction: column; }
.tl-card.tl-visible { display: flex; }
.tl-card .market-img-wrap {
  aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--alt); border: 1px solid var(--rule); margin-bottom: 24px;
}
.tl-logo-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tl-year-num { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 400; color: var(--navy); opacity: 0.22; letter-spacing: -0.03em; line-height: 1; }
.tl-card h3 { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--navy); font-weight: 500; margin-bottom: 12px; font-family: var(--sans); }
.tl-card p { font-size: 0.95rem; color: var(--text); line-height: 1.6; flex: 1; }
.tl-arrow {
  background: none; border: 1px solid var(--rule); color: var(--text); font-size: 1.2rem;
  width: 44px; height: 44px; flex-shrink: 0; cursor: pointer; transition: border-color 0.2s, color 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.tl-arrow:hover:not(:disabled) { border-color: var(--navy); color: var(--gold); }
.tl-arrow:disabled { opacity: 0.3; cursor: default; }
@media (max-width: 700px) {
  .tl-grid { grid-template-columns: 1fr; gap: 0; }
  .tl-arrow { width: 36px; height: 36px; font-size: 1rem; }
}
@media (max-width: 600px) { .markets-inner { padding: 0 20px; } }

/* ─── HOMEPAGE: testimonials (carried over) ───────────── */
.testimonials { padding: 80px 0; border-bottom: 1px solid var(--rule); }
.testimonials-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
.testimonial { padding: 56px 48px; border: 1px solid var(--rule); display: flex; flex-direction: column; gap: 40px; }
.testimonial-quote { font-size: 1.15rem; color: var(--text); line-height: 1.75; font-style: italic; flex: 1; margin: 0; }
.testimonial-attr { display: flex; align-items: center; gap: 20px; }
.testimonial-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 0.65rem; letter-spacing: 0.08em; font-style: normal; flex-shrink: 0; font-weight: 500; }
.testimonial-name { display: block; font-size: 1rem; color: var(--navy); font-style: normal; letter-spacing: 0.02em; margin-bottom: 4px; }
.testimonial-role { display: block; font-size: 0.85rem; color: var(--muted); letter-spacing: 0.04em; }
.testimonial-link { display: inline-block; margin-top: 8px; font-size: 0.85rem; color: var(--navy); letter-spacing: 0.04em; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .testimonials-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .testimonial { padding: 40px 24px; } .testimonials-inner { padding: 0 20px; } }

/* ─── CLOSING (homepage) ───────────────────────────────── */
.closing h2 { margin-bottom: 18px; }

/* ─── CASE STUDY ───────────────────────────────────────── */
.cs-head { display: flex; align-items: center; gap: 28px; margin-bottom: 48px; flex-wrap: wrap; }
.cs-logo { width: 180px; height: auto; border: 1px solid var(--rule); }
.cs-name { font-family: var(--serif); font-size: 1.6rem; color: var(--navy); line-height: 1.2; }
.cs-name a { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.cs-name a:hover { color: var(--gold); }
.cs-details { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.cs-shots { display: grid; grid-template-columns: 3fr 1fr; gap: 24px; align-items: end; margin-bottom: 64px; }
.cs-shots figure { border: 1px solid var(--rule); background: var(--bg); }
.cs-shots img { width: 100%; height: auto; }
.cs-shot-mobile { max-width: 260px; }
.item p a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.item p a:hover { color: var(--gold); }
@media (max-width: 700px) { .cs-shots { grid-template-columns: 1fr 1fr; } .cs-shots .cs-shot-desktop { grid-column: 1 / -1; } }

/* ─── GLOBE (join our ecosystem) ───────────────────────── */
.globe-img { width: 100%; max-width: 520px; height: auto; margin: 0 auto; }

/* ─── LONG-FORM BODY (privacy) ─────────────────────────── */
.page-body { max-width: 760px; margin: 0 auto; padding: 88px var(--gutter) 112px; }
.page-body h2 { font-family: var(--serif); font-weight: 400; color: var(--navy); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; margin: 48px 0 16px; }
.page-body h2:first-of-type { margin-top: 24px; }
.page-body p { margin-bottom: 18px; line-height: 1.75; }
.page-body a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.page-body a:hover { color: var(--gold); }
.last-updated { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* ─── APPLY ────────────────────────────────────────────── */
.page-intro { margin-top: 18px; font-size: 1.15rem; color: var(--text); max-width: 620px; }
.form-wrap { max-width: 820px; margin: 0 auto; padding: 72px var(--gutter) 112px; }
.form-card { border: 1px solid var(--rule); padding: 56px; background: var(--bg); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.f-field { display: flex; flex-direction: column; gap: 8px; }
.f-lbl { font-family: var(--sans); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy); }
.req { color: var(--gold); }
.f-input, .f-select, .f-textarea {
  font-family: var(--serif); font-size: 1.05rem; color: var(--text); background: var(--bg);
  border: none; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 2px; min-height: 48px; width: 100%;
  -webkit-appearance: none; appearance: none; transition: border-color 0.2s ease;
}
.f-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238A6A35' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center; padding-right: 28px; color: var(--muted);
}
.f-select.has-value { color: var(--text); }
.f-textarea { min-height: 140px; resize: vertical; border: 1px solid var(--rule); border-bottom-color: var(--line); padding: 12px; }
.f-input:focus, .f-select:focus, .f-textarea:focus { outline: none; border-bottom-color: var(--navy); box-shadow: 0 1px 0 var(--navy); }
.f-file-desc { font-size: 0.85rem; color: var(--muted); }
.f-file { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); min-height: 44px; }
.f-check { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; line-height: 1.55; color: var(--text); cursor: pointer; }
.f-check input { margin-top: 5px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--navy); }
.f-hint { font-size: 0.92rem; color: var(--muted); margin-top: 4px; }
.f-submit { align-self: flex-start; margin-top: 8px; }
.f-privacy { margin-top: 6px; font-size: 0.92rem; color: var(--muted); line-height: 1.6; }
.f-privacy a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .form-wrap { padding: 48px 16px 80px; }
  .form-card { padding: 32px 20px; }
  .f-row { grid-template-columns: 1fr; }
  .f-submit { align-self: stretch; }
}
.success-actions { margin-top: 40px; }

/* ─── BLOG ─────────────────────────────────────────────── */
.blog-layout, .article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 64px; align-items: start; }
.blog-grid { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.blog-post-card { padding: 40px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 160px; gap: 32px; }
.card-tag { font-family: var(--sans); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; min-height: 32px; }
.blog-post-card h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; margin: 6px 0 14px; }
.card-title { color: var(--navy); }
.card-title:hover { color: var(--gold); }
.card-excerpt { font-size: 1.02rem; line-height: 1.7; margin-bottom: 14px; }
.card-read-more { font-family: var(--sans); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--navy); display: inline-flex; align-items: center; min-height: 44px; }
.card-read-more::after { content: ' →'; white-space: pre; }
.card-read-more:hover { color: var(--gold); }
.card-meta { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; font-family: var(--sans); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.blog-sidebar { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { padding: 28px 24px; background: var(--alt); border: 1px solid var(--rule); }
.sidebar-card-label, .sidebar-about-label, .sidebar-topics-label { font-family: var(--sans); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 12px; }
.sidebar-card h2 { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; color: var(--navy); line-height: 1.2; margin-bottom: 10px; }
.sidebar-card p { font-size: 0.95rem; line-height: 1.6; margin-bottom: 18px; }
.sidebar-card .btn { width: 100%; padding: 12px 16px; letter-spacing: 0.16em; }
.sidebar-card .btn + .btn { margin-top: 10px; }
.sidebar-about { padding: 24px; border: 1px solid var(--rule); }
.sidebar-about p { font-size: 0.92rem; line-height: 1.6; color: var(--muted); }
.sidebar-topics { padding: 24px; border: 1px solid var(--rule); }
.topic-list { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-tag { font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); border: 1px solid var(--rule); padding: 6px 10px; }
.blog-cta { padding: 96px 0; background: var(--alt); border-bottom: 1px solid var(--rule); }
.blog-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.blog-cta-heading { font-family: var(--serif); font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 400; color: var(--navy); line-height: 1.2; margin-bottom: 10px; }
.blog-cta-sub { font-size: 1.05rem; }
/* Article */
.article-meta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 26px; font-family: var(--sans); font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.cover--plain .article-back { font-family: var(--sans); font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; display: inline-flex; align-items: center; min-height: 44px; }
.cover--plain .article-back:hover { color: var(--navy); }
.article-body { max-width: 68ch; }
.article-body p { margin-bottom: 1.4rem; font-size: 1.1rem; line-height: 1.8; }
.article-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; color: var(--navy); margin: 3rem 0 1.1rem; }
.article-body ul { margin: 0 0 1.5rem 1.2rem; list-style: disc; }
.article-body li { margin-bottom: 0.7rem; font-size: 1.1rem; line-height: 1.75; padding-left: 4px; }
.article-body li::marker { color: var(--line); }
.article-body blockquote { border-left: 2px solid var(--line); padding: 1.2rem 1.6rem; margin: 2.2rem 0; background: var(--alt); }
.article-body blockquote p { font-style: italic; font-size: 1.2rem; margin: 0; color: var(--navy); }
.article-body strong { font-weight: 700; }
.article-body a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.article-body a:hover { color: var(--gold); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin: 2.2rem 0; }
.stat-cell { background: var(--bg); padding: 1.5rem 1.6rem; }
.stat-figure { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--navy); line-height: 1; margin-bottom: 0.6rem; }
.stat-label { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }
.article-rule { border: none; border-top: 1px solid var(--rule); margin: 2.6rem 0; }
.article-footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.article-footer-label { font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 0.6rem; }
.back-link { font-family: var(--sans); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--navy) !important; text-decoration: none !important; display: inline-flex; align-items: center; min-height: 44px; }
.back-link::before { content: '← '; white-space: pre; }
@media (max-width: 960px) {
  .blog-layout, .article-layout { grid-template-columns: 1fr; gap: 48px; }
  .blog-sidebar { position: static; }
}
@media (max-width: 640px) {
  .blog-post-card { grid-template-columns: 1fr; gap: 8px; }
  .card-meta { flex-direction: row; gap: 14px; padding-top: 0; }
  .stat-grid { grid-template-columns: 1fr; }
  .blog-cta-inner { flex-direction: column; align-items: flex-start; }
  .blog-cta .btn { width: 100%; }
  .article-body p, .article-body li { font-size: 1.05rem; }
}

/* ─── ADDITIONS ────────────────────────────────────────── */
.icard .link-arrow::after { content: ''; position: absolute; inset: 0; }
.icard { cursor: pointer; }
.cover--article .cover-statement { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 22ch; margin: 0 auto; }
.cover--article .cover-inner { max-width: 820px; }
.cover--plain .cover-rule::before, .cover--plain .cover-rule::after { background: var(--line); }
.cover--plain .cover-rule:empty { display: none; }
.cover--plain:not(:has(.cover-eyebrow)) .cover-statement { margin-top: 0; }
.apply-panel.closing h2 { margin-bottom: 14px; }
@media (max-width: 900px), (pointer: coarse) {
  .footer-col a { min-height: 44px; }
  .footer-col ul { gap: 0; }
}
.cover--plain .cover-statement + .cover-line, .cover--plain .cover-statement + .cover-sub { margin-top: 24px; }

/* ─── FOLLOW-UP ────────────────────────────────────────── */
.swp-logo .wordmark { font-size: 1.55rem; }
@media (max-width: 640px) { .swp-logo .wordmark { font-size: 1.3rem; } }

/* ─── HOMEPAGE: who we work with (text columns with image boxes beneath) ─── */
.market-cols { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; column-gap: 40px; margin-top: 8px; }
.market-col { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 28px; }
.market-col .item { padding-left: 0; border-left: none; }
.market-col .icard { min-height: 420px; }
@media (max-width: 900px) {
  .market-cols { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 56px; }
  .market-col { grid-row: auto; grid-template-rows: auto auto; }
  .market-col .icard { min-height: 340px; }
}

/* ─── JOIN OUR ECOSYSTEM: second list heading ─── */
.sec .panel-h2 { margin-top: 72px; }
