:root {
  --black: #111111;
  --white: #F5F2ED;
  --gold: #B08D57;
  --gray: #A9A39A;
  --line: rgba(245, 242, 237, 0.16);
  --panel: #171717;
  --panel-2: #1d1b18;

  --heading: 'Cormorant Garamond', serif;
  --body: 'Inter', sans-serif;
}

/* =========================
   Base Styles
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
}

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

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

h1,
h2,
h3 {
  font-family: var(--heading);
  color: var(--white);
  font-weight: 600;
  line-height: 0.98;
  margin: 0;
}

h2 {
  font-size: clamp(3rem, 5vw, 4.4rem);
}

h3 {
  font-size: 34px;
}

/* =========================
   Layout
========================= */

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.section {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}

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

/* =========================
   Header / Navigation
========================= */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 24px 40px;
  background: linear-gradient(to bottom, rgba(17, 17, 17, 0.8), transparent);
  transition: 0.3s ease;
}

.site-header.scrolled {
  padding: 16px 40px;
  background: rgba(17, 17, 17, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);

  display: grid;
  place-items: center;

  color: var(--gold);
  font-family: var(--heading);
  font-size: 26px;
}

.brand-mark::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 9px;

  width: 24px;
  height: 24px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);

  transform: rotate(45deg);
}

.brand-text {
  font-family: var(--heading);
  font-size: 26px;
  letter-spacing: 0.03em;
}

.brand-text em {
  color: var(--gold);
  font-style: normal;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.main-nav a {
  color: rgba(245, 242, 237, 0.86);
  transition: 0.2s ease;
}

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

.nav-cta {
  padding: 12px 18px;
  border: 1px solid var(--gold);
  color: var(--white) !important;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--black) !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: none;
  border: 0;
}

.nav-toggle span {
  display: block;
  height: 1px;
  margin: 9px 0;
  background: var(--white);
}

/* Logo image version — use after adding logo */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  width: 190px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   Hero
========================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2000&q=80') center / cover no-repeat;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(17, 17, 17, 0.78),
      rgba(17, 17, 17, 0.58),
      rgba(17, 17, 17, 0.35)
    ),
    rgba(17, 17, 17, 0.18);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
}

.hero h1 {
  max-width: 890px;
  font-size: clamp(4rem, 8vw, 6.2rem);
}

.hero-copy {
  max-width: 710px;
  margin: 26px 0 34px;
  color: rgba(245, 242, 237, 0.82);
  font-size: 18px;
}

.scroll-cue {
  position: absolute;
  right: 40px;
  bottom: 32px;
  z-index: 2;

  color: var(--gray);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* =========================
   Buttons
========================= */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  min-height: 50px;
  padding: 14px 24px;
  border: 1px solid var(--gold);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  cursor: pointer;
  transition: 0.25s ease;
}

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

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

.btn-secondary {
  background: rgba(17, 17, 17, 0.18);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

/* =========================
   Intro
========================= */

.intro p:not(.eyebrow),
.final-cta p {
  color: rgba(245, 242, 237, 0.76);
  font-size: 20px;
}

/* =========================
   Services
========================= */

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

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.service-card div {
  padding: 30px;
}

.service-card span,
.timeline-item span {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.service-card p,
.timeline-item p,
.investment-card p,
.about-copy p,
.split-heading p,
.site-footer p {
  color: rgba(245, 242, 237, 0.72);
}

/* =========================
   Featured Work
========================= */

.split-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 50px;
  margin-bottom: 52px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 310px;
  gap: 18px;
}

.project-card {
  position: relative;
  overflow: hidden;
  background: var(--panel);
}

.project-card.large {
  grid-row: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.9);
  transition: 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.62) saturate(0.9);
}

.project-card div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.project-card h3 {
  font-size: 32px;
}

.project-card p {
  margin: 6px 0 0;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* =========================
   Process
========================= */

.process {
  background: linear-gradient(180deg, var(--black), #15130f);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.timeline-item {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline-item h3 {
  margin: 16px 0;
  font-size: 30px;
}

/* =========================
   Investment Ranges
========================= */

.investment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.investment-card {
  min-height: 230px;
  padding: 32px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.investment-card h3 {
  color: var(--gold);
}

/* =========================
   About
========================= */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.about-image img {
  width: 100%;
  height: 640px;
  object-fit: cover;
}

.text-link {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* =========================
   Final CTA
========================= */

.final-cta {
  text-align: center;
  background:
    linear-gradient(rgba(17, 17, 17, 0.74), rgba(17, 17, 17, 0.84)),
    url('https://images.unsplash.com/photo-1600607687644-c7171b42498f?auto=format&fit=crop&w=1800&q=80') center / cover fixed;
}

/* =========================
   Contact
========================= */

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.contact-note {
  margin-top: 28px;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
}

.consultation-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;

  padding: 34px;
  background: #161616;
  border: 1px solid var(--line);
}

.consultation-form label {
  display: grid;
  gap: 8px;

  color: var(--gray);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(245, 242, 237, 0.18);

  background: #0f0f0f;
  color: var(--white);
  font: inherit;
  outline: none;
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
  border-color: var(--gold);
}

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

.honeypot {
  display: none !important;
}

/* =========================
   Footer
========================= */

.site-footer {
  padding: 70px 0 24px;
  background: #0c0c0c;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.8fr;
  gap: 40px;
}

.site-footer h4 {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 8px 0;
  color: rgba(245, 242, 237, 0.7);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* =========================
   Reveal Animations
========================= */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

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

/* =========================
   Tablet
========================= */

@media (max-width: 980px) {
  .site-header {
    padding: 18px 20px;
  }

  .site-header.scrolled {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: block;
    z-index: 101;
  }

  .main-nav {
    position: fixed;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: rgba(17, 17, 17, 0.98);
    font-size: 14px;

    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
  }

  .card-grid.three,
  .split-heading,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 320px;
  }

  .project-card.large {
    grid-row: auto;
  }

  .timeline,
  .investment-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 12vw, 5rem);
  }
}

/* =========================
   Mobile
========================= */

@media (max-width: 640px) {
  .brand-text {
    font-size: 21px;
  }

  .logo img {
    width: 155px;
  }

  .hero {
    min-height: 92vh;
  }

  .section {
    padding: 82px 0;
  }

  .timeline,
  .investment-grid,
  .consultation-form {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    font-size: 16px;
  }

  .btn {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .about-image img {
    height: 420px;
  }
}