/* stnkcl Design System — Landing Page Styles */

/* ────────────────────────────────────────────────
   Theme Tokens
──────────────────────────────────────────────── */

:root[data-theme="light"] {
  --bg: #FAFAF8;
  --surface: #EEF6F6;
  --surface-warm: #F1FAF0;
  --text-primary: #1A1A18;
  --text-secondary: rgba(26, 26, 24, 0.68);
  --text-muted: rgba(26, 26, 24, 0.32);
  --accent: #3D8B8B;
  --accent-personality: #3D8B8B;
  --divider: rgba(26, 26, 24, 0.09);
  --btn-primary-bg: #3D8B8B;
  --btn-primary-text: #FAFAF8;
  --btn-secondary-border: rgba(26, 26, 24, 0.25);
  --nav-cta-bg: #1A1A18;
  --nav-cta-text: #FAFAF8;
  --footer-bg: #1A1A18;
  --footer-text: #E8F2F2;
}

:root[data-theme="dark"] {
  --bg: #0E1E1E;
  --surface: #122424;
  --surface-warm: #1A2E1F;
  --text-primary: #E8F2F2;
  --text-secondary: rgba(232, 242, 242, 0.52);
  --text-muted: rgba(232, 242, 242, 0.28);
  --accent: #3D8B8B;
  --accent-personality: #E8C84A;
  --divider: rgba(232, 242, 242, 0.075);
  --btn-primary-bg: #E8C84A;
  --btn-primary-text: #0E1E1E;
  --btn-secondary-border: rgba(232, 242, 242, 0.20);
  --nav-cta-bg: #3D8B8B;
  --nav-cta-text: #0E1E1E;
  --footer-bg: #1A1A18;
  --footer-text: #E8F2F2;
}

/* ────────────────────────────────────────────────
   Base
──────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-primary);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ────────────────────────────────────────────────
   Typography
──────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.03em;
}

em {
  font-style: italic;
}

strong {
  font-weight: 500;
}

/* ────────────────────────────────────────────────
   Layout
──────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}

.divider {
  border: 0;
  height: 0.5px;
  background-color: var(--divider);
  margin: 0;
}

/* ────────────────────────────────────────────────
   Header / Navigation
──────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-legal {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.brand-display {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.1;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-primary);
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  opacity: 1;
}

.nav-cta {
  padding: 8px 16px;
  background-color: var(--nav-cta-bg);
  color: var(--nav-cta-text);
  border-radius: 2px;
  opacity: 1;
}

.nav-cta:hover {
  opacity: 0.85;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: 0.5px solid var(--divider);
  border-radius: 2px;
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.theme-icon {
  display: none;
}

:root[data-theme="light"] .theme-icon-light,
:root[data-theme="dark"] .theme-icon-dark {
  display: block;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0 8px;
  background: transparent;
  border: 0.5px solid var(--divider);
  border-radius: 2px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 0.5px;
  background-color: var(--text-primary);
  width: 100%;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 16px 24px 24px;
  border-top: 0.5px solid var(--divider);
  margin-top: 16px;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav .nav-link {
  font-size: 14px;
  opacity: 0.7;
}

.mobile-nav .nav-link:hover {
  opacity: 1;
}

/* ────────────────────────────────────────────────
   Hero
──────────────────────────────────────────────── */

.hero {
  padding-top: 48px;
  padding-bottom: 32px;
}

.hero-container {
  max-width: 860px;
}

.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 28px 0;
}

.hero-headline {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  margin: 0 0 20px 0;
}

.hero-headline em {
  color: var(--accent-personality);
}

.hero-subline {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.15;
  color: var(--text-muted);
  margin: 0 0 32px 0;
}

.hero-positioning {
  max-width: 620px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-secondary);
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  margin: 0 0 32px 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 23px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: lowercase;
  border-radius: 2px;
  transition: opacity 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn-primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 0.5px solid var(--btn-secondary-border);
}

.btn-secondary:hover {
  border-color: var(--accent);
}

/* ────────────────────────────────────────────────
   Companies Strip
──────────────────────────────────────────────── */

.companies-strip {
  padding: 18px 0;
}

.companies-link {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 12px;
  transition: color 0.2s ease;
}

.companies-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.companies-names {
  text-align: center;
}

.companies-chevron {
  flex-shrink: 0;
}

.companies-link:hover .companies-label,
.companies-link:hover .companies-names,
.companies-link:hover .companies-chevron,
.companies-link:hover .companies-names .dot {
  color: var(--accent);
}

.companies-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.companies-separator {
  width: 0.5px;
  height: 16px;
  background-color: var(--divider);
  flex-shrink: 0;
}

.companies-names {
  font-family: 'Fraunces', serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.companies-names .dot {
  margin: 0 6px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.companies-chevron {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

/* Dark mode hero: increase contrast so muted text remains legible */
:root[data-theme="dark"] .hero-subline {
  color: var(--text-secondary);
}

:root[data-theme="dark"] .hero-positioning {
  color: rgba(232, 242, 242, 0.72);
}

/* ────────────────────────────────────────────────
   Selected Work
──────────────────────────────────────────────── */

.selected-work {
  background-color: var(--surface);
  padding: 48px 0 64px;
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 28px 0;
}

.case-study-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--divider);
  border: 1px solid var(--divider);
}

.case-study-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background-color: var(--surface);
  min-height: 180px;
  transition: background-color 0.2s ease;
}

.case-study-card:hover {
  background-color: var(--bg);
}

.case-study-card:hover .case-study-title {
  color: var(--accent);
}

.case-study-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.case-study-card .case-study-title {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-secondary);
  margin: 0;
  transition: color 0.2s ease;
}

.case-study-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-family: 'Fraunces', serif;
  font-size: 16px;
  color: var(--accent-personality);
}

/* ────────────────────────────────────────────────
   Testimonial
──────────────────────────────────────────────── */

.testimonial {
  padding: 48px 0 64px;
}

.testimonial-container {
  max-width: 720px;
}

.testimonial-slider {
  position: relative;
  min-height: 180px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  margin: 0;
}

.testimonial-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.testimonial-quote-text {
  position: relative;
  display: block;
  font-family: 'Fraunces', serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.48;
  color: var(--text-secondary);
  margin: 0 0 24px 0;
  padding-left: 28px;
}

.quote-mark {
  position: absolute;
  left: 0;
  top: -0.1em;
  font-family: 'Fraunces', serif;
  font-size: 1.8em;
  font-style: normal;
  color: var(--accent);
  line-height: 1;
}

.testimonial-attribution {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 28px;
}

.attribution-avatar {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--accent);
  background-color: var(--surface);
  border: 0.5px solid var(--accent);
  border-radius: 50%;
}

.attribution-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 0;
}

.attribution-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: var(--text-muted);
  margin: 2px 0 0 0;
}

.testimonial-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  padding-left: 28px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  background-color: transparent;
  border: 0.5px solid var(--accent);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.testimonial-dot.is-active {
  background-color: var(--accent);
}

.testimonial-dot:hover {
  background-color: var(--accent);
}

/* ────────────────────────────────────────────────
   Footer
──────────────────────────────────────────────── */

.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 32px 0 40px;
}

.footer-container {
  max-width: 920px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.footer-quote {
  font-family: 'Fraunces', serif;
  font-size: 12px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: rgba(232, 242, 242, 0.45);
  margin: 0;
  max-width: 480px;
}

.footer-quote em {
  color: var(--accent);
  font-style: italic;
}

.footer-handle {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--accent);
  margin: 0;
}

.footer-copyright {
  color: rgba(232, 242, 242, 0.35);
  margin-left: 4px;
}

.footer-divider {
  background-color: rgba(232, 242, 242, 0.08);
  margin-bottom: 16px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: rgba(232, 242, 242, 0.22);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: rgba(232, 242, 242, 0.55);
}

/* ────────────────────────────────────────────────
   Responsive
──────────────────────────────────────────────── */

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .hero {
    padding-top: 64px;
  }

  .case-study-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top {
    flex-direction: row;
    align-items: flex-end;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  .hero {
    padding-top: 80px;
  }
}

@media (max-width: 767px) {
  .hero-headline {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .hero-subline {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .companies-link {
    gap: 8px;
  }

  .companies-names {
    font-size: 12px;
  }

  .companies-names .dot {
    margin: 0 4px;
  }

  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ────────────────────────────────────────────────
   Case Study Page
──────────────────────────────────────────────── */

.back-link {
  display: block;
  padding-top: 24px;
  padding-bottom: 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--accent);
}

.case-study-hero {
  padding-bottom: 40px;
}

.case-study-hero-container {
  max-width: 860px;
}

.case-study-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px 0;
}

.case-study-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text-primary);
  margin: 0 0 20px 0;
}

.case-study-title em {
  color: var(--accent-personality);
}

.case-study-context {
  position: relative;
  max-width: 620px;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  color: var(--text-secondary);
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  white-space: pre-line;
}

/* ────────────────────────────────────────────────
   Case Study Layout
──────────────────────────────────────────────── */

.case-study-body,
.case-study-body-continued {
  padding-top: 48px;
}

.case-study-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.case-study-sidebar {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.sidebar-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 8px 0;
}

.sidebar-link {
  display: block;
  padding: 4px 0 4px 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-primary);
  opacity: 0.4;
  border-left: 2px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.sidebar-link:hover {
  opacity: 1;
}

.sidebar-link.is-active {
  opacity: 1;
  border-left-color: var(--accent);
}

.case-study-content {
  max-width: 620px;
}

.section-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px 0;
}

.case-study-paragraph {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0 0 24px 0;
}

.case-study-paragraph strong {
  font-weight: 500;
  color: var(--text-primary);
}

.case-study-list {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0 0 24px 0;
  padding-left: 18px;
  list-style-type: disc;
}

.case-study-list li {
  margin-bottom: 8px;
}

.case-study-list li::marker {
  color: var(--accent);
}

.case-study-list strong {
  font-weight: 500;
  color: var(--text-primary);
}

/* ────────────────────────────────────────────────
   Image Slots
──────────────────────────────────────────────── */

.image-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 150px;
  margin: 24px 0 32px 0;
  background-color: rgba(61, 139, 139, 0.03);
  border: 1px dashed rgba(61, 139, 139, 0.35);
}

.image-slot-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.6;
}

.image-slot:has(img) {
  background: transparent;
  border: none;
  min-height: auto;
}

.image-slot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* ────────────────────────────────────────────────
   Metrics Strip
──────────────────────────────────────────────── */

.metrics-strip {
  background-color: var(--surface);
  padding: 48px 0;
}

.metrics-container {
  max-width: 860px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 24px;
}

.metric {
  text-align: left;
}

.metric-number {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.05;
  color: var(--accent);
  margin: 0 0 6px 0;
}

.metric-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.metric-sublabel {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: var(--text-muted);
  margin: 0;
}

.metrics-anchor {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  color: var(--text-secondary);
  margin: 0;
}

/* ────────────────────────────────────────────────
   Two Column & Hindsight
──────────────────────────────────────────────── */

.two-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: 32px 0;
}

.hindsight-block {
  margin: 32px 0;
  padding: 20px 24px;
  background-color: var(--surface-warm);
  border: 0.5px solid rgba(61, 139, 139, 0.2);
  border-left: 2px solid var(--accent);
}

.hindsight-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px 0;
}

.hindsight-block .case-study-paragraph {
  color: var(--text-secondary);
  margin: 0;
}

.hindsight-block .case-study-paragraph strong {
  color: var(--accent);
}

/* ────────────────────────────────────────────────
   Next Case Study Nav
──────────────────────────────────────────────── */

.next-case-study {
  padding: 32px 0 64px;
}

.next-case-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 24px;
  border-top: 0.5px solid var(--divider);
  transition: color 0.2s ease;
}

.next-case-link:hover {
  color: var(--accent);
}

.next-case-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.next-case-title {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-primary);
}

.next-case-arrow {
  color: var(--accent-personality);
}

/* ────────────────────────────────────────────────
   Case Study Responsive
──────────────────────────────────────────────── */

@media (min-width: 768px) {
  .case-study-layout {
    flex-direction: row;
    gap: 48px;
  }

  .case-study-sidebar {
    display: flex;
    width: 180px;
    flex-shrink: 0;
    position: sticky;
    top: 72px;
    align-self: flex-start;
    border-right: 0.5px solid var(--divider);
    padding-right: 24px;
  }

  .case-study-sidebar-empty {
    border-right: 0;
  }

  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .two-column {
    grid-template-columns: 1fr 1fr;
  }
}

/* ────────────────────────────────────────────────
   Career Highlights (About page)
──────────────────────────────────────────────── */

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--divider);
  border: 1px solid var(--divider);
}

.highlight-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background-color: var(--surface);
  transition: background-color 0.2s ease;
}

a.highlight-card:hover {
  background-color: var(--bg);
}

a.highlight-card:hover .highlight-title {
  color: var(--accent);
}

.highlight-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.highlight-title {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
  transition: color 0.2s ease;
}

.highlight-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0;
}

.highlight-outcome {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.highlight-metric {
  margin: auto 0 0 0;
  padding-top: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.highlight-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: 'Fraunces', serif;
  font-size: 16px;
  color: var(--accent-personality);
}

@media (min-width: 768px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ────────────────────────────────────────────────
   About Page
──────────────────────────────────────────────── */

.about-hero {
  padding-top: 48px;
  padding-bottom: 32px;
}

.about-container {
  max-width: 860px;
}

.about-name {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 8px 0;
}

.about-nickname {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0 0 32px 0;
}

.about-subtitle {
  max-width: 620px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-secondary);
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  margin: 0 0 24px 0;
}

.about-paragraph {
  max-width: 620px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
  white-space: pre-line;
}

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

.about-section .section-label {
  margin-bottom: 24px;
}

:root[data-theme="dark"] .section-label,
:root[data-theme="dark"] .section-heading,
:root[data-theme="dark"] .tools-category-name {
  color: var(--accent-personality);
}

:root[data-theme="dark"] .timeline-period {
  color: var(--text-primary);
}

/* Career Timeline */

.career-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  border-top: 0.5px solid var(--divider);
}

.timeline-item:last-child {
  border-bottom: 0.5px solid var(--divider);
}

.timeline-header {
  display: grid;
  grid-template-columns: 110px 1fr 24px;
  align-items: start;
  gap: 24px;
  width: 100%;
  padding: 20px 0;
  background: transparent;
  border: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.timeline-header:hover {
  color: var(--accent);
}

.timeline-header:hover .timeline-chevron {
  color: var(--accent);
}

.timeline-period {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  padding-top: 2px;
}

.timeline-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.timeline-position {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
}

.timeline-company {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
}

.timeline-description {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 4px;
}

.timeline-chevron {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  color: var(--text-muted);
  transform: rotate(90deg);
  transition: transform 0.2s ease, color 0.2s ease;
}

.timeline-item.is-open > .timeline-header .timeline-chevron {
  transform: rotate(-90deg);
}

.timeline-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.timeline-item.is-open > .timeline-panel {
  grid-template-rows: 1fr;
}

.timeline-panel[hidden] {
  display: none;
}

.timeline-panel-inner {
  overflow: hidden;
  padding-left: 134px;
  padding-bottom: 24px;
}

.timeline-detail-group {
  margin-bottom: 20px;
}

.timeline-group-items {
  padding-left: 24px;
  margin-left: 16px;
  border-left: 1px solid var(--divider);
}

.credentials-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.credentials-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 16px 0;
}

@media (min-width: 768px) {
  .credentials-row {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.timeline-detail-group:last-child {
  margin-bottom: 0;
}

.timeline-detail-group h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px 0;
}

.timeline-detail-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-detail-group li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
}

.timeline-detail-group li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.timeline-lesson {
  margin: 0;
  padding: 0 0 0 12px;
  border-left: 1px solid var(--accent);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
}

.timeline-lesson p {
  margin: 0;
}

/* Certifications */

.cert-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cert-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 14px;
  line-height: 1.5;
}

.cert-year {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--text-muted);
  min-width: 40px;
}

.cert-name {
  font-weight: 400;
  color: var(--text-primary);
}

.cert-institution {
  font-weight: 300;
  color: var(--text-secondary);
}

/* Education */

.education-degree {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.education-detail {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  margin: 0;
}

/* Tools & Skills */

.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.tools-category-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px 0;
}

.tools-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tools-list li {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-secondary);
  padding: 4px 10px;
  border: 0.5px solid var(--divider);
  border-radius: 2px;
}

@media (min-width: 768px) {
  .about-hero {
    padding-top: 64px;
  }

  .timeline-header {
    grid-template-columns: 130px 1fr 24px;
    gap: 32px;
  }

  .timeline-period {
    font-size: 12px;
  }

  .timeline-panel-inner {
    padding-left: 162px;
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-hero {
    padding-top: 80px;
  }

  .tools-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .about-name {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .about-nickname {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .timeline-header {
    grid-template-columns: 1fr 24px;
    gap: 8px;
  }

  .timeline-period {
    grid-column: 1 / -1;
    padding-top: 0;
    margin-bottom: 4px;
  }

  .timeline-summary {
    grid-column: 1 / 2;
  }

  .timeline-chevron {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .timeline-panel-inner {
    padding-left: 0;
  }
}

/* ────────────────────────────────────────────────
   About Contact Links
──────────────────────────────────────────────── */

.about-contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 24px;
}

.about-contact-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--accent);
  transition: opacity 0.2s ease;
}

.about-contact-link:hover {
  opacity: 0.75;
}

.about-contact-separator {
  font-size: 13px;
  color: var(--text-muted);
}

:root[data-theme="dark"] .about-contact-link {
  color: var(--accent-personality);
}

/* ────────────────────────────────────────────────
   Work With Me Page
──────────────────────────────────────────────── */

.work-with-me-hero {
  padding-top: 48px;
  padding-bottom: 24px;
}

.work-with-me-container {
  max-width: 860px;
}

.work-with-me-hero .hero-headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.work-with-me-hero .hero-positioning {
  margin-bottom: 0;
}

.work-with-me-contact {
  padding: 48px 0 64px;
  background-color: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--divider);
  border: 1px solid var(--divider);
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background-color: var(--surface);
  min-height: 180px;
  transition: background-color 0.2s ease;
}

.contact-card:hover {
  background-color: var(--bg);
}

.contact-card:hover .contact-card-label {
  color: var(--accent);
}

:root[data-theme="dark"] .contact-card:hover .contact-card-label {
  color: var(--accent-personality);
}

.contact-card-label {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
  transition: color 0.2s ease;
}

.contact-card-description {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 24px 0;
}

.contact-card-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-family: 'Fraunces', serif;
  font-size: 16px;
  color: var(--accent-personality);
}

@media (min-width: 768px) {
  .work-with-me-hero {
    padding-top: 64px;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .work-with-me-hero {
    padding-top: 80px;
  }
}

@media (max-width: 767px) {
  .work-with-me-hero .hero-headline {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
}

/* ────────────────────────────────────────────────
   Thinking Page
──────────────────────────────────────────────── */

.thinking-hero {
  padding-top: 48px;
  padding-bottom: 32px;
}

.thinking-container {
  max-width: 860px;
}

.thinking-posts {
  padding: 48px 0 64px;
  background-color: var(--surface);
}

.posts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--divider);
  border: 1px solid var(--divider);
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background-color: var(--surface);
  min-height: 180px;
  transition: background-color 0.2s ease;
}

.post-card:hover {
  background-color: var(--bg);
}

.post-card:hover .post-card-title {
  color: var(--accent);
}

:root[data-theme="dark"] .post-card:hover .post-card-title {
  color: var(--accent-personality);
}

.post-card-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.post-card-title {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
  transition: color 0.2s ease;
}

.post-card-excerpt {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 24px 0;
}

.post-card-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-family: 'Fraunces', serif;
  font-size: 16px;
  color: var(--accent-personality);
}

.pagination {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 20px 24px;
  background-color: var(--surface);
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.pagination-btn {
  background: none;
  border: none;
  padding: 8px 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--accent);
  cursor: pointer;
}

.pagination-btn:hover:not(:disabled) {
  color: var(--accent-personality);
}

.pagination-btn:disabled {
  color: var(--text-secondary);
  opacity: 0.4;
  cursor: default;
}

@media (min-width: 768px) {
  .thinking-hero {
    padding-top: 64px;
  }
}

@media (min-width: 1024px) {
  .thinking-hero {
    padding-top: 80px;
  }
}

@media (max-width: 767px) {
  .thinking-hero .hero-headline {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
}

/* Work With Me — how I work + engagement tiers (fractional positioning) */
.work-with-me-details {
  padding: 48px 0;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.detail-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px 0;
}

.detail-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
  max-width: 560px;
}

.work-with-me-tiers {
  padding: 48px 0 64px;
}

.availability-note {
  font-size: 13px;
  font-weight: 400;
  color: var(--accent-personality);
  margin: -16px 0 28px 0;
}

.tiers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--divider);
  border: 1px solid var(--divider);
}

.tier-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background-color: var(--surface);
}

.tier-format {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-personality);
  margin: 0;
  order: -1;
}

.tier-name {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0;
}

.tier-description {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

@media (min-width: 768px) {
  .details-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 48px;
  }
}

@media (min-width: 1024px) {
  .tiers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Selected work cards — company eyebrow at card bottom */
.case-study-card .case-study-company {
  margin-top: auto;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* Work index cards — company eyebrow at card bottom */
.post-card-company {
  margin: 0;
  margin-top: auto;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* Inline links in case study body copy */
.case-study-paragraph a,
.case-study-list a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}

.case-study-paragraph a:hover,
.case-study-list a:hover {
  color: var(--accent-personality);
}
