/* ============================================================
   Scott Francis Construction — Website UI kit styles
   (pairs with ../../colors_and_type.css)
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
/* clip horizontal overflow on body (NOT html — overflow-x on html breaks position:sticky) */
body { overflow-x: clip; }
body { margin: 0; font-family: var(--font-body); color: var(--fg-1); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* Thin, modern scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--grey-300); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--grey-400); }
* { scrollbar-width: thin; scrollbar-color: var(--grey-300) transparent; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(64px, 4.5vw + 40px, 120px) 0; }
.section--tint { background: var(--surface-tint); }
.section--grey { background: var(--grey-50); }
.section--dark { background: var(--surface-dark); color: var(--fg-on-dark); }
.r-sm { border-radius: var(--r-sm); } .r-md { border-radius: var(--r-md); }
.r-lg { border-radius: var(--r-lg); } .r-xl { border-radius: var(--r-xl); }

/* ---------- buttons ---------- */
.sfc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-ui); font-weight: 600; letter-spacing: .005em; cursor: pointer;
  border: 1.5px solid transparent; border-radius: var(--r-md); transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap; }
.sfc-btn--md { font-size: 15px; padding: 13px 24px; }
.sfc-btn--lg { font-size: 16.5px; padding: 16px 30px; }
.sfc-btn--sm { font-size: 13.5px; padding: 9px 17px; }
.sfc-btn--full { width: 100%; }
.sfc-btn--primary { background: var(--accent-500); color: #fff; box-shadow: var(--shadow-accent); }
.sfc-btn--primary:hover { background: var(--accent-600); transform: translateY(-1px); }
.sfc-btn--primary:active { background: var(--accent-700); transform: translateY(0); }
.sfc-btn--secondary { background: var(--paper); color: var(--ink-700); border-color: var(--line-3); }
.sfc-btn--secondary:hover { border-color: var(--accent-400); color: var(--accent-600); transform: translateY(-1px); }
.sfc-btn--ghost { background: transparent; color: var(--accent-600); padding-left: 6px; padding-right: 6px; }
.sfc-btn--ghost:hover { color: var(--accent-700); gap: 12px; }
.sfc-btn--light { background: #fff; color: var(--ink-800); }
.sfc-btn--light:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.sfc-btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.sfc-btn--outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

/* ---------- eyebrow / headings ---------- */
.sfc-eyebrow { font-family: var(--font-ui); font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--accent-500);
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.sfc-eyebrow.is-dark { color: var(--taupe-400); }
.sfc-eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; opacity: .55; }
.sfc-eyebrow.is-center { justify-content: center; }
/* Hero eyebrow sits on a photo — give it a readable pill so the brown text pops */
.sfc-hero .sfc-eyebrow { color: #fff; background: rgba(20, 16, 12, 0.42);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); }
.sfc-hero .sfc-eyebrow::before { background: var(--taupe-400); opacity: 1; }
.sfc-sechead { max-width: 640px; }
.sfc-sechead.is-center { margin: 0 auto; text-align: center; }
.sfc-sechead__title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h2);
  line-height: var(--lh-snug); letter-spacing: var(--tracking-h); margin: 16px 0 0; color: var(--fg-1); text-wrap: balance; }
.sfc-sechead__intro { font-size: var(--fs-lead); line-height: 1.55; color: var(--fg-2); margin: 16px 0 0; text-wrap: pretty; }

/* ---------- photo placeholder ---------- */
.sfc-photo { position: relative; overflow: hidden; width: 100%; background: var(--grey-200);
  border-radius: var(--r-md); }
.sfc-photo__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 9px; color: rgba(45,57,66,.42); }
.sfc-photo__ph span { font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; }

/* ---------- stats / stars / chips ---------- */
.sfc-stat__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 1.4rem + 1.6vw, 3.1rem);
  color: var(--accent-600); line-height: 1; letter-spacing: -.01em; }
.section--dark .sfc-stat__num { color: var(--taupe-400); }
.sfc-stat__cap { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin-top: 9px; font-weight: 600; }
.sfc-trustchip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-ui);
  font-size: 13px; font-weight: 600; color: var(--fg-2); }
.section--dark .sfc-trustchip { color: var(--fg-on-dark-2); }

/* ---------- logo lockup ---------- */
.sfc-logo { display: inline-flex; align-items: center; gap: 12px; }
.sfc-logo__badge { border-radius: 4px; }
.sfc-logo__full { display: block; width: auto; }
/* light panel behind the dark logo on dark backgrounds (hero bar + footer) */
.sfc-logo--panel { background: #fff; padding: 7px 14px; border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.sfc-logo__txt { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-ui); }
.sfc-logo__txt strong { font-weight: 700; font-size: 17px; letter-spacing: .01em; color: var(--ink-800); white-space: nowrap; }
.sfc-logo__txt em { font-style: normal; font-weight: 600; font-size: 10.5px; letter-spacing: .34em;
  text-transform: uppercase; color: var(--accent-500); margin-top: 3px; }

/* ---------- header / nav ---------- */
.sfc-head { position: sticky; top: 0; z-index: 50; transition: all var(--dur) var(--ease-out); }
.sfc-head__inner { display: flex; align-items: center; gap: 22px; height: 78px; }
.sfc-head--solid { background: rgba(250,250,248,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-1); box-shadow: var(--shadow-xs); }
.sfc-head--ontop { background: transparent; }
.sfc-head--ontop .sfc-logo__txt strong { color: #fff; }
.sfc-head--ontop .sfc-nav a { color: rgba(255,255,255,.86); }
.sfc-head--ontop .sfc-nav a:hover, .sfc-head--ontop .sfc-nav a.is-active { color: #fff; }
.sfc-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 auto; flex: 0 1 auto; min-width: 0; }
@media (max-width: 1140px) { .sfc-head .sfc-head__phone { display: none; } .sfc-nav { gap: 14px; } }
@media (max-width: 1024px) { .sfc-nav { display: none; } .sfc-head .sfc-burger { display: inline-flex; } }
.sfc-nav a { font-family: var(--font-ui); font-size: 14.5px; font-weight: 600; color: var(--grey-700);
  text-decoration: none; position: relative; padding: 6px 0; letter-spacing: .005em; cursor: pointer; }
.sfc-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent-500); transition: width var(--dur) var(--ease-out); }
.sfc-nav a:hover, .sfc-nav a.is-active { color: var(--accent-600); }
.sfc-nav a.is-active::after { width: 100%; }
.sfc-head__cta { display: flex; align-items: center; gap: 16px; flex: none; }
.sfc-head__brand { flex: none; }
.sfc-head__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-ui);
  font-weight: 700; font-size: 14.5px; color: inherit; text-decoration: none; white-space: nowrap; }
.sfc-head--ontop .sfc-head__phone { color: #fff; }
.sfc-burger { display: none; background: none; border: none; cursor: pointer; color: inherit; padding: 6px; }

/* ---------- hero ---------- */
.sfc-hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; overflow: hidden;
  background: var(--ink-700); margin-top: -78px; padding-top: 78px; }
.sfc-hero__bg { position: absolute; inset: 0; }
.sfc-hero__bg .sfc-photo { height: 100%; border-radius: 0; }
.sfc-hero__scrim { position: absolute; inset: 0;
  background: linear-gradient(178deg, rgba(28,28,27,.48) 0%, rgba(28,28,27,.20) 40%, rgba(28,28,27,.84) 100%); }
.sfc-hero__inner { position: relative; padding-bottom: clamp(48px, 5vw, 96px); padding-top: 90px; }
.sfc-hero__title { font-family: var(--font-display); font-weight: 600; color: #fff;
  font-size: var(--fs-display); line-height: 1.18; letter-spacing: -.01em; max-width: 17ch; text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0,0,0,.28); }
.sfc-hero__sub { color: rgba(255,255,255,.9); font-size: var(--fs-lead); max-width: 52ch; margin: 30px 0 34px;
  line-height: 1.55; }
.sfc-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.sfc-hero__trust { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.16); }
.sfc-hero__trust .sfc-trustchip { color: rgba(255,255,255,.86); }

/* ---------- hero backdrops (Tweak: Hero → Backdrop) ---------- */
.herobg { position: absolute; inset: 0; overflow: hidden; }
/* default + Soft glow: premium charcoal with taupe glow, no lines */
.herobg,
body[data-herobg="glow"] .herobg {
  background:
    radial-gradient(120% 95% at 80% 6%, rgba(196,186,177,.20), transparent 55%),
    radial-gradient(100% 85% at 3% 104%, rgba(124,113,96,.24), transparent 52%),
    linear-gradient(158deg, #313130 0%, #242423 58%, #1b1b1a 100%);
}
/* Blueprint: fine drafting grid + heavier major grid */
body[data-herobg="blueprint"] .herobg {
  background:
    linear-gradient(rgba(196,186,177,.07) 1px, transparent 1px) 0 0 / 100% 38px,
    linear-gradient(90deg, rgba(196,186,177,.07) 1px, transparent 1px) 0 0 / 38px 100%,
    linear-gradient(rgba(196,186,177,.13) 1px, transparent 1px) 0 0 / 100% 190px,
    linear-gradient(90deg, rgba(196,186,177,.13) 1px, transparent 1px) 0 0 / 190px 100%,
    radial-gradient(120% 100% at 78% 0%, rgba(124,113,96,.16), transparent 60%),
    linear-gradient(158deg, #2b2b2a, #1c1c1b);
}
/* Contours: topographic survey rings */
body[data-herobg="contours"] .herobg {
  background:
    repeating-radial-gradient(ellipse 130% 92% at 72% 20%, rgba(196,186,177,.11) 0 1.5px, transparent 1.5px 54px),
    radial-gradient(120% 100% at 72% 20%, rgba(124,113,96,.20), transparent 60%),
    linear-gradient(158deg, #2c2c2a, #1c1c1b);
}
/* Monogram: faint SC watermark over a soft glow */
body[data-herobg="monogram"] .herobg {
  background:
    radial-gradient(115% 95% at 82% 8%, rgba(196,186,177,.16), transparent 55%),
    linear-gradient(158deg, #2f2f2d 0%, #1d1d1c 100%);
}
body[data-herobg="monogram"] .herobg::after {
  content: ""; position: absolute; top: 50%; right: -3%; transform: translateY(-50%);
  width: 60%; aspect-ratio: 236 / 128;
  background: url(assets/logo-mark.png) center / contain no-repeat;
  opacity: .085; filter: grayscale(1) brightness(1.8);
}
/* Photo mode fallback area (PageHero) */
body[data-herobg="photo"] .herobg {
  background: linear-gradient(135deg, #3a3a38, #262625);
}

/* ---------- generic grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-strip { display: flex; gap: clamp(28px, 5vw, 72px); flex-wrap: wrap; }

/* ---------- service cards ---------- */
.svc-card { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 30px 28px 28px; box-shadow: var(--shadow-sm); transition: all var(--dur) var(--ease-out); }
.svc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--accent-200); }
.svc-card__ico { width: 56px; height: 56px; border-radius: var(--r-md); background: var(--accent-50);
  color: var(--accent-600); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.svc-card:hover .svc-card__ico { background: var(--accent-500); color: #fff; }
.svc-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 23px; margin: 0 0 6px; letter-spacing: -.005em; }
.svc-card__tag { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-500); margin-bottom: 14px; }
.svc-card p { font-size: 15px; line-height: 1.6; color: var(--fg-2); margin: 0 0 18px; }
.svc-card__link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px;
  color: var(--accent-600); cursor: pointer; }
.svc-card:hover .svc-card__link { gap: 11px; }

/* ---------- project gallery ---------- */
.proj-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.proj-filter { font-family: var(--font-ui); font-size: 13.5px; font-weight: 600; padding: 9px 18px;
  border-radius: var(--r-pill); border: 1.5px solid var(--line-3); color: var(--fg-2); background: transparent;
  cursor: pointer; transition: all var(--dur-fast) var(--ease-out); }
.proj-filter:hover { border-color: var(--accent-400); color: var(--accent-600); }
.proj-filter.is-active { background: var(--ink-700); border-color: var(--ink-700); color: #fff; }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proj-card { border-radius: var(--r-lg); overflow: hidden; cursor: pointer; position: relative;
  background: var(--paper); box-shadow: var(--shadow-sm); transition: all var(--dur) var(--ease-out); }
.proj-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.proj-card .sfc-photo { border-radius: 0; transition: transform var(--dur-slow) var(--ease-out); }
.proj-card:hover .sfc-photo { transform: scale(1.05); }
.proj-card__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; background: linear-gradient(180deg, transparent 40%, rgba(27,35,41,.82)); opacity: 0;
  transition: opacity var(--dur) var(--ease-out); }
.proj-card:hover .proj-card__overlay { opacity: 1; }
.proj-card__cap { position: relative; padding: 16px 18px 18px; }
.proj-card__cap .tag { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-500); }
.proj-card__cap h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin: 7px 0 3px; letter-spacing: -.005em; }
.proj-card__cap .meta { font-size: 13px; color: var(--fg-3); }
.proj-card__view { color: #fff; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }

/* ---------- testimonials ---------- */
.tcard { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 30px 30px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; height: 100%; }
.tcard__quote { font-family: var(--font-serif); font-style: italic; font-size: 19px; line-height: 1.55;
  color: var(--ink-800); margin: 16px 0 22px; flex: 1; }
.tcard__who { display: flex; align-items: center; gap: 13px; }
.tcard__av { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-500); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex: none; }
.tcard__nm { font-weight: 700; font-size: 15px; }
.tcard__rl { font-size: 12.5px; color: var(--fg-3); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink-700); color: #fff; border-radius: var(--r-xl);
  padding: clamp(40px, 5vw, 68px); display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band__glow { position: absolute; right: -5%; top: -30%; width: 50%; height: 160%; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,186,177,.12), transparent 60%); }
.cta-band h2 { position: relative; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem,1.3rem+1.8vw,2.8rem);
  letter-spacing: -.01em; margin: 0; max-width: 18ch; text-wrap: balance; }
.cta-band p { position: relative; color: var(--fg-on-dark-2); margin: 14px 0 0; font-size: 16px; max-width: 44ch; }

/* ---------- about ---------- */
.about-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about-bullets { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; }
.about-bullet { display: flex; gap: 14px; align-items: flex-start; }
.about-bullet__ico { width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--accent-50);
  color: var(--accent-600); display: flex; align-items: center; justify-content: center; flex: none; }
.about-bullet h4 { margin: 0 0 3px; font-size: 17px; font-weight: 600; font-family: var(--font-display); letter-spacing: -.005em; }
.about-bullet p { margin: 0; font-size: 14.5px; color: var(--fg-2); line-height: 1.55; }

/* ---------- process steps ---------- */
.proc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.proc-step__n { font-family: var(--font-display); font-weight: 700; font-size: 15px; width: 40px; height: 40px;
  border-radius: 50%; border: 1.5px solid var(--accent-300, var(--accent-400)); color: var(--accent-600);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.proc-step h4 { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin: 0 0 7px; letter-spacing: -.005em; }
.proc-step p { font-size: 14.5px; color: var(--fg-2); line-height: 1.55; margin: 0; }

/* ---------- footer ---------- */
.sfc-foot { background: var(--grey-100); color: var(--fg-2); padding: 64px 0 28px; border-top: 2px solid var(--line-2); }
.sfc-foot__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px;
  border-bottom: 1px solid var(--line-1); }
.sfc-foot h5 { font-family: var(--font-ui); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg-3); margin: 0 0 18px; font-weight: 700; }
.sfc-foot a, .sfc-foot li { color: var(--fg-2); text-decoration: none; font-size: 14.5px; line-height: 2; cursor: pointer; }
.sfc-foot a:hover { color: var(--accent-600); }
.sfc-foot ul { list-style: none; margin: 0; padding: 0; }
.sfc-foot__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 24px; flex-wrap: wrap; font-size: 13px; color: var(--fg-3); }
.sfc-foot__lic { font-size: 13px; line-height: 1.7; color: var(--fg-2); }
.sfc-foot__social { display: flex; gap: 12px; }
.sfc-foot__social a { width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center; color: var(--fg-2); }
.sfc-foot__social a:hover { background: var(--accent-500); border-color: var(--accent-500); color: #fff; }
/* footer is light now — give the outline button a visible border + dark text */
.sfc-foot .sfc-btn--outline { border-color: var(--line-2); color: var(--ink-800); }
.sfc-foot .sfc-btn--outline:hover { border-color: var(--accent-500); color: var(--accent-600); background: var(--accent-50); }

/* ---------- Featured Projects Carousel ---------- */
.feat-car { position: relative; height: clamp(420px, 55vw, 680px); overflow: hidden; background: var(--ink-900); }
.feat-car__track { position: absolute; inset: 0; }
.feat-car__slide { position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity .8s var(--ease-out); }
.feat-car__slide.is-active { opacity: 1; }
.feat-car__scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(20,20,18,.82) 0%, rgba(20,20,18,.22) 50%, rgba(20,20,18,.1) 100%); }
.feat-car__content { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%;
  z-index: 2; padding: clamp(24px,4vw,56px) 28px; }
.feat-car__label { margin-bottom: 10px; }
.feat-car__title { font-family: var(--font-display); font-weight: 600; color: #fff;
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 3rem); line-height: 1.15; letter-spacing: -.01em;
  text-shadow: 0 2px 20px rgba(0,0,0,.35); margin: 0 0 10px; max-width: 22ch; text-wrap: balance; }
.feat-car__meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.feat-car__tag { font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--taupe-400); }
.feat-car__loc { font-family: var(--font-ui); font-size: 13px; color: rgba(255,255,255,.65);
  display: inline-flex; align-items: center; gap: 5px; }
.feat-car__arr { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.15); color: #fff; display: flex; align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background var(--dur-fast) var(--ease-out); }
.feat-car__arr:hover { background: rgba(255,255,255,.28); }
.feat-car__arr--prev { left: clamp(12px, 2vw, 28px); }
.feat-car__arr--next { right: clamp(12px, 2vw, 28px); }
.feat-car__dots { position: absolute; bottom: 20px; right: clamp(16px, 3vw, 40px);
  z-index: 3; display: flex; gap: 7px; align-items: center; }
.feat-car__dot { width: 7px; height: 7px; border-radius: 50%; border: none; cursor: pointer; padding: 0;
  background: rgba(255,255,255,.38); transition: all .25s; }
.feat-car__dot.is-active { background: #fff; transform: scale(1.3); }
.feat-car__progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: rgba(255,255,255,.12); z-index: 3; }
.feat-car__progress-fill { height: 100%; background: var(--taupe-400);
  width: 0; animation: feat-fill linear forwards; }
@keyframes feat-fill { from { width: 0; } to { width: 100%; } }

/* ---------- Before / After slider ---------- */
.ba { position: relative; overflow: hidden; width: 100%; cursor: ew-resize; background: var(--grey-200);
  user-select: none; touch-action: pan-y; }
.ba__lbl { position: absolute; bottom: 12px; z-index: 4; font-family: var(--font-ui); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #fff; padding: 5px 11px; border-radius: var(--r-pill);
  background: rgba(20,20,18,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: opacity .2s; pointer-events: none; }
.ba__lbl--before { left: 12px; }
.ba__lbl--after { right: 12px; }
.ba__handle { position: absolute; top: 0; bottom: 0; width: 3px; background: #fff; z-index: 5;
  transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,.1), 0 0 12px rgba(0,0,0,.3); pointer-events: none; }
.ba__hint { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 4;
  font-family: var(--font-ui); font-size: 11px; font-weight: 600; color: #fff; white-space: nowrap;
  padding: 5px 12px; border-radius: var(--r-pill); background: rgba(20,20,18,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  pointer-events: none; opacity: 0; transition: opacity .2s; }
.ba:hover .ba__hint { opacity: 1; }
.ba__grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ink-700);
  display: flex; align-items: center; justify-content: center; gap: -2px;
  box-shadow: 0 2px 10px rgba(0,0,0,.28); }

/* ---------- Animated Instagram glow badge ---------- */
.ig-badge { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px;
  border-radius: 20px; color: #fff; position: relative; z-index: 1;
  background: radial-gradient(circle at 30% 110%, #feda75 5%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
  animation: ig-pulse 3s ease-in-out infinite; transition: transform var(--dur-fast) var(--ease-out); }
.ig-badge:hover { transform: scale(1.06) rotate(-2deg); }
@keyframes ig-pulse {
  0%, 100% { box-shadow: 0 0 14px 2px rgba(214,41,118,.55), 0 0 34px 8px rgba(150,47,191,.35), 0 0 60px 14px rgba(79,91,213,.22); }
  50% { box-shadow: 0 0 24px 6px rgba(214,41,118,.8), 0 0 54px 16px rgba(150,47,191,.55), 0 0 90px 26px rgba(79,91,213,.35); }
}
@media (prefers-reduced-motion: reduce) { .ig-badge { animation: none; } }

/* footer Instagram icon — soft animated glow */
.sfc-foot__social a[aria-label="Instagram"] { animation: ig-glow-soft 3s ease-in-out infinite; }
.sfc-foot__social a[aria-label="Instagram"]:hover {
  background: radial-gradient(circle at 30% 110%, #feda75, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5);
  border-color: transparent; color: #fff; }
@keyframes ig-glow-soft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(214,41,118,0); }
  50% { box-shadow: 0 0 14px 2px rgba(214,41,118,.45); }
}

/* ---------- Social banner (animated marquee + link) ---------- */
.social-band { background: var(--ink-700); color: #fff; overflow: hidden;
  padding-bottom: clamp(40px, 5vw, 60px); }
.smarq { overflow: hidden; white-space: nowrap; padding: 18px 0; margin-bottom: clamp(30px, 4vw, 48px);
  border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.smarq__track { display: inline-flex; will-change: transform; animation: smarq 26s linear infinite; }
.smarq__item { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em;
  font-size: clamp(1.4rem, 1rem + 1.7vw, 2.3rem); color: #fff; padding-right: .35em; }
.smarq__dot { color: var(--taupe-400); margin: 0 .45em; }
@keyframes smarq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.social-band__inner { display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; }
@media (prefers-reduced-motion: reduce) { .smarq__track { animation: none; } }

/* ---------- Finished-project split rows (Projects page) ---------- */
.proj-row { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(28px, 4vw, 60px);
  align-items: center; margin-bottom: clamp(44px, 5.5vw, 80px); }
.proj-row:last-child { margin-bottom: 0; }
.proj-row__loc { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-ui);
  font-size: 14px; color: var(--fg-3); margin: 12px 0 0; }
@media (max-width: 940px) {
  .proj-row { grid-template-columns: 1fr; gap: 22px; direction: ltr !important; }
}

/* ---------- Minimal inner-page label ---------- */
.page-head { text-align: center; padding: clamp(40px, 5vw, 66px) 0 clamp(8px, 1.5vw, 18px); }
.page-head__title { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em;
  line-height: 1.15; font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem); color: var(--fg-1);
  display: inline-block; text-wrap: balance; }
/* accent underline that spans the title width — longer titles get a longer rule */
.page-head__title::after { content: ""; display: block; width: 100%; max-width: 360px; height: 3px;
  margin: 16px auto 0; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-500), var(--accent-600)); }

/* ---------- Mission statement ---------- */
.mission { max-width: 800px; text-align: center; }
.mission__title { margin: 16px auto 0; }
.mission__body { margin-top: 26px; }
.mission__body p { font-size: var(--fs-lead); line-height: 1.75; color: var(--fg-2); margin: 0 0 18px; text-wrap: pretty; }
.mission__body p:last-child { margin-bottom: 0; }
.mission__close { font-family: var(--font-serif); font-style: italic; line-height: 1.5;
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.55rem); color: var(--ink-800); margin: 34px auto 0; max-width: 40ch; }
.mission__tag { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); color: var(--accent-600); margin: 14px 0 0; }

/* ---------- Meet the Team ---------- */
.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 920px; margin-left: auto; margin-right: auto; }
.staff-card { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 30px 24px 26px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.staff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.staff-card__photo { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 18px; overflow: hidden;
  background: var(--accent-50); display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--line-2); }
.staff-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-card__initials { font-family: var(--font-display); font-weight: 600; font-size: 34px; color: var(--accent-600); }
.staff-card__name { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 0 0 3px; }
.staff-card__role { font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-500); margin-bottom: 12px; }
.staff-card__bio { font-size: 14px; line-height: 1.6; color: var(--fg-2); margin: 0; }
@media (max-width: 940px) { .staff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .staff-grid { grid-template-columns: 1fr; } }

/* ---------- Trust badges row ---------- */
.trust-band { background: var(--paper); border-top: 1px solid var(--line-1); border-bottom: 1px solid var(--line-1);
  padding: clamp(40px, 5vw, 64px) 0; }
.trust-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 16px; flex: 1 1 auto; justify-content: center; min-width: 180px; }
.trust-badge__ico { width: 54px; height: 54px; border-radius: 50%; background: var(--accent-50); color: var(--accent-600);
  display: flex; align-items: center; justify-content: center; flex: none; transition: all var(--dur) var(--ease-out); }
.trust-badge__ico svg { width: 28px; height: 28px; }
.trust-badge:hover .trust-badge__ico { background: var(--accent-500); color: #fff; transform: scale(1.08); }
.trust-badge__txt { display: flex; flex-direction: column; line-height: 1.2; }
.trust-badge__t { font-family: var(--font-ui); font-weight: 700; font-size: 14px; color: var(--ink-800); }
.trust-badge__s { font-size: 13.5px; color: var(--fg-3); margin-top: 2px; }
/* embedded Stat inside the merged trust band */
.trust-badge__val .sfc-stat { text-align: left; }
.trust-badge__val .sfc-stat__num { font-size: 34px; line-height: 1.05; }
.trust-badge__val .sfc-stat__cap { display: none; }
@media (max-width: 760px) {
  .trust-row { gap: 10px; }
  .trust-badge { min-width: 45%; justify-content: flex-start; }
}

/* ---------- Stat pop-in animation ---------- */
.stat-pop.in .sfc-stat__num { animation: stat-pop .6s var(--ease-out) both; }
@keyframes stat-pop {
  0% { opacity: 0; transform: scale(.7) translateY(8px); }
  60% { transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}

/* ---------- Floating call/quote bar ---------- */
.fcta { position: fixed; z-index: 60; right: 20px; bottom: 22px; display: flex; gap: 10px; align-items: center;
  transition: transform .4s var(--ease-out), opacity .3s var(--ease-out); }
.fcta.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.fcta__call, .fcta__quote { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-ui); font-weight: 700; font-size: 15px; border: none; cursor: pointer; text-decoration: none;
  border-radius: var(--r-pill); padding: 14px 22px; box-shadow: var(--shadow-lg);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.fcta__call { background: #fff; color: var(--ink-800); }
.fcta__call:hover { transform: translateY(-2px); }
.fcta__quote { background: var(--accent-500); color: #fff; }
.fcta__quote:hover { background: var(--accent-600); transform: translateY(-2px); }
/* light sweep that travels across the whole button to draw the eye */
.fcta__shine { position: absolute; top: 0; bottom: 0; left: 0; width: 60%; pointer-events: none;
  transform: skewX(-20deg) translateX(-180%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  animation: fcta-shine 4.5s ease-in-out infinite; }
.fcta__quote .fcta__shine { background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); }
@keyframes fcta-shine {
  0% { transform: skewX(-20deg) translateX(-180%); }
  35%, 100% { transform: skewX(-20deg) translateX(320%); }
}
/* gentle periodic attention nudge (softer than before) */
.fcta.is-nudge { animation: fcta-nudge .8s ease-in-out both; }
@keyframes fcta-nudge {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-5px) rotate(-1deg); }
  60% { transform: translateY(-2px) rotate(1deg); }
}
@media (prefers-reduced-motion: reduce) {
  .fcta__shine, .fcta.is-nudge { animation: none; }
}
/* Mobile: full-width bar, hide the long call text */
@media (max-width: 600px) {
  .fcta { left: 12px; right: 12px; bottom: 12px; gap: 8px; }
  .fcta__call, .fcta__quote { flex: 1; justify-content: center; padding: 13px 10px; font-size: 13.5px; gap: 7px; }
  .fcta__call-txt { display: none; }
  .fcta__call::after { content: 'Call Now'; }
}

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--d, 0) * 85ms); }
.reveal.in { opacity: 1; transform: none; }
/* hero children rise a little less */
.sfc-hero__inner .reveal { transform: translateY(18px); }
.sfc-hero__inner .reveal.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .grid-3, .proj-grid, .proc { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; gap: 36px; }
  .sfc-foot__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .sfc-nav, .sfc-head__phone { display: none; }
  .sfc-burger { display: inline-flex; }
  .grid-3, .grid-2, .grid-4, .proj-grid, .proc { grid-template-columns: 1fr; }
  .sfc-foot__top { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .tcol { columns: 1 !important; }
}
@media (max-width: 940px) {
  .tcol { columns: 2 !important; }
}
/* ---------- phones ---------- */
@media (max-width: 600px) {
  .container, .container-wide { padding: 0 18px; }
  /* header: the floating call/quote bar covers the mobile CTA, so drop the
     header button and shrink the wide logo so nothing overflows */
  .sfc-head__cta .sfc-btn { display: none; }
  .sfc-head__inner { gap: 12px; }
  .sfc-logo__full { height: 26px !important; }
  /* ratings band: keep the big numbers readable but a touch smaller */
  .trust-badge { min-width: 0; gap: 12px; }
  .trust-badge__ico { width: 46px; height: 46px; }
  .trust-badge__ico svg { width: 24px; height: 24px; }
  .trust-badge__val .sfc-stat__num { font-size: 27px; }
  /* keep the floating bar clear of the bottom edge / home indicator */
  .fcta { bottom: max(12px, env(safe-area-inset-bottom)); }
}
