@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --gold: #d4af37;
  --gold-soft: #f1d985;
  --silver: #c9ced6;
  --black: #090909;
  --dark: #111111;
  --panel: #151515;
  --panel-strong: #1d1d1d;
  --white: #f6f4ef;
  --muted: #aaa9a4;
  --border: rgba(214, 196, 141, .18);
  --shadow: 0 30px 80px rgba(0, 0, 0, .42);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Montserrat, system-ui, sans-serif;
  background:
    radial-gradient(circle at 82% -8%, rgba(212, 175, 55, .14), transparent 26rem),
    radial-gradient(circle at -12% 24%, rgba(201, 206, 214, .08), transparent 24rem),
    var(--black);
  color: var(--white);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .7), transparent 72%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 9, 9, .78);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: .01em;
}

.monogram {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, .55);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(212, 175, 55, .2), rgba(255, 255, 255, .035));
  color: var(--gold-soft);
  font-family: 'Playfair Display', serif;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #dedbd2;
  font-size: 14px;
}

.menu a {
  position: relative;
  transition: color .2s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}

.menu a:hover,
.menu a.active {
  color: var(--gold-soft);
}

.menu a:hover::after,
.menu a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease), color .28s var(--ease);
}

.btn-primary {
  border-color: rgba(212, 175, 55, .95);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #12100a;
  box-shadow: 0 14px 36px rgba(212, 175, 55, .16);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(212, 175, 55, .24);
}

.btn-secondary {
  background: rgba(255, 255, 255, .04);
}

.btn-secondary:hover {
  border-color: rgba(212, 175, 55, .55);
  color: var(--gold-soft);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 80px;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1180px, 92%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, .46), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 880px;
  margin: 14px 0 22px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(45px, 7vw, 82px);
  line-height: .98;
}

.lead {
  max-width: 700px;
  color: #dbd7cc;
  font-size: 18px;
}

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

.dashboard {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .02)),
    rgba(16, 16, 16, .88);
  padding: 24px;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

.dashboard::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, .14) 38%, transparent 56%);
  transform: translateX(-120%);
  animation: sheen 7s var(--ease) infinite;
}

.chart {
  position: relative;
  height: 190px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, .14);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(135deg, rgba(212, 175, 55, .18), rgba(192, 192, 192, .035));
  background-size: 44px 44px, 44px 44px, auto;
}

.chart::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 36px;
  height: 86px;
  border-bottom: 2px solid rgba(212, 175, 55, .68);
  clip-path: polygon(0 80%, 16% 64%, 30% 70%, 48% 34%, 64% 44%, 82% 12%, 100% 22%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(212, 175, 55, .42), rgba(212, 175, 55, 0));
  transform-origin: left bottom;
  animation: chartRise 1.4s var(--ease) both .35s;
}

.chart::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  right: 16%;
  top: 34px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 0 8px rgba(212, 175, 55, .12), 0 0 24px rgba(212, 175, 55, .44);
  animation: pulse 2.6s ease-in-out infinite;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.kpi {
  min-height: 106px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, .28);
  padding: 16px;
}

.kpi strong {
  display: block;
  color: var(--gold-soft);
  font-size: 23px;
  line-height: 1.1;
}

.kpi span {
  display: block;
  margin-top: 7px;
  color: #d6d2c6;
  font-size: 13px;
  line-height: 1.35;
}

.section {
  padding: 86px 0;
}

.section-title {
  margin: 0 0 16px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.muted {
  color: var(--muted);
}

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

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

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .018));
  padding: 28px;
  transition: transform .34s var(--ease), border-color .34s var(--ease), background .34s var(--ease), box-shadow .34s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(212, 175, 55, .08), transparent 42%);
  opacity: 0;
  transition: opacity .34s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, .46);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .026));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .26);
}

.card:hover::before {
  opacity: 1;
}

.icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(212, 175, 55, .36);
  border-radius: 8px;
  color: var(--gold-soft);
  font-weight: 800;
  background: rgba(212, 175, 55, .07);
}

.card h3,
.service-row h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .032);
  padding: 24px;
  transition: transform .32s var(--ease), border-color .32s var(--ease), background .32s var(--ease);
}

.service-row:hover {
  transform: translateX(6px);
  border-color: rgba(212, 175, 55, .44);
  background: rgba(255, 255, 255, .05);
}

.checklist {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.checklist li {
  position: relative;
  margin: 9px 0;
  padding-left: 26px;
  color: #d7d2c7;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 11px;
  height: 7px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-50%) rotate(-45deg);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(212, 175, 55, .34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 12%, rgba(212, 175, 55, .18), transparent 34%),
    linear-gradient(135deg, #171717, #0c0c0c);
  padding: 54px;
  box-shadow: var(--shadow);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 48px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0));
}

.resource-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  color: #dfdbd0;
  padding: 9px 14px;
}

.form {
  display: grid;
  gap: 14px;
}

.input,
.textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #101010;
  color: var(--white);
  padding: 15px 16px;
  outline: none;
  transition: border-color .24s ease, box-shadow .24s ease, background .24s ease;
}

.input:focus,
.textarea:focus {
  border-color: rgba(212, 175, 55, .62);
  background: #131313;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, .08);
}

.textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  display: none;
  border: 1px solid rgba(212, 175, 55, .35);
  border-radius: 8px;
  background: rgba(212, 175, 55, .08);
  color: #f4e7b7;
  padding: 12px 14px;
  font-size: 14px;
}

.form-status.visible {
  display: block;
}

.footer {
  border-top: 1px solid var(--border);
  background: #070707;
  color: #ccc7bd;
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer a:hover {
  color: var(--gold-soft);
}

.legal {
  max-width: 850px;
}

.legal h2 {
  margin-top: 34px;
  color: #fff;
  font-family: 'Playfair Display', serif;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .72s var(--ease), transform .72s var(--ease);
}

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

.grid-3 > .reveal:nth-child(2),
.kpi-grid > .reveal:nth-child(2) {
  transition-delay: .08s;
}

.grid-3 > .reveal:nth-child(3),
.kpi-grid > .reveal:nth-child(3) {
  transition-delay: .16s;
}

@keyframes sheen {
  0%, 42% {
    transform: translateX(-120%);
  }
  68%, 100% {
    transform: translateX(120%);
  }
}

@keyframes chartRise {
  from {
    opacity: 0;
    transform: scaleX(.2) translateY(18px);
  }
  to {
    opacity: 1;
    transform: scaleX(1) translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(.94);
    opacity: .82;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-inner {
    height: 70px;
  }

  .menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    border-bottom: 1px solid var(--border);
    background: rgba(9, 9, 9, .98);
    padding: 10px 4%;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease, transform .24s ease;
  }

  .menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu a {
    padding: 13px 0;
  }

  .menu a::after {
    display: none;
  }

  .mobile-toggle {
    display: grid;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero {
    padding-top: 64px;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .brand span:last-child {
    max-width: 150px;
    white-space: normal;
    line-height: 1.15;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 43px;
  }

  .section {
    padding: 64px 0;
  }

  .service-row {
    flex-direction: column;
  }

  .cta {
    padding: 32px 24px;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
