:root {
  --bg: #ffffff;
  --ink: #0f1115;
  --muted: #6b7280;
  --accent: #c6a773;
  --radius: 20px;
  --shadow: 0 10px 25px rgba(0, 0, 0, .14);
  --max: 1120px;
  /* spacing scale */
  --s0: 4px;
  --s1: 8px;
  --s2: 12px;
  --s3: 16px;
  --s4: 20px;
  --s5: 24px;
  --s6: 32px;
  --s7: 40px;
  --s8: 56px;
  --s9: 72px;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-weight: 300;
  letter-spacing: .25px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* NAV */
.nav {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s4) var(--s5);
  background: linear-gradient(to bottom, rgba(255, 255, 255, .78), rgba(255, 255, 255, .46));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.nav .brand {
  display: flex;
  gap: var(--s3);
  align-items: center
}

.nav .brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover
}

.nav a.link {
  position: relative;
  padding: .35rem .5rem;
  color: #2e2e2e;
  transition: color .25s ease
}

.nav a.link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width .25s ease
}

.nav a.link:hover {
  color: #000
}

.nav a.link:hover::after {
  width: 100%
}

/* WRAPPER + SECTION RHYTHM */
.wrap {
  width: min(var(--max), 92%);
  margin: 0 auto
}

section {
  padding: var(--s8) 0
}

.section-head {
  max-width: 760px;
  margin: 0 auto var(--s6);
  text-align: center
}

.section-head h2 {
  margin: 0 0 var(--s2) 0
}

/* HERO / PARALLAX */
header.parallax {
  position: relative;
  height: 76vh;
  overflow: hidden
}

.parallax-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: translateY(0)
}

.scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .9), rgba(255, 255, 255, .7))
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  place-content: center;
  height: 100%;
  text-align: center;
  padding: 0 var(--s5)
}

.logo-hero {
  width: 140px;
  display: block;
  margin: 0 auto var(--s3);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .08))
}

.hero-title {
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .5px;
  text-wrap: balance
}

.hero-sub {
  max-width: 820px;
  margin: 0 auto var(--s7);
  color: #2b2b2b;
  text-wrap: pretty
}

/* TYPOGRAPHY */
h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: none;
  line-height: 1.25;
  margin: 0
}

.muted {
  color: var(--muted);
  font-weight: 300
}

.lead {
  margin: var(--s2) 0 var(--s3);
  color: #2b2b2b
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: .85rem 1.15rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  transition: filter .25s ease, transform .25s ease
}

.btn.hover-glow:hover {
  filter: drop-shadow(0 0 8px rgba(198, 167, 115, .55))
}

.cta-actions {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  margin-top: var(--s3)
}

/* CARDS / PILLARS */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s5)
}

.card {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  padding: var(--s5);
  transition: transform .25s ease, box-shadow .25s ease
}

.card.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow)
}

.card h3 {
  margin: 0 0 var(--s1)
}

/* GALLERY (uniform aspect) */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s4)
}

.project {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f7f7f7
}

.project img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .5s ease, filter .5s ease
}

.project:hover img {
  transform: scale(1.03);
  filter: brightness(1.03)
}

.caption {
  display: block;
  padding: var(--s3);
  font-size: .95rem;
  color: #2b2b2b
}

/* CONTACT */
.contact {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: var(--s5);
  align-items: stretch
}

.contact .cta {
  border-radius: var(--radius);
  padding: var(--s6);
  background: linear-gradient(135deg, #0e0e0e 0%, #262626 55%, #c6a773 100%);
  color: #fff
}

.contact .cta h2 {
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 var(--s2)
}

.contact .box {
  border-radius: var(--radius);
  padding: var(--s5);
  background: #f9f9f9
}

footer {
  padding: var(--s7) 0;
  color: #555;
  text-align: center;
}

footer .footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  /* space between text and icons */
  flex-wrap: wrap;
  /* stack nicely on small screens */
}

footer .social {
  display: flex;
  gap: 20px;
}

footer .social .icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  /* gold accent from your theme */
  opacity: 0.9;
  transition: opacity .25s ease, transform .25s ease;
}

footer .social .icon:hover svg {
  opacity: 1;
  transform: scale(1.1);
}


/* EFFECTS */
.fade-in {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease
}

.fade-in.in-view {
  opacity: 1;
  transform: none
}

.delay-1 {
  transition-delay: .1s
}

.delay-2 {
  transition-delay: .2s
}

/* CURSOR RING */
.cursor-ring {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(0, 0, 0, .35);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform .15s ease, width .15s, height .15s, opacity .2s
}

/* PAGE TRANSITIONS */
.page-enter {
  opacity: 0
}

.page-enter-active {
  opacity: 1;
  transition: opacity .35s ease
}

/* RESPONSIVE */
@media (max-width:860px) {
  .nav {
    padding: var(--s3) var(--s4)
  }

  header.parallax {
    height: 70vh
  }

  .contact {
    grid-template-columns: 1fr
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important
  }
}