:root {
  /* From the Momentum A1 logo */
  --gold: #fee97c;
  --ink: #022249;
  --navy: #1c3c6b;
  --paper: #f8f7f3;
  --chalk: #ffffff;
  --muted: #4a5d78;

  --display: "Archivo", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;

  --wrap: 1040px;
  --gutter: clamp(16px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.top :focus-visible, .contact :focus-visible { outline-color: var(--gold); }

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

/* Top: header bar laid over the photo */

.top { position: relative; }

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  color: var(--chalk);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 52px;
  height: auto;
}
.mark-bars { fill: var(--paper); }
.mark-arrow { fill: var(--gold); }
.brand-word {
  font-stretch: 115%;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
}
.bar-cta {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--gold);
  border-radius: 999px;
  padding: 9px 18px;
}
.bar-cta:hover { background: var(--chalk); }

/* Hero: the photo carries it, text sits in the dark space to his left */

.hero {
  --photo-bg: #1c1f24;
  position: relative;
  background: var(--photo-bg);
  color: var(--chalk);
  min-height: clamp(560px, 86vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
/* The photo is pinned to the same centre line as the text column, so his
   face always sits a fixed distance right of the copy, whatever the width.
   --face-x is where his face sits across the photo; --face-offset is how
   far right of the page centre it lands. */
.hero-photo {
  --face-x: 50%;
  --face-offset: clamp(170px, 21vw, 300px);
  position: absolute;
  top: 0;
  left: calc(50% + var(--face-offset));
  height: 100%;
  width: auto;
  max-width: none;
  transform: translateX(calc(-1 * var(--face-x)));
}
/* Darken the left side so the text always reads, and blend the photo edges */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      var(--photo-bg) calc(50% - 560px),
      rgba(28, 31, 36, 0.75) calc(50% - 40px),
      rgba(28, 31, 36, 0) calc(50% + 170px)),
    linear-gradient(0deg, rgba(28, 31, 36, 0.6) 0%, rgba(28, 31, 36, 0) 35%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: clamp(48px, 8vw, 96px);
}
.hero h1 {
  margin: 0;
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(2.8rem, 6.4vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  max-width: 8ch;
}
.credentials {
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
/* Narrower screens: stack the pill and the line so they stay clear of his shoulder */
@media (max-width: 1100px) {
  .credentials { flex-direction: column; align-items: flex-start; }
}
/* Outlined so it reads as a label, not the gold "Talk to Richo" button */
.pill {
  display: inline-block;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--chalk);
  font-weight: 600;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.06);
}
.role {
  color: var(--gold);
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}
.intro {
  margin: clamp(24px, 3vw, 32px) 0 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  line-height: 1.4;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 760px) {
  .brand-word { font-size: 0.85rem; letter-spacing: 0.06em; }
  .brand-mark { width: 34px; }
  .hero {
    display: block;
    min-height: 0;
  }
  .hero-photo {
    position: relative;
    left: 0;
    transform: none;
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: 50% 15%;
  }
  .hero::before {
    background: linear-gradient(0deg, var(--photo-bg) 0%, rgba(28, 31, 36, 0) 22%),
      linear-gradient(180deg, rgba(28, 31, 36, 0.55) 0%, rgba(28, 31, 36, 0) 18%);
    height: 400px;
  }
  .hero-copy { margin-top: -56px; padding-bottom: 44px; }
  .hero h1 { max-width: none; }
}

.logo-strip {
  background: var(--chalk);
  padding: 28px 0;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 32px;
}
.logo-row img {
  height: clamp(44px, 6vw, 64px);
  width: auto;
  max-width: 120px;
  object-fit: contain;
}
.logo-dup { display: none; }

/* Phones: logos scroll in a continuous loop instead of stacking */
@media (max-width: 760px) {
  .logo-strip {
    overflow: hidden;
    padding: 22px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  }
  .logo-row {
    max-width: none;
    width: max-content;
    padding: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    animation: logo-scroll 22s linear infinite;
  }
  .logo-row img {
    height: 48px;
    max-width: 96px;
    margin-right: 44px;
  }
  .logo-dup { display: block; }
  .logo-strip:hover .logo-row,
  .logo-strip:active .logo-row { animation-play-state: paused; }
}
@keyframes logo-scroll {
  to { transform: translateX(-50%); }
}
/* Reduced motion: no auto-scroll, swipe instead */
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .logo-strip {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .logo-row { animation: none; padding: 0 var(--gutter); }
  .logo-dup { display: none; }
}

/* Section headings */

.principles h2, .career h2 {
  margin: 0 0 clamp(28px, 4vw, 48px);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1;
}

/* Principles: his six points, each with one line of proof */

.principles { padding: clamp(64px, 9vw, 112px) 0; }
.principle {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 12px clamp(32px, 5vw, 72px);
  padding: clamp(22px, 3vw, 32px) 0;
  border-bottom: 1px solid rgba(15, 35, 64, 0.18);
}
.principle:first-of-type { border-top: 2px solid var(--ink); }
.principle h3 {
  margin: 0;
  font-weight: 700;
  font-stretch: 108%;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.principle p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
}
.principle em { color: var(--ink); }
@media (max-width: 760px) {
  .principle { grid-template-columns: 1fr; }
}

/* Career timeline */

.career {
  background: var(--chalk);
  padding: clamp(64px, 9vw, 112px) 0;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}
.timeline li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 4px clamp(16px, 3vw, 32px);
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(15, 35, 64, 0.15);
}
.tl-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.tl-mono {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-stretch: 112%;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.tl-body h3 {
  margin: 0;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
}
.tl-body h3 span {
  font-weight: 400;
  color: var(--muted);
}
.tl-body h3 span::before { content: " — "; }
.tl-body p {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 60ch;
}
.tl-years {
  font-weight: 600;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  align-self: start;
  padding-top: 2px;
}
@media (max-width: 600px) {
  .timeline li { grid-template-columns: 48px minmax(0, 1fr); align-items: start; }
  .tl-logo { width: 48px; height: 48px; grid-row: span 2; }
  .tl-years { grid-column: 2; grid-row: 1; padding: 0; font-size: 0.9rem; }
  .tl-body { grid-column: 2; }
  .tl-body h3 span { display: block; }
  .tl-body h3 span::before { content: none; }
}

/* Contact */

.contact {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(56px, 9vw, 104px) 0;
}
.contact-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px 48px;
}
.contact h2 {
  margin: 0;
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1;
}
.contact-links {
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 600;
}
.contact-links a {
  text-decoration: none;
  color: var(--gold);
  overflow-wrap: anywhere;
}
.contact-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
