:root {
  --bg: #0a0910;
  --bg-2: #13111c;
  --text: #f1e6cf;
  --muted: #c9b89a;
  --line: rgba(204, 168, 103, 0.2);
  --line-strong: rgba(214, 181, 120, 0.36);
  --accent: #d7b06f;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
  background:
    linear-gradient(180deg, #09080d 0%, #0d0c13 48%, #09080d 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(216, 177, 112, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 177, 112, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black, transparent 90%);
}

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

.page-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  margin-bottom: 26px;
  padding: 12px 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 8, 13, 0.94);
  backdrop-filter: blur(12px);
}

.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.site-header__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex: 1 1 auto;
  width: 100%;
}

.site-header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(16, 14, 22, 0.9);
  color: var(--text);
  cursor: pointer;
}

.site-header__toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-footer {
  margin-top: 56px;
  padding: 28px 0 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: none;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.brand strong {
  display: block;
  font-family: "Cinzel", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.95rem;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.brand--footer {
  max-width: 420px;
}

.nav {
  flex: 1 1 340px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.98rem;
}

.site-search {
  flex: 0 1 360px;
  position: relative;
  width: min(100%, 360px);
  margin-left: auto;
}

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

.site-search__field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(216, 177, 112, 0.14);
  background: rgba(14, 13, 20, 0.48);
}

.site-search__field:focus-within {
  border-color: rgba(216, 177, 112, 0.34);
  box-shadow: 0 0 0 1px rgba(216, 177, 112, 0.08);
}

.site-search__icon,
.site-search__clear {
  flex: 0 0 auto;
  color: var(--accent);
}

.site-search__icon {
  font-size: 1rem;
}

.site-search__clear {
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.site-search__input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 14px 0;
  color: var(--text);
  background: transparent;
  font-size: 0.98rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-search__input::placeholder {
  color: rgba(201, 184, 154, 0.7);
}

.site-search__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  max-height: min(70vh, 620px);
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(216, 177, 112, 0.24);
  background: linear-gradient(180deg, rgba(17, 16, 24, 0.98), rgba(11, 10, 16, 0.98));
  box-shadow: var(--shadow);
}

.site-search__hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.site-search__results {
  display: grid;
  gap: 10px;
}

.site-search__result {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(216, 177, 112, 0.14);
  background: rgba(20, 18, 28, 0.76);
}

.site-search__result:hover,
.site-search__result:focus-visible {
  border-color: rgba(216, 177, 112, 0.34);
  background: rgba(25, 22, 34, 0.92);
}

.breadcrumbs {
  margin-bottom: 18px;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  color: rgba(216, 177, 112, 0.42);
}

.breadcrumbs__link {
  transition: color 180ms ease;
}

.breadcrumbs__link:hover,
.breadcrumbs__link:focus-visible {
  color: var(--text);
}

.breadcrumbs__current {
  color: var(--text);
}

.site-search__thumb {
  width: 64px;
  height: 92px;
  object-fit: cover;
  border: 1px solid rgba(216, 177, 112, 0.16);
  background: rgba(8, 7, 12, 0.9);
}

.site-search__content {
  min-width: 0;
}

.site-search__meta {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-search__title {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
}

.site-search__subtitle,
.site-search__excerpt {
  margin: 0;
  color: var(--muted);
}

.site-search__subtitle {
  font-size: 0.9rem;
}

.site-search__excerpt {
  margin-top: 8px;
  font-size: 0.94rem;
  line-height: 1.55;
}

.nav a:hover,
.footer-nav a:hover { color: var(--text); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 20px;
  color: var(--muted);
}

.hero,
.page-intro,
.daily-card,
.card-meta,
.card-visual,
.author-photo-box {
  position: relative;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 13, 20, 0.94), rgba(10, 9, 15, 0.96));
  box-shadow: none;
}

.hero,
.page-intro {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.95fr);
  gap: 36px;
  padding: 32px 0 28px;
  min-height: 78vh;
}

.hero.compact {
  min-height: auto;
  grid-template-columns: 1.15fr 0.85fr;
}

.hero-copy {
  align-self: center;
}

.hero-copy h1,
.page-intro h1 {
  margin: 0 0 18px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.3vw, 3.2rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  width: 100%;
}

.page-intro {
  padding: 28px 0 22px;
}

.page-intro--card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.page-intro__main {
  min-width: 0;
}

.page-intro__aside {
  display: flex;
  justify-content: flex-end;
}

.intro-note {
  width: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(12, 11, 17, 0.9);
}

.intro-note strong {
  display: block;
  margin: 10px 0 16px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.3rem;
}

.intro-note__subtitle {
  margin: -10px 0 14px;
  color: var(--muted);
  font-style: italic;
}

.intro-note__list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.intro-note__list span {
  color: var(--text);
}

.page-intro h1 {
  max-width: none;
  font-size: clamp(1.95rem, 3.1vw, 3rem);
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent);
}

.lead,
.ribbon p,
.hero-note p,
.index-link__body span,
.editorial-row__copy p,
.text-band p,
.text-band li,
.meta-list dd,
.daily-card span {
  color: var(--muted);
  line-height: 1.85;
}

.lead {
  max-width: 62ch;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 2px;
  border: 1px solid var(--line);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  font-weight: 700;
}

.button:hover,
.tarot-card:hover,
.editorial-row:hover,
.index-link:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: #d8b26f;
  color: #17120d;
  border-color: #d8b26f;
}

.button-secondary {
  background: transparent;
}

.pagination-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pagination-bar__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 2px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.pagination-bar__link:hover {
  transform: translateY(-2px);
  color: var(--text);
  border-color: rgba(216, 177, 112, 0.42);
}

.pagination-bar__link.is-current {
  color: #17120d;
  border-color: #d8b26f;
  background: #d8b26f;
}

.utility-page {
  padding-bottom: 4rem;
}

.utility-layout,
.sitemap-grid {
  display: grid;
  gap: 24px;
}

.utility-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
}

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

.utility-card {
  position: relative;
  padding: 28px;
  border-top: 1px solid rgba(216, 177, 112, 0.24);
  background: rgba(11, 10, 16, 0.94);
  box-shadow: none;
}

.utility-card > * {
  position: relative;
  z-index: 1;
}

.utility-card h2 {
  margin: 6px 0 14px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.7rem, 2vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.utility-card a {
  color: var(--accent);
}

.utility-card .bullet-list {
  margin-top: 10px;
}

.utility-card .bullet-list li {
  line-height: 1.7;
}

.utility-card--form .eyebrow {
  margin-bottom: 8px;
}

.feedback-form {
  display: grid;
  gap: 16px;
}

.feedback-form__field {
  display: grid;
  gap: 8px;
}

.feedback-form__field span {
  color: var(--muted);
  font-size: 0.95rem;
}

.feedback-form__field input,
.feedback-form__field select,
.feedback-form__field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 2px;
  border: 1px solid rgba(216, 177, 112, 0.18);
  background: rgba(8, 8, 13, 0.92);
  color: var(--text);
  font: inherit;
}

.feedback-form__field textarea {
  resize: vertical;
  min-height: 180px;
}

.feedback-form__field input:focus,
.feedback-form__field select:focus,
.feedback-form__field textarea:focus {
  outline: none;
  border-color: rgba(216, 177, 112, 0.58);
  box-shadow: 0 0 0 3px rgba(216, 177, 112, 0.08);
}

.feedback-form__actions {
  display: grid;
  gap: 10px;
}

.feedback-form__note {
  margin: 0;
  color: var(--muted);
}

.feedback-form__success {
  padding: 14px 16px;
  border-radius: 2px;
  border: 1px solid rgba(112, 184, 117, 0.34);
  background: rgba(80, 130, 66, 0.18);
  color: #dbf0d2;
}

.feedback-form__error {
  padding: 14px 16px;
  border-radius: 2px;
  border: 1px solid rgba(208, 122, 106, 0.34);
  background: rgba(122, 56, 46, 0.18);
  color: #f1d0c7;
}

.sitemap-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.sitemap-list li::marker {
  color: rgba(216, 177, 112, 0.88);
}

.hero-stage {
  position: relative;
  min-height: 620px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(215, 176, 111, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(19, 18, 27, 0.96), rgba(8, 8, 12, 0.98));
  overflow: hidden;
}

.hero-stage::before,
.hero-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(216, 177, 112, 0.18);
  transform: translate(-50%, -50%);
}

.hero-stage::before {
  width: 520px;
  height: 520px;
}

.hero-stage::after {
  width: 700px;
  height: 700px;
}

.hero-stage__card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(320px, 64%);
  transform: translate(-50%, -50%) rotate(-4deg);
  z-index: 3;
}

.hero-note {
  position: absolute;
  z-index: 4;
  width: 240px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 16, 0.78);
}

.hero-note strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 1.1rem;
}

.hero-note--top {
  top: 24px;
  right: 24px;
}

.hero-note--bottom {
  left: 24px;
  bottom: 24px;
}

.ribbon {
  margin-top: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ribbon p { margin: 0; }

.section,
.card-layout {
  margin-top: 34px;
}

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

.section-heading h2,
.text-band h2 {
  margin: 8px 0 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  line-height: 1.08;
}

.index-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.index-link {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: transform 180ms ease;
}

.index-link:nth-child(odd) {
  padding-right: 28px;
}

.index-link:nth-child(even) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.index-link__number {
  color: rgba(216, 177, 112, 0.78);
  font-size: 1.8rem;
  line-height: 1;
}

.index-link__body strong {
  display: block;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.12;
  margin-bottom: 6px;
}

.editorial-rows {
  display: grid;
  gap: 40px;
}

.media-page {
  max-width: 1240px;
}

.media-intro {
  max-width: none;
}

.media-feed {
  margin-top: 22px;
}

.media-rows {
  display: grid;
  gap: 22px;
}

.media-row {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid rgba(216, 177, 112, 0.18);
}

.media-row:last-child {
  border-bottom: 1px solid rgba(216, 177, 112, 0.18);
}

.media-row__visual {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(216, 177, 112, 0.18);
  background: rgba(18, 17, 26, 0.9);
}

.media-row__image {
  display: block;
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
}

.media-row__copy h3 {
  margin: 10px 0 10px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: clamp(1.28rem, 1.9vw, 1.8rem);
  line-height: 1.08;
  width: 100%;
}

.media-row__meta {
  margin: 0 0 10px;
  color: rgba(216, 177, 112, 0.82);
  font-size: 0.9rem;
}

.media-row__copy p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.85;
}

.media-row__more {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.editorial-row {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 8px 0 18px;
  border-top: 1px solid rgba(216, 177, 112, 0.18);
  transition: transform 180ms ease;
}

.editorial-row:last-child {
  border-bottom: 1px solid rgba(216, 177, 112, 0.18);
}

.editorial-row--right {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
}

.editorial-row--right .editorial-row__visual {
  order: 2;
}

.editorial-row__copy h3 {
  margin: 10px 0 6px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 1.95vw, 1.85rem);
  line-height: 1.08;
  width: 100%;
}

.card-meta-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(216, 177, 112, 0.18);
}

.card-meta-strip__item {
  display: grid;
  gap: 6px;
  align-content: start;
}

.card-meta-strip__label {
  color: rgba(216, 177, 112, 0.82);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-meta-strip__item strong {
  font-size: 1rem;
  line-height: 1.35;
}

.editorial-row__subtitle {
  margin: 0 0 12px;
  color: rgba(216, 177, 112, 0.8);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.tarot-card {
  display: block;
  transition: transform 180ms ease;
}

.tarot-card--flip {
  perspective: 1400px;
}

.tarot-card__frame {
  position: relative;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 233, 186, 0.12), rgba(89, 65, 24, 0.16)),
    linear-gradient(180deg, rgba(29, 27, 20, 0.95), rgba(15, 14, 11, 0.95));
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 0 1px rgba(255, 232, 182, 0.12), 0 20px 60px rgba(0, 0, 0, 0.35);
}

.tarot-card__frame--flip {
  overflow: visible;
}

.tarot-card__inner {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 3s cubic-bezier(0.22, 0.8, 0.2, 1);
}

.tarot-card--flip.is-flipped .tarot-card__inner {
  transform: rotateY(180deg);
}

.tarot-card--flip {
  cursor: pointer;
}

.tarot-card__frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(216, 177, 112, 0.35);
  pointer-events: none;
}

.tarot-card__face {
  display: block;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.tarot-card__face--back,
.tarot-card__face--front {
  width: 100%;
}

.tarot-card__face--back {
  position: absolute;
  inset: 0;
}

.tarot-card__face--front {
  transform: rotateY(180deg);
}

.tarot-card__image,
.author-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.tarot-card__image {
  aspect-ratio: 2 / 3;
}

.tarot-card__image--back {
  filter: saturate(0.95) contrast(1.04);
}

.card-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(250px, 340px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.article-page {
  max-width: 1180px;
}

.article-shell {
  max-width: 1080px;
  margin: 0 auto;
}

.article-header {
  display: block;
  padding: 30px 0 18px;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  margin: 14px 0 18px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.05;
  width: 100%;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  color: rgba(216, 177, 112, 0.82);
  font-size: 0.92rem;
}

.article-meta span {
  padding-right: 14px;
  border-right: 1px solid rgba(216, 177, 112, 0.22);
}

.article-meta span:last-child {
  padding-right: 0;
  border-right: 0;
}

.article-meta--top {
  margin-bottom: 4px;
  color: rgba(216, 177, 112, 0.9);
}

.article-header .lead {
  max-width: 52rem;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.article-cover {
  position: relative;
  display: grid;
  place-items: center;
  margin: 28px 0 34px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(216, 177, 112, 0.18);
  background: rgba(18, 17, 26, 0.9);
}

.article-cover::before,
.article-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.article-cover::before {
  background-image: var(--cover-image);
  background-position: center;
  background-size: cover;
  filter: blur(28px) saturate(0.8) brightness(0.55);
  transform: scale(1.08);
  opacity: 0.78;
}

.article-cover::after {
  background:
    linear-gradient(180deg, rgba(9, 8, 14, 0.18), rgba(9, 8, 14, 0.26)),
    radial-gradient(circle at center, transparent 45%, rgba(9, 8, 14, 0.42) 100%);
}

.article-cover__image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
}

.article-body {
  max-width: 760px;
}

.article-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  gap: 42px;
  align-items: start;
}

.article-toc {
  position: sticky;
  top: 110px;
  padding: 18px 18px 18px 0;
  border-right: 1px solid rgba(216, 177, 112, 0.18);
}

.article-toc h2 {
  margin: 8px 0 14px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.article-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.6;
  display: grid;
  gap: 10px;
}

.article-toc__list a {
  display: block;
  padding: 7px 14px;
  border-left: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease, padding 180ms ease, background 180ms ease;
}

.article-toc__list a.is-active {
  color: var(--text);
  border-left-color: rgba(216, 177, 112, 0.46);
  background: rgba(216, 177, 112, 0.08);
  padding-left: 18px;
}

.article-toc__list a:hover,
.article-meta a:hover {
  color: var(--text);
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
}

.article-actions--header {
  margin: 0 0 8px;
}

.article-actions--bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(216, 177, 112, 0.14);
  display: block;
}

.article-actions__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: auto;
}

.article-rating-summary {
  display: grid;
  gap: 2px;
  align-content: center;
}

.article-rating-summary strong {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}

.article-rating-summary span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.article-crosslinks {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(216, 177, 112, 0.18);
}

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

.article-next-card {
  display: grid;
  gap: 12px;
  align-content: start;
  transition: transform 180ms ease;
}

.article-next-card:hover {
  transform: translateY(-2px);
}

.article-next-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(216, 177, 112, 0.18);
  background: rgba(18, 17, 26, 0.92);
}

.article-next-card__title {
  display: block;
  font-family: "Alegreya", Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--text);
}

.article-rating,
.article-share {
  display: grid;
  gap: 8px;
}

.article-rating__buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.rating-button,
.share-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(216, 177, 112, 0.18);
  border-radius: 999px;
  background: rgba(18, 17, 26, 0.78);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.rating-button:hover,
.share-button:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 177, 112, 0.5);
}

.rating-button.is-active {
  border-color: rgba(216, 177, 112, 0.7);
  background: rgba(53, 39, 18, 0.92);
}

.rating-button {
  display: grid;
  grid-template-columns: 38px minmax(72px, 1fr) 20px;
  align-items: center;
  width: 172px;
  padding: 8px 14px 8px 10px;
  gap: 12px;
}

.rating-button__medallion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(216, 177, 112, 0.3);
  background:
    radial-gradient(circle at 30% 30%, rgba(216, 177, 112, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(34, 28, 22, 0.95), rgba(18, 17, 26, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 241, 214, 0.06);
}

.rating-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  line-height: 1;
  color: var(--accent);
}

.rating-button__icon svg {
  width: 100%;
  height: 100%;
}

.rating-button__label {
  display: inline-flex;
  align-items: center;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  position: relative;
  top: -1px;
}

.rating-button__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  position: relative;
  top: -1px;
}

.rating-button.is-active .rating-button__medallion {
  border-color: rgba(216, 177, 112, 0.6);
  background:
    radial-gradient(circle at 30% 30%, rgba(216, 177, 112, 0.22), transparent 56%),
    linear-gradient(180deg, rgba(68, 50, 25, 0.95), rgba(28, 22, 12, 0.96));
}

.rating-button.is-active .rating-button__count,
.rating-button.is-active .rating-button__label {
  color: var(--text);
}

.share-button {
  padding: 0 15px;
}

.share-button--primary {
  background: rgba(216, 177, 112, 0.14);
  border-color: rgba(216, 177, 112, 0.42);
}

.share-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(216, 177, 112, 0.12);
  color: var(--accent);
  font-size: 0.76rem;
  line-height: 1;
}

.article-author-inline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  min-width: 0;
}

.article-author-inline__image {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.article-author-inline__body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.article-author-inline__body strong {
  font-size: 1rem;
}

.article-author-inline__body span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.article-section {
  margin-top: 28px;
}

.article-section:first-child {
  margin-top: 0;
}

.article-section h2 {
  margin: 0 0 16px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  line-height: 1.14;
}

.article-section p {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 1.06rem;
  line-height: 1.86;
}

.article-section p:last-child {
  margin-bottom: 0;
}

.article-section__label {
  margin: 22px 0 10px;
  color: rgba(216, 177, 112, 0.92);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
}

.article-aside {
  margin: 22px 0;
  padding: 18px 22px;
  border-left: 2px solid rgba(216, 177, 112, 0.5);
  background: rgba(18, 17, 26, 0.78);
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.article-author-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(216, 177, 112, 0.18);
}

.article-author-card__image {
  display: block;
  width: 108px;
  height: 128px;
  object-fit: cover;
  border: 1px solid rgba(216, 177, 112, 0.18);
  background: rgba(18, 17, 26, 0.9);
}

.article-author-card__body h2 {
  margin: 6px 0 10px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.4rem;
}

.article-author-card__body p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.78;
}

.article-author-card__link {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-size: 0.95rem;
}

.card-visual,
.card-meta {
  padding: 26px;
}

.card-content {
  display: grid;
  gap: 18px;
}

.meta-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.meta-list div {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.meta-list dt {
  margin-bottom: 6px;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
}

.meta-list dd { margin: 0; }

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

.two-column--author {
  align-items: start;
}

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

.context-card {
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 18, 28, 0.94), rgba(11, 10, 16, 0.94));
  box-shadow: var(--shadow);
}

.context-card h3 {
  margin: 10px 0 12px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.45rem;
}

.context-card__intro {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.8;
}

.context-card__grid {
  display: grid;
  gap: 14px;
}

.context-card__side {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.context-card__side strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.95rem;
}

.context-card__side p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.author-photo-box {
  padding: 10px;
  overflow: hidden;
}

.author-photo {
  aspect-ratio: 1 / 1.1;
  object-position: center top;
}

.text-band {
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.bullet-list {
  margin: 16px 0 0;
  padding-left: 20px;
}

.daily-card {
  padding: 22px;
  text-align: center;
}

.daily-card strong {
  display: block;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.28rem;
  margin: 8px 0;
}

.tarot-card--daily {
  max-width: 260px;
  margin: 0 auto 18px;
}

.card-day-shell {
  padding: 28px 0 12px;
}

.card-day-header {
  text-align: center;
  margin-bottom: 34px;
}

.card-day-header h1 {
  margin: 10px 0 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: var(--text);
}

.card-day-intro,
.card-day-result,
.card-day-share,
.card-day-benefits {
  position: relative;
  border: 1px solid rgba(216, 177, 112, 0.18);
  border-radius: 2px;
  background:
    radial-gradient(circle at top left, rgba(216, 177, 112, 0.08), transparent 24%),
    radial-gradient(circle at 85% 18%, rgba(216, 177, 112, 0.06), transparent 18%),
    linear-gradient(180deg, rgba(18, 17, 26, 0.95), rgba(10, 10, 15, 0.97));
  color: var(--text);
  box-shadow: var(--shadow);
}

.card-day-intro::before,
.card-day-result::before,
.card-day-share::before,
.card-day-benefits::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(214, 181, 120, 0.14);
  border-radius: 2px;
  pointer-events: none;
}

.card-day-intro {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 44px;
  padding: 28px;
}

.card-day-intro__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-day-deck {
  position: relative;
  width: min(100%, 350px);
  overflow: hidden;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(216, 177, 112, 0.26);
}

.card-day-deck__image {
  display: block;
  width: 100%;
  height: auto;
}

.card-day-deck.shuffle-glow {
  animation: cardDayDeckGlow 1.2s ease-in-out infinite alternate;
}

.card-day-deck.shuffle-deck {
  animation: cardDayDeckShake 0.16s ease-in-out infinite;
}

.shuffle-animation-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.flying-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  aspect-ratio: 2 / 3;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  border: 1px solid rgba(216, 177, 112, 0.32);
  transform: translate(-50%, -50%);
  animation: cardDayFly 1.3s ease-in-out forwards;
  opacity: 0;
}

.card-day-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid rgba(216, 177, 112, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, #d8b26f, #9f7338);
  color: #17120d;
  font: inherit;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.card-day-button:hover,
.card-day-share__button:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.card-day-button--shuffle {
  margin-top: 22px;
}

.card-day-button--learn {
  align-self: flex-start;
  margin-top: 6px;
}

.card-day-phrase {
  min-height: 2.2em;
  margin: 16px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.card-day-start[hidden],
.card-day-grid-section[hidden],
.card-day-overlay[hidden],
.card-day-result[hidden] {
  display: none !important;
}

.card-day-start {
  margin-top: 18px;
}

.card-day-intro__copy h2,
.card-day-intro__copy h3,
.card-day-result__title,
.card-day-result__heading,
.card-day-share h3,
.card-day-benefits h3,
.card-day-benefit h4 {
  font-family: "Cinzel", Georgia, serif;
  color: var(--text);
}

.card-day-intro__copy h2 {
  margin: 6px 0 18px;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.15;
}

.card-day-intro__copy h3 {
  margin: 28px 0 12px;
  font-size: 1.75rem;
}

.card-day-intro__copy p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.1rem;
}

.card-day-grid-section {
  margin-top: 34px;
}

.card-day-grid-section h3 {
  margin: 0 0 22px;
  text-align: center;
  font-family: "Cinzel", Georgia, serif;
  font-size: 2rem;
  color: var(--text);
}

.card-day-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 22px;
  justify-items: center;
}

.card-back-container {
  width: min(100%, 120px);
}

.card-back {
  display: block;
  width: 100%;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.card-back:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.36), 0 0 22px rgba(216, 177, 112, 0.12);
  filter: brightness(1.03);
}

.card-day-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 6, 10, 0.82);
  backdrop-filter: blur(4px);
  overflow: hidden;
}

.card-day-particles {
  position: absolute;
  inset: 0;
}

.card-day-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 228, 160, 0.72);
  box-shadow: 0 0 16px rgba(255, 211, 107, 0.9);
  animation: cardDayParticle 6s ease-in-out infinite;
}

.card-day-overlay__card {
  position: relative;
  width: min(340px, 68vw);
  perspective: 1200px;
}

.card-day-overlay__glow {
  position: absolute;
  inset: -18px;
  border-radius: 30px;
  background: radial-gradient(circle, rgba(255, 212, 105, 0.36), transparent 65%);
  opacity: 0;
  transition: opacity 500ms ease;
}

.card-day-overlay__card.show .card-day-overlay__glow,
.card-day-overlay__card.glow .card-day-overlay__glow {
  opacity: 1;
}

.card-day-overlay__inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card-day-overlay__inner.card-flip-active,
#card-flip-inner.card-flip-active {
  transform: rotateY(180deg);
}

.card-day-overlay__face {
  backface-visibility: hidden;
}

.card-day-overlay__face img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 26px 40px rgba(0, 0, 0, 0.34);
}

.card-day-overlay__face--back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
}

.card-day-result {
  margin-top: 34px;
  padding: 30px;
}

.card-day-result__heading {
  margin: 0 0 22px;
  text-align: center;
  font-size: 2.6rem;
}

.card-day-result__main {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.card-day-result__image-wrap {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(216, 177, 112, 0.18);
}

.card-day-result__image {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 500ms ease, opacity 400ms ease;
}

.card-day-result__image.flipped {
  transform: rotate(180deg);
}

.card-day-result__image.card-reveal {
  animation: cardDayReveal 600ms ease;
}

.card-day-result__title {
  margin: 6px 0 18px;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.card-day-position,
.card-day-meaning,
.card-day-personal {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(216, 177, 112, 0.14);
}

.card-day-position {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  margin-bottom: 22px;
  border-left: 4px solid #48b45a;
  font-weight: 700;
  color: var(--text);
}

.card-day-position.reversed {
  border-left-color: #c8854e;
}

.card-day-meaning-block__title,
.card-day-personal h3 {
  margin: 0 0 12px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.4rem;
  color: var(--text);
}

.card-day-meaning {
  padding: 18px 20px;
  margin-bottom: 22px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.06rem;
}

.card-day-personal {
  padding: 18px 20px;
  margin-bottom: 22px;
}

.card-day-personal div {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.06rem;
}

.card-day-share,
.card-day-benefits {
  margin-top: 28px;
  padding: 24px 28px;
}

.card-day-share h3,
.card-day-benefits h3 {
  margin: 0 0 18px;
  text-align: center;
  font-size: 2rem;
}

.card-day-share__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.card-day-share__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-day-share__button--vk { background: #4c75a3; }
.card-day-share__button--telegram { background: #078fd8; }
.card-day-share__button--whatsapp { background: #2ecb63; }

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

.card-day-benefit {
  padding: 24px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(216, 177, 112, 0.12);
  text-align: center;
}

.card-day-benefit__icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.card-day-benefit h4 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.card-day-benefit p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

@keyframes cardDayReveal {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cardDayParticle {
  0%, 100% { transform: translateY(0) scale(0.9); opacity: 0.15; }
  40% { opacity: 0.9; }
  50% { transform: translateY(-16px) scale(1.2); opacity: 1; }
}

@keyframes cardDayDeckGlow {
  from { box-shadow: 0 18px 40px rgba(102, 54, 20, 0.24), 0 0 0 rgba(255, 220, 127, 0.1); }
  to { box-shadow: 0 22px 56px rgba(102, 54, 20, 0.28), 0 0 38px rgba(255, 220, 127, 0.38); }
}

@keyframes cardDayDeckShake {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  25% { transform: translate(-2px, 1px) rotate(-1deg); }
  50% { transform: translate(2px, -1px) rotate(1deg); }
  75% { transform: translate(-1px, 1px) rotate(-0.8deg); }
}

@keyframes cardDayFly {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) scale(0.82); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + 120px), calc(-50% - 60px)) rotate(18deg) scale(1.08); }
}

@media (max-width: 1120px) {
  .hero,
  .hero.compact,
  .card-layout,
  .page-intro--card,
  .context-grid,
  .article-layout,
  .media-row,
  .editorial-row,
  .editorial-row--right {
    grid-template-columns: 1fr;
  }

  .article-crosslinks__rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-actions--header {
    width: 100%;
  }

  .article-actions__tools {
    margin-left: 0;
  }

  .hero-copy h1,
  .page-intro h1 {
    max-width: none;
  }

  .index-list {
    grid-template-columns: 1fr;
  }

  .index-link:nth-child(odd),
  .index-link:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
  }

  .editorial-row--right .editorial-row__visual {
    order: initial;
  }
}

@media (max-width: 820px) {
  .page-shell { padding: 16px; }

  .site-header,
  .site-footer,
  .two-column {
    flex-direction: column;
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .site-header {
    gap: 0;
    padding: 10px 0 12px;
  }

  .site-header__toggle {
    display: inline-flex;
  }

  .site-header__panel {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: 100%;
    padding-top: 14px;
  }

  .site-header.is-open .site-header__panel {
    display: flex;
  }

  .site-header.is-open .site-header__toggle span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }

  .site-header.is-open .site-header__toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .site-header__toggle span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  .hero,
  .page-intro {
    padding: 18px;
  }

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

  .article-header h1,
  .media-row__copy h3 {
    max-width: none;
  }

  .article-toc {
    position: static;
    padding-top: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(216, 177, 112, 0.18);
    padding-bottom: 16px;
  }

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

  .article-author-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 18px;
  }

  .article-author-card__image {
    width: 88px;
    height: 104px;
  }

  .intro-note {
    padding: 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-stage {
    min-height: 460px;
  }

  .hero-stage::before {
    width: 340px;
    height: 340px;
  }

  .hero-stage::after {
    width: 470px;
    height: 470px;
  }

  .hero-stage__card {
    width: min(240px, 68%);
  }

  .hero-note {
    width: calc(100% - 32px);
    left: 16px;
    right: 16px;
  }

  .hero-note--top { top: 16px; }
  .hero-note--bottom { bottom: 16px; }

  .hero-copy h1,
  .page-intro h1 {
    font-size: clamp(1.95rem, 9.4vw, 3rem);
    line-height: 1;
  }

  .brand {
    width: auto;
    min-width: 0;
  }

  .brand strong {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
  }

  .brand small {
    font-size: 0.86rem;
  }

  .nav,
  .site-search {
    width: 100%;
  }

  .nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
  }

  .nav a {
    display: block;
    padding: 6px 0;
  }

  .site-search {
    margin-left: 0;
  }

  .site-search__panel {
    position: static;
    margin-top: 10px;
  }
}

@media (max-width: 560px) {
  .card-meta-strip {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .nav {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .article-header h1 {
    max-width: none;
  }

  .article-actions,
  .article-actions__tools,
  .article-rating__buttons,
  .article-share__buttons {
    width: 100%;
  }

  .rating-button,
  .share-button {
    width: 100%;
  }

  .article-author-card {
    grid-template-columns: 1fr;
  }

  .article-crosslinks__rail {
    grid-template-columns: 1fr;
  }

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

  .card-back-container {
    width: min(100%, 132px);
  }

  .site-search__result {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
  }

  .site-search__thumb {
    width: 52px;
    height: 76px;
  }
}

@media (max-width: 1120px) {
  .card-day-intro,
  .card-day-result__main,
  .card-day-benefits__grid {
    grid-template-columns: 1fr;
  }

  .card-day-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .utility-layout,
  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  .utility-card {
    padding: 22px;
    border-radius: 22px;
  }

  .card-day-shell {
    padding-top: 16px;
  }

  .card-day-intro,
  .card-day-result,
  .card-day-share,
  .card-day-benefits {
    padding: 20px;
  }

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

  .card-day-share__buttons {
    flex-direction: column;
    align-items: center;
  }

  .card-day-share__button {
    width: min(100%, 260px);
  }
}
