:root {
  --black: #000000;
  --white: #F2F2F2;
  --orange: #EE8E54;
  --muted: rgba(242, 242, 242, 0.68);
  --line: rgba(242, 242, 242, 0.14);
  --gutter: 20px;
  --header-h: 68px;
  --bar-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* keeps the end of the page clear of the fixed mobile bar */
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}

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

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: "Poppins", sans-serif; font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--black);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  padding: 16px 30px;
  border: 1px solid var(--orange);
  border-radius: 2px;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { background: var(--white); border-color: var(--white); transform: translateY(-2px); }
.btn-sm { font-size: 13px; padding: 9px 16px; }
.btn-ghost { background: transparent; color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #000000;
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { height: calc(var(--header-h) - 8px); width: auto; }
.menu-btn { background: none; border: 0; color: var(--white); padding: 8px; margin-right: -8px; cursor: pointer; line-height: 0; }

.nav { display: none; }
.nav.open {
  display: flex; flex-direction: column; gap: 0;
  position: fixed; inset: 0; z-index: 1;
  background: #000000;
  padding: calc(var(--header-h) + 12px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
}
.nav.open a:not(.btn) { font-size: 1.25rem; }
.brand, .menu-btn { position: relative; z-index: 2; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.site-header.menu-open {
  background: #000000;
  -webkit-backdrop-filter: none; backdrop-filter: none; /* keeps the fixed menu tied to the screen, not the header */
}
.site-header.menu-open ~ .mobile-bar { display: none; }
html.no-scroll, html.no-scroll body { overflow: hidden; }
.nav a:not(.btn) { color: var(--white); text-decoration: none; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--line); }
.nav .btn { margin-top: 16px; }
.nav-contact { display: flex; flex-direction: column; gap: 4px; padding: 14px 0 0; }
.nav-contact a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 0; word-break: break-word; }
.nav-contact a:hover { color: var(--orange); }

/* Hero */
.hero { padding: 28px 0 56px; }
.hero-grid { display: grid; gap: 32px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero .eyebrow { font-size: 10.5px; letter-spacing: 0.07em; }
.hero h1 { font-size: clamp(2.3rem, 9vw, 4.6rem); margin-bottom: 20px; text-wrap: balance; }
.lead { margin: 0 0 30px; max-width: 34ch; color: var(--muted); font-size: 1.05rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.link-phone { color: var(--white); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--orange); padding-bottom: 2px; }

.hero-media { margin: 0; position: relative; }
.hero-media .frame { overflow: hidden; border-radius: 2px; height: 68vh; min-height: 360px; max-height: 620px; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 70%;
  /* zoom toward the upper right so the dark bottom-left corner falls outside the frame */
  transform: scale(1.16);
  transform-origin: 72% 28%;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 14px -8px -8px 14px;
  border: 1px solid var(--orange);
  border-radius: 2px;
  z-index: -1;
}

/* About */
.about { padding: 72px 0 88px; }
.about h2 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 28px; }
.about-text p { margin: 0 0 18px; color: var(--muted); font-size: 1.02rem; }
.about-text p:last-child { margin-bottom: 0; }

.about-text .signature {
  margin-top: 36px; color: var(--orange); font-family: "Poppins", sans-serif;
  font-weight: 600; font-size: 1.2rem; line-height: 1.4;
}

/* Contact */
.contact { padding: 72px 0 88px; }
.contact h2 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 14px; }
.contact-intro { margin: 0 0 40px; color: var(--muted); font-size: 1.02rem; max-width: 520px; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
#estimate { scroll-margin-top: calc(var(--header-h) + 16px); }
.form { display: grid; grid-template-columns: 1fr; gap: 20px; }
.field label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; box-sizing: border-box;
  background: #0d0d0d; color: var(--white); border: 1px solid rgba(242,242,242,.28); border-radius: 2px;
  font: inherit; font-size: 16px; /* 16px stops iOS zoom on focus */
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23EE8E54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field select option { background: #0d0d0d; color: var(--white); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { font-family: inherit; font-weight: 700; justify-self: start; min-height: 54px; cursor: pointer; border: 0; font-size: 1rem; }
.form .btn:disabled { opacity: .6; cursor: default; }
.form-error { margin: 0; color: var(--orange); font-size: 0.95rem; }
.form-error[hidden], .thanks[hidden], .form[hidden] { display: none; }
.thanks { border: 1px solid var(--orange); padding: 32px 28px; }
.thanks p { margin: 0; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 1.25rem; line-height: 1.4; }
.thanks:focus { outline: none; }
.contact-info { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.contact-info a, .footer-links a { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 400; border: 0; overflow-wrap: anywhere; transition: color .2s; }
.contact-info a { font-size: 1.15rem; }
.contact-info a:hover, .footer-links a:hover { color: var(--orange); text-decoration: none; }
.ico { flex: 0 0 20px; width: 20px; height: 20px; color: var(--white); display: block; } /* all contact icons white (Instagram glyph is recommended in black or white) */
.contact-info p { margin: 8px 0 0; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 36px; }
.footer-grid { display: flex; flex-direction: column; gap: 28px; }
.site-footer .brand img { height: 84px; width: auto; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links p { margin: 0; color: var(--muted); }
.site-footer .copy { margin: 32px 0 0; color: var(--muted); font-size: 0.85rem; }

/* Services */
.services { padding: 72px 0 88px; }
.services h2 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 36px; }
.service-list {
  list-style: none; margin: 0 0 44px; padding: 1px 0 0;
  display: grid; grid-template-columns: 1fr; column-gap: 56px; row-gap: 0;
}
.service-list li {
  position: relative;
  padding: 24px 0 24px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: -1px; /* rows share one line, whatever the number of services */
}
/* solid 8px dot, centered on the first line of the title (title: 1.2rem, line-height 1.12) */
.service-list li::before {
  content: "";
  position: absolute; left: 0;
  top: calc(24px + 0.672rem - 4px);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.service-list h3 { font-size: 1.2rem; margin-bottom: 6px; }
.service-list p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.service-list p.also { margin-top: 8px; font-size: 0.87em; font-style: italic; }

/* Gallery */
.gallery { padding: 72px 0 88px; }
.gallery h2 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 36px; }
.g-grid {
  list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter);
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.g-grid::-webkit-scrollbar { display: none; }
.g-grid li { flex: 0 0 80%; scroll-snap-align: start; }
.g-item {
  display: block; width: 100%; padding: 0; border: 0;
  background: #111; border-radius: 2px; overflow: hidden; cursor: zoom-in;
}
.g-item img { display: block; width: 100%; height: auto; scale: 1; transition: scale .5s ease; }
.g-item:hover img { scale: 1.04; }
.g-grid { align-items: flex-start; --gg: 16px; }

/* Tablet: 2 columns */
@media (min-width: 760px) {
  .form { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .form .full, .form .btn, .form-error { grid-column: 1 / -1; }
  :root { --gutter: 32px; --header-h: 76px; }
  .service-list { grid-template-columns: repeat(2, 1fr); }
  .g-grid { gap: var(--gg); margin: 0; padding: 0; overflow: visible; flex-wrap: wrap; justify-content: center; }
  .g-grid li { flex: 0 0 calc((100% - 2 * var(--gg)) / 3); }
  /* row 3: same height as the photos above (row-1 photo height = column width x 4/3), width follows each photo */
  .g-grid { --rowh: calc((100% - 2 * var(--gg)) * 4 / 9); }
  .g-grid li:nth-child(7) { flex: 0 0 calc(var(--rowh) * 1148 / 1782); }
  .g-grid li:nth-child(8) { flex: 0 0 calc(var(--rowh) * 0.75); }
  .lb-stage { padding: 72px 90px; }
  .lb-prev { left: 24px; } .lb-next { right: 24px; }
  .hero .eyebrow { font-size: 11px; letter-spacing: 0.12em; }
}

/* Desktop nav + hero split */
@media (min-width: 960px) {
  :root { --header-h: 84px; }
  .menu-btn { display: none; }
  .nav-contact { display: none; }
  .nav, .nav.open {
    display: flex; flex-direction: row; align-items: center; gap: 30px;
    position: static; inset: auto; z-index: auto; overflow: visible;
    background: none; border: 0; padding: 0;
  }
  .nav a:not(.btn), .nav.open a:not(.btn) { padding: 4px 0; border: 0; font-size: 15px; transition: color .15s ease; }
  .nav a:not(.btn):hover { color: var(--orange); }
  .nav .btn { margin: 0 0 0 6px; }

  .hero { padding: 40px 0 88px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; }
  .hero .eyebrow { font-size: 13px; letter-spacing: 0.14em; }
  .hero h1 { font-size: clamp(2.6rem, 3.9vw, 3.6rem); }
  .hero-media .frame { height: 78vh; max-height: 760px; }
  .services, .gallery, .about, .contact { padding: 104px 0 120px; }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .about h2 { margin-bottom: 0; }
  .about-text p { font-size: 1.08rem; }
  .contact-grid { grid-template-columns: 1.25fr 0.75fr; gap: 88px; align-items: start; }
  .contact-info a { font-size: 1.25rem; }
  .footer-grid { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer-links { align-items: flex-end; text-align: right; }
}

/* Desktop: 3 columns */
@media (min-width: 1024px) {
  .service-list { grid-template-columns: repeat(3, 1fr); }
  .g-grid { --gg: 20px; }
}

/* Fixed bottom bar, mobile only */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.mobile-bar .btn { flex: 1; padding: 14px 10px; }
.mobile-bar .btn-ghost { flex: 0 0 34%; }
@media (min-width: 760px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

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