/* ============================================================
   MASTER SWEEP & REPAIR — REDESIGN MOCK-UP
   Modern, fire-and-brick theme for the chimney trade
   Palette:
     --ink    #14110f  warm near-black
     --coal   #1f1a17  charcoal panel
     --ember  #ee6a2b  flame orange (primary accent)
     --ember2 #c94f1d  deep ember
     --gold   #f2b544  ember gold / smoke-lit
     --cream  #f5eee3  warm paper
     --smoke  #faf6ef  light section
   ============================================================ */

:root {
  --ink: #14110f;
  --coal: #1f1a17;
  --coal2: #262019;
  --ember: #ee6a2b;
  --ember2: #c94f1d;
  --gold: #f2b544;
  --cream: #f5eee3;
  --smoke: #faf6ef;
  --muted: #8a8178;
  --line: rgba(245, 238, 227, .12);
  --radius: 16px;
  --shadow: 0 24px 60px rgba(20, 17, 15, .16);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Georgia", "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--smoke);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

/* Hide the pre-JS flash */
html.js .need-js { display: none; }
html.js.ready .need-js { display: revert; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .92rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn .arr { transition: transform .18s ease; display:inline-block; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--ember); color: #fff; }
.btn-primary:hover { background: #d85a20; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--gold); }
.btn-dark:hover { background: #2a231d; transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }

/* ============ TOP BAR / HEADER ============ */
.topbar {
  background: var(--ink);
  color: var(--muted);
  font-size: .82rem;
  border-bottom: 1px solid var(--line);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 1rem; flex-wrap: wrap; padding-block: .3rem; }
.topbar a { color: var(--cream); font-weight: 500; }
.topbar .bar-left { color: var(--cream); font-weight: 500; }
.topbar .bar-right { display: flex; gap: 1.4rem; align-items: center; }
.topbar .bar-right span { display: inline-flex; align-items:center; gap:.4rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #000;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .4rem; }
.brand img { height: 52px; width: auto; }
.brand .brand-name { color: var(--cream); font-weight: 800; line-height: 1.05; font-size: 1.06rem; text-transform: uppercase; letter-spacing:.03em; }
.brand .brand-name small { display:block; font-weight:600; font-size:.68rem; color: var(--gold); letter-spacing:.22em; text-transform: uppercase; }

.main-nav ul { display: flex; gap: .35rem; align-items: center; }
.main-nav a {
  padding: .6rem 1rem;
  border-radius: 10px;
  color: var(--cream);
  font-weight: 500;
  font-size: .95rem;
  transition: color .15s ease, background .15s ease;
}
.main-nav a:hover { color: var(--gold); background: rgba(255,255,255,.05); }
.main-nav a.active { color: var(--gold); background: rgba(238,106,43,.12); }
.nav-submenu a.nav-sub-link.active { color: var(--gold); background: rgba(238,106,43,.14); }
.nav-cta { margin-left: .5rem; }
.nav-cta a { background: var(--ember); color:#fff; font-weight:600; }
.nav-cta a:hover { background:#d85a20; color:#fff; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 46px; height: 46px; cursor: pointer; flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--cream); border-radius: 2px; transition:.25s; }
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ============ NAV DROPDOWN (desktop hover/focus) ============ */
.nav-dropdown { position: relative; }

/* Services dropdown label is a non-link span — style it like nav links */
.main-nav span.nav-link {
  padding: .6rem 1rem;
  border-radius: 10px;
  color: var(--cream);
  font-weight: 500;
  font-size: .95rem;
  cursor: default;
  transition: color .15s ease, background .15s ease;
}
.main-nav span.nav-link:hover { color: var(--gold); background: rgba(255,255,255,.05); }
.main-nav span.nav-link.active { color: var(--gold); background: rgba(238,106,43,.12); }

.nav-dropdown > .nav-link { display: inline-flex; align-items: center; gap: .35rem; }

.nav-caret { font-size: .62rem; opacity: .7; transition: transform .2s ease; }
.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret { transform: rotate(180deg); }

.nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 262px;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .55rem;
  display: flex;
  flex-direction: column;
  gap: .1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  box-shadow: 0 28px 50px rgba(0,0,0,.55);
  z-index: 60;
}

/* Hover bridge so the menu does not close crossing the gap */
.nav-submenu::before {
  content: "";
  position: absolute;
  top: -12px; left: 0; right: 0;
  height: 12px;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-submenu a.nav-sub-link {
  display: block;
  padding: .58rem .85rem;
  border-radius: 9px;
  color: var(--cream);
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.nav-submenu a.nav-sub-link:hover {
  color: var(--gold);
  background: rgba(238,106,43,.14);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding: clamp(4rem, 7vw, 6.5rem) 0 clamp(4rem, 7vw, 6rem);
}
.hero-bg { position: absolute; inset: 0; opacity:.34; z-index:0; }
.hero-bg img { width:100%; height:100%; object-fit:cover; }
.hero::after { content:""; position:absolute; inset:0; z-index:1;
  background: radial-gradient(900px 480px at 78% 22%, rgba(238,106,43,.28), transparent 60%),
              linear-gradient(115deg, rgba(20,17,15,.94) 8%, rgba(20,17,15,.72) 55%, rgba(20,17,15,.5) 100%); }
.hero .container { position: relative; z-index: 2; }

.hero .eyebrow {
  display: inline-flex; align-items:center; gap: .5rem;
  text-transform: uppercase; letter-spacing: .24em; font-size: .74rem; font-weight: 700;
  color: var(--gold); margin-bottom: 1.2rem;
}
.hero .eyebrow::before { content:""; width: 34px; height: 2px; background: var(--ember); }
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  line-height: 1.06;
  max-width: 17ch;
  letter-spacing: -.01em;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p.lede { margin-top: 1.4rem; max-width: 52ch; font-size: 1.13rem; color: #e8ded0; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem; }

.hero-badges { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 3rem; max-width: 620px; }
.hero-badges .stat { background: rgba(255,255,255,.05); border:1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.2rem; }
.hero-badges .stat b { display:block; font-family: var(--serif); font-size: 1.7rem; color: var(--gold); line-height:1; }
.hero-badges .stat span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing:.08em; margin-top:.35rem; display:block; }

/* ============ SECTION HEAD ============ */
.section { padding: clamp(3.5rem, 6vw, 5.5rem) 0; }
.section.alt { background: var(--cream); }
.section.tint { background: var(--ink); color: var(--cream); }
.sec-head { max-width: 640px; margin-bottom: 2.8rem; }
.sec-head .eyebrow { display:inline-flex; align-items:center; gap:.5rem; text-transform:uppercase; letter-spacing:.22em; font-size:.72rem; font-weight:700; color: var(--ember2); }
.sec-head .eyebrow::before { content:""; width:26px; height:2px; background:var(--ember); }
.sec-head h2 { font-family: var(--serif); font-weight:700; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height:1.12; margin-top:.7rem; }
.sec-head p { margin-top: .9rem; color: var(--muted); }
.section.tint .sec-head p { color: #b9af9f; }
.section.tint .sec-head .eyebrow { color: var(--gold); }

/* ============ CARDS ============ */
.card {
  background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(20,17,15,.22); }
.card img.cover { width:100%; height: 210px; object-fit:cover; }
.card-body { padding: 1.6rem; }
.card-body h3 { font-family: var(--serif); font-size: 1.32rem; margin-bottom:.5rem; }
.card-body p { color: var(--muted); font-size:.97rem; }
.card-icon {
  width: 54px; height: 54px; border-radius: 12px; display:grid; place-items:center; margin-bottom:1rem;
  background: linear-gradient(135deg, var(--ember), var(--ember2)); color:#fff;
}
.card-icon svg { width: 26px; height: 26px; }

/* ============ GRIDS ============ */
.grid-2 { display:grid; grid-template-columns: repeat(2,1fr); gap:1.6rem; }
.grid-3 { display:grid; grid-template-columns: repeat(3,1fr); gap:1.6rem; }
.grid-4 { display:grid; grid-template-columns: repeat(4,1fr); gap:1.4rem; }
.split { display:grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem,4vw,4rem); align-items: center; }

/* ============ IMAGE FRAME ============ */
.frame { position: relative; }
.frame .back { position:absolute; inset: auto 6% -6% auto; width:56%; height:56%; border:2px solid var(--ember); border-radius: var(--radius); opacity:.5; z-index:0; }
.frame img { position:relative; z-index:1; border-radius: var(--radius); box-shadow: var(--shadow); width:100%; object-fit:cover; }

/* Text wrap-around images (services page) */
.split-wrap { overflow: hidden; }
.split-wrap .frame { float: right; width: clamp(280px, 42%, 460px); margin: 0 0 1.25rem 2.5rem; }
.split-wrap.wrap-left .frame { float: left; margin: 0 2.5rem 1.25rem 0; }
.split-wrap .sec-head, .split-wrap .prose-body { max-width: none; }
.split-wrap .prose-body p:first-child { margin-top: 0; }
@media (max-width: 860px) {
  .split-wrap .frame, .split-wrap.wrap-left .frame { float: none; width: 100%; margin: 0 0 1.5rem 0; }
}
.frame .tag {
  position:absolute; left:-14px; bottom:26px; z-index:2;
  background: var(--ink); color: var(--gold); padding: .8rem 1.2rem; border-radius: 14px;
  box-shadow: var(--shadow); display:flex; align-items:center; gap:.7rem;
}
.frame .tag b { font-family:var(--serif); font-size:1.6rem; line-height:1; }
.frame .tag span { font-size:.74rem; letter-spacing:.06em; text-transform:uppercase; color:var(--cream); display:block; line-height:1.2; }

/* ============ VALUE TICKS ============ */
.ticks { display:grid; gap:1.1rem; margin-top:1.6rem; }
.tick { display:flex; gap:1rem; align-items:flex-start; }
.tick .dot { flex:none; width:40px; height:40px; border-radius:50%; background: rgba(238,106,43,.12); color: var(--ember2); display:grid; place-items:center; }
.tick h4 { font-size:1.05rem; }
.tick p { color: var(--muted); font-size:.94rem; margin-top:.15rem; }

/* ============ SERVICES ============ */
.filter-bar { display:flex; flex-wrap:wrap; gap:.6rem; margin-bottom:2rem; }
.chip {
  padding:.6rem 1.2rem; border-radius:999px; background:#fff; border:1px solid #e4dac9;
  font-weight:600; font-size:.9rem; cursor:pointer; transition:.18s; color:var(--ink);
}
.chip:hover { border-color: var(--ember); color: var(--ember2); }
.chip.on { background: var(--ink); color: var(--gold); border-color: var(--ink); }

/* ============ TESTIMONIALS ============ */
.testi-slider { position:relative; }
.slide { display:none; }
.slide.on { display:block; animation: fade .4s ease; }
@keyframes fade { from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:none} }
.testi-card { background:#fff; border-radius: var(--radius); padding: 2rem clamp(1.4rem,3vw,2.4rem); box-shadow: var(--shadow); max-width:820px; }
.testi-card .quote { font-family:var(--serif); font-size: clamp(1.15rem,2.4vw,1.5rem); font-style:italic; line-height:1.5; color:var(--ink); }
.testi-card .stars { color:var(--gold); letter-spacing:.12em; font-size:1.1rem; margin: 1rem 0 .7rem; }
.testi-meta { display:flex; align-items:center; gap:.9rem; }
.testi-meta .avatar { width:50px; height:50px; border-radius:50%; background: linear-gradient(135deg,var(--ember),var(--gold)); color:#fff; display:grid; place-items:center; font-weight:700; font-size:1.1rem; }
.testi-meta b { display:block; font-size:1rem; }
.testi-meta span { font-size:.85rem; color:var(--muted); }
.testi-nav { display:flex; gap:.6rem; margin-top:1.4rem; }
.testi-nav button { width:46px; height:46px; border-radius:50%; background:#fff; border:1px solid #e4dac9; cursor:pointer; font-size:1.1rem; transition:.18s; color:var(--ink); }
.testi-nav button:hover { background:var(--ink); color:var(--gold); border-color:var(--ink); }
.dots { display:flex; gap:.4rem; margin-top:1.2rem; }
.dots button { width:9px; height:9px; border-radius:50%; border:none; background:#d8ccb8; cursor:pointer; padding:0; }
.dots button.on { background:var(--ember); width:26px; border-radius:999px; }

/* ============ CTA BAND ============ */
.cta-band { background: linear-gradient(120deg, var(--ember2), var(--ember)); color:#fff; }
.cta-band .container { display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap; }
.cta-band h2 { font-family:var(--serif); font-size: clamp(1.6rem,3vw,2.2rem); line-height:1.15; }
.cta-band p { opacity:.9; margin-top:.4rem; max-width:46ch; }
.cta-band .btn-ghost { border-color:#fff; color:#fff; }
.cta-band .btn-ghost:hover { color:#fff; border-color:var(--gold); }
.cta-band .phone-big { font-size:2rem; font-weight:800; letter-spacing:.01em; display:inline-flex; align-items:center; gap:.7rem; color:#fff; }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: var(--muted); padding-top: 4rem; }
.footer-top { display:grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap:2.4rem; padding-bottom:2.6rem; }
.footer-top h5 { color:var(--cream); text-transform:uppercase; letter-spacing:.14em; font-size:.8rem; margin-bottom:1.1rem; }
.footer-top a { display:block; padding:.32rem 0; transition:.15s; font-size:.96rem; }
.footer-top a:hover { color:var(--gold); }
.footer-brand img { height:44px; margin-bottom:1rem; }
.footer-brand p { font-size:.94rem; max-width:32ch; }
.footer-contact li { display:flex; gap:.7rem; margin-bottom:.8rem; font-size:.96rem; align-items:flex-start; }
.footer-contact svg { flex:none; width:20px; height:20px; margin-top:2px; color:var(--ember); }
.footer-contact a { color:var(--muted); } .footer-contact a:hover{color:var(--gold);}
.footer-bottom { border-top: 1px solid var(--line); padding:1.4rem 0; font-size:.86rem; display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.footer-bottom .mini-links { display:flex; gap:1.4rem; } .footer-bottom a:hover{color:var(--gold);}

/* ============ PAGE HERO (inner) ============ */
.page-hero { background: var(--ink); color: var(--cream); padding: clamp(2.5rem,5vw,4rem) 0; position:relative; overflow:hidden; }
.page-hero.bg { background-size:cover; background-position:center; position:relative; }
.page-hero.bg::after { content:""; position:absolute; inset:0; background: linear-gradient(115deg, rgba(20,17,15,.94) 20%, rgba(20,17,15,.72) 70%, rgba(20,17,15,.55) 100%); z-index:0; }
.page-hero .container { position:relative; z-index:2; }
.page-hero h1 { font-family:var(--serif); font-size: clamp(2rem,4.6vw,3.2rem); line-height:1.1; }
.page-hero p { margin-top:1rem; max-width:54ch; color:#e8ded0; font-size:1.08rem; }
.crumbs { font-size:.84rem; color:var(--muted); margin-bottom:1rem; letter-spacing:.04em; }
.crumbs a { color:var(--gold); } .crumbs span::before{content:"/"; margin:0 .5rem; color:var(--muted);}

/* ============ ABOUT / TEAM ============ */
.team-grid { grid-template-columns: repeat(2,1fr); }
.member { text-align:center; padding:2rem 1.5rem; }
.member .avatar-lg { width:150px; height:150px; margin:0 auto 1.2rem; border-radius:50%; object-fit:cover; border:4px solid var(--gold); background:#eee; }
.member h3 { font-family:var(--serif); font-size:1.5rem; }
.member .role { color:var(--ember2); font-weight:700; text-transform:uppercase; letter-spacing:.1em; font-size:.78rem; margin-top:.25rem; }
.member p { color:var(--muted); margin-top:.9rem; font-size:.95rem; }

/* ============ PROSE BODY (about page) ============ */
.prose-body { max-width: 760px; font-size: 1.08rem; line-height: 1.8; color: #3a322a; }
.prose-body p { margin-bottom: 1.4rem; }

/* ============ STAFF BIO (image-left, text wraps right then under) ============ */
.staff-bio {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #e4dac9;
}
.staff-bio:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.staff-bio .staff-photo {
  float: left;
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--gold);
  margin: 0 2rem 1.2rem 0;
  background: #2a231d;
}
.staff-bio h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: .2rem;
}
.staff-bio .staff-role {
  color: var(--ember2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .78rem;
  margin-bottom: 1rem;
}
.staff-bio p {
  color: #3a322a;
  font-size: 1.02rem;
  line-height: 1.8;
}
/* Clear float after each bio */
.staff-bio::after { content: ""; display: table; clear: both; }

/* ============ SHOWROOM ============ */
.showroom-project { margin-bottom: 3.5rem; }
.brand-section { margin-bottom: 2rem; }
.brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.brand-header h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
}
.stove-type {
  color: var(--ember);
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .6rem;
}
/* Dark section card overrides */
.section.tint .card { background: var(--coal); }
.section.tint .card-body h4 { color: var(--cream); font-family: var(--serif); font-size: 1.2rem; }
.section.tint .card-body p { color: #b9af9f; }
.section.tint .stove-type { color: var(--ember); }
.section.tint .brand-header { border-bottom-color: var(--line); }
.stove-card img.cover { height: 220px; object-fit: cover; }

/* ============ FORMS ============ */
.form-card { background:#fff; border-radius:20px; padding: clamp(1.5rem,3.5vw,2.6rem); box-shadow: var(--shadow); }
.form-card h3 { font-family:var(--serif); font-size:1.7rem; margin-bottom:.4rem; }
.form-card > p { color:var(--muted); margin-bottom:1.6rem; }
.field { margin-bottom:1.1rem; }
.field label { display:block; font-weight:600; font-size:.9rem; margin-bottom:.4rem; }
.field .consent { display:flex; gap:.6rem; align-items:flex-start; font-weight:500; line-height:1.45; font-size:.78rem; color:var(--muted); margin-bottom:0; cursor:pointer; }
.field .consent input { margin-top:.2rem; cursor:pointer; width:auto; flex:none; accent-color:var(--ember); }
.field input, .field select, .field textarea {
  width:100%; padding:.9rem 1rem; border:1.5px solid #e2d7c4; border-radius:12px;
  font-family:inherit; font-size:1rem; background:#fbf7ef; transition:.15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color:var(--ember); background:#fff; box-shadow:0 0 0 3px rgba(238,106,43,.14); }
.field textarea { min-height:120px; resize:vertical; }
.form-2col { display:grid; grid-template-columns:1fr 1fr; gap:0 1.2rem; }
.form-note { font-size:.8rem; color:var(--muted); margin-top:.8rem; }
.msg { display:none; margin-top:1rem; padding:.9rem 1.1rem; border-radius:12px; font-weight:600; }
.msg.ok { display:block; background:#e7f3e6; color:#2c6b2f; border:1px solid #bfe3bd; }
.msg.err { display:block; background:#fbeeee; color:#a23; border:1px solid #f0cfc9; }

/* Honeypot: removed from the visual flow and from the accessibility tree,
   but still present in the DOM for bots to find and fill. */
.hp-field { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* Inline validation feedback, populated from the API's 422 response. */
.field.has-error input,
.field.has-error textarea { border-color:#d0554a; background:#fdf7f6; }
.field.has-error input:focus,
.field.has-error textarea:focus { border-color:#d0554a; box-shadow:0 0 0 3px rgba(208,85,74,.16); }
.field-error { display:block; margin-top:.35rem; font-size:.8rem; font-weight:600; color:#b8392e; }

/* Submitting state on the form button. */
.form-card button[type="submit"]:disabled { opacity:.72; cursor:not-allowed; }

/* ============ FAQ ============ */
.faq-item { background:#fff; border-radius:14px; margin-bottom:.9rem; box-shadow:0 6px 20px rgba(20,17,15,.06); overflow:hidden; }
.faq-q { width:100%; text-align:left; background:none; border:none; padding:1.2rem 1.5rem; cursor:pointer; font-family:inherit; font-weight:700; font-size:1.05rem; display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.faq-q .plus { font-size:1.4rem; color:var(--ember2); transition:.2s; flex:none; }
.faq-item.open .faq-q .plus { transform:rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .3s ease, padding .3s ease; padding:0 1.5rem; font-size:.98rem; line-height:1.6; }
.faq-item.open .faq-a { padding-bottom:1.2rem; }
.faq-a p { color:var(--muted); margin:.2rem 0 .8rem; }
.faq-a ul { margin:0 0 .2rem; padding-left:1.4rem; list-style:disc; }
.faq-a ul li { color:var(--muted); margin-bottom:.45rem; line-height:1.55; }
.faq-a ul li:last-child { margin-bottom:0; }
.faq-a ul li::marker { color:var(--ember2,#ee6a2b); }

/* ============ EXCLUSION / IMPORTANT NOTE BOX ============ */
/* Faded red: hard exclusions and scope limits — attention getters, not decoration. */
.note-box {
  background: #fdecea;                    /* faded red wash */
  border-left: 4px solid #d9534f;         /* deep red edge */
  color: #7a1e1b;                         /* dark red text */
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  border-radius: 6px;
  flex: none;
}
.reveal .note-box { flex: 1 1 auto; }
.note-box p { margin: 0 0 .5rem 0; color: #7a1e1b; }
.note-box p:last-child { margin-bottom: 0; }
.note-box strong { color: #5c1411; }
.note-box li + li { margin-top: .35rem; }   /* when the box carries a list */
.note-box ul { margin: .35rem 0 0 1.2rem; list-style: disc; padding-left:0; color:#7a1e1b; }
.note-box ul li::marker { color: #d9534f; }

/* ============ GALLERY ============ */
.gallery { display:grid; grid-template-columns: repeat(3,1fr); gap:1.1rem; }
.gallery figure { border-radius:var(--radius); overflow:hidden; position:relative; aspect-ratio:4/3; }
.gallery img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.gallery figure:hover img { transform:scale(1.06); }
.gallery figcaption { position:absolute; inset:auto 0 0 0; padding:.9rem 1.1rem; color:#fff; background:linear-gradient(transparent, rgba(20,17,15,.85)); font-weight:600; font-size:.9rem; }

/* ============ SERVICE DETAIL / LIST ============ */
.service-item { display:flex; gap:1.4rem; align-items:flex-start; background:#fff; border-radius:16px; padding:1.6rem; margin-bottom:1.1rem; box-shadow:0 10px 30px rgba(20,17,15,.07); }
.service-item .num { font-family:var(--serif); font-size:2rem; color:var(--ember2); opacity:.45; line-height:1; flex:none; width:44px; }
.service-item h3 { font-family:var(--serif); font-size:1.35rem; }
.service-item p { color:var(--muted); margin-top:.3rem; }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; transition:none; } }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  /* Remove backdrop-filter on mobile so it doesn't create a containing
     block that traps position:fixed children (the slide-in nav panel). */
  .site-header { backdrop-filter: none; }
  .nav-toggle { display:flex; }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(340px, 85vw);
    background: #000;
    border-left: 1px solid var(--line);
    flex-direction: column;
    padding: 5rem 1.5rem 1.5rem;
    display: flex;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -20px 0 50px rgba(0,0,0,.5);
    overflow-y: auto;
    z-index: 55;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; width: 100%; gap: .3rem; align-items: stretch; }
  .main-nav a { display: block; width: 100%; text-align: left; }
  .nav-cta { margin: .6rem 0 0; width: 100%; }
  .nav-cta a { justify-content: center; }

  /* Overlay backdrop when nav is open */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
    z-index: 54;
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }

  /* --- Mobile: Services submenu always visible (no tap/hover needed) --- */
  .nav-dropdown { width: 100%; }

  .nav-dropdown > .nav-link {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: .45rem;
  }

  .main-nav ul.nav-submenu {
    position: static;
    transform: none !important;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,.035);
    border: none;
    border-radius: 10px;
    box-shadow: none;
    padding: .3rem 0;
    margin: .15rem 0 .35rem;
  }
  .nav-submenu::before { display: none; }

  .nav-submenu a.nav-sub-link {
    text-align: left;
    padding: .62rem 1rem .62rem 1.4rem;
    font-size: .95rem;
    font-weight: 500;
    white-space: normal;
    color: var(--cream);
  }
}
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap:2rem; }
  .split { grid-template-columns: 1fr; }
  .frame .tag { left:8px; }
}
@media (max-width: 720px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap:1.8rem; }
  .hero-badges { grid-template-columns: 1fr 1fr; }
  .topbar .bar-right { display:none; }
  .form-2col { grid-template-columns: 1fr; }
  .staff-bio .staff-photo { width: 160px; height: 160px; margin: 0 1.5rem 1rem 0; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .hero-badges { grid-template-columns: 1fr; }
}
