:root {
  --wine: #711f3d;
  --wine-deep: #35101f;
  --wine-dark: #210913;
  --gold: #b88a4a;
  --gold-soft: #ead8b8;
  --graphite: #1d1a1e;
  --ink: #272127;
  --muted: #766a72;
  --paper: #fbf7f0;
  --ivory: #fffdf8;
  --rose: #f3dce4;
  --line: rgba(113, 31, 61, 0.16);
  --shadow: 0 28px 90px rgba(48, 14, 29, 0.15);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(113, 31, 61, 0.16), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(184, 138, 74, 0.2), transparent 28%),
    linear-gradient(135deg, #fffaf2 0%, #f8eef1 46%, #fbf7f0 100%);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  background-image:
    linear-gradient(rgba(113, 31, 61, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 31, 61, 0.04) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 84%);
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}

.ambient span {
  position: absolute;
  width: 28vw;
  height: 28vw;
  min-width: 300px;
  min-height: 300px;
  border-radius: 999px;
  filter: blur(42px);
  opacity: 0.22;
  will-change: transform;
  animation: drift 32s ease-in-out infinite alternate;
}

.ambient span:nth-child(1) {
  left: -12%;
  top: -8%;
  background: rgba(113, 31, 61, 0.62);
}

.ambient span:nth-child(2) {
  right: -12%;
  top: 22%;
  background: rgba(184, 138, 74, 0.52);
  animation-delay: -5s;
}

.ambient span:nth-child(3) {
  left: 25%;
  bottom: -18%;
  background: rgba(53, 16, 31, 0.34);
  animation-delay: -9s;
}

.ambient span:nth-child(4) {
  right: 22%;
  bottom: 5%;
  background: rgba(243, 220, 228, 0.62);
  animation-delay: -13s;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(5vw, -5vh, 0) scale(1.16);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1200px, calc(100% - 34px));
  margin: 16px auto 0;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 253, 248, 0.76);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 46px rgba(53, 16, 31, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.05;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: 1px solid rgba(113, 31, 61, 0.12);
  background: var(--ivory);
}

.brand-text {
  display: grid;
}

.brand strong {
  color: var(--wine-deep);
  font-family: var(--serif);
  font-size: 1.28rem;
}

.brand span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 24px;
  color: #65575f;
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--wine);
}

.header-action,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-action {
  min-height: 42px;
  padding: 0 18px;
  color: var(--ivory);
  background: var(--wine);
}

.btn {
  padding: 0 24px;
}

.btn:hover,
.header-action:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--ivory);
  background: linear-gradient(135deg, var(--wine), var(--wine-deep));
  box-shadow: 0 18px 48px rgba(113, 31, 61, 0.26);
}

.btn.secondary {
  color: var(--wine);
  border: 1px solid rgba(113, 31, 61, 0.2);
  background: rgba(255, 253, 248, 0.74);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: 64px;
  align-items: center;
  width: min(1200px, calc(100% - 34px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 74px 0 50px;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--wine-deep);
  font-family: var(--serif);
  line-height: 1;
  text-wrap: balance;
}

h1 {
  max-width: 660px;
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 3.75vw, 4.25rem);
}

h2 {
  max-width: 660px;
  font-size: clamp(1.85rem, 3vw, 3.25rem);
}

h3 {
  font-size: clamp(1.45rem, 2vw, 2.05rem);
}

.hero-text {
  max-width: 560px;
  color: #5b5057;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

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

.identity-panel {
  position: relative;
  min-height: 680px;
}

.portrait-orbit {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 590px;
  padding: 34px 42px 92px;
}

.orbit-ring {
  position: absolute;
  width: min(90vw, 560px);
  height: min(90vw, 560px);
  border: 1px solid rgba(184, 138, 74, 0.42);
  border-radius: 999px;
  animation: rotate 46s linear infinite;
}

.orbit-ring::before,
.orbit-ring::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 10px rgba(184, 138, 74, 0.14);
}

.orbit-ring::before {
  top: 48px;
  right: 62px;
}

.orbit-ring::after {
  left: 62px;
  bottom: 48px;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.photo-placeholder {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(78vw, 360px);
  aspect-ratio: 4 / 5;
  border: 1px dashed rgba(113, 31, 61, 0.52);
  background:
    linear-gradient(135deg, rgba(113, 31, 61, 0.12), rgba(184, 138, 74, 0.14)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.46) 0 12px, rgba(255, 255, 255, 0.12) 12px 24px);
  box-shadow: var(--shadow);
  color: var(--wine);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
}

.photo-placeholder span {
  width: min(78%, 250px);
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 253, 248, 0.78);
}

.portrait-image,
.social-photo,
.contact-image {
  position: relative;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(184, 138, 74, 0.36);
  background: rgba(255, 253, 248, 0.72);
  box-shadow: var(--shadow);
}

.portrait-image {
  width: min(74vw, 410px);
  aspect-ratio: 0.72;
}

.portrait-image img,
.social-photo img,
.contact-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.portrait-image img {
  object-fit: cover;
  object-position: center;
}

.contact-image {
  width: 100%;
  min-height: 420px;
}

.contact-image img {
  object-fit: cover;
  object-position: center 18%;
  background: var(--ivory);
}

.orbit-chip {
  position: absolute;
  z-index: 4;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(184, 138, 74, 0.36);
  border-radius: 999px;
  color: var(--wine-deep);
  background: rgba(255, 253, 248, 0.84);
  box-shadow: 0 18px 46px rgba(53, 16, 31, 0.1);
  font-weight: 900;
}

.chip-one {
  left: -4%;
  top: 24%;
}

.chip-two {
  right: -5%;
  top: 42%;
}

.chip-three {
  left: -2%;
  bottom: 20%;
}

.chip-four {
  right: 4%;
  top: 12%;
}

.chip-five {
  right: -7%;
  bottom: 24%;
}

.chip-six {
  left: -6%;
  top: 55%;
}

.quote-card {
  position: absolute;
  right: 24px;
  bottom: 18px;
  z-index: 5;
  max-width: 300px;
  padding: 20px;
  color: var(--ivory);
  background: rgba(33, 9, 19, 0.92);
  box-shadow: 0 22px 68px rgba(33, 9, 19, 0.28);
}

.quote-card strong,
.quote-card span {
  display: block;
}

.quote-card strong {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.12;
}

.quote-card span {
  color: rgba(255, 253, 248, 0.72);
}

.reach-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: stretch;
  width: min(1200px, calc(100% - 34px));
  margin: 0 auto 72px;
  padding: 42px;
  border: 1px solid rgba(184, 138, 74, 0.24);
  background:
    radial-gradient(circle at 10% 18%, rgba(184, 138, 74, 0.16), transparent 32%),
    rgba(255, 253, 248, 0.72);
  box-shadow: var(--shadow);
}

.reach-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reach-copy p {
  max-width: 560px;
  color: var(--muted);
}

.reach-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.reach-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.reach-cards article {
  min-height: 170px;
  padding: 22px;
  border: 1px solid rgba(113, 31, 61, 0.12);
  background: rgba(255, 253, 248, 0.72);
}

.reach-cards article span,
.lecture-tags span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reach-cards article strong {
  display: block;
  color: var(--wine-deep);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.08;
}

.reach-cards article p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.address-card {
  grid-column: span 2;
}

.address-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--wine);
  font-weight: 900;
}

.compact-map {
  grid-column: span 2;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid rgba(113, 31, 61, 0.14);
  background: var(--ivory);
}

.compact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 230px;
  border: 0;
}

.lecture-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: center;
  width: min(1200px, calc(100% - 34px));
  margin: 0 auto 78px;
  padding: 56px 0;
}

.lecture-carousel {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(184, 138, 74, 0.28);
  background: rgba(255, 253, 248, 0.72);
  box-shadow: var(--shadow);
}

.lecture-slide {
  display: none;
  position: relative;
  min-height: 360px;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  background: var(--wine-deep);
}

.lecture-slide.active {
  display: block;
}

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

.lecture-slide figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 12px 14px;
  background: rgba(53, 16, 31, 0.78);
  color: var(--ivory);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}

.carousel-controls > button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(113, 31, 61, 0.18);
  border-radius: 50%;
  background: var(--ivory);
  color: var(--wine-deep);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.carousel-controls > button:hover {
  transform: translateY(-2px);
  background: rgba(184, 138, 74, 0.14);
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(113, 31, 61, 0.28);
  cursor: pointer;
}

.carousel-dots button.active {
  width: 26px;
  border-radius: 999px;
  background: var(--wine);
}

.lecture-copy p {
  max-width: 560px;
  color: var(--muted);
}

.lecture-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 26px;
}

.lecture-tags span {
  margin: 0;
  padding: 9px 12px;
  border: 1px solid rgba(184, 138, 74, 0.24);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.76);
}

.diagnostic-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 44px;
  align-items: start;
  width: min(1200px, calc(100% - 34px));
  margin: 0 auto;
  padding: 80px 0 70px;
}

.diagnostic-intro {
  position: sticky;
  top: 112px;
  max-width: 420px;
}

.diagnostic-intro p,
.map-copy p,
.social-copy p,
.contact-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1rem;
}

.game-board {
  position: relative;
  min-height: 560px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.82), rgba(255, 255, 255, 0.48)),
    rgba(255, 253, 248, 0.65);
  box-shadow: var(--shadow);
}

.progress-track {
  display: grid;
  grid-template-columns: 42px 1fr 42px 1fr 42px;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.progress-dot {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(113, 31, 61, 0.2);
  border-radius: 999px;
  color: var(--wine);
  background: var(--ivory);
  font-weight: 900;
}

.progress-dot.active {
  color: var(--ivory);
  background: var(--wine);
}

.progress-line {
  height: 1px;
  background: rgba(113, 31, 61, 0.18);
}

.question-card,
.result-card {
  display: none;
  min-height: 430px;
  padding: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(184, 138, 74, 0.18), transparent 34%),
    var(--ivory);
}

.question-card h3,
.result-card h3 {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.question-card .step-label,
.result-card .step-label {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.question-card.active,
.result-card.active {
  display: block;
  animation: rise 280ms ease both;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  margin-top: 28px;
}

.option-grid.compact {
  grid-template-columns: 1fr;
}

.option-grid button {
  min-height: 96px;
  padding: 20px;
  border: 1px solid rgba(113, 31, 61, 0.13);
  background: rgba(251, 247, 240, 0.9);
  color: var(--wine-deep);
  text-align: center;
  font-weight: 900;
  line-height: 1.35;
  transition: transform 180ms ease, border 180ms ease, background 180ms ease;
}

.option-grid button:hover,
.option-grid button:focus-visible {
  outline: none;
  transform: translateY(-4px);
  border-color: rgba(184, 138, 74, 0.65);
  background: #fff8ea;
}

.result-card p {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 1rem;
  text-align: center;
}

.result-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.result-card .hero-actions {
  justify-content: center;
}

.result-tags span {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--wine);
  background: rgba(113, 31, 61, 0.08);
  font-size: 0.9rem;
  font-weight: 900;
}

.map-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 50px;
  align-items: center;
  width: min(1200px, calc(100% - 34px));
  margin: 0 auto;
  padding: 88px 0;
}

.map-copy {
  max-width: 430px;
}

.legal-map {
  position: relative;
  min-height: 690px;
  border: 1px solid rgba(113, 31, 61, 0.12);
  background:
    radial-gradient(circle at 50% 50%, rgba(113, 31, 61, 0.08), transparent 38%),
    rgba(255, 253, 248, 0.62);
  box-shadow: var(--shadow);
}

.legal-map::before {
  content: "";
  position: absolute;
  inset: 10% 12% 13%;
  border: 1px solid rgba(184, 138, 74, 0.26);
  border-radius: 999px;
}

.map-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border: 1px solid rgba(113, 31, 61, 0.18);
  border-radius: 999px;
  color: var(--wine-deep);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 18px 44px rgba(53, 16, 31, 0.09);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.map-node:hover,
.map-node.active {
  transform: scale(1.06);
  color: var(--ivory);
  background: var(--wine);
}

.map-node:nth-child(1) {
  left: 13%;
  top: 8%;
}

.map-node:nth-child(2) {
  right: 13%;
  top: 8%;
}

.map-node:nth-child(3) {
  right: 4%;
  top: 32%;
}

.map-node:nth-child(4) {
  right: 9%;
  bottom: 24%;
}

.map-node:nth-child(5) {
  left: 43%;
  bottom: 4%;
}

.map-node:nth-child(6) {
  left: 22%;
  bottom: 8%;
}

.map-node:nth-child(7) {
  left: 4%;
  top: 32%;
}

.map-node:nth-child(8) {
  left: 7%;
  bottom: 25%;
}

.map-node:nth-child(9) {
  right: 27%;
  bottom: 8%;
}

.map-node:nth-child(10) {
  right: 9%;
  bottom: 7%;
}

.map-result {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(360px, 58%);
  min-height: 250px;
  padding: 28px;
  color: var(--ivory);
  background: rgba(33, 9, 19, 0.94);
  box-shadow: 0 22px 70px rgba(33, 9, 19, 0.26);
  transform: translate(-50%, -50%);
}

.map-result span {
  display: block;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.map-result h3 {
  margin: 14px 0;
  color: var(--ivory);
  font-size: 1.75rem;
  line-height: 1.08;
  text-align: center;
}

.map-result p {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.74);
  text-align: center;
}

.story-section {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  gap: 18px;
  align-items: end;
  width: min(1200px, calc(100% - 34px));
  margin: 0 auto;
  padding: 40px 0 90px;
}

.story-card {
  min-height: 280px;
  padding: 30px;
  border: 1px solid rgba(113, 31, 61, 0.13);
  background: rgba(255, 253, 248, 0.7);
  box-shadow: 0 20px 60px rgba(53, 16, 31, 0.06);
  text-align: center;
}

.story-card.tall {
  min-height: 390px;
  color: var(--ivory);
  background: linear-gradient(145deg, var(--wine), var(--wine-deep));
}

.story-card span {
  color: var(--gold);
  font-weight: 900;
}

.story-card.tall h3,
.story-card.tall p {
  color: var(--ivory);
}

.story-card p {
  color: var(--muted);
}

.social-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.46fr) minmax(300px, 0.72fr) minmax(430px, 1.2fr);
  gap: 34px;
  align-items: center;
  width: min(1200px, calc(100% - 34px));
  margin: 0 auto;
  padding: 58px;
  background:
    linear-gradient(135deg, rgba(53, 16, 31, 0.97), rgba(113, 31, 61, 0.94)),
    var(--wine-deep);
  box-shadow: var(--shadow);
}

.social-copy {
  max-width: 520px;
}

.social-photo {
  width: 100%;
  max-width: 290px;
  justify-self: center;
  aspect-ratio: 0.72;
  border-color: rgba(234, 216, 184, 0.22);
  box-shadow: 0 24px 74px rgba(33, 9, 19, 0.28);
}

.social-photo img {
  object-fit: cover;
  object-position: center 16%;
}

.social-section h2 {
  color: var(--ivory);
}

.social-copy p {
  color: rgba(255, 253, 248, 0.72);
}

.social-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.social-list button {
  min-height: 200px;
  padding: 24px 28px;
  border: 1px solid rgba(234, 216, 184, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ivory);
  text-align: center;
  transition: transform 180ms ease, background 180ms ease;
}

.social-list button:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.social-list strong,
.social-list span {
  display: block;
}

.social-list strong {
  margin-bottom: 10px;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.12;
}

.social-list span {
  color: rgba(255, 253, 248, 0.72);
  font-size: 1rem;
  line-height: 1.5;
}

.content-lab {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 48px;
  align-items: start;
  width: min(1200px, calc(100% - 34px));
  margin: 0 auto;
  padding: 95px 0;
}

.content-lab > div:first-child {
  max-width: 450px;
}

.content-lab > div:first-child p {
  color: var(--muted);
}

.answer-strip {
  display: grid;
  gap: 12px;
}

.answer-strip details {
  border: 1px solid rgba(113, 31, 61, 0.12);
  background: rgba(255, 253, 248, 0.72);
  color: var(--wine-deep);
  transition: transform 180ms ease, border-color 180ms ease;
}

.answer-strip details:hover,
.answer-strip details[open] {
  transform: translateX(8px);
  border-color: rgba(113, 31, 61, 0.28);
}

.answer-strip summary {
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 0 24px;
  color: var(--wine-deep);
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}

.answer-strip summary::-webkit-details-marker {
  display: none;
}

.answer-strip summary::after {
  content: "+";
  margin-left: auto;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 900;
}

.answer-strip details[open] summary::after {
  content: "−";
}

.answer-strip details p {
  margin: -6px 24px 18px;
  color: var(--muted);
}

.answer-strip details a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin: 0 24px 24px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--ivory);
  background: var(--wine);
  font-size: 0.92rem;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 46px;
  align-items: center;
  width: min(1200px, calc(100% - 34px));
  margin: 0 auto 94px;
  padding: 46px;
  border: 1px solid rgba(184, 138, 74, 0.24);
  background: rgba(255, 253, 248, 0.76);
  box-shadow: var(--shadow);
}

.photo-placeholder.small {
  width: 100%;
  min-height: 420px;
}

.contact-copy h2 {
  max-width: 680px;
}

.contact-copy p {
  max-width: 620px;
}

address {
  margin-top: 30px;
  color: var(--muted);
  font-style: normal;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px max(18px, calc((100vw - 1200px) / 2));
  color: rgba(255, 253, 248, 0.74);
  background: var(--graphite);
}

.footer div,
.footer strong,
.footer span {
  display: grid;
}

.footer div {
  grid-template-columns: 44px auto;
  column-gap: 12px;
  align-items: center;
}

.footer div img {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: var(--ivory);
}

.footer strong {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.footer p {
  max-width: 530px;
  margin-bottom: 0;
  text-align: right;
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  font-family: var(--sans);
}

.chat-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: var(--ivory);
  background: linear-gradient(135deg, var(--wine), var(--wine-deep));
  box-shadow: 0 18px 46px rgba(53, 16, 31, 0.28);
  font-weight: 900;
}

.chat-toggle::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  box-shadow: 0 0 0 6px rgba(234, 216, 184, 0.18);
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(360px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid rgba(184, 138, 74, 0.28);
  background: rgba(255, 253, 248, 0.97);
  box-shadow: 0 28px 88px rgba(33, 9, 19, 0.24);
}

.chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  color: var(--ivory);
  background: linear-gradient(135deg, var(--wine-deep), var(--wine));
}

.chat-head strong,
.chat-head span {
  display: block;
}

.chat-head strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.05;
}

.chat-head span {
  margin-top: 4px;
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.85rem;
}

.chat-head button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.3rem;
  line-height: 1;
}

.chat-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.chat-message {
  padding: 14px;
  border-radius: 14px;
  line-height: 1.45;
  font-size: 0.94rem;
}

.chat-message.bot {
  color: var(--wine-deep);
  background: rgba(113, 31, 61, 0.08);
}

.chat-options {
  display: grid;
  gap: 10px;
}

.chat-options button,
.chat-options a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid rgba(113, 31, 61, 0.14);
  border-radius: 999px;
  color: var(--wine-deep);
  background: var(--ivory);
  font-weight: 900;
  text-align: center;
}

.chat-options a.primary {
  color: var(--ivory);
  background: linear-gradient(135deg, var(--wine), var(--wine-deep));
  box-shadow: 0 14px 34px rgba(113, 31, 61, 0.2);
}

@media (max-width: 1040px) {
  .nav {
    display: none;
  }

  .hero,
  .reach-section,
  .lecture-section,
  .diagnostic-shell,
  .map-section,
  .content-lab,
  .contact {
    grid-template-columns: 1fr;
  }

  .social-section {
    grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1fr);
  }

  .social-photo {
    grid-row: auto;
  }

  .social-list {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .social-list button {
    min-height: 180px;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-copy,
  .diagnostic-intro,
  .map-copy,
  .social-copy,
  .content-lab > div:first-child {
    max-width: 760px;
  }

  .diagnostic-intro {
    position: static;
  }

  .identity-panel {
    min-height: auto;
  }

  .portrait-orbit {
    min-height: 620px;
  }

  .portrait-image {
    width: min(76vw, 460px);
  }

  .legal-map {
    min-height: 620px;
  }

  .story-section {
    grid-template-columns: 1fr;
  }

  .story-card,
  .story-card.tall {
    min-height: 240px;
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero,
  .reach-section,
  .lecture-section,
  .diagnostic-shell,
  .map-section,
  .story-section,
  .social-section,
  .content-lab,
  .contact {
    width: calc(100% - 24px);
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand span {
    font-size: 0.66rem;
  }

  .header-action {
    padding: 0 13px;
    font-size: 0.86rem;
  }

  h1 {
    font-size: 2.08rem;
    line-height: 1;
  }

  h2 {
    font-size: 1.78rem;
    line-height: 1.03;
  }

  h3 {
    font-size: 1.38rem;
    line-height: 1.08;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .portrait-orbit {
    min-height: auto;
    padding: 16px 0 0;
  }

  .portrait-image {
    width: min(100%, 390px);
  }

  .orbit-ring {
    width: min(92vw, 430px);
    height: min(92vw, 430px);
  }

  .orbit-chip {
    display: none;
  }

  .quote-card {
    position: relative;
    max-width: none;
    margin-top: 18px;
    right: auto;
    bottom: auto;
  }

  .game-board,
  .question-card,
  .result-card,
  .social-section,
  .reach-section,
  .contact {
    padding: 22px;
  }

  .compact-map,
  .compact-map iframe {
    min-height: 260px;
  }

  .reach-cards {
    grid-template-columns: 1fr;
  }

  .address-card,
  .compact-map {
    grid-column: auto;
  }

  .lecture-section {
    padding: 28px 0 58px;
  }

  .lecture-slide {
    min-height: 300px;
  }

  .lecture-slide figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    font-size: 0.84rem;
  }

  .question-card,
  .result-card {
    min-height: auto;
  }

  .option-grid,
  .social-list {
    grid-template-columns: 1fr;
  }

  .social-section {
    grid-template-columns: 1fr;
  }

  .social-photo {
    grid-row: auto;
    max-width: 420px;
    margin: 0 auto;
  }

  .legal-map {
    display: grid;
    gap: 10px;
    min-height: auto;
    padding: 18px;
  }

  .legal-map::before {
    display: none;
  }

  .map-node,
  .map-result {
    position: static;
    width: 100%;
    height: auto;
    min-height: 64px;
    border-radius: 0;
    transform: none;
  }

  .map-node:hover,
  .map-node.active {
    transform: none;
  }

  .map-result {
    width: 100%;
    min-height: 230px;
    margin-top: 8px;
  }

  .map-result h3 {
    font-size: 1.55rem;
  }

  .footer {
    display: grid;
  }

  .footer p {
    text-align: left;
  }

  .chat-widget {
    right: 14px;
    bottom: 14px;
  }

  .chat-toggle {
    min-height: 50px;
    padding: 0 16px;
  }
}
