:root {
  --ink: #18201d;
  --muted: #61706a;
  --paper: #fbf8f1;
  --cream: #fffdf7;
  --green: #27634e;
  --green-dark: #153f33;
  --rose: #c95a63;
  --gold: #d2a84a;
  --line: rgba(24, 32, 29, 0.14);
  --shadow: 0 22px 70px rgba(21, 63, 51, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: #fff;
  background: rgba(10, 18, 15, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(10, 18, 15, 0.12);
}

.brand,
nav,
.hero-actions,
.hero-stats {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

nav {
  gap: 22px;
  font-size: 14px;
  opacity: 0.92;
}

.header-cta,
.button {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  background: #fff;
  color: var(--green-dark);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 140px clamp(22px, 5vw, 76px) 72px;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 20, 17, 0.82), rgba(11, 20, 17, 0.42) 42%, rgba(11, 20, 17, 0.08)),
    linear-gradient(0deg, rgba(11, 20, 17, 0.62), rgba(11, 20, 17, 0.04) 48%);
}

.hero-content {
  position: relative;
  width: min(730px, 100%);
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f1cf74;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--rose);
}

.cn {
  display: block;
  margin-top: 8px;
  opacity: 0.82;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  cursor: pointer;
  font: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--gold);
  color: #17231e;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.button.full {
  width: 100%;
}

.hero-stats {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-stats span {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.hero-stats strong {
  margin-right: 5px;
  color: #fff;
}

.band,
.pillar-section,
.soundtrack-section,
.hook-section,
.audience-section,
.quiz-section,
.match-band,
.tea-section,
.content-section,
.reading-section,
.join-section {
  padding: clamp(58px, 9vw, 116px) clamp(22px, 5vw, 76px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  background: var(--cream);
}

.intro p:last-child,
.match-copy p,
.join-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.pillar-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: #efe6d7;
}

.pillar-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.pillar-card span,
.reading-grid span {
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.pillar-card p,
.reading-grid p {
  color: var(--muted);
}

.pillar-card a {
  width: fit-content;
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.soundtrack-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.72fr);
  gap: 22px;
  align-items: stretch;
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 90, 99, 0.22), transparent 34%),
    linear-gradient(135deg, #111916, #153f33);
  color: #fff;
}

.soundtrack-copy,
.soundtrack-player {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.soundtrack-copy {
  padding: clamp(26px, 5vw, 56px);
}

.soundtrack-copy p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
}

.soundtrack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.soundtrack-player {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(24px, 4vw, 38px);
}

.soundtrack-player span {
  color: #f1cf74;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.soundtrack-player h3 {
  font-size: clamp(32px, 4vw, 52px);
}

.soundtrack-player audio {
  width: 100%;
  margin-top: 8px;
}

.soundtrack-player p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.hook-section {
  background: #153f33;
  color: #fff;
}

.hook-section .section-heading p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 2vw, 21px);
}

.hook-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.hook-grid a {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hook-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(241, 207, 116, 0.58);
  background: rgba(255, 255, 255, 0.13);
}

.hook-grid span {
  color: #f1cf74;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hook-grid strong {
  display: block;
  margin-top: auto;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.08;
}

.hook-grid em {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

.hook-cta {
  margin-top: 22px;
}

.audience-section {
  background:
    radial-gradient(circle at 16% 12%, rgba(201, 90, 99, 0.16), transparent 30%),
    linear-gradient(180deg, var(--cream), #efe6d7);
}

.audience-section .section-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.audience-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.86);
  box-shadow: var(--shadow);
}

.audience-card span {
  width: fit-content;
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(201, 90, 99, 0.12);
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.audience-card h3 {
  max-width: 360px;
  font-size: clamp(26px, 3vw, 36px);
}

.audience-card p {
  margin: 0;
  color: var(--muted);
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
}

.mini-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(21, 63, 51, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 850;
}

.quiz-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(280px, 1.14fr);
  gap: 20px;
  align-items: stretch;
}

.quiz,
.result,
.join-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.quiz,
.join-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 32px);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.result {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 5vw, 52px);
  background: var(--green-dark);
  color: #fff;
}

.result p {
  color: rgba(255, 255, 255, 0.78);
}

.result-kicker,
.tea-tag {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.text-link,
.tea-card a {
  color: #f1cf74;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.match-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 1.2fr);
  gap: 30px;
  align-items: center;
  background: var(--green-dark);
  color: #fff;
}

.match-steps,
.tea-grid,
.reading-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.match-steps article {
  min-height: 238px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.match-steps span {
  display: inline-block;
  margin-bottom: 54px;
  color: #f1cf74;
  font-weight: 900;
}

.match-steps p,
.tea-card p {
  color: rgba(255, 255, 255, 0.72);
}

.tea-section {
  background: #f4eee2;
}

.tea-card {
  min-height: 286px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(39, 99, 78, 0.95), rgba(24, 32, 29, 0.94)),
    #1f483c;
  color: #fff;
}

.tea-tag {
  color: #f1cf74;
}

.reading-section {
  background: var(--cream);
}

.reading-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f0e5;
}

.disclaimer {
  max-width: 900px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.content-section {
  background: #fffdf7;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.video-feature,
.article-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f0e5;
}

.video-feature {
  overflow: hidden;
}

.video-feature video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 620px;
  object-fit: cover;
  background: var(--green-dark);
}

.video-feature div {
  padding: 22px;
}

.video-feature span,
.article-grid span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.video-feature p,
.article-grid p {
  color: var(--muted);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.article-grid article {
  min-height: 260px;
  padding: 24px;
}

.article-grid a {
  display: inline-block;
  margin-top: 12px;
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.blog-hero {
  min-height: 74vh;
  display: grid;
  align-items: end;
  padding: 150px clamp(22px, 5vw, 76px) 74px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11, 20, 17, 0.86), rgba(21, 63, 51, 0.68)),
    url("assets/hero-tea-match.png") center / cover;
}

.blog-hero div {
  max-width: 850px;
}

.blog-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
}

.blog-index,
.article-stack,
.next-articles {
  padding: clamp(42px, 7vw, 88px) clamp(22px, 5vw, 76px);
}

.blog-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: #efe6d7;
}

.blog-index a {
  min-height: 172px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.blog-index span {
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-index strong {
  font-size: 22px;
  line-height: 1.12;
}

.article-stack {
  display: grid;
  gap: 22px;
  background: var(--cream);
}

.blog-article {
  max-width: 980px;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.blog-article h2 {
  max-width: 860px;
  margin-bottom: 18px;
}

.blog-article h3 {
  margin-top: 28px;
}

.blog-article p {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.article-lede {
  color: var(--ink) !important;
  font-size: clamp(20px, 2.3vw, 26px) !important;
  line-height: 1.32;
}

.article-note {
  margin-top: 28px;
  padding: 16px;
  border-left: 4px solid var(--gold);
  background: #fbf8f1;
}

.next-articles {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1.2fr);
  gap: 26px;
  background: #f4eee2;
}

.next-articles ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 19px;
}

.next-articles li + li {
  margin-top: 12px;
}

.journal-library {
  padding: clamp(54px, 8vw, 104px) clamp(22px, 5vw, 76px);
  background: #f4eee2;
}

.journal-library .section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.journal-tools {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}

.jtopic-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jtopic-pill {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fffdf7;
  color: var(--green-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.jtopic-pill.active {
  background: var(--green-dark);
  color: #fff;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.journal-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf7;
}

.journal-card.featured {
  grid-column: 1 / -1;
  min-height: 220px;
  background: linear-gradient(145deg, #fffdf7, #efe6d7);
}

.jc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.jc-title {
  margin: 0;
  color: var(--ink);
}

.jc-title .han,
.jc-excerpt .han,
.ar-body .han,
.ar-disclaimer .han {
  display: block;
  margin-top: 6px;
  opacity: 0.8;
}

.jc-excerpt {
  margin: 0;
  color: var(--muted);
}

.jc-read,
.jc-readmore {
  width: fit-content;
  margin-top: auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--green-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.jc-fulltext {
  display: none;
}

.journal-noresults {
  display: none;
  color: var(--muted);
  font-weight: 800;
}

.article-overlay {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: none;
  padding: clamp(18px, 4vw, 46px);
  overflow: auto;
  background: rgba(10, 18, 15, 0.72);
}

.article-overlay.show {
  display: block;
}

.article-reader {
  position: relative;
  width: min(940px, 100%);
  max-height: calc(100vh - 60px);
  overflow: auto;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 58px);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

.article-close {
  position: sticky;
  top: 0;
  float: right;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.ar-meta {
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ar-title {
  margin-top: 14px;
  font-size: clamp(30px, 5vw, 54px);
}

.ar-body {
  color: var(--muted);
  font-size: 18px;
}

.ar-body p,
.ar-body li {
  max-width: 820px;
}

.ar-body a {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ar-disclaimer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.join-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 0.75fr);
  gap: 34px;
  align-items: center;
  background: var(--cream);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(22px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.8);
  background: #111916;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
  }

  nav,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 92vh;
    padding-top: 116px;
  }

  .intro,
  .pillar-section,
  .quiz-layout,
  .soundtrack-section,
  .content-layout,
  .match-band,
  .join-section {
    grid-template-columns: 1fr;
  }

  .match-steps,
  .tea-grid,
  .hook-grid,
  .audience-grid,
  .article-grid,
  .blog-index,
  .reading-grid {
    grid-template-columns: 1fr;
  }

  .next-articles {
    grid-template-columns: 1fr;
  }

  .journal-tools,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .journal-card.featured {
    grid-column: auto;
  }

  .match-steps span {
    margin-bottom: 34px;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-stats {
    display: none;
  }

  .button {
    width: 100%;
  }
}
