/* ===== RESET & TOKENS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #f6f4ef;
  --bg-dark: #14130f;
  --ink: #1c1b18;
  --ink-soft: #5b574e;
  --line: #e3ded3;
  --gold: #b08d57;
  --gold-dark: #97713f;
  --white: #ffffff;
  --radius: 4px;
  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; line-height: 1.1; letter-spacing: .2px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
em { font-style: italic; color: var(--gold); }
.container { width: min(92%, var(--maxw)); margin: 0 auto; }
.section { padding: clamp(64px, 10vw, 130px) 0; }
.kicker { font-size: .72rem; letter-spacing: .32em; color: var(--gold-dark); font-weight: 600; text-transform: uppercase; margin-bottom: 14px; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: 14px 32px; font-family: 'Jost', sans-serif;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  border-radius: var(--radius); cursor: pointer; transition: all .35s var(--ease); border: 1px solid transparent;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(151,113,63,.6); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 18px 0;
  transition: all .4s var(--ease);
}
.site-header.scrolled { background: rgba(20,19,15,.92); backdrop-filter: blur(10px); padding: 12px 0; box-shadow: 0 8px 30px -20px #000; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255,255,255,.25); }
.brand-text { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; color: #fff; letter-spacing: .08em; }
.brand-text em { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: rgba(255,255,255,.86); font-size: .85rem; letter-spacing: .08em; font-weight: 400; position: relative; transition: color .3s; }
.nav a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--gold); transition: width .3s var(--ease); }
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav a:hover { color: #fff; }
.nav-cta { border: 1px solid var(--gold); padding: 8px 20px; border-radius: var(--radius); color: var(--gold); }
.nav-cta:hover { background: var(--gold); color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: .3s; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; background: url('images/project-04.jpg') center/cover no-repeat;
  transform: scale(1.08); animation: heroZoom 16s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(15,14,11,.82) 0%, rgba(15,14,11,.55) 45%, rgba(15,14,11,.25) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 760px; padding-top: 60px; }
.hero-kicker { letter-spacing: .35em; font-size: .78rem; color: var(--gold); margin-bottom: 22px; font-weight: 500; }
.hero h1 { font-size: clamp(3rem, 8vw, 6rem); font-weight: 600; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.85); margin: 26px 0 38px; max-width: 540px; font-weight: 300; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; color: #fff; font-size: 1.4rem; animation: bob 2s infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,10px); } }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; height: 540px; object-fit: cover; border-radius: var(--radius); }
.about-badge {
  position: absolute; bottom: -28px; right: -10px; background: var(--bg-dark); color: #fff;
  padding: 22px 30px; border-radius: var(--radius); text-align: center; box-shadow: 0 24px 50px -24px rgba(0,0,0,.5);
}
.about-badge .num { display: block; font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; color: var(--gold); line-height: 1; }
.about-badge .lbl { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.about-text h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 22px; }
.about-text p { color: var(--ink-soft); margin-bottom: 18px; }
.about-points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 26px; }
.about-points li { position: relative; padding-left: 24px; font-size: .95rem; }
.about-points li::before { content: '◆'; position: absolute; left: 0; color: var(--gold); font-size: .7rem; top: 4px; }

/* ===== STATS ===== */
.stats { background: var(--bg-dark); color: #fff; padding: 70px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.6rem, 6vw, 4rem); color: var(--gold); line-height: 1; }
.stat-suffix { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--gold); }
.stat-lbl { display: block; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: 10px; }

/* ===== SERVICES ===== */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 32px;
  transition: all .4s var(--ease);
}
.service-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: 0 28px 50px -30px rgba(151,113,63,.45); background: #fff; }
.service-ico { font-size: 1.8rem; color: var(--gold); margin-bottom: 18px; }
.service-card h3 { font-size: 1.55rem; margin-bottom: 12px; }
.service-card p { color: var(--ink-soft); font-size: .95rem; }

/* ===== PROJECTS ===== */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.filter {
  background: transparent; border: 1px solid var(--line); padding: 9px 22px; border-radius: 40px;
  font-family: 'Jost', sans-serif; font-size: .8rem; letter-spacing: .06em; cursor: pointer; color: var(--ink-soft);
  transition: all .3s var(--ease);
}
.filter:hover { border-color: var(--gold); color: var(--ink); }
.filter.active { background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gitem {
  position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; aspect-ratio: 4/3;
  transition: opacity .4s, transform .4s;
}
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gitem:hover img { transform: scale(1.09); }
.gitem figcaption {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; color: #fff;
  background: linear-gradient(0deg, rgba(15,14,11,.85) 0%, rgba(15,14,11,.1) 55%, transparent 100%);
  opacity: 0; transform: translateY(12px); transition: all .4s var(--ease);
}
.gitem:hover figcaption { opacity: 1; transform: translateY(0); }
.g-cat { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.g-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; }
.gitem.hide { display: none; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(rgba(15,14,11,.8), rgba(15,14,11,.8)), url('images/project-09.jpg') center/cover fixed;
  color: #fff; text-align: center; padding: clamp(70px, 10vw, 120px) 0;
}
.cta-banner h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 30px; }

/* ===== CONTACT ===== */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); }
.contact-info h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 18px; }
.contact-lead { color: var(--ink-soft); margin-bottom: 34px; }
.contact-list { list-style: none; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.ci-ico { font-size: 1.2rem; width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 50%; }
.contact-list strong { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 2px; }
.contact-list p { color: var(--ink-soft); }
.contact-list a:hover { color: var(--gold); }
.contact-form { background: var(--bg); border: 1px solid var(--line); padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: 'Jost', sans-serif; font-size: .95rem; background: #fff; color: var(--ink); transition: border .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.form-note { margin-top: 14px; font-size: .9rem; color: var(--gold-dark); text-align: center; min-height: 20px; }

/* ===== FOOTER ===== */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.78); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer-brand .brand-text { font-size: 1.7rem; }
.footer-brand p { margin-top: 12px; font-size: .9rem; color: rgba(255,255,255,.55); max-width: 320px; }
.footer-links, .footer-social { display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .footer-social a { font-size: .9rem; color: rgba(255,255,255,.7); transition: color .3s; width: fit-content; }
.footer-links a:hover, .footer-social a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; text-align: center; font-size: .82rem; color: rgba(255,255,255,.45); }

/* ===== LIGHTBOX ===== */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,9,7,.94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 86vw; max-height: 82vh; border-radius: var(--radius); box-shadow: 0 30px 80px -30px #000; }
.lb-close, .lb-prev, .lb-next { position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff; cursor: pointer; transition: all .3s; }
.lb-close { top: 24px; right: 28px; width: 46px; height: 46px; border-radius: 50%; font-size: 1.1rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; font-size: 2rem; line-height: 0; }
.lb-prev { left: 28px; } .lb-next { right: 28px; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold); border-color: var(--gold); }
.lb-caption { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; }

/* ===== REVEAL ANIM ===== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(78%, 320px); flex-direction: column; justify-content: center; gap: 26px; background: rgba(16,15,12,.98); backdrop-filter: blur(10px); transform: translateX(100%); transition: transform .4s var(--ease); }
  .nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; z-index: 60; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media img { height: 400px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .services-grid, .gallery, .about-points { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .about-badge { right: 50%; transform: translateX(50%); }
}
