/* ─────────────────────────────────────────────────────────────
   Wealth Resell — landing styles
   About-focused; lighter dark background; bold condensed display.
   ───────────────────────────────────────────────────────────── */

:root {
  --bg: #14151C;                /* lighter dark */
  --bg-deep: #0F1016;
  --surface: #1B1C25;
  --surface-2: #20212B;
  --border: #262833;
  --border-strong: #353746;
  --text: #F3F1EC;
  --text-dim: #8E8FA0;
  --text-faint: #4D4F5E;
  --accent: #B8232E;
  --accent-soft: #3A1418;
  --accent-hover: #C92A36;

  --display: "Saira Condensed", "Druk", "Boldonse", "Anton", sans-serif;
  --sans: "Hanken Grotesk", "Söhne", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1440px;
  --pad: 96px;
  --section: 144px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body {
  font-size: 15px; line-height: 1.6; letter-spacing: -0.005em; overflow-x: hidden;
  background:
    radial-gradient(900px 600px at 80% -10%, rgba(184, 35, 46, 0.05), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(184, 35, 46, 0.03), transparent 60%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }

.shell { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }

@media (max-width: 980px) {
  :root { --pad: 28px; --section: 88px; }
}

/* ─── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition:
    transform 380ms cubic-bezier(0.22, 0.61, 0.36, 1),
    background 240ms ease,
    border-color 240ms ease,
    backdrop-filter 240ms ease,
    opacity 280ms ease;
  border-bottom: 1px solid transparent;
  will-change: transform;
}
.nav.is-scrolled {
  background: rgba(20, 21, 28, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

/* Bracketed wordmark — editorial detail */
.wordmark {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  justify-self: start;
  color: var(--text);
}
.wordmark .accent { color: var(--accent); }
.wordmark-mark {
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 400;
  font-size: 15px;
  line-height: 1;
  opacity: 0.85;
  transform: translateY(-1px);
}

/* Pill-style centered link cluster */
.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid var(--border);
  border-radius: 999px;
  justify-self: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 999px;
  transition: color 220ms ease, background 220ms ease;
  position: relative;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.038); }
.nav-link-num {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
}

/* Right cluster: live-status + CTA */
.nav-cta {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 20px;
}
.nav-status {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.nav-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #5BBE82;
  box-shadow: 0 0 0 0 rgba(91, 190, 130, 0.55);
  animation: navPulse 2.4s ease-out infinite;
}
@keyframes navPulse {
  0%   { box-shadow: 0 0 0 0   rgba(91, 190, 130, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(91, 190, 130, 0); }
  100% { box-shadow: 0 0 0 0   rgba(91, 190, 130, 0); }
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 9px 9px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FFF8F4;
  border: 1px solid var(--accent);
  background: var(--accent);
  border-radius: 999px;
  transition: background 220ms ease, border-color 220ms ease;
}
.btn-ghost:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ghost-arrow {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 220ms ease, background 220ms ease;
}
.btn-ghost-arrow svg { width: 12px; height: 12px; }
.btn-ghost:hover .btn-ghost-arrow {
  transform: translateX(2px);
  background: rgba(255, 255, 255, 0.28);
}

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: 104px;
  padding-bottom: 56px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Subtle horizontal scan lines for depth */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.009) 2px,
    rgba(255,255,255,0.009) 3px
  );
  pointer-events: none;
  z-index: 0;
}

/* Compass/radar decorative background */
.hero-bg {
  position: absolute;
  top: 50%;
  right: -6%;
  transform: translateY(-54%);
  width: 58%;
  height: 150%;
  pointer-events: none;
  z-index: 0;
}
.hero-bg svg {
  width: 100%;
  height: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex; align-items: center;
  margin-bottom: 32px;
}

.headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(64px, 9.6vw, 144px);
  line-height: 0.88;
  letter-spacing: -0.005em;
  color: var(--text);
  margin-bottom: 36px;
  text-transform: uppercase;
  text-wrap: balance;
}
.headline .accent-word { color: var(--accent); }

.subhead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 44ch;
  margin-bottom: 32px;
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 1px;
  transition: all 220ms ease;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 16px 26px;
}
.btn-primary { background: var(--accent); color: #FFF8F4; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-link {
  padding: 16px 0;
  color: var(--text);
  background: transparent;
  display: inline-flex; align-items: center; gap: 14px;
}
.btn-link .circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  transition: all 220ms ease;
}
.btn-link:hover .circle { background: var(--accent); border-color: var(--accent); }
.btn-link .circle svg { width: 12px; height: 12px; transition: transform 220ms ease; }
.btn-link:hover .circle svg { transform: translateX(2px); }

/* Decorative right-rail in hero */
.hero-aside {
  align-self: end;
  justify-self: end;
  display: flex; flex-direction: column; gap: 28px;
  width: 100%;
  max-width: 360px;
}
.aside-block {
  border-top: 1px solid var(--border);
  padding: 24px 0 0;
}
.aside-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
  font-family: var(--mono);
}
.aside-value {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}
.aside-meta {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ─── Marquee ─────────────────────────────────────────────── */
.marquee {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  overflow: hidden;
  background: rgba(0,0,0,0.12);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 80s linear infinite;
  gap: 56px;
  padding-right: 56px;
}
.marquee-item {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  display: flex; align-items: center; gap: 56px;
}
.marquee-item .dot { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─── Stats ───────────────────────────────────────────────── */
.stats {
  padding: 56px 0 0;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: 44px 32px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
}
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0.005em;
  color: var(--accent);
}
.stat .label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ─── Section heading (label + title) ───────────────────────── */
.section-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 28px;
}

/* ─── Services ─────────────────────────────────────────────── */
.services {
  padding: var(--section) 0;
}
.services-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 96px;
  margin-bottom: 80px;
  align-items: end;
}

/* On wide screens the 3-col grid fits — collapse services to a single viewport */
@media (min-width: 1101px) {
  .services {
    min-height: 100vh;
    padding: 72px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .services-head { margin-bottom: 48px; gap: 80px; }
  .services-title { font-size: clamp(44px, 5.6vw, 84px); }
  .service { padding: 30px 28px; gap: 16px; }
  .service h3 { font-size: 19px; }
  .service p { font-size: 14px; line-height: 1.6; }
  .service-icon { width: 40px; height: 40px; }
  .service-icon svg { width: 18px; height: 18px; }
}
.services-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.services-lede {
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 44ch;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
}
.service {
  padding: 44px 40px 44px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 22px;
  transition: background 240ms ease;
  cursor: default;
}
.service:hover { background: rgba(255,255,255,0.015); }
.service:nth-child(3n) { border-right: 0; }
.service:nth-last-child(-n+3) { border-bottom: 0; }

.service-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.service-icon svg { width: 20px; height: 20px; }
.service h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--text);
}
.service p {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ─── About ─────────────────────────────────────────────────── */
.about { padding: var(--section) 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-copy h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin-bottom: 36px;
  text-wrap: balance;
}
.about-copy h2 .accent-word { color: var(--accent); }
.about-copy p {
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 50ch;
  margin-bottom: 20px;
}
.tag-list {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 28px;
}
.tag {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 8px 14px;
  border: 1px solid var(--accent-soft);
  border-radius: 1px;
  font-weight: 500;
}

/* About card */
.about-card {
  border: 1px solid var(--border);
  padding: 44px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015) 0%, transparent 100%),
    var(--surface);
  position: relative;
}
.about-card::before {
  content: ""; position: absolute; left: 44px; right: 44px; top: 0;
  height: 1px; background: var(--accent);
}
.about-card .quote {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin-bottom: 44px;
  text-wrap: balance;
}
.about-card .quote .accent-word { color: var(--accent); }
.about-card .kv {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.about-card .kv:last-of-type { border-bottom: 0; padding-bottom: 0; }
.about-card .kv .k {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.about-card .kv .v {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ─── Principles strip (replaces inventory) ─────────────────── */
.principles {
  padding: var(--section) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.principles-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
  align-items: end;
}
.principles-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.principles-title .accent-word { color: var(--accent); }
.principles-lede {
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 42ch;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.principle {
  display: flex; flex-direction: column; gap: 14px;
}
.principle .pnum {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-strong);
}
.principle h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.principle p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.65;
}

/* ─── Contact CTA ─────────────────────────────────────────────── */
.contact-wrap { padding: 0; }
.contact {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--section) var(--pad);
  text-align: center;
  background:
    radial-gradient(900px 600px at 50% 110%, rgba(184,35,46,0.1), transparent 65%),
    var(--surface);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
}
.contact > * { max-width: 680px; margin-left: auto; margin-right: auto; }
.contact-eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 32px;
}
.contact-headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin-bottom: 32px;
  text-wrap: balance;
}
.contact-headline .accent-word { color: var(--accent); }
.contact-lede {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 52ch;
  margin: 0 auto 48px;
}
.contact-actions {
  display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  max-width: none;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.footer-links {
  display: flex; gap: 36px; justify-self: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  justify-self: end;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* responsive */
@media (max-width: 1100px) {
  .principles-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(3n) { border-right: 1px solid var(--border); }
  .service:nth-child(2n) { border-right: 0; }
  .service:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .service:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 980px) {
  .hero { min-height: 0; padding-top: 96px; padding-bottom: 56px; display: block; }
  .hero-bg { width: 100%; right: -20%; opacity: 0.6; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; align-items: start; }
  .hero-aside { max-width: 100%; }
  .stats-row { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--border); padding: 28px 0; }
  .stat:last-child { border-bottom: 0; }
  .services-head { grid-template-columns: 1fr; gap: 32px; }
  .principles-head { grid-template-columns: 1fr; gap: 28px; }
  .principles-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .service, .service:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--border); padding: 32px 24px; }
  .service:last-child { border-bottom: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-card { padding: 32px; }
  .about-card::before { left: 32px; right: 32px; }
  .contact { padding: 80px 28px; }
  .nav-links { display: none; }
  .nav-status { display: none; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .footer-copy, .footer-links { justify-self: center; }
}

/* iPhone view — extra left breathing room and right-sized display type so long words don't crowd the edge */
@media (max-width: 600px) {
  :root { --pad: 36px; }
  .nav-inner { padding: 14px var(--pad); }
  .wordmark { font-size: 12px; letter-spacing: 0.2em; gap: 8px; }
  .wordmark-mark { font-size: 13px; }
  .btn-ghost { padding: 8px 8px 8px 16px; font-size: 10px; gap: 10px; }
  .btn-ghost-arrow { width: 24px; height: 24px; }

  .headline { font-size: clamp(48px, 13.5vw, 76px); }
  .services-title { font-size: clamp(44px, 12.5vw, 68px); }
  .about-copy h2 { font-size: clamp(44px, 12.5vw, 68px); }
  .principles-title { font-size: clamp(40px, 11.5vw, 60px); }
  .contact-headline { font-size: clamp(40px, 11.5vw, 60px); }
  .about-card .quote { font-size: clamp(24px, 6.5vw, 32px); }
}
