@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,500&display=swap");

:root {
  --petroleum: #123e46;
  --graphite: #1c2423;
  --ivory: #f4f5f1;
  --copper: #b77a55;
  --mist: #dce8e8;
  --white: #fff;
  --hairline: rgba(18, 62, 70, 0.18);
  --section-space: clamp(3.5rem, 7vw, 6rem);
  --page-progress: 0;
  --content: min(72rem, calc(100vw - 3rem));
  --copy: 66ch;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--graphite);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

figure,
blockquote,
h1,
h2,
h3,
p {
  margin-top: 0;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  min-height: 44px;
  padding: 0.7rem 1rem;
  transform: translateY(-180%);
  background: var(--petroleum);
  color: var(--white);
  font-weight: 700;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 88px;
  padding: 0.45rem max(1.5rem, calc((100vw - 72rem) / 2));
  border-bottom: 1px solid transparent;
  background: rgba(244, 245, 241, 0.72);
  backdrop-filter: blur(16px);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.is-past-hero {
  border-color: var(--hairline);
  background: rgba(244, 245, 241, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.75rem;
  width: fit-content;
  color: var(--petroleum);
  text-decoration: none;
}

.brand-mark {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.brand-name {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-header nav a {
  position: relative;
  min-height: 44px;
  padding: 0.65rem 0;
  color: var(--petroleum);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.45rem;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--copper);
  transition: transform 160ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.hero-copy > a,
.profiles > a,
.decision > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.15rem;
  border: 1px solid var(--copper);
  background: var(--copper);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.header-cta {
  justify-self: end;
  min-height: 44px;
  padding-inline: 1rem;
}

.header-cta:hover,
.hero-copy > a:hover,
.profiles > a:hover,
.decision > a:hover {
  border-color: var(--petroleum);
  background: var(--petroleum);
}

.page-progress {
  position: fixed;
  z-index: 40;
  top: 7.5rem;
  bottom: 2rem;
  left: max(1rem, calc((100vw - 77rem) / 2));
  width: 2px;
  overflow: hidden;
  background: var(--hairline);
  pointer-events: none;
}

.page-progress > span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleY(var(--page-progress));
  transform-origin: top;
  background: var(--petroleum);
  transition: transform 100ms linear;
}

main {
  width: 100%;
}

section[id] {
  scroll-margin-top: 7rem;
}

.hero,
.narrative-section {
  width: var(--content);
  margin-inline: auto;
}

.narrative-section {
  padding-block: var(--section-space);
}

.display-editorial {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.display-editorial .voice-direct {
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 650;
  letter-spacing: -0.052em;
}

.display-editorial .voice-script {
  display: inline-block;
  color: var(--copper);
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.065em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(20rem, 42fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3rem, 7vw, 6rem) var(--section-space);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 44rem;
}

.hero h1 {
  max-width: 13ch;
  margin-bottom: 1.75rem;
  color: var(--petroleum);
  font-size: clamp(3.5rem, 6.2vw, 4.75rem);
  line-height: 0.98;
}

.hero-copy > p {
  max-width: 55ch;
  margin-bottom: 1rem;
}

.hero-copy > p:nth-of-type(2) {
  color: var(--petroleum);
  font-weight: 650;
}

.hero-copy > a {
  margin-top: 1.25rem;
}

.hero-copy > a + p {
  margin: 0.8rem 0 0;
  color: rgba(28, 36, 35, 0.68);
  font-size: 0.82rem;
}

.hero-figure {
  position: relative;
  margin: 0;
  padding: 0;
}

.hero-figure::before {
  content: none;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.03);
}

figcaption {
  margin-top: 0.7rem;
  color: rgba(28, 36, 35, 0.66);
  font-size: 0.76rem;
  line-height: 1.45;
}

.mode-note {
  position: static;
  display: grid;
  grid-template-columns: minmax(8rem, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem;
  width: 100%;
  margin-top: 1rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--copper);
  color: var(--petroleum);
}

.mode-note strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.mode-note span {
  font-size: 0.82rem;
  line-height: 1.5;
}

.problem {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
  border-top: 1px solid var(--hairline);
}

.problem h2,
.profiles h2,
.program h2,
.proof h2,
.decision h2,
.transformation h2,
.consequences h2 {
  margin-bottom: 1.25rem;
  color: var(--petroleum);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.4rem, 4.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.problem h2 {
  max-width: 18ch;
}

.problem ul {
  align-self: end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--petroleum);
  font-weight: 600;
}

.problem p {
  max-width: var(--copy);
}

.consequences {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(to right, transparent 0 46%, var(--mist) 46% 100%);
}

.consequences > div {
  grid-column: 2;
  padding-left: clamp(2rem, 6vw, 6rem);
}

.consequences h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.profiles {
  border-bottom: 1px solid var(--hairline);
}

.profiles > div:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.6fr);
  align-items: end;
  gap: 3rem;
}

.profiles > div:first-child p {
  margin-bottom: 1.45rem;
}

.profiles h2 {
  max-width: 18ch;
}

[data-profile-explorer] {
  margin-top: clamp(2rem, 5vw, 4rem);
}

[role="tablist"] {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

[role="tab"] {
  min-height: 70px;
  padding: 0.85rem;
  border: 0;
  border-right: 1px solid var(--hairline);
  background: transparent;
  color: var(--petroleum);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  cursor: pointer;
}

[role="tab"]:last-child {
  border-right: 0;
}

[role="tab"] span {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--copper);
  font-size: 0.7rem;
}

[role="tab"][aria-selected="true"] {
  background: var(--petroleum);
  color: var(--white);
}

[role="tabpanel"] {
  display: grid;
  grid-template-columns: 0.75fr 1fr 1.5fr;
  align-items: end;
  min-height: 160px;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--mist);
  transition: opacity 140ms ease, transform 140ms ease;
}

[role="tabpanel"].is-changing {
  opacity: 0.72;
  transform: translateY(3px);
}

[role="tabpanel"] > p:first-child {
  align-self: start;
  color: rgba(18, 62, 70, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
}

[role="tabpanel"] h3 {
  margin: 0;
  color: var(--petroleum);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.profile-response {
  max-width: 38ch;
}

.profile-response p {
  margin: 0;
}

.profile-response p:first-child {
  color: var(--petroleum);
  font-weight: 650;
}

.profile-response p:last-child {
  max-width: 36ch;
  margin-top: 0.6rem;
  color: rgba(28, 36, 35, 0.7);
  font-size: 0.9rem;
}

.profiles > p {
  max-width: 58ch;
  margin: 2rem 0 1.5rem;
}

.mechanism-figure {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(14rem, 0.65fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin: 3rem 0;
  padding-block: 1.25rem;
  border-block: 1px solid var(--hairline);
}

.mechanism-figure img {
  width: 100%;
  max-height: 34rem;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.03);
}

.mechanism-figure figcaption {
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--copper);
}

.transformation {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
}

.transformation > div {
  padding-top: 2rem;
  border-top: 4px solid var(--copper);
}

.transformation h2 {
  max-width: 12ch;
}

.transformation-figure {
  margin: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline);
}

.transformation-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.03);
}

.program {
  position: relative;
  padding-inline: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--mist);
}

.program header {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.55fr);
  align-items: end;
  gap: 3rem;
}

.program h2 {
  max-width: 16ch;
}

.program header p {
  color: var(--petroleum);
  font-weight: 650;
}

.method-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 3rem 0 0;
  border-top: 1px solid rgba(18, 62, 70, 0.3);
}

.method-flow details {
  min-height: 15rem;
  padding: 0 1.5rem 0 0;
  border-top: 0;
  border-right: 1px solid rgba(18, 62, 70, 0.3);
  border-bottom: 0;
}

.method-flow details + details {
  padding-left: 1.5rem;
}

.method-flow details:last-child {
  border-right: 0;
  border-bottom: 0;
}

.method-flow summary {
  display: grid;
  align-content: start;
  min-height: 15rem;
  padding: 1.5rem 2rem 1.5rem 0;
}

.method-period {
  color: var(--copper);
  font-size: 0.75rem;
  font-weight: 700;
}

.method-flow summary strong {
  margin: 1.2rem 0 0.8rem;
  color: var(--petroleum);
  font-family: "Newsreader", Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.05;
}

.method-result {
  max-width: 31ch;
  color: var(--graphite);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.55;
}

.method-flow details > p {
  padding: 0 1.5rem 1.5rem 0;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.proof h2 {
  max-width: 13ch;
}

.proof blockquote {
  margin: 2rem 0 0;
  padding: 1.4rem 0 0 1.5rem;
  border-top: 1px solid var(--copper);
  border-left: 4px solid var(--copper);
  color: var(--petroleum);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.35;
}

.proof h3 {
  margin-bottom: 1.5rem;
  color: var(--petroleum);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
}

details {
  border-top: 1px solid var(--hairline);
}

details:last-child {
  border-bottom: 1px solid var(--hairline);
}

summary {
  position: relative;
  min-height: 56px;
  padding: 1rem 2.5rem 1rem 0;
  color: var(--petroleum);
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 50%;
  right: 0.25rem;
  content: "+";
  transform: translateY(-50%);
  color: var(--copper);
  font-size: 1.6rem;
  font-weight: 400;
}

details[open] summary::after {
  content: "−";
}

details > p {
  margin: 0;
  padding: 0 2rem 1.25rem 0;
  color: rgba(28, 36, 35, 0.76);
}

.decision {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: end;
  gap: 1rem 4rem;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  background: var(--petroleum);
  color: var(--white);
}

.decision > p:first-child {
  grid-row: 1 / 3;
  align-self: start;
  max-width: 24ch;
  padding-top: 0.75rem;
  border-top: 1px solid var(--copper);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.decision h2 {
  max-width: 13ch;
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(3rem, 6.5vw, 5rem);
}

.decision > p:nth-of-type(2) {
  grid-column: 2;
  max-width: 50ch;
}

.decision > a {
  grid-column: 2;
  justify-self: start;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  width: var(--content);
  margin-inline: auto;
  padding-block: 2rem;
  color: rgba(28, 36, 35, 0.65);
  font-size: 0.75rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 70rem) {
  .page-progress {
    left: 0.75rem;
  }

  .site-header {
    padding-inline: 1.5rem;
  }
}

@media (max-width: 47.99rem) {
  :root {
    --content: min(100% - 2rem, 42rem);
    --section-space: clamp(3.5rem, 14vw, 5rem);
  }

  body {
    font-size: 1rem;
    line-height: 1.65;
  }

  section[id] {
    scroll-margin-top: 5.25rem;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding: 0.35rem 1rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .site-header nav {
    display: none;
  }

  .header-cta {
    min-width: 88px;
    padding-inline: 0.75rem;
    font-size: 0.76rem;
  }

  .page-progress {
    top: 66px;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 2px;
  }

  .page-progress > span {
    transform: scaleX(var(--page-progress));
    transform-origin: left;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding-block: 2.25rem var(--section-space);
  }

  .hero h1 {
    max-width: 11ch;
    margin-bottom: 1.5rem;
    font-size: clamp(2.7rem, 12.5vw, 3.45rem);
    line-height: 0.98;
  }

  .display-editorial .voice-script {
    display: inline;
    font-size: 0.96em;
  }

  .hero-copy > a,
  .profiles > a,
  .decision > a {
    width: 100%;
    min-height: 52px;
    padding-inline: 1rem;
    text-align: center;
  }

  .hero-figure {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .hero-figure img {
    aspect-ratio: 4 / 4.6;
    object-position: center 42%;
  }

  .mode-note {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .problem,
  .profiles > div:first-child,
  .transformation,
  .program header,
  .proof,
  .decision {
    grid-template-columns: 1fr;
  }

  .problem {
    gap: 1.5rem;
  }

  .problem h2,
  .profiles h2,
  .program h2,
  .proof h2,
  .decision h2,
  .transformation h2,
  .consequences h2 {
    font-size: clamp(2.2rem, 10.5vw, 3rem);
    line-height: 1.04;
  }

  .consequences {
    display: block;
    width: 100%;
    padding-inline: max(1rem, calc((100vw - 42rem) / 2));
    background: var(--mist);
  }

  .consequences::before {
    display: none;
  }

  .consequences > div {
    padding-left: 0;
  }

  [role="tablist"] {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  [role="tablist"]::-webkit-scrollbar {
    display: none;
  }

  [role="tab"] {
    min-width: 8.75rem;
    min-height: 64px;
    scroll-snap-align: start;
  }

  [role="tabpanel"] {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.4rem;
    min-height: 0;
    padding: 1.5rem;
  }

  [role="tabpanel"] > p:first-child {
    margin-bottom: 1rem;
  }

  [role="tabpanel"] h3 {
    font-size: clamp(2.5rem, 13vw, 3.25rem);
  }

  .mechanism-figure {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1rem;
    margin: 2.25rem 0;
    padding-block: 1rem;
  }

  .mechanism-figure img,
  .transformation-figure img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .mechanism-figure figcaption {
    margin: 0;
    padding: 0.85rem 0 0;
    border-top: 1px solid var(--copper);
  }

  .transformation {
    gap: 2rem;
  }

  .transformation > div {
    order: 2;
  }

  .program {
    width: 100%;
    padding-inline: 1rem;
  }

  .method-flow {
    grid-template-columns: 1fr;
  }

  .method-flow details,
  .method-flow details + details {
    min-height: auto;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(18, 62, 70, 0.3);
  }

  .method-flow summary {
    min-height: 56px;
    padding-block: 1.35rem;
  }

  .method-flow summary strong {
    font-size: clamp(1.65rem, 8vw, 2rem);
  }

  .decision {
    display: block;
    width: 100%;
    padding-inline: 1rem;
  }

  .decision > p:first-child {
    margin-bottom: 3rem;
  }

  .decision h2 {
    margin-bottom: 1.5rem;
  }

  .decision > a {
    margin-top: 1rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

@media (max-width: 23.5rem) {
  :root {
    --content: min(100% - 1.5rem, 42rem);
  }

  .site-header {
    padding-inline: 0.75rem;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .header-cta {
    min-width: 82px;
    padding-inline: 0.6rem;
    font-size: 0.72rem;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12.8vw, 3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
