:root {
  --bg: #060606;
  --bg-elevated: #101010;
  --bg-soft: #171717;
  --panel: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.14);
  --text: #f4f0e8;
  --muted: rgba(244, 240, 232, 0.72);
  --accent: #d6b36d;
  --accent-strong: #f3d38b;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(214, 179, 109, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(214, 179, 109, 0.08), transparent 26%),
    linear-gradient(180deg, #080808, #050505 55%, #080808);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

body.modal-open {
  overflow: hidden;
}

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

button,
.button {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow-x: hidden;
}

.site-header,
.site-footer,
.section,
.not-found {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-logo {
  width: 4.5rem;
  height: auto;
  flex: 0 0 auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

.brand-text {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.brand-text strong,
h1,
h2,
h3,
blockquote {
  font-family: "Cormorant Garamond", serif;
}

.brand-text strong {
  font-size: 1.2rem;
  font-weight: 600;
}

.brand-text span:last-child {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  transition: color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav.nav-locked a {
  opacity: 0.35;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
}

.section {
  padding: 4rem 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: end;
  padding-top: 3rem;
}

.hero-copy,
.hero-card,
.feature-card,
.content-card,
.practice-item,
.contact-card,
.timeline-item,
.callout-card,
.map-card {
  min-width: 0;
}

.hero-copy,
.page-hero,
.content-card,
.feature-card,
.practice-item,
.callout-card,
.contact-card,
.map-card,
.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.hero-copy,
.page-hero,
.callout-card,
.map-card {
  padding: clamp(2rem, 4vw, 4rem);
  border-radius: var(--radius-lg);
}

.hero-copy::before,
.hero-card::before,
.content-card::before,
.feature-card::before,
.practice-item::before,
.callout-card::before,
.contact-card::before,
.map-card::before {
  content: "";
  position: absolute;
  inset: auto auto -30% -10%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(214, 179, 109, 0.18), transparent 68%);
  pointer-events: none;
}

.hero h1,
.page-hero h1,
.split-section h2,
.section-heading h2,
.callout-card h2,
.not-found h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.95;
  font-weight: 600;
}

.hero-text,
.page-hero p,
.feature-card p,
.content-card p,
.practice-item p,
.quote-section p,
.callout-card p,
.contact-card p,
.map-card p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 2.75rem;
  height: 1px;
  background: currentColor;
}

.hero-actions,
.disclaimer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

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

.button-primary {
  background: var(--accent);
  color: #111;
}

.button-secondary {
  border-color: var(--border);
  background: transparent;
  color: var(--text);
}

.hero-card,
.content-card,
.feature-card,
.practice-item,
.contact-card {
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.hero-card ul,
.practice-grid,
.feature-grid,
.content-grid,
.timeline {
  margin: 0;
}

.hero-card ul {
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.8;
}

.card-label {
  margin: 0 0 1rem;
  color: var(--accent-strong);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
}

.feature-grid,
.content-grid,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-card h3,
.content-card h2,
.practice-item h2,
.practice-item h3,
.contact-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.65rem;
  font-weight: 600;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

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

.practice-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.practice-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(214, 179, 109, 0.35);
  color: var(--accent-strong);
  background: rgba(214, 179, 109, 0.08);
  font-size: 0.85rem;
  font-weight: 700;
}

.quote-section {
  text-align: center;
  padding-bottom: 5rem;
}

.quote-section blockquote {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.narrow {
  max-width: 860px;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.timeline-item span {
  color: var(--accent-strong);
  font-size: 1.2rem;
  font-weight: 700;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.callout-card,
.map-card {
  max-width: 900px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 0 2.5rem;
  color: var(--muted);
}

.site-footer > * {
  min-width: 0;
}

.site-footer p {
  margin: 0.3rem 0;
  overflow-wrap: anywhere;
}

.site-footer strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.disclaimer-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  overflow-y: auto;
  overflow-x: hidden;
  justify-items: center;
  align-items: center;
}

.disclaimer-overlay.is-visible {
  display: grid;
  place-items: center;
}

.disclaimer-panel {
  width: min(760px, 100%);
  max-width: 100%;
  max-height: calc(100dvh - 2rem);
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(180deg, #121212, #090909);
  box-shadow: var(--shadow);
  overflow-y: auto;
  overflow-x: hidden;
  min-width: 0;
}

.disclaimer-panel h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
}

.disclaimer-copy {
  margin-top: 1.25rem;
}

.disclaimer-copy p {
  color: var(--muted);
  line-height: 1.8;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.disclaimer-copy,
.disclaimer-actions {
  min-width: 0;
}

.disclaimer-actions > * {
  min-width: 0;
}

.not-found {
  display: grid;
  place-content: center;
  min-height: 100vh;
  text-align: center;
}

.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;
}

@media (max-width: 960px) {
  .hero,
  .split-section,
  .feature-grid,
  .content-grid,
  .contact-layout,
  .practice-grid,
  .practice-grid.compact {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-wrap: wrap;
    padding: 1rem 0;
    gap: 0.75rem;
  }

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

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(10, 10, 10, 0.94);
  }

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

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .section,
  .not-found {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .hero h1,
  .page-hero h1,
  .split-section h2,
  .section-heading h2,
  .callout-card h2,
  .not-found h1 {
    font-size: clamp(2.15rem, 10vw, 3.4rem);
    line-height: 1;
  }

  .site-header {
    position: static;
  }

  .brand {
    flex: 1 1 auto;
    gap: 0.7rem;
  }

  .brand-logo {
    width: 3.35rem;
  }

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

  .brand-text span:last-child {
    font-size: 0.76rem;
  }

  .hero {
    gap: 1rem;
    padding-top: 1rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .hero-copy,
  .page-hero,
  .callout-card,
  .map-card,
  .hero-card,
  .content-card,
  .feature-card,
  .practice-item,
  .contact-card {
    padding: 1.2rem;
    border-radius: 22px;
  }

  .hero-text,
  .page-hero p,
  .feature-card p,
  .content-card p,
  .practice-item p,
  .quote-section p,
  .callout-card p,
  .contact-card p,
  .map-card p,
  .timeline-item p,
  .disclaimer-copy p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .eyebrow {
    gap: 0.4rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .eyebrow::before {
    width: 1.75rem;
  }

  .hero-actions,
  .disclaimer-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .practice-item {
    gap: 0.85rem;
  }

  .practice-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.78rem;
  }

  .feature-card h3,
  .content-card h2,
  .practice-item h2,
  .practice-item h3,
  .contact-card h2 {
    font-size: 1.4rem;
  }

  .quote-section {
    padding-bottom: 3rem;
  }

  .quote-section blockquote {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding: 1rem 1.15rem;
  }

  .disclaimer-overlay {
    display: none;
    align-items: start;
    justify-items: stretch;
    padding:
      max(0.75rem, env(safe-area-inset-top))
      max(0.75rem, env(safe-area-inset-right))
      max(0.9rem, env(safe-area-inset-bottom))
      max(0.75rem, env(safe-area-inset-left));
  }

  .disclaimer-overlay.is-visible {
    display: block;
  }

  .disclaimer-panel {
    width: 100%;
    max-height: none;
    margin: 0;
    padding: 1rem;
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  }

  .disclaimer-panel h2 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
    line-height: 1;
  }

  .disclaimer-copy {
    margin-top: 1rem;
  }

  .disclaimer-copy p {
    margin: 0 0 0.9rem;
  }
}

@media (max-width: 420px) {
  .site-header,
  .site-footer,
  .section,
  .not-found {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .brand-logo {
    width: 3rem;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .brand-text span:last-child {
    font-size: 0.72rem;
  }

  .nav-toggle {
    width: 2.6rem;
    height: 2.6rem;
    padding: 0.68rem;
  }

  .hero-copy,
  .page-hero,
  .callout-card,
  .map-card,
  .hero-card,
  .content-card,
  .feature-card,
  .practice-item,
  .contact-card {
    padding: 1rem;
  }

  .disclaimer-panel {
    padding: 1rem;
    width: 100%;
    border-radius: 16px;
  }

  .disclaimer-panel h2 {
    font-size: clamp(1.7rem, 9vw, 2.2rem);
  }

  .disclaimer-copy p {
    font-size: 0.92rem;
    line-height: 1.55;
  }
}
