:root {
  --bg: #0c0b09;
  --bg-elevated: #161410;
  --bg-soft: #1c1914;
  --surface: #221e18;
  --gold: #c9a962;
  --gold-soft: #a88b4a;
  --gold-bright: #e4d0a0;
  --text: #f3eee4;
  --text-muted: #b0a898;
  --line: rgba(201, 169, 98, 0.28);
  --danger: #d9897a;
  --success: #8fbf9a;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --radius: 2px;
  --header-h: 4.5rem;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(201, 169, 98, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(201, 169, 98, 0.08), transparent 50%),
    linear-gradient(180deg, #100e0b 0%, var(--bg) 40%, #0a0908 100%);
  background-attachment: fixed;
}

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

a {
  color: var(--gold-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s var(--ease);
}

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

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

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); }

p { margin: 0 0 1rem; color: var(--text-muted); }

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

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(12, 11, 9, 0.82);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 0.85rem;
  height: 0.85rem;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.12);
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

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

.site-nav .nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.45rem 0.9rem;
}

.site-nav .nav-cta:hover {
  background: var(--gold);
  color: var(--bg);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 2.6rem;
  height: 2.6rem;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  height: 1px;
  background: var(--gold);
}

.nav-toggle-bar { top: 50%; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(18, 16, 12, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav .nav-cta { text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #120f0a;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  background: var(--gold-bright);
  color: #120f0a;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
}

.btn-ghost:hover {
  background: rgba(201, 169, 98, 0.12);
  color: var(--gold-bright);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* Hero variants */
.hero-editorial {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  overflow: hidden;
}

.hero-copy {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.hero-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.hero-brand {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  color: var(--text);
  margin: 0 0 1.2rem;
}

.hero-rule {
  width: 4.5rem;
  height: 1px;
  background: var(--gold);
  margin: 0 0 1.4rem;
  transform-origin: left;
  animation: rule-draw 1s var(--ease) both;
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 34ch;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  animation: fade-rise 1.2s var(--ease) both;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 11, 9, 0.35), transparent 40%),
    linear-gradient(0deg, rgba(12, 11, 9, 0.55), transparent 35%);
}

@media (max-width: 900px) {
  .hero-editorial {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-visual { min-height: 320px; }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-muted {
  background: rgba(22, 20, 16, 0.65);
  border-block: 1px solid var(--line);
}

.section-label {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-intro {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

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

@media (max-width: 860px) {
  .split-2 { grid-template-columns: 1fr; }
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1.1rem;
}

.feature-list li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.55rem;
  height: 1px;
  background: var(--gold);
}

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

.proof-item {
  background: var(--bg-elevated);
  padding: 1.6rem 1.2rem;
  text-align: center;
}

.proof-value {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.35rem;
}

.proof-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 760px) {
  .proof-strip { grid-template-columns: 1fr 1fr; }
}

/* Cards / media blocks */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .media-grid { grid-template-columns: 1fr; }
}

.media-block {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.media-block:hover {
  border-color: var(--gold-soft);
  transform: translateY(-3px);
}

.media-block img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-body {
  padding: 1.35rem 1.35rem 1.6rem;
}

.media-body h3 {
  margin-bottom: 0.5rem;
}

.media-body h3 a {
  color: var(--text);
  text-decoration: none;
}

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

.meta {
  font-size: 0.82rem;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

/* Testimonials */
.quote-stack {
  display: grid;
  gap: 1.5rem;
}

.quote {
  border-left: 1px solid var(--gold);
  padding: 0.4rem 0 0.4rem 1.4rem;
}

.quote p {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--text);
  line-height: 1.45;
}

.quote footer {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.quote.compact p {
  font-size: 1.05rem;
  font-family: var(--sans);
}

.quote.long p {
  font-size: 1.2rem;
}

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

@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; }
}

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

.price-tier.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

@media (max-width: 900px) {
  .price-tier.featured { transform: none; }
}

.price-name {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin: 0 0 0.4rem;
}

.price-amount {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--gold);
  margin: 0.6rem 0;
}

.price-amount span {
  font-size: 1rem;
  color: var(--text-muted);
}

.price-tier ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.8rem;
  flex: 1;
}

.price-tier li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(201, 169, 98, 0.12);
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Forms */
.form {
  display: grid;
  gap: 1.1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--text);
  font-size: 0.92rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
  border-radius: var(--radius);
}

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

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

.form-field.is-invalid .error { display: block; }
.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: var(--danger);
}

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

.form-status.is-success {
  display: block;
  border-color: var(--success);
  color: var(--success);
}

.form-status.is-error {
  display: block;
  border-color: var(--danger);
  color: var(--danger);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

@media (max-width: 860px) {
  .contact-panel { grid-template-columns: 1fr; }
}

.contact-details {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 1.8rem;
}

.contact-details p { margin-bottom: 0.8rem; }

/* Legal / prose */
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { color: var(--text-muted); padding-left: 1.2rem; }
.prose li { margin-bottom: 0.45rem; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--bg-soft);
  color: var(--gold);
  font-weight: 600;
}

.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
  border-bottom: 1px solid var(--line);
}

.page-hero .hero-rule { margin-top: 1rem; }

.full-bleed {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.full-bleed img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.full-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,11,9,0.2), rgba(12,11,9,0.88));
}

.full-bleed-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 2.5rem;
}

/* Modules / FAQ */
.module-list {
  display: grid;
  gap: 1rem;
}

.module {
  border: 1px solid var(--line);
  padding: 1.2rem 1.3rem;
  background: var(--bg-elevated);
}

.module h3 { margin-bottom: 0.35rem; }

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

.faq summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
}

.faq details p {
  margin: 0.7rem 0 0.2rem;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: #0a0908;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2rem;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--text);
  margin: 0 0 0.6rem;
}

.footer-heading {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

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

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
}

.footer-bottom {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 2.5rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(201, 169, 98, 0.15);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 520px;
  margin-inline: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--gold-soft);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
  display: none;
}

.cookie-banner.is-visible { display: block; animation: fade-rise 0.45s var(--ease); }

.cookie-banner p {
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-actions .btn {
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
}

.inline-error {
  margin: 1rem auto;
  width: min(1120px, calc(100% - 2.5rem));
  padding: 0.85rem 1rem;
  border: 1px solid var(--danger);
  color: var(--danger);
  background: rgba(217, 137, 122, 0.08);
}

/* 404 */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

.error-code {
  font-family: var(--serif);
  font-size: clamp(5rem, 18vw, 9rem);
  color: var(--gold);
  line-height: 0.9;
  margin: 0;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes fade-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes rule-draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
