/* ===== Elavior — styles ===== */

:root {
  --bg: #08080a;
  --bg-alt: #101013;
  --bg-card: #131317;
  --line: rgba(212, 175, 106, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f2ede2;
  --text-muted: #a8a29a;
  --gold: #d4af6a;
  --gold-light: #ecd186;
  --gold-deep: #a9793f;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1180px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.08; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.15; }
h3 { font-size: 1.4rem; font-weight: 600; }

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--gold);
  margin: 0 0 1.1em;
  font-weight: 500;
}

/* subtle film-grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: #14100a;
  font-weight: 600;
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }

.btn-outline {
  border-color: var(--gold);
  color: var(--gold-light);
  background: transparent;
}
.btn-outline:hover { background: rgba(212, 175, 106, 0.1); }

.btn-ghost {
  color: var(--text);
  border-color: var(--line-soft);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

.btn-sm { padding: 10px 22px; font-size: 0.75rem; }
.btn-wide { width: 100%; padding: 16px; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(8, 8, 10, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(8, 8, 10, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-img { height: 30px; width: auto; }

.main-nav {
  display: flex;
  gap: 36px;
  margin-left: auto;
  margin-right: 36px;
}
.main-nav a:not(.nav-cta) {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}
.main-nav a:not(.nav-cta):hover { color: var(--gold-light); }
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.main-nav a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta { flex-shrink: 0; margin-left: 4px; }

.menu-toggle {
  display: none;
  width: 34px; height: 24px;
  background: none; border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 1px;
  background: var(--gold-light);
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(212,175,106,0.14) 0%, rgba(212,175,106,0) 65%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 900px; }
.hero-lead {
  font-size: 1.15rem;
  max-width: 620px;
  color: var(--text-muted);
  margin-bottom: 2.2em;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

/* ===== Marquee ===== */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  background: var(--bg-alt);
}
.marquee-track {
  display: flex;
  gap: 18px;
  white-space: nowrap;
  width: max-content;
  animation: scroll-left 32s linear infinite;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}
.marquee-track span:nth-child(odd) { color: var(--text-muted); }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Sections ===== */
.section { padding: 120px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-lead { font-size: 1.05rem; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 70px;
  align-items: center;
}
.about-media {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.about-mark {
  width: 100%;
  max-width: 280px;
  filter: drop-shadow(0 20px 40px rgba(212,175,106,0.12));
}
.about-points {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 2em;
}
.point { display: flex; gap: 18px; align-items: flex-start; }
.point-mark {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 600;
  flex-shrink: 0;
  padding-top: 2px;
}
.point p { margin: 0; color: var(--text); }

/* ===== Cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.card {
  background: var(--bg-card);
  padding: 44px 36px;
  transition: background 0.3s ease;
}
.card:hover { background: #17171b; }
.card-num {
  display: block;
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.card p { margin-bottom: 0; }
.card-cta {
  background: linear-gradient(160deg, rgba(212,175,106,0.1), transparent);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-cta .btn { margin-top: 12px; align-self: flex-start; }

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.step {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  position: relative;
}
.step-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  display: block;
  margin-bottom: 14px;
}
.step p { margin-bottom: 0; }

/* ===== Contact ===== */
.contact-info-centered {
  display: flex;
  justify-content: center;
  gap: 90px;
  flex-wrap: wrap;
  text-align: center;
  padding-top: 8px;
}
.info-block { margin-bottom: 0; }
.info-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.info-block a, .info-block p {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--text);
  margin: 0;
}
.info-block a:hover { color: var(--gold-light); }

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 56px;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: var(--bg-alt);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-mark { height: 30px; width: auto; opacity: 0.85; }
.footer-inner p { margin: 0; font-size: 0.82rem; }
.footer-nav { display: flex; gap: 26px; }
.footer-nav a { font-size: 0.82rem; color: var(--text-muted); }
.footer-nav a:hover { color: var(--gold-light); }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(19,19,23,0.9);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 400;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { border-color: var(--gold); }

/* ===== Reveal animation ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; margin-bottom: 20px; }
  .about-mark { max-width: 160px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-info-centered { gap: 50px; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(8,8,10,0.98);
    border-bottom: 1px solid var(--line);
    padding: 24px 28px 28px;
    gap: 18px;
  }
  .site-header.nav-open .nav-cta {
    margin: 8px 0 0;
    align-self: stretch;
    justify-content: center;
  }
  .cards-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-info-centered { gap: 34px; }
  .info-block a, .info-block p { font-size: 1.3rem; }
  .section { padding: 80px 0; }
  .hero { padding-top: 120px; min-height: auto; }
}
