/* ==========================================================================
   REDUX Paint and Fine Finish — site.css
   Single stylesheet. No build step. Edit tokens in :root to reskin the site.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Core palette */
  --ink:            #1a1a18;   /* deep charcoal — text, dark sections      */
  --ink-soft:       #34342f;
  --paper:          #f7f4ef;   /* warm off-white — default page background */
  --paper-warm:     #efe9e0;   /* subtle band background                   */
  --accent:         #b5502f;   /* muted brick — CTAs, links, rules         */
  --accent-deep:    #8f3d22;   /* hover / pressed                          */
  --accent-wash:    #f3e4dd;   /* tinted panels                            */

  /* Neutrals */
  --grey-900: #2b2b27;
  --grey-700: #55554e;
  --grey-500: #83837a;
  --grey-300: #c8c4bb;
  --grey-200: #ded9d0;
  --grey-100: #ebe7e0;

  /* Semantic */
  --bg:             var(--paper);
  --fg:             var(--ink);
  --fg-muted:       var(--grey-700);
  --rule:           var(--grey-200);
  --rule-strong:    var(--grey-300);
  --success:        #2f6b46;
  --error:          #a32c22;

  /* Type */
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
                  "Times New Roman", serif;
  --font-body:    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
                  "Helvetica Neue", Arial, sans-serif;
  --font-mono:    ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, monospace;

  /* Fluid type scale (min 375px → max 1200px) */
  --step--1: clamp(0.83rem, 0.79rem + 0.17vw, 0.92rem);
  --step-0:  clamp(1rem,    0.96rem + 0.19vw, 1.12rem);
  --step-1:  clamp(1.2rem,  1.12rem + 0.35vw, 1.44rem);
  --step-2:  clamp(1.44rem, 1.3rem  + 0.6vw,  1.84rem);
  --step-3:  clamp(1.73rem, 1.5rem  + 0.98vw, 2.36rem);
  --step-4:  clamp(2.07rem, 1.71rem + 1.55vw, 3.02rem);
  --step-5:  clamp(2.49rem, 1.92rem + 2.42vw, 3.86rem);

  /* Space scale */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;     --sp-7: 3rem;     --sp-8: 4rem;
  --sp-9: 6rem;     --sp-10: 8rem;

  /* Section rhythm — generous, editorial */
  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);

  /* Layout */
  --measure: 68ch;
  --wrap:    1200px;
  --wrap-narrow: 780px;
  --gutter:  clamp(1.25rem, 0.7rem + 2.3vw, 2.5rem);

  /* Shape & depth */
  --radius:    4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(26, 26, 24, 0.06),
               0 2px 8px rgba(26, 26, 24, 0.04);
  --shadow-md: 0 2px 4px rgba(26, 26, 24, 0.06),
               0 8px 24px rgba(26, 26, 24, 0.08);
  --shadow-lg: 0 4px 8px rgba(26, 26, 24, 0.08),
               0 16px 48px rgba(26, 26, 24, 0.12);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur:  0.4s;

  --header-h: 72px;
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select { font: inherit; color: inherit; }

button { cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p, li { text-wrap: pretty; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-deep); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--accent); color: var(--paper); }

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }

.section--dark  { background: var(--ink);   color: var(--paper); }
.section--warm  { background: var(--paper-warm); }
.section--wash  { background: var(--accent-wash); }

.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--paper); }
.section--dark p  { color: rgba(247, 244, 239, 0.82); }
.section--dark a:not(.btn) { color: #e8a289; }

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { margin-top: var(--sp-7); font-size: var(--step-3); }
.prose h3 { margin-top: var(--sp-6); font-size: var(--step-1); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: var(--sp-2); }
.prose strong { font-weight: 650; }

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Two-column editorial split — asymmetric on desktop */
.split {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .split--wide-left  { grid-template-columns: 1.25fr 1fr; }
  .split--wide-right { grid-template-columns: 1fr 1.25fr; }
  .split--flip > *:first-child { order: 2; }
}

.stack > * + * { margin-top: var(--sp-4); }
.stack--lg > * + * { margin-top: var(--sp-6); }

.center { text-align: center; margin-inline: auto; }

/* --------------------------------------------------------------------------
   4. TYPOGRAPHY HELPERS
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: var(--sp-3);
}
.section--dark .eyebrow { color: #e8a289; }

.h-xl { font-size: var(--step-5); }
.h-lg { font-size: var(--step-4); }
.h-md { font-size: var(--step-3); }
.h-sm { font-size: var(--step-2); }

.lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--fg-muted);
  max-width: 56ch;
}
.section--dark .lead { color: rgba(247, 244, 239, 0.8); }

.small { font-size: var(--step--1); color: var(--fg-muted); }

.section-head { max-width: 62ch; margin-bottom: var(--sp-7); }
.section-head.center { text-align: center; }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.85em 1.6em;
  min-height: 48px;               /* comfortable tap target */
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform 0.15s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: var(--paper);
}

.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.section--dark .btn--ghost { border-color: rgba(247,244,239,0.5); color: var(--paper); }
.section--dark .btn--ghost:hover { background: var(--paper); color: var(--ink); }

.btn--lg { padding: 1em 2em; font-size: var(--step-1); min-height: 56px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow::after {
  content: "→";
  transition: transform var(--dur) var(--ease);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. HEADER / NAV
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: var(--sp-3) var(--sp-4);
}
.skip-link:focus { left: var(--sp-3); top: var(--sp-3); }

.topbar {
  background: var(--ink);
  color: rgba(247, 244, 239, 0.9);
  font-size: var(--step--1);
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2) var(--sp-5);
  padding-block: var(--sp-2);
  text-align: center;
}
.topbar a { color: var(--paper); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: #e8a289; text-decoration: underline; }
.topbar__sep { color: var(--grey-500); }
@media (max-width: 639px) { .topbar__hide-sm { display: none; } }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--header-h);
}

/* Logo: image if present, typographic wordmark as the default */
.logo { display: flex; align-items: center; gap: var(--sp-3); text-decoration: none; color: var(--ink); }
.logo img { max-height: 44px; width: auto; }
.logo__mark {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
}
.logo__mark em { font-style: normal; color: var(--accent); }
.logo__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-top: 3px;
}

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: var(--sp-5); list-style: none; padding: 0; }
.nav__link {
  text-decoration: none;
  color: var(--ink);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding-block: var(--sp-2);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav__link:hover, .nav__link[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.header__cta { display: none; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px; height: 48px;
  padding: 0 12px;
  background: none;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--rule);
  background: var(--paper);
  padding-block: var(--sp-4) var(--sp-6);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; padding: 0; }
.mobile-nav > .wrap > ul > li + li { border-top: 1px solid var(--rule); }
.mobile-nav a {
  display: block;
  padding: var(--sp-3) 0;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav__group { padding-left: var(--sp-4); padding-bottom: var(--sp-3); }
.mobile-nav__group a { font-weight: 400; font-size: var(--step--1); padding: var(--sp-2) 0; color: var(--fg-muted); }
.mobile-nav .btn { width: 100%; margin-top: var(--sp-4); }

@media (min-width: 1000px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav, .mobile-nav.is-open { display: none; }
}

/* Dropdown (desktop) */
.nav__item { position: relative; }
.nav__panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 280px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-3);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__panel a {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  font-size: var(--step--1);
  font-weight: 500;
}
.nav__panel a:hover { background: var(--accent-wash); color: var(--accent-deep); }

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(26,26,24,0.72) 0%,
    rgba(26,26,24,0.55) 45%,
    rgba(26,26,24,0.88) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 2rem + 9vw, 8.5rem);
  max-width: 40rem;
}
.hero h1 { font-size: var(--step-5); color: var(--paper); }
.hero h1 em { font-style: italic; color: #e8a289; }
.hero .lead { color: rgba(247,244,239,0.85); margin-top: var(--sp-4); }
.hero .btn-row { margin-top: var(--sp-6); }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(247,244,239,0.18);
  font-size: var(--step--1);
  color: rgba(247,244,239,0.75);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 0.45em; }
.hero__meta span::before { content: "✓"; color: #e8a289; font-weight: 700; }

/* Compact hero for inner pages */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(2.5rem, 1.5rem + 4.5vw, 5rem);
}
.page-hero h1 { font-size: var(--step-4); color: var(--paper); }
.page-hero .lead { color: rgba(247,244,239,0.8); margin-top: var(--sp-4); }

.breadcrumb { font-size: var(--step--1); margin-bottom: var(--sp-4); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.5em; list-style: none; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.5em; color: var(--grey-500); }
.breadcrumb a { color: rgba(247,244,239,0.75); text-decoration: none; }
.breadcrumb a:hover { color: var(--paper); text-decoration: underline; }
.breadcrumb [aria-current] { color: rgba(247,244,239,0.6); }

/* --------------------------------------------------------------------------
   8. CARDS
   -------------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--rule-strong); }
.card__media { aspect-ratio: 4 / 3; }
.card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; gap: var(--sp-3); }
.card__body h3 { font-size: var(--step-1); }
.card__body p { color: var(--fg-muted); font-size: var(--step--1); flex: 1; }
.card__link { text-decoration: none; color: inherit; display: contents; }

/* Numbered process steps */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.5rem;
  padding-bottom: var(--sp-6);
}
.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.24rem; top: 2.6rem; bottom: 0.4rem;
  width: 1px;
  background: var(--rule-strong);
}
.steps li::after {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.steps h3 { font-size: var(--step-1); margin-bottom: var(--sp-2); }
.steps p { color: var(--fg-muted); }

/* Pillars (Quality / Speed / Service) */
.pillar { padding: var(--sp-6) 0; }
.pillar__num {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--accent);
  display: block;
  margin-bottom: var(--sp-3);
}
.pillar h3 { font-size: var(--step-2); margin-bottom: var(--sp-3); }
.pillar p { color: var(--fg-muted); }
.section--dark .pillar p { color: rgba(247,244,239,0.78); }
.section--dark .pillar { border-top: 1px solid rgba(247,244,239,0.18); }
.section--dark .pillar__num { color: #e8a289; }

/* Trust strip */
.trust {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  padding: 0;
}
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--step--1);
  font-weight: 600;
  line-height: 1.4;
}
.trust li::before {
  content: "";
  flex: none;
  width: 1.5rem; height: 1.5rem;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7f4ef' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}

/* Feature list with checks */
.checklist { list-style: none; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: var(--sp-3);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 1.1rem; height: 1.1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5502f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Callout panel */
.callout {
  background: var(--accent-wash);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--sp-5);
}
.callout h3 { font-size: var(--step-1); margin-bottom: var(--sp-2); }
.callout p { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   9. IMAGE PLACEHOLDERS
   Until real photos are uploaded, image slots render as an intentional
   textured panel rather than a broken-image icon.
   -------------------------------------------------------------------------- */
.ph {
  position: relative;
  background-color: var(--grey-100);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(131,131,122,0.09) 0 10px,
    transparent 10px 20px
  );
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--sp-4);
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-500);
}
.ph img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.ph:has(img[src]) { background: none; }

figure.frame { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
figure.frame figcaption {
  padding: var(--sp-3) 0 0;
  font-size: var(--step--1);
  color: var(--fg-muted);
}

.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-1-1 { aspect-ratio: 1 / 1; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-portrait { aspect-ratio: 3 / 4; }

/* --------------------------------------------------------------------------
   10. BEFORE / AFTER SLIDER
   -------------------------------------------------------------------------- */
.ba {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  background: var(--grey-100);
}
.ba__layer { position: absolute; inset: 0; }
.ba__layer img { width: 100%; height: 100%; object-fit: cover; }
.ba__layer--after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__tag {
  position: absolute;
  bottom: var(--sp-4);
  padding: 0.35em 0.9em;
  background: rgba(26,26,24,0.82);
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  pointer-events: none;
}
.ba__tag--before { left: var(--sp-4); }
.ba__tag--after  { right: var(--sp-4); background: rgba(181,80,47,0.92); }

.ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: var(--paper);
  transform: translateX(-1px);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(26,26,24,0.15);
}
.ba__handle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3Cpolyline points='9 6 15 12 9 18' transform='translate(6)'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: var(--shadow-md);
}
.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.ba__range:focus-visible + .ba__handle::after { outline: 3px solid var(--accent); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   11. GALLERY
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}
.filter {
  padding: 0.5em 1.1em;
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: 100px;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--fg-muted);
  transition: all var(--dur) var(--ease);
}
.filter:hover { border-color: var(--accent); color: var(--accent); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.gallery { display: grid; gap: var(--sp-4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery__item { border: 0; padding: 0; background: none; border-radius: var(--radius); overflow: hidden; }
.gallery__item[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: var(--sp-5);
  background: rgba(26,26,24,0.94);
  border: 0;
}
.lightbox::backdrop { background: rgba(26,26,24,0.94); }
.lightbox img { max-width: min(94vw, 1100px); max-height: 84vh; object-fit: contain; }
.lightbox__close {
  position: absolute;
  top: var(--sp-4); right: var(--sp-4);
  width: 48px; height: 48px;
  background: rgba(247,244,239,0.12);
  border: 1px solid rgba(247,244,239,0.3);
  border-radius: 50%;
  color: var(--paper);
  font-size: 1.4rem;
  line-height: 1;
}
.lightbox__close:hover { background: rgba(247,244,239,0.24); }

/* --------------------------------------------------------------------------
   12. FORMS
   -------------------------------------------------------------------------- */
.form-panel {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.section--dark .form-panel { box-shadow: var(--shadow-lg); }

.field { margin-bottom: var(--sp-4); }
.field label {
  display: block;
  font-size: var(--step--1);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}
.field .req { color: var(--accent); }
.field .hint { display: block; font-weight: 400; color: var(--fg-muted); margin-top: 2px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75em 0.9em;
  min-height: 48px;
  background: var(--paper);
  border: 1.5px solid var(--rule-strong);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--error); }

.field input[type="file"] { padding: 0.6em; background: var(--grey-100); cursor: pointer; }

.field-row { display: grid; gap: 0 var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field__error {
  display: none;
  margin-top: var(--sp-2);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--error);
}
.field__error.is-shown { display: block; }

/* Honeypot — hidden from humans, visible to naive bots */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-note { font-size: var(--step--1); color: var(--fg-muted); margin-top: var(--sp-4); }

.form-status { margin-top: var(--sp-4); font-weight: 600; }
.form-status[data-state="error"] { color: var(--error); }
.form-status[data-state="ok"]    { color: var(--success); }

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule); }
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details > div { padding-bottom: var(--sp-5); max-width: var(--measure); }
.faq details > div p { color: var(--fg-muted); }
.faq details > div > * + * { margin-top: var(--sp-3); }

/* --------------------------------------------------------------------------
   14. AREA / LINK LISTS
   -------------------------------------------------------------------------- */
.chip-list { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; padding: 0; }
.chip {
  display: inline-block;
  padding: 0.45em 1em;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 100px;
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  transition: all var(--dur) var(--ease);
}
.chip:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.section--dark .chip {
  background: transparent;
  border-color: rgba(247,244,239,0.3);
  color: var(--paper);
}
.section--dark .chip:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

/* --------------------------------------------------------------------------
   15. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding-block: var(--section-y);
  text-align: center;
}
.cta-band h2 { font-size: var(--step-4); color: var(--paper); }
.cta-band p  { color: rgba(247,244,239,0.8); margin: var(--sp-4) auto 0; max-width: 52ch; }
.cta-band .btn-row { margin-top: var(--sp-6); justify-content: center; }
.cta-band__phone {
  display: block;
  margin-top: var(--sp-5);
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--paper);
  text-decoration: none;
}
.cta-band__phone:hover { color: #e8a289; }

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--grey-900);
  color: rgba(247,244,239,0.72);
  padding-block: var(--sp-8) var(--sp-5);
  font-size: var(--step--1);
}
.footer__grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.footer h2, .footer h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: var(--sp-4);
}
.footer ul { list-style: none; padding: 0; }
.footer li + li { margin-top: var(--sp-2); }
.footer a { color: rgba(247,244,239,0.72); text-decoration: none; }
.footer a:hover { color: var(--paper); text-decoration: underline; }
.footer .logo { color: var(--paper); }
.footer .logo__sub { color: var(--grey-500); }
.footer address { font-style: normal; line-height: 1.8; }

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  justify-content: space-between;
  align-items: center;
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(247,244,239,0.14);
  color: var(--grey-500);
}

/* Sticky mobile call bar */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  border-top: 1px solid rgba(247,244,239,0.16);
}
.callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95em 0.5em;
  min-height: 56px;
  font-size: var(--step--1);
  font-weight: 700;
  text-decoration: none;
  color: var(--paper);
}
.callbar a + a { background: var(--accent); }
@media (min-width: 1000px) { .callbar { display: none; } }
@media (max-width: 999px) { body { padding-bottom: 56px; } }

/* --------------------------------------------------------------------------
   17. MOTION
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   18. UTILITIES
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mb-6 { margin-top: 0; margin-bottom: var(--sp-6); }
.rule { border: 0; border-top: 1px solid var(--rule); margin-block: var(--sp-7); }

/* --------------------------------------------------------------------------
   19. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .header, .topbar, .callbar, .mobile-nav, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
