:root {
  --bg: #f5f5f1;
  --surface: #ffffff;
  --surface-strong: #0e0e0e;
  --surface-soft: #ecece7;
  --text: #111111;
  --text-muted: #4e4e4a;
  --text-inverse: #f7f7f2;
  --border: rgba(17, 17, 17, 0.12);
  --shadow: 0 20px 60px rgba(17, 17, 17, 0.08);
  --accent: #111111;
}

body[data-theme="dark"] {
  --bg: #080808;
  --surface: #111111;
  --surface-strong: #fafaf7;
  --surface-soft: #171717;
  --text: #f4f4ee;
  --text-muted: #b6b6ad;
  --text-inverse: #080808;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --accent: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 88%, var(--surface-strong)) 100%);
  color: var(--text);
  transition: background 220ms ease, color 220ms ease;
}

body[data-theme="dark"] {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), transparent 25%),
    linear-gradient(180deg, #050505 0%, #111111 100%);
}

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

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-kicker,
.section-tag,
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

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

.brand-title {
  font-size: 1.8rem;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.theme-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.theme-toggle-track {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--surface-soft);
}

.theme-toggle-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #111111 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.theme-toggle-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

main {
  display: grid;
  gap: 24px;
}

.panel {
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 32px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow);
}

.panel-hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  min-height: 64vh;
  align-items: stretch;
}

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

h1 {
  margin: 12px 0 16px;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.92;
  font-weight: 600;
}

h2 {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 0.98;
  font-weight: 600;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.75rem;
  font-weight: 600;
}

p {
  margin: 0;
}

.lead,
.panel p,
.bullet-list {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 600;
}

.button-primary {
  background: var(--surface-strong);
  color: var(--text-inverse);
}

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

.hero-card,
.panel-contrast,
.panel-inset {
  background: var(--surface-strong);
  color: var(--text-inverse);
}

.hero-card {
  display: grid;
  gap: 16px;
  align-content: end;
}

.hero-stat {
  padding: 20px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface-strong) 90%, var(--bg));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-value {
  display: block;
  margin-bottom: 6px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.hero-stat-label {
  color: color-mix(in srgb, var(--text-inverse) 72%, transparent);
}

.content-grid,
.split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.section-block {
  display: grid;
  gap: 28px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface-soft);
}

.bullet-list {
  padding-left: 18px;
  margin-top: 18px;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 980px) {
  .topbar,
  .panel-hero,
  .content-grid,
  .split-layout,
  .contact-panel,
  .cards {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar {
    position: static;
  }

  .main-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 100%);
    padding-top: 10px;
  }

  .topbar,
  .panel {
    padding: 20px;
    border-radius: 24px;
  }

  h1 {
    font-size: 2.8rem;
  }
}
