@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("../fonts/cormorant-garamond-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+20B4;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("../fonts/cormorant-garamond-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+20B4;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-024F;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-024F;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/manrope-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+20B4;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-024F;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("../fonts/manrope-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+20B4;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-024F;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("../fonts/manrope-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+20B4;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-024F;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("../fonts/manrope-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+20B4;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-024F;
}

:root {
  color: #171b32;
  background: #071022;
  font-family: "Manrope", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --night: #0b1023;
  --night-2: #111936;
  --ink: #171b32;
  --ink-soft: #55596a;
  --ivory: #f8f4ec;
  --paper: #fffdf9;
  --lavender: #ded8f0;
  --violet: #6d62a9;
  --violet-dark: #514884;
  --gold: #c9a968;
  --line: #ded8cf;
  --serif: "Cormorant Garamond", Georgia, serif;
  --shadow: 0 18px 50px rgba(17, 25, 54, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid #f1c875;
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 20px;
  top: 18px;
  padding: 12px 18px;
  border-radius: 10px;
  color: var(--night);
  background: #ffffff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.night-hero {
  position: relative;
  min-height: 690px;
  color: #ffffff;
  background-color: var(--night);
  background-image: var(--tseison-hero-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  isolation: isolate;
}

.night-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(7, 12, 30, 0.28);
}

.site-header {
  min-height: 104px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

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

.brand__mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
}

.brand__mark img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: invert(88%) sepia(28%) saturate(710%) hue-rotate(354deg) brightness(95%);
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand small {
  display: block;
  margin-top: 6px;
  color: #e8d3a5;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.primary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.primary-nav a,
.header-tools a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 500;
  transition: color 160ms ease;
}

.primary-nav a:hover,
.header-tools a:hover {
  color: #ffffff;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-tools a {
  position: relative;
}

.header-tools b {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  position: absolute;
  top: 2px;
  left: 13px;
  border-radius: 50%;
  color: var(--night);
  background: #f1c875;
  font-size: 10px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.hero-content {
  padding: 92px 0 78px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ded8f0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 1020px;
  margin: 12px auto 6px;
  font-family: var(--serif);
  font-size: clamp(56px, 6vw, 82px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero-content > p {
  max-width: 670px;
  margin: 16px auto 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.65;
}

.search-box {
  width: min(720px, 100%);
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  position: relative;
  margin-inline: auto;
  padding: 8px 9px 8px 21px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 16px;
  color: #686b7a;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.search-box input {
  min-width: 0;
  height: 50px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-family: var(--serif);
  font-size: 20px;
}

.search-box input::placeholder {
  color: #8c8e99;
}

.search-box > button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-inline: 26px;
  border-radius: 11px;
  color: #ffffff;
  background: var(--violet);
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.search-box > button:hover {
  background: var(--violet-dark);
  transform: translateY(-1px);
}

.search-suggestions {
  display: grid;
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 8px;
  border: 1px solid #e4dfd7;
  border-radius: 14px;
  list-style: none;
  text-align: left;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.search-suggestions button,
.search-suggestions a {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.search-suggestions button:hover,
.search-suggestions a:hover {
  background: #f3f0fa;
}

.search-suggestions__empty {
  padding: 14px 12px;
  color: var(--ink-soft);
  font-size: 13px;
}

.quick-categories {
  margin-top: 34px;
}

.quick-categories > span {
  display: block;
  margin-bottom: 13px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--serif);
  font-size: 16px;
}

.quick-categories > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.quick-categories a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(20, 28, 60, 0.55);
  font-size: 12px;
  transition: background 160ms ease, border-color 160ms ease;
}

.quick-categories a:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(37, 45, 84, 0.78);
}

.reading-surface {
  padding-bottom: 82px;
  background: var(--ivory);
}

.alphabet-section {
  padding-top: 58px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading--compact {
  margin-bottom: 18px;
}

.section-heading h2,
.methodology h2,
.journal-cta h2 {
  margin: 2px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.section-kicker {
  color: var(--violet);
  font-size: 10px;
}

.section-heading > a,
.text-link,
.symbol-card__body > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--violet-dark);
  font-size: 13px;
  font-weight: 700;
}

.section-heading > p {
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 13px;
}

.alphabet {
  display: grid;
  grid-template-columns: repeat(17, minmax(0, 1fr));
  gap: 8px;
}

.alphabet button,
.alphabet a {
  aspect-ratio: 1;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #e5e0db;
  border-radius: 9px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.alphabet button.is-active,
.alphabet a.is-active {
  border-color: var(--violet);
  color: #ffffff;
  background: var(--violet);
}

.content-section {
  padding-top: 54px;
}

.symbol-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.reading-surface .symbol-grid .post-card h3 {
  font-size: 24px;
}

.reading-surface .symbol-grid .post-card__body {
  padding: 16px 14px 14px;
}

.reading-surface .symbol-grid .post-card__body p {
  min-height: 112px;
  font-size: 11px;
}

.symbol-card {
  overflow: hidden;
  border: 1px solid #e2ddd6;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 10px 34px rgba(17, 25, 54, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.symbol-card__body {
  padding: 16px 14px 14px;
}

.symbol-card__body h3,
.latest-list h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
  font-weight: 600;
}

.symbol-card__body p {
  min-height: 112px;
  margin: 12px 0 9px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
}

.latest-list {
  overflow: hidden;
  border: 1px solid #dfdad3;
  border-radius: 16px;
  background: var(--paper);
}

.latest-list article {
  min-height: 108px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border-bottom: 1px solid #e6e1da;
}

.latest-list article:last-child {
  border-bottom: 0;
}

.latest-list__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--violet);
  background: #eeebf7;
}

.latest-list h3 {
  font-size: 24px;
}

.latest-list p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.latest-list time {
  color: #777986;
  font-family: var(--serif);
  font-size: 15px;
  white-space: nowrap;
}

.latest-list__arrow {
  color: var(--violet);
}

.methodology {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.25fr);
  gap: 0;
  overflow: hidden;
  margin-top: 64px;
  border: 1px solid #bdb5d8;
  border-radius: 18px;
  background: #f2eff8;
  box-shadow: var(--shadow);
}

.methodology__image {
  min-height: 100%;
}

.methodology__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
}

.methodology__content {
  align-self: center;
  padding: 46px 48px;
}

.methodology__intro {
  max-width: 610px;
  margin: 16px 0 24px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.methodology__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 18px;
}

.methodology__points > div {
  display: flex;
  gap: 11px;
  padding: 0 17px;
  border-left: 1px solid #d3cce4;
  color: var(--violet-dark);
}

.methodology__points > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.methodology__points span {
  display: block;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

.methodology__points strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 12px;
}

.journal-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  padding: 28px 32px;
  border: 1px solid #d4cce7;
  border-radius: 16px;
  background: var(--paper);
}

.journal-cta__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--violet);
  background: #eeebf7;
}

.journal-cta h2 {
  font-size: 32px;
}

.journal-cta p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.journal-cta > a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 19px;
  border-radius: 10px;
  color: #ffffff;
  background: var(--violet);
  font-size: 13px;
  font-weight: 700;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #09132c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.65fr 1fr;
  gap: 44px;
  padding-top: 60px;
  padding-bottom: 46px;
}

.brand--footer {
  color: #ffffff;
}

.footer-grid > div:first-child > p {
  max-width: 310px;
  margin: 19px 0 0;
  font-size: 12px;
  line-height: 1.7;
}

.footer-grid nav {
  display: grid;
  align-content: start;
  gap: 11px;
  font-size: 12px;
}

.footer-grid nav strong,
.footer-note strong {
  color: #ffffff;
  font-size: 12px;
}

.footer-grid nav a:hover {
  color: #ffffff;
}

.footer-note {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: #e7d4a7;
  background: rgba(255, 255, 255, 0.04);
}

.footer-note span {
  font-family: var(--serif);
  font-size: 16px;
}

.footer-bottom {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
}

.footer-bottom span {
  margin-right: auto;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .primary-nav {
    display: none;
    grid-column: 1 / -1;
    align-items: stretch;
    position: absolute;
    z-index: 30;
    top: 92px;
    left: 24px;
    right: 24px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: #111936;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    padding: 0 12px;
    border-radius: 8px;
  }

  .primary-nav a:hover {
    background: rgba(255, 255, 255, 0.07);
  }

  .menu-toggle {
    display: grid;
    justify-self: end;
    order: 2;
  }

  .header-tools {
    justify-self: end;
    order: 1;
  }

  .alphabet {
    grid-template-columns: repeat(11, minmax(0, 1fr));
  }

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

  .symbol-card__body {
    padding: 20px 20px 18px;
  }

  .symbol-card__body p {
    min-height: 76px;
    font-size: 13px;
  }

  .reading-surface .symbol-grid .post-card__body {
    padding: 20px 20px 18px;
  }

  .reading-surface .symbol-grid .post-card__body p {
    min-height: 76px;
    font-size: 13px;
  }

  .methodology {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .methodology__points {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .methodology__points > div {
    padding: 0;
    border-left: 0;
  }
}

@media (max-width: 820px) {
  .wrap {
    width: min(100% - 32px, 720px);
  }

  .site-header {
    min-height: 90px;
    gap: 12px;
  }

  .brand strong {
    font-size: 24px;
  }

  .brand small,
  .header-tools span {
    display: none;
  }

  .header-tools {
    gap: 7px;
  }

  .header-tools a {
    width: 44px;
    justify-content: center;
  }

  .hero-content {
    padding-top: 72px;
  }

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

  .alphabet {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

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

  .methodology__image {
    max-height: 320px;
  }

  .journal-cta {
    grid-template-columns: auto 1fr;
  }

  .journal-cta > a {
    grid-column: 2;
    justify-self: start;
  }

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

@media (max-width: 560px) {
  .night-hero {
    min-height: 720px;
    background-position: 56% center;
  }

  .brand__mark {
    width: 46px;
    height: 46px;
  }

  .brand__mark img {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 22px;
  }

  .hero-content h1 {
    max-width: 460px;
    font-size: 50px;
  }

  .hero-content > p {
    font-size: 15px;
  }

  .search-box {
    min-height: 62px;
    padding-left: 16px;
    border-radius: 14px;
  }

  .search-box input {
    height: 44px;
    font-size: 17px;
  }

  .search-box > button {
    min-width: 50px;
    min-height: 48px;
    padding-inline: 14px;
  }

  .search-box > button span {
    display: none;
  }

  .quick-categories > div {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 3px 2px 8px;
    scrollbar-width: none;
  }

  .quick-categories > div::-webkit-scrollbar {
    display: none;
  }

  .quick-categories a {
    flex: 0 0 auto;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .section-heading h2,
  .methodology h2 {
    font-size: 38px;
  }

  .alphabet {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

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

  .symbol-card__body p {
    min-height: 0;
  }

  .reading-surface .symbol-grid .post-card__body p {
    min-height: 0;
  }

  .latest-list article {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding: 16px;
  }

  .latest-list__icon {
    width: 48px;
    height: 48px;
  }

  .latest-list time {
    grid-column: 2;
    font-size: 13px;
  }

  .latest-list__arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .methodology__content {
    padding: 34px 24px;
  }

  .journal-cta {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .journal-cta > a {
    grid-column: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 12px 18px;
    padding: 18px 0;
  }

  .footer-bottom span {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* WordPress layouts */

.admin-bar .site-shell {
  min-height: calc(100vh - 32px);
}

.night-hero--compact {
  min-height: auto;
  background-position: center 42%;
}

.night-hero--compact .site-header {
  border-bottom: 0;
}

.custom-logo-link {
  display: contents;
}

.footer-grid ul {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.screen-reader-text:focus {
  width: auto;
  height: auto;
  z-index: 100000;
  top: 16px;
  left: 16px;
  padding: 12px 18px;
  clip: auto !important;
  color: var(--night);
  background: #ffffff;
}

.breadcrumbs {
  padding-top: 24px;
  color: #767786;
  font-size: 12px;
}

.breadcrumbs a {
  color: var(--violet-dark);
}

.archive-hero,
.article-header,
.page-header {
  padding-top: 48px;
  padding-bottom: 34px;
}

.archive-hero h1,
.article-header h1,
.page-header h1,
.not-found h1 {
  max-width: 950px;
  margin: 8px 0 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 72px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.archive-hero > p,
.page-header > p {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.archive-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding-bottom: 26px;
}

.archive-tools .search-box {
  width: 100%;
  margin: 0;
  border-color: #d7d2cb;
  box-shadow: none;
}

.archive-tools__count {
  color: var(--ink-soft);
  font-size: 13px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 54px;
}

.post-card {
  overflow: hidden;
  border: 1px solid #e2ddd6;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 10px 34px rgba(17, 25, 54, 0.05);
}

.post-card__body {
  padding: 20px;
}

.post-card__meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #747583;
  font-size: 11px;
}

.post-card h2,
.post-card h3 {
  margin: 8px 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.05;
  font-weight: 600;
}

.post-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.navigation.pagination {
  padding-bottom: 62px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0 13px;
  border: 1px solid #ddd8d0;
  border-radius: 9px;
  background: var(--paper);
}

.page-numbers.current {
  border-color: var(--violet);
  color: #ffffff;
  background: var(--violet);
}

.article-header {
  max-width: 880px;
}

.article-meta {
  align-items: center;
  margin-top: 18px;
  font-size: 12px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) 280px;
  gap: 54px;
  align-items: start;
  padding-bottom: 70px;
}

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

.entry-content {
  color: #2e3142;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.82;
}

.entry-content > * {
  max-width: 100%;
}

.entry-content h2,
.entry-content h3 {
  scroll-margin-top: 24px;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
}

.entry-content h2 {
  margin: 2em 0 0.6em;
  font-size: 40px;
}

.entry-content h3 {
  margin: 1.65em 0 0.55em;
  font-size: 31px;
}

.entry-content a {
  color: var(--violet-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.entry-content img {
  height: auto;
  border-radius: 14px;
}

.tseison-summary,
.tseison-toc,
.article-note {
  margin: 0 0 28px;
  padding: 24px;
  border: 1px solid #d7d0e6;
  border-radius: 14px;
  background: #f2eff8;
}

.tseison-summary h2,
.tseison-toc h2 {
  margin: 0 0 12px;
  font-size: 29px;
}

.tseison-summary ul,
.tseison-toc ol {
  margin: 0;
  padding-left: 22px;
}

.tseison-summary li,
.tseison-toc li {
  margin: 6px 0;
}

.article-sidebar {
  position: sticky;
  top: 24px;
}

.sidebar-card {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid #e0dad2;
  border-radius: 14px;
  background: var(--paper);
}

.sidebar-card h2,
.related-posts h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.05;
}

.sidebar-card p,
.sidebar-card li {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.sidebar-card ul {
  margin: 0;
  padding-left: 18px;
}

.related-posts {
  padding-bottom: 66px;
}

.related-posts > h2 {
  margin-bottom: 22px;
  font-size: 40px;
}

.page-content,
.not-found {
  max-width: 840px;
  padding-top: 44px;
  padding-bottom: 74px;
}

.page-content {
  font-size: 17px;
  line-height: 1.75;
}

.tseison-journal,
.tseison-builder {
  display: grid;
  gap: 20px;
}

.tseison-tool-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid #ded8cf;
  border-radius: 16px;
  background: var(--paper);
}

.tseison-tool-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.tseison-tool-form input,
.tseison-tool-form textarea,
.tseison-tool-form select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #cbc5bc;
  border-radius: 9px;
  color: var(--ink);
  background: #ffffff;
}

.tseison-tool-form textarea {
  min-height: 130px;
  resize: vertical;
}

.tseison-tool-form .is-wide {
  grid-column: 1 / -1;
}

.tseison-tool-form button,
.button-primary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  padding: 0 20px;
  border-radius: 10px;
  color: #ffffff;
  background: var(--violet);
  font-weight: 700;
  cursor: pointer;
}

.dream-entry {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #ded8cf;
  border-radius: 12px;
  background: var(--paper);
}

.dream-entry button {
  min-height: 44px;
  justify-self: start;
  color: #822b37;
  background: transparent;
  cursor: pointer;
}

.no-results {
  padding: 38px;
  border: 1px solid #ded8cf;
  border-radius: 14px;
  background: var(--paper);
}

@media (max-width: 980px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-sidebar {
    position: static;
  }

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

@media (max-width: 600px) {
  .archive-tools,
  .post-grid,
  .tseison-tool-form {
    grid-template-columns: 1fr;
  }

  .archive-hero h1,
  .article-header h1,
  .page-header h1 {
    font-size: 46px;
  }

  .entry-content {
    font-size: 17px;
  }

  .entry-content h2 {
    font-size: 34px;
  }

  .entry-content h3 {
    font-size: 27px;
  }

  .tseison-tool-form .is-wide {
    grid-column: 1;
  }
}

/* Version 1.1: compact navigation, text-first cards and visible dream tools */

.site-header {
  grid-template-columns: minmax(190px, auto) minmax(0, 1fr) auto;
  gap: clamp(18px, 2.4vw, 34px);
}

.site-header > .brand {
  min-width: 190px;
}

.primary-nav {
  min-width: 0;
  gap: 0;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 25px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav li {
  margin: 0;
}

.primary-nav a {
  white-space: nowrap;
}

.dream-tools {
  padding-top: 58px;
}

.dream-tools__heading {
  align-items: end;
}

.dream-tools__heading > div {
  max-width: 820px;
}

.dream-tools__heading p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

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

.dream-tool-card {
  min-height: 360px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 22px;
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid #cec5e3;
  border-radius: 22px;
  background: linear-gradient(145deg, #f8f5fd 0%, #eee9f8 100%);
  box-shadow: 0 16px 44px rgba(40, 35, 78, 0.08);
}

.dream-tool-card--builder {
  border-color: #d8c99e;
  background: linear-gradient(145deg, #fffdf7 0%, #f5eddb 100%);
}

.dream-tool-card__icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #ffffff;
  background: var(--violet);
  box-shadow: 0 10px 24px rgba(106, 85, 169, 0.24);
}

.dream-tool-card--builder .dream-tool-card__icon {
  color: var(--night);
  background: #e9c875;
  box-shadow: 0 10px 24px rgba(169, 133, 51, 0.2);
}

.dream-tool-card__icon .dashicons {
  width: 32px;
  height: 32px;
  font-size: 32px;
}

.dream-tool-card__label {
  display: block;
  margin-bottom: 7px;
  color: var(--violet-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.dream-tool-card--builder .dream-tool-card__label {
  color: #725b25;
}

.dream-tool-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(36px, 3.4vw, 48px);
  line-height: 1;
  font-weight: 600;
}

.dream-tool-card p {
  margin: 15px 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.dream-tool-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.dream-tool-card li {
  padding: 6px 10px;
  border: 1px solid rgba(77, 63, 124, 0.14);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.dream-tool-card__button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 11px;
  color: #ffffff;
  background: var(--violet);
  font-size: 13px;
  font-weight: 800;
}

.dream-tool-card--builder .dream-tool-card__button {
  color: #ffffff;
  background: var(--night);
}

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

.post-card {
  position: relative;
}

.post-card::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--violet), #cab77a);
}

.post-card__body,
.reading-surface .symbol-grid .post-card__body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.reading-surface .symbol-grid .post-card h3 {
  font-size: 30px;
  line-height: 1.05;
}

.post-card p,
.symbol-card__body p,
.reading-surface .symbol-grid .post-card__body p {
  min-height: 0;
  margin-bottom: 22px;
  font-size: 13px;
  line-height: 1.65;
}

.post-card .text-link {
  margin-top: auto;
}

.page-content--tool {
  max-width: 1040px;
}

@media (max-width: 1100px) {
  .site-header > .brand {
    min-width: 0;
  }

  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .primary-nav a {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .dream-tools__grid {
    grid-template-columns: 1fr;
  }

  .dream-tool-card {
    min-height: 0;
  }

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

@media (max-width: 560px) {
  .primary-nav ul,
  .symbol-grid {
    grid-template-columns: 1fr;
  }

  .dream-tool-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
  }

  .dream-tool-card__icon {
    width: 58px;
    height: 58px;
  }
}
