:root {
  --navy-deep: #0c1626;
  --navy: #101d33;
  --navy-soft: #14213d;
  --cream: #f4f1e9;
  --cream-dim: #cdd3de;
  --muted: #8a93a8;
  --coral: #e5533d;
  --amber: #e9a24a;
  --teal: #3fb6b0;
  --slate: #6d7891;
  --rule: rgba(244,241,233,0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: 'Montserrat', 'Century Gothic', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Montserrat', 'Century Gothic', sans-serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92dvh; /* accounts for mobile browser chrome collapsing on scroll */
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 68% 42%, rgba(229,83,61,0.10), transparent 60%),
    var(--navy-deep);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 40px;
}

.wordmark {
  font-family: 'Montserrat', 'Century Gothic', sans-serif;
  font-weight: 600;
  font-size: clamp(19px, 2.3vw, 26px);
  letter-spacing: 0.01em;
  color: var(--cream-dim);
  margin-bottom: 88px;
  text-shadow: 0 2px 16px rgba(12, 22, 38, 0.85), 0 0 4px rgba(12, 22, 38, 0.9);
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  max-width: 17ch;
  color: var(--cream);
}

.hero .sub {
  margin-top: 22px;
  font-size: 23px;
  color: var(--cream-dim);
  max-width: 44ch;
  font-family: 'Montserrat', 'Century Gothic', sans-serif;
  font-style: italic;
  font-weight: 400;
}

.hero .thesis {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 48ch;
}

.thesis-line {
  font-size: 21px;
  line-height: 1.55;
  color: var(--cream-dim);
}

.thesis-line strong { font-weight: 600; }

.thesis-line.truth strong { color: var(--amber); }
.thesis-line.meaning strong { color: var(--teal); }

/* ---------- Sections generic ---------- */
section { position: relative; }

.band { padding: 130px 0; }

.band.alt { background: var(--navy-soft); }

.eyebrow {
  font-family: 'Montserrat', 'Century Gothic', sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  color: var(--teal);
  margin-bottom: 22px;
}

.domains-intro .eyebrow { color: var(--amber); }

/* ---------- Problem ---------- */
.problem { padding-bottom: 70px; }

.problem h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  max-width: 20ch;
  color: var(--cream);
}

.line { display: block; }
.line + .line { margin-top: 0.3em; }

.problem .body-block {
  margin-top: 34px;
  max-width: 56ch;
  color: var(--cream-dim);
  font-size: 18px;
}

.problem .turn {
  margin-top: 44px;
  font-family: 'Montserrat', 'Century Gothic', sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-style: italic;
  line-height: 1.25;
  color: var(--coral);
  max-width: 30ch;
}

/* ---------- Domains ---------- */
.band.domains { padding-top: 70px; padding-bottom: 40px; }

.domains-intro { margin-bottom: 48px; }

.domains-intro h2 {
  font-size: clamp(26px, 3vw, 36px);
  max-width: 16ch;
}

.domain-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 36px;
  padding: 56px 0;
  border-top: 1px solid var(--rule);
}


.marker { padding-top: 6px; }

.domain-label {
  font-family: 'Montserrat', 'Century Gothic', sans-serif;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-bottom: 10px;
}

.domain-quote {
  font-family: 'Montserrat', 'Century Gothic', sans-serif;
  font-style: italic;
  font-size: 20px;
  color: var(--cream);
  max-width: 46ch;
  margin-bottom: 4px;
}

.domain-quote .attr {
  display: block;
  font-family: 'Montserrat', 'Century Gothic', sans-serif;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.domain-aphorism {
  font-family: 'Montserrat', 'Century Gothic', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--cream);
  max-width: 34ch;
}

.domain-body {
  margin-top: 18px;
  max-width: 52ch;
  color: var(--cream-dim);
}

.domain-body .q { margin-top: 14px; color: var(--cream); }

/* ---------- testimonial ---------- */
.testimonial {
  background: var(--navy-deep);
  padding: 110px 0;
  text-align: center;
}

.testimonial blockquote {
  margin: 0 auto;
  font-family: 'Montserrat', 'Century Gothic', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.45;
  color: var(--cream);
  max-width: 44ch;
}

.testimonial-attr {
  margin: 28px auto 0;
  max-width: 50ch;
  font-size: 14px;
  color: var(--muted);
}

.testimonial-attr em { font-style: italic; color: var(--cream-dim); }

/* ---------- bridge ---------- */
.work-lead {
  font-size: 19px;
  color: var(--cream-dim);
  max-width: 58ch;
  margin: 0 0 20px;
}

/* ---------- the work ---------- */
.band.work { padding-top: 40px; padding-bottom: 40px; }

.work-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 50px 0;
  border-top: 1px solid var(--rule);
}

.work-main {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 36px;
}

.work-title {
  font-family: 'Montserrat', 'Century Gothic', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--cream);
  margin-bottom: 10px;
}

.work-body {
  max-width: 52ch;
  color: var(--cream-dim);
}

.work-artifact {
  background: rgba(244, 241, 233, 0.04);
  border-left: 2px solid var(--teal);
  border-radius: 4px;
  padding: 20px 24px;
  margin-top: 6px;
}

.artifact-label {
  font-family: 'Montserrat', 'Century Gothic', sans-serif;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-bottom: 10px;
}

.artifact-body {
  font-style: italic;
  color: var(--cream-dim);
}

/* ---------- CTA ---------- */
.cta {
  padding: 90px 0 130px;
  background: var(--navy-soft);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  text-align: center;
}

.cta h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  max-width: 14ch;
  margin: 0 auto 32px;
}

.btn-primary {
  display: inline-block;
  background: var(--coral);
  color: var(--navy-deep);
  font-family: 'Montserrat', 'Century Gothic', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 34px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-primary:hover { background: #f06a52; }

.cta .fallback {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.cta .fallback a { text-decoration: underline; color: var(--muted); }

.cta-bio {
  padding-left: 64px;
  border-left: 1px solid var(--rule);
}

.bio-text {
  color: var(--cream-dim);
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.bio-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}

.bio-linkedin:hover { color: var(--cream); }

footer {
  padding: 40px 0 60px;
  font-size: 13px;
  color: var(--slate);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--slate);
}

.footer-logo {
  width: 28px;
  height: 28px;
  display: block;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social a {
  display: inline-flex;
  color: var(--slate);
  transition: color 0.2s ease;
}

.footer-social a:hover { color: var(--teal); }

@media (max-width: 900px) {
  .work-row { grid-template-columns: 1fr; gap: 24px; }
  .work-artifact { margin-top: 0; }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-bio {
    padding-left: 0;
    padding-top: 40px;
    border-left: none;
    border-top: 1px solid var(--rule);
  }
}

@media (max-width: 720px) {
  .wrap { padding: 0 24px; }
  .band { padding: 90px 0; }
  .domain-row, .work-main { grid-template-columns: 44px 1fr; gap: 20px; }
  .hero-inner { padding-top: 64px; }
  .wordmark { margin-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  #heroCanvas { display: none; }
}
