:root {
  --bg-dark: #161c2a;
  --bg-mid: #1c2232;
  --bg-light: #2c3040;
  --glow: #3a4868;
  --white: #ffffff;
  --silver: #e2e8f0;
  --label: #8a9ab0;
  --body: #607888;
  --dark-body: #405060;

  --font-display: Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: auto;
}

body {
  min-height: 100vh;
  background: var(--bg-dark);
  color: var(--body);
  font-family: var(--font-sans);
}

.section {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  overflow: hidden;
  background: linear-gradient(100deg, var(--bg-light) 0%, var(--bg-mid) 45%, var(--bg-dark) 100%);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 62% 48%, rgba(58, 72, 104, 0.38) 0%, transparent 70%);
  pointer-events: none;
}

.section-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ring-stack {
  position: absolute;
  width: 0;
  height: 0;
}

.ring,
.ring-dot {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring {
  border: 1px solid transparent;
}

.ring-dot {
  background: transparent;
}

.ring-connector {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ring-connector line {
  vector-effect: non-scaling-stroke;
}

/* Composition: rings-hero — large at 70%/50%, small at 24%/36%, dashed connector */
.rings-hero .ring-stack--primary {
  left: 70%;
  top: 50%;
}
.rings-hero .ring-stack--primary .ring:nth-child(1) {
  width: 240px;
  height: 240px;
  border-color: rgba(255, 255, 255, 0.1);
}
.rings-hero .ring-stack--primary .ring:nth-child(2) {
  width: 480px;
  height: 480px;
  border-color: rgba(255, 255, 255, 0.08);
}
.rings-hero .ring-stack--primary .ring:nth-child(3) {
  width: 780px;
  height: 780px;
  border-color: rgba(255, 255, 255, 0.06);
}
.rings-hero .ring-stack--primary .ring:nth-child(4) {
  width: 1120px;
  height: 1120px;
  border-color: rgba(255, 255, 255, 0.05);
}
.rings-hero .ring-stack--primary .ring:nth-child(5) {
  width: 1520px;
  height: 1520px;
  border-color: rgba(255, 255, 255, 0.04);
}
.rings-hero .ring-stack--primary .ring-dot {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.18);
}
.rings-hero .ring-stack--secondary {
  left: 24%;
  top: 36%;
}
.rings-hero .ring-stack--secondary .ring:nth-child(1) {
  width: 104px;
  height: 104px;
  border-color: rgba(255, 255, 255, 0.1);
}
.rings-hero .ring-stack--secondary .ring:nth-child(2) {
  width: 208px;
  height: 208px;
  border-color: rgba(255, 255, 255, 0.07);
}
.rings-hero .ring-stack--secondary .ring:nth-child(3) {
  width: 330px;
  height: 330px;
  border-color: rgba(255, 255, 255, 0.05);
}
.rings-hero .ring-stack--secondary .ring-dot {
  width: 11px;
  height: 11px;
  background: rgba(255, 255, 255, 0.22);
}
.rings-hero .ring-connector line {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 1;
  stroke-dasharray: 4, 6;
}

/* Composition: rings-divider — primary centered, secondary upper-left at 13%/18% */
.rings-divider .ring-stack--primary {
  left: 50%;
  top: 50%;
}
.rings-divider .ring-stack--primary .ring:nth-child(1) {
  width: 316px;
  height: 316px;
  border-color: rgba(255, 255, 255, 0.09);
}
.rings-divider .ring-stack--primary .ring:nth-child(2) {
  width: 632px;
  height: 632px;
  border-color: rgba(255, 255, 255, 0.07);
}
.rings-divider .ring-stack--primary .ring:nth-child(3) {
  width: 1000px;
  height: 1000px;
  border-color: rgba(255, 255, 255, 0.05);
}
.rings-divider .ring-stack--primary .ring:nth-child(4) {
  width: 1440px;
  height: 1440px;
  border-color: rgba(255, 255, 255, 0.04);
}
.rings-divider .ring-stack--primary .ring-dot {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.18);
}
.rings-divider .ring-stack--secondary {
  left: 13%;
  top: 18%;
}
.rings-divider .ring-stack--secondary .ring:nth-child(1) {
  width: 124px;
  height: 124px;
  border-color: rgba(255, 255, 255, 0.07);
}
.rings-divider .ring-stack--secondary .ring:nth-child(2) {
  width: 250px;
  height: 250px;
  border-color: rgba(255, 255, 255, 0.05);
}
.rings-divider .ring-stack--secondary .ring-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.18);
}

/* Composition: rings-content — large bottom-right (off-screen atmospheric), small upper-left */
.rings-content .ring-stack--primary {
  left: 100%;
  top: 100%;
}
.rings-content .ring-stack--primary .ring:nth-child(1) {
  width: 400px;
  height: 400px;
  border-color: rgba(255, 255, 255, 0.05);
}
.rings-content .ring-stack--primary .ring:nth-child(2) {
  width: 760px;
  height: 760px;
  border-color: rgba(255, 255, 255, 0.04);
}
.rings-content .ring-stack--primary .ring:nth-child(3) {
  width: 1160px;
  height: 1160px;
  border-color: rgba(255, 255, 255, 0.03);
}
.rings-content .ring-stack--primary .ring-dot {
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.1);
}
.rings-content .ring-stack--secondary {
  left: 8%;
  top: 12%;
}
.rings-content .ring-stack--secondary .ring:nth-child(1) {
  width: 92px;
  height: 92px;
  border-color: rgba(255, 255, 255, 0.06);
}
.rings-content .ring-stack--secondary .ring:nth-child(2) {
  width: 184px;
  height: 184px;
  border-color: rgba(255, 255, 255, 0.04);
}
.rings-content .ring-stack--secondary .ring-dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
}

/* Composition: rings-timeline — single small system upper-right */
.rings-timeline .ring-stack--primary {
  left: 92%;
  top: 18%;
}
.rings-timeline .ring-stack--primary .ring:nth-child(1) {
  width: 230px;
  height: 230px;
  border-color: rgba(255, 255, 255, 0.05);
}
.rings-timeline .ring-stack--primary .ring:nth-child(2) {
  width: 460px;
  height: 460px;
  border-color: rgba(255, 255, 255, 0.04);
}
.rings-timeline .ring-stack--primary .ring-dot {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.1);
}

/* Composition: rings-contact — large bottom-left, small upper-right */
.rings-contact .ring-stack--primary {
  left: 0%;
  top: 100%;
}
.rings-contact .ring-stack--primary .ring:nth-child(1) {
  width: 400px;
  height: 400px;
  border-color: rgba(255, 255, 255, 0.07);
}
.rings-contact .ring-stack--primary .ring:nth-child(2) {
  width: 760px;
  height: 760px;
  border-color: rgba(255, 255, 255, 0.05);
}
.rings-contact .ring-stack--primary .ring:nth-child(3) {
  width: 1120px;
  height: 1120px;
  border-color: rgba(255, 255, 255, 0.04);
}
.rings-contact .ring-stack--primary .ring-dot {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.15);
}
.rings-contact .ring-stack--secondary {
  left: 92%;
  top: 12%;
}
.rings-contact .ring-stack--secondary .ring:nth-child(1) {
  width: 240px;
  height: 240px;
  border-color: rgba(255, 255, 255, 0.05);
}
.rings-contact .ring-stack--secondary .ring:nth-child(2) {
  width: 480px;
  height: 480px;
  border-color: rgba(255, 255, 255, 0.04);
}
.rings-contact .ring-stack--secondary .ring-dot {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.section-footer {
  position: relative;
  width: 100%;
  padding: 16px 60px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.3);
}

/* Section 01 — Hero */
.hero-grid {
  display: block;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 600px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: 76px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: var(--label);
  text-transform: uppercase;
  margin-top: -6px;
}

.accent-bar {
  display: block;
  width: 55px;
  height: 4px;
  background: rgba(226, 232, 240, 0.65);
}

.tagline {
  font-family: var(--font-display);
  font-size: 30px;
  font-style: italic;
  color: var(--white);
  line-height: 1.3;
}

.brand {
  font-family: var(--font-display);
  font-size: 23px;
  color: var(--label);
  margin-top: -4px;
}

.descriptor {
  font-family: var(--font-sans);
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--dark-body);
  text-transform: uppercase;
  margin-top: -6px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 12px;
}

.vertical-rule {
  display: inline-block;
  width: 1px;
  height: 110px;
  background: rgba(226, 232, 240, 0.4);
  flex-shrink: 0;
}

.stat-row {
  display: flex;
  gap: 32px;
}

.stat-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--silver);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--label);
  text-transform: uppercase;
}

.certifications {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--dark-body);
  margin-top: 12px;
}

.hero-photo {
  position: absolute;
  left: 70%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  z-index: 2;
}

/* Section header — reusable across content sections */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 56px;
}

.section-label,
.card-label {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--label);
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  white-space: pre-wrap;
}

/* Section 02 — Approach */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

.approach-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-tagline {
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  color: var(--white);
  line-height: 1.3;
}

.card-body {
  font-family: var(--font-sans);
  font-size: 19px;
  color: var(--body);
  line-height: 1.55;
}

.card-rule {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 6px 0;
}

.card-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-bullets li {
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--body);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}

.card-bullets li::before {
  content: "·";
  position: absolute;
  left: 2px;
  top: -2px;
  color: var(--label);
  font-size: 24px;
  line-height: 1;
}

/* Sections 03, 06, 10 — Build / Fix / Scale dividers */
.section-divider .section-content {
  align-items: center;
  text-align: center;
  gap: 28px;
}

.section-divider .section-label {
  font-size: 16px;
}

.section-divider .section-title {
  font-size: 109px;
  line-height: 1;
}

.section-tagline {
  font-family: var(--font-sans);
  font-size: 19px;
  color: var(--label);
}

/* Case study template — Sections 04, 05, 07, 08, 09, 11, 12 */
.case-header {
  margin-bottom: 48px;
}

.case-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
}

.case-grid::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0.5px;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-50%);
}

.case-left,
.case-right {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pull-quote {
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
}

.case-body {
  font-family: var(--font-sans);
  font-size: 19px;
  color: var(--body);
  line-height: 1.55;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 0.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.stat-card .stat-number {
  font-size: 52px;
}

.stat-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bullet-list li {
  position: relative;
  padding-left: 14px;
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--body);
  line-height: 1.55;
}

.bullet-list li::before {
  content: "·";
  position: absolute;
  left: 2px;
  top: -2px;
  color: var(--label);
  font-size: 24px;
  line-height: 1;
}

/* Section 13 — Career Timeline */
.timeline-row {
  position: relative;
  display: flex;
  gap: 12px;
  margin-top: 32px;
  min-height: 320px;
}

.timeline-row::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  transform: translateY(-50%);
  pointer-events: none;
}

.timeline-card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.timeline-card-top,
.timeline-card-bottom {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.timeline-card-top {
  justify-content: flex-end;
  padding-bottom: 18px;
}

.timeline-card-bottom {
  justify-content: flex-start;
  padding-top: 18px;
}

.timeline-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--silver);
  flex-shrink: 0;
  z-index: 1;
}

.timeline-year {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--label);
  text-transform: uppercase;
}

.timeline-company {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
}

.timeline-role {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--body);
  line-height: 1.4;
}

.timeline-card .stat-number {
  font-size: 33px;
}

.timeline-card .stat-label {
  font-size: 12px;
  letter-spacing: 1.2px;
  line-height: 1.3;
}

/* Section 14 — Contact */
.section-contact .section-content {
  align-items: center;
  text-align: center;
  gap: 14px;
}

.contact-photo {
  width: 230px;
  height: 230px;
  object-fit: cover;
  display: block;
}

.contact-name {
  font-family: var(--font-display);
  font-size: 65px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-top: 24px;
}

.contact-title {
  font-family: var(--font-sans);
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--label);
}

.contact-rule {
  display: block;
  width: 40px;
  height: 4px;
  background: rgba(226, 232, 240, 0.45);
  margin: 6px 0;
}

.contact-info {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--body);
  line-height: 1.6;
}

.contact-info a {
  color: inherit;
  text-decoration: none;
}

.contact-info a:hover,
.contact-info a:focus {
  color: var(--silver);
}

.contact-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  width: 100%;
  max-width: 720px;
  align-self: center;
}

.contact-button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  background: var(--silver);
  color: var(--bg-dark);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  text-align: center;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.contact-button:hover,
.contact-button:focus-visible {
  background: var(--white);
  transform: translateY(-1px);
}

.contact-tagline {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--label);
  margin-top: 16px;
}

/* Dot navigation — fixed right-edge, one dot per section */
.dot-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 10;
}

.dot-nav a {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.dot-nav a.active {
  background: var(--white);
  border-color: var(--white);
}

.dot-nav a:focus-visible {
  outline: 2px solid var(--silver);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  html {
    scroll-snap-type: none;
  }

  .section-content {
    padding: 48px 24px;
    justify-content: flex-start;
  }

  .section-footer {
    padding: 14px 24px;
  }

  .section-title {
    font-size: 33px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  /* Hero */
  .hero-name {
    font-size: 54px;
  }

  .tagline {
    font-size: 26px;
  }

  .hero-photo {
    position: static;
    transform: none;
    width: 160px;
    height: 160px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .vertical-rule {
    display: none;
  }

  .stat-row {
    flex-wrap: wrap;
    gap: 20px 28px;
  }

  /* Approach */
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Section dividers */
  .section-divider .section-content {
    justify-content: center;
  }

  .section-divider .section-title {
    font-size: 76px;
  }

  /* Case studies */
  .case-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .case-grid::before {
    display: none;
  }

  .case-header {
    margin-bottom: 32px;
  }

  .stat-card-row {
    grid-template-columns: 1fr;
  }

  /* Timeline */
  .timeline-row {
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 16px;
  }

  .timeline-card {
    flex: 0 0 auto;
    min-width: 150px;
  }

  /* Contact */
  .section-contact .section-content {
    justify-content: center;
  }

  .contact-photo {
    width: 180px;
    height: 180px;
  }

  .contact-name {
    font-size: 49px;
  }

  .contact-actions {
    flex-direction: column;
    max-width: 320px;
  }

  /* Dot nav */
  .dot-nav {
    display: none;
  }
}
