:root {
  /* Primary Dark */
  --blackberry-night: #19131C;
  /* Secondary Dark */
  --royal-mulberry: #2A1D2D;
  /* Deep Surface */
  --tapestry-plum: #3A2739;
  /* Light Surface */
  --woven-oat: #DDD0B3;
  /* Secondary Light */
  --stone-flax: #C4B38F;
  /* Primary Accent */
  --heraldic-crimson: #A94343;
  /* Secondary Accent */
  --verdigris-green: #4F7C6B;
  /* Ceremonial Accent */
  --burnished-saffron: #D19A3E;
  /* Rare Accent */
  --manuscript-blue: #4D6E91;

  /* Typography Colors */
  --primary-light-text: #F4EBDD;
  --secondary-light-text: #CFC4B4;
  --primary-dark-text: #201A1E;
  --muted-text: #948A8D;
  --dark-border: #514052;
  --light-border: #A99875;

  /* Fonts */
  --font-display: 'Lora', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

/* 2. Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--tapestry-plum);
  color: var(--primary-light-text);
  overflow-x: hidden;
}

body {
  padding-right: 84px; /* Space for Spine Nav */
  position: relative;
  overflow-x: hidden;
  background-color: var(--tapestry-plum);
  background-image: linear-gradient(0deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 100% 4px; /* Subtle horizontal thread texture */
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* 3. Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
}

p {
  line-height: 1.6;
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
a:hover {
  opacity: 0.8;
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Base structural lines */
.thread-line {
  height: 1px;
  background: var(--dark-border);
  width: 100%;
  display: block;
}

.btn, .form-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  background-color: var(--blackberry-night);
  color: var(--woven-oat);
  padding: 16px 32px;
  border: 1px solid var(--dark-border);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.1s ease;
}
.btn:hover, .form-btn:hover {
  background-color: var(--burnished-saffron);
  color: var(--blackberry-night);
}
.btn:active, .form-btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background-color: var(--heraldic-crimson);
  color: var(--primary-light-text);
  border-color: var(--manuscript-blue);
}

.text-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* Secure Disclaimer Bar */
.secure-disclaimer-bar {
  background-color: #000000;
  color: var(--primary-light-text);
  text-align: center;
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--dark-border);
  z-index: 1000;
  position: relative;
}

/* 4. Global Layout */
.container {
  max-width: 1460px;
  margin: 0 auto;
}

/* 5. Prologue Strip */
.prologue-strip {
  background-color: var(--heraldic-crimson);
  color: var(--woven-oat);
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--dark-border);
  z-index: 100;
  position: relative;
}
.prologue-strip .diamond {
  font-size: 0.5rem;
}

/* 6. Banner Spine Navigation */
.desktop-spine {
  position: fixed;
  top: 0;
  right: 0;
  width: 84px;
  height: 100vh;
  background-color: var(--blackberry-night);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 36px 0;
  border-left: 1px solid var(--dark-border);
  z-index: 900;
}
.spine-crown {
  width: 24px;
  height: 24px;
  border: 1px solid var(--woven-oat);
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.spine-crown::after {
  content: '';
  width: 12px;
  height: 12px;
  background-color: var(--heraldic-crimson);
}
.spine-markers {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.spine-marker {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--muted-text);
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}
.spine-marker:hover, .spine-marker.active {
  color: var(--burnished-saffron);
}
.spine-marker .marker-label {
  position: absolute;
  right: 60px;
  background-color: var(--royal-mulberry);
  color: var(--primary-light-text);
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  white-space: nowrap;
  border: 1px solid var(--dark-border);
}
.spine-marker:hover .marker-label {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.spine-enter {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--woven-oat);
  text-transform: uppercase;
  padding: 16px 8px;
  border: 1px solid var(--dark-border);
  transition: all 0.3s ease;
}
.spine-enter:hover {
  background-color: var(--burnished-saffron);
  color: var(--blackberry-night);
  border-color: var(--burnished-saffron);
}

.mobile-nav {
  display: none;
}

/* 7. First Tapestry Scene */
.tapestry-scene {
  max-width: 1460px;
  margin: 0 auto;
  border-bottom: 1px solid var(--dark-border);
}
.tapestry-hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  min-height: 80vh;
}
.hero-title-band {
  grid-column: span 2;
  background-color: var(--burnished-saffron);
  color: var(--blackberry-night);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 24px;
  border-right: 1px solid var(--dark-border);
}
.hero-title-band .mono-label {
  border-bottom: 1px solid var(--blackberry-night);
  padding-bottom: 8px;
}
.hero-vertical-title {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.9;
  text-transform: uppercase;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  margin-top: auto;
}
.hero-image {
  grid-column: span 7;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--dark-border);
  aspect-ratio: 4/5;
}
.hero-narrative {
  grid-column: span 3;
  background-color: var(--woven-oat);
  color: var(--blackberry-night);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
}
.hero-narrative .mono-label {
  margin-bottom: auto;
}
.hero-narrative h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
.hero-narrative p {
  margin-bottom: 40px;
  color: var(--primary-dark-text);
}
.hero-narrative .btn-primary {
  margin-bottom: 24px;
  align-self: flex-start;
}
.hero-narrative .text-link {
  color: var(--primary-dark-text);
  align-self: flex-start;
}
.hero-caption {
  background-color: var(--blackberry-night);
  color: var(--woven-oat);
  padding: 12px 24px;
  border-top: 1px dotted var(--dark-border);
}

/* 8. Heraldic Path */
.heraldic-path {
  padding: 120px 0;
  background-color: var(--tapestry-plum);
  position: relative;
}
.path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.path-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--light-border) 0, var(--light-border) 4px, transparent 4px, transparent 8px);
  z-index: 1;
}
.path-station {
  position: relative;
  z-index: 2;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.path-station:nth-child(even) {
  margin-top: 120px;
}
.path-station:nth-child(odd) {
  margin-bottom: 120px;
}
.station-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--burnished-saffron);
  margin-bottom: 16px;
}
.path-station h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--woven-oat);
}
.path-station p {
  font-size: 0.9rem;
  color: var(--secondary-light-text);
  margin-bottom: 24px;
}
.station-symbol {
  width: 16px;
  height: 16px;
  background-color: var(--heraldic-crimson);
  border-radius: 50%;
  border: 2px solid var(--tapestry-plum);
}

/* 9. Camelot Grand Hall */
.grand-hall {
  background-color: var(--blackberry-night);
  padding: 80px 0 0 0;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}
.hall-arches {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  gap: 8px;
  padding: 0 16px;
}
.arch {
  position: relative;
  border-top: 1px solid var(--heraldic-crimson);
  border-left: 1px solid var(--heraldic-crimson);
  border-right: 1px solid var(--heraldic-crimson);
}
.arch::before, .arch::after {
  content: '';
  position: absolute;
  top: -4px;
  width: 8px;
  height: 8px;
  background-color: var(--burnished-saffron);
}
.arch::before { left: -4px; }
.arch::after { right: -4px; }

.arch-left {
  width: 180px;
  background-color: var(--royal-mulberry);
  border-top-left-radius: 90px;
  border-top-right-radius: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px 20px;
  text-align: center;
}
.arch-left .mono-label {
  margin-bottom: 32px;
  color: var(--stone-flax);
}
.arch-left h3 {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 2rem;
  letter-spacing: 4px;
  color: var(--burnished-saffron);
  margin-bottom: auto;
}

.arch-center {
  flex: 1;
  max-width: 1000px;
  background-color: var(--tapestry-plum);
  border-top-left-radius: 200px;
  border-top-right-radius: 200px;
  padding: 60px 24px 24px 24px;
  display: flex;
  flex-direction: column;
}
.iframe-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #000;
  border: 1px solid var(--dark-border);
  position: relative;
}
.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.arch-right {
  width: 180px;
  background-color: var(--verdigris-green);
  border-top-left-radius: 90px;
  border-top-right-radius: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px 20px;
  text-align: center;
}
.arch-right .mono-label {
  color: var(--woven-oat);
  margin-bottom: 32px;
}
.control-btns {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-bottom: auto;
}
.btn-control {
  background: transparent;
  border: 1px solid var(--woven-oat);
  color: var(--woven-oat);
  padding: 12px 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-control:hover {
  background: var(--woven-oat);
  color: var(--verdigris-green);
}
.arch-right .legal-note {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--stone-flax);
  margin-top: 32px;
}

.ceremonial-strip {
  background-color: var(--woven-oat);
  color: var(--blackberry-night);
  text-align: center;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 10. Long Woven Story */
.long-woven-story {
  display: flex;
  width: 100%;
  max-width: 1460px;
  margin: 0 auto;
  border-bottom: 1px solid var(--dark-border);
}
.story-panel {
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  border-right: 1px solid var(--dark-border);
}
.story-panel:last-child {
  border-right: none;
}
.story-a {
  width: 28%;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.story-b {
  width: 17%;
  background-color: var(--heraldic-crimson);
  color: var(--woven-oat);
}
.story-b h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}
.story-b p {
  font-size: 0.95rem;
}
.story-c {
  width: 20%;
  background-color: var(--woven-oat);
  color: var(--blackberry-night);
  justify-content: center;
}
.story-c h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.story-c .mono-label {
  color: var(--primary-dark-text);
}
.story-d {
  width: 23%;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.story-e {
  width: 12%;
  background-color: var(--verdigris-green);
  color: var(--primary-light-text);
  align-items: center;
}
.story-e h3 {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 1.5rem;
  margin-bottom: 24px;
  letter-spacing: 2px;
}
.story-e p {
  font-size: 0.8rem;
  text-align: center;
  margin-bottom: 24px;
}
.story-e .text-link {
  font-size: 0.7rem;
  text-align: center;
}

/* 11. Round Table Oath */
.round-table-oath {
  background-color: var(--blackberry-night);
  padding: 160px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--dark-border);
}
.oath-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  height: 600px;
}
.oath-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  border: 1px solid var(--burnished-saffron);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
  background-color: var(--blackberry-night);
}
.oath-center h2 {
  font-size: 2.5rem;
  color: var(--woven-oat);
}
.oath-statements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.statement {
  position: absolute;
  width: 260px;
  background-color: var(--royal-mulberry);
  padding: 24px;
  border: 1px solid var(--dark-border);
  z-index: 5;
}
.statement h4 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--burnished-saffron);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.statement p {
  font-size: 0.85rem;
  color: var(--secondary-light-text);
}
/* Positions around table */
.st-1 { top: 0; left: 0; }
.st-2 { top: 50%; left: -60px; transform: translateY(-50%); }
.st-3 { bottom: 0; left: 0; }
.st-4 { top: 0; right: 0; }
.st-5 { top: 50%; right: -60px; transform: translateY(-50%); }
.st-6 { bottom: 0; right: 0; }

.oath-thread {
  position: absolute;
  background-color: var(--dark-border);
  z-index: 1;
}
.oath-thread.horizontal { width: 100%; height: 1px; top: 50%; left: 0; }
.oath-thread.vertical { width: 1px; height: 100%; left: 50%; top: 0; }

/* 12. Messenger Court */
.messenger-court {
  display: flex;
  max-width: 1460px;
  margin: 0 auto;
  border-bottom: 1px solid var(--dark-border);
}
.msg-stage {
  padding: 80px 40px;
}
.msg-stage-1 {
  width: 28%;
  background-color: var(--burnished-saffron);
  color: var(--blackberry-night);
  border-right: 1px solid var(--dark-border);
}
.msg-stage-1 h2 {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 40px;
}
.msg-stage-1 .support-email {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: bold;
}
.msg-stage-2 {
  width: 48%;
  background-color: var(--woven-oat);
  color: var(--blackberry-night);
  border-right: 1px solid var(--dark-border);
}
.msg-stage-3 {
  width: 24%;
  background-color: var(--manuscript-blue);
  color: var(--primary-light-text);
}
.msg-stage-3 h3 {
  font-size: 1.5rem;
  margin-bottom: 32px;
  color: var(--woven-oat);
}
.faq-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-links a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--woven-oat);
  padding-bottom: 4px;
}

/* 13. Folded Banner Footer */
.folded-footer {
  width: 100%;
}
.footer-segments {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr 3fr;
  max-width: 1460px;
  margin: 0 auto;
}
.f-segment {
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
}
.f-segment-1 {
  background-color: var(--heraldic-crimson);
  color: var(--woven-oat);
}
.f-segment-1 h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}
.f-segment-1 h3 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.f-segment-1 p {
  font-size: 0.9rem;
}
.f-segment-2 {
  background-color: var(--woven-oat);
  color: var(--blackberry-night);
}
.f-segment-3 {
  background-color: var(--verdigris-green);
  color: var(--primary-light-text);
}
.f-segment-4 {
  background-color: var(--royal-mulberry);
  color: var(--primary-light-text);
}
.f-segment a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.f-segment-4 .support-email {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.footer-address {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--secondary-light-text);
}

.footer-base {
  background-color: var(--blackberry-night);
  color: var(--muted-text);
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border-top: 1px solid var(--dark-border);
}

/* 14. Cookie Tag */
.cookie-tag {
  position: fixed;
  top: 40px;
  left: 20px;
  width: 410px;
  background-color: var(--woven-oat);
  color: var(--blackberry-night);
  padding: 24px;
  border-top: 3px solid var(--heraldic-crimson);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
  z-index: 9999;
  border-bottom-right-radius: 20px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}
.cookie-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.woven-square {
  width: 12px;
  height: 12px;
  background-color: var(--verdigris-green);
}
.cookie-tag h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cookie-tag p {
  font-size: 0.85rem;
  margin-bottom: 24px;
}
.cookie-btns {
  display: flex;
  gap: 16px;
}
.cookie-btns button {
  flex: 1;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--blackberry-night);
  background: transparent;
  color: var(--blackberry-night);
}
.cookie-btns button.accept {
  background: var(--blackberry-night);
  color: var(--woven-oat);
}

/* 15. Forms */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
}
.form-group input, .form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--blackberry-night);
  padding: 8px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--blackberry-night);
  border-radius: 0;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--heraldic-crimson);
}
.form-group textarea {
  resize: vertical;
  min-height: 80px;
}
.form-status {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 16px;
  display: none;
  border: 1px solid;
}
.form-status.success {
  display: block;
  background-color: #E2F0CB;
  color: var(--verdigris-green);
  border-color: var(--verdigris-green);
}
.form-status.error {
  display: block;
  background-color: #FFD1D1;
  color: var(--heraldic-crimson);
  border-color: var(--heraldic-crimson);
}

/* 16. Internal Pages (Tapestry Panels) */
.internal-container {
  max-width: 1000px;
  margin: 0 auto;
  background-color: var(--tapestry-plum);
  min-height: 100vh;
  border-left: 1px solid var(--dark-border);
  border-right: 1px solid var(--dark-border);
}
.brand-bar {
  background-color: var(--blackberry-night);
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--dark-border);
}
.brand-logo {
  height: 48px;
  width: auto;
  display: block;
}
.page-header {
  display: flex;
  border-bottom: 1px solid var(--dark-border);
}
.scene-marker-left {
  width: 100px;
  background-color: var(--burnished-saffron);
  color: var(--blackberry-night);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  border-right: 1px solid var(--dark-border);
}
.scene-marker-left span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 2px;
  margin-top: 16px;
}
.title-block {
  flex: 1;
  background-color: var(--woven-oat);
  color: var(--blackberry-night);
  padding: 60px 40px;
  display: flex;
  align-items: center;
}
.title-block h1 {
  font-size: 3.5rem;
}
.content-band {
  padding: 60px 80px 60px 100px;
  border-bottom: 1px solid var(--dark-border);
}
.band-oat { background-color: var(--woven-oat); color: var(--blackberry-night); }
.band-mulberry { background-color: var(--royal-mulberry); color: var(--primary-light-text); }
.band-verdigris { background-color: var(--verdigris-green); color: var(--woven-oat); }
.band-night { background-color: var(--blackberry-night); color: var(--woven-oat); }

.content-band h2 { font-size: 2rem; margin-bottom: 24px; }
.content-band p { margin-bottom: 16px; }
.content-band ul { margin-left: 24px; margin-bottom: 16px; }
.content-band li { margin-bottom: 8px; line-height: 1.6; }

.return-home-container {
  padding: 60px;
  text-align: center;
  background-color: var(--tapestry-plum);
}

/* 17. Responsive Rules */
@media (max-width: 1200px) {
  body { padding-right: 0; padding-bottom: 60px; }
  .desktop-spine { display: none; }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--blackberry-night);
    z-index: 1000;
    border-top: 1px solid var(--dark-border);
  }
  .mobile-nav a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--woven-oat);
    text-transform: uppercase;
    border-right: 1px solid var(--dark-border);
  }
  .mobile-nav a:last-child { border-right: none; }
  .hero-vertical-title { font-size: 3rem; }
  .path-grid { grid-template-columns: repeat(2, 1fr); }
  .path-line { display: none; }
  .path-station:nth-child(even), .path-station:nth-child(odd) { margin: 0; }
  .path-station { padding: 40px; border-bottom: 1px dotted var(--dark-border); }
  
  .long-woven-story { flex-wrap: wrap; }
  .story-a { width: 50%; }
  .story-b { width: 50%; }
  .story-c { width: 100%; text-align: center; }
  .story-d { width: 50%; }
  .story-e { width: 50%; }
  .story-e h3 { writing-mode: horizontal-tb; transform: none; }
  
  .footer-segments { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .secure-disclaimer-bar { font-size: 0.6rem; line-height: 1.4; padding: 8px; }
  .tapestry-hero-grid { display: flex; flex-direction: column; }
  .hero-title-band { flex-direction: row; padding: 20px; align-items: center; border-right: none; border-bottom: 1px solid var(--dark-border); }
  .hero-vertical-title { writing-mode: horizontal-tb; transform: none; font-size: 2rem; margin: 0; }
  .hero-image { aspect-ratio: 16/9; border-right: none; border-bottom: 1px solid var(--dark-border); order: 3; }
  .hero-narrative { order: 2; border-bottom: 1px solid var(--dark-border); }
  .hero-caption { order: 4; }

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

  .hall-arches { flex-direction: column; gap: 0; padding: 0; }
  .arch { border: none; width: 100% !important; border-radius: 0 !important; }
  .arch::before, .arch::after { display: none; }
  .arch-left { padding: 24px; order: 1; border-bottom: 1px solid var(--dark-border); }
  .arch-left h3 { writing-mode: horizontal-tb; transform: none; margin-bottom: 16px; }
  .arch-center { padding: 0; order: 2; border-bottom: 1px solid var(--dark-border); }
  .arch-right { padding: 24px; order: 3; flex-direction: row; justify-content: space-between; }
  .control-btns { flex-direction: row; width: auto; margin: 0; }
  
  .long-woven-story { flex-direction: column; }
  .story-a, .story-b, .story-c, .story-d, .story-e { width: 100%; border-right: none; border-bottom: 1px solid var(--dark-border); }
  
  .oath-wrapper { height: auto; display: flex; flex-direction: column; align-items: center; padding: 40px 20px; }
  .oath-center { position: relative; transform: none; top: auto; left: auto; margin-bottom: 40px; }
  .oath-statements { position: relative; display: flex; flex-direction: column; gap: 16px; }
  .statement { position: relative; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; transform: none !important; width: 100%; }
  .oath-thread { display: none; }

  .messenger-court { flex-direction: column; }
  .msg-stage { width: 100%; border-right: none; border-bottom: 1px solid var(--dark-border); }

  .footer-segments { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; gap: 16px; text-align: center; }

  .page-header { flex-direction: column; }
  .scene-marker-left { width: 100%; flex-direction: row; padding: 16px; justify-content: space-between; border-right: none; border-bottom: 1px solid var(--dark-border); }
  .scene-marker-left span { writing-mode: horizontal-tb; transform: none; margin: 0; }
  .title-block { padding: 40px 24px; }
  .title-block h1 { font-size: 2.5rem; }
  .content-band { padding: 40px 24px; }
  
  .cookie-tag { width: calc(100% - 40px); left: 20px; top: 20px; }
}