:root {
  color-scheme: light;
  --bg: #f5f5f5;
  --surface: #ffffff;
  --surface-soft: #f6f5f5;
  --text: #1c1c1c;
  --muted: #5d585f;
  --accent: #4b3b66;
  --accent-soft: rgba(75, 59, 102, 0.14);
  --accent-muted: rgba(75, 59, 102, 0.35);
  --border: rgba(28, 28, 28, 0.08);
  --shadow: 0 32px 80px rgba(31, 24, 48, 0.08);
  --radius: 30px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, sans-serif;
  background: radial-gradient(circle at top left, rgba(108, 79, 66, 0.06), transparent 24%),
              radial-gradient(circle at bottom right, rgba(108, 79, 66, 0.05), transparent 20%),
              var(--bg);
  color: var(--text);
}

body, button, input, textarea {
  font-family: 'Inter', system-ui, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', Georgia, serif;
  color: var(--text);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  max-width: var(--max-width);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 32px;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: #534573;
  font-size: 0.90rem;
  font-weight: 300;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.6;
}

.mobile-toggle {
  display: none;
  border: none;
  background: transparent;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  margin: 4px 0;
}

.section {
  margin-top: 54px;
}

.hero {
  display: flex;
  flex-direction: column;
  min-height: 78vh;
  background: transparent;
  width: 100vw;
  margin-left:-280px;
  padding-top: 60px;
}

.hero::before {
  content: '';
  position: absolute;
  background: url('Assets/Background.png') no-repeat center center;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
  top: 0; 
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-caption {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color:#341C75;
  margin-bottom: 36px;
  margin-top: 50px
}

.eyebrow,
.section-tag,
.card-label,
.panel-label {
  display: inline-flex;
  background: #EDE6F7;
  color: var(--accent);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero h1,
.section-header h2,
.case-act h3,
.case-intro h3 {
  font-size: clamp(2.4rem, 2.8vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.hero-text,
.section-copy p,
.panel-card p,
.contact-panel p,
.about-body p,
.case-copy p,
.case-summary p,
.visual-card p,
.case-highlights span,
.status-table td,
.status-table th,
.tracker-card ul li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.56;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 18px;
  background: #EDE6F7;
  color: #534573;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-btn:hover {
  background: #534573;
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid rgba(83, 69, 115, 0.12);
}

.btn-secondary:hover {
  background: #534573 !important;
  color: #fff !important;
  border-color: #534573;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 20px 50px rgba(108, 79, 66, 0.18);
}

.btn.secondary {
  border: 1px solid rgba(31, 25, 19, 0.12);
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
}

.hero-panel {
  position: relative;
}

.panel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 38px;
  box-shadow: var(--shadow);
}

.panel-card h2 {
  font-size: clamp(1.8rem, 3.0vw, 2.5rem);
  margin: 0;
}

.panel-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.85rem;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 72px;
  align-items: start;

  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 0 120px;
}

/* Soft atmospheric full-bleed section for About */
.about-section {
  position: relative;

  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding: 120px 0;

  border: none;
  border-radius: 0;
  box-shadow: none;

  background: linear-gradient(
    to left,
    #EDE6F7 15%,
    #F4F1F8 50%,
    #fffefe 85%
  );
}

.about-copy-block {
  display: grid;
  gap: 32px;
}

.about-label {
  display: block;
  background: none;
  color: #341C75;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding: 0;
}

.about-copy-block .section-header h2 {
  font-size: clamp(1.7rem, 1.8vw, 2.4rem);
  line-height: 1.22;
}

.about-body {
  display: grid;
  gap: 12px;
  max-width: 620px;
}

.about-body p {
  margin: 0;
  max-width: 52ch;
  line-height: 1.52;
}

.about-visual {
  display: grid;
  align-items: start;
  position: static;
  margin-top: 4rem;
}

.about-image {
  align-self: start;
  margin-top: 104px;
}

.about-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  display: block;
}

.about-emphasis {
  color: #534573;
  font-weight: 600;
}

.about-portrait {
  width: 100%;
  max-width: 275px;
  min-height: 275px;
  overflow: hidden;
  border-radius: 20px;
  background: transparent;
  box-shadow: none;
  border: 1px solid rgba(28,28,28,0.04);
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Featured quote styling to read like an editorial callout */
.featured-quote {
  margin: 6px 0 22px;
  padding: 18px 20px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
}
.featured-quote p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--text);
  font-style: italic;
}

/* Transitional/reflection paragraph styling */
.lead-reflection {
  margin-top: 8px;
  font-weight: 600;
  color: var(--text);
}


.photo-frame span {
  display: block;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.photo-frame figcaption {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: center;
  max-width: 36ch;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.about-card h3 {
  margin: 0 0 14px;
}

.section-header {
  display: grid;
  gap: 18px;
}

.case-intro {
  margin-top: 32px;
  max-width: 760px;
}

.case-intro h3 {
  font-size: clamp(2rem, 1vw, 2.8rem);
}

.case-act {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 34px;
  align-items: start;
  margin-top: 56px;
}

.case-copy {
  display: grid;
  gap: 24px;
}

.case-chip {
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.case-highlights {
  display: grid;
  gap: 16px;
}

.case-highlights div {
  background: #ede6f7;
  border-radius: 24px;
  padding: 20px 22px;
  border: 1px solid var(--border);
}

.case-highlights strong {
  display: block;
  margin-bottom: 8px;
}

.case-visual {
  display: grid;
  gap: 22px;
}

visual-card,
visual-panel,
tracker-card,
status-table-wrap,
contact-panel,
panel-card,
about-card,
work-card,
profile-card,
stat-card {
  background: var(--surface);
}

/* Contact icons (LinkedIn, Email) styled as violet accent icons */
.contact-links {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  align-items: center;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.12s ease;
  color: var(--muted);
}

.contact-links a:hover { transform: translateY(-2px); }

.contact-links .icon { width: 18px; height: 18px; display: block; }
.contact-links .icon path { fill: currentColor; }

.contact-links a.linkedin,
.contact-links a.mail { color: var(--accent); }
.contact-links a.linkedin:hover,
.contact-links a.mail:hover { background: rgba(75,59,102,0.06); }

.visual-card,
.visual-panel,
.tracker-card,
.status-table-wrap {
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.visual-card h4 {
  margin: 0 0 14px;
}

.visual-label {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.visual-panel {
  display: grid;
  gap: 16px;
}

.timeline ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.timeline li {
  display: grid;
  gap: 8px;
}

.timeline li strong {
  display: block;
  color: var(--text);
}

.map {
  display: grid;
  gap: 22px;
}

.map-graphic {
  position: relative;
  min-height: 210px;
  padding: 20px;
}

.map-graphic svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--accent-muted);
}

.map-node {
  display: inline-flex;
  background: rgba(108, 79, 66, 0.08);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 999px;
  position: relative;
  z-index: 1;
  font-size: 0.92rem;
}

.map-node:nth-child(1) {
  position: absolute;
  left: 18px;
  bottom: 20px;
}

.map-node:nth-child(2) {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
}

.map-node:nth-child(3) {
  position: absolute;
  right: 18px;
  bottom: 22px;
}

.tracker-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.tracker-card li {
  display: grid;
  gap: 8px;
}

.tracker-card li strong {
  display: block;
  color: var(--text);
}

.status-table-wrap {
  overflow-x: auto;
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 100%;
}

.case-study-detail {
  padding: 72px 0;
}

.case-study-detail .section-header {
  gap: 16px;
}

.case-study-detail .case-study-intro {
  max-width: 760px;
  margin-top: 22px;
}

.case-study-detail .case-study-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 40px 0 0;
}

.case-study-stat {
  display: grid;
  gap: 12px;
  padding: 32px 24px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.stat-number {
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1;
  font-weight: 800;
  color: var(--accent);
}

.case-study-stat span:last-child {
  color: var(--muted);
  text-transform: capitalize;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.case-study-copy {
  max-width: 780px;
  margin-top: 32px;
  display: grid;
  gap: 18px;
}

.case-study-copy p {
  margin: 0;
}

.challenge-grid {
  display: grid;
  gap: 32px;
  margin-top: 42px;
}

.challenge-summary {
  display: grid;
  gap: 18px;
  max-width: 780px;
}

.section-subheading {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.challenge-list {
  display: grid;
  gap: 18px;
}

.challenge-item {
  padding: 26px;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.challenge-item h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text);
}

.challenge-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.micro-cta {
  margin-top: 4px;
  font-weight: 700;
  color: var(--accent);
}

.reflection-block {
  border-radius: 28px;
  padding: 30px;
  background: var(--accent-soft);
  border: 1px solid rgba(75, 59, 102, 0.12);
}

.reflection-block h4 {
  margin: 0 0 16px;
  font-size: 1.1rem;
}

.reflection-block p {
  margin: 0;
  color: var(--text);
  line-height: 1.75;
}

@media (max-width: 975px) {
  .case-study-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .case-study-stats {
    grid-template-columns: 1fr;
  }
}

.status-table th,
.status-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.status-table th {
  color: var(--accent);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-table tbody tr:last-child td {
  border-bottom: none;
}

.case-summary {
  margin-top: 42px;
  max-width: 720px;
}

.case-summary p {
  font-size: 1.1rem;
  line-height: 1.9;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 975px) {
  .hero {
    min-height: auto;
    padding: 80px 0;
    width: 100%;
    margin-left: 0;
  }

  .about-layout,
  .about-grid,
  .case-act,
  .visual-grid,
  .work-grid,
  .skills .skill-grid {
    grid-template-columns: 1fr;
  }

  .about-layout {
    padding: 0 32px;
  }

  .about-visual {
    position: static;
    margin-top: 0;
  }
  .about {
    padding: 28px;
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(75,59,102,0.03) 0%, rgba(250,249,248,0.6) 50%, rgba(75,59,102,0.02) 100%);
  }

  .about-portrait {
    max-width: 100%;
    min-height: 220px;
    border-radius: 16px;
    border: none;
  }
}

/* Case chapter — single-column editorial layout */
.case-chapter {
  padding: 72px 0;
}
.case-chapter .chapter-inner {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: left;
  margin-top:-20px;
}
.case-chapter .section-tag {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.case-chapter .chapter-title {
  font-size: clamp(1.65rem, 2.65vw, 2.15rem);
  margin: 6px 0 40px;
  line-height: 1.12;
}

/* Soft gradient transition before Act 2 */
#case-chapter-2 {
  position: relative;
}

#case-chapter-2::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 200px;
  background: linear-gradient(180deg, rgba(237, 230, 247, 0.30) 0%, rgba(247, 246, 245, 0.12) 60%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

#case-chapter-2 .chapter-inner {
  position: relative;
  z-index: 1;
}

.act-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #341C75;
  margin-bottom: 20px;
}
.case-chapter .chapter-intro .lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.5;
}
.chapter-quote {
  font-style: italic;
  margin: 12px 0 18px;
  color: var(--text);
  font-size: 1.1rem;
}
.section-sep { border: none; height: 1px; margin: 36px 0; }
.chapter-block { margin: 56px 0; }
.chapter-block .chapter-subtitle {
  margin: 0 0 22px;
  font-size: 1.5rem;
  color: #4b3b66;
}
.chapter-block p { color: var(--muted); line-height: 1.6; margin: 0 0 16px; }
.chapter-emphasis { color: #62488d; font-style: italic; margin-bottom: 16px; }

.highlight-ancestor {
  color: #534573;
  font-weight: 600;
}

.chapter-reveal {
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #341C75;
  text-align: center;
  margin: 0;
  line-height: 1.6;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.transition-block {
  margin: 44px 0 95px;
  display: grid;
  gap: 36px;
}

.research-strip {
  background: #ffffff;
  border-top: 1px solid rgba(83, 69, 115, 0.12);
  border-bottom: 1px solid rgba(83, 69, 115, 0.12);
  padding: 14px 8px;
  margin-top: 28px;
}

.research-strip-inner {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #534573;
  font-weight: 500;
  text-align: center;
  line-height: 1.7;
  white-space: nowrap;
  overflow-x: auto;
}

.clue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  margin: 28px 0 30px;
}

.clue-text p {
  font-size: 1rem;
  color: #5d585f;
  line-height: 1.6;
  margin: 0;
}

.clue-card .challenge-card {
  margin: 0;
}

.clue-reveal {
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #341C75;
  text-align: center;
  margin: 0 44px 0;
  line-height: 1.6;
  margin-top: 60px;
  margin-bottom: 60px;
}

.clue-highlight {
  color: #534573;
  font-weight: 600;
}

.chapter-image {
  display: flex;
  justify-content: center;
  margin: 48px 0 150px;
  width: 100%;
  margin-bottom: 150px;
}

.chapter-image img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
}

/* Story Cards */
.story-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 44px 0 56px;
}

.story-card {
  background: #EDE6F7;
  border: 1px solid rgba(83, 69, 115, 0.12);
  border-radius: 18px;
  padding: 28px 24px 22px;
  text-align: center;
  flex: 1;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 140px;
}

.story-card-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #534573;
  font-weight: 700;
  margin-bottom: 14px;
}

.story-card-text {
  font-size: 0.95rem;
  color: #1c1c1c;
  font-weight: 500;
  line-height: 1.4;
}

.story-arrow {
  font-size: 1.5rem;
  color: #1c1c1c;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .story-cards {
    flex-direction: column;
    gap: 12px;
  }
  .story-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 720px) {
  .clue-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.image-placeholder {
  width: 60%;
  min-height: 340px;
  background: linear-gradient(180deg, rgba(28,28,28,0.04), rgba(28,28,28,0.02));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  margin: 26px 0 36px;
}
.image-placeholder img {
  width: 60%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.image-placeholder .placeholder-label { font-weight: 600; }

@media (max-width: 720px) {
  .case-chapter .chapter-inner { padding: 0 16px; }
  .image-placeholder { min-height: 220px; }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 24px 20px 36px;
  }

  .topbar {
    padding: 18px 0;
  }

  .nav-links {
    position: fixed;
    inset: 0 auto auto 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: rgba(249, 245, 239, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 24px;
    display: flex;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .mobile-toggle {
    display: flex;
  }

  .hero h1,
  .section-header h2,
  .case-intro h3 {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }
}

/* Mobile: research strip editorial crop */
@media (max-width: 720px) {
  body {
    overflow-x: hidden;
  }

  .chapter-reveal {
    text-align: center;
  }

  .research-strip {
    width: 150vw;
    margin-left: -30vw;
  }
}

/* Stats Block Styling */
.stats-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 28px;
  margin: 48px 0 64px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item {
  display: grid;
  gap: 16px;
  text-align: center;
}

.stat-number {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  color: #341C75;
  display: block;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}

.stats-footnote {
  text-align: center;
  font-size: 0.82rem;
  color: #534573;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin: -36px 0 0;
  opacity: 0.55;
}

/* Tracking Table Styling */
.tracking-table-wrapper {
  margin-top: 42px;
}

.tracking-layout {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  gap: 44px;
  align-items: start;
  margin-top: 24px;
  margin-bottom: 120px;
}

.tracking-copy-panel {
  display: grid;
  gap: 18px;
  max-width: 100%;
}

.tracking-copy-panel p {
  margin: 0 0 18px;
}

.tracker-card {
  background: #F7F3FC;
  border: 1px solid #E6E1DA;
  border-radius: 28px;
  padding: 28px;
  box-shadow: none;
}

.process-overview {
  display: grid;
  gap: 44px;
  margin: 34px 0 48px;
  width: 100%;
}

.process-card-label {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #534573;
  font-weight: 700;
  margin-top: 20px;
}

.process-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 18px;
  background: #EDE6F7;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  margin-top: 10px;
  margin-bottom: 90px;
}

.process-bar::before {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  top: 50%;
  height: 1px;
  background: rgba(83, 69, 115, 0.15);
  transform: translateY(-50%);
}

.process-pill {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  color: #534573;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(237, 230, 247, 0.9);
}

.tracker-card-title {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #534573;
  font-weight: 700;
  margin-bottom: 18px;
}

.tracking-table-container.compact {
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(83, 69, 115, 0.12);
}

.compact-tracker {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: transparent;
}

.compact-tracker th,
.compact-tracker td {
  padding: 12px 14px;
  font-size: 0.92rem;
  color: #534573;
}

.compact-tracker th {
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  vertical-align: bottom;
  border-bottom: 1px solid rgba(83, 69, 115, 0.15);
}

.compact-tracker td {
  color: #4F4A53;
  border-bottom: 1px solid rgba(83, 69, 115, 0.1);
}

.compact-tracker tr:last-child td {
  border-bottom: none;
}

.compact-tracker th:first-child,
.compact-tracker td:first-child {
  width: 14%;
  padding-left: 22px;
}

.compact-tracker th:nth-child(2),
.compact-tracker td:nth-child(2) {
  width: 56%;
  padding-left: 32px;
}

.compact-tracker th:last-child,
.compact-tracker td:last-child {
  width: 30%;
}

.person-tag-cell {
  padding-left: 22px;
}

.doc-type {
  padding-left: 32px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #EDE6F7;
  color: #534573;
  font-size: 0.8rem;
  font-weight: 600;
}

@media (max-width: 980px) {
  .tracking-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Challenge Cards */
.act1-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  margin: 32px 0 40px;
}

.act1-text .lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.6;
}

.act1-card .challenge-card {
  margin: 0;
  padding: 30px 24px 32px;
  gap: 12px;
}

@media (max-width: 720px) {
  .act1-intro-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.challenge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 42px 0 120px;
}

.challenge-card {
  background: #ffffff;
  border: 1px solid rgba(83, 69, 115, 0.12);
  border-radius: 18px;
  padding: 24px 24px 26px;
  display: grid;
  gap: 8px;
  box-shadow: -6px 0 16px rgba(83, 69, 115, 0.04);
}

.challenge-category {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color:#341C75;
  font-weight: 300;
}

.challenge-title {
  font-size: 0.92rem;
  font-weight: 300;
  color: #5d585f;
  line-height: 1.5;
}

.challenge-arrow-wrap {
  display: flex;
  justify-content: center;
  margin: 2px 0;
}

.challenge-arrow {
  color: #4b3b66;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
}

.challenge-solution {
  font-size: 0.95rem;
  color: #1c1c1c;
  font-weight: 600;
  line-height: 1.5;
}

.chapter-intro-text {
  font-size: 1rem;
  font-weight: 500;
  color: #534573;
  margin: 0 0 16px;
  margin-top: 10px;
}

.chapter-block-last {
  margin-bottom: 0 !important;
}

.closing-block {
  margin: 64px 20px 48px !important;
}

.closing-emphasis {
  color: #534573;
  font-weight: 600;
}

@media (max-width: 720px) {
  .challenge-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.tracking-table-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #534573;
  margin-bottom: 24px;
}

.tracking-table-container {
  border-radius: 12px;
  overflow: hidden;
  background: #F1F1F1;
  border: 1px solid #E6E1DA;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.tracking-table {
  width: 100%;
  border-collapse: collapse;
  background: #F1F1F1;
  table-layout: auto;
}

.tracking-table thead tr {
  background: transparent;
}

.tracking-table th {
  color: #534573;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 12px 14px;
  text-align: left;
  letter-spacing: 0.04em;
  text-transform: none;
  border-bottom: 1px solid rgba(237, 230, 247, 0.7);
}

.tracking-table th:first-child {
  width: 48px;
}

.tracking-table th:last-child {
  width: 104px;
}

.tracking-table td {
  padding: 12px 14px;
  color: #4F4A53;
  font-size: 0.9rem;
  line-height: 1.4;
}

.tracking-table th:last-child,
.tracking-table td:last-child {
  padding-right: 32px;
}

.tracking-table tbody tr {
  border-bottom: 1px solid rgba(230, 225, 218, 0.35);
  transition: background 0.25s ease;
}

.tracking-table tbody tr:last-child {
  border-bottom: none;
}

.tracking-table tbody tr:hover {
  background: rgba(237, 230, 247, 0.06);
}

.tracking-table .person-tag-cell {
  width: 40px;
  padding-left: 10px;
}

.person-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  min-height: 20px;
  border-radius: 6px;
  background: #EDE6F7;
  color: #534573;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 6px;
}

.tracking-table .doc-type {
  font-weight: 500;
  color: #1c1c1c;
}

.tracking-table .progress-cell {
  text-align: center;
  font-weight: 400;
}

.checkmark {
  color: #534573;
  font-weight: 700;
  font-size: 1rem;
}

.not-applicable {
  color: #A9A299;
  font-weight: 400;
  font-size: 1rem;
}

.pending {
  color: #534573;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
}

.delay {
  color: #534573;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1;
}

.status-text {
  color: #534573;
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
}

.tracking-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 32px;
  margin-top: 0;
  padding: 24px 12px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(230, 225, 218, 0.6);
  background: #F1F1F1;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4F4A53;
  font-size: 0.9rem;
}

.legend-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  min-width: 18px;
  color: #534573;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Responsive: Tablet */
@media (max-width: 975px) {
  .tracking-table th,
  .tracking-table td {
    padding: 12px 10px;
    font-size: 0.9rem;
  }

  .tracking-table th {
    font-size: 0.8rem;
  }

  .person-group-label {
    font-size: 0.9rem;
    padding: 14px 10px !important;
  }
}

/* Responsive: Mobile */
@media (max-width: 680px) {
  .tracking-table-container {
    border-radius: 10px;
    overflow-x: auto;
  }

  .tracking-table {
    min-width: 100%;
    font-size: 0.85rem;
  }

  .tracking-table th,
  .tracking-table td {
    padding: 10px 8px;
    font-size: 0.85rem;
  }

  .tracking-table th {
    font-size: 0.75rem;
  }

  .person-group-label {
    font-size: 0.85rem;
    padding: 12px 8px !important;
  }

  .tracking-legend {
    gap: 16px 20px;
    font-size: 0.85rem;
    padding: 16px 8px;
  }

  .legend-item {
    font-size: 0.85rem;
  }
}

/* Responsive: Tablet (2 columns for stats) */
@media (max-width: 975px) {
  .stats-block {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
    padding: 36px 0;
  }
}

/* Responsive: Mobile (1 column for stats, stacked stages) */
@media (max-width: 680px) {
  .stats-block {
    grid-template-columns: 1fr;
    gap: 32px 0;
    padding: 28px 0;
    margin: 36px 0 48px;
  }
}

/* Closing / Contact Section */
.closing-section {
  padding: 100px 0 120px;
  background: linear-gradient(180deg, transparent 0%, #F7F6F5 30%, #F4F1F8 70%, #EDE6F7 100%);
  text-align: center;
  border-radius: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.closing-inner {
  max-width: 600px;
  margin: 0 auto;
}

.closing-thanks {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.65rem, 3.3vw, 2.3rem);
  font-weight: 700;
  color: #1c1c1c;
  margin: 0 0 18px;
  line-height: 1.15;
}

.closing-warm {
  font-size: 1.15rem;
  color: #534573;
  font-weight: 500;
  margin: 0 0 12px;
  line-height: 1.5;
}

.closing-cta {
  font-size: 0.95rem;
  color: #5d585f;
  margin: 0 0 40px;
  line-height: 1.5;
}

.closing-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.closing-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #EDE6F7;
  color: #534573;
  transition: transform 0.2s ease, background 0.2s ease;
}

.closing-icon-link:hover {
  transform: translateY(-3px);
  background: #e0d6ef;
}

.closing-icon {
  width: 22px;
  height: 22px;
}
