:root {
  --ink: #202124;
  --muted: #62645f;
  --line: #d9d7ce;
  --paper: #f7f4ec;
  --white: #fffdf8;
  --stone: #d8d1c3;
  --olive: #4f5948;
  --blue: #526474;
  --copper: #9a6b4f;
  --shadow: 0 22px 80px rgba(30, 32, 34, 0.16);
  --max: 1180px;
  --header-h: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(32, 33, 36, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: auto;
  max-height: 62px;
  object-fit: contain;
}

.primary-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 38px);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.primary-nav a,
.investment-menu summary {
  text-decoration: none;
  color: var(--muted);
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.investment-menu summary:hover,
.investment-menu summary:focus-visible {
  color: var(--ink);
}

.investment-menu {
  position: relative;
}

.investment-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.investment-menu summary::-webkit-details-marker {
  display: none;
}

.investment-menu summary::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transform: translateY(1px);
  transition: transform 180ms ease;
}

.investment-menu[open] summary::after {
  transform: rotate(180deg) translateY(1px);
}

.investment-panel {
  position: absolute;
  top: calc(100% + 20px);
  right: 0;
  z-index: 30;
  width: min(300px, calc(100vw - 40px));
  padding: 10px 0;
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid rgba(32, 33, 36, 0.12);
  box-shadow: 0 24px 70px rgba(30, 32, 34, 0.18);
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
}

.investment-panel span {
  display: block;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(32, 33, 36, 0.08);
  font-size: 15px;
  line-height: 1.25;
  white-space: nowrap;
}

.investment-panel span:last-child {
  border-bottom: 0;
}

.hero {
  min-height: calc(100svh - var(--header-h) - 34px);
  position: relative;
  display: grid;
  align-items: center;
  padding: clamp(44px, 7vw, 92px) clamp(20px, 5vw, 72px) 0;
  overflow: hidden;
  background: var(--paper);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.72), rgba(18, 18, 18, 0.26) 56%, rgba(18, 18, 18, 0.1)),
    linear-gradient(0deg, rgba(18, 18, 18, 0.36), rgba(18, 18, 18, 0.03) 52%);
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.hero-inner {
  position: relative;
  max-width: 860px;
  color: var(--white);
  padding-bottom: 96px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e2c9ae;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 26px;
  font-size: clamp(58px, 8.6vw, 118px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
  font-weight: 500;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.84);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-strip {
  position: relative;
  width: min(var(--max), 100%);
  min-height: 68px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 1px;
  margin: 0 auto;
  background: rgba(255, 253, 248, 0.22);
  color: var(--white);
}

.hero-strip span {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 18px 22px;
  background: rgba(32, 33, 36, 0.42);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  scroll-margin-top: var(--header-h);
  padding: clamp(44px, 5.5vw, 72px) clamp(20px, 5vw, 72px);
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.footer-shell {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.footer-contact-block {
  display: grid;
  grid-template-columns: minmax(220px, 0.52fr) minmax(420px, 1fr);
  column-gap: clamp(36px, 7vw, 96px);
  row-gap: 12px;
  align-items: start;
}

.footer-contact-block h2 {
  grid-column: 2;
  max-width: 560px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
  font-weight: 500;
}

.footer-email {
  grid-column: 2;
  width: fit-content;
  color: var(--ink);
  font-size: clamp(22px, 2.5vw, 36px);
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

.footer-contact-block p {
  max-width: 560px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.footer-rights {
  grid-column: 1;
  grid-row: 1 / span 3;
  padding-top: 8px;
  color: var(--ink) !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3 !important;
  text-transform: uppercase;
}

.footer-contact-block p:not(.footer-rights) {
  grid-column: 2;
}

.legal-page {
  background: var(--paper);
}

.legal-main {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 110px) 0;
}

.legal-main h1 {
  color: var(--ink);
  font-size: clamp(42px, 6vw, 78px);
}

.legal-main h2 {
  margin: 44px 0 16px;
  font-size: clamp(26px, 3vw, 38px);
}

.legal-main p,
.legal-main li {
  color: var(--muted);
  font-size: 18px;
}

.legal-main a {
  color: var(--ink);
}

@media (max-width: 860px) {
  :root {
    --header-h: 72px;
  }

  .site-header {
    padding: 0 20px;
  }

  .brand-logo {
    width: 42px;
    max-height: 54px;
  }

  .primary-nav {
    gap: 18px;
    font-size: 12px;
  }

  .hero {
    min-height: calc(100svh - var(--header-h) - 92px);
    align-items: end;
    padding: 44px 20px 0;
  }

  .hero-media::after {
    background:
      linear-gradient(0deg, rgba(18, 18, 18, 0.78), rgba(18, 18, 18, 0.24) 66%),
      linear-gradient(90deg, rgba(18, 18, 18, 0.58), rgba(18, 18, 18, 0.08));
  }

  .hero-inner {
    padding-bottom: 42px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 72px);
  }

  h2 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .hero-strip {
    grid-template-columns: 1fr;
    width: calc(100% + 40px);
    margin-left: -20px;
  }

  .site-footer {
    padding: 42px 20px 46px;
  }

  .footer-contact-block {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-rights,
  .footer-contact-block h2,
  .footer-email,
  .footer-contact-block p:not(.footer-rights) {
    grid-column: 1;
  }

  .footer-rights {
    grid-row: auto;
    padding-top: 0;
    margin-bottom: 8px;
  }

  .footer-contact-block h2 {
    max-width: 360px;
    font-size: clamp(24px, 8vw, 34px);
  }

  .footer-email {
    max-width: 100%;
    font-size: clamp(20px, 6.5vw, 26px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
