:root {
  --ink: #17181c;
  --ink-soft: #2a2c33;
  --paper: #faf8f4;
  --paper-alt: #f1ede4;
  --gold: #b9964a;
  --gold-light: #d9bd7c;
  --text-muted: #6b6d76;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, Segoe UI, Roboto, sans-serif;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 760px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
  background: rgba(23, 24, 28, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .3px;
}
.brand span { color: var(--gold-light); display: block; font-size: 15px; font-weight: 500; }
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: #e8e6e1;
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-light);
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-small { padding: 10px 20px; font-size: 13.5px; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #241c0c;
  box-shadow: 0 10px 24px -8px rgba(185, 150, 74, .55);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(185, 150, 74, .65); }
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
}
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); transform: translateY(-2px); }

.section:not(.cta-band) .btn-outline { border-color: rgba(23,24,28,.2); color: var(--ink); }
.section:not(.cta-band) .btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 78% 20%, #23242b 0%, var(--ink) 55%);
  color: #fff;
  padding: 168px 0 100px;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 90%, rgba(185,150,74,.18), transparent 45%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.eyebrow {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 16px;
}
.eyebrow.center { text-align: center; }
.hero h1 {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 20px;
}
.hero-subtitle {
  font-size: 17px;
  color: #cfd0d6;
  max-width: 480px;
  margin: 0 0 34px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.hero-actions.center { justify-content: center; }
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stats span { font-size: 13px; color: #a9abb3; max-width: 140px; }

.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
}
.hero-photo::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 78%;
  height: 55%;
  background: radial-gradient(ellipse closest-side, rgba(185,150,74,.22), transparent 75%);
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-photo img {
  position: relative;
  width: 100%;
  max-height: 640px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.5));
  -webkit-mask-image: linear-gradient(to bottom, black 78%, transparent 96%);
  mask-image: linear-gradient(to bottom, black 78%, transparent 96%);
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--paper-alt); }
.section-title {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  margin: 0 0 44px;
  line-height: 1.25;
}
.section-title.center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }

.prose p {
  font-size: 16.5px;
  color: #35363d;
  margin-bottom: 20px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
.prose a { color: var(--gold); font-weight: 600; border-bottom: 1px solid rgba(185,150,74,.4); }
.prose a:hover { border-color: var(--gold); }

/* ---------- Cards ---------- */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-cards-5 { grid-template-columns: repeat(5, 1fr); margin-bottom: 56px; }
.card {
  background: #fff;
  border: 1px solid rgba(23,24,28,.06);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -18px rgba(23,24,28,.18);
  border-color: rgba(185,150,74,.35);
}
.card-featured { border-top: 3px solid var(--gold); }
.card-icon {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid rgba(185,150,74,.4);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-family: var(--serif); font-size: 20px; margin: 0 0 10px; }
.card p { font-size: 14.5px; color: var(--text-muted); margin: 0; }

/* ---------- Alliances ---------- */
.alliances {
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 40px 44px;
  text-align: center;
}
.alliances h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-light);
  margin: 0 0 14px;
}
.alliances p {
  max-width: 640px;
  margin: 0 auto 24px;
  color: #cfd0d6;
  font-size: 15px;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.tag-list span {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: #e8e6e1;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, #1c1d22, #26272e);
  color: #fff;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--serif);
  font-size: 32px;
  margin: 0 0 12px;
}
.cta-band p { color: #cfd0d6; margin: 0 0 36px; font-size: 16px; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }

.form-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 420px;
  margin: 36px 0 28px;
  color: #8f9099;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.14);
}

.contact-form {
  width: 100%;
  max-width: 420px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form[hidden] { display: none; }
.form-row { display: flex; flex-direction: column; gap: 7px; }
.form-row label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #a9abb3;
}
.form-row input,
.form-row textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: #fff;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.16);
  border-radius: 10px;
  padding: 12px 14px;
  resize: vertical;
  transition: border-color .2s ease, background .2s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,.08);
}
.form-submit { align-self: flex-start; margin-top: 4px; }
.form-status {
  font-size: 14px;
  margin: 18px 0 0;
  width: 100%;
  max-width: 420px;
  text-align: left;
}
.form-status--success { color: #7bd88f; }
.form-status--error { color: #e8877f; }
.form-status--info { color: var(--gold-light); }

/* ---------- Footer ---------- */
.site-footer { padding: 32px 0; background: var(--ink); color: #a9abb3; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { max-width: 360px; margin: 0 auto; order: -1; }
  .hero { padding-top: 140px; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .nav-links { display: none; }
  .grid-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 38px; }
  .grid-cards { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .section-title { font-size: 27px; }
  .alliances { padding: 32px 22px; }
  .header-inner .btn-small { display: none; }
}
