/* ============================================================
   Federico Gambedotti - Personal Site
   style.css - Direction A: Dark green hero, larger type
   ============================================================ */

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

:root {
  /* Core palette */
  --ink: #0f0e0c;
  --ink-soft: #4a4843;
  --ink-muted: #8a8780;
  --paper: #f7f5f0;
  --paper-warm: #ede9e0;

  /* Hero band - Direction A */
  --hero-bg: #1a3d2e;
  --hero-bg-deep: #122b20;
  --hero-text: #f5f1ea;
  --hero-text-muted: rgba(245, 241, 234, 0.55);
  --hero-rule: rgba(245, 241, 234, 0.15);
  --hero-em: #9FE1CB;
  --hero-stat-label: rgba(245, 241, 234, 0.5);
  --hero-stat-val: rgba(245, 241, 234, 0.85);

  /* Accent */
  --accent: #1d4e3a;
  --accent-light: #d4ede3;
  --accent-hover: #163d2d;

  /* Rules */
  --rule: rgba(15, 14, 12, 0.12);

  /* Typography */
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --old: 'Special Elite', 'Courier New', monospace;
  --future: 'Dancing Script', 'Playfair Display', cursive;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 17px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 1rem;
  z-index: 1000;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  padding: 0.6rem 0.8rem;
  border-radius: 2px;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.skip-link:focus { top: 0.8rem; }

/* ?? NAV ??????????????????????????????????????????????????? */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 3rem;
  border-bottom: 0.5px solid var(--rule);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 100;
}

.nav-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  position: relative;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.25s ease;
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-links a.active {
  color: var(--ink);
  font-weight: 500;
}

.nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.35rem;
  cursor: pointer;
  color: var(--ink);
}

/* ?? HERO - dark green band ???????????????????????????????? */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 96vh;
  border-bottom: 0.5px solid var(--rule);
}

.hero-left {
  padding: 6.25rem 4.5rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--hero-bg);
  border-right: 1px solid var(--hero-rule);
}

.hero-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hero-text-muted);
  font-weight: 400;
  margin-bottom: 2rem;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.26vw, 4.35rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--hero-text);
  margin-bottom: 2.1rem;
  padding-bottom: 0.26em;
  overflow: visible;
  max-width: 100%;
}

.hero-word-past,
.hero-word-future {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  cursor: pointer;
  transform-origin: 50% 70%;
  will-change: transform;
}

.hero-word-past {
  font-family: var(--old);
  font-size: 0.83em;
  letter-spacing: 0.015em;
  color: #e8ddcb;
  font-style: normal;
}

.hero-word-future {
  font-family: var(--future);
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.28;
  padding-bottom: 0.16em;
  vertical-align: -0.07em;
}

.hero-word-future,
.hero-word-future .hero-letter {
  background: linear-gradient(92deg, #8cebd0 0%, #7fd7ff 44%, #c9b7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 24px rgba(126, 231, 255, 0.2);
}

.hero-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.16em);
  filter: blur(1.2px);
}

.hero-word-past.is-typing .hero-letter,
.hero-word-future.is-typing .hero-letter {
  animation: heroTypeLetter 0.91s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--letter-delay, 0s);
}

.hero-word-past.is-flip,
.hero-word-future.is-flip {
  animation: heroWordFlip 0.24s cubic-bezier(0.22, 0.68, 0.28, 1) 1;
}

@keyframes heroTypeLetter {
  0% {
    opacity: 0;
    transform: translateY(0.16em);
    filter: blur(1.2px);
  }
  45% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroWordFlip {
  0% { transform: perspective(540px) rotateX(0deg); }
  45% { transform: perspective(540px) rotateX(88deg); }
  100% { transform: perspective(540px) rotateX(0deg); }
}

.hero-bottom {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.hero-rule {
  width: 2.5rem;
  height: 1px;
  background: rgba(245, 241, 234, 0.3);
}

.hero-sub {
  font-size: 1.04rem;
  line-height: 1.85;
  color: rgba(245, 241, 234, 0.75);
  max-width: 56ch;
  font-weight: 300;
}

.hero-keyword-cloud {
  margin-top: 0.35rem;
  padding: 0.2rem 0;
  max-width: 64ch;
}

.hero-keyword-current {
  font-family: var(--future);
  font-size: clamp(2.5rem, 5.4vw, 3.44rem);
  line-height: 1.08;
  letter-spacing: 0;
  background: linear-gradient(92deg, #8cebd0 0%, #7fd7ff 44%, #c9b7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 22px rgba(126, 231, 255, 0.2);
}

.hero-keyword-current.is-swapping {
  animation: keywordSwapIn 0.29s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes keywordSwapIn {
  0% {
    opacity: 0;
    transform: translateY(0.16em);
    filter: blur(0.8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--hero-em);
  text-decoration: none;
  border-bottom: 1px solid rgba(159, 225, 203, 0.5);
  padding-bottom: 0.2rem;
  width: fit-content;
  transition: gap 0.2s;
}

.hero-cta:hover { gap: 1.25rem; }

/* ?? PILLARS ??????????????????????????????????????????????? */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 0.5px solid var(--rule);
}

.pillar {
  padding: 2.75rem 2.25rem;
  border-right: 0.5px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.pillar:last-child { border-right: none; }
.pillar:hover {
  background: var(--paper-warm);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(15, 14, 12, 0.08);
}

a.pillar-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.pillar-link:hover .pillar-title {
  color: var(--accent);
  transition: color 0.2s ease;
}

.pillar-number {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.pillar-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
}

.pillar-desc {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 300;
}

.pillar-desc a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pillar-status {
  margin-top: auto;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.pillar-vote-btn {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--paper);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

a.pillar-link:hover .pillar-vote-btn {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* ?? LIVE FEEDS ???????????????????????????????????????????? */
.feeds-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem 1.5rem;
  border-bottom: 0.5px solid var(--rule);
}

.feeds-title {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.feed-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 0.5px solid var(--rule);
}

.feed-col {
  padding: 2.25rem 3rem;
  border-right: 0.5px solid var(--rule);
}

.feed-col:last-child { border-right: none; }

.feed-col-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 0.5px solid var(--rule);
}

.feed-col-label {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
  font-weight: 400;
}

.label-icon {
  display: inline-block;
  width: 0.92em;
  height: 0.92em;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin-right: 0.4rem;
  vertical-align: -0.08em;
}

.icon-writing {
  background-image: url("assets/icons/icon-writing.png");
}

.icon-podcast {
  background-image: url("assets/icons/icon-podcast.png");
}

.icon-call {
  background-image: url("assets/icons/icon-call.png");
}

.feed-col-link {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.feed-col-link:hover { text-decoration: underline; }

.article-item {
  padding: 1.25rem 0;
  border-bottom: 0.5px solid var(--rule);
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
  display: block;
}

.article-item:last-child { border-bottom: none; padding-bottom: 0; }
.article-item:hover { opacity: 0.65; }

.article-main {
  min-width: 0;
}

.article-item--with-thumb {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.article-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0.5px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper-warm);
}

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

.article-thumb--placeholder {
  background:
    linear-gradient(135deg, rgba(29, 78, 58, 0.12), rgba(29, 78, 58, 0.02)),
    var(--paper-warm);
  position: relative;
}

.article-thumb--placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 34px;
  height: 34px;
  opacity: 0.45;
  background: url("assets/icons/icon-writing.png") center/contain no-repeat;
}

.article-date {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.4rem;
}

.article-title {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.article-title::before {
  content: "";
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-right: 0.45rem;
  vertical-align: -0.08em;
  background: url("assets/icons/icon-writing.png") center/contain no-repeat;
}

.article-excerpt {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fav-reads {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 0.5px solid var(--rule);
}

.fav-reads-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.8rem;
}

.fav-reads-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.fav-reads-list a {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.fav-reads-list a:hover {
  color: var(--ink);
  border-bottom-color: rgba(30, 83, 64, 0.4);
}

.podcast-item {
  display: flex;
  gap: 1.1rem;
  padding: 1.25rem 0;
  border-bottom: 0.5px solid var(--rule);
  align-items: flex-start;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}

.podcast-item:last-child { border-bottom: none; padding-bottom: 0; }
.podcast-item:hover { opacity: 0.65; }

.play-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0.5px solid var(--rule);
  background: var(--paper-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.play-tri {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid var(--ink-soft);
  margin-left: 2px;
}

.pod-meta { flex: 1; min-width: 0; }

.pod-ep {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.35rem;
}

.pod-title {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pod-title::before {
  content: "";
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-right: 0.45rem;
  vertical-align: -0.08em;
  background: url("assets/icons/icon-podcast.png") center/contain no-repeat;
}

.pod-dur {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.skel-wrap { padding: 0.5rem 0; }

.skeleton {
  background: var(--paper-warm);
  border-radius: 3px;
  animation: shimmer 1.5s infinite;
  display: block;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.error-msg {
  font-size: 0.85rem;
  color: var(--ink-muted);
  padding: 0.75rem 0;
  font-style: italic;
}

.error-msg a { color: var(--accent); text-decoration: none; }

/* ?? YOUTUBE ??????????????????????????????????????????????? */
.yt-section { border-bottom: 0.5px solid var(--rule); }

.yt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  border-bottom: 0.5px solid var(--rule);
}

.yt-label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

.yt-link {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.yt-link:hover { text-decoration: underline; }

.yt-embed {
  position: relative;
  padding-bottom: 38%;
  height: 0;
  overflow: hidden;
  background: #000;
}

.yt-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ?? PODCAST CARDS ????????????????????????????????????????? */
.episodes-section { border-bottom: 0.5px solid var(--rule); }

.episodes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 3rem 1.2rem;
  border-bottom: 0.5px solid var(--rule);
}

.episodes-label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

.episodes-link {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.episodes-link:hover { text-decoration: underline; }

.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem 3rem 2rem;
}

.episode-card {
  background: #161513;
  color: #f1eee8;
  border: 1px solid rgba(241, 238, 232, 0.08);
  text-decoration: none;
  display: block;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.episode-card:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 238, 232, 0.22);
  box-shadow: 0 8px 32px rgba(15, 14, 12, 0.12);
}

.episode-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #27231f;
  border-bottom: 1px solid rgba(241, 238, 232, 0.08);
  overflow: hidden;
}

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

.episode-card-body { padding: 1.1rem 1.1rem 1rem; }

.episode-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
}

.episode-num {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c8c2b8;
}

.episode-date {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ada79d;
}

.episode-card-title {
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.35;
  color: #f5f1ea;
  margin-bottom: 0.6rem;
}

.episode-question {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cbc5bb;
  margin-bottom: 0.9rem;
}

.episode-duration {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d3cdc2;
  margin-bottom: 0.8rem;
}

.episode-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.episode-platforms a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e9e3d8;
  text-decoration: none;
  border: 1px solid rgba(233, 227, 216, 0.32);
  padding: 0.3rem 0.55rem;
}

.episode-platforms a:hover { border-color: rgba(233, 227, 216, 0.66); }

.episode-card-skeleton {
  min-height: 340px;
  background: #1c1a18;
  border: 1px solid rgba(241, 238, 232, 0.08);
  animation: shimmerCard 1.4s infinite;
}

@keyframes shimmerCard {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* ?? ABOUT ????????????????????????????????????????????????? */
.about-strip {
  border-bottom: 0.5px solid var(--rule);
}

.about-right {
  padding: 2.2rem 3.5rem;
  display: grid;
  grid-template-columns: minmax(110px, 150px) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: center;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
}

.about-portrait {
  width: min(430px, 100%);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 0.5px solid var(--rule);
  background: #d8d3c9;
  margin-bottom: 0.5rem;
}

.about-strip .about-portrait {
  width: 100%;
  max-width: 150px;
  margin: 0;
  border-radius: 4px;
}

.about-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05) brightness(1.02);
}

.about-text {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 60ch;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.2rem;
  width: fit-content;
  margin-top: 0.5rem;
  transition: gap 0.2s;
}

.about-cta:hover { gap: 1.25rem; }

/* ?? SUBSCRIBE ????????????????????????????????????????????? */
.subscribe {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 0.5px solid var(--rule);
}

.sub-left {
  padding: 2.75rem 3rem;
  border-right: 0.5px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

.sub-headline {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}

.sub-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: none;
}

.sub-right {
  padding: 2.75rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  background: var(--paper-warm);
}

.sub-form {
  display: flex;
  border: 0.5px solid var(--rule);
  background: var(--paper);
}

.sub-input {
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border: none;
  background: transparent;
  color: var(--ink);
  outline: none;
  flex: 1;
}

.sub-input::placeholder { color: var(--ink-muted); }
.sub-input[aria-invalid="true"] { outline: 1px solid #b00020; }

.sub-btn {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.35rem;
  background: var(--accent);
  color: var(--paper);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.sub-btn:hover { background: var(--accent-hover); }

.sub-note {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.sub-feedback {
  min-height: 1.1em;
  font-size: 0.78rem;
  color: var(--accent);
}

.sub-feedback[data-state="error"] { color: #b00020; }
.sub-note a { color: var(--accent); text-decoration: none; }

.sub-callout {
  margin-top: 0.2rem;
  padding-top: 0.85rem;
  border-top: 0.5px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.sub-callout-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

.sub-callout-icon {
  width: 0.95em;
  height: 0.95em;
  display: inline-block;
  object-fit: contain;
  opacity: 0.9;
  flex-shrink: 0;
}

.sub-callout-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.92rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.12rem;
}

.sub-callout-link:hover { opacity: 0.75; }

/* ?? QUOTE SECTION ????????????????????????????????????????? */
.quote-wrapper {
  position: relative;
  overflow: hidden;
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
  padding: 5.5rem 3rem;
  display: flex;
  justify-content: center;
  background: var(--hero-bg);
}

.quote-wrapper::before {
  content: "QUOTE";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(4.5rem, 16vw, 14rem);
  letter-spacing: 0.08em;
  color: rgba(245, 241, 234, 0.06);
  pointer-events: none;
  white-space: nowrap;
}

#quote-section {
  position: relative;
  z-index: 1;
  max-width: 68ch;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.quote-eyebrow {
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hero-text-muted);
  font-weight: 500;
}

.quote-text {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.65;
  color: var(--hero-text);
  border: none;
  padding: 0;
  margin: 0;
}

.quote-attribution {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quote-dash {
  color: var(--hero-text-muted);
  font-size: 0.9rem;
}

.quote-author {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(245, 241, 234, 0.8);
}

.quote-badge {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: #0f6e56;
  background: var(--hero-em);
  padding: 0.2rem 0.65rem;
  border-radius: 2px;
  margin-left: 0.25rem;
}

.quote-return {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--hero-text-muted);
  font-style: italic;
}

.quote-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.quote-more-btn {
  border: 1px solid rgba(159, 225, 203, 0.5);
  background: transparent;
  color: var(--hero-em);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

.quote-more-btn:hover {
  background: rgba(159, 225, 203, 0.16);
}

.quote-loading {
  font-size: 0.92rem;
  color: var(--hero-text-muted);
  font-style: italic;
}

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--hero-bg);
  padding: 5rem 3rem 4rem;
  border-bottom: 1px solid var(--hero-rule);
}

.page-hero-inner {
  max-width: 65ch;
}

.page-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hero-text-muted);
  display: block;
  margin-bottom: 1.5rem;
}

.page-headline {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--hero-text);
  margin-bottom: 1.5rem;
}

.page-headline em {
  font-style: italic;
  color: var(--hero-em);
}

.page-sub {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(245, 241, 234, 0.75);
  max-width: 48ch;
  font-weight: 300;
}

/* ── INNER PAGE CONTENT ──────────────────────────────────── */
.content-section {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 3rem;
  padding: 3.5rem 3rem;
  border-bottom: 0.5px solid var(--rule);
}

.content-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: 0.25rem;
}

.content-heading {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.content-text {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 60ch;
  margin-bottom: 1rem;
}

.content-text:last-child { margin-bottom: 0; }

.question-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.question-list li {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 300;
  padding-left: 1.25rem;
  position: relative;
}

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

.status-tag {
  margin-top: 1.25rem;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.collab-cta {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.collab-text {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
  max-width: 50ch;
}

/* ── ESSAY CARDS ─────────────────────────────────────────── */
.essay-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.essay-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem;
  border: 0.5px solid var(--rule);
  background: var(--paper);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.essay-card:hover {
  background: var(--paper-warm);
  transform: translateY(-2px);
}

.essay-card-tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  width: fit-content;
  font-weight: 500;
}

.essay-card-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
}

/* ── THEMES ──────────────────────────────────────────────── */
.themes-section {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 3rem;
  padding: 3.5rem 3rem;
  border-bottom: 0.5px solid var(--rule);
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.theme-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.theme-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 300;
}

/* ── PLATFORM STRIP ──────────────────────────────────────── */
.platform-strip {
  display: flex;
  gap: 1rem;
  padding: 2rem 3rem;
  border-bottom: 0.5px solid var(--rule);
  flex-wrap: wrap;
}

.platform-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border: 0.5px solid var(--rule);
  padding: 0.6rem 1.25rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.platform-link:hover {
  background: var(--paper-warm);
  border-color: var(--ink-muted);
}

/* ── NOW ITEMS ───────────────────────────────────────────── */
.now-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.now-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.5rem;
  align-items: baseline;
}

.now-label {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

.now-value {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 300;
}

/* ?? FOOTER ???????????????????????????????????????????????? */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 3rem;
}

.footer-name {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-style: italic;
}

.footer-copy {
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.reach-line {
  padding: 0 3rem 2rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.reach-intro {
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

.reach-sep {
  color: var(--ink-muted);
  opacity: 0.75;
}

.reach-line a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.reach-line a:hover { opacity: 0.75; }

.hero-cta,
.about-cta,
.feed-col-link,
.episodes-link {
  transition: gap 0.2s ease, opacity 0.2s ease;
}

/* ── SCROLL ANIMATIONS ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.is-visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.stagger-children.is-visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.stagger-children.is-visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.stagger-children.is-visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }

/* ?? RESPONSIVE ???????????????????????????????????????????? */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 0.5px solid var(--rule);
    padding: 1rem 1.5rem 1.5rem;
    gap: 1.25rem;
  }
  .nav-links.open { display: flex; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 3.8rem 2rem; border-right: none; border-bottom: 1px solid var(--hero-rule); }
  .hero-keyword-current { font-size: clamp(1.9rem, 8.6vw, 2.6rem); }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-bottom: 0.5px solid var(--rule); }
  .feeds-header { padding: 1.5rem; }
  .feed-grid { grid-template-columns: 1fr; }
  .feed-col { padding: 1.5rem; border-right: none; border-bottom: 0.5px solid var(--rule); }
  .article-item--with-thumb {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 0.85rem;
  }
  .yt-header { padding: 1.25rem 1.5rem; }
  .yt-embed { padding-bottom: 56%; }
  .episodes-header { padding: 1.25rem 1.5rem; }
  .episodes-grid { grid-template-columns: 1fr; padding: 1rem 1.5rem 1.5rem; }
  .about-right {
    padding: 2rem 1.5rem;
    grid-template-columns: minmax(96px, 132px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
  }
  .about-strip .about-portrait { width: 100%; max-width: 132px; }
  .subscribe { grid-template-columns: 1fr; }
  .sub-left { padding: 2rem 1.5rem; border-right: none; border-bottom: 0.5px solid var(--rule); }
  .sub-right { padding: 2rem 1.5rem; }
  .quote-wrapper { padding: 3.5rem 1.5rem; }
  .page-hero { padding: 3rem 1.5rem; }
  .content-section { grid-template-columns: 1fr; gap: 1rem; padding: 2rem 1.5rem; }
  .collab-cta { padding: 3rem 1.5rem; }
  .essay-cards { grid-template-columns: 1fr; }
  .themes-section { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
  .themes-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .platform-strip { padding: 1.5rem; }
  .now-item { grid-template-columns: 1fr; gap: 0.4rem; }
  footer { flex-direction: column; gap: 1.25rem; padding: 1.5rem; text-align: center; }
  .reach-line {
    padding: 0 1.5rem 1.5rem;
    justify-content: center;
    text-align: center;
    gap: 0.45rem;
  }
}

@media (max-width: 700px) {
  .about-right { grid-template-columns: 1fr; }
  .about-strip .about-portrait { width: min(240px, 100%); max-width: none; }
}

@media (max-width: 520px) {
  .pillars { grid-template-columns: 1fr; }
  .hero-headline { font-size: clamp(1.38rem, 7.32vw, 1.95rem); }
  .article-item--with-thumb {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .article-thumb {
    aspect-ratio: 16 / 9;
  }
}

/* ── BUILDING PAGE ───────────────────────────────────────── */

/* Section A — Serious projects */
.serious-project {
  margin-bottom: 2.5rem;
}

.serious-project-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.serious-project-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink);
}

.serious-project-desc {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.serious-project-contact {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 0.75rem;
  font-style: italic;
}

.serious-project-contact a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-light);
}

.serious-project-contact a:hover {
  border-bottom-color: var(--accent);
}

.serious-project-divider {
  width: 100%;
  height: 0.5px;
  background: var(--rule);
  margin: 2rem 0;
}

/* Section B — Open Experiments header */
.building-section {
  border-bottom: 0.5px solid var(--rule);
}

.building-section-header {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 3rem;
  padding: 3.5rem 3rem 2rem;
  border-bottom: 0.5px solid var(--rule);
}

.building-section-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
}

.building-section-intro {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 55ch;
}

/* Experiment grid */
.experiment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.experiment-card {
  padding: 2.5rem 3rem;
  border-right: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: background 0.25s ease;
}

.experiment-card:nth-child(even) {
  border-right: none;
}

.experiment-card:hover {
  background: var(--paper-warm);
}

.experiment-card-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.experiment-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
}

.experiment-status {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  font-weight: 500;
}

.experiment-desc {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.55;
}

.experiment-context {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 300;
}

/* Vote block */
.vote-block {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 0.5px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.vote-count-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
}

.vote-bar-wrap {
  width: 100%;
  height: 8px;
  background: var(--paper-warm);
  border-radius: 4px;
  overflow: hidden;
}

.vote-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  width: 0%;
  transition: width 0.6s ease;
}

.vote-pct-label {
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.vote-commitment {
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-style: italic;
  line-height: 1.6;
}

/* Vote form */
.vote-form {
  display: flex;
  gap: 0;
  border: 0.5px solid var(--rule);
  background: var(--paper);
  margin-top: 0.5rem;
}

.vote-email {
  font-family: var(--sans);
  font-size: 0.82rem;
  padding: 0.65rem 0.85rem;
  border: none;
  background: transparent;
  color: var(--ink);
  outline: none;
  flex: 1;
  min-width: 0;
}

.vote-email::placeholder {
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.vote-btn {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
  background: var(--accent);
  color: var(--paper);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.vote-btn:hover {
  background: var(--accent-hover);
}

.vote-btn:disabled {
  background: var(--ink-muted);
  cursor: not-allowed;
  opacity: 0.55;
}

.vote-btn:disabled:hover {
  background: var(--ink-muted);
}

.vote-error {
  font-size: 0.72rem;
  color: #b00020;
  min-height: 1em;
}

.vote-confirmed {
  font-size: 0.82rem;
  color: var(--accent);
  font-style: italic;
  padding: 0.5rem 0;
}

/* Responsive */
@media (max-width: 900px) {
  .building-section-header {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 1.5rem 1.5rem;
  }

  .building-section-title {
    font-size: 1.7rem;
  }

  .experiment-grid {
    grid-template-columns: 1fr;
  }

  .experiment-card {
    border-right: none;
    padding: 2rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-letter {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .reveal,
  .reveal-left,
  .reveal-scale,
  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-word-past.is-flip,
  .hero-word-future.is-flip,
  .hero-keyword-current.is-swapping {
    animation: none !important;
  }
}
