/* =============================================
   VARIABLES
   ============================================= */
:root {
  --hero-bg:   #1a1a18;
  --gold:      #c9a84c;
  --gold-dim:  #a8893e;
  --cream:     #f5f0e8;
  --body-text: #1a1a18;
  --muted:     #6b6b5f;

  --bg-section:    #0a0a14;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  background-color: #0a0a14;
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
}

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

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 4rem;
  color: rgba(255, 255, 255, 0.82);
  transition: background 0.45s ease, box-shadow 0.45s ease, color 0.45s ease;
}

.nav--scrolled {
  background: rgba(10, 12, 22, 0.92);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.85);
}

.nav__logo {
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav__links a {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__links a:not(:hover)::after {
  transform: scaleX(0);
  opacity: 0;
}

.nav__links .nav__cta {
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.42rem 1.1rem;
  border-radius: 6px;
}

.nav__links .nav__cta::after {
  display: none;
}

.nav__links .nav__cta:hover {
  background: rgba(201, 168, 76, 0.1);
  opacity: 1;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #0a0a14;
  display: flex;
  align-items: center;
}

/* Left — editorial content column */
.hero__content {
  position: relative;
  z-index: 1;
  width: 50%;
  padding-left: 8vw;
  padding-right: 3vw;
  padding-top: 5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

/* Editorial headline */
.hero__headline {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2rem, 3.4vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 300;
  color: #ffffff;
  opacity: 0;
  animation: heroFadeUp 1.4s ease forwards;
  animation-delay: 0.4s;
}

.hero__hl-gold {
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
}

/* Tagline */
.hero__tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #8aadc4;
  opacity: 0;
  animation: heroFadeUp 1.2s ease forwards;
  animation-delay: 1.4s;
}

/* Button row */
.hero__actions {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 1.2s ease forwards;
  animation-delay: 2.0s;
}

/* Shared button base */
.hero__cta {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  transition: background 0.25s, border-color 0.25s;
  white-space: nowrap;
}

/* Gold filled primary */
.hero__cta--primary {
  background: linear-gradient(to bottom, #d4b45c, var(--gold));
  color: #1a1a18;
  border: 1px solid var(--gold);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero__cta--primary:hover {
  background: var(--gold-dim);
  border-color: var(--gold-dim);
}

/* Outlined white secondary */
.hero__cta--outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero__cta--outline:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.75);
}

/* Right — animated geometric element */
.hero__geometric {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 3rem;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: heroFadeIn 2.5s ease forwards;
  animation-delay: 1.2s;
}

.hero__coords {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #c9a84c;
  opacity: 0.85;
  text-align: center;
}


@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (max-width: 768px) {
  .hero__content {
    width: 100%;
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .hero__geometric {
    display: none;
  }
}

/* =============================================
   SHARED SECTION TOKENS
   (used by cards, contact, quote)
   ============================================= */
.section__label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.6);
  margin-bottom: 1.75rem;
}

.section__accent {
  display: block;
  width: 2rem;
  height: 1px;
  background: #b8d4f0;
  margin-bottom: 2.25rem;
}

.section__heading {
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.92);
}

.section__body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.52);
}

.section__body + .section__body {
  margin-top: 1rem;
}

/* =============================================
   SERVICES GRID
   ============================================= */
.services {
  background-color: var(--bg-section);
  padding: 6rem 2rem;
  margin-top: -1px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}

/* Base card */
.card {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 2rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
}

/* Featured card */
.card--featured {
  background: rgba(201, 168, 76, 0.04);
  border: 0.5px solid rgba(201, 168, 76, 0.25);
  box-shadow: 0 0 80px rgba(180, 200, 220, 0.06),
              inset 0 1px 0 rgba(201, 168, 76, 0.1);
}

/* Gold label on featured cards */
.card__label--featured {
  color: rgba(201, 168, 76, 0.9);
}

/* Top glow on featured cards */
.card__glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 140px;
  background: radial-gradient(ellipse, rgba(180, 200, 220, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Mobile — single column */
@media (max-width: 768px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   QUOTE
   ============================================= */
.quote {
  position: relative;
  background-color: #070710;
  padding: 8rem 2rem;
  text-align: center;
}
.quote::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(184, 212, 240, 0.2);
}

.quote__inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote__accent {
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
  margin-bottom: 2.5rem;
}

.quote__text {
  font-family: 'Source Serif 4', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* =============================================
   FAQ
   ============================================= */
.faq {
  position: relative;
  background-color: #070710;
  padding: 5rem 2rem;
}
.faq::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(184, 212, 240, 0.2);
}

.faq__inner {
  max-width: 600px;
  margin: 0 auto;
}

/* tighter label/accent rhythm than the card/contact default */
.faq .section__label {
  margin-bottom: 1.25rem;
}

.faq .section__accent {
  margin-bottom: 1.6rem;
}

.faq__heading {
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
  font-size: calc(clamp(1.4rem, 2vw, 1.9rem) * 0.7);
  line-height: 1.25;
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.92);
}

.faq__list {
  border-bottom: 1px solid rgba(184, 212, 240, 0.14);
}

.faq__item {
  border-top: 1px solid rgba(184, 212, 240, 0.14);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 1.1rem 0;
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.3s ease;
}

.faq__item--open .faq__question {
  color: var(--gold);
}

.faq__q-text {
  flex: 1;
}

/* plus icon — two bars that rotate into an X when open */
.faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  transition: transform 0.35s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: #8aadc4;
  transition: background 0.3s ease;
}

.faq__icon::before {
  top: 4.5px;
  left: 0;
  width: 10px;
  height: 1.5px;
}

.faq__icon::after {
  left: 4.5px;
  top: 0;
  width: 1.5px;
  height: 10px;
}

.faq__item--open .faq__icon {
  transform: rotate(45deg);
}

.faq__item--open .faq__icon::before,
.faq__item--open .faq__icon::after {
  background: var(--gold);
}

.faq__answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding-bottom: 0;
  transition: max-height 0.45s ease, opacity 0.4s ease, padding 0.45s ease;
}

.faq__item--open .faq__answer {
  max-height: 360px;
  opacity: 1;
  padding-bottom: 1.2rem;
}

.faq__answer p {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.58);
  max-width: 60ch;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  position: relative;
  background-color: #070710;
  padding: 8.5rem 2rem 6rem;
  color: rgba(255, 255, 255, 0.92);
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(184, 212, 240, 0.2);
}

.contact__inner {
  max-width: 680px;
  margin: 0 auto;
}

.contact .section__body {
  color: rgba(255, 255, 255, 0.58);
}

.contact__cta {
  display: inline-block;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  margin-top: 3rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(to bottom, #d4b45c, var(--gold));
  color: #1a1a18;
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 0.85rem 2.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: background 0.25s, border-color 0.25s;
}

.contact__cta:hover {
  background: var(--gold-dim);
  border-color: var(--gold-dim);
}

.contact__email {
  display: block;
  margin-top: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s;
}

.contact__email:hover {
  color: rgba(255, 255, 255, 0.65);
}

.contact__footer {
  max-width: 680px;
  margin: 5rem auto 0;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.2);
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal--delayed {
  transition-delay: 0.15s;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =============================================
   MOBILE NAV
   ============================================= */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.75);
  transition: transform 0.25s, opacity 0.25s;
}

@media (max-width: 768px) {
  .nav {
    padding: 1.2rem 1.5rem;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(10, 12, 22, 0.97);
    backdrop-filter: blur(12px);
    padding: 1rem 1.5rem 1.5rem;
  }

  .nav__links.nav__links--open {
    display: flex;
  }

  .nav__links li {
    width: 100%;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav__links li:last-child {
    border-bottom: none;
    padding-top: 1rem;
  }

  .nav__links .nav__cta {
    display: inline-block;
  }
}
