:root {
  --background: #121722;
  --background-light: #f7f7f7;
  --text: #121722;
  --muted: #4f566b;
  --accent: #cf9450;
  --accent-dark: #b67f40;
  --white: #ffffff;
  --radius: 1.25rem;
  --header-height: 90px;
}

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

body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--white);
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--accent-dark);
}

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

.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  z-index: 10;
}

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

.wrapper {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.wrapper.narrow {
  max-width: 860px;
}

.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.section.muted {
  background-color: var(--background-light);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.eyebrow.center {
  text-align: center;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", "Times New Roman", serif;
  color: var(--text);
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
}

h2 {
  font-size: clamp(2.25rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(2rem, 3vw, 2.5rem);
}

h4 {
  font-size: 1.5rem;
}

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

.lead {
  font-size: 1.2rem;
  color: var(--muted);
}

.topic-list {
  margin: 1rem 0 2rem 1.5rem;
  padding: 0;
}

.topic-list li {
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--accent);
  color: var(--white);
}

.btn.ghost {
  border-color: var(--text);
  color: var(--text);
}

.btn.ghost.light {
  border-color: var(--white);
  color: var(--white);
}

.btn.link {
  padding: 0;
  border: none;
  border-radius: 0;
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-header .wrapper {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  color: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0.4rem;
}

.menu-toggle span {
  width: 1.75rem;
  height: 0.125rem;
  background: var(--text);
  display: block;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1.75rem;
  height: 0.125rem;
  background: var(--text);
}

.menu-toggle span::before {
  top: -0.4rem;
}

.menu-toggle span::after {
  bottom: -0.4rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  background-color: var(--background);
  background-image: linear-gradient(135deg, rgba(18, 23, 34, 0.85), rgba(18, 23, 34, 0.35)),
    var(--hero-image, none);
  background-size: cover;
  background-position: center;
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 45%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}

.hero-copy {
  color: var(--white);
  max-width: 560px;
}

.hero-copy h1,
.hero-copy p {
  color: inherit;
}

.hero-copy .lead {
  color: rgba(255, 255, 255, 0.85);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.45rem 1.25rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin: 1rem 0 0.35rem;
}

.hero-stats {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.hero-stat {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.75);
}

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

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 460px;
  margin-left: auto;
}

.hero-panel {
  background: rgba(12, 16, 24, 0.8);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 50px rgba(8, 11, 18, 0.4);
  backdrop-filter: blur(10px);
  color: var(--white);
}

.hero-panel.insight {
  background: linear-gradient(145deg, rgba(12, 16, 24, 0.9), rgba(18, 23, 34, 0.7));
}

.hero-panel.quote {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.panel-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.panel-title {
  margin: 0;
  color: var(--white);
  font-size: 1.5rem;
}

.panel-progress {
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  margin: 1.25rem 0 0.5rem;
  overflow: hidden;
}

.panel-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #ffd7ae);
}

.panel-meta {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.panel-quote {
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.5;
  margin: 1rem 0;
}

.panel-signature {
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1;
}

.scroll-hint span {
  width: 16px;
  height: 16px;
  border-left: 2px solid rgba(255, 255, 255, 0.8);
  border-bottom: 2px solid rgba(255, 255, 255, 0.8);
  transform: rotate(-45deg);
  animation: scrollArrow 2s infinite ease-in-out;
}

@keyframes scrollArrow {
  0%,
  100% {
    transform: translateY(0) rotate(-45deg);
    opacity: 0.4;
  }
  50% {
    transform: translateY(6px) rotate(-45deg);
    opacity: 1;
  }
}

.themes-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.themes-intro {
  background: var(--background);
  color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
}

.themes-intro h3,
.themes-intro p {
  color: var(--white);
}

.themes-list {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(18, 23, 34, 0.08);
}

.themes-list ul {
  padding-left: 1rem;
  margin: 1.5rem 0;
}

.themes-list li {
  margin-bottom: 0.85rem;
}

.muted-note {
  color: var(--muted);
  margin-top: 1rem;
  font-style: italic;
}

.contact-section {
  background: var(--background);
  color: var(--white);
}

.contact-section p,
.contact-section h3,
.contact-section h4 {
  color: var(--white);
}

.contact-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 220px;
}

.contact-card.highlight {
  background: var(--accent);
  color: var(--white);
  border-color: transparent;
}

.contact-card.highlight p {
  color: rgba(255, 255, 255, 0.9);
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.icon-circle svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.site-footer {
  background: #0e121b;
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0;
}

.site-footer .wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 960px) {
  .site-header .btn.primary {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    cursor: pointer;
  }

  .site-header .wrapper {
    position: relative;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transform-origin: top center;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  body.nav-open .site-nav {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    padding-top: 6rem;
    padding-bottom: 5rem;
    align-items: flex-end;
  }

  .hero-content {
    justify-content: center;
  }

  .hero-card {
    text-align: center;
  }

  .hero-meta {
    justify-content: center;
  }
}
