:root {
  --bg:            #F7F4EF;
  --bg-alt:        rgba(212, 200, 138, 0.05);
  --surface:       #FFFFFF;
  --surface-muted: #F7F4EF;
  --navy:          #111111;
  --navy-deep:     #0a0a0a;
  --text:          #151515;
  --text-soft:     #66605A;
  --line:          rgba(17, 17, 17, 0.08);
  --line-strong:   rgba(255, 255, 255, 0.12);
  --accent:        #C6A46A;
  --accent-deep:   #B89252;
  --accent-soft:   rgba(198, 164, 106, 0.16);
  --accent-glow:   rgba(198, 164, 106, 0.12);
  --border-gold:   rgba(198, 164, 106, 0.28);
  --shadow-sm:     0 10px 30px rgba(17, 17, 17, 0.06);
  --shadow-md:     0 18px 50px rgba(17, 17, 17, 0.08);
  --glow-gold:     0 0 0 1px rgba(198, 164, 106, 0.10), 0 8px 30px rgba(198, 164, 106, 0.10);
  --radius-sm:     16px;
  --radius-md:     24px;
  --radius-lg:     36px;
  --container:     1200px;
  --section-space: clamp(72px, 10vw, 132px);
  --transition:    680ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 900ms cubic-bezier(0.22, 1, 0.36, 1);
  --hero-parallax: 0px;
}

@media (min-width: 1024px) {
  :root {
    --section-space: clamp(56px, 6vw, 96px);
  }
}

html {
  background: var(--bg);
  max-width: 100%;
  overflow-x: hidden;
}

body {
  color: var(--text);
  background: #ffffff;
  font-family: Manrope, sans-serif;
  line-height: 1.6;
  letter-spacing: -0.01em;
  max-width: 100%;
  overflow-x: hidden;
}

h1,
h2,
h3,
.hero__brand,
.stat-card__value {
  line-height: 1.05;
  letter-spacing: -0.04em;
}

p {
  color: var(--text-soft);
}

.site-shell {
  min-height: 100vh;
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  padding: 6px 0;
  height: 82px;
  opacity: 1;
  transform: translateY(0);
  transition:
    transform var(--transition),
    opacity var(--transition),
    background-color var(--transition),
    backdrop-filter var(--transition),
    box-shadow var(--transition);
}

.theme-home .header {
  opacity: 0;
  transform: translateY(-120%);
}

.header.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.header.header--glass {
  backdrop-filter: blur(14px) saturate(165%);
  -webkit-backdrop-filter: blur(14px) saturate(165%);
}

.header.header--solid {
  background: rgba(24, 24, 23, 0.89);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
}

.header.is-visible,
.header.header--glass,
.header.header--solid {
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.08), 0 12px 30px rgba(17, 17, 17, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header__logo {
  height: 40px;
  width: auto;
  display: block;
  margin-left: -10px;
}

.header__brand-mark {
  height: 64px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  padding-top: 5px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
  color: var(--navy);
  font-size: 0.92rem;
}

@media (min-width: 1024px) {
  .header__nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-40%, -50%);
  }
}

.header__nav a {
  transition: color var(--transition);
  transition: --border-gold;
  color: rgb(210, 208, 204);
  font-size: 24px;
  font-family: -apple-system-ui;
}

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

.header__toggle {
  display: none;
}

@media (max-width: 768px) {
  .header {
    opacity: 1 !important;
    transform: translateY(0) !important;
    padding-block: 10px;
    background: rgba(24, 24, 23, 0.78);
    backdrop-filter: blur(12px) saturate(165%);
    -webkit-backdrop-filter: blur(12px) saturate(165%);
  }

  .header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    position: relative;
    z-index: 2;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(24, 24, 23, 0.35);
    color: #fff;
    box-shadow: 0 12px 30px rgba(17, 17, 17, 0.12);
  }

  .header__toggle-lines {
    position: relative;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 2px;
  }

  .header__toggle-lines::before,
  .header__toggle-lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 2px;
  }

  .header__toggle-lines::before {
    top: -7px;
  }

  .header__toggle-lines::after {
    top: 7px;
  }

  body.nav-open .header__toggle-lines {
    background: transparent;
  }

  body.nav-open .header__toggle-lines::before {
    top: 0;
    transform: rotate(45deg);
  }

  body.nav-open .header__toggle-lines::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .header__nav {
    display: none;
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 76px);
    left: 16px;
    right: 16px;
    padding: 14px 14px;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    background: rgba(24, 24, 23, 0.92);
    backdrop-filter: blur(12px) saturate(165%);
    -webkit-backdrop-filter: blur(12px) saturate(165%);
    box-shadow: 0 18px 50px rgba(17, 17, 17, 0.22);
  }

  body.nav-open .header__nav {
    display: flex;
  }

  .header__nav a {
    font-size: 18px;
    padding: 12px 10px;
    border-radius: 12px;
    line-height: 1.15;
    color: rgba(255, 255, 255, 0.92);
  }

  .header__nav a:hover {
    background: rgba(198, 164, 106, 0.10);
    color: rgba(255, 255, 255, 0.98);
  }
}

@media (max-width: 720px) {
  .header {
    padding-block: 10px;
  }

  .header__toggle {
    display: inline-flex;
  }

  .header__brand-mark {
    display: block;
    height: 60px;
    width: auto;
  }
.header__brand{
  gap: 5px;
}
  .header__logo {
    height: 38px;
    padding-top: 5px;
    margin: 0;;
  }
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

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

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
}

.section--cta {
  padding-top: 0;
}





.section-copy {
  max-width: 58ch;
  margin-top: 18px;
  font-size: 1.02rem;
}

.section-copy--light {
  color: rgba(255, 255, 255, 0.72);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    transform var(--transition),
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--small {
  min-height: 40px;
  padding-inline: 18px;
  font-size: 0.88rem;
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.btn--ghost:hover {
  border-color: rgba(198, 164, 106, 0.5);
  background: rgba(198, 164, 106, 0.08);
  color: #fff;
}

.btn--light {
  background: #fff;
  color: var(--navy);
  box-shadow: none;
}

.btn--light:hover {
  background: #fff;
  box-shadow: var(--glow-gold);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--glow-gold);
  transform: translateY(-2px);
}

.card--soft {
  background: rgba(255, 255, 255, 0.88);
}

.card--dark {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.card--dark:hover {
  border-color: var(--border-gold);
  box-shadow: var(--glow-gold);
}

.media-tile {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(243, 238, 231, 0.92));
  color: rgba(17, 17, 17, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 600;
}

.media-tile--large {
  min-height: 340px;
}

.media-tile--stacked {
  min-height: 240px;
}

details.card {
  padding: 22px 24px;
}

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

details.card p {
  margin-top: 12px;
}
