/* =============================================================
   Bluegrass General Contracting — design system
   Warm white · charcoal · copper. Editorial, architectural.
   ============================================================= */

/* ---- Fonts (self-hostable later; Google Fonts for now) ---- */

:root {
  /* palette */
  --paper:      #f6f1e8;
  --paper-2:    #fbf8f2;
  --paper-3:    #efe6d7;
  --ink:        #1a1917;
  --ink-soft:   #38342d;
  --muted:      #5e5347;
  --muted-2:    #786c5d;
  --dark:       #191713;   /* dark band background */
  --dark-2:     #221f1a;
  --copper:     #ad6229;   /* brand accent — fills, borders, large text */
  --copper-ink: #925320;   /* copper for small text on light (AA) */
  --copper-br:  #c67b44;   /* copper on dark / hover */
  --line:       #e4dbcc;
  --line-2:     #d5c9b5;
  --paper-dk:   #f3eee6;   /* paper tone used on dark surfaces */
  --muted-dk:   #b9ad9a;   /* secondary text on dark */

  /* type */
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body:    "Libre Franklin", system-ui, -apple-system, sans-serif;

  /* rhythm */
  --section-y: clamp(4.25rem, 8.5vw, 8rem);
  --gutter:    clamp(1.15rem, 4vw, 2.75rem);
  --maxw:      1220px;
  --maxw-wide: 1400px;
  --maxw-text: 42rem;

  --radius:    3px;
  --radius-lg: 6px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(26,25,23,.05), 0 4px 14px -6px rgba(26,25,23,.14);
  --shadow-md: 0 6px 18px -8px rgba(26,25,23,.22), 0 24px 48px -28px rgba(26,25,23,.30);
  --shadow-lg: 0 12px 30px -12px rgba(26,25,23,.30), 0 40px 80px -40px rgba(26,25,23,.40);
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.14rem);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--copper); color: #fff; }
:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 2px;
}

/* custom scrollbar */
* { scrollbar-color: var(--line-2) transparent; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-thumb { background: var(--line-2); border: 3px solid var(--paper); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--copper); }

/* =============================================================
   Typography
   ============================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.display {
  font-size: clamp(2.55rem, 1.4rem + 5.6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.032em;
}
h2, .h2 { font-size: clamp(1.95rem, 1.2rem + 2.9vw, 3.15rem); letter-spacing: -0.028em; }
h3, .h3 { font-size: clamp(1.28rem, 1.05rem + 0.9vw, 1.6rem); line-height: 1.08; letter-spacing: -0.018em; }
h4, .h4 { font-size: 1.06rem; letter-spacing: 0.005em; }

p { text-wrap: pretty; }
.lead {
  font-size: clamp(1.14rem, 1.02rem + 0.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
}
.muted { color: var(--muted); }
strong { font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper-ink);
}
.eyebrow::before {
  content: "";
  width: 1.9rem; height: 1px;
  background: var(--copper);
  opacity: 0.7;
}
.eyebrow--plain::before { display: none; }
.eyebrow--light { color: var(--copper-br); }
.eyebrow--light::before { background: var(--copper-br); }

.measure { max-width: var(--maxw-text); }
.measure-sm { max-width: 34rem; }

/* =============================================================
   Layout
   ============================================================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--maxw-wide); }
.container--narrow { max-width: 62rem; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--paper2 { background: var(--paper-2); }
.section--paper3 { background: var(--paper-3); }
.section--dark { background: var(--dark); color: var(--paper-dk); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--paper-dk); }
.section--dark .muted { color: var(--muted-dk); }

.stack > * + * { margin-top: 1.1rem; }
.stack-lg > * + * { margin-top: 1.75rem; }

/* rule */
.rule { height: 1px; background: var(--line); border: 0; }
.section--dark .rule { background: rgba(243,238,230,.14); }

/* house-mark motif */
.mark {
  width: 1.5rem; height: 1.5rem;
  color: var(--copper);
  flex: none;
}
.mark--lg { width: 2.6rem; height: 2.6rem; }

/* =============================================================
   Buttons & links
   ============================================================= */
.btn {
  --btn-bg: var(--copper);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  padding: 0.95em 1.7em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid var(--btn-bg);
  border-radius: var(--radius);
  transition: transform .35s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.btn .arw { transition: transform .35s var(--ease); }
.btn:hover { background: #96521f; border-color: #96521f; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:hover .arw { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper-dk); transform: translateY(-2px); }

.btn--light {
  --btn-bg: var(--paper-dk);
  --btn-fg: var(--ink);
  border-color: var(--paper-dk);
}
.btn--light:hover { background: #fff; border-color:#fff; color: var(--ink); }

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--paper-dk);
  border-color: rgba(243,238,230,.35);
}
.btn--outline-light:hover { background: var(--paper-dk); color: var(--ink); border-color: var(--paper-dk); }

.btn--lg { padding: 1.1em 2em; font-size: 1rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* arrow text-link */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--copper-ink);
  padding-bottom: 0.15em;
  border-bottom: 1.5px solid var(--copper);
  width: fit-content;
  transition: gap .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.arrow-link .arw { transition: transform .3s var(--ease); }
.arrow-link:hover { color: #7f4718; }
.arrow-link:hover .arw { transform: translateX(4px); }
.section--dark .arrow-link { color: var(--copper-br); border-color: var(--copper-br); }
.section--dark .arrow-link:hover { color: #e2a578; }

.arw { width: 1.05em; height: 1.05em; flex: none; }

/* =============================================================
   Header / nav
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.3) blur(12px);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-stuck {
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -22px rgba(26,25,23,.5);
}
/* transparent-over-hero mode */
.site-header--overlay { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
.site-header--overlay:not(.is-stuck) .brand-logo { filter: brightness(0) invert(1); }
.site-header--overlay:not(.is-stuck) .nav-link { color: var(--paper-dk); }
.site-header--overlay:not(.is-stuck) .nav-link::after { background: var(--paper-dk); }
.site-header--overlay:not(.is-stuck) .nav-toggle { color: var(--paper-dk); }
.site-header--overlay:not(.is-stuck) .btn--ghost { color: var(--paper-dk); border-color: rgba(243,238,230,.4); }
.site-header--overlay:not(.is-stuck) .btn--ghost:hover { background: var(--paper-dk); color: var(--ink); border-color: var(--paper-dk); }
.site-header--overlay.is-stuck { position: fixed; }
/* soft top scrim so light nav stays legible over any hero */
.site-header--overlay:not(.is-stuck)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(18,16,13,.42), rgba(18,16,13,0));
}
body.has-overlay-header { }  /* hero pulls up under header */

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  min-height: 100px;
  padding-block: 0.6rem;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { height: 58px; width: auto; transition: filter .4s var(--ease); }
@media (min-width: 900px) { .brand-logo { height: 72px; } }

.primary-nav { display: none; }
@media (min-width: 992px) {
  .primary-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2rem); }
}
.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  color: var(--ink-soft);
  padding-block: 0.4rem;
  transition: color .25s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--copper);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-cta { display: none; }
@media (min-width: 992px) { .header-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; color: var(--ink);
}
@media (min-width: 992px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 26px; height: 26px; }

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: var(--dark); color: var(--paper-dk);
  padding: clamp(1.5rem, 6vw, 3rem) var(--gutter);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; }
.mobile-nav__logo { height: 66px; width: auto; }
.mobile-nav__close { width: 44px; height: 44px; color: var(--paper-dk); display: inline-flex; align-items: center; justify-content: center; }
.mobile-nav__close svg { width: 26px; height: 26px; }
.mobile-nav__links { display: flex; flex-direction: column; }
.mobile-nav__links a {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 8vw, 2.4rem); letter-spacing: -0.02em;
  padding: 0.55rem 0; color: var(--paper-dk);
  border-bottom: 1px solid rgba(243,238,230,.12);
  display: flex; align-items: baseline; gap: 0.8rem;
  transition: color .25s var(--ease), transform .3s var(--ease);
}
.mobile-nav__links a .idx { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; color: var(--copper-br); letter-spacing: 0.1em; }
.mobile-nav__links a:hover, .mobile-nav__links a[aria-current="page"] { color: var(--copper-br); transform: translateX(0.5rem); }
.mobile-nav__foot { margin-top: auto; padding-top: 2.5rem; }
.mobile-nav__foot .btn { width: 100%; justify-content: center; }
.mobile-nav__contact { margin-top: 1.5rem; color: var(--muted-dk); font-size: 0.95rem; }
.mobile-nav__contact a { color: var(--paper-dk); font-weight: 600; }
body.nav-open { overflow: hidden; }

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex; align-items: flex-end;
  color: var(--paper-dk);
  overflow: hidden;
  isolation: isolate;
}
.hero--tall { min-height: min(96vh, 900px); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero--zoom .hero__media img { animation: heroZoom 18s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,18,15,.42) 0%, rgba(20,18,15,.08) 30%, rgba(20,18,15,.55) 74%, rgba(20,18,15,.82) 100%),
    linear-gradient(80deg, rgba(20,18,15,.68) 0%, rgba(20,18,15,.28) 42%, rgba(20,18,15,0) 72%);
}
.hero__inner { padding-block: clamp(3rem, 8vh, 6.5rem) clamp(3rem, 7vh, 5.5rem); width: 100%; }
.hero__title, .page-hero__title { color: var(--paper-dk); }
.hero__title { font-size: clamp(2.7rem, 1.2rem + 6.6vw, 5.6rem); line-height: 0.96; letter-spacing: -0.035em; max-width: 15ch; text-shadow: 0 2px 24px rgba(15,13,10,.35); }
.hero__positioning {
  display: inline-flex; flex-wrap: wrap; gap: 0.4em 0.9em; align-items: center;
  margin-top: 1.6rem;
  font-family: var(--font-body); font-weight: 600;
  font-size: clamp(0.8rem, 0.72rem + 0.4vw, 1rem);
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--paper-dk);
}
.hero__positioning .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--copper-br); }
.hero__lead { margin-top: 1.4rem; max-width: 40ch; color: rgba(243,238,230,.92); font-size: clamp(1.05rem,1rem + 0.4vw,1.25rem); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero__eyebrow { color: var(--paper-dk); opacity: .95; margin-bottom: 1.3rem; }
.hero__eyebrow::before { background: var(--copper-br); opacity: 1; }

/* compact page hero (interior pages) */
.page-hero {
  position: relative; color: var(--paper-dk); overflow: hidden; isolation: isolate;
  padding-block: clamp(7rem, 12vh, 11rem) clamp(3rem, 6vh, 5rem);
  display: flex; align-items: flex-end;
  min-height: clamp(360px, 56vh, 560px);
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,18,15,.5) 0%, rgba(20,18,15,.25) 45%, rgba(20,18,15,.72) 100%); }
.page-hero__title { font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4rem); letter-spacing: -0.03em; max-width: 18ch; }
.page-hero__lead { margin-top: 1.2rem; max-width: 46ch; color: rgba(243,238,230,.92); font-size: clamp(1.05rem,1rem + 0.4vw,1.2rem); }
/* dark solid variant when no photo */
.page-hero--solid { background: var(--dark); min-height: auto; }
.page-hero--solid::after { content:""; position:absolute; inset:0; z-index:-1;
  background: radial-gradient(120% 100% at 85% 0%, rgba(173,98,41,.16), transparent 60%); }

.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.82rem; letter-spacing: 0.02em; color: rgba(243,238,230,.8); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }

/* =============================================================
   Split / editorial two-column
   ============================================================= */
.split {
  display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; align-items: center; }
  .split--40-60 { grid-template-columns: 5fr 7fr; }
  .split--60-40 { grid-template-columns: 7fr 5fr; }
  .split--ruled > * + * { position: relative; }
}
.split__title { margin-top: 0.4rem; }

/* section heading block */
.head-block { display: flex; flex-direction: column; gap: 1rem; max-width: 40rem; }
.head-block .eyebrow { margin-bottom: 0.2rem; }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 2rem; }
.head-row__note { color: var(--muted); font-size: 0.98rem; max-width: 22rem; }

/* =============================================================
   Services (editorial rows, not card grid)
   ============================================================= */
.svc-list { display: grid; gap: 0; margin-top: clamp(2rem,4vw,3.5rem); border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 1fr; gap: 0.5rem 2.5rem;
  padding-block: clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: background-color .3s var(--ease);
}
@media (min-width: 780px) {
  .svc-row { grid-template-columns: 0.6fr 2.2fr 1fr; gap: 2.5rem; align-items: baseline; }
}
.svc-row__idx { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--copper-ink); letter-spacing: 0.02em; padding-top: 0.35rem; }
.svc-row__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.35rem,1.1rem + 1vw,1.9rem); letter-spacing: -0.02em; line-height: 1.05; }
.svc-row__title span { display:block; font-family: var(--font-body); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper-ink); margin-top: 0.6rem; }
.svc-row__body { color: var(--muted); font-size: 1rem; line-height: 1.6; }
.svc-row:hover { background: color-mix(in srgb, var(--copper) 5%, transparent); }

/* feature blocks (services detail) */
.feature {
  display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 880px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature--reverse .feature__media { order: 2; }
}
.feature__media { position: relative; }
.feature__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.feature__media--tall img { aspect-ratio: 3/4; }
.feature__tag { position: absolute; left: 1rem; bottom: 1rem; background: color-mix(in srgb, var(--dark) 78%, transparent); backdrop-filter: blur(4px); color: var(--paper-dk); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.5em 0.9em; border-radius: 2px; }

.checklist { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.checklist li { display: flex; gap: 0.8rem; align-items: flex-start; line-height: 1.5; }
.checklist li .tick { flex: none; width: 1.35rem; height: 1.35rem; color: var(--copper); margin-top: 0.15rem; }
.section--dark .checklist li .tick { color: var(--copper-br); }

/* offering chips (secondary services) */
.offer-strip { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.offer-chip { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.55em 1em; border: 1px solid var(--line-2); border-radius: 100px; font-size: 0.88rem; color: var(--ink-soft); background: var(--paper-2); }
.offer-chip .mark { width: 0.95rem; height: 0.95rem; }
.section--dark .offer-chip { border-color: rgba(243,238,230,.18); background: rgba(243,238,230,.04); color: var(--paper-dk); }

/* =============================================================
   Gallery / project grid
   ============================================================= */
.gal-controls { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.gal-filter {
  padding: 0.55em 1.1em; border: 1px solid var(--line-2); border-radius: 100px;
  font-size: 0.88rem; font-weight: 500; color: var(--ink-soft); background: transparent;
  transition: all .25s var(--ease);
}
.gal-filter:hover { border-color: var(--copper); color: var(--copper-ink); }
.gal-filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper-dk); }

.gal-grid {
  columns: 1; column-gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
}
@media (min-width: 620px) { .gal-grid { columns: 2; } }
@media (min-width: 1040px) { .gal-grid { columns: 3; } }
.gal-item { break-inside: avoid; margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.gal-figure { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-3); box-shadow: var(--shadow-sm); }
.gal-figure img { width: 100%; display: block; transition: transform .7s var(--ease); }
.gal-figure:hover img { transform: scale(1.045); }
.gal-figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1.1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(20,18,15,.82));
  color: var(--paper-dk);
  transform: translateY(8px); opacity: 0; transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.gal-figure:hover figcaption, .gal-figure:focus-within figcaption { transform: translateY(0); opacity: 1; }
.gal-figure__type { display: block; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper-br); margin-bottom: 0.25rem; }
.gal-figure__title { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; line-height: 1.15; }
@media (hover: none) {
  .gal-figure figcaption { position: static; opacity: 1; transform: none; background: none; color: var(--ink); padding: 0.85rem 0.15rem 0.25rem; }
  .gal-figure__type { color: var(--copper-ink); }
}
.gal-item.is-hidden { display: none; }

/* =============================================================
   Stat / proof row
   ============================================================= */
.pillars { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem,3vw,2.5rem); margin-top: clamp(2rem,4vw,3rem); }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { display: flex; flex-direction: column; gap: 0.7rem; padding-top: 1.4rem; border-top: 2px solid var(--copper); }
.pillar h3 { font-size: 1.2rem; }
.pillar p { color: var(--muted); font-size: 0.98rem; }
.section--dark .pillar p { color: var(--muted-dk); }

/* =============================================================
   Commercial dark band
   ============================================================= */
.band-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.band-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.4; }

/* =============================================================
   Placeholder frames (client to supply real photos)
   ============================================================= */
.ph-frame {
  position: relative; border-radius: var(--radius-lg);
  border: 1.5px dashed var(--line-2);
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--copper) 6%, transparent), transparent 62%),
    var(--paper-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 0.7rem; padding: 2rem 1.5rem; color: var(--muted); min-height: 220px;
  aspect-ratio: 4/3;
}
.ph-frame .mark { color: var(--copper); opacity: .8; }
.ph-frame__label { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink-soft); letter-spacing: -0.01em; }
.ph-frame__hint { font-size: 0.82rem; color: var(--muted-2); max-width: 24ch; letter-spacing: 0.02em; }
.ph-frame__tag { position: absolute; top: 0.8rem; left: 0.8rem; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper-ink); background: color-mix(in srgb, var(--copper) 12%, var(--paper-2)); padding: 0.35em 0.7em; border-radius: 100px; }
.ph-frame--tall { aspect-ratio: 3/4; }
.ph-frame--wide { aspect-ratio: 16/9; }

/* =============================================================
   CTA band
   ============================================================= */
.cta {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.6rem;
}
.cta__title { font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); letter-spacing: -0.03em; max-width: 18ch; }
.cta__rule { display: flex; align-items: center; gap: 1.2rem; width: min(100%, 30rem); color: var(--copper); }
.cta__rule::before, .cta__rule::after { content:""; height:1px; flex:1; background: currentColor; opacity:.4; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* On phones, stack action-group buttons full-width so they match in size */
@media (max-width: 560px) {
  .hero__actions, .cta__actions, .page-hero .hero__actions { flex-direction: column; align-items: stretch; flex-wrap: nowrap; }
  .hero__actions .btn, .cta__actions .btn, .page-hero .hero__actions .btn { width: 100%; justify-content: center; }
}

/* =============================================================
   Forms
   ============================================================= */
.form-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-sm);
}
.form-card__head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.75rem; }
.form-card__head .mark { margin-top: 0.15rem; }
.form-card__title { font-size: 1.4rem; }
.form-card__sub { color: var(--muted); font-size: 0.96rem; margin-top: 0.35rem; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.field label .req { color: var(--copper-ink); }
.field .control {
  width: 100%; padding: 0.8em 0.9em;
  background: var(--paper);
  border: 1.5px solid var(--line-2); border-radius: var(--radius);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.field .control::placeholder { color: var(--muted-2); }
.field textarea.control { min-height: 130px; resize: vertical; line-height: 1.5; }
.field select.control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235e5347' stroke-width='2.2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85em center; padding-right: 2.4em; }
.field .control:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px color-mix(in srgb, var(--copper) 18%, transparent); background: #fff; }
.field .error-msg { font-size: 0.8rem; color: #a2311d; display: none; align-items: center; gap: 0.35em; }
.field.is-invalid .control { border-color: #bd4a34; background: #fdf3f0; }
.field.is-invalid .error-msg { display: flex; }
.form-actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-note { font-size: 0.85rem; color: var(--muted-2); line-height: 1.5; }
.form-status { margin-top: 1.2rem; padding: 1rem 1.15rem; border-radius: var(--radius); font-size: 0.95rem; display: none; align-items: flex-start; gap: 0.6rem; }
.form-status.is-success { display: flex; background: color-mix(in srgb, var(--copper) 10%, var(--paper-2)); border: 1px solid color-mix(in srgb, var(--copper) 35%, transparent); color: var(--ink-soft); }
.form-status .mark { flex: none; margin-top: 0.1rem; }

.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.consent input { margin-top: 0.25rem; accent-color: var(--copper); width: 1.05rem; height: 1.05rem; flex: none; }

/* contact meta */
.contact-meta { display: grid; gap: 1.75rem; }
.contact-meta__item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-meta__item .ic { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--copper) 12%, var(--paper-2)); color: var(--copper-ink); }
.contact-meta__item .ic svg { width: 1.25rem; height: 1.25rem; }
.contact-meta__k { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 0.2rem; }
.contact-meta__v { font-weight: 600; font-size: 1.05rem; }
.contact-meta__v a:hover { color: var(--copper-ink); }
.contact-meta__v .todo { font-weight: 500; }

/* placeholder inline token for missing business info */
.todo {
  display: inline-flex; align-items: center;
  font-size: 0.94em; color: var(--copper-ink);
  background: color-mix(in srgb, var(--copper) 12%, transparent);
  border-bottom: 1px dashed var(--copper);
  padding: 0.05em 0.35em; border-radius: 2px;
  font-style: normal;
}
.section--dark .todo { color: var(--copper-br); border-color: var(--copper-br); background: rgba(198,123,68,.12); }

/* =============================================================
   Trust bar
   ============================================================= */
.trust-bar { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; justify-content: center; }
.trust-bar__item { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); }
.trust-bar__item .mark, .trust-bar__item svg { width: 1.3rem; height: 1.3rem; color: var(--copper); flex: none; }
.section--dark .trust-bar__item { color: var(--paper-dk); }
.section--dark .trust-bar__item svg { color: var(--copper-br); }

/* reviews placeholder */
.review-slot { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; background: var(--paper-2); display: flex; flex-direction: column; gap: 1rem; }
.review-slot__stars { display: flex; gap: 0.2rem; color: var(--line-2); }
.review-slot__stars svg { width: 1.1rem; height: 1.1rem; }
.review-slot__q { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; line-height: 1.3; color: var(--muted-2); font-style: italic; }

/* =============================================================
   Footer
   ============================================================= */
.site-footer { background: var(--dark); color: var(--paper-dk); padding-top: clamp(3.5rem, 7vw, 6rem); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
@media (min-width: 1040px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand__logo { height: 82px; width: auto; margin-bottom: 1.3rem; }
.footer-brand p { color: var(--muted-dk); max-width: 30ch; font-size: 0.96rem; }
.footer-pos { display: inline-flex; flex-wrap: wrap; gap: 0.4em 0.7em; align-items: center; margin-top: 1.3rem; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper-br); font-weight: 600; }
.footer-pos .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--copper-br); }
.footer-col h3 { font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dk); margin-bottom: 1.1rem; font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { color: var(--paper-dk); font-size: 0.98rem; opacity: 0.9; transition: color .2s, opacity .2s; }
.footer-col a:hover { color: var(--copper-br); opacity: 1; }
.footer-contact { font-size: 0.98rem; line-height: 1.7; color: var(--muted-dk); }
.footer-contact a { color: var(--paper-dk); font-weight: 600; }
.footer-contact a:hover { color: var(--copper-br); }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a { width: 40px; height: 40px; border: 1px solid rgba(243,238,230,.2); border-radius: 50%; display: grid; place-items: center; transition: all .25s var(--ease); }
.footer-social a:hover { background: var(--copper); border-color: var(--copper); transform: translateY(-2px); }
.footer-social svg { width: 1.15rem; height: 1.15rem; }
.footer-bottom { border-top: 1px solid rgba(243,238,230,.12); padding-block: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; align-items: center; justify-content: space-between; }
.footer-bottom p, .footer-bottom a { font-size: 0.82rem; color: var(--muted-dk); }
.footer-bottom a:hover { color: var(--copper-br); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; }

/* =============================================================
   Motion — one authored reveal
   ============================================================= */
[data-reveal] { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .hero--zoom .hero__media img { animation: none; }
}

/* utilities */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.flow-sm > * + * { margin-top: 0.6rem; }
.grid-2 { display: grid; gap: clamp(1.5rem,3vw,2.5rem); }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 300; background: var(--ink); color: var(--paper-dk); padding: 0.6rem 1rem; border-radius: var(--radius); transition: top .2s; }
.skip-link:focus { top: 1rem; }
