/* ============================================================
   Google Fonts — Inter + Anton (Outland fallback)
   ============================================================ */

/* ============================================================
   Design Tokens — AUTO-GENERATED from Pencil
   Run: npm run sync:pencil-theme  to regenerate from Pencil snapshot
   ============================================================ */
@import './pencil-theme.css';

/* ============================================================
   Full font stacks with fallbacks
   (Pencil tokens provide the primary name; these add safe fallbacks)
   ============================================================ */
:root {
  --font-stack-display: var(--font-display), Anton, Impact, sans-serif;
  --font-stack-body:    var(--font-body), system-ui, sans-serif;
  --font-stack-mono:    var(--font-captions), 'Courier New', monospace;
}

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

html { font-size: 16px; scroll-behavior: smooth; background-color: #000; }

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-stack-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ============================================================
   Accessibility Utilities
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Typography helpers
   ============================================================ */
.display {
  font-family: var(--font-stack-display);
  font-weight: 700;
  line-height: 1.0;
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-subtle);
}

.nav__left {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav__logo-wrap {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface-card);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav__brand {
  font-family: var(--font-stack-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--foreground-primary);
  white-space: nowrap;
}

.nav__center {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  color: var(--foreground-primary);
  transition: color 0.2s;
  font-family: var(--font-stack-body);
}

.nav__link:hover,
.nav__link.active {
  color: var(--accent-teal);
}

.nav__right { display: flex; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-stack-body);
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { opacity: 0.85; transform: translateY(-1px); }

.btn--teal {
  padding: 14px 28px;
  border-radius: 24px;
  background: var(--accent-teal);
  color: var(--bg);
  font-size: 15px;
  font-weight: 600;
}

.btn--ghost {
  padding: 14px 28px;
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--foreground-primary);
  font-size: 15px;
  font-weight: 500;
}

.btn--coral {
  padding: 14px 28px;
  border-radius: 24px;
  background: var(--accent-coral);
  color: var(--foreground-inverse);
  font-size: 15px;
  font-weight: 700;
}

.btn--outline-nav {
  padding: 10px 24px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.33);
  background: transparent;
  color: var(--foreground-primary);
  font-size: 14px;
  font-weight: 400;
}

.btn--download {
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  gap: 8px;
  align-self: flex-start;
}

/* Hamburger (mobile) */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--foreground-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav */
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 24px;
  padding: 24px 48px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg);
}
.nav__mobile.open { display: flex; }
.nav__mobile a { font-size: 16px; color: var(--foreground-primary); }

/* ============================================================
   Pill / Badge
   ============================================================ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 16px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-stack-body);
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-teal);
  flex-shrink: 0;
}

.pill--round { border-radius: 100px; }

/* ============================================================
   Hero — Home
   ============================================================ */
.hero {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 60px;
  padding: 80px;
  width: 100%;
  min-height: calc(100vh - 72px);
  position: relative;
  overflow-x: clip;
}

.hero__left {
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 10;
}

.hero__left .pill {
  align-self: flex-start;
}

.hero__heading-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__h1 {
  font-family: var(--font-stack-display);
  font-size: 120px;
  font-weight: 700;
  text-shadow: 0 0 12px #000, 0 0 24px #000, 0 0 40px #000;
  color: var(--text-primary);
  line-height: 1.0;
}

.hero__h1--gradient {
  font-family: var(--font-stack-display);
  font-size: 120px;
  font-weight: 700;
  line-height: 1.0;
  padding-bottom: 0.15em;
  background: linear-gradient(90deg, #2DD9A8 0%, #8B50E8 50%, #7B2FD6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px #000) drop-shadow(0 0 22px #000) drop-shadow(0 0 38px #000);
}

.hero__subheading {
  font-size: 28px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  text-shadow: 0 0 12px #000, 0 0 24px #000, 0 0 40px #000;
}

.hero__subtitle {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.6;
  text-shadow: 0 0 12px #000, 0 0 24px #000, 0 0 40px #000;
  max-width: 50%;
}

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

.hero__right {
  position: absolute;
  top: 0;
  right: 0;
  width: min(48vw, 920px);
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image: url("../images/Hero Image.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  filter: saturate(1.05) brightness(0.95);
  transition: opacity 0.3s ease;
}

.hero__right::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, var(--hero-overlay, 0)), rgba(0, 0, 0, var(--hero-overlay, 0))),
    linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.96) 6%, rgba(0, 0, 0, 0.72) 14%, rgba(0, 0, 0, 0.24) 28%, rgba(0, 0, 0, 0) 42%),
    linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.12) 16%, rgba(0, 0, 0, 0) 28%),
    linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.12) 16%, rgba(0, 0, 0, 0) 28%);
}

.hero__right::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.15) 12%, rgba(0, 0, 0, 0) 24%),
    radial-gradient(circle at 58% 52%, rgba(139, 80, 232, 0.22) 0%, rgba(139, 80, 232, 0) 28%);
  mix-blend-mode: screen;
}

/* ============================================================
   Section Layout
   ============================================================ */
.section {
  width: 100%;
  padding: 80px;
}

.section__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section__heading {
  font-family: var(--font-stack-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--foreground-primary);
}

.section__sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   Method Cards (Home)
   ============================================================ */
.method-cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.method-cards .card {
  flex: 1 1 0;
  min-width: 0;
}

/* ============================================================
   Card Base
   ============================================================ */
.card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card__icon-wrap svg {
  width: 26px;
  height: 26px;
}

.card__lens {
  font-size: 11px;
  font-family: var(--font-stack-body);
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-stack-body);
}

.card__body {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.card__tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--surface-raised);
  font-size: 11px;
  font-family: var(--font-stack-body);
  font-weight: 400;
  align-self: flex-start;
}

/* Principle cards (About) */
.card--principle {
  padding: 32px 28px;
  gap: 20px;
  border-color: transparent;
}

.card--principle .card__icon-wrap {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  justify-content: flex-start;
}

.card--principle .card__icon-wrap svg {
  width: 32px;
  height: 32px;
}

.card--principle .card__title {
  font-family: var(--font-stack-display);
  font-size: 22px;
  font-weight: 400;
}

.card--principle .card__body {
  font-size: 14px;
}

/* Framework cards (Tools) */
.card--framework {
  padding: 32px 28px;
}

.card--framework .card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.card--framework .card__icon-wrap svg {
  width: 24px;
  height: 24px;
}

.card--framework .card__title {
  font-size: 20px;
}

.card--framework .card__body {
  font-size: 14px;
}

/* Resource cards (Tools) */
.card--resource {
  padding: 28px 24px;
  gap: 16px;
}

.card__resource-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.card__resource-tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface-raised);
  font-size: 10px;
  font-family: var(--font-stack-body);
}

.card--resource .card__title {
  font-size: 18px;
}

.card--resource .card__body {
  font-size: 13px;
  line-height: 1.5;
}

/* ============================================================
   Card Grids
   ============================================================ */
.cards-3 {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
}

.cards-3 > * {
  flex: 1 1 0;
  min-width: 0;
}

/* 3-column wrapping grid — always 3 per row, wraps to 2 rows for 6 items */
.cards-3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* ============================================================
   About Hero
   ============================================================ */
.about-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 64px 80px;
  text-align: center;
}

.about-hero h1 {
  font-family: var(--font-stack-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--foreground-primary);
  max-width: 900px;
  line-height: 1.05;
}

.about-hero p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 700px;
}

/* ============================================================
   Bio Section
   ============================================================ */
.bio {
  display: flex;
  gap: 60px;
  padding: 80px;
  align-items: flex-start;
}

.bio__photo {
  width: 337px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  flex-shrink: 1;
}

.bio__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.bio__heading {
  font-family: var(--font-stack-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--foreground-primary);
}

.bio__para {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   CTA Banner
   ============================================================ */
.cta-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 80px;
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-stack-display);
  font-size: 40px;
  font-weight: 400;
  color: var(--foreground-primary);
}

.cta-banner p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding: 0 80px;
  background: var(--bg);
}

.footer__divider {
  height: 1px;
  background: var(--border-subtle);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

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

.footer__logo-wrap {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface-card);
}

.footer__logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__name {
  font-family: var(--font-stack-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--foreground-primary);
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer__links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--foreground-primary); }

.footer__copy {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ============================================================
   Section divider
   ============================================================ */
.divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 0 80px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
}

@media (max-width: 900px) {
  /* intentionally empty — two-state layout only */
}

/* Only stack hero and bio on phones — handled by 768px block below */

@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav__center,
  .nav__right { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile { padding: 24px; width: 100%; }

  .hero { padding: 40px 24px; }
  .hero__h1,
  .hero__h1--gradient { font-size: 80px; }
  .hero__subheading { font-size: 20px; }
  .hero__subtitle { font-size: 16px; }
  .hero__cta { flex-direction: column; align-items: flex-start; }

  .about-hero { padding: 60px 24px; }
  .about-hero h1 { font-size: 36px; }

  .bio { padding: 40px 24px; gap: 32px; }

  .section { padding: 40px 24px; }
  .section__heading { font-size: 30px; }

  .cta-banner { padding: 48px 24px; }
  .cta-banner h2 { font-size: 28px; }

  .footer { padding: 0 24px; }
  .footer__inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 28px 0;
  }
  .footer__links { gap: 20px; flex-wrap: wrap; justify-content: center; }

  .divider { margin: 0 24px; }

  .method-cards { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .cards-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   Video Embed
   ============================================================ */
.video-embed {
  max-width: 960px;
  width: 100%;
  margin: 32px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================================
   Case Study
   ============================================================ */
.case-study {
  padding: 80px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.case-study__inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-study__inner > .pill {
  align-self: center;
}
.case-study__heading {
  font-family: var(--font-stack-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-top: 12px;
}
.case-study__quote {
  font-size: 20px;
  color: var(--text-primary);
  border-left: 3px solid var(--accent-teal);
  padding-left: 20px;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}
.case-study__meta {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.case-study__detail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.case-study__step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.case-study__step-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-teal);
}
.case-study__step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   Typed Text (hero)
   ============================================================ */
.hero__typed {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 4px;
  text-shadow: 0 0 12px #000, 0 0 24px #000, 0 0 40px #000;
  min-height: 1.4em;
  line-height: 1.2;
}
.typed-text {
  color: #9B72E8;
}
.typed-cursor {
  color: #9B72E8;
  animation: blink 0.75s step-end infinite;
  font-weight: 300;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 80px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.testimonial-card:hover {
  border-color: var(--accent-teal);
  transform: translateY(-4px);
}
.testimonial-card__stars {
  color: var(--accent-amber);
  font-size: 1rem;
  letter-spacing: 2px;
}
.testimonial-card__quote {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.testimonial-card__author {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}
.testimonial-card__org {
  font-size: 0.82rem;
  color: var(--text-secondary);
}
@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Contact Form Section
   ============================================================ */
.contact-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}
.contact-section__header h2 {
  font-family: var(--font-stack-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.contact-section__header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}
.contact-form {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}
.form-field {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-family: var(--font-stack-body);
  width: 100%;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}
.form-field::placeholder { color: #555; }
.form-field:focus {
  outline: none;
  border-color: var(--accent-teal);
}
.form-field--textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form .btn { align-self: flex-start; }
/* form-row stacking handled by 768px phone block */

/* ============================================================
   Pill width fix inside case study
   ============================================================ */
.case-study__inner .pill {
  align-self: center;
}

/* Typed text — never wrap on full screen */
.hero__typed {
  white-space: nowrap;
  overflow: hidden;
}
@media (max-width: 900px) {
  .hero__typed {
    white-space: normal;
    font-size: 20px;
  }
}

/* Center submit button in contact form */
.contact-form .btn {
  align-self: center;
}

/* Form fields — charcoal background for visibility */
.form-field {
  background: #2A2A2A;
  border-color: #3D3D3D;
}
.form-field::placeholder {
  color: #888;
}

/* Video fade-in from black */
#yt-player {
  opacity: 0;
  transition: opacity 1.2s ease;
}
#yt-player.is-ready {
  opacity: 1;
}

/* Video fade-wrap — overrides previous #yt-player approach */
#yt-player { opacity: 1; transition: none; }
#yt-player.is-ready { opacity: 1; }

.video-fade-wrap {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.video-fade-wrap.is-ready {
  opacity: 1;
}

/* Video embed — black backing so fade-in starts from black */
.video-embed {
  background: #000;
}

/* ============================================================
   Blog Page
   ============================================================ */
.blog-hero {
  padding: 80px 80px 48px;
  text-align: center;
}
.blog-hero h1 {
  font-family: var(--font-stack-display);
  font-size: 60px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 16px;
  margin-bottom: 16px;
}
.blog-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 80px 80px;
}
.blog-grid--older {
  padding-top: 0;
}
.blog-show-more {
  display: flex;
  justify-content: center;
  padding: 0 80px 64px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.blog-card:hover {
  border-color: var(--accent-teal);
  transform: translateY(-4px);
}
.blog-card__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-teal);
}
.blog-card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}
.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}
.blog-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
}
.blog-card__read-more {
  color: var(--accent-teal);
  font-weight: 500;
}
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   About Hero Location Subtitle
   ============================================================ */
.about-hero__location {
  font-size: 16px;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

/* ============================================================
   Scroll Animations — fade-in-up
   ============================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Video Section padding
   ============================================================ */
.video-section {
  padding: 80px;
}

/* ============================================================
   FAQ Accordion
   ============================================================ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-item__question {
  width: 100%;
  background: var(--surface);
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  font-family: var(--font-stack-body);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.2s ease, color 0.2s ease;
}
.faq-item__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent-teal);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item.is-open .faq-item__question::after { transform: rotate(45deg); }
.faq-item__question:hover { background: #222; color: var(--accent-teal); }
.faq-item.is-open .faq-item__question { color: var(--accent-teal); }
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: var(--bg);
}
.faq-item.is-open .faq-item__answer { max-height: 300px; padding: 16px 24px 20px; }
.faq-item__answer p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; }

/* ============================================================
   Card Hover States
   ============================================================ */
.card--framework, .card--resource, .card--principle, .method-cards .card {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.card--framework:hover { border-color: var(--accent-teal); transform: translateY(-4px); }
.card--principle:hover { border-color: var(--card-accent); box-shadow: 0 0 20px color-mix(in srgb, var(--card-accent) 30%, transparent); transform: translateY(-4px); }
.card--resource:hover { border-color: var(--accent-lavender); transform: translateY(-4px); }
.method-cards .card:hover { border-color: var(--accent-amber); transform: translateY(-4px); }

/* ============================================================
   Responsive — dynamic sections
   ============================================================ */
@media (max-width: 900px) {
  .case-study__detail { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* Tighten gap between subheading and typed text */
.hero__subheading { margin-bottom: 0; }
.hero__typed { margin-top: 2px; }

/* More space between typed text and subtitle paragraph */
.hero__subtitle { margin-top: 24px; }

/* ============================================================
   Per-card accent hover colors
   ============================================================ */
.card--accent-teal:hover    { border-color: var(--accent-teal) !important;     transform: translateY(-4px); }
.card--accent-lavender:hover { border-color: var(--accent-lavender) !important; transform: translateY(-4px); }
.card--accent-coral:hover   { border-color: var(--accent-coral) !important;    transform: translateY(-4px); }
.card--accent-amber:hover   { border-color: var(--accent-amber) !important;    transform: translateY(-4px); }
.card--accent-blue:hover    { border-color: var(--accent-blue) !important;     transform: translateY(-4px); }

.card--accent-teal, .card--accent-lavender, .card--accent-coral,
.card--accent-amber, .card--accent-blue {
  transition: border-color 0.25s ease, transform 0.25s ease;
}

/* ============================================================
   Fix: fade-in-up clipping on card rows
   Reduce translateY so card tops don't get cut off by parent overflow
   ============================================================ */
.fade-in-up {
  transform: translateY(16px);
}
.method-cards.fade-in-up,
.cards-3.fade-in-up,
.cards-3-grid.fade-in-up {
  overflow: visible;
}

/* Hero gradient — teal to purple */
.hero__h1--gradient {
  background: linear-gradient(90deg, #2DD9A8 0%, #8B50E8 50%, #7B2FD6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Fix: card tops clipped during hover animation
   overflow-x: auto clips vertical overflow too — offset with padding */
.method-cards {
  padding-top: 8px;
  margin-top: -8px;
  overflow-x: auto;
  overflow-y: visible;
}

/* Center footer nav links */
.footer__links {
  justify-content: center;
}

/* Footer 3-column balance — mirrors top nav centering */
.footer__brand { flex: 1; }
.footer__copy  { flex: 1; text-align: right; }

/* Swap Anton → Barlow Condensed */
:root {
  --font-stack-display: 'Barlow Condensed', Anton, Impact, sans-serif;
}

/* Allow typed text to wrap on smaller screens instead of clipping */
.hero__typed {
  overflow: visible;
}
/* typed text wrapping handled by 768px phone block */

/* Reserve 2-line height for typed text so content below never shifts */
.hero__typed {
  min-height: 2.6em;
}

/* ============================================================
   TWO-STATE LAYOUT — Desktop fixed | Phone at 768px
   Overrides all clamp() fluid scaling and intermediate breakpoints.
   ============================================================ */

/* === DESKTOP: fixed values (no fluid scaling) === */
.hero            { padding: 80px; gap: 60px; }
.section         { padding: 64px 80px; }
.bio             { padding: 24px 80px 64px; }
.about-hero      { padding: 64px 80px; }
.cta-banner      { padding: 80px; }
.contact-section { padding: 80px; }
.case-study      { padding: 80px; }
.video-section   { padding: 64px 80px; }
.footer          { padding: 0 80px; }
.divider         { margin: 0 80px; }
.stats-bar       { padding: 40px 80px; }
.blog-grid       { padding: 0 80px 80px; }
.blog-hero       { padding: 80px 80px 48px; }

.hero__h1,
.hero__h1--gradient { font-size: 120px; }
.hero__subheading   { font-size: 28px; }
.hero__typed        { font-size: 28px; }
.hero__subtitle     { font-size: 17px; }
.section__heading   { font-size: 44px; }
.bio__photo         { width: 300px; }


/* === PHONE: everything below 768px === */
@media (max-width: 900px) {

  /* Nav */
  .nav                { padding: 16px 24px; }
  .nav__center,
  .nav__right         { display: none; }
  .nav__hamburger     { display: flex; }
  .nav__mobile        { padding: 24px; width: 100%; }

  /* Hero */
  .hero               { flex-direction: column; padding: 40px 24px; gap: 32px; }
  .hero__right        { opacity: 0; pointer-events: none; }
  .hero__left         { max-width: 100%; }
  .hero__left .pill   { align-self: flex-start; }
  .hero__h1,
  .hero__h1--gradient { font-size: 80px; }
  .hero__subheading   { font-size: 20px; }
  .hero__typed        { font-size: 20px; white-space: normal; }
  .hero__subtitle     { font-size: 15px; max-width: 100%; }
  .hero__cta          { flex-direction: column; align-items: flex-start; }

  /* About hero */
  .about-hero         { padding: 60px 24px 40px; }
  .about-hero h1      { font-size: 34px; }

  /* Bio */
  .bio                { flex-direction: column; padding: 40px 24px; gap: 24px; }
  .bio__photo         { width: 100%; aspect-ratio: 4/3; }

  /* Sections */
  .section            { padding: 40px 24px; }
  .section__heading   { font-size: 28px; }

  /* Card grids → single column */
  .cards-3, .cards-3-grid,
  .method-cards, .testimonial-grid,
  .blog-grid          { display: flex; flex-direction: column; gap: 16px; padding: 0 24px 48px; }
  .method-cards       { overflow-x: visible; }
  .cards-3 > *,
  .cards-3-grid > *   { flex: unset; min-width: unset; }

  /* Case study */
  .case-study         { padding: 40px 24px; }
  .case-study__detail { grid-template-columns: 1fr; }

  /* Video */
  .video-section      { padding: 40px 24px; }

  /* Contact form */
  .contact-section    { padding: 48px 24px; }
  .form-row           { grid-template-columns: 1fr; }

  /* CTA banner */
  .cta-banner         { padding: 48px 24px; }
  .cta-banner h2      { font-size: 26px; }

  /* Blog */
  .blog-hero          { padding: 48px 24px 32px; }
  .blog-hero h1       { font-size: 36px; }

  /* Stats */
  .stats-bar          { padding: 32px 24px; }
  .stats-bar__inner   { gap: 24px; justify-content: center; }

  /* Footer */
  .footer             { padding: 0 24px; }
  .footer__inner      { flex-direction: column; gap: 20px; text-align: center; padding: 28px 0; }
  .footer__brand,
  .footer__copy       { flex: unset; text-align: center; }
  .footer__links      { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .divider            { margin: 0 24px; }
}
