/* Westmount Global */

:root {
  --bg: #07080b;
  --bg-elev: #0e1015;
  --ink: #eeeae2;
  --muted: #9b9aa3;
  --gold: #d8a858;
  --gold-2: #f0c56e;
  --line: rgba(216, 168, 88, 0.28);
  --grid: rgba(238, 234, 226, 0.045);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "Geist Mono", "IBM Plex Mono", ui-monospace, monospace;
  --max: 72rem;
  --header-h: 4.25rem;
  --mx: 70vw;
  --my: 20vh;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--gold-2); }
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: var(--gold);
  color: var(--bg);
  padding: 0.5rem 1rem;
  font-weight: 600;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}
.wrap.narrow { width: min(100% - 2.5rem, 46rem); }

/* Stage / background */

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 30%, transparent 78%);
  animation: grid-shift 48s linear infinite;
}
.bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 420px at var(--mx) var(--my), rgba(216, 168, 88, 0.14), transparent 58%),
    radial-gradient(900px 500px at 80% -10%, rgba(216, 168, 88, 0.08), transparent 60%);
}
.bg-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}
@keyframes grid-shift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 56px, 56px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bg-grid { animation: none; }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 11, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 0.85rem 1.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  margin-right: auto;
}
.brand:hover { color: var(--gold-2); }
.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  flex: none;
  filter: drop-shadow(0 0 10px rgba(216, 168, 88, 0.25));
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-desktop {
  display: none;
  gap: 1.5rem;
  align-items: center;
}
.nav-desktop a,
.nav-mobile nav a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  opacity: 0.78;
}
.nav-desktop a:hover,
.nav-mobile nav a:hover,
.nav-desktop a[aria-current="page"],
.nav-mobile nav a[aria-current="page"] {
  color: var(--gold);
  opacity: 1;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--muted);
}
.lang-switch a {
  color: inherit;
  text-decoration: none;
  padding: 0.35rem 0.12rem;
}
.lang-switch a:hover,
.lang-switch a:focus-visible { color: var(--ink); }
.lang-switch a[aria-current="true"] {
  color: var(--gold);
  font-weight: 500;
}
.lang-switch .lang-sep { opacity: 0.4; }

.nav-mobile { position: relative; }
.nav-mobile > summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.4rem 0;
}
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile > summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.nav-mobile nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  min-width: 14rem;
  padding: 0.7rem 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.nav-mobile nav a { padding: 0.7rem 1.15rem; }

@media (min-width: 860px) {
  .nav-desktop { display: flex; }
  .nav-mobile { display: none; }
}
@media (max-width: 430px) {
  .brand-name { display: none; }
  .lang-switch .lang-sep { display: none; }
}

/* Hero + pages */

.hero {
  position: relative;
  z-index: 1;
  text-align: left;
  padding: clamp(3.75rem, 12vh, 7.25rem) 0 clamp(3.5rem, 11vh, 6.25rem);
}
.hero .wrap { max-width: 58rem; }

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.4rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.05rem, 5.6vw, 3.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin: 0;
  color: var(--ink);
}
.hero-rule {
  width: 4.5rem;
  height: 1px;
  background: var(--gold);
  margin: 2.25rem 0 0;
  box-shadow: 0 0 16px rgba(216, 168, 88, 0.6);
}

.page-hero {
  position: relative;
  z-index: 1;
  padding: 3.4rem 0 2.6rem;
  border-bottom: 1px solid rgba(216, 168, 88, 0.16);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  margin: 0;
  letter-spacing: -0.03em;
}

.section {
  position: relative;
  z-index: 1;
  padding: 4.25rem 0 5.25rem;
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  margin: 0 0 1.8rem;
  letter-spacing: -0.02em;
}
.lead {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.3vw, 1.6rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}

.company-grid,
.company-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.company-grid { grid-template-columns: 1fr; }
@media (min-width: 800px) {
  .company-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
  }
}
.card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.card-mark {
  flex: 0 0 2.6rem;
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 168, 88, 0.32);
  background: rgba(216, 168, 88, 0.06);
  color: var(--gold);
}
.card-glyph {
  width: 1.45rem;
  height: 1.45rem;
  display: block;
}
.card-info { min-width: 0; }
.card-info h2,
.card-info h3 { margin: 0; }

.company-card {
  position: relative;
  background: rgba(14, 16, 21, 0.72);
  border: 1px solid rgba(216, 168, 88, 0.18);
  padding: 1.5rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.company-card::before,
.company-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold);
  opacity: 0.55;
  pointer-events: none;
}
.company-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.company-card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.company-card:hover {
  border-color: rgba(216, 168, 88, 0.55);
  box-shadow: 0 0 0 1px rgba(216, 168, 88, 0.12), 0 0 36px rgba(216, 168, 88, 0.1);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .company-card:hover { transform: none; }
}
.company-card h2,
.company-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0;
  letter-spacing: -0.02em;
}
.company-card p { margin: 0; color: var(--ink); }
.card-kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.card-link { margin-top: auto !important; padding-top: 0.55rem; font-size: 0.95rem; }
.card-link a { color: var(--ink); font-weight: 500; }
.card-link a:hover { color: var(--gold-2); }
.card-link.soon {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-more {
  margin: 1.8rem 0 0;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.section-more a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 168, 88, 0.45);
}
.section-more a:hover { color: var(--gold-2); }

.placeholder {
  font-style: italic;
  color: var(--muted);
  border: 1px dashed rgba(216, 168, 88, 0.35);
  background: rgba(216, 168, 88, 0.04);
  padding: 0.65rem 0.85rem;
  margin: 0;
}

.about-grid {
  display: block;
  max-width: 40rem;
}
.about-copy .role {
  margin: 0.2rem 0 0;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
}
.about-copy h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}
.about-copy .bio {
  margin: 1.15rem 0 0;
  line-height: 1.65;
}

.contact-email {
  font-style: normal;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.02em;
}
.contact-email a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.contact-email a:hover { color: var(--gold-2); }
.text-link {
  color: var(--gold);
  font-weight: 500;
}

/* Reveal */

.reveal { opacity: 1; transform: none; }
.reveal.is-pending {
  opacity: 0;
  transform: translateY(18px);
}
.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-pending { opacity: 1; transform: none; }
}

/* Footer */

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
  background: rgba(7, 8, 11, 0.88);
}
.footer-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
}
.footer-copy,
.footer-mail { margin: 0; font-size: 0.9rem; }
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.footer-mail a {
  color: var(--gold);
  text-decoration: none;
}
.footer-mail a:hover { color: var(--gold-2); }

main { flex: 1; }

/* Leadership org chart */

.section.leadership { padding-top: 0.75rem; }
.section.leadership .mono-label { margin-bottom: 0.55rem; }
.org-chart {
  --org-line: rgba(216, 168, 88, 0.45);
  --org-line-w: 1px;
  margin: 0 auto;
  max-width: 42rem;
}
.org-top {
  display: flex;
  justify-content: center;
}
.org-card {
  background: rgba(14, 16, 21, 0.72);
  border: 1px solid rgba(216, 168, 88, 0.18);
  padding: 1.2rem 1.3rem 1.15rem;
  text-align: center;
  width: 100%;
}
.org-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0;
  letter-spacing: -0.02em;
}
.org-role {
  margin: 0.4rem 0 0;
  color: var(--gold);
  font-size: 0.92rem;
  line-height: 1.45;
}
.org-ceo {
  max-width: 22rem;
  border-color: rgba(216, 168, 88, 0.5);
  box-shadow: 0 0 24px rgba(216, 168, 88, 0.08);
}
.org-ceo h3 { font-size: 1.35rem; }
.org-connectors {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.org-stem,
.org-drop,
.org-bar {
  background: var(--org-line);
  display: block;
}
.org-stem,
.org-drop {
  width: var(--org-line-w);
  height: 1.35rem;
  margin: 0 auto;
  transform-origin: top center;
  animation: org-draw-y 0.7s ease both;
}
.org-bar {
  height: var(--org-line-w);
  width: calc(50% + 0.875rem);
  transform-origin: center;
  animation: org-draw-x 0.7s 0.18s ease both;
}
.org-reports {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.org-reports li { width: 100%; }
.org-drop { animation-delay: 0.28s; }

@media (min-width: 720px) {
  .org-reports {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.75rem;
    align-items: start;
  }
}

@keyframes org-draw-y {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}
@keyframes org-draw-x {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}
@media (max-width: 719px) {
  .org-bar { display: none; }
  .org-reports li { max-width: 22rem; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .org-stem, .org-drop, .org-bar { animation: none; }
}
