/* ============================================================
   Wealthy Renovations LTD. — Site Styles
   Hybrid theme · light base + dramatic dark bands
   Brand: navy / charcoal / muted-red / gold · Fraunces + Inter
   Mobile-first.
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Brand */
  --navy:      #00255F;
  --navy-2:    #001B47;
  --red:       #A12E29;   /* muted mahogany red */
  --red-2:     #84231F;
  --gold:      #C99B43;   /* muted goldenrod */
  --gold-2:    #E2C682;
  --gold-deep: #A9791C;   /* deeper gold — legible on white */
  --ink:       #15171B;   /* charcoal-black (dark sections) */
  --ink-2:     #1E2127;   /* lifted dark surface */

  /* Neutrals / surfaces */
  --white:   #FFFFFF;
  --paper:   #FBFAF7;     /* warm near-white page base */
  --paper-2: #F3F0EA;
  --card:    #FFFFFF;
  --line:    rgba(20, 23, 27, 0.10);
  --line-2:  rgba(20, 23, 27, 0.07);

  /* Text (light surfaces) */
  --text:    #1F2329;
  --muted:   #5C6470;

  /* Text (dark surfaces) */
  --d-text:  #F3F1EC;
  --d-muted: rgba(243, 241, 236, 0.66);
  --d-line:  rgba(255, 255, 255, 0.12);
  --d-card:  rgba(255, 255, 255, 0.045);

  /* Effects */
  --shadow-sm: 0 2px 10px rgba(20, 23, 27, 0.06);
  --shadow:    0 14px 40px rgba(20, 23, 27, 0.10);
  --shadow-lg: 0 30px 70px rgba(20, 23, 27, 0.18);
  --radius:    16px;
  --radius-sm: 11px;
  --radius-lg: 24px;
  --ease:      cubic-bezier(.22, 1, .36, 1);
  --t:         .35s var(--ease);
  --maxw:      1180px;
  --header-h:  68px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
svg { display: block; }
button { font: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: 0; top: -60px;
  background: var(--navy); color: #fff;
  padding: .7rem 1.2rem; border-radius: 0 0 8px 0;
  z-index: 2000; transition: top .2s;
}
.skip-link:focus { top: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

.section { padding: clamp(3.5rem, 9vw, 7rem) 0; }

/* Dark sections */
.section--dark { background: var(--ink); color: var(--d-text); }
.section--dark p { color: var(--d-muted); }

/* --- Typography helpers --- */
h1, h2, h3, .namecard__result {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
  position: relative;
  padding-left: 2.6rem;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 2rem; height: 2px;
  background: var(--gold);
  transform: translateY(-50%);
}
.eyebrow--center { padding-left: 0; }
.eyebrow--center::before { display: none; }
.eyebrow--gold { color: var(--gold); }
.eyebrow--light { color: var(--gold-2); }

.section__head { max-width: 660px; margin: 0 auto clamp(2.25rem, 5vw, 3.5rem); text-align: center; }
.section__title { font-size: clamp(1.9rem, 6vw, 3rem); }
.section__title--light { color: var(--white); }
.section__lead { color: var(--muted); font-size: 1.05rem; margin-top: 0.9rem; }
.section__lead--light { color: var(--d-muted); }
.section__lead em { color: var(--text); font-style: italic; }

/* --- Buttons --- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn--red  { --btn-bg: var(--red); }
.btn--red:hover { background: var(--red-2); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: #2A1F06; }
.btn--gold:hover { background: var(--gold-2); }
.btn--ghost-light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.45);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--ghost {
  background: transparent; color: var(--navy); border-color: var(--line);
}
.btn--ghost:hover { background: rgba(0,37,95,.05); border-color: var(--navy); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow {
  color: var(--navy); font-weight: 600; line-height: 1.5;
  border-bottom: 2px solid transparent; transition: border-color var(--t);
}
.link-arrow svg { width: 18px; height: 18px; display: inline; vertical-align: -3px; margin-left: .35rem; }
.link-arrow:hover { border-color: var(--gold); }

/* ============ TOP BAR ============ */
.topbar {
  background: var(--navy-2);
  color: rgba(255,255,255,.85);
  font-size: 0.8rem;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 1.5rem; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; color: inherit; white-space: nowrap; transition: color var(--t); }
.topbar__item svg { width: 15px; height: 15px; color: var(--gold-2); }
a.topbar__item:hover { color: #fff; }

/* Hide the entire bar on phones; drop the location label first on mid widths */
@media (max-width: 767px) { .topbar { display: none; } }
@media (max-width: 1040px) { .topbar__item--loc { display: none; } }

/* ============ HEADER / NAV ============ */
.header {
  position: sticky; top: 0; z-index: 1000;
  /* No backdrop-filter here: a filtered ancestor would become the containing
     block for the fixed mobile drawer, breaking its positioning on scroll.
     Blur is added only at desktop widths (where there is no drawer). */
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t), border-color var(--t), background var(--t);
}
.header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.nav__logo { display: flex; align-items: center; gap: .7rem; }
.nav__logo-img { height: 46px; width: auto; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.nav__logo-primary {
  font-family: "Fraunces", serif; font-weight: 700; font-size: 1.2rem;
  color: var(--navy); letter-spacing: -0.01em;
  text-transform: uppercase;
}
.nav__logo-secondary {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--gold-deep);
}

.nav__menu { display: none; }
.nav__link {
  font-size: 0.92rem; font-weight: 500; color: var(--text);
  position: relative; padding: .4rem 0; transition: color var(--t);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width var(--t);
}
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__link.active { color: var(--navy); }

.nav__cta { display: none; }
.nav__menu-cta { display: none; }

/* Hamburger */
.nav__hamburger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: transparent; border: 0;
  margin-left: .25rem;
}
.nav__hamburger span {
  display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__scrim {
  position: fixed; inset: 0; background: rgba(20,23,27,.5); z-index: 998;
  opacity: 0; transition: opacity var(--t); backdrop-filter: blur(2px);
}
.nav__scrim.show { opacity: 1; }

/* Mobile drawer */
@media (max-width: 919px) {
  .nav__menu {
    position: fixed; top: 0; right: 0; z-index: 999;
    height: 100dvh; width: min(82vw, 340px);
    background: var(--ink); color: var(--d-text);
    flex-direction: column; align-items: stretch; gap: .25rem;
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
    transform: translateX(100%); transition: transform var(--t);
    display: flex; overflow-y: auto;
    box-shadow: -20px 0 60px rgba(0,0,0,.4);
  }
  .nav__menu.open { transform: translateX(0); }
  .nav__menu li { border-bottom: 1px solid var(--d-line); }
  .nav__menu .nav__link {
    display: block; padding: 1rem .25rem; color: var(--d-text); font-size: 1.05rem;
  }
  .nav__menu .nav__link::after { display: none; }
  .nav__menu .nav__link:hover { color: var(--gold-2); }
  .nav__menu-cta { display: block; border: 0 !important; margin-top: 1.4rem; }
  .nav__menu-cta .btn { width: 100%; }
}

@media (min-width: 920px) {
  :root { --header-h: 78px; }
  .header {
    background: rgba(251, 250, 247, 0.9);
    backdrop-filter: saturate(150%) blur(12px);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
  }
  .nav__menu {
    display: flex; align-items: center; gap: 1.8rem;
  }
  .nav__cta, .nav__hamburger { display: none; }
  .nav__menu-cta { display: list-item; }
  .nav__menu-cta .btn { padding: .65rem 1.3rem; }
}

@media (max-width: 420px) {
  .nav__logo-img { height: 40px; }
  .nav__logo-primary { font-size: 1.06rem; }
  .nav__logo-secondary { font-size: 0.6rem; letter-spacing: 0.2em; }
  .nav__cta { padding: .58rem 1rem; font-size: .85rem; }
}

/* ============ HERO ============ */
.hero {
  position: relative; isolation: isolate;
  min-height: clamp(560px, 92svh, 820px);
  display: flex; align-items: center;
  background: var(--ink); color: #fff; overflow: hidden;
  /* extra bottom padding keeps the trust badges clear of the scroll arrow */
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(5rem, 14vw, 6.5rem);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(21,23,27,.55) 0%, rgba(21,23,27,.55) 40%, rgba(21,23,27,.86) 100%),
    linear-gradient(90deg, rgba(0,27,71,.62) 0%, rgba(21,23,27,.25) 60%, rgba(21,23,27,.15) 100%);
}
.hero__inner { position: relative; }
.hero__content { max-width: 660px; }
.hero__title {
  color: #fff; font-size: clamp(2.3rem, 9vw, 4.4rem); font-weight: 600;
  line-height: 1.04; margin-bottom: 1.1rem;
}
.hero__title-accent { color: var(--gold-2); }
.hero__text {
  color: rgba(255,255,255,.86); font-size: clamp(1rem, 2.6vw, 1.2rem);
  max-width: 560px; margin-bottom: 1.8rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero__actions .btn { flex: 1 1 auto; min-width: 0; }
@media (min-width: 480px) { .hero__actions .btn { flex: 0 0 auto; } }

.hero__trust {
  display: flex; flex-wrap: wrap; gap: 1rem 1.6rem;
  padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.16);
}
.hero__trust li {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .86rem; font-weight: 500; color: rgba(255,255,255,.9);
}
.hero__trust svg { width: 20px; height: 20px; color: var(--gold-2); flex: none; }
/* Center the trust badges on mobile so the wrapped one isn't left-stranded */
@media (max-width: 600px) {
  .hero__trust { justify-content: center; }
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%);
  width: 40px; height: 40px; display: grid; place-items: center;
  color: rgba(255,255,255,.65); animation: bob 2.4s var(--ease) infinite;
}
.hero__scroll svg { width: 24px; height: 24px; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }

/* ============ VALUES STRIP ============ */
.values { background: var(--white); border-bottom: 1px solid var(--line-2); }
.values__grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  padding: clamp(2.5rem, 6vw, 3.5rem) 1.25rem;
}
.value { text-align: center; }
.value__icon {
  width: 42px; height: 42px; color: var(--red); margin: 0 auto .8rem;
}
.value h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.value p { color: var(--muted); font-size: .95rem; }
@media (min-width: 560px) { .values__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) {
  .values__grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .value { text-align: left; }
  .value__icon { margin: 0 0 .8rem; }
}

/* ============ SERVICES ============ */
.services__grid {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
@media (min-width: 560px) { .services__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .services__grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }

.service {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1.4rem;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative; overflow: hidden;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--red), var(--gold)); transition: width var(--t);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { width: 100%; }
.service__icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px;
  border-radius: 13px; background: rgba(0,37,95,.06); color: var(--navy); margin-bottom: 1rem;
}
.service__icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.18rem; margin-bottom: .45rem; color: var(--gold-deep); }
.service p { color: var(--muted); font-size: .94rem; }

.service--cta {
  background: var(--navy); color: #fff; border-color: var(--navy);
  display: flex; flex-direction: column; justify-content: center;
}
.service--cta::before { display: none; }
.service--cta h3 { color: #fff; }
.service--cta p { color: rgba(255,255,255,.8); margin-bottom: 1rem; }
.service__cta-link {
  display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start;
  color: var(--gold-2); font-weight: 600; transition: gap var(--t);
}
.service__cta-link svg { width: 18px; height: 18px; }
.service__cta-link:hover { gap: .85rem; }

/* ============ STORY (dark) ============ */
.story__inner { display: grid; grid-template-columns: 1fr; gap: 2.2rem; align-items: start; }
.story__media { position: relative; }
.story__photo {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--d-line);
}
.story__photo img { width: 100%; height: auto; aspect-ratio: 4/4.2; object-fit: cover; }
.story__values {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem;
}
.story__values span {
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-2); border: 1px solid var(--d-line); border-radius: 999px;
  padding: .4rem .9rem;
}
.story__content p { margin-bottom: 1rem; color: rgba(243,241,236,.8); }
.story__content p strong { color: #fff; }
.story__content .section__title { margin-bottom: 1.2rem; }

.namecard {
  background: var(--d-card); border: 1px solid var(--d-line);
  border-left: 3px solid var(--gold); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; margin: 1.5rem 0;
}
.namecard__label {
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: .7rem;
}
.namecard__formula { font-size: 1.02rem; color: rgba(243,241,236,.78); margin-bottom: .2rem; }
.namecard__formula span { color: #fff; font-weight: 700; }
.namecard__formula em { color: var(--gold-2); font-style: normal; padding: 0 .2rem; }
.namecard__result {
  font-size: 1.5rem; color: var(--gold-2); margin-bottom: .7rem;
}
.namecard__note { font-size: .9rem; color: var(--d-muted); margin-bottom: 0 !important; }
.story__sign {
  font-family: "Fraunces", serif; font-style: italic; font-size: 1.1rem;
  color: var(--gold-2) !important; margin-top: 1.2rem;
}

@media (min-width: 880px) {
  .story__inner { grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; }
  .story__media { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ============ PROCESS ============ */
/* Distinguish these three light sections with subtle brand-coloured TEXTURES
   on the warm-paper palette (not flat colour washes), so each reads as its own
   band while keeping the premium look and feel. */

/* "How We Work" — faint navy blueprint grid (planning / process motif) */
.process {
  background-color: var(--paper-2);
  background-image:
    linear-gradient(rgba(0, 37, 95, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 37, 95, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* "Before & After" — clean white with a soft navy glow so it pops between
   the two textured warm sections */
.work {
  background:
    radial-gradient(90% 55% at 50% 0%, rgba(0, 37, 95, 0.05), transparent 70%),
    var(--white);
}

/* "Project Gallery" — warm paper with a faint gold diagonal weave */
.gallery {
  background-color: var(--paper-2);
  background-image:
    repeating-linear-gradient(45deg, rgba(201, 155, 67, 0.05) 0 1px, transparent 1px 15px);
}

.process__steps {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
  counter-reset: step;
}
.process__step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; position: relative;
}
.process__num {
  font-family: "Fraunces", serif; font-size: 2.4rem; font-weight: 600;
  color: var(--gold); line-height: 1; display: block; margin-bottom: .6rem;
}
.process__step h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.process__step p { color: var(--muted); font-size: .95rem; }
@media (min-width: 760px) { .process__steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

/* ============ BEFORE / AFTER ============ */
.work__grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 720px) { .work__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) {
  .work__grid { grid-template-columns: repeat(3, 1fr); }
  .work__grid .ba:nth-child(4) { grid-column: 1 / 2; }
}

.ba { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.ba__viewport {
  position: relative; width: 100%; aspect-ratio: 1.42 / 1; overflow: hidden;
  user-select: none; touch-action: pan-y; background: var(--paper-2);
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before {
  position: absolute; inset: 0; width: 100%; height: 100%;
  overflow: hidden; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}
.ba__before .ba__img { width: 100%; }
.ba__tag {
  position: absolute; bottom: 12px; z-index: 4;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .32rem .7rem; border-radius: 999px; color: #fff; backdrop-filter: blur(4px);
}
.ba__tag--before { left: 12px; background: rgba(21,23,27,.72); }
.ba__tag--after  { right: 12px; background: rgba(161,46,41,.85); }
.ba__divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px;
  background: #fff; transform: translateX(-1px); z-index: 5; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15);
}
.ba__grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--navy);
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.ba__grip svg { width: 18px; height: 18px; }
.ba__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0;
  cursor: ew-resize; z-index: 6;
}
.ba__caption {
  padding: .9rem 1.1rem; font-weight: 600; color: var(--navy); font-size: .98rem;
  border-top: 1px solid var(--line-2);
}

/* ============ GALLERY ============ */
/* Masonry: images keep their natural proportions and tile unevenly.
   More columns on desktop = more pronounced staggering. */
.gallery__grid { column-count: 2; column-gap: .6rem; }
@media (min-width: 620px) { .gallery__grid { column-count: 3; column-gap: .8rem; } }
@media (min-width: 960px) { .gallery__grid { column-count: 4; column-gap: 1rem; } }

.gallery__item {
  position: relative; display: block; width: 100%; border: 0; padding: 0;
  background: var(--paper-2); border-radius: var(--radius-sm); overflow: hidden;
  break-inside: avoid; -webkit-column-break-inside: avoid;
  margin-bottom: .6rem; -webkit-tap-highlight-color: transparent;
}
@media (min-width: 620px) { .gallery__item { margin-bottom: .8rem; } }
@media (min-width: 960px) { .gallery__item { margin-bottom: 1rem; } }

.gallery__item img { width: 100%; height: auto; display: block; transition: transform .5s var(--ease); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(21,23,27,.35));
  opacity: 0; transition: opacity var(--t);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.work__cta { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* ============ VIDEO ============ */
.video__grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 900px; margin-inline: auto;
}

.video-embed {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius);
  overflow: hidden; background: #000; box-shadow: var(--shadow-lg);
  border: 1px solid var(--d-line); cursor: pointer;
}
.video-embed__poster { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity var(--t), transform .5s var(--ease); }
.video-embed:hover .video-embed__poster { opacity: .6; transform: scale(1.04); }
.video-embed__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%; border: 0;
  background: var(--red); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.5); transition: transform var(--t), background var(--t);
}
.video-embed__play svg { width: 30px; height: 30px; margin-left: 3px; }
.video-embed:hover .video-embed__play { transform: translate(-50%, -50%) scale(1.08); background: var(--red-2); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============ REVIEWS ============ */
.reviews { background: var(--paper-2); }
/* Masonry: cards flow into columns and size to their own content */
.reviews__grid { column-count: 1; column-gap: 1.25rem; }
@media (min-width: 680px) { .reviews__grid { column-count: 2; } }
@media (min-width: 1040px) { .reviews__grid { column-count: 3; } }

.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  break-inside: avoid; -webkit-column-break-inside: avoid;
  margin-bottom: 1.25rem;
}
.review__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.review__stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.review__badge { display: inline-grid; place-items: center; }
.review blockquote {
  color: var(--text); font-size: .98rem; line-height: 1.6; margin-bottom: 1.1rem;
}
.review__photos { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; }
.review__thumb {
  position: relative; width: 84px; height: 84px; border-radius: 11px; overflow: hidden;
  border: 1px solid var(--line); padding: 0; background: var(--paper-2);
  transition: transform var(--t);
}
.review__thumb img { width: 100%; height: 100%; object-fit: cover; }
.review__thumb:hover { transform: scale(1.06); }
.review__thumb:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.review figcaption { display: flex; flex-direction: column; gap: .1rem; }
.review__name { font-weight: 700; color: var(--navy); font-family: "Fraunces", serif; font-size: 1.05rem; }
.review__loc { font-size: .8rem; color: var(--muted); }

/* ============ FINANCING (dark) ============ */
.financing { background: linear-gradient(135deg, var(--navy-2), var(--ink) 70%); }
.financing__inner {
  display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center;
}
.financing__content .section__title { margin-bottom: 1rem; }
.financing__content p { color: rgba(255,255,255,.82); margin-bottom: 1.6rem; }
.financing__content p strong { color: #fff; }
.financing__card {
  background: var(--d-card); border: 1px solid var(--d-line); border-radius: var(--radius-lg);
  padding: 2rem; text-align: center; color: #fff;
}
.financing__card svg { width: 48px; height: 48px; color: var(--gold-2); margin: 0 auto .8rem; }
.financing__card-label { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--d-muted); }
.financing__card strong { font-family: "Fraunces", serif; font-size: 1.7rem; color: var(--gold-2); }
@media (min-width: 820px) {
  .financing__inner { grid-template-columns: 1.5fr 1fr; gap: 3rem; }
}

/* ============ CONTACT ============ */
.contact__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
/* Let columns shrink below their content width so nothing overflows on phones */
.contact__grid > * { min-width: 0; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1.1fr; gap: 3rem; } }

.contact__item { display: flex; gap: .9rem; margin-bottom: 1.2rem; align-items: flex-start; }
.contact__item > div { min-width: 0; }
.contact__ico {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 12px; background: rgba(0,37,95,.06); color: var(--navy);
}
.contact__ico svg { width: 22px; height: 22px; }

/* A pop of colour — each contact channel gets its own coloured chip */
.contact__ico--phone     { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(0,37,95,.28); }
.contact__ico--email     { background: var(--red);  color: #fff; box-shadow: 0 6px 16px rgba(161,46,41,.28); }
.contact__ico--area      { background: var(--gold); color: #fff; box-shadow: 0 6px 16px rgba(201,155,67,.30); }
.contact__ico--instagram {
  color: #fff;
  background: linear-gradient(45deg, #F9CE34 5%, #EE2A7B 45%, #6228D7 90%);
  box-shadow: 0 6px 16px rgba(221,42,118,.28);
}
.contact__item strong { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; }
.contact__item a, .contact__item div > span {
  font-size: 1.02rem; color: var(--text); font-weight: 500; overflow-wrap: anywhere;
}
.contact__item a:hover { color: var(--navy); }

.hours {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; margin: 1.6rem 0;
}
.hours__title { font-size: 1.05rem; margin-bottom: .8rem; }
.hours ul li {
  display: flex; justify-content: space-between; padding: .4rem 0; font-size: .94rem;
  border-bottom: 1px solid var(--line-2);
}
.hours ul li:last-child { border-bottom: 0; }
.hours ul li span:first-child { color: var(--muted); }
.hours ul li span:last-child { font-weight: 600; color: var(--text); }

.contact__map {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  height: 220px;
}
.contact__map iframe { display: block; width: 100%; max-width: 100%; height: 100%; border: 0; filter: grayscale(.2); }

.contact__form-wrap {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.2rem); box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__group { margin-bottom: 1rem; }
.form__group label { display: block; font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: .4rem; }
.form__group label span { color: var(--muted); font-weight: 400; }
.form__group input, .form__group select, .form__group textarea {
  width: 100%; min-width: 0; max-width: 100%; padding: .8rem .9rem; font: inherit; color: var(--text);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color var(--t), box-shadow var(--t); -webkit-appearance: none; appearance: none;
}
.form__group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%235C6470' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem;
}
.form__group textarea { resize: vertical; min-height: 120px; }
.form__group input:focus, .form__group select:focus, .form__group textarea:focus {
  outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,37,95,.12);
}
.form__note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: .9rem; }
.hp { position: absolute !important; left: -9999px !important; }

/* hCaptcha widget: full (normal) size on desktop. On narrow phones the ~303px
   widget is wider than the form, so scale it down to fit. transform-origin +
   overflow:hidden on the wrapper clips the now-empty layout box so it can't
   push the page sideways; negative margin reclaims the leftover height. */
@media (max-width: 400px) {
  .form__group--captcha { overflow: hidden; }
  .form__group--captcha .h-captcha {
    transform: scale(0.85); transform-origin: top left; margin-bottom: -12px;
  }
}
@media (max-width: 345px) {
  .form__group--captcha .h-captcha {
    transform: scale(0.72); margin-bottom: -22px;
  }
}

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: var(--d-muted); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer__inner {
  display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.5rem;
}
@media (min-width: 620px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 2.5rem; } }

.footer__logo { height: 46px; width: auto; margin-bottom: 1rem; }
.footer__tagline { font-size: .92rem; max-width: 360px; margin-bottom: 1.2rem; }
.footer__social { display: inline-flex; align-items: center; gap: .5rem; color: var(--gold-2); font-weight: 600; }
.footer__social svg { width: 20px; height: 20px; }
.footer__social:hover { color: #fff; }

.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: .9rem; font-family: "Fraunces", serif; }
.footer__col ul li { margin-bottom: .5rem; }
.footer__col a { font-size: .92rem; transition: color var(--t); }
.footer__col a:hover { color: var(--gold-2); }
.footer__hours-title { margin-top: 1.3rem; }
.footer__hours li { font-size: .88rem; }

.footer__bottom { border-top: 1px solid var(--d-line); padding: 1.3rem 0; }
.footer__bottom-inner {
  display: flex; flex-direction: column; gap: .4rem; text-align: center;
  font-size: .82rem;
}
.footer__credit { color: var(--d-muted); }
.footer__credit a { color: var(--gold-2); font-weight: 600; transition: color var(--t); }
.footer__credit a:hover { color: #fff; }
@media (min-width: 640px) {
  .footer__bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center;
  background: rgba(13,14,17,.94); padding: 1rem;
  opacity: 0; transition: opacity .25s var(--ease);
}
.lightbox.show { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__figure { max-width: 92vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.lightbox__img {
  max-width: 92vw; max-height: 80vh; width: auto; height: auto; object-fit: contain;
  border-radius: 8px; box-shadow: 0 20px 70px rgba(0,0,0,.6);
}
.lightbox__caption { color: rgba(255,255,255,.8); font-size: .9rem; text-align: center; }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 3; background: rgba(255,255,255,.12); border: 0; color: #fff;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  transition: background var(--t); backdrop-filter: blur(4px);
}
.lightbox__close svg, .lightbox__nav svg { width: 24px; height: 24px; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav--prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav[hidden] { display: none; }
@media (max-width: 600px) {
  .lightbox__nav--prev { left: .4rem; } .lightbox__nav--next { right: .4rem; }
  .lightbox__close { top: .5rem; right: .5rem; }
}

/* ============ FADE-IN ANIMATION ============ */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.fade-in.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
  .hero__scroll { animation: none; }
  * { scroll-behavior: auto !important; }
}
