/* --------------------------------------------------------------------------
   Leacy Vergasta | Bio — tokens from the confirmed workspace brand kit.
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;
  --display: 'Playfair Display', Georgia, serif;
  --body: 'DM Sans', system-ui, sans-serif;

  --step--1: clamp(0.78rem, 0.75rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.1rem);
  --step-1: clamp(1.25rem, 1.12rem + 0.55vw, 1.65rem);
  --step-2: clamp(1.75rem, 1.48rem + 1.1vw, 2.5rem);
  --step-3: clamp(2.6rem, 1.95rem + 3.5vw, 5.5rem);

  --space-xs: 0.55rem;
  --space-sm: 0.9rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: clamp(4.5rem, 8vw, 7.5rem);

  --ground: #FAF9F6;
  --surface: #F2F0EB;
  --ink: #1A1A1A;
  --muted: #5A5652;
  --muted-light: #9A948C;
  --line: #D8D2C9;
  --red: #8B1C1C;
  --red-mid: #A83232;
  --nude: #8A7060;
  --cyan: #007A78;

  --measure: 66ch;
  --container: 76rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

p { margin: 0; max-width: var(--measure); }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 2px;
}

.container {
  width: min(var(--container), calc(100% - 3.25rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.7rem 1rem;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--ground);
  font-weight: 600;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 6.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand-logo {
  width: clamp(8.5rem, 15vw, 11.5rem);
  max-height: 3.7rem;
  object-fit: contain;
  object-position: left center;
}

.brand-divider {
  width: 1px;
  height: 2.4rem;
  background: var(--line);
}

.brand-label {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--red);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}
.header-link span:last-child { font-size: 1.2rem; transition: transform 160ms ease; }
.header-link:hover span:last-child { transform: translate(2px, 2px); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.75fr);
  align-items: end;
  gap: clamp(2.5rem, 7vw, 6.5rem);
  padding-block: clamp(5rem, 10vw, 9rem) clamp(4rem, 7vw, 6.5rem);
}

.eyebrow,
.section-label {
  color: var(--cyan);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.7rem;
}

.eyebrow-mark {
  display: inline-block;
  width: 1.65rem;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  max-width: 9.5ch;
  font-size: var(--step-3);
  line-height: 0.99;
}

.hero h1 em {
  color: var(--red);
  font-weight: 400;
}

.hero-promise {
  max-width: 49ch;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.23rem);
  line-height: 1.7;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
  padding: 0.88rem 1.35rem;
  background: var(--red);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}
.button-primary:hover {
  background: var(--red-mid);
  transform: translateY(-2px);
}
.button-primary span { font-size: 1.2rem; line-height: 1; }

.micro-note {
  margin-top: 1.3rem;
  color: var(--muted-light);
  font-size: var(--step--1);
  letter-spacing: 0.015em;
}

.hero-aside {
  position: relative;
  min-height: 21rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-left: 5px solid var(--red);
  background: var(--ink);
  color: var(--ground);
}

.hero-aside .eyebrow {
  color: var(--surface);
  font-size: 0.72rem;
}

.hero-aside blockquote {
  margin: 2.1rem 0 2rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.7vw, 2.45rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.018em;
}

.aside-rule {
  width: 3.2rem;
  height: 2px;
  margin-bottom: 1rem;
  background: var(--red-mid);
}

.aside-caption {
  color: #E7E1D9;
  font-size: var(--step--1);
  line-height: 1.5;
}

.big-idea {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: var(--surface);
}

.big-idea-inner {
  display: grid;
  grid-template-columns: minmax(8rem, 0.34fr) minmax(0, 1.66fr);
  align-items: start;
  gap: 2rem;
}

.big-idea .section-label { padding-top: 0.7rem; }

.big-idea h2 {
  max-width: 24ch;
  font-size: clamp(1.8rem, 3.4vw, 3.1rem);
  line-height: 1.22;
}

.pathways {
  padding-block: var(--space-xl);
}

.pathways-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.pathways-heading .eyebrow { margin-bottom: 0.8rem; }
.pathways-heading h2 {
  font-size: var(--step-2);
}

.pathways-note {
  max-width: 24ch;
  color: var(--muted);
  font-size: var(--step--1);
}

.path-list { border-top: 1px solid var(--line); }

.path-link {
  display: grid;
  grid-template-columns: minmax(10rem, 0.9fr) minmax(0, 1.2fr) 2.5rem;
  align-items: center;
  gap: 1.5rem;
  min-height: 5.6rem;
  padding: 1.2rem 0.25rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding 160ms ease, color 160ms ease;
}
.path-link:hover {
  padding-inline: 0.7rem;
  color: var(--red);
}
.path-name {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  line-height: 1.2;
}
.path-desc {
  color: var(--muted);
  font-size: var(--step--1);
}
.path-arrow {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--red);
  font-size: 1.05rem;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.path-link:hover .path-arrow {
  border-color: var(--red);
  background: var(--red);
  color: #FFFFFF;
}

.detail-section {
  display: grid;
  grid-template-columns: minmax(10rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: 2rem;
}

.detail-heading .eyebrow { margin-bottom: 0.8rem; }
.detail-heading h2 { font-size: var(--step-2); }
.detail-copy {
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.8;
}

.method-words {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.4vw, 2.8rem);
  line-height: 1.35;
}
.method-words span {
  color: var(--red);
  font-family: var(--body);
  font-size: 0.8em;
  padding-inline: 0.2em;
}

.program-note {
  display: inline-block;
  margin-top: 1rem;
  padding-top: 0.7rem;
  border-top: 2px solid var(--red);
  color: var(--ink);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.closing-band {
  margin-top: 1rem;
  padding-block: clamp(3.5rem, 6vw, 5rem);
  background: var(--red);
  color: #FFFFFF;
}

.closing-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.closing-quote {
  max-width: 30ch;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.22;
}

.back-link {
  flex: 0 0 auto;
  color: #FFFFFF;
  font-size: var(--step--1);
  font-weight: 700;
  text-underline-offset: 0.3em;
}

.site-footer {
  padding-block: 1.5rem 2rem;
  color: var(--muted);
  font-size: var(--step--1);
}
.site-footer p { max-width: none; }

@media (max-width: 760px) {
  .container { width: min(var(--container), calc(100% - 2rem)); }
  .header-inner { min-height: 5.4rem; gap: 1rem; }
  .brand-lockup { gap: 0.7rem; }
  .brand-logo { width: clamp(7rem, 30vw, 9rem); }
  .brand-divider { height: 2rem; }
  .brand-label { font-size: 0.58rem; }
  .header-link { font-size: 0.68rem; letter-spacing: 0.04em; }
  .header-link span:first-child { max-width: 8ch; }

  .hero {
    grid-template-columns: 1fr;
    gap: 2.8rem;
    padding-block: 4.4rem 3.5rem;
  }
  .hero h1 { max-width: 10ch; }
  .hero-aside { min-height: 0; }
  .hero-aside blockquote { max-width: 20ch; }

  .big-idea-inner { grid-template-columns: 1fr; gap: 1.1rem; }
  .big-idea h2 { max-width: 28ch; }

  .pathways-heading { display: block; }
  .pathways-note { margin-top: 1rem; }
  .path-link {
    grid-template-columns: minmax(0, 1fr) 2.25rem;
    gap: 0.3rem 1rem;
    padding-block: 1.15rem;
  }
  .path-name { grid-column: 1; }
  .path-desc { grid-column: 1; }
  .path-arrow { grid-column: 2; grid-row: 1 / span 2; }

  .detail-section { grid-template-columns: 1fr; gap: 1.2rem; }
  .closing-inner { display: block; }
  .back-link { display: inline-block; margin-top: 1.5rem; }
}

@media (max-width: 390px) {
  .header-link span:first-child { max-width: 6ch; }
  .brand-label { letter-spacing: 0.06em; }
  .hero .eyebrow { font-size: 0.68rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
