/* Data Mapgrid — luxury dark editorial */

:root {
  --bg: #0e0c0a;
  --bg-raised: #161310;
  --bg-card: #1c1914;
  --bg-soft: #221e18;
  --gold: #c4a574;
  --gold-bright: #e0c48a;
  --gold-dim: #8a7350;
  --ink: #f3ece0;
  --ink-muted: #b5aa9a;
  --ink-faint: #7a7268;
  --line: rgba(196, 165, 116, 0.22);
  --line-strong: rgba(196, 165, 116, 0.4);
  --danger: #c45c4a;
  --success: #8faf8c;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --max: 1180px;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

a:hover {
  color: var(--gold-bright);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.2em;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--bg);
  padding: 0.5rem 0.9rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(calc(100% - 3rem), 760px);
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 12, 10, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
}

.logo:hover {
  color: var(--gold-bright);
}

.logo-mark {
  color: var(--gold);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
}

.site-nav a {
  color: var(--ink-muted);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
}

/* Footer */

.site-footer {
  margin-top: 5rem;
  border-top: 1px solid var(--line);
  background: var(--bg-raised);
}

.footer-inner {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
  padding: 4rem 0 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.footer-tag {
  color: var(--ink-muted);
  max-width: 28ch;
}

.footer-col h2 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.footer-col p,
.footer-col li {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  color: var(--ink-muted);
}

.footer-col a:hover {
  color: var(--gold-bright);
}

.footer-base {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 1.8rem;
}

.footer-base p {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
  color: var(--ink-faint);
  font-size: 0.85rem;
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  inset: auto 1.2rem 1.2rem 1.2rem;
  z-index: 80;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem 2rem;
  align-items: center;
  max-width: 920px;
  margin-inline: auto;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: calc(100% - 2.4rem);
}

.cookie-banner p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  gap: 0.7rem;
  flex-shrink: 0;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn:hover {
  background: var(--gold);
  color: var(--bg);
}

.btn-solid {
  background: var(--gold);
  color: var(--bg);
}

.btn-solid:hover {
  background: var(--gold-bright);
  color: var(--bg);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink-muted);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--bg);
  background: var(--gold);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 0.15rem;
}

.text-link:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
}

/* Eyebrows & rules */

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.gold-rule {
  width: 3.2rem;
  height: 1px;
  background: var(--gold);
  border: 0;
  margin: 1.4rem 0;
}

/* Masthead / hero variants */

.masthead {
  padding: 4.5rem 0 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 3.5rem;
  align-items: end;
}

.masthead-kicker {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.masthead-copy {
  color: var(--ink-muted);
  font-size: 1.05rem;
  columns: 1;
}

.masthead-image {
  position: relative;
}

.masthead-image img {
  width: 100%;
  height: 70vh;
  min-height: 420px;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.05);
}

.masthead-caption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  background: rgba(14, 12, 10, 0.78);
  border: 1px solid var(--line);
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.chapter-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.chapter-row a {
  padding: 1.4rem 1.6rem;
  color: var(--ink-muted);
  border-right: 1px solid var(--line);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.chapter-row a:last-child {
  border-right: 0;
}

.chapter-row a:hover {
  background: var(--bg-raised);
  color: var(--gold-bright);
}

.chapter-row span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

/* Sections */

.section {
  padding: 5rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.muted {
  color: var(--ink-muted);
}

.faint {
  color: var(--ink-faint);
}

/* Voices / quotes */

.voices-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 1fr;
  gap: 1.2rem;
}

.quote-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.8rem 1.7rem 1.5rem;
}

.quote-card.tall {
  padding-top: 2.2rem;
}

.quote-card blockquote {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.4;
  font-weight: 400;
}

.quote-card.compact blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink-muted);
}

.quote-meta {
  font-size: 0.82rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}

/* Cards */

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

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.media-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
}

.media-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.media-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: saturate(0.8);
}

.media-card .body {
  padding: 1.4rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.media-card h3 {
  margin: 0;
  font-size: 1.55rem;
}

.media-card h3 a {
  color: var(--ink);
}

.media-card h3 a:hover {
  color: var(--gold-bright);
}

.meta-row {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* Method split */

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.split img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  filter: saturate(0.72);
}

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

.method-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.method-list li {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
}

.method-list strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  display: block;
  margin-bottom: 0.2rem;
}

.num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.3rem;
}

/* Stats */

.stat-band {
  background: var(--bg-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-row {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 2.6rem 0;
}

.stat-row div {
  padding: 0 1.4rem;
  border-right: 1px solid var(--line);
}

.stat-row div:last-child {
  border-right: 0;
}

.stat-row b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.stat-row span {
  color: var(--ink-muted);
  font-size: 0.92rem;
}

/* Invite strip */

.invite {
  background:
    linear-gradient(180deg, rgba(14, 12, 10, 0.35), rgba(14, 12, 10, 0.82)),
    url("https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?auto=format&fit=crop&w=1600&q=80") center/cover;
  padding: 5.5rem 0;
  text-align: center;
}

.invite h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

/* Page heroes (interior) */

.page-hero {
  padding: 4.2rem 0 2.4rem;
  border-bottom: 1px solid var(--line);
}

.page-hero.with-image {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 3rem;
  align-items: end;
  border-bottom: 0;
  padding-bottom: 0;
}

.page-hero img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  filter: saturate(0.75);
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 46ch;
}

/* Pricing */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 2rem 1.7rem 1.8rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, #241f18, var(--bg-card));
  transform: translateY(-12px);
}

.price-card .amount {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold-bright);
  line-height: 1;
  margin: 0.6rem 0 0.3rem;
}

.price-card .amount span {
  font-size: 1.1rem;
  color: var(--ink-muted);
}

.price-card ul {
  padding: 0;
  list-style: none;
  margin: 1.2rem 0 1.6rem;
  flex: 1;
}

.price-card li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* Forms */

form {
  display: grid;
  gap: 1.1rem;
}

label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

input,
select,
textarea {
  width: 100%;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 0.85rem 0.95rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
}

input:focus,
select:focus,
textarea:focus {
  outline: 1px solid var(--gold);
  border-color: var(--gold);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.field-error {
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.form-status {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
}

.form-status.ok {
  border-color: var(--success);
  color: var(--success);
}

.form-status.bad {
  border-color: var(--danger);
  color: var(--danger);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
}

.address-block {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.8rem;
}

.address-block h2 {
  font-size: 1.4rem;
}

/* Article */

.article {
  padding: 3.2rem 0 4rem;
}

.article .cover {
  width: 100%;
  height: min(58vh, 520px);
  object-fit: cover;
  margin: 1.6rem 0 2.2rem;
  filter: saturate(0.78);
}

.article h2 {
  margin-top: 1.8rem;
}

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

.prose {
  color: var(--ink-muted);
}

.prose h2 {
  color: var(--ink);
  margin-top: 2rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0 2rem;
  font-size: 0.92rem;
}

.prose th,
.prose td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 0.7rem 0.6rem;
  vertical-align: top;
}

.prose th {
  color: var(--gold);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Course detail */

.module-list {
  list-style: none;
  padding: 0;
}

.module-list li {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.module-list h3 {
  margin-bottom: 0.3rem;
}

.instructor {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.4rem;
}

.instructor img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  filter: saturate(0.8);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
}

.faq details p {
  color: var(--ink-muted);
  margin-top: 0.7rem;
}

.outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 2rem;
}

.outcomes li {
  color: var(--ink-muted);
}

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

/* Reviews page */

.case-study {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.2rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  margin-bottom: 1.4rem;
}

.case-study img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  filter: saturate(0.75);
}

.case-study .body {
  padding: 2rem 2rem 2rem 0;
}

.review-stack {
  display: grid;
  gap: 1rem;
}

.review-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* 404 */

.lost {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.lost h1 {
  font-size: clamp(4rem, 12vw, 9rem);
  color: var(--gold);
  margin: 0;
}

/* Inline errors */

.inline-error {
  background: #2a1612;
  color: #e8b4aa;
  border: 1px solid var(--danger);
  padding: 0.8rem 1rem;
  margin: 0.5rem 1.5rem;
}

/* Legal */

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 1.5rem 0 2rem;
  font-size: 0.85rem;
}

/* Utilities */

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

@media (max-width: 980px) {
  .masthead,
  .page-hero.with-image,
  .split,
  .split.reverse,
  .contact-layout,
  .case-study,
  .instructor,
  .footer-inner,
  .voices-grid,
  .price-grid,
  .card-grid,
  .card-grid.three,
  .review-row,
  .stat-row,
  .chapter-row,
  .outcomes,
  .duo {
    grid-template-columns: 1fr;
  }

  .masthead-image img,
  .split img {
    height: 42vh;
    min-height: 260px;
  }

  .price-card.featured {
    transform: none;
  }

  .stat-row div,
  .chapter-row a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 1.1rem 0;
  }

  .case-study .body {
    padding: 1.4rem;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 0.7rem 0;
  }

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

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-bottom: 0.8rem;
  }

  .site-nav.open {
    display: flex;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    left: 1.2rem;
    right: 1.2rem;
    transform: none;
    width: auto;
  }
}

@media (max-width: 640px) {
  .wrap,
  .wrap-narrow,
  .header-inner,
  .footer-inner,
  .footer-base p,
  .stat-row {
    width: min(calc(100% - 1.6rem), var(--max));
  }

  .section {
    padding: 3.2rem 0;
  }

  .cookie-actions {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
