:root {
  --ink: #1d1c17;
  --ink-soft: #3f3a32;
  --muted: #7a7367;
  --paper: #f5f1e8;
  --paper-deep: #e7dfd0;
  --mist: #fbfaf6;
  --accent: #a16a3a;
  --accent-strong: #2d5e5b;
  --accent-soft: #ead8c4;
  --max-width: 980px;
  --radius: 22px;
  --shadow-soft: 0 18px 45px rgba(34, 30, 22, 0.08);
  --shadow-lift: 0 30px 70px rgba(34, 30, 22, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f6f2e8 0%, #fdfbf7 55%, #ffffff 100%);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 8% 20%, rgba(161, 106, 58, 0.16), transparent 45%),
    radial-gradient(circle at 92% 8%, rgba(45, 94, 91, 0.12), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(68, 78, 92, 0.08), transparent 50%);
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.025), rgba(0, 0, 0, 0.025) 1px, transparent 1px, transparent 18px);
  opacity: 0.25;
  z-index: -1;
  pointer-events: none;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(calc(100% - 2.5rem), var(--max-width));
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(251, 250, 246, 0.9);
  border-bottom: 1px solid rgba(161, 106, 58, 0.16);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0 1.1rem;
  gap: 1.5rem;
}

.header-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(161, 106, 58, 0.3);
  background: rgba(251, 250, 246, 0.9);
  color: var(--accent-strong);
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: rgba(161, 106, 58, 0.45);
}

.nav-toggle__text {
  display: inline-block;
}

.site-title {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--ink);
}

.site-logo {
  display: block;
  height: 38px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(34, 30, 22, 0.12);
}

.site-title-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-name {
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-tagline {
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
}

.site-nav a:hover {
  border-color: rgba(161, 106, 58, 0.3);
  color: var(--accent-strong);
}

.main-content {
  flex: 1;
}

.hero {
  padding: 3.6rem 0 2.4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--muted);
  font-size: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 3vw + 1rem, 3.6rem);
  margin: 0.4rem 0 0.8rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(161, 106, 58, 0.3);
  color: var(--accent-strong);
  background: rgba(251, 250, 246, 0.9);
}

.pill.is-filled {
  background: var(--accent-strong);
  color: #ffffff;
  border-color: transparent;
}

.hero-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(161, 106, 58, 0.12);
}

.hero-card__title {
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 0.8rem;
}

.ritual-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.ritual-list li {
  display: flex;
  gap: 0.75rem;
  align-items: start;
  font-size: 1rem;
}

.ritual-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.6rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem);
}

.post-list {
  padding: 1.4rem 0 3.5rem;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.post-card {
  padding: 1.6rem;
  background: var(--paper);
  border: 1px solid rgba(161, 106, 58, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.post-card h3 {
  margin: 0.6rem 0 0.6rem;
  font-size: 1.4rem;
}

.post-card a {
  text-decoration: none;
  color: var(--ink);
}

.post-meta {
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.post {
  padding: 3rem 0 3.5rem;
}

.post-title {
  font-size: clamp(2.2rem, 3vw + 1rem, 3.4rem);
  margin-bottom: 0.6rem;
}

.post-subtitle {
  color: var(--muted);
  font-size: 1.4rem;
  margin-top: 0;
}

.post-content {
  font-size: 1.3em;
}

.post-content h2,
.post-content h3 {
  margin-top: 2.4rem;
}

.post-content blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.6rem;
  border-left: 3px solid var(--accent);
  background: var(--paper);
  border-radius: 12px;
  color: var(--ink-soft);
}

.post-content a {
  color: var(--accent-strong);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  border-radius: 6px;
  padding: 0 0.08em;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.post-content a:hover {
  color: var(--accent-strong);
  border-bottom-color: rgba(45, 94, 91, 0.45);
  background-color: rgba(45, 94, 91, 0.08);
}

.post-content img {
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.about-image {
  text-align: center;
  margin: 1rem 0 1.5rem;
}

.about-image img {
  display: inline-block;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.link-card {
  background: var(--paper);
  border: 1px solid rgba(161, 106, 58, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.link-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.link-button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--accent-strong);
  color: #ffffff;
  text-decoration: none;
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px rgba(45, 94, 91, 0.18);
}

.link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(45, 94, 91, 0.22);
}

.post-tags {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", sans-serif;
  font-size: 0.85rem;
}

.post-tags a {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
}

.archive article,
.tags ul {
  margin-bottom: 1.5rem;
}

.content-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.content-filter .pill {
  cursor: pointer;
}

.podcast-header-image {
  margin: 0 0 1.2rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(161, 106, 58, 0.14);
  box-shadow: var(--shadow-soft);
}

.podcast-header-image img {
  width: 100%;
  display: block;
}

.podcast-spotify-list {
  display: grid;
  gap: 0.9rem;
}

.podcast-spotify-item {
  display: grid;
  grid-template-columns: 2.2rem 84px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid rgba(161, 106, 58, 0.14);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 0.8rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.podcast-spotify-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.podcast-spotify-rank {
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", sans-serif;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-align: center;
}

.podcast-spotify-cover {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(161, 106, 58, 0.18);
  background: var(--accent-soft);
  display: grid;
  place-items: center;
}

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

.podcast-spotify-cover span {
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", sans-serif;
  color: var(--accent-strong);
  font-size: 1.5rem;
}

.podcast-spotify-body {
  min-width: 0;
}

.podcast-spotify-body .post-meta {
  letter-spacing: 0.14em;
  margin: 0 0 0.2rem;
}

.podcast-spotify-body h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.25;
}

.podcast-spotify-body p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.podcast-spotify-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

.podcast-spotify-duration {
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.podcast-spotify-play {
  min-width: 8.2rem;
  justify-content: center;
}

.podcast-spotify-play.is-active {
  box-shadow: 0 0 0 2px rgba(45, 94, 91, 0.24);
}

.podcast-spotify-play.is-playing {
  background: var(--accent);
}

.tags ul {
  list-style: none;
  padding-left: 0;
}

.tags li {
  margin-bottom: 0.4rem;
}

.site-footer {
  border-top: 1px solid rgba(161, 106, 58, 0.1);
  padding: 2.4rem 0 3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-mantra {
  margin: 0.4rem 0 0;
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.footer-version {
  margin: 0.35rem 0 0;
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--muted);
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  border-bottom: 1px solid rgba(161, 106, 58, 0.25);
}

body.has-global-audio-dock .site-shell {
  padding-bottom: 6.5rem;
}

.global-audio-dock {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(calc(100% - 1.5rem), 900px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem 1rem;
  align-items: center;
  padding: 0.8rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(161, 106, 58, 0.22);
  background: rgba(251, 250, 246, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 32px rgba(34, 30, 22, 0.18);
  z-index: 30;
}

.global-audio-dock[hidden] {
  display: none !important;
}

.global-audio-dock__text {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.global-audio-dock__title {
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.global-audio-dock__meta {
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.global-audio-dock__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.global-audio-dock__actions button,
.global-audio-dock__actions a {
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(161, 106, 58, 0.26);
  background: rgba(251, 250, 246, 0.92);
  color: var(--accent-strong);
  padding: 0.42rem 0.78rem;
  text-decoration: none;
  cursor: pointer;
}

.global-audio-dock__actions button:hover,
.global-audio-dock__actions a:hover {
  border-color: rgba(45, 94, 91, 0.4);
}

.global-audio-dock audio {
  display: none;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 18px;
    line-height: 1.65;
  }

  .post-content {
    font-size: 1.12em;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .header-brand {
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .nav-toggle__text {
    display: none;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.35rem 0 0.15rem;
  }

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

  .site-nav a {
    width: 100%;
    text-align: left;
    padding: 0.7rem 0.85rem;
    border-radius: 16px;
    border-color: rgba(161, 106, 58, 0.12);
    background: rgba(251, 250, 246, 0.9);
  }

  .site-tagline {
    display: none;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .post-card {
    padding: 1.3rem;
  }

  .podcast-spotify-item {
    grid-template-columns: 2rem 64px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.65rem;
  }

  .podcast-spotify-rank {
    font-size: 0.82rem;
  }

  .podcast-spotify-cover {
    width: 64px;
    height: 64px;
  }

  .podcast-spotify-body h2 {
    font-size: 1.15rem;
  }

  .podcast-spotify-body p {
    font-size: 0.95rem;
  }

  .podcast-spotify-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 0.2rem;
  }

  body.has-global-audio-dock .site-shell {
    padding-bottom: 8.8rem;
  }

  .global-audio-dock {
    width: calc(100% - 1rem);
    bottom: 0.5rem;
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .global-audio-dock__actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
