/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors */
  --color-gold:          #C9A84C;
  --color-gold-light:    #E2C97E;
  --color-gold-dark:     #A6853A;
  --color-dark:          #1A1A1A;
  --color-dark-mid:      #242424;
  --color-charcoal:      #2E2E2E;
  --color-off-white:     #F5F4F0;
  --color-white:         #FFFFFF;
  --color-muted:         #8A8A8A;
  --color-divider:       #333333;
  --color-divider-light: #E0DDD6;

  /* Typography scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.5rem;
  --text-4xl:  3.5rem;
  --text-5xl:  5rem;

  /* Spacing */
  --space-section:        100px;
  --space-section-mobile: 60px;
  --max-width:            1200px;
  --nav-height:           80px;

  /* Letter spacing */
  --tracking-wide:  0.1em;
  --tracking-wider: 0.2em;

  /* Fonts */
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Montserrat', sans-serif;
  --font-accent:  'EB Garamond', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-white);
  color: var(--color-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 640px) {
  .container { padding: 0 40px; }
}

@media (min-width: 1200px) {
  .container { padding: 0 60px; }
}

.section {
  padding: var(--space-section) 0;
}

@media (max-width: 899px) {
  .section { padding: var(--space-section-mobile) 0; }
}

.section-rule {
  border: none;
  height: 1px;
  background: var(--color-divider-light);
  margin: 0;
}

.section-rule--dark {
  background: var(--color-divider);
}

/* Section header */
.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__header--left {
  text-align: left;
}

.section__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section__divider {
  width: 48px;
  height: 2px;
  background: var(--color-gold);
  margin: 0 auto;
}

.section__divider--left {
  margin: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 16px 36px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--color-gold);
  color: var(--color-dark);
  border-color: var(--color-gold);
}

.btn--primary:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
}

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn--full {
  width: 100%;
  text-align: center;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--color-dark);
  z-index: 100;
  border-bottom: 1px solid var(--color-divider);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-white);
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: var(--color-gold);
}

.nav__link--cta {
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  padding: 8px 20px;
}

.nav__link--cta:hover {
  background: var(--color-gold);
  color: var(--color-dark);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

/* Hamburger open state */
.nav--open .nav__hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav--open .nav__hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav--open .nav__hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 899px) {
  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--color-dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 0 24px;
    border-top: 1px solid var(--color-divider);
  }

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

  .nav__link {
    width: 100%;
    padding: 14px 24px;
    border-bottom: 1px solid var(--color-divider);
  }

  .nav__link--cta {
    margin: 16px 24px 0;
    width: auto;
    text-align: center;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.98) 55%,
    rgba(26, 26, 26, 0.80) 100%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 80px;
  max-width: 700px;
}

.hero__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 28px;
}

.hero__headline {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-white);
  margin-bottom: 28px;
}

.hero__sub {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--color-gold));
  animation: scrollDrop 1.8s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 899px) {
  .hero__headline {
    font-size: var(--text-3xl);
  }
  .hero__content {
    padding-top: 40px;
    padding-bottom: 60px;
  }
}

@media (max-width: 639px) {
  .hero__headline {
    font-size: var(--text-2xl);
  }
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--color-off-white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--color-white);
  padding: 44px 32px;
  border-top: 3px solid var(--color-gold);
}

.service-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  color: var(--color-gold);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.service-card__copy {
  font-size: var(--text-base);
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.service-card__link {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-gold);
  transition: color 0.2s ease;
  border-bottom: 1px solid transparent;
}

.service-card__link:hover {
  color: var(--color-gold-dark);
  border-bottom-color: var(--color-gold-dark);
}

@media (max-width: 899px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   APPROACH
   ============================================================ */
.approach {
  background: var(--color-dark);
}

.approach .section__title {
  color: var(--color-white);
}

.approach__intro {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-muted);
  line-height: 1.8;
  max-width: 600px;
  margin-top: 24px;
  margin-bottom: 60px;
}

.approach__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.approach__pillar {
  padding: 0 48px 0 0;
}

.approach__pillar + .approach__pillar {
  border-left: 1px solid var(--color-divider);
  padding: 0 48px 0 48px;
}

.approach__number {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  color: var(--color-gold);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 4px;
}

.approach__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 16px;
}

.approach__copy {
  font-size: var(--text-base);
  color: var(--color-muted);
  line-height: 1.75;
}

@media (max-width: 899px) {
  .approach__grid {
    grid-template-columns: 1fr;
  }

  .approach__pillar {
    padding: 32px 0;
  }

  .approach__pillar + .approach__pillar {
    border-left: none;
    border-top: 1px solid var(--color-divider);
    padding: 32px 0;
  }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--color-white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__copy--lead {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.7;
  margin-bottom: 20px;
  margin-top: 28px;
}

.about__copy {
  font-size: var(--text-base);
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about__credentials {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--color-divider-light);
}

.credential__value {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.credential__label {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-muted);
}

.about__image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__image-placeholder-text {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-muted);
}

@media (max-width: 899px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__image {
    order: -1;
  }

  .about__credentials {
    gap: 24px;
  }
}

@media (max-width: 639px) {
  .about__credentials {
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--color-off-white);
}

.contact__sub {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-muted);
  line-height: 1.8;
  max-width: 560px;
  margin: 24px auto 60px;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.contact__item {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-divider-light);
}

.contact__item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact__item-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-gold);
  margin-bottom: 6px;
}

.contact__item-value {
  font-size: var(--text-base);
  color: var(--color-dark);
  line-height: 1.6;
}

a.contact__item-value:hover {
  color: var(--color-gold);
}

/* Form */
.contact__form {
  background: var(--color-white);
  padding: 40px;
}

.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-charcoal);
  margin-bottom: 8px;
}

.form__input {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-divider-light);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-dark);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form__input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form__input::placeholder {
  color: #BBBBBB;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

@media (max-width: 899px) {
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact__form {
    padding: 28px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer__top {
  background: var(--color-dark);
  padding: 80px 0 60px;
  border-top: 1px solid var(--color-divider);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer__logo {
  height: 60px;
  width: auto;
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-top: 14px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-gold);
  margin-bottom: 20px;
}

.footer__list li + li {
  margin-top: 12px;
}

.footer__list a {
  font-size: var(--text-sm);
  color: var(--color-muted);
  transition: color 0.2s ease;
}

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

.footer__list--contact li {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.5;
}

.footer__bottom {
  background: #111111;
  padding: 28px 0;
  border-top: 1px solid var(--color-divider);
}

.footer__legal {
  font-size: var(--text-xs);
  color: #666666;
  line-height: 1.7;
  max-width: 900px;
  margin-bottom: 8px;
}

.footer__legal:last-child {
  margin-bottom: 0;
}

@media (max-width: 899px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 639px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }
}
