:root {
  --tan: #BAAF93;
  --tan-dark: #87806C;
  --bg: #303030;
  --panel: #1a1917;
  --card: #2b2a28;
  --line: rgba(255,255,255,.12);
  --text: #f4f3f0;
  --muted: #c9c6bf;
  --heading: "Montserrat", system-ui, sans-serif;
  --title: "Bitter", Georgia, serif;
  --hero: "Golos Text", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.7 var(--body); border-top: 8px solid var(--tan); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--tan); color: #1a1917; padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 46rem); }
.center { text-align: center; }

/* Hero */
.hero {
  background: linear-gradient(rgba(30,30,30,.72), rgba(30,30,30,.72)), url("assets/hero-bg.jpg") center / cover no-repeat;
  border-bottom: 8px solid var(--tan);
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) 1.25rem 0;
}
.hero-inner { max-width: 52rem; margin: 0 auto; }
.eyebrow { margin: 0 0 1.25rem; font: 600 .78rem/2.1 var(--body); letter-spacing: .5em; text-transform: uppercase; color: #d8d4ca; padding-left: .5em; }
.hero h1 { margin: 0 0 1.5rem; font: 700 clamp(2.4rem, 8vw, 4.6rem)/1.1 var(--title); letter-spacing: .14em; text-transform: uppercase; padding-left: .14em; }
.hero-lead { font: 500 clamp(1rem, 2.2vw, 1.14rem)/1.55 var(--hero); color: #ddd9d0; margin: 0 0 1.4rem; letter-spacing: .01em; }
.hero-lead strong { font-weight: 700; }
.hi { color: #fff; font-weight: 700; }
.hero-lead a { color: #fff; text-underline-offset: 3px; }
.hero-lead a:hover { color: var(--tan); }

/* Nav */
.nav { display: grid; grid-template-columns: repeat(6, 1fr); gap: .45rem; max-width: 50rem; margin: 2rem auto 0; }
.nav > a, .dropdown-btn {
  display: flex; align-items: center; justify-content: center; gap: .35em; min-height: 2.6rem; width: 100%;
  background: var(--tan); color: #fff; border: 0; border-radius: 0; cursor: pointer;
  font: 600 .74rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  text-shadow: 0 1px 1px rgba(0,0,0,.25); transition: background .15s;
}
.nav > a:hover, .dropdown-btn:hover, .dropdown-btn[aria-expanded="true"] { background: var(--tan-dark); }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; z-index: 20; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  min-width: 13rem; margin: 0; padding: .5rem 0; list-style: none; text-align: left;
  background: #fff; color: #333; border-radius: 4px; box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.dropdown-menu[hidden] { display: none; }
.dropdown-menu a { display: block; padding: .5rem 1.1rem; text-decoration: none; font: 500 .95rem/1.3 var(--body); }
.dropdown-menu a:hover, .dropdown-menu a:focus-visible { background: #f1efe9; color: #000; outline: none; }
.dd-label { padding: .55rem 1.1rem .2rem; font: 600 .68rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--tan-dark); }
.dd-label:not(:first-child) { border-top: 1px solid #e6e3dc; margin-top: .4rem; padding-top: .8rem; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 4.5rem) 0; border-bottom: 2px dashed rgba(255,255,255,.08); }
h2, h3 { font-family: var(--heading); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; margin: 2.5rem 0 1.2rem; line-height: 1.2; }
.intro h2 { font-size: clamp(1.5rem, 4.5vw, 2.3rem); }
h2.big { font-size: clamp(2rem, 7vw, 3.6rem); margin: 0 0 1.5rem; }
.muted { color: var(--muted); font-weight: 300; line-height: 1.9; margin: 0 0 1rem; }
.fine { font-size: .95rem; }
.intro .muted:first-child { margin-bottom: 0; }

/* Gallery */
.gallery { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 8px; }
.work { grid-template-columns: repeat(5, 1fr); }
.before-after { display: flex; max-width: 58rem; }
.before-after li { flex: var(--r) 1 0; min-width: 0; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: #222; cursor: zoom-in; overflow: hidden; aspect-ratio: 4 / 3; }
.before-after button { aspect-ratio: var(--r); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery-label { text-align: center; font-size: .8rem; letter-spacing: .3em; color: var(--muted); margin: 2.2rem 0 1rem; }
@media (max-width: 1000px) { .work { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .gallery { gap: 6px; }
  .before-after { display: grid; grid-template-columns: repeat(2, 1fr); }
  .before-after button { aspect-ratio: 3 / 4; }
  .before-after img { object-fit: contain; }
}

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox::backdrop { background: rgba(10,10,10,.92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 86vh; object-fit: contain; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lightbox button { position: absolute; background: rgba(0,0,0,.45); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; width: 3rem; height: 3rem; font-size: 1.9rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 .15em; }
.lightbox button:hover { background: var(--tan-dark); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Story */
.story p { font: 500 1.08rem/1.6 var(--hero); color: #cfccc4; margin: 0 0 1.5rem; }
.story .story-lead { color: #e6e3dc; }

/* Panels: reviews + FAQ */
.panel { background: var(--panel); border-radius: 16px; padding: .9rem; display: grid; gap: .75rem; }
.review { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1.5rem 1.4rem 1.25rem; }
.stars { color: var(--tan); letter-spacing: .2em; text-align: center; font-size: 1.05rem; margin-bottom: .9rem; }
.review blockquote { margin: 0 0 1.3rem; text-align: center; font: 500 1.02rem/1.65 var(--body); color: #ecebe7; }
.review figcaption { display: flex; align-items: center; gap: .75rem; }
.avatar { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #121110; display: grid; place-items: center; font: 600 .78rem/1 var(--body); letter-spacing: .05em; color: #fff; }
.review figcaption b { display: block; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.review figcaption small { display: block; color: #a8a49b; font-size: .8rem; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
summary { list-style: none; cursor: pointer; padding: 1.1rem 3.2rem 1.1rem 1.2rem; position: relative; font: 500 1.05rem/1.4 var(--body); }
summary::-webkit-details-marker { display: none; }
summary::before, summary::after { content: ""; position: absolute; right: 1.25rem; top: 50%; width: 14px; height: 1.5px; background: var(--tan); }
summary::after { transform: rotate(90deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(0); }
details p { margin: 0; padding: 0 1.2rem 1.2rem; color: var(--muted); text-align: center; font-size: .95rem; line-height: 1.8; }

/* Call to action */
.cta {
  border-top: 8px solid var(--tan);
  background: linear-gradient(rgba(25,25,24,.66), rgba(25,25,24,.78)), url("assets/crew-bg.jpg") center 30% / cover no-repeat;
  padding: clamp(4rem, 10vw, 6.5rem) 0;
}
.cta-title { font-size: clamp(1.7rem, 6.5vw, 3.7rem); margin: 0 0 2.2rem; letter-spacing: .14em; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.cta-btn {
  display: inline-block; padding: 1.05rem 2.4rem; border: 2px solid var(--tan); border-radius: 999px;
  background: var(--tan); color: #1f1e1b; text-decoration: none;
  font: 600 .85rem/1 var(--body); letter-spacing: .3em; text-transform: uppercase; padding-right: calc(2.4rem - .3em);
  transition: background .15s, color .15s;
}
.cta-btn:hover { background: transparent; color: #fff; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 2.5rem; }
.contact-links a {
  display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1rem; background: var(--tan); color: #fff;
  text-decoration: none; font: 600 .76rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 1px 1px rgba(0,0,0,.25);
}
.contact-links a:hover { background: var(--tan-dark); }
.contact-links svg { width: 15px; height: 15px; flex: none; }

.footer { text-align: center; padding: 1.5rem 1rem; font-size: .8rem; color: #8f8b83; background: #262626; }
.footer p { margin: 0; }

/* Thank-you banner */
.sent-banner { position: fixed; z-index: 40; left: 50%; top: 1rem; transform: translateX(-50%); width: min(100% - 2rem, 32rem); display: flex; align-items: center; gap: 1rem; background: #f4f3f0; color: #222; border-left: 6px solid var(--tan); border-radius: 6px; padding: .9rem 1rem; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.sent-banner[hidden] { display: none; }
.sent-banner p { margin: 0; flex: 1; font-weight: 500; line-height: 1.45; }
.sent-banner button { border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: #555; }

/* Smaller screens */
@media (max-width: 760px) {
  .nav { grid-template-columns: repeat(3, 1fr); }
  .dropdown-menu { left: auto; right: 0; transform: none; }
}
@media (max-width: 480px) {
  .eyebrow { letter-spacing: .32em; font-size: .7rem; }
  .hero h1 { letter-spacing: .08em; }
  .nav > a, .dropdown-btn { letter-spacing: .12em; font-size: .7rem; }
  h2, h3 { letter-spacing: .1em; }
  .panel { padding: .6rem; border-radius: 12px; }
  .review { padding: 1.25rem 1rem 1rem; }
  .cta-btn { letter-spacing: .2em; padding: 1rem 1.6rem; }
  .lightbox button.lb-prev, .lightbox button.lb-next { top: auto; bottom: 1.25rem; transform: none; }
  .lb-prev { left: calc(50% - 3.5rem); } .lb-next { right: calc(50% - 3.5rem); }
}
