/* ==========================================================================
   ScopeStyler — design system
   Monochrome, luxury-editorial. Black #111111 / white / near-white #fcfcfc.
   ========================================================================== */

:root {
  --ink: #111111;
  --paper: #ffffff;
  --muted: #fcfcfc;
  --grey: #6b6b6b;
  --line: #e7e7e7;
  --accent: #b07d4f; /* bronze — used sparingly for labels/badges */
  --error: #b42318; /* validation errors */
  --ink-soft: #1c1c1c;

  --font-display: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;

  --container: 1120px;
  --radius: 2px;
  --shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
}

/* Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; margin: 0 auto; }

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: #2a2a2a; border-color: #2a2a2a; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: #f2f2f2; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-lg { padding: 17px 38px; font-size: 14px; }

/* Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 34px; width: auto; }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width 0.2s ease;
}
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.open-badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 20px;
  display: none;
}
.open-badge.is-open { color: #1c7a3d; border-color: #bcdcc6; }
.open-badge.is-closed { color: #a33; border-color: #e6c3c3; }
@media (min-width: 900px) { .open-badge { display: inline-block; } }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }

/* Sections -------------------------------------------------------------- */
.section { padding: 84px 0; }
.section-muted { background: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.section-lede { color: var(--grey); font-size: 18px; margin-bottom: 40px; }
.section-note { color: var(--grey); font-size: 14px; margin-top: 28px; font-style: italic; }

/* Hero ------------------------------------------------------------------ */
.hero { padding: 96px 0 88px; text-align: center; }
.hero-inner { max-width: 760px; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.hero-title { font-size: clamp(44px, 8vw, 76px); font-weight: 400; letter-spacing: 0.02em; margin-bottom: 20px; }
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(19px, 3vw, 24px);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.hero-text { color: var(--grey); max-width: 620px; margin: 0 auto 34px; }

/* Page hero (interior pages) ------------------------------------------- */
.page-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(34px, 5vw, 52px); font-weight: 400; margin-bottom: 10px; }
.page-lede { color: var(--grey); font-size: 18px; max-width: 640px; margin-bottom: 28px; }

/* Services -------------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.service-card { border: 1px solid var(--line); padding: 30px 26px; border-radius: var(--radius); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.service-name { font-size: 24px; font-weight: 500; margin-bottom: 10px; }
.service-text { color: var(--grey); font-size: 15px; margin: 0; }

/* Hours ----------------------------------------------------------------- */
.hours-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: 11px 0; font-size: 16px; }
.hours-table th { font-weight: 500; font-family: var(--font-display); letter-spacing: 0.02em; }
.hours-table td { color: var(--grey); }
.hours-table tr + tr th, .hours-table tr + tr td { border-top: 1px solid var(--line); }

/* Testimonials ---------------------------------------------------------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.testimonial { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; }
.testimonial blockquote { margin: 0 0 20px; font-size: 16px; color: var(--ink-soft); }
.testimonial figcaption { margin-top: auto; font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }

/* CTA ------------------------------------------------------------------- */
.cta { background: var(--ink); color: #fff; padding: 88px 0; text-align: center; }
.cta-inner { max-width: 680px; }
.cta-title { color: #fff; font-size: clamp(28px, 4vw, 40px); font-weight: 400; margin-bottom: 16px; }
.cta-text { color: rgba(255,255,255,0.8); font-size: 18px; margin-bottom: 32px; }

/* Pricing --------------------------------------------------------------- */
.pricing-list { max-width: 760px; }
.pricing-group-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}
.pricing-group-title:first-child { margin-top: 0; }
.pricing-table { border-bottom: 1px solid var(--line); }
.pricing-row { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.pricing-main { display: flex; flex-direction: column; gap: 4px; }
.pricing-name { font-weight: 500; font-size: 16px; }
.pricing-note { color: var(--grey); font-size: 13.5px; }
.pricing-price { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; flex-shrink: 0; }
.price { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: 0.01em; }
.pricing-from { font-size: 12px; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; }
.pricing-cta { margin-top: 48px; text-align: center; }

/* Team ------------------------------------------------------------------ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.team-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.team-card h3 { font-size: 22px; margin-bottom: 4px; }
.team-role { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.team-card p:last-child { color: var(--grey); font-size: 15px; margin: 0; }

/* Gallery (placeholder) -------------------------------------------------- */
.gallery-empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: var(--radius); }
.gallery-empty p { color: var(--grey); margin-bottom: 24px; }

/* Contact --------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-address { font-size: 18px; }
.contact-sub { font-size: 16px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin: 32px 0 12px; }
.map-embed { margin-top: 8px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map-embed iframe { display: block; }

.contact-form .section-title { margin-bottom: 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { resize: vertical; }
.form-alt { color: var(--grey); font-size: 14px; margin-top: 20px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.field-hint { color: var(--grey); font-size: 13px; margin: 6px 0 0; }
.field-error { color: var(--error); font-size: 13px; margin: 6px 0 0; }
.field-error:empty { display: none; }
.field input.is-invalid, .field textarea.is-invalid { border-color: var(--error); }

/* Links ----------------------------------------------------------------- */
.link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--accent); }

/* Flash ----------------------------------------------------------------- */
.flash-wrap { margin-top: 20px; }
.flash { padding: 14px 18px; border-radius: var(--radius); font-size: 15px; margin-bottom: 12px; }
.flash-success { background: #eef7f0; border: 1px solid #bcdcc6; color: #1c7a3d; }
.flash-error { background: #fdf0f0; border: 1px solid #e6c3c3; color: #a33; }

/* Footer ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.85); padding: 72px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding-bottom: 48px; }
.footer-logo { height: 30px; width: auto; margin-bottom: 16px; }
.footer-tag { font-size: 15px; color: rgba(255,255,255,0.7); }
.footer-heading { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col p { font-size: 15px; margin: 0 0 6px; }
.footer-col a { color: rgba(255,255,255,0.85); }
.footer-col a:hover { color: #fff; }
.footer-hours { list-style: none; margin: 0; padding: 0; }
.footer-hours li { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; padding: 4px 0; }
.footer-hours span:last-child { color: rgba(255,255,255,0.65); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding: 22px 24px; font-size: 13px; color: rgba(255,255,255,0.55); }
.footer-bottom p { margin: 0; }

/* Reveal animation ------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .hours-layout, .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 60px 0; }
  .hero { padding: 64px 0 60px; }
}

/* Hero image background ------------------------------------------------ */
.hero-image {
  color: #fff;
  position: relative;
  background-size: cover;
  background-position: center;
}
.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.55);
}
.hero-image .hero-inner { position: relative; z-index: 1; }
.hero-image .eyebrow { color: #fff; }
.hero-image .hero-text { color: rgba(255, 255, 255, 0.85); }

/* Gallery -------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.gallery-item { margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1 / 1; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-credit {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(17, 17, 17, 0.62);
  color: #fff;
  padding: 6px 12px;
  font-size: 11.5px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gallery-item:hover .gallery-credit, .gallery-credit:focus-within { opacity: 1; }
.gallery-credit a { color: #fff; }

/* Pricing extras ------------------------------------------------------- */
.quick-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.quick-link {
  border: 1px solid var(--line);
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}
.quick-link:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.pricing-group-lede { color: var(--grey); font-size: 15.5px; margin: -6px 0 14px; max-width: 620px; }
.pricing-meta { display: flex; flex-direction: column; gap: 4px; margin-top: 3px; }
.pricing-duration {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.pricing-row { align-items: baseline; }

/* Home: service card links --------------------------------------------- */
.service-link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.service-link:hover { color: var(--ink); }

/* Home: why us ---------------------------------------------------------- */
.why-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.why-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.why-item h3 { font-size: 18px; margin-bottom: 8px; }
.why-item p { color: var(--grey); font-size: 15px; margin: 0; }
.hours-note { color: var(--accent); font-size: 15px; }

/* Home: area list ------------------------------------------------------- */
.area-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-list li {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13.5px;
  color: var(--grey);
}

/* About: values --------------------------------------------------------- */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.value-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.value-item h3 { font-size: 19px; margin-bottom: 8px; }
.value-item p { color: var(--grey); font-size: 15px; margin: 0; }

/* FAQ ------------------------------------------------------------------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 18px 32px 18px 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 22px;
  line-height: 1;
  color: var(--grey);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--grey); font-size: 15.5px; padding: 0 32px 18px 0; margin: 0; }

/* Responsive additions -------------------------------------------------- */
@media (max-width: 900px) {
  .why-layout { grid-template-columns: 1fr; gap: 32px; }
}
