:root {
  --green-900: #062a1d;
  --green-800: #0a3a28;
  --green-700: #0d4d35;
  --gold: #c98b0a;
  --gold-light: #e5ac2f;
  --cream: #fdebd3;
  --ink: #16201b;
  --muted: #55605a;
  --paper: #fbf8f2;
  --white: #ffffff;
  --radius: 14px;
  --display: "Teko", "Arial Narrow", sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1; margin: 0 0 .4em; letter-spacing: .01em; text-transform: uppercase; }
h1 { font-size: clamp(3rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h3 { font-size: 1.7rem; }
p { margin: 0 0 1em; }

.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8em;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  padding: .9em 1.6em;
  border-radius: 999px;
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(253,235,211,.5); }
.btn-ghost:hover { background: var(--cream); color: var(--green-900); border-color: var(--cream); }
.btn-small { padding: .55em 1.2em; font-size: .85rem; }

/* Header (sticky, dark green) */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6,42,29,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,139,10,.35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand img { width: 40px; }
.brand span { font-family: var(--display); font-size: 1.9rem; text-transform: uppercase; line-height: 1; padding-top: 4px; }
.brand em { font-style: normal; color: var(--gold-light); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--cream); text-decoration: none; font-weight: 600; font-size: .9rem; }
.nav a:not(.btn):hover { color: var(--gold-light); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--cream); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(ellipse at 70% 0%, var(--green-700), var(--green-900) 70%);
  padding: clamp(56px, 9vw, 110px) 0;
}
.ceiling-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(253,235,211,.07) 2px, transparent 2px),
    linear-gradient(90deg, rgba(253,235,211,.07) 2px, transparent 2px);
  background-size: 120px 60px;
  transform: perspective(600px) rotateX(55deg) scale(2);
  transform-origin: top center;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--gold-light); }
.lead { font-size: 1.12rem; color: rgba(255,255,255,.85); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.license { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(253,235,211,.6); margin: 0; }
.hero-logo img { filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); }

/* Sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-dark { background: var(--green-900); color: var(--white); }
.section-dark p { color: rgba(255,255,255,.78); }
.section-gold { background: var(--green-800); color: var(--white); border-top: 6px solid var(--gold); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 10px 30px rgba(6,42,29,.07);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 18px 40px rgba(6,42,29,.12); }
.card p { color: var(--muted); font-size: .94rem; margin: 0; }
.icon { width: 52px; height: 52px; border-radius: 12px; background: var(--green-800); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 30px; height: 30px; fill: none; stroke: var(--gold-light); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Projects */
.section-projects { background: #f1ece2; }
.section-intro { color: var(--muted); max-width: 40em; }
.project-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.project-chips a {
  text-decoration: none; font-size: .82rem; font-weight: 600;
  padding: .45em 1em; border-radius: 999px;
  background: var(--white); color: var(--green-800);
  border: 1px solid rgba(13,77,53,.18);
}
.project-chips a:hover { background: var(--green-800); color: var(--cream); }
.projects { display: grid; gap: 28px; margin-top: 32px; }
.project {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 10px 30px rgba(6,42,29,.07);
  scroll-margin-top: 90px;
}
.project header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-bottom: 16px; border-left: 4px solid var(--gold); padding-left: 14px; }
.project h3 { margin: 0; color: var(--green-800); }
.project header p { margin: 0; color: var(--muted); font-size: .92rem; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.photo {
  padding: 0; border: 0; cursor: zoom-in; border-radius: 10px; overflow: hidden;
  aspect-ratio: 4 / 3; background: #ddd;
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.photo:hover img, .photo:focus-visible img { transform: scale(1.06); }
.photo:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh; margin: 0;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(3,20,13,.92); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 82vh; object-fit: contain; border-radius: 6px; }
.lightbox figcaption { color: var(--cream); margin-top: 12px; font-size: .92rem; font-weight: 600; }
.lightbox button {
  position: absolute; background: rgba(0,0,0,.4); color: var(--white); border: 0; cursor: pointer;
  width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1;
}
.lightbox button:hover { background: var(--gold); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { border-left: 2px solid rgba(201,139,10,.6); padding: 4px 0 4px 22px; }
.num { font-family: var(--display); font-size: 3rem; color: var(--gold-light); line-height: 1; display: block; margin-bottom: 8px; }
.steps p { margin: 0; font-size: .94rem; }

/* About */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.about-art { background: var(--green-800); border-radius: 24px; padding: 40px; }
.about p { color: var(--muted); font-size: 1.05rem; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 12px; font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10l3 3 7-7' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact p { color: rgba(255,255,255,.8); font-size: 1.05rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,139,10,.4);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex; flex-direction: column;
}
.label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.contact-list a, .contact-list li > span:last-child { font-size: 1.15rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold-light); }

/* Footer */
.site-footer { background: #031a12; color: rgba(253,235,211,.6); padding: 28px 0; font-size: .85rem; }
.footer-inner { display: flex; align-items: center; gap: 14px; }
.footer-inner img { width: 30px; }
.footer-inner p { margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-inner, .about, .contact { grid-template-columns: 1fr; }
  .hero-logo { max-width: 460px; }
  .about-art { max-width: 320px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--green-900);
    border-bottom: 1px solid rgba(201,139,10,.35);
    padding: 8px 16px 20px;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav .btn { margin-top: 14px; text-align: center; }
  .cards, .steps { grid-template-columns: 1fr; }
  .project { padding: 16px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 16px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
