@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Inter:wght@400;500;600;700;800&family=Noto+Serif+SC:wght@400;500;600;700&display=swap");

:root {
  --black: #030403;
  --black-2: #070908;
  --black-3: #0d1110;
  --ink: #f4efe5;
  --muted: rgba(244, 239, 229, 0.66);
  --faint: rgba(244, 239, 229, 0.42);
  --line: rgba(244, 239, 229, 0.11);
  --line-strong: rgba(244, 239, 229, 0.2);
  --jade: #16302a;
  --jade-2: #31584d;
  --cinnabar: #9d4639;
  --gold: #d1a957;
  --bronze: #7f6742;
  --card: rgba(255, 255, 255, 0.045);
  --card-2: rgba(255, 255, 255, 0.075);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.52);
  --radius: 8px;
  --wide: 1240px;
  --display: "Inter", "Noto Serif SC", system-ui, sans-serif;
  --serif: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.55;
  background:
    radial-gradient(circle at 78% 8%, rgba(49, 88, 77, 0.2), transparent 32rem),
    radial-gradient(circle at 8% 34%, rgba(157, 70, 57, 0.12), transparent 24rem),
    linear-gradient(180deg, var(--black), var(--black-2) 42%, var(--black));
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 70%);
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.98;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 800;
}

h1 {
  max-width: 820px;
  font-size: 5.8rem;
}

h1 em,
h2 em {
  display: block;
  color: rgba(244, 239, 229, 0.64);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}

h2 {
  font-size: 3.05rem;
}

h3 {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.08;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

button,
input,
select,
textarea {
  font: inherit;
}

.wrap {
  width: min(var(--wide), calc(100vw - 64px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 18px;
  top: -48px;
  z-index: 100;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--black);
}

.skip-link:focus {
  top: 18px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: linear-gradient(180deg, rgba(3, 4, 3, 0.72), rgba(3, 4, 3, 0.28));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--wide), calc(100vw - 64px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand strong,
.footer-brand strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
}

.brand em,
.footer-brand em {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-style: normal;
  font-size: 12px;
}

.brand-seal {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(209, 169, 87, 0.48);
  background: rgba(209, 169, 87, 0.1);
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 82px;
}

.nav-item {
  position: relative;
  min-height: 82px;
  display: flex;
  align-items: center;
}

.site-nav a {
  color: rgba(244, 239, 229, 0.68);
  font-size: 12px;
  font-weight: 700;
  transition: color 180ms ease;
}

.site-nav > .nav-item > a {
  min-height: 82px;
  display: flex;
  align-items: center;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.mega-menu {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  width: min(780px, calc(100vw - 64px));
  transform: translate(-50%, 18px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  background: rgba(6, 8, 7, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease, visibility 0s linear 260ms;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

.mega-menu a {
  display: block;
  padding: 13px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  transition: background 180ms ease, transform 180ms ease;
}

.mega-menu a:hover {
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-1px);
}

.mega-menu strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

.mega-menu em {
  display: block;
  margin-top: 5px;
  color: var(--faint);
  font-style: normal;
  font-size: 11px;
  line-height: 1.4;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 820px;
  height: 92vh;
  max-height: 980px;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

.hero-wall > img {
  object-position: center center;
  filter: saturate(0.9) contrast(1.04) brightness(0.86);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 83% 20%, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.4) 32%, rgba(0, 0, 0, 0.92) 72%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.64) 43%, rgba(0, 0, 0, 0.14) 78%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.94));
}

.hero-wall .hero-overlay {
  background:
    radial-gradient(circle at 62% 48%, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.46) 70%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.78) 34%, rgba(0, 0, 0, 0.18) 68%, rgba(0, 0, 0, 0.12)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.9));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28vh;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--black));
}

.hero-content {
  padding: 130px 0 64px;
}

.hero-wall .hero-content {
  display: grid;
  grid-template-columns: minmax(360px, 0.46fr) minmax(0, 0.54fr);
  align-items: center;
}

.hero-wall .hero-content > * {
  grid-column: 1;
}

.hero-wall h1 {
  font-size: clamp(4rem, 6.2vw, 7rem);
}

.hero-journal,
.hero-article {
  min-height: 680px;
  height: 78vh;
  max-height: 820px;
}

.hero-journal h1,
.hero-article h1 {
  font-size: clamp(4rem, 6.4vw, 7rem);
}

.hero-copy {
  max-width: 520px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.02rem;
}

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

.eyebrow,
.card-keyword,
.tour-index,
.theme-meta span,
.fact strong {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  background: var(--ink);
  color: var(--black);
}

.button.ghost,
.button.dark {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
}

.button.ghost:hover,
.button.dark:hover {
  background: rgba(255, 255, 255, 0.11);
}

.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 116px 0;
  background: var(--black);
}

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

.section.atmospheric::before {
  z-index: -3;
  background-image: var(--section-bg);
  background-position: center;
  background-size: cover;
  opacity: 0.28;
  filter: saturate(0.86) contrast(1.08);
  transform: scale(1.02);
}

.section.atmospheric::after {
  z-index: -2;
  background:
    radial-gradient(circle at 78% 12%, rgba(209, 169, 87, 0.13), transparent 24rem),
    linear-gradient(90deg, rgba(3, 4, 3, 0.98), rgba(3, 4, 3, 0.78) 42%, rgba(3, 4, 3, 0.93)),
    linear-gradient(180deg, rgba(3, 4, 3, 0.7), #030403 88%);
}

.section.atmospheric > .wrap {
  position: relative;
  z-index: 1;
}

.section.paper {
  background:
    radial-gradient(circle at 8% 12%, rgba(49, 88, 77, 0.18), transparent 28rem),
    linear-gradient(180deg, #070908, #030403);
}

.section.dark,
.theme-gallery {
  background:
    radial-gradient(circle at 82% 14%, rgba(157, 70, 57, 0.12), transparent 24rem),
    linear-gradient(180deg, #050706, #010202);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head p:last-child {
  color: var(--muted);
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
}

.prose {
  max-width: 74ch;
  color: var(--muted);
}

.scene-archive {
  padding-top: 92px;
}

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

.scene-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.scene-card.wide {
  grid-column: span 2;
}

.scene-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--scene-bg);
  background-position: center;
  background-size: cover;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 420ms ease, filter 420ms ease;
}

.scene-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 16%, rgba(0, 0, 0, 0.3) 46%, rgba(0, 0, 0, 0.9));
}

.scene-card:hover::before {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.08);
}

.scene-card-copy {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 1;
}

.scene-card-copy h3 {
  margin-top: 8px;
  font-size: 1.65rem;
}

.scene-card-copy p:last-child {
  max-width: 48ch;
  color: var(--muted);
  font-size: 0.92rem;
}

.theme-console {
  padding: 0;
}

.theme-console-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}

.theme-console-note {
  max-width: 58ch;
  color: var(--muted);
}

.theme-select-wrap {
  min-width: 260px;
  display: grid;
  gap: 7px;
}

.theme-select-wrap span {
  color: var(--faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.theme-select-wrap select,
.pricing-controls select,
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  outline: none;
}

.theme-select-wrap select option,
.pricing-controls select option,
.contact-form select option {
  color: #111;
}

.theme-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.theme-pill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.theme-pill.is-active,
.theme-pill:hover {
  background: var(--ink);
  color: var(--black);
  transform: translateY(-1px);
}

.theme-stage {
  min-height: 720px;
}

.theme-panel {
  display: none;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 700px;
  gap: 20px;
}

.theme-panel.is-active {
  display: grid;
  animation: theme-fade 430ms ease;
}

.theme-illustration,
.theme-essay,
.tour-line,
.pricing-lab,
.journal-card,
.journal-brief,
.fact,
.contact-form,
.theme-chapter,
.pricing-card {
  border-radius: var(--radius);
  overflow: hidden;
}

.theme-illustration,
.theme-chapter-image,
.tour-line-media,
.journal-card {
  position: relative;
  background: var(--black-3);
}

.theme-illustration img,
.theme-chapter-image img,
.tour-line-media img,
.journal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-illustration::after,
.tour-line-media::after,
.journal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.theme-essay {
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--line);
}

.theme-essay h3,
.theme-chapter-copy h3 {
  margin: 10px 0 14px;
  font-size: 2.15rem;
}

.theme-lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.theme-essay p,
.theme-chapter-copy p,
.fact p,
.tour-line-summary p,
.tour-line-heading p:last-child,
.tour-line-meta span,
.journal-card-body p:last-child,
.journal-brief p:last-child,
.contact-form p {
  color: var(--muted);
}

.theme-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 18px;
}

.theme-meta div,
.fact {
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.theme-meta strong,
.fact h3 {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.18;
}

.theme-notes,
.tour-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.theme-notes li,
.tour-tags span {
  margin: 0;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
}

.theme-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.theme-chapter-list {
  display: grid;
  gap: 18px;
}

.theme-chapter {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 420px;
  border: 1px solid var(--line);
  background: var(--card);
}

.theme-chapter.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.theme-chapter.reverse .theme-chapter-image {
  order: 2;
}

.theme-chapter-copy {
  padding: 30px;
}

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

.tour-line {
  display: grid;
  grid-template-rows: 210px auto 1fr auto auto;
  gap: 12px;
  padding: 0 0 18px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.tour-line:hover {
  transform: translateY(-4px);
  background: var(--card-2);
  border-color: var(--line-strong);
}

.tour-line-media {
  display: block;
  min-height: 210px;
}

.tour-line-heading,
.tour-line-summary,
.tour-line-meta,
.tour-line-price {
  padding: 0 16px;
}

.tour-line-heading h3 {
  margin: 8px 0 8px;
  font-size: 1.18rem;
}

.tour-line-summary {
  display: grid;
  gap: 12px;
}

.tour-line-summary p {
  font-size: 0.84rem;
}

.tour-line-meta strong,
.tour-line-price strong,
.pricing-result strong {
  display: block;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
}

.tour-line-meta span {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: none;
}

.tour-line-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tour-line-price a {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
}

.route-link-shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.route-link-card {
  min-height: 230px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.route-link-card:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-2px);
}

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

.route-link-card p:not(.card-keyword) {
  color: var(--muted);
}

.route-link-card span {
  align-self: end;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.pricing-lab {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
}

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

.pricing-field {
  display: grid;
  gap: 8px;
}

.pricing-field-route {
  grid-column: 1 / -1;
}

.pricing-field > span,
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.pricing-field > span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pricing-choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pricing-choice {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.pricing-choice:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.pricing-choice.is-active {
  background: var(--ink);
  color: var(--black);
  border-color: var(--ink);
}

.season-guide {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 0%, rgba(209, 169, 87, 0.12), transparent 10rem),
    rgba(255, 255, 255, 0.035);
}

.season-guide div {
  display: grid;
  gap: 3px;
  padding-left: 10px;
  border-left: 2px solid rgba(209, 169, 87, 0.18);
}

.season-guide strong {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.season-guide span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.season-guide .is-current {
  border-left-color: var(--gold);
}

.season-guide .is-current span {
  color: var(--ink);
}

.pricing-card {
  padding: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 4%, rgba(209, 169, 87, 0.16), transparent 16rem),
    linear-gradient(180deg, rgba(22, 48, 42, 0.58), rgba(0, 0, 0, 0.52));
}

.pricing-card h3 {
  margin: 8px 0 12px;
  font-size: 1.55rem;
}

.pricing-card p,
.pricing-footnote,
.pricing-result span {
  color: var(--muted);
}

.pricing-result {
  margin: 18px 0 12px;
}

.pricing-result strong {
  color: var(--gold);
  font-size: 3rem;
}

.pricing-mail {
  margin-top: 10px;
  width: 100%;
  justify-content: center;
}

.pricing-contact {
  margin: 12px 0 0;
  font-size: 0.9rem;
}

.pricing-contact a {
  color: var(--gold);
}

.journal-section.section.atmospheric::before {
  opacity: 0.2;
  filter: saturate(0.72) contrast(1.08);
}

.journal-section.section.atmospheric::after {
  background:
    radial-gradient(circle at 82% 10%, rgba(209, 169, 87, 0.1), transparent 22rem),
    linear-gradient(90deg, rgba(3, 4, 3, 0.96), rgba(3, 4, 3, 0.82) 48%, rgba(3, 4, 3, 0.94)),
    linear-gradient(180deg, rgba(3, 4, 3, 0.58), #030403 92%);
}

.journal-section .section-head {
  margin-bottom: 26px;
}

.journal-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.journal-grid {
  display: contents;
}

.journal-card,
.journal-brief {
  border: 1px solid var(--line);
  background: var(--card);
}

.journal-card {
  position: relative;
  min-height: 286px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.journal-card-lead {
  grid-column: span 2;
  min-height: 372px;
}

.journal-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.04);
  transition: transform 520ms ease, filter 520ms ease;
}

.journal-card::after {
  display: block;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 10%, rgba(0, 0, 0, 0.46) 54%, rgba(0, 0, 0, 0.9) 100%),
    radial-gradient(circle at 18% 92%, rgba(209, 169, 87, 0.22), transparent 15rem);
}

.journal-card-body {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 18px;
}

.journal-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.44);
}

.journal-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.02) contrast(1.08);
}

.journal-card h3,
.journal-brief h3 {
  margin: 7px 0 8px;
}

.journal-card h3 {
  max-width: 19rem;
  font-size: 1.03rem;
  line-height: 1.12;
}

.journal-card-body p:last-child {
  display: -webkit-box;
  max-width: 26rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.journal-card-lead h3 {
  max-width: 30rem;
  font-size: clamp(1.65rem, 2.35vw, 2.35rem);
}

.journal-card-lead .journal-card-body p:last-child {
  -webkit-line-clamp: 3;
}

.journal-link-shelf {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.journal-link-card {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.journal-link-card:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-2px);
}

.journal-link-card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.18;
}

.journal-link-card p:not(.card-keyword) {
  color: var(--muted);
}

.journal-rail {
  display: grid;
  gap: 12px;
}

.journal-brief {
  padding: 15px;
  transition: background 180ms ease, transform 180ms ease;
}

.journal-brief:hover {
  background: var(--card-2);
  transform: translateY(-2px);
}

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

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

.article-content {
  max-width: 820px;
}

.article-content h2 {
  margin-top: 42px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.article-content h3 {
  margin-top: 30px;
  font-size: 1.45rem;
}

.article-content p,
.article-content li,
.article-content figcaption {
  color: var(--muted);
}

.article-content a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(209, 169, 87, 0.4);
  text-underline-offset: 4px;
}

.article-lead {
  margin: 16px 0 26px;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.75;
}

.article-figure {
  margin: 28px 0;
  max-width: 720px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.article-figure-wide {
  max-width: 100%;
}

.article-figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 340px;
  object-fit: cover;
}

.article-figure-wide img {
  aspect-ratio: 18 / 7;
  max-height: 380px;
}

.article-figure figcaption {
  padding: 12px 14px;
  font-size: 0.82rem;
}

.article-faq {
  margin-top: 44px;
}

.article-faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.article-faq summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.article-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
}

.article-side-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.article-side-card p,
.article-side-card li {
  color: var(--muted);
}

.article-side-card ul {
  padding-left: 18px;
}

.route-page-layout,
.route-stat-grid,
.highlight-grid,
.route-rhythm,
.route-note-grid {
  display: grid;
  gap: 16px;
}

.route-page-layout {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.route-narrative p {
  color: var(--muted);
  max-width: 66ch;
}

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

.highlight-grid,
.route-note-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.highlight-card,
.rhythm-step,
.route-note {
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.highlight-card {
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: 136px 1fr;
}

.highlight-card img {
  width: 100%;
  height: 136px;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03) brightness(0.86);
  border-bottom: 1px solid rgba(215, 177, 91, 0.16);
}

.highlight-card-body {
  padding: 20px;
  display: grid;
  align-content: start;
}

.rhythm-step,
.route-note {
  padding: 22px;
}

.route-note {
  min-height: 170px;
}

.highlight-card span,
.rhythm-step span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.highlight-card p,
.rhythm-step p,
.route-note p:last-child {
  color: var(--muted);
}

.route-rhythm {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

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

.rhythm-step {
  min-height: 270px;
  display: grid;
  align-content: start;
  gap: 9px;
}

.rhythm-step h3 {
  margin: 0;
  font-size: 1.55rem;
}

.rhythm-step h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.route-note p {
  margin: 0;
}

.site-footer {
  padding: 54px 0 28px;
  border-top: 1px solid var(--line);
  background: #010202;
}

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

.site-footer h2 {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.site-footer a,
.site-footer p {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--ink);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
}

.contact-form {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--card);
}

.contact-form textarea {
  min-height: 150px;
  padding-top: 12px;
  border-radius: 8px;
}

@keyframes theme-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  h1 {
    font-size: 4.6rem;
  }

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

  .tour-line {
    grid-template-rows: 260px auto 1fr auto auto;
  }

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

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

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

@media (max-width: 900px) {
  .wrap,
  .nav-shell {
    width: min(var(--wide), calc(100vw - 36px));
  }

  h1 {
    font-size: 3.3rem;
  }

  h2 {
    font-size: 2.3rem;
  }

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

  .site-nav {
    position: absolute;
    top: 72px;
    right: 0;
    width: min(320px, calc(100vw - 36px));
    min-height: 0;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(4, 5, 4, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 8px;
  }

  .nav-item,
  .site-nav > .nav-item > a {
    min-height: auto;
  }

  .mega-menu {
    position: static;
    width: 100%;
    transform: none;
    grid-template-columns: 1fr;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .nav-item:hover .mega-menu,
  .nav-item:focus-within .mega-menu {
    display: grid;
    transform: none;
  }

  .hero-wall .hero-content {
    display: block;
  }

  .section-head,
  .split,
  .theme-panel,
  .theme-chapter,
  .theme-chapter.reverse,
  .pricing-lab,
  .journal-layout,
  .article-layout,
  .route-page-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .theme-chapter.reverse .theme-chapter-image {
    order: 0;
  }

  .scene-grid,
  .journal-grid,
  .fact-list,
  .route-stat-grid,
  .highlight-grid,
  .route-link-shelf,
  .journal-link-shelf,
  .route-rhythm-detailed,
  .route-note-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .journal-card-lead {
    grid-column: auto;
    min-height: 320px;
  }

  .scene-card.wide {
    grid-column: auto;
  }

  .theme-stage,
  .theme-panel {
    min-height: auto;
  }

  .theme-illustration {
    min-height: 380px;
  }

  .theme-console-head {
    display: grid;
  }

  .article-figure,
  .article-figure-wide {
    max-width: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    min-height: 720px;
    height: 88vh;
    max-height: none;
  }

  .hero-journal,
  .hero-article {
    min-height: 620px;
    height: 78vh;
  }

  .hero-journal h1,
  .hero-article h1 {
    font-size: 2.35rem;
  }

  .hero-content {
    padding: 118px 0 44px;
  }

  .section {
    padding: 76px 0;
  }

  .tour-sheet,
  .pricing-controls,
  .theme-meta {
    grid-template-columns: 1fr;
  }

  .pricing-field-route {
    grid-column: auto;
  }

  .pricing-choice {
    flex: 1 1 auto;
  }

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

  .article-content h2 {
    font-size: 1.9rem;
  }

  .article-figure img,
  .article-figure-wide img {
    aspect-ratio: 16 / 10;
    max-height: none;
  }

  .tour-line {
    grid-template-rows: 240px auto auto auto auto;
  }

  .tour-line-price {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* WordPress theme integration */
.site-nav .menu {
  display: contents;
}

.site-nav .menu,
.site-nav .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-logo-link,
.custom-logo {
  display: block;
  width: 100%;
  height: 100%;
}

.custom-logo {
  object-fit: cover;
  border-radius: 50%;
}

.article-content img,
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.article-content .wp-caption {
  max-width: 100%;
}

.article-content .wp-caption-text,
.article-content figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

.pagination-nav {
  margin-top: 34px;
}

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

.pagination-nav a,
.pagination-nav span {
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 10px 14px;
  text-decoration: none;
}

.pagination-nav .current {
  background: var(--ink);
  color: var(--paper);
}

.empty-state,
.form-status {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  padding: 20px;
}

.hct-check {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.single-post .article-layout {
  display: block;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.single-post .article-content {
  width: 100%;
  max-width: 840px;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
}

.single-post .article-meta {
  display: none;
}

.single-post .article-figure {
  max-width: 100%;
}

.single-post .article-figure img {
  aspect-ratio: 16 / 9;
  max-height: 460px;
}

@media (max-width: 980px) {
  .single-post .article-layout {
    grid-template-columns: 1fr;
    max-width: 900px;
  }
}
