:root {
  --bg: #0a0f0c;
  --bg-2: #0f1a14;
  --line: #1f3027;
  --text: #eef0f3;
  --muted: #8b919c;
  --accent: #f47321;
  --accent-2: #ffb347;
  --green: #005030;
  --green-2: #3fa36b;
  --radius: 14px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); font-size: .9rem; }
.accent { color: var(--accent); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem clamp(1.25rem, 5vw, 4rem);
  background: rgba(10,15,12,.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .65rem; font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand em { font-style: normal; color: var(--accent); }
.brand-mark {
  display: grid; place-items: center;
  width: 2.3rem; height: 2.3rem; border-radius: 9px;
  background: var(--green); color: var(--accent); border: 1.5px solid var(--accent);
  font-size: .72rem; font-weight: 800; letter-spacing: .02em;
}
.nav-links { display: flex; gap: 2rem; font-size: .95rem; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.6rem; border-radius: 999px;
  background: var(--accent); color: #111; font-weight: 600; font-size: 1rem;
  border: 1px solid var(--accent); cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  font-family: var(--body);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(244,115,33,.6); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--green-2); }
.btn-ghost:hover { background: var(--green); border-color: var(--green-2); box-shadow: none; }
.nav-contact { display: flex; align-items: center; gap: .8rem; }
.nav-email { font-size: .85rem; color: var(--muted); }
.nav-email a { color: var(--accent-2); font-weight: 600; }
.nav-email a:hover { text-decoration: underline; }
.btn-small { padding: .6rem 1.1rem; font-size: .9rem; font-family: var(--mono); }

/* Hero */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 3rem;
  padding: 3.5rem clamp(1.25rem, 5vw, 4rem) 3rem;
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 520px; height: 520px; right: 5%; top: 15%;
  background: radial-gradient(circle at 35% 40%, rgba(244,115,33,.22), transparent 55%), radial-gradient(circle at 65% 65%, rgba(0,80,48,.55), transparent 60%);
  filter: blur(40px);
}
h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.8rem, 7.5vw, 6.2rem); line-height: .95; letter-spacing: -.045em;
}
.hero-inner { container-type: inline-size; min-width: 0; }
.lede { margin: 1rem 0 1.6rem; color: var(--muted); font-size: clamp(.9rem, 2.7cqi, 1.15rem); white-space: nowrap; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-card { display: flex; justify-content: center; }
.ticket {
  width: 100%; max-width: 360px;
  background: linear-gradient(160deg, #0f2a1d, #0c1611);
  border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem;
  transform: rotate(3deg);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: rotate(3deg) translateY(-12px); } }
.ticket-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; color: var(--muted); padding-bottom: 1rem; border-bottom: 1px dashed var(--line); margin-bottom: 1rem; }
.ticket ul { list-style: none; display: grid; gap: .85rem; }
.ticket li { display: flex; align-items: center; gap: .75rem; font-size: .95rem; }
.ticket li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line);
}
.ticket li.done { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(244,115,33,.6); }
.ticket li.done::before { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' stroke='%23111' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--accent); }
.ticket li.pending { color: var(--text); font-weight: 600; }
.ticket li.pending::before { border-color: var(--green-2); border-style: dashed; }

/* Sections */
.section { padding: 4rem clamp(1.25rem, 5vw, 4rem); }
.section-head { max-width: 40rem; margin-bottom: 1.8rem; }
.page-gallery .section-head h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-bottom: .6rem; }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: .6rem; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card { background: var(--bg); padding: 1.4rem 1.6rem; position: relative; transition: background .3s; }
.card:hover { background: var(--bg-2); }
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--accent), var(--green-2)); transition: width .4s; }
.card:hover::after { width: 100%; }
.card h3 { font-family: var(--display); font-size: 1.45rem; font-weight: 600; letter-spacing: -.02em; margin: 0 0 .3rem; }
.card p { color: var(--muted); font-size: .97rem; }
/* Let a lone card in the last row fill it so no empty cells show */
.card:last-child:nth-child(3n+1) { grid-column: 1 / -1; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.shot { margin: 0; }
.shot-btn {
  position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--bg-2); cursor: zoom-in; color: inherit; font: inherit;
}
.shot-btn img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.shot-btn:hover img, .shot-btn:focus-visible img { transform: scale(1.05); }
.shot-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.shot-empty { display: none; }
.shot.is-empty .shot-btn { cursor: default; }
.shot.is-empty img { display: none; }
.shot.is-empty .shot-empty {
  position: absolute; inset: 0; display: grid; place-content: center; gap: .3rem; text-align: center;
  color: var(--muted); font-size: .95rem;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(160deg, #0f2a1d, #0c1611);
}
.shot-empty .mono { font-size: .72rem; letter-spacing: .14em; color: var(--accent); }
.shot figcaption { margin-top: .6rem; font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }

.lightbox {
  margin: auto; max-width: min(92vw, 1100px); max-height: 92vh; padding: 0;
  background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius);
}
.lightbox::backdrop { background: rgba(5,8,6,.88); backdrop-filter: blur(4px); }
.lightbox img { display: block; width: auto; height: min(calc(92vh - 3.5rem), 640px); max-width: 100%; max-height: calc(92vh - 3.5rem); margin: 0 auto; object-fit: contain; }
.lightbox-caption { padding: .8rem 1.2rem; font-family: var(--display); font-weight: 600; }
.lightbox-close {
  position: absolute; top: .6rem; right: .6rem; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(10,15,12,.85); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { border-color: var(--accent); color: var(--accent); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem; }
.review {
  margin: 0; padding: 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .9rem;
  background: linear-gradient(160deg, #0f2a1d, #0c1611); border: 1px solid var(--line); border-radius: var(--radius);
}
.review .stars { color: var(--accent); letter-spacing: .15em; font-size: 1.05rem; }
.review blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; flex: 1; }
.review blockquote::before { content: "\201C"; } .review blockquote::after { content: "\201D"; }
.review figcaption strong { font-family: var(--display); font-weight: 600; }
.review-invite { grid-column: 1 / -1; border-style: dashed; border-color: var(--green-2); background: transparent; }
.review-invite-title { font-family: var(--display); font-weight: 600; font-size: 1.3rem; }
.review-invite a { color: var(--accent-2); font-weight: 600; }
.review-invite a:hover { text-decoration: underline; }

/* Estimate */
.estimate-copy > p:not(.muted) { color: var(--muted); font-size: 1.1rem; max-width: 28rem; }
.phone-big {
  display: inline-block; margin: 1.2rem 0 .3rem;
  font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 5.5vw, 4.2rem); letter-spacing: -.03em;
  background: linear-gradient(90deg, var(--accent), var(--green-2)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.estimate-copy > p.service-area { color: var(--accent-2); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; margin: -.4rem 0 .6rem; }
.or-email { font-size: 1.1rem; color: var(--muted); margin: 0 0 .4rem; }
.or-email a { color: var(--accent-2); font-weight: 700; overflow-wrap: anywhere; }
.or-email a:hover { text-decoration: underline; }
.phone-big:hover { filter: brightness(1.15); }

/* Footer */
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1.5rem clamp(1.25rem, 5vw, 4rem) 5.5rem; background: var(--green); border-top: 3px solid var(--accent); }
.footer .muted { color: #cfe3d8; }
.footer-contact { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem; margin: 0; }
.footer a { font-family: var(--display); font-weight: 800; color: var(--accent-2); }

.call-fab {
  display: none; position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60;
  width: 3.6rem; height: 3.6rem; border-radius: 50%; place-items: center;
  background: var(--accent); color: #111; box-shadow: 0 10px 30px -6px rgba(244,115,33,.7);
}

/* Responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .hero-card { display: none; }
  .services { grid-template-columns: 1fr 1fr; }
  .card:last-child:nth-child(3n+1) { grid-column: auto; }
  .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .lede { white-space: normal; font-size: 1.05rem; }
  .nav-email { display: none; }
  .services { grid-template-columns: 1fr; }
  .card:last-child:nth-child(odd) { grid-column: auto; }
  .call-fab { display: grid; }
  .gallery { gap: .7rem; }
  .shot figcaption { font-size: .92rem; }
  .section { padding-block: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
