:root {
  --wine: #5b0a24;
  --wine-deep: #350611;
  --wine-soft: #8c2948;
  --gold: #d0a84e;
  --gold-deep: #aa7d23;
  --cream: #f8eee8;
  --paper: #fcf8f3;
  --blush: #e9cfd0;
  --ink: #2a171c;
  --muted: #78696d;
  --line: rgba(37, 27, 29, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

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

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

[hidden] {
  display: none !important;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 em,
h2 em,
blockquote em {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

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

.section {
  padding: 8.5rem max(6vw, calc((100vw - 1320px) / 2));
}

.eyebrow {
  margin-bottom: 1.35rem;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow.gold {
  color: var(--gold);
}

.eyebrow.wine {
  color: var(--wine);
}

.eyebrow.sand {
  color: #f2d88a;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.solid-header {
  position: relative;
  background: var(--wine);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--serif);
  font-size: 1.14rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--gold);
  border: 1px solid rgba(215, 174, 53, 0.65);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 1.25rem;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  font-size: 0.78rem;
  font-weight: 500;
}

.site-header nav > a:not(.nav-cta) {
  position: relative;
}

.site-header nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-header nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 0.65rem 1.1rem;
  color: var(--wine);
  background: var(--gold);
  border-radius: 999px;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
}

.hero {
  position: relative;
  min-height: 780px;
  height: min(920px, 100vh);
  display: grid;
  grid-template-columns: 58% 42%;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 18% 78%, rgba(151, 42, 65, 0.78), transparent 36%),
    linear-gradient(128deg, var(--wine-deep), var(--wine) 60%, #7a1431);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 10rem 5vw 6rem max(6vw, calc((100vw - 1320px) / 2));
}

.hero h1 {
  max-width: 830px;
  margin-bottom: 2rem;
  font-size: clamp(4.5rem, 7.6vw, 8.2rem);
  line-height: 0.92;
}

.hero-intro {
  max-width: 570px;
  margin-bottom: 2.35rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 52px;
  padding: 0.85rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

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

.button-gold {
  color: var(--wine-deep);
  background: var(--gold);
}

.button-gold:hover {
  background: #e6c45d;
}

.button-cream {
  color: var(--wine);
  background: var(--cream);
}

.button-wine {
  color: white;
  background: var(--wine);
}

.button-outline {
  color: var(--wine);
  border-color: var(--wine);
  background: transparent;
}

.button-disabled {
  color: #887d79;
  background: #e3ddd3;
  cursor: not-allowed;
}

.button-disabled:hover {
  transform: none;
}

.text-link {
  font-size: 0.78rem;
  font-weight: 600;
}

.text-link span {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateY(4px);
}

.text-link.light {
  color: rgba(255, 255, 255, 0.9);
}

.hero-art {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(52, 5, 18, 0.35);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-art img {
  position: relative;
  z-index: 2;
  width: min(72%, 455px);
  box-shadow: 0 30px 80px rgba(36, 3, 13, 0.35);
  transform: rotate(2.5deg);
}

.hero-art > p {
  position: absolute;
  z-index: 3;
  right: 3.5vw;
  bottom: 5rem;
  margin: 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.5vw, 1.75rem);
  line-height: 1.15;
  text-align: right;
}

.orb {
  position: absolute;
  border: 1px solid rgba(215, 174, 53, 0.35);
  border-radius: 50%;
}

.orb-one {
  width: 520px;
  height: 520px;
}

.orb-two {
  width: 670px;
  height: 670px;
}

.hero-side-note {
  position: absolute;
  z-index: 5;
  left: 1.5vw;
  bottom: 2.5rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.manifesto {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 10vw;
  background: var(--paper);
}

.manifesto h2,
.section-head h2,
.reasons h2 {
  margin-bottom: 0;
  font-size: clamp(3.5rem, 5.7vw, 6.5rem);
}

.manifesto .lead {
  max-width: 620px;
  margin-bottom: 2.5rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
  line-height: 1.2;
}

.tick-list {
  max-width: 620px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.tick-list li {
  position: relative;
  padding: 1rem 0 1rem 2.2rem;
  border-bottom: 1px solid var(--line);
}

.tick-list li::before {
  content: "◇";
  position: absolute;
  left: 0.2rem;
  color: var(--wine);
}

.script-note {
  margin: 2.5rem 0 0;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-style: italic;
}

.bundle-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
  color: white;
  background: var(--wine);
}

.bundle-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 18%, rgba(210, 125, 133, 0.35), transparent 30%),
    var(--blush);
  color: var(--wine);
}

.bundle-mark {
  position: relative;
  z-index: 2;
  width: min(54%, 410px);
  box-shadow: 0 30px 70px rgba(67, 11, 30, 0.22);
  transform: rotate(-3deg);
}

.bundle-visual p {
  position: absolute;
  z-index: 3;
  right: 7%;
  bottom: 7%;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.1;
  text-align: right;
}

.bundle-rings i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40vw;
  height: 40vw;
  border: 1px solid rgba(104, 16, 41, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.bundle-rings i:nth-child(2) {
  width: 30vw;
  height: 30vw;
}

.bundle-rings i:nth-child(3) {
  width: 20vw;
  height: 20vw;
}

.bundle-copy {
  align-self: center;
  padding: 7rem clamp(3.5rem, 7vw, 8rem);
}

.bundle-copy h2 {
  margin-bottom: 2rem;
  font-size: clamp(3.8rem, 5.8vw, 6.5rem);
}

.bundle-copy > p:not(.eyebrow) {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.86);
}

.price-line {
  display: flex;
  justify-content: space-between;
  max-width: 570px;
  margin: 2rem 0;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.8rem;
}

.price-line strong {
  color: var(--gold);
  font-size: 1rem;
}

.course-section {
  background: var(--cream);
}

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8vw;
  align-items: end;
  margin-bottom: 5rem;
}

.section-head > p {
  max-width: 440px;
  margin-bottom: 0.7rem;
  color: var(--muted);
}

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

.course-card {
  position: relative;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition:
    color 280ms ease,
    background-color 280ms ease;
}

.course-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(104, 16, 41, 0.16);
  border-radius: 50%;
  transition: transform 420ms ease;
}

.course-card:hover {
  color: white;
  background: var(--wine);
}

.course-card:hover::after {
  border-color: rgba(215, 174, 53, 0.35);
  transform: scale(1.3);
}

.course-card:hover .card-eyebrow,
.course-card:hover .card-description {
  color: rgba(255, 255, 255, 0.86);
}

.course-card:hover .card-price {
  color: var(--gold);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4.5rem;
}

.card-kicker {
  color: var(--wine);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 280ms ease;
}

.course-card:hover .card-kicker {
  color: var(--gold);
}

.card-eyebrow {
  max-width: 50%;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-align: right;
  text-transform: uppercase;
}

.course-card h3 {
  max-width: 610px;
  margin-bottom: 1.4rem;
  font-size: clamp(2.1rem, 3.3vw, 3.5rem);
  line-height: 1.04;
}

.card-description {
  max-width: 620px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.card-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.card-price {
  color: var(--wine);
  font-weight: 600;
}

.card-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform 220ms ease;
}

.course-card:hover .card-arrow {
  transform: rotate(45deg);
}

.resource-section {
  color: white;
  background:
    linear-gradient(rgba(54, 5, 17, 0.22), rgba(54, 5, 17, 0.22)),
    var(--wine);
}

.resource-section .section-head > p {
  color: rgba(255, 255, 255, 0.78);
}

.resource-section h2 em {
  color: var(--gold);
  font-style: italic;
}

.resource-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.resource-teaser p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  line-height: 1.28;
}

.resource-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 8vw;
  align-items: end;
  color: white;
  background:
    linear-gradient(rgba(54, 5, 17, 0.26), rgba(54, 5, 17, 0.26)),
    var(--wine);
}

.resource-hero h1 {
  margin: 0;
  font-size: clamp(4rem, 7vw, 7.6rem);
}

.resource-hero > p {
  max-width: 520px;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.38;
}

.blog-hero,
.article-hero {
  padding-top: 11rem;
  color: white;
  background:
    radial-gradient(circle at 84% 18%, rgba(208, 168, 78, 0.18), transparent 28%),
    linear-gradient(132deg, var(--wine-deep), var(--wine) 62%, #7a1431);
}

.blog-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 8vw;
  align-items: end;
}

.blog-hero h1,
.article-hero h1 {
  margin: 0;
  font-size: clamp(3.7rem, 6.6vw, 7.2rem);
}

.blog-hero > p,
.article-hero > p {
  max-width: 560px;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.38;
}

.blog-list-section {
  background: var(--paper);
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.blog-card {
  min-height: 320px;
  padding: 2.2rem;
  background: white;
}

.blog-card h3 {
  margin-bottom: 1rem;
  color: var(--wine);
  font-size: clamp(2rem, 2.4vw, 2.8rem);
  line-height: 1;
}

.blog-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.article-shell {
  background: var(--paper);
}

.article-hero {
  padding-right: max(6vw, calc((100vw - 980px) / 2));
  padding-left: max(6vw, calc((100vw - 980px) / 2));
}

.article-hero h1 {
  max-width: 980px;
  margin-bottom: 1.5rem;
}

.article-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 5rem 6vw 3rem;
}

.article-content p {
  color: var(--muted);
  font-size: 1.08rem;
}

.article-content h2 {
  margin: 3rem 0 1rem;
  color: var(--wine);
  font-size: clamp(2.2rem, 3.6vw, 3.8rem);
}

.article-cta {
  max-width: 980px;
  margin: 0 auto 5rem;
  padding: 2.4rem;
  color: white;
  background: var(--wine-deep);
}

.article-cta h2 {
  max-width: 680px;
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 4.6vw, 4.6rem);
}

.article-cta p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
}

.resource-feature {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1px;
  margin-bottom: 1px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.resource-offer {
  padding: 2.6rem;
  background: var(--wine-deep);
}

.resource-offer-primary {
  background:
    linear-gradient(rgba(54, 5, 17, 0.08), rgba(54, 5, 17, 0.08)),
    var(--wine-deep);
}

.resource-offer-free {
  color: var(--ink);
  background: var(--paper);
}

.resource-offer h3,
.resource-add-ons h3 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 3.2vw, 3.8rem);
}

.resource-offer p,
.resource-add-ons p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
}

.resource-offer-free p {
  color: var(--muted);
}

.resource-offer-meta {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin: 1.8rem 0;
}

.resource-offer-meta strong {
  color: var(--gold);
  font-size: 1.25rem;
}

.resource-offer-free .resource-offer-meta strong {
  color: var(--wine);
}

.resource-offer-meta span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-offer-free .resource-offer-meta span {
  color: var(--muted);
}

.resource-offer-free .button-outline {
  color: var(--wine);
  border-color: rgba(104, 16, 41, 0.28);
}

.resource-offer-free .button-outline:hover {
  color: white;
  background: var(--wine);
}

.lead-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.lead-form label {
  display: grid;
  gap: 0.35rem;
}

.lead-form label > span {
  color: var(--wine);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.95rem;
  color: var(--ink);
  border: 1px solid rgba(104, 16, 41, 0.24);
  background: white;
  font: inherit;
}

.lead-form input[name="website"] {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.lead-checkbox {
  display: flex !important;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 0.65rem;
}

.lead-checkbox input {
  margin-top: 0.2rem;
  accent-color: var(--wine);
}

.lead-checkbox span {
  color: var(--muted) !important;
  font-size: 0.76rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.5;
  text-transform: none !important;
}

.lead-status {
  min-height: 1.2rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.lead-status[data-tone="success"] {
  color: var(--wine);
}

.lead-status[data-tone="error"] {
  color: #9f1f3f;
}

.lead-status a {
  color: var(--wine);
  font-weight: 700;
  text-decoration: underline;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.resource-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--wine);
}

.resource-card-head,
.resource-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.resource-card-head {
  margin-bottom: 2.4rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
}

.resource-card .card-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.resource-card h3 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 2.6vw, 3rem);
}

.resource-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.resource-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 1.2rem 0 2rem;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  list-style: none;
}

.resource-card li {
  position: relative;
  padding-left: 1rem;
}

.resource-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.resource-card-foot {
  margin-top: auto;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.resource-card-foot > span {
  max-width: 145px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-card .button-outline {
  min-height: 46px;
  padding: 0.74rem 1.05rem;
  color: white;
  border-color: rgba(255, 255, 255, 0.38);
  font-size: 0.68rem;
}

.resource-card .button-outline:hover {
  color: var(--wine-deep);
  background: var(--gold);
  border-color: var(--gold);
}

.resource-add-ons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.resource-add-ons article {
  padding: 2.4rem;
  background: var(--wine-deep);
}

.resource-audio {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.resource-audio .resource-offer-primary {
  grid-column: 1 / -1;
  padding: 3rem;
  background: var(--wine-deep);
}

.audio-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: none;
}

.audio-grid .resource-card {
  min-height: 480px;
  background: var(--wine);
}

.audio-grid .resource-card h3 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.03;
  overflow-wrap: anywhere;
}

.audio-grid .resource-card-foot {
  align-items: stretch;
  flex-direction: column;
}

.audio-grid .resource-card-foot > span {
  max-width: none;
}

.audio-grid .button {
  width: 100%;
  min-width: 0;
  padding-right: 1.1rem;
  padding-left: 1.1rem;
  white-space: normal;
}

.resource-add-ons ul,
.audio-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  list-style: none;
}

.audio-list span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.audio-list small {
  color: var(--gold);
  font-size: 0.68rem;
  white-space: nowrap;
}

.how-it-works {
  color: white;
  background:
    linear-gradient(rgba(54, 5, 17, 0.36), rgba(54, 5, 17, 0.36)),
    var(--wine-deep);
}

.how-it-works h2 {
  margin-bottom: 5rem;
  font-size: clamp(4rem, 6.5vw, 7rem);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.steps article {
  padding: 2.5rem 3rem 0 0;
}

.steps article + article {
  padding-left: 3rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.steps span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2.2rem;
  font-style: italic;
}

.steps h3 {
  margin: 3.5rem 0 1rem;
  font-size: 2.5rem;
}

.steps p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
}

.reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
  background: var(--paper);
}

.reason-list {
  border-top: 1px solid var(--line);
}

.reason-list p {
  position: relative;
  margin: 0;
  padding: 1.5rem 0 1.5rem 2.3rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.25;
}

.reason-list p::before {
  content: "♡";
  position: absolute;
  left: 0;
  top: 1.35rem;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.connection-section {
  color: white;
  background:
    linear-gradient(rgba(54, 5, 17, 0.2), rgba(54, 5, 17, 0.2)),
    var(--wine);
}

.connection-teaser {
  max-width: 980px;
}

.connection-teaser .button {
  margin-top: 1rem;
}

.connection-teaser h2 {
  margin-bottom: 1.8rem;
  font-size: clamp(3.4rem, 5.5vw, 6.4rem);
}

.connection-lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.36;
}

.connection-page-hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 8vw;
  align-items: end;
  color: white;
  background:
    linear-gradient(rgba(54, 5, 17, 0.26), rgba(54, 5, 17, 0.26)),
    var(--wine);
}

.connection-page-hero h1 {
  margin: 0;
  font-size: clamp(4rem, 7vw, 7.6rem);
}

.connection-page-hero > p {
  max-width: 540px;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.38;
}

.connection-page-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: 6vw;
  align-items: start;
  background: var(--paper);
}

.connection-points {
  border-top: 1px solid var(--line);
}

.connection-points article {
  display: grid;
  grid-template-columns: 72px minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 1.6rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--line);
}

.connection-points span {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.connection-points h2 {
  margin: 0;
  color: var(--wine);
  font-size: clamp(1.8rem, 2.4vw, 2.7rem);
}

.connection-points p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.connection-signup {
  padding: clamp(2rem, 4vw, 3.4rem);
  color: var(--ink);
  border: 1px solid var(--line);
  background: white;
}

.connection-signup h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 3.4vw, 3.8rem);
}

.connection-signup > p:not(.eyebrow) {
  color: var(--muted);
}

.connection-form select {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.95rem;
  color: var(--ink);
  border: 1px solid rgba(104, 16, 41, 0.24);
  background: white;
  font: inherit;
}

.answer-section {
  background: var(--cream);
}

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

.answer-grid article,
.proof-list p,
.faq-list details {
  margin: 0;
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.answer-grid h3 {
  margin-bottom: 1rem;
  color: var(--wine);
  font-size: 2rem;
}

.answer-grid p,
.faq-list p {
  margin: 0;
  color: var(--muted);
}

.answer-grid a {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.trust-proof {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 7vw;
  color: white;
  background: var(--wine-deep);
}

.trust-proof h2 {
  margin-bottom: 0;
  font-size: clamp(3.5rem, 5.7vw, 6.5rem);
}

.proof-list {
  border-color: rgba(255, 255, 255, 0.22);
}

.proof-list p {
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.22);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.35;
}

.faq-section {
  background: var(--paper);
}

.faq-list summary {
  color: var(--wine);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.25;
}

.faq-list details p {
  margin-top: 1rem;
}

.faq-list a {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 720px;
  color: white;
  background: var(--wine);
}

.about-quote {
  position: relative;
  display: grid;
  place-items: center;
  padding: 6rem;
  overflow: hidden;
  background: var(--blush);
}

.about-quote::after {
  content: "♡";
  position: absolute;
  right: -1rem;
  bottom: -6rem;
  color: rgba(104, 16, 41, 0.09);
  font-family: var(--sans);
  font-size: 25rem;
  line-height: 1;
}

.about-quote blockquote {
  position: relative;
  z-index: 2;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5.3vw, 6rem);
  line-height: 1;
}

.about-quote blockquote em {
  color: var(--wine-soft);
}

.quote-mark {
  position: absolute;
  top: 3rem;
  left: 4rem;
  color: rgba(104, 16, 41, 0.25);
  font-family: var(--serif);
  font-size: 8rem;
}

.about-copy {
  align-self: center;
  max-width: 720px;
  padding: 7rem clamp(4rem, 8vw, 9rem);
}

.about-copy h2 {
  margin-bottom: 2rem;
  font-size: clamp(3.5rem, 5.5vw, 6.2rem);
}

.about-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
}

.about-copy .about-note {
  margin: 2.2rem 0 0;
  padding-top: 1.5rem;
  color: var(--gold) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
}

.closing-cta {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: white;
  text-align: center;
  background: var(--wine-deep);
}

.closing-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(55, 2, 16, 0.52);
}

.closing-cta > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.closing-cta > div {
  position: relative;
  z-index: 2;
  padding: 6rem 2rem;
}

.closing-cta h2 {
  margin-bottom: 2.5rem;
  font-size: clamp(4rem, 7vw, 7.5rem);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 3rem;
  align-items: start;
  padding: 4rem 5vw 2rem;
  color: white;
  background: #300510;
}

.footer-brand {
  grid-row: span 2;
}

.site-footer > p:not(.copyright) {
  max-width: 410px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.75rem;
}

.copyright {
  grid-column: 2;
  margin: 0;
  padding-top: 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.65rem;
}

.studio-credit {
  align-self: end;
  padding-top: 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.65rem;
  text-align: right;
}

/* Course detail */
.course-page {
  background: var(--cream);
}

.course-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 700px;
  color: white;
  background: var(--wine);
}

.course-hero-copy {
  align-self: center;
  padding: 7rem 6vw 7rem max(6vw, calc((100vw - 1320px) / 2));
}

.course-hero h1 {
  max-width: 900px;
  margin-bottom: 2rem;
  font-size: clamp(4rem, 6.5vw, 7.3rem);
}

.course-hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 2.5rem 0;
}

.course-price {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2rem;
}

.course-type {
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.82);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.checkout-note {
  max-width: 480px !important;
  margin: 1rem 0 0;
  font-size: 0.72rem !important;
}

.course-hero-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--wine);
  background: var(--blush);
}

.course-hero-art::before,
.course-hero-art::after {
  content: "";
  position: absolute;
  width: min(38vw, 550px);
  height: min(38vw, 550px);
  border: 1px solid rgba(104, 16, 41, 0.2);
  border-radius: 50%;
}

.course-hero-art::after {
  width: min(28vw, 390px);
  height: min(28vw, 390px);
}

.course-visual-word {
  position: relative;
  z-index: 2;
  max-width: 82%;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(3.7rem, 7vw, 7.5rem);
  font-style: italic;
  line-height: 0.94;
  text-align: center;
  text-transform: lowercase;
}

.course-visual-label {
  position: absolute;
  right: 8%;
  bottom: 7%;
  z-index: 2;
  max-width: 220px;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.1;
  text-align: right;
}

.course-story {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 10vw;
}

.course-story h2,
.course-learn h2,
.course-curriculum h2 {
  font-size: clamp(3.4rem, 5.2vw, 6rem);
}

.course-story-copy {
  max-width: 740px;
}

.course-story-copy p:first-child {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.25;
}

.course-learn {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8vw;
  color: white;
  background: var(--wine-deep);
}

.learn-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.learn-list li {
  position: relative;
  padding: 1.25rem 0 1.25rem 2.3rem;
  color: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.learn-list li::before {
  content: "◇";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.course-curriculum {
  background: var(--cream);
}

.curriculum-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 4rem;
}

.curriculum-head h2 {
  margin: 0;
}

.curriculum-head p {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.module-list {
  border-top: 1px solid var(--line);
}

.module-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.module-row span:first-child {
  color: var(--wine);
  font-size: 0.68rem;
}

.module-row h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  letter-spacing: 0;
}

.module-row span:last-child {
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.module-row:hover h3,
.module-row:hover span:last-child {
  color: var(--wine);
}

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

.included-course {
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.included-course span {
  color: var(--wine);
  font-size: 0.68rem;
}

.included-course h3 {
  margin: 2rem 0 1rem;
  font-size: 2rem;
}

.included-course a {
  color: var(--wine);
  font-size: 0.75rem;
  font-weight: 600;
}

.bundle-bonus-block { margin-top: 3rem; }
.bundle-bonus-block > h3 {
  max-width: 760px;
  margin: 0.75rem 0 1.5rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.bundle-bonus-grid { background: var(--cream); }
.included-bonus h3 { margin-bottom: 0.75rem; }
.included-bonus p { max-width: 42ch; margin: 0; }

.course-end {
  padding: 7rem 2rem;
  color: white;
  background: var(--wine);
  text-align: center;
}

.course-end h2 {
  font-size: clamp(3.5rem, 6vw, 6.5rem);
}

/* Contact and legal */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: calc(100vh - 92px);
}

.contact-intro {
  position: relative;
  padding: 8rem 6vw;
  overflow: hidden;
  color: white;
  background: var(--wine);
}

.contact-intro h1 {
  margin-bottom: 2rem;
  font-size: clamp(4rem, 7vw, 7rem);
}

.contact-intro > p:not(.eyebrow) {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.86);
}

.contact-mark {
  position: absolute;
  right: -3rem;
  bottom: -10rem;
  color: rgba(215, 174, 53, 0.12);
  font-size: 26rem;
  line-height: 1;
}

.contact-form {
  align-self: center;
  width: min(700px, 88%);
  margin: 5rem auto;
}

.contact-form label {
  display: block;
  margin-bottom: 1.8rem;
}

.contact-form label > span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--wine);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 0;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: transparent;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--wine);
}

.contact-form textarea {
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.form-status {
  min-height: 1.6rem;
  margin: 1rem 0 0;
  color: var(--wine);
  font-size: 0.78rem;
}

.legal-content {
  max-width: 940px;
}

.legal-content h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(4rem, 7vw, 7rem);
}

.legal-content h2 {
  margin: 3rem 0 1rem;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 2rem;
}

.legal-content p {
  max-width: 760px;
}

.legal-content a {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.75rem;
}

/* Checkout and course access */
.access-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 12% 88%, rgba(233, 207, 208, 0.8), transparent 34%),
    var(--paper);
}

/* Library */
.library-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(233, 207, 208, 0.55), transparent 30%),
    var(--paper);
}

.library-main {
  padding-top: 0;
}

.library-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: start;
  padding-top: 7rem;
}

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

.library-card {
  padding: clamp(2rem, 4vw, 3.6rem);
  background: rgba(252, 248, 243, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 35px 90px rgba(53, 6, 17, 0.1);
}

.library-description {
  max-width: 560px;
  color: var(--muted);
}

.library-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.library-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.library-form span {
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.library-form input {
  width: 100%;
  padding: 0.85rem 0;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--line);
  outline: 0;
  background: transparent;
}

.library-form input:focus {
  border-color: var(--wine);
}

.library-checkbox {
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 0.75rem;
}

.library-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--wine);
}

.library-checkbox span {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--ink);
}

.library-status {
  min-height: 1.5rem;
  margin: 0.25rem 0 0;
  color: var(--wine);
  font-size: 0.78rem;
}

.library-status[data-tone="success"] {
  color: #3a6b3a;
}

.library-status[data-tone="error"] {
  color: #8c2948;
}

.library-account-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.library-section .section-head {
  align-items: center;
}

.dashboard-head,
.dashboard-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.dashboard-head {
  align-items: center;
}

.library-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 2rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.dashboard-summary article {
  padding: 1.35rem;
  background: rgba(252, 248, 243, 0.72);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dashboard-summary span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-summary strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 400;
}

.dashboard-summary p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.dashboard-panel {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: rgba(252, 248, 243, 0.88);
  border: 1px solid var(--line);
}

.dashboard-panel h2 {
  margin: 0;
  font-size: clamp(2.3rem, 3.8vw, 3.8rem);
}

.dashboard-panel-head .eyebrow {
  margin-bottom: 0.6rem;
}

.dashboard-panel-admin {
  background: var(--cream);
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

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

.library-item,
.library-empty {
  padding: 1.8rem;
  background: rgba(252, 248, 243, 0.95);
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(53, 6, 17, 0.06);
}

.library-item h3,
.library-empty h3 {
  font-size: 2rem;
}

.library-item p {
  color: var(--muted);
}

.library-progress {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.4rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

.library-progress strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.library-item-open {
  border-color: rgba(91, 10, 36, 0.28);
}

.library-item-locked {
  opacity: 0.82;
}

.library-item-bundle {
  grid-column: 1 / -1;
}

.download-list {
  display: grid;
  gap: 0.75rem;
}

.download-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.download-row strong {
  display: block;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
}

.download-row small,
.download-row em {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
}

.dashboard-empty h3 {
  margin-bottom: 0.8rem;
  color: var(--wine);
  font-size: 2rem;
}

.dashboard-empty p,
.connection-account-panel p,
.admin-preview p {
  color: var(--muted);
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.3rem 0;
}

.dashboard-small {
  margin: 0;
  font-size: 0.72rem;
}

.admin-login-section {
  min-height: calc(100vh - 86px);
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 14% 14%, rgba(233, 207, 208, 0.62), transparent 30%),
    var(--paper);
}

.admin-login-card {
  width: min(680px, 100%);
  padding: clamp(2.2rem, 5vw, 4.5rem);
  background: rgba(252, 248, 243, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 35px 90px rgba(53, 6, 17, 0.1);
}

.admin-login-card h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(3.8rem, 7vw, 6.4rem);
}

.admin-login-card > p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
}

.admin-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 6vw;
  align-items: end;
  color: white;
  background: var(--wine);
}

.admin-hero h1 {
  margin: 0;
  font-size: clamp(4rem, 7vw, 7rem);
}

.admin-hero > p {
  max-width: 520px;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.38;
}

.admin-table-wrap {
  max-height: 430px;
  overflow: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.admin-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 0.95rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--wine);
  background: var(--paper);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-table td {
  color: var(--ink);
  font-size: 0.8rem;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table td strong {
  display: block;
  color: var(--wine);
  font-weight: 600;
}

.admin-table td small {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.25rem 0.7rem;
  color: var(--wine);
  background: var(--cream);
  border: 1px solid rgba(104, 16, 41, 0.18);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-service-list {
  display: grid;
  gap: 0.9rem;
}

.admin-service {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 0.8rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.admin-service strong,
.admin-service small {
  display: block;
}

.admin-service strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  text-transform: capitalize;
}

.admin-service small {
  color: var(--gold-deep);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-service p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.admin-dot {
  width: 10px;
  height: 10px;
  margin-top: 0.55rem;
  border-radius: 999px;
}

.admin-dot.is-live {
  background: #3a6b3a;
}

.admin-dot.needs-work {
  background: #b47d2a;
}

.connection-prototype-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}

.connection-admin-hub {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.connection-admin-tile {
  display: grid;
  align-content: space-between;
  min-height: 210px;
  padding: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  background: rgba(252, 248, 243, 0.88);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.connection-admin-tile:hover {
  border-color: var(--wine);
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(57, 31, 38, 0.08);
}

.connection-admin-tile span {
  color: var(--gold-deep);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.connection-admin-tile strong {
  display: block;
  margin-top: 1.4rem;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.05;
}

.connection-admin-tile p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.connection-view-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.2rem;
}

.connection-view-nav a {
  padding: 0.62rem 0.9rem;
  color: var(--wine);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  background: rgba(252, 248, 243, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.connection-view-nav a.is-active {
  color: white;
  background: var(--wine);
  border-color: var(--wine);
}

.admin-view-panel[hidden],
.connection-admin-hub[hidden],
.connection-view-nav[hidden] {
  display: none;
}

.connection-survey-panel {
  background: var(--cream);
}

.survey-section-list {
  display: grid;
  gap: 0.9rem;
}

.survey-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 0.68fr);
  gap: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.survey-section h3 {
  margin: 0.2rem 0 0;
  color: var(--wine);
  font-size: 1.55rem;
}

.survey-section span {
  color: var(--gold-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.survey-section ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.match-score-list,
.match-band-list,
.match-output-list {
  display: grid;
  gap: 0.75rem;
}

.match-band-list,
.match-output-list {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.match-score-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 0.8rem;
  align-items: center;
}

.match-score-row span {
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 700;
}

.match-score-row strong {
  color: var(--gold-deep);
  text-align: right;
}

.match-score-row meter {
  grid-column: 1 / -1;
  width: 100%;
  height: 8px;
}

.match-band {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.match-band strong,
.match-band span {
  display: block;
}

.match-band strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
}

.match-band span {
  color: var(--gold-deep);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.match-band p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}

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

.match-output-list .dashboard-small {
  grid-column: 1 / -1;
}

.match-output-list span {
  padding: 0.55rem 0.7rem;
  color: var(--wine);
  border: 1px solid rgba(104, 16, 41, 0.18);
  background: var(--cream);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.35;
}

.connection-room-board {
  margin-bottom: 1.4rem;
}

.connection-save-panel {
  margin-bottom: 1.4rem;
}

.priority-panel {
  margin-bottom: 1.4rem;
}

.priority-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.priority-round-list,
.priority-outcome-list,
.priority-followups {
  display: grid;
  gap: 0.75rem;
}

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

.priority-round,
.priority-outcome {
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.priority-round span,
.priority-outcome span {
  display: block;
  color: var(--gold-deep);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.priority-round p,
.priority-outcome p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.priority-round ol {
  display: grid;
  gap: 0.35rem;
  margin: 0.85rem 0 0;
  padding-left: 1.35rem;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 700;
}

.priority-outcome > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.priority-outcome strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.priority-outcome meter {
  width: 100%;
  height: 8px;
  margin-top: 0.65rem;
}

.priority-followups {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.priority-followups .dashboard-small {
  grid-column: 1 / -1;
}

.priority-followups span {
  padding: 0.7rem 0.8rem;
  color: var(--wine);
  border: 1px solid rgba(104, 16, 41, 0.18);
  background: var(--cream);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.38;
}

.prototype-builder {
  margin-bottom: 1.4rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: var(--cream);
}

.profile-wizard select {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 0;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid rgba(104, 16, 41, 0.24);
  background: transparent;
  outline: none;
}

.choice-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-field legend {
  margin-bottom: 0.75rem;
  color: var(--wine);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.choice-grid label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(104, 16, 41, 0.2);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
}

.choice-grid input {
  width: 15px;
  height: 15px;
  accent-color: var(--wine);
}

.choice-grid span {
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.save-resume-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 1.2rem;
}

.save-flow-list,
.draft-list {
  display: grid;
  gap: 0.75rem;
}

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

.save-flow-card,
.draft-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.save-flow-wide {
  grid-column: 1 / -1;
}

.save-flow-card span,
.draft-row span,
.draft-row small {
  display: block;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.save-flow-card strong,
.draft-row strong {
  display: block;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.16rem;
  font-weight: 400;
  line-height: 1.3;
}

.draft-row > div {
  min-width: 0;
}

.draft-row p {
  margin: 0.55rem 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.draft-row meter {
  width: 100%;
  height: 8px;
}

.room-board {
  display: grid;
  gap: 1.4rem;
}

.room-card {
  padding: clamp(1.2rem, 2vw, 1.8rem);
  border: 1px solid var(--line);
  background: rgba(252, 248, 243, 0.86);
}

.room-card-head,
.room-member-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.room-card h3 {
  margin: 0;
  color: var(--wine);
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.room-basis {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.2rem 0;
}

.room-basis span {
  padding: 0.32rem 0.7rem;
  color: var(--wine);
  border: 1px solid rgba(104, 16, 41, 0.18);
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.room-member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.room-member {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: white;
}

.room-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--wine);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.room-member-main strong,
.room-member-head span {
  display: block;
}

.room-member-main strong {
  color: var(--wine);
}

.room-member-head span {
  color: var(--gold-deep);
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.room-member-main p,
.room-member-main small {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.room-member-main p {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.room-member dl {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.45rem;
  margin: 0.6rem 0 0;
}

.room-member dt {
  color: var(--wine);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.room-member dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.room-chat {
  display: grid;
  gap: 0.55rem;
  margin: 1.2rem 0;
  padding: 1rem;
  background: var(--wine);
}

.room-chat p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
}

.room-chat strong {
  margin-right: 0.55rem;
  color: var(--gold);
}

.pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.pair-gate {
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.pair-gate > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.pair-gate strong {
  color: var(--wine);
}

.pair-gate span,
.pair-gate p,
.pair-gate small {
  color: var(--muted);
  font-size: 0.72rem;
}

.pair-gate .pair-warning {
  color: #8a5a13;
  font-weight: 700;
}

.pair-gate .pair-alert {
  color: #8c2948;
  font-weight: 800;
}

.gate-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0.8rem 0;
}

.gate-track span {
  padding: 0.45rem 0.55rem;
  color: var(--muted);
  border: 1px solid var(--line);
  text-align: center;
}

.gate-track span.is-open {
  color: white;
  border-color: var(--wine);
  background: var(--wine);
}

.rooms-risk {
  margin: 1rem 0 0;
  color: #8c2948;
  font-size: 0.78rem;
  font-weight: 700;
}

.profile-review-panel {
  margin-bottom: 1.4rem;
}

.profile-review-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 1rem;
}

.profile-review-list {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  max-height: 620px;
  overflow: auto;
  padding-right: 0.25rem;
}

.profile-review-card {
  width: 100%;
  padding: 0.9rem;
  color: var(--ink);
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.profile-review-card.is-selected {
  border-color: var(--wine);
  box-shadow: inset 3px 0 0 var(--wine);
}

.profile-review-card span,
.profile-review-card small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-review-card strong {
  display: block;
  margin: 0.2rem 0;
  color: var(--wine);
  font-size: 0.95rem;
}

.profile-review-detail {
  min-height: 360px;
  padding: 1.1rem;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.profile-review-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.profile-review-detail h3 {
  margin: 0;
  color: var(--wine);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
}

.profile-review-detail p {
  color: var(--muted);
}

.review-controls {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 1.3rem;
}

.profile-safety-status {
  padding: 0.85rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.profile-safety-status.is-blocked {
  border-color: #8c2948;
  box-shadow: inset 3px 0 0 #8c2948;
}

.profile-safety-status span,
.profile-safety-status strong {
  display: block;
}

.profile-safety-status span {
  color: var(--wine);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-safety-status strong {
  margin-top: 0.25rem;
  color: var(--wine);
}

.profile-safety-status p {
  margin: 0.3rem 0 0.7rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.safety-settings-form,
.safety-rule-list,
.match-queue-list {
  display: grid;
  gap: 0.9rem;
}

.safety-settings-form label span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--wine);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.choice-inline {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.choice-inline span {
  margin: 0;
}

.safety-rule-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.45fr) minmax(180px, 1fr) minmax(140px, 0.5fr) minmax(240px, 1.4fr);
  gap: 0.75rem;
  align-items: start;
  padding: 1rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.safety-rule-row input,
.safety-rule-row select,
.safety-rule-row textarea,
.safety-settings-form > label input {
  width: 100%;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.match-queue-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.match-queue-row strong,
.match-queue-row small {
  display: block;
}

.match-queue-row strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.match-queue-row small {
  color: var(--gold-deep);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.match-queue-row p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.room-lifecycle-actions,
.room-remove-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.9rem 0;
}

.room-remove-list {
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.review-controls label span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--wine);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.review-controls select,
.review-controls textarea {
  width: 100%;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.profile-review-matches {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.3rem;
}

.profile-match-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.profile-match-row strong {
  color: var(--wine);
}

.profile-match-row span {
  color: var(--gold-deep);
  font-weight: 800;
}

.profile-match-row p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.78rem;
}

.review-answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.review-answer {
  padding: 0.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.review-answer span {
  display: block;
  color: var(--wine);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.review-answer p {
  margin: 0.25rem 0 0;
  color: var(--ink);
  font-size: 0.82rem;
}

.access-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 6rem 5vw;
}

.access-card {
  width: min(760px, 100%);
  padding: clamp(2.5rem, 6vw, 5.5rem);
  background: rgba(252, 248, 243, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 35px 90px rgba(53, 6, 17, 0.1);
}

.access-card h1 {
  margin-bottom: 1.7rem;
  font-size: clamp(3.5rem, 7vw, 6.6rem);
}

.access-card > p:not(.eyebrow, .access-small) {
  max-width: 620px;
  color: var(--muted);
}

.access-description {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.55;
}

.access-price {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin: 2rem 0;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}

.access-price strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0;
}

.checkout-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  width: 100%;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.checkout-consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.1rem;
  accent-color: var(--wine);
}

.course-checkout-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.access-includes {
  margin: 2rem 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.access-includes li {
  position: relative;
  padding: 0.9rem 0 0.9rem 1.8rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

.access-includes li::before {
  content: "◇";
  position: absolute;
  left: 0;
  color: var(--wine);
}

.access-small {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.67rem;
}

.activated-courses {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.activated-courses a {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.activated-courses a span {
  font-family: var(--serif);
  font-size: 1.15rem;
}

.activated-courses a strong {
  color: var(--wine);
  font-size: 0.68rem;
}

.access-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.2rem 5vw;
  color: rgba(255, 255, 255, 0.78);
  background: var(--wine-deep);
  font-size: 0.62rem;
}

/* Interactive learning */
.learn-page {
  min-height: 100vh;
  background: var(--paper);
}

.learn-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
}

.learn-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: white;
  background: var(--wine-deep);
}

.learn-brand {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  font-family: var(--serif);
}

.learn-course-label {
  padding: 1.6rem 1.6rem 1.25rem;
}

.learn-course-label p {
  margin: 0 0 0.4rem;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.learn-course-label h1 {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
}

.module-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0 0.75rem 1rem;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.module-nav-link {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem;
  color: rgba(255, 255, 255, 0.86);
  border-radius: 10px;
  font-size: 0.75rem;
  line-height: 1.25;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.module-nav-link:hover,
.module-nav-link.active {
  color: white;
  background: rgba(255, 255, 255, 0.09);
}

.module-nav-link small {
  display: block;
  margin-bottom: 0.18rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.module-status {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font-size: 1rem;
}

.module-nav-link.complete .module-status {
  color: var(--wine-deep);
  border-color: var(--gold);
  background: var(--gold);
}

.module-nav-link.active .module-status {
  color: var(--gold);
  border-color: var(--gold);
}

.intro-status {
  font-size: 1rem;
}

.learn-sidebar-footer {
  padding: 1.25rem 1.6rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.64rem;
}

.progress-label strong {
  color: var(--gold);
}

.progress-track {
  height: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
}

.progress-track span {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--gold);
  transition: width 300ms ease;
}

.learn-sidebar-footer > a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.67rem;
}

.learn-sidebar-footer .learn-studio-credit {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.56rem;
}

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

.learn-topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3vw;
  border-bottom: 1px solid var(--line);
  background: rgba(252, 249, 242, 0.93);
  backdrop-filter: blur(12px);
}

.learn-topbar p {
  margin: 0;
  font-family: var(--serif);
  font-size: 0.9rem;
}

.autosave-state {
  color: var(--muted);
  font-size: 0.62rem;
}

.module-menu-button {
  display: none;
}

.lesson {
  width: min(920px, 88%);
  margin: 0 auto;
  padding: 6.5rem 0 7rem;
}

.lesson-heading {
  position: relative;
  margin-bottom: 4rem;
  padding-bottom: 3.25rem;
  border-bottom: 1px solid var(--line);
}

.lesson-heading h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(4rem, 7vw, 7.5rem);
}

.welcome-heading h1 {
  font-size: clamp(3.8rem, 6.4vw, 6.8rem);
}

.lesson-lead {
  position: relative;
  z-index: 1;
  max-width: 790px;
  color: #493e40;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.42;
}

.lesson-heading .lesson-lead {
  max-width: 690px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
}

.lesson-section {
  margin: 4.5rem 0;
}

.lesson-section h2,
.concept-panel h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.5rem, 4.6vw, 4.3rem);
}

.deep-dive-section > p:not(.eyebrow) {
  max-width: 780px;
  color: #514348;
  font-size: 1.02rem;
  line-height: 1.85;
}

.real-life-example {
  position: relative;
  margin-top: 2.5rem;
  padding: 2rem 2.25rem 2rem 3.4rem;
  border-left: 2px solid var(--gold);
  background: var(--cream);
}

.real-life-example::before {
  content: "“";
  position: absolute;
  left: 1rem;
  top: 0.65rem;
  color: rgba(91, 10, 36, 0.18);
  font-family: var(--serif);
  font-size: 3.5rem;
}

.real-life-example span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--wine);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.real-life-example p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.5;
}

.interactive-list,
.safety-panel ul,
.concept-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.interactive-list li,
.safety-panel li,
.concept-panel li {
  position: relative;
  padding: 1rem 0 1rem 2.1rem;
  border-bottom: 1px solid currentColor;
  border-color: rgba(255, 255, 255, 0.16);
}

.interactive-list li {
  border-color: var(--line);
}

.interactive-list li::before,
.safety-panel li::before,
.concept-panel li::before {
  content: "◇";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.safety-panel {
  padding: clamp(2rem, 5vw, 4.5rem);
  color: white;
  background: var(--wine);
}

.safety-panel > p:not(.eyebrow),
.safety-panel li {
  color: rgba(255, 255, 255, 0.88);
}

.support-region-picker {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  max-width: 100%;
  padding: 0.35rem;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--cream);
}

.support-region-picker button {
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 999px;
  color: var(--wine);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.support-region-picker button[aria-pressed="true"] {
  color: white;
  background: var(--wine);
}

.support-region-picker button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.support-region-note {
  max-width: 70ch;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.acknowledgement {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.8rem;
  align-items: start;
  margin-top: 2rem;
  padding: 1rem;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  font-size: 0.82rem;
}

.acknowledgement input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.concept-panel {
  margin: 4.5rem 0;
  padding: clamp(2rem, 5vw, 4.5rem);
  color: white;
  background: var(--wine-deep);
}

.concept-panel li {
  color: rgba(255, 255, 255, 0.86);
}

.practice-section {
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--cream);
  border: 1px solid var(--line);
}

.practice-why {
  margin: 2rem 0;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--line);
}

.practice-why > span,
.practice-setup > span,
.adjust-note > span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--wine);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.practice-why p {
  margin: 0;
  color: #514348;
  line-height: 1.85;
}

.practice-setup {
  margin: 2.5rem 0;
  padding: 1.5rem 1.7rem;
  background: var(--paper);
  border-left: 2px solid var(--gold);
}

.practice-setup p,
.adjust-note p {
  margin: 0;
}

.physical-steps {
  margin: 2.5rem 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.physical-steps li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(100px, 0.32fr) 1fr;
  gap: 1.5rem;
  padding: 1.35rem 0 1.35rem 1.8rem;
  border-bottom: 1px solid var(--line);
}

.physical-steps li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 1.35rem;
  color: var(--gold-deep);
}

.physical-steps li > span {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-style: italic;
}

.physical-steps li p {
  margin: 0;
  color: #514348;
}

.adjust-note {
  margin: 2.5rem 0;
  padding: 1.5rem 1.7rem;
  color: white;
  background: var(--wine);
}

.adjust-note > span {
  color: var(--gold);
}

.reflection-field {
  display: block;
  margin-top: 2rem;
}

.reflection-field > span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.reflection-field textarea {
  width: 100%;
  min-height: 120px;
  padding: 1rem;
  color: var(--ink);
  border: 1px solid var(--line);
  outline: none;
  background: var(--paper);
  resize: vertical;
  transition: border-color 180ms ease;
}

.reflection-field textarea:focus {
  border-color: var(--wine);
}

.privacy-note {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.64rem;
}

.integration-practice {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.integration-practice h2 {
  font-size: clamp(2rem, 3.6vw, 3.3rem);
}

.reflection-fields {
  display: grid;
  gap: 0.5rem;
}

.takeaway {
  position: relative;
  margin: 5rem 0;
  padding: 3rem 4rem;
  color: var(--wine);
  border-top: 1px solid var(--wine);
  border-bottom: 1px solid var(--wine);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.7vw, 2.45rem);
  line-height: 1.38;
  letter-spacing: -0.015em;
}

.takeaway span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lesson-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 3rem;
}

.module-actions {
  justify-content: space-between;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.lesson-back {
  margin-right: auto;
  color: var(--muted);
  font-size: 0.72rem;
}

.button-locked {
  opacity: 0.42;
  cursor: not-allowed;
}

.button-locked:hover {
  transform: none;
}

.button-complete {
  color: var(--wine);
  border-color: rgba(104, 16, 41, 0.25);
  background: var(--blush);
}

.lesson-loading {
  color: var(--muted);
}

/* ── Connection Room MVP ─────────────────────────────────── */

.connection-profile-main,
.rooms-main,
.room-main {
  min-height: 100vh;
  background: var(--paper);
}

.connection-profile-hero,
.rooms-hero {
  background: var(--wine);
  color: white;
  padding: 7rem max(6vw, calc((100vw - 1320px) / 2)) 3rem;
}

.connection-profile-hero h1,
.rooms-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.connection-profile-hero .hero-intro {
  max-width: 560px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.connection-profile-builder {
  max-width: 640px;
  margin: 0 auto;
}

.profile-signin-prompt,
.rooms-empty-card,
.room-signin-prompt {
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid var(--line);
  background: white;
}

.profile-signin-prompt h2,
.rooms-empty-card h2,
.room-signin-prompt h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.profile-signin-prompt p,
.rooms-empty-card p,
.room-signin-prompt p {
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto 1.5rem;
}

.profile-wizard {
  background: white;
  border: 1px solid var(--line);
  padding: 2rem;
}

.profile-progress {
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.profile-progress-bar {
  height: 100%;
  background: var(--wine);
  border-radius: 999px;
  transition: width 300ms ease;
  width: 25%;
}

.profile-step-header {
  margin-bottom: 1.5rem;
}

.profile-step-count {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-step-header h2 {
  font-size: 1.6rem;
  color: var(--wine);
  margin-bottom: 0.35rem;
}

.profile-step-header p {
  color: var(--muted);
  font-size: 0.88rem;
}

.profile-form label {
  display: block;
  margin-bottom: 1.2rem;
}

.profile-form label > span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--wine);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-form input[type="text"],
.profile-form select,
.profile-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(104, 16, 41, 0.2);
  border-radius: 6px;
  background: var(--paper);
  font-size: 0.92rem;
  color: var(--ink);
}

.profile-form textarea {
  resize: vertical;
  min-height: 110px;
  font-family: inherit;
  line-height: 1.6;
}

.profile-form input[type="text"]:focus,
.profile-form select:focus,
.profile-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.rank-field {
  margin: 0 0 1.4rem;
  padding: 1rem;
  border: 1px solid rgba(104, 16, 41, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.35);
}

.rank-field legend {
  color: var(--wine);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rank-field p {
  margin: 0.2rem 0 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.profile-step-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.profile-status {
  margin-top: 1rem;
  font-size: 0.82rem;
}

.profile-status[data-tone="success"] { color: #2d7a4f; }
.profile-status[data-tone="error"] { color: #b33030; }

.profile-complete {
  text-align: center;
}

.profile-complete-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border: 1px solid var(--line);
  background: white;
}

.profile-complete-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.profile-complete-card h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.profile-complete-card p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* ── Rooms Dashboard ─────────────────────────────────────── */

.rooms-content {
  max-width: 800px;
  margin: 0 auto;
}

.rooms-status-bar {
  margin-bottom: 1.5rem;
}

.rooms-status-bar p {
  font-size: 0.82rem;
  color: var(--muted);
}

.rooms-list {
  display: grid;
  gap: 1rem;
}

.room-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.room-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: white;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.room-card-link:hover .room-card {
  border-color: var(--wine-soft);
  box-shadow: 0 2px 12px rgba(91, 10, 36, 0.08);
}

.room-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.room-card-head h3 {
  font-size: 1.2rem;
  color: var(--wine);
}

.room-card-members {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.room-member-avatars {
  display: flex;
  gap: -6px;
}

.room-member-avatar {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--wine);
  font-size: 0.7rem;
  font-weight: 700;
  border: 2px solid white;
  margin-left: -6px;
}

.room-member-avatar:first-child {
  margin-left: 0;
}

.room-card-members span {
  color: var(--muted);
  font-size: 0.82rem;
}

.room-card-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}

/* ── Room Chat ───────────────────────────────────────────── */

.room-header {
  min-height: 64px;
}

.room-main {
  padding-top: 64px;
}

.room-layout {
  display: grid;
  grid-template-columns: minmax(300px, 340px) 1fr;
  min-height: calc(100vh - 64px);
}

.room-sidebar {
  background: white;
  border-right: 1px solid var(--line);
  padding: 1.6rem 1.8rem;
  overflow-y: auto;
}

.room-sidebar-head {
  margin-bottom: 1.5rem;
}

.room-sidebar-head h3 {
  font-size: 1.1rem;
  color: var(--wine);
  margin-bottom: 0.25rem;
}

.room-intent-label {
  color: var(--muted);
  font-size: 0.78rem;
}

.room-member-list {
  margin-bottom: 2rem;
}

.room-sidebar-member {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line);
}

.room-sidebar-member.is-you {
  background: rgba(208, 168, 78, 0.08);
  margin: 0 -1.5rem;
  padding: 0.5rem 1.5rem;
  border-bottom-color: transparent;
}

.room-sidebar-member .room-member-avatar {
  width: 32px;
  height: 32px;
  font-size: 0.65rem;
  margin-left: 0;
  flex-shrink: 0;
}

.room-sidebar-member strong {
  display: block;
  font-size: 0.82rem;
  color: var(--ink);
}

.room-sidebar-member small {
  color: var(--muted);
  font-size: 0.7rem;
}

.room-reveal-section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.room-reveal-section .eyebrow {
  margin-bottom: 0.5rem;
}

.room-reveal-info {
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.room-reveal-section .button-sm {
  display: block;
  width: 100%;
  margin-bottom: 0.65rem;
  padding: 0.68rem 0.9rem;
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
}

.room-chat {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  min-width: 0;
  min-height: calc(100vh - 64px);
}

.room-page .room-chat p {
  color: var(--ink);
}

.room-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.room-chat-empty {
  flex: 1;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.room-chat-empty p {
  color: var(--muted);
}

.room-chat-empty a {
  display: block;
  margin-top: 0.75rem;
  color: var(--wine);
  font-weight: 600;
}

.room-message {
  display: flex;
  gap: 0.6rem;
  max-width: min(720px, 82%);
}

.room-message-you {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.room-message-avatar {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--wine);
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

.room-message-body {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  box-shadow: 0 10px 30px rgba(57, 31, 38, 0.04);
}

.room-message-you .room-message-body {
  background: var(--wine);
  color: white;
  border-color: var(--wine);
}

.room-message-head {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  margin-bottom: 0.15rem;
}

.room-message-head strong {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--wine);
}

.room-message-you .room-message-head strong {
  color: var(--gold);
}

.room-message-head time {
  font-size: 0.65rem;
  color: var(--muted);
}

.room-message-you .room-message-head time {
  color: rgba(255, 255, 255, 0.6);
}

.room-message-body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  word-break: break-word;
}

.room-message-you .room-message-body p {
  color: white;
}

.room-chat-input {
  display: flex;
  gap: 0.75rem;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  background: white;
  border-top: 1px solid var(--line);
  position: sticky;
  bottom: 0;
}

.room-chat-input input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.95rem;
  background: var(--paper);
}

.room-chat-input input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.room-footer {
  padding: 2rem max(6vw, calc((100vw - 1320px) / 2));
  text-align: center;
  background: var(--wine-deep);
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1000px) {
  .site-header {
    min-height: 78px;
  }

  .site-header nav {
    gap: 1.25rem;
  }

  .hero {
    min-height: 820px;
    height: auto;
    grid-template-columns: 1fr 36%;
  }

  .hero-copy {
    padding-top: 10rem;
  }

  .hero-art img {
    width: 86%;
  }

  .manifesto,
  .reasons,
  .course-story,
  .course-learn {
    gap: 5vw;
  }

  .bundle-feature,
  .about {
    grid-template-columns: 42% 58%;
  }

  .bundle-copy,
  .about-copy {
    padding: 5rem 3.5rem;
  }

  .about-quote {
    padding: 3rem;
  }

  .course-card {
    min-height: 440px;
  }

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

  .resource-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .blog-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .resource-feature {
    grid-template-columns: 1fr;
  }

  .connection-page-hero,
  .connection-page-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .connection-points article {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .connection-points p {
    grid-column: 2;
  }

  .course-hero {
    grid-template-columns: 62% 38%;
  }

  .learn-shell {
    grid-template-columns: 300px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .section {
    padding: 5.5rem 6vw;
  }

  .site-header {
    position: absolute;
    min-height: 74px;
    padding: 0 5vw;
  }

  .solid-header {
    position: relative;
  }

  .site-header nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    color: white;
    background: var(--wine-deep);
    font-family: var(--serif);
    font-size: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  .site-header nav.open {
    z-index: 25;
    opacity: 1;
    pointer-events: auto;
  }

  .site-header .brand {
    position: relative;
    z-index: 30;
  }

  .menu-button {
    position: relative;
    z-index: 30;
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 7px;
    color: white;
  }

  .menu-button > span:not(.sr-only) {
    width: 24px;
    height: 1px;
    display: block;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] > span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .nav-cta {
    padding: 0.6rem 1.2rem;
    font-family: var(--sans);
    font-size: 0.75rem;
  }

  .hero {
    min-height: 900px;
    display: block;
  }

  .hero-copy {
    position: relative;
    z-index: 5;
    padding: 10rem 6vw 30rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 18vw, 6rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.3rem;
  }

  .hero-art {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 18%;
    height: 430px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-art img {
    width: 54%;
  }

  .hero-art > p {
    right: 6vw;
    bottom: 2rem;
    font-size: 1rem;
  }

  .hero-side-note {
    display: none;
  }

  .manifesto,
  .section-head,
  .reasons,
  .course-story,
  .course-learn {
    grid-template-columns: 1fr;
  }

  .manifesto h2,
  .section-head h2,
  .reasons h2 {
    font-size: clamp(3.4rem, 15vw, 5rem);
  }

  .bundle-feature,
  .about {
    grid-template-columns: 1fr;
  }

  .bundle-visual {
    min-height: 440px;
  }

  .bundle-rings i {
    width: 85vw;
    height: 85vw;
  }

  .bundle-rings i:nth-child(2) {
    width: 64vw;
    height: 64vw;
  }

  .bundle-rings i:nth-child(3) {
    width: 43vw;
    height: 43vw;
  }

  .bundle-copy,
  .about-copy {
    padding: 5rem 6vw;
  }

  .bundle-copy h2 {
    font-size: clamp(3.5rem, 14vw, 5rem);
  }

  .section-head {
    margin-bottom: 3rem;
  }

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

  .course-card {
    min-height: 390px;
    padding: 2rem;
  }

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

  .resource-teaser {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .resource-teaser .button {
    width: 100%;
  }

  .resource-hero h1 {
    font-size: clamp(3.6rem, 15vw, 5.8rem);
  }

  .blog-hero h1,
  .article-hero h1 {
    font-size: clamp(3.4rem, 14vw, 5.4rem);
  }

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

  .blog-card {
    min-height: auto;
    padding: 1.6rem;
  }

  .article-content {
    padding-top: 3.5rem;
  }

  .article-cta {
    margin-right: 6vw;
    margin-left: 6vw;
    padding: 1.6rem;
  }

  .resource-feature,
  .resource-add-ons {
    grid-template-columns: 1fr;
  }

  .resource-offer,
  .resource-add-ons article {
    padding: 1.6rem;
  }

  .resource-card {
    min-height: auto;
    padding: 1.6rem;
  }

  .resource-card-foot {
    align-items: stretch;
    flex-direction: column;
  }

  .resource-card-foot > span {
    max-width: none;
  }

  .resource-card .button-outline {
    width: 100%;
  }

  .audio-list span {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .audio-list small {
    white-space: normal;
  }

  .card-top {
    margin-bottom: 3rem;
  }

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

  .steps article,
  .steps article + article {
    padding: 2rem 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .steps h3 {
    margin-top: 1.5rem;
  }

  .reason-list {
    margin-top: 1rem;
  }

  .answer-grid,
  .proof-list,
  .faq-list,
  .trust-proof {
    grid-template-columns: 1fr;
  }

  .about-quote {
    min-height: 480px;
    padding: 3rem 6vw;
  }

  .closing-cta {
    min-height: 580px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-row: auto;
  }

  .copyright {
    grid-column: auto;
  }

  .studio-credit {
    text-align: left;
  }

  .course-hero {
    grid-template-columns: 1fr;
  }

  .course-hero-copy {
    padding: 5.5rem 6vw;
  }

  .course-hero h1 {
    font-size: clamp(3.7rem, 15vw, 5.5rem);
  }

  .course-hero-art {
    min-height: 430px;
  }

  .course-hero-art::before {
    width: 85vw;
    height: 85vw;
  }

  .course-hero-art::after {
    width: 62vw;
    height: 62vw;
  }

  .course-story {
    gap: 2rem;
  }

  .course-learn {
    gap: 2.5rem;
  }

  .curriculum-head {
    display: block;
  }

  .curriculum-head p {
    margin-top: 1rem;
  }

  .module-row {
    grid-template-columns: 42px 1fr;
  }

  .module-row span:last-child {
    display: none;
  }

  .included-courses {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    min-height: 520px;
    padding: 6rem 6vw;
  }

  .field-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .access-main {
    padding: 3rem 5vw;
  }

  .access-card {
    padding: 2.5rem 1.4rem;
  }

  .access-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .library-hero {
    grid-template-columns: 1fr;
    padding-top: 5.5rem;
  }

  .dashboard-head,
  .dashboard-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-summary,
  .dashboard-layout,
  .connection-admin-hub,
  .connection-prototype-layout,
  .priority-layout,
  .save-resume-grid,
  .profile-review-layout,
  .admin-hero {
    grid-template-columns: 1fr;
  }

  .survey-section,
  .room-member-grid,
  .pair-grid,
  .review-answer-grid,
  .safety-rule-row,
  .match-queue-row,
  .save-flow-list,
  .priority-round-list,
  .priority-followups,
  .match-output-list {
    grid-template-columns: 1fr;
  }

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

  .download-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .learn-shell {
    display: block;
  }

  .learn-sidebar {
    position: fixed;
    z-index: 30;
    top: 0;
    left: 0;
    width: min(88vw, 350px);
    transform: translateX(-102%);
    transition: transform 220ms ease;
  }

  .learn-sidebar.open {
    transform: translateX(0);
    box-shadow: 20px 0 60px rgba(37, 5, 13, 0.28);
  }

  .learn-topbar {
    padding: 0 5vw;
  }

  .module-menu-button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0;
    color: var(--wine);
    border: 0;
    background: transparent;
    font-size: 0.68rem;
    font-weight: 600;
  }

  .learn-topbar p {
    display: none;
  }

  .lesson {
    width: 88%;
    padding: 4rem 0 5rem;
  }

  .lesson-heading {
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
  }

  .lesson-heading h1,
  .welcome-heading h1 {
    font-size: clamp(3.3rem, 14vw, 5rem);
  }

  .lesson-section,
  .concept-panel {
    margin: 3.5rem 0;
  }

  .safety-panel,
  .concept-panel,
  .practice-section {
    padding: 2rem 1.4rem;
  }

  .physical-steps li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .takeaway {
    padding: 2.3rem 1rem;
  }

  .module-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .lesson-back {
    order: 3;
    margin: 1rem 0 0;
    text-align: center;
  }

  .room-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .room-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--line);
    max-height: none;
    padding: 1.25rem;
  }

  .room-chat {
    min-height: 70vh;
  }

  .room-message {
    max-width: 90%;
  }

  .room-chat-input {
    padding: 0.85rem;
  }
}

@media (max-width: 760px) {
  .site-footer {
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
  }

  .site-footer > * {
    min-width: 0;
    max-width: 100%;
  }

  .footer-links {
    flex-wrap: wrap;
    row-gap: 0.75rem;
  }
}

.cookie-consent {
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  max-width: 1050px;
  margin: 0 auto;
  padding: 1.2rem 1.35rem;
  color: white;
  background: var(--wine-deep);
  border: 1px solid rgba(215, 174, 53, 0.55);
  box-shadow: 0 18px 60px rgba(35, 2, 12, 0.35);
}

.cookie-consent strong,
.cookie-consent p { display: block; margin-bottom: 0.25rem; }
.cookie-consent p,
.cookie-consent a { color: rgba(255, 255, 255, 0.86); font-size: 0.78rem; }
.cookie-consent a { text-decoration: underline; text-underline-offset: 0.15rem; }
.cookie-consent-actions { display: flex; flex: 0 0 auto; gap: 0.65rem; }
.cookie-consent .button-outline { color: white; border-color: rgba(255, 255, 255, 0.5); }

@media (max-width: 760px) {
  .cookie-consent,
  .cookie-consent-actions { align-items: stretch; flex-direction: column; }
  .cookie-consent { gap: 1rem; }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
