/* ============================================================
   CASA BELA — Editorial remodeling studio
   Design tokens + styles. Three themes via [data-theme].
   ============================================================ */

/* ---- Fonts ---- */
/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/f174d8d7-0d1e-4b6c-a9e7-0e946e3716d0.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/5a8c1d1b-ff69-43f0-8be1-1bece2c3532c.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/6df5cf3a-11c7-4c3d-a89a-a8733a5a591a.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/91043dd8-93a9-45f0-8680-663fe4992cb9.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/731002b9-7682-4274-9860-39cb3229d75d.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/109e17bc-9012-44ee-a975-c0e0457af8e2.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/5ec8aa4a-7acd-4bfe-8dbd-43d4065482c4.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/0ddf560b-9e11-41b9-96c2-ea6715f4e156.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/5333e29b-fbff-44cb-aa98-b7cf93e8a2ca.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/e7860276-87fd-4db3-afcf-3e54e1ba21fc.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/109e17bc-9012-44ee-a975-c0e0457af8e2.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/5ec8aa4a-7acd-4bfe-8dbd-43d4065482c4.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/0ddf560b-9e11-41b9-96c2-ea6715f4e156.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/5333e29b-fbff-44cb-aa98-b7cf93e8a2ca.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/e7860276-87fd-4db3-afcf-3e54e1ba21fc.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/109e17bc-9012-44ee-a975-c0e0457af8e2.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/5ec8aa4a-7acd-4bfe-8dbd-43d4065482c4.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/0ddf560b-9e11-41b9-96c2-ea6715f4e156.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/5333e29b-fbff-44cb-aa98-b7cf93e8a2ca.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/e7860276-87fd-4db3-afcf-3e54e1ba21fc.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/f39a4592-8581-4a9f-b829-185448c5586d.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/6800dedd-4af5-40f7-abe0-06caad7be925.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/2274e464-fd3c-43fd-963e-e97805f37f87.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/8cf82b42-a052-49d7-8318-59bbb436f123.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/f39a4592-8581-4a9f-b829-185448c5586d.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/6800dedd-4af5-40f7-abe0-06caad7be925.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/2274e464-fd3c-43fd-963e-e97805f37f87.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/8cf82b42-a052-49d7-8318-59bbb436f123.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/f39a4592-8581-4a9f-b829-185448c5586d.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/6800dedd-4af5-40f7-abe0-06caad7be925.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/2274e464-fd3c-43fd-963e-e97805f37f87.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/8cf82b42-a052-49d7-8318-59bbb436f123.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/f39a4592-8581-4a9f-b829-185448c5586d.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/6800dedd-4af5-40f7-abe0-06caad7be925.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/2274e464-fd3c-43fd-963e-e97805f37f87.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/8cf82b42-a052-49d7-8318-59bbb436f123.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* type */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;

  /* rhythm */
  --maxw: 1320px;
  --gutter: clamp(24px, 5vw, 96px);
  --section-y: clamp(88px, 12vw, 180px);
  --radius: 2px;

  /* motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---- THEME: Botanical (default) — cream + forest + gold ---- */
:root,
[data-theme='botanical'] {
  --bg:           #F4F0E8;
  --surface:      #FBF8F2;
  --fg:           #232A21;
  --fg-soft:      #5E6358;
  --hairline:     #D9D2C4;
  --accent:       #2F3D33;   /* forest — buttons, links */
  --accent-fg:    #F4F0E8;
  --gold:         #BB9556;   /* brass — rules, eyebrows, numerals */
  --gold-soft:    #C2A35E;
  --feature-bg:   #232C24;   /* deep forest dark section */
  --feature-fg:   #ECE6D8;
  --feature-soft: #A9AE9C;
  --feature-line: #3C4739;
  --feature-gold: #C8AA66;
  --sage:         #8B9A7A;
}

/* ---- THEME: Linen — warm minimal, airier ---- */
[data-theme='linen'] {
  --bg:           #FBFAF6;
  --surface:      #FFFFFF;
  --fg:           #2A2722;
  --fg-soft:      #6B655B;
  --hairline:     #E7E2D7;
  --accent:       #6E6450;   /* taupe */
  --accent-fg:    #FBFAF6;
  --gold:         #A8894C;
  --gold-soft:    #CBB079;
  --feature-bg:   #2E2A22;
  --feature-fg:   #F1ECE0;
  --feature-soft: #B4AC9A;
  --feature-line: #46402F;
  --feature-gold: #D0B47B;
  --sage:         #9AA487;
}

/* ---- THEME: Noir & Gold — dramatic dark ---- */
[data-theme='noir'] {
  --bg:           #14160F;
  --surface:      #1B1E16;
  --fg:           #EDE8DA;
  --fg-soft:      #9A9C8C;
  --hairline:     #2C2F24;
  --accent:       #C8AA66;   /* gold buttons */
  --accent-fg:    #16180F;
  --gold:         #C8AA66;
  --gold-soft:    #D9C089;
  --feature-bg:   #0E0F09;
  --feature-fg:   #EDE8DA;
  --feature-soft: #8E907F;
  --feature-line: #2C2F24;
  --feature-gold: #D9C089;
  --sage:         #99A581;
}

/* ============================================================
   BASE
   ============================================================ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .6s var(--ease), color .6s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---- type primitives ---- */
.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .8em;
}
.eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: .8;
}
.eyebrow.center::after {
  content: '';
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: .8;
}
.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.012em;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
}
.h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.01em;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
}
.h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.15;
}
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--fg-soft);
  max-width: 46ch;
  text-wrap: pretty;
}
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ---- buttons ---- */
.btn {
  --b: var(--accent);
  --bf: var(--accent-fg);
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 1.05em 1.9em;
  border-radius: var(--radius);
  background: var(--b);
  color: var(--bf);
  border: 1px solid var(--b);
  cursor: pointer;
  transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease), opacity .3s;
}
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--hairline);
}
.btn--ghost:hover { border-color: var(--fg); }
.btn--light {
  background: transparent;
  color: var(--feature-fg);
  border-color: color-mix(in srgb, var(--feature-fg) 35%, transparent);
}
.btn--light:hover { background: var(--feature-fg); color: var(--feature-bg); }



.link-underline {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .45s var(--ease);
}
.link-underline:hover { background-size: 100% 1px; }
.link-underline .li-ic { display: inline-flex; }
.link-underline .li-ic svg { width: 17px; height: 17px; }
.link-underline .arrow { transition: transform .4s var(--ease); }
.link-underline:hover .arrow { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  padding-block: 14px;
  border-color: var(--hairline);
}
/* hero is dark image -> header text light until scrolled */
.site-header:not(.scrolled) { color: #F4F0E8; }
.site-header:not(.scrolled) .nav a { color: #F4F0E8; }
.site-header:not(.scrolled) .brand-mark { color: #F4F0E8; }
.site-header:not(.scrolled) .header-cta { border-color: rgba(244,240,232,.4); color:#F4F0E8; }

.brand {
  display: flex;
  align-items: center;
  gap: .55em;
}
.brand { position: relative; }
.brand__logo {
  width: auto;
  height: 80px;
  background: transparent;
  object-fit: contain;
  display: block;
  transition: opacity .4s var(--ease);
}
/* light logo over the dark hero; dark logo once header gets its light bg */
.brand__logo--dark { position: absolute; top: 0; left: 0; opacity: 0; }
.site-header.scrolled .brand__logo--light { opacity: 0; }
.site-header.scrolled .brand__logo--dark { opacity: 1; }
.brand-mark {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1;
  color: var(--fg);
  transition: color .5s var(--ease);
}
.brand-mark b { font-weight: 600; }
.brand-sub {
  font-size: .58rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(26px, 3vw, 52px);
}
.nav a {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .07em;
  color: var(--fg);
  position: relative;
  padding: 4px 0;
  transition: color .4s var(--ease), opacity .3s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

/* ---- dropdown menus (Services / Resources) ---- */
.nav__item { position: relative; display: inline-flex; align-items: center; }
.nav__label {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .07em;
  color: var(--fg);
  padding: 4px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: color .4s var(--ease);
}
.nav__caret { display: inline-flex; align-items: center; margin-left: .5em; }
.nav__caret svg { width: 9px; height: auto; fill: currentColor; opacity: .7; transition: transform .35s var(--ease), opacity .3s var(--ease); }
.nav__item:hover .nav__caret svg,
.nav__item:focus-within .nav__caret svg { transform: rotate(180deg); opacity: 1; }
.nav__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  margin-top: 14px;
  min-width: 236px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: 0 26px 60px -30px rgba(20, 22, 15, .45);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: 60;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__sub a {
  font-size: .9rem;
  letter-spacing: .02em;
  color: var(--fg);
  padding: .58em .85em;
  border-radius: 2px;
  white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav__sub a::after { display: none; }
.nav__sub a:hover { background: var(--bg); color: var(--gold); }
/* keep dropdown panel text dark even over the dark hero (unscrolled) */
.site-header:not(.scrolled) .nav__label { color: #F4F0E8; }
.site-header:not(.scrolled) .nav__sub a { color: var(--fg); }

.header-cta {
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: .7em 1.3em;
  border: 1px solid var(--fg);
  border-radius: 100px;
  color: var(--fg);
  transition: all .4s var(--ease);
}
.header-cta:hover { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px); }
.header-call {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--fg);
  white-space: nowrap;
  padding: .5em .95em;
  border-radius: 100px;
  background: transparent;
  transition: color .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.header-call__ic { display: grid; place-items: center; }
.header-call__ic svg { width: 17px; height: 17px; transition: transform .4s var(--ease); }
.header-call:hover {
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 40%, transparent);
}
.header-call:hover .header-call__ic svg { animation: header-call-ring .62s var(--ease); }
@keyframes header-call-ring {
  0%, 100% { transform: rotate(0); }
  15% { transform: rotate(-16deg); }
  30% { transform: rotate(12deg); }
  45% { transform: rotate(-9deg); }
  60% { transform: rotate(6deg); }
  75% { transform: rotate(-3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .header-call:hover .header-call__ic svg { animation: none; }
}
.site-header:not(.scrolled) .header-call { color: #F4F0E8; }
.site-header:not(.scrolled) .header-call:hover { color: #fff; background: color-mix(in srgb, #F4F0E8 20%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, #F4F0E8 42%, transparent); }
/* ---- hamburger + mobile menu ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0; margin: 0;
  border: 0; background: transparent;
  color: var(--fg);
  cursor: pointer;
  z-index: 60;
}
.nav-toggle__bar { display: block; width: 24px; height: 2px; margin: 0 auto; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s var(--ease); }
.site-header:not(.scrolled) .nav-toggle { color: #F4F0E8; }
body.menu-open .nav-toggle { color: var(--fg); }
body.menu-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--bg);
  padding: clamp(112px, 20vw, 128px) var(--gutter) 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
body.menu-open { overflow: hidden; }
body.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
body.menu-open .site-header { background: var(--bg); border-bottom-color: var(--hairline); }
body.menu-open .brand__logo--light { opacity: 0; }
body.menu-open .brand__logo--dark { opacity: 1; }

.mnav { display: flex; flex-direction: column; }
.mnav__link, .mnav__head {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 6vw, 2rem);
  line-height: 1.1;
  color: var(--fg);
  text-align: left;
  width: 100%;
  padding: .55em 0;
  border: 0; border-bottom: 1px solid var(--hairline);
  background: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer;
}
.mnav__caret svg { width: 13px; height: auto; fill: currentColor; opacity: .65; transition: transform .3s var(--ease); }
.mnav__group.is-open .mnav__caret svg { transform: rotate(180deg); opacity: 1; }
.mnav__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.mnav__group.is-open .mnav__sub { grid-template-rows: 1fr; }
.mnav__sub-inner { overflow: hidden; display: flex; flex-direction: column; }
.mnav__sub-inner a {
  font-family: var(--sans);
  font-size: 1.02rem;
  color: var(--fg-soft);
  padding: .5em 0 .5em 1.1em;
  transition: color .25s var(--ease);
}
.mnav__sub-inner a:first-child { padding-top: .85em; }
.mnav__sub-inner a:last-child { padding-bottom: 1em; }
.mnav__sub-inner a:hover { color: var(--gold); }
.mnav__cta { margin-top: clamp(30px, 7vw, 48px); display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.mnav__tel { font-weight: 500; color: var(--fg); letter-spacing: .02em; }

@media (min-width: 901px) { .mobile-nav { display: none; } }
/* Sticky bottom CTA bar (mobile only) — keeps "Book a consultation" visible. */
.m-cta-bar { display: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .header-cta { display: none; }   /* moved to the sticky bottom bar */
  .header-actions { display: none; }     /* drop the phone icon on mobile (Call lives in the bottom bar) */
  .site-header { justify-content: center; }  /* center the logo */
  .nav-toggle { display: flex; position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); }
  .brand__logo { height: 56px; }         /* compact the stacked logo on phones */

  .m-cta-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 44;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    border-top: 1px solid var(--hairline);
  }
  .m-cta-bar__call {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .95em 1.15em;
    border: 1px solid var(--fg); border-radius: 100px;
    font-size: .78rem; font-weight: 500; letter-spacing: .04em; color: var(--fg);
    transition: background .3s var(--ease), color .3s var(--ease);
  }
  .m-cta-bar__call svg { width: 17px; height: 17px; }
  .m-cta-bar__call:hover { background: var(--fg); color: var(--bg); }
  .m-cta-bar__book { flex: 1 1 auto; justify-content: center; text-align: center; }
  body.menu-open .m-cta-bar { display: none; }
  /* room so the bar never covers the footer's last line */
  .footer__bottom { padding-bottom: 86px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #F4F0E8;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media image-slot { width: 100%; height: 100%; }
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  /* fallback tint until the video paints, keeps overlay text legible */
  background: radial-gradient(120% 90% at 70% 18%, #3a4a3c 0%, #28321f 45%, #1a2114 100%);
}
.hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,22,16,.46) 0%, rgba(18,22,16,.08) 30%, rgba(15,18,13,.40) 58%, rgba(12,15,10,.78) 80%, rgba(10,13,8,.94) 100%);
  z-index: 2;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: end;
  gap: 40px;
}
.hero .eyebrow {
  color: #BB9556;
  text-shadow: 0 1px 14px rgba(8,10,6,.85), 0 0 2px rgba(8,10,6,.6);
}
.hero .eyebrow::before, .hero .eyebrow::after { opacity: 1; box-shadow: 0 1px 4px rgba(8,10,6,.7); }
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 7.4vw, 6.1rem);
  line-height: .96;
  letter-spacing: -.015em;
  margin: .28em 0 0;
  max-width: 16ch;
  text-wrap: balance;
}
.hero__title { text-shadow: 0 2px 22px rgba(8,10,6,.42); }
.hero__title em { font-style: italic; font-weight: 400; color: #BB9556; }
.hero__aside {
  padding-bottom: .6em;
  border-left: 1px solid rgba(244,240,232,.28);
  padding-left: 28px;
}
.hero__aside p {
  font-size: 1.02rem;
  line-height: 1.55;
  color: #E6E1D4;
  margin: 0 0 1.6em;
  text-wrap: pretty;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__meta {
  position: absolute;
  z-index: 3;
  top: clamp(96px, 13vh, 150px);
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .8rem;
  letter-spacing: .04em;
}
.stars { color: var(--gold-soft); letter-spacing: .12em; font-size: .92rem; }
.hero__meta b { font-weight: 600; color: #F4F0E8; }
.hero__meta span { color: #CFCABD; }
.hero__pin { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-soft); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold-soft) 28%, transparent); flex: none; }

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .62rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(244,240,232,.7);
}
.scroll-cue .line {
  width: 1px; height: 46px;
  background: linear-gradient(rgba(244,240,232,.7), transparent);
  animation: cue 2.4s var(--ease) infinite;
  transform-origin: top;
}
@media (max-width: 720px) { .scroll-cue { display: none; } }
@keyframes cue {
  0% { transform: scaleY(0); opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  70%,100% { transform: scaleY(1) translateY(46px); opacity: 0; }
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; gap: 26px; }
  .hero__aside { border-left: 0; padding-left: 0; border-top: 1px solid rgba(244,240,232,.24); padding-top: 24px; }
  .hero__meta { top: 84px; }
}

/* ============================================================
   MARQUEE / trust strip
   ============================================================ */
.trust {
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
  overflow: hidden;
}
.trust__row {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  padding: 26px var(--gutter);
  flex-wrap: wrap;
  justify-content: center;
}
.trust__item {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--fg-soft);
  white-space: nowrap;
}
.trust__item b { font-style: normal; font-weight: 600; color: var(--fg); font-family: var(--sans); font-size: .9rem; letter-spacing: .04em; }
.trust__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* ============================================================
   SECTION scaffolding
   ============================================================ */
.section { padding-block: var(--section-y); }
/* Tighten the gap between About and What we do */
#about { padding-top: clamp(72px, 8.5vw, 138px); padding-bottom: clamp(52px, 6vw, 104px); }
#services { padding-top: clamp(52px, 6vw, 104px); }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 86px);
}
.section-head .lead { max-width: 50ch; }
.section-head--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.section-head--center .lead { margin-inline: auto; }
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; }
}

/* ============================================================
   INTRO / ethos split
   ============================================================ */
.ethos { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(48px, 6vw, 96px); align-items: center; }
.ethos__media { position: relative; }
.ethos__stack { position: relative; aspect-ratio: 1 / 1.04; }
.ethos__img { position: absolute; object-fit: cover; border-radius: var(--radius); }
.ethos__img--main {
  top: 0; right: 0;
  width: 82%; height: 84%;
}
.ethos__img--sub {
  bottom: 0; left: 0;
  width: 50%; height: 44%;
  border: 7px solid var(--bg);
  box-shadow: 0 30px 60px -32px rgba(20,22,15,.55);
}
.ethos__cap {
  position: absolute;
  top: 40%; bottom: auto; left: 0; right: auto;
  background: var(--surface);
  color: var(--fg);
  padding: 13px 20px;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -28px rgba(20,22,15,.5);
  display: flex;
  flex-direction: column;
  gap: .35em;
}
.ethos__cap-k { font-family: var(--serif); font-size: 1.28rem; font-weight: 600; line-height: 1; color: var(--fg); }
.ethos__cap-v { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.ethos__body p { color: var(--fg-soft); margin: 0 0 .7em; max-width: 52ch; text-wrap: pretty; }
.ethos__body .h2 { color: var(--fg); margin: .5em 0 .7em; font-size: 47px; }
.ethos__lead {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.1vw, 1.7rem);
  line-height: 1.32;
  color: var(--fg) !important;
  letter-spacing: -.005em;
  margin-bottom: 1.5em !important;
  max-width: 46ch;
}
.ethos__cta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 2.2em;
  padding-top: 2em;
  border-top: 1px solid var(--hairline);
}
.about-list {
  list-style: none;
  margin: 1.9em 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
}
.about-list li { display: flex; align-items: flex-start; gap: 13px; }
.about-list__ic {
  flex: none;
  display: grid; place-items: center;
  width: 26px; height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  color: var(--gold);
}
.about-list__ic svg { width: 14px; height: 14px; }
.about-list li > span:last-child {
  font-size: .94rem;
  line-height: 1.4;
  color: var(--fg-soft);
}
.about-list b {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .98rem;
  color: var(--fg);
  letter-spacing: -.005em;
}
@media (max-width: 540px) { .about-list { grid-template-columns: 1fr; } }
.call-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 16px;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  background: var(--surface);
  transition: border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.call-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -26px rgba(20,22,15,.5);
}
.call-card__ic {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-fg);
  flex: none;
  transition: transform .4s var(--ease);
}
.call-card__ic svg { width: 20px; height: 20px; }
.call-card:hover .call-card__ic { transform: rotate(-8deg); }
.call-card__txt { display: flex; flex-direction: column; gap: .3em; line-height: 1; }
.call-card__label { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-soft); white-space: nowrap; }
.call-card__num { font-family: var(--serif); font-size: 1.42rem; color: var(--fg); line-height: 1; white-space: nowrap; }
.call-card .arrow { color: var(--gold); font-size: 1rem; transition: transform .4s var(--ease); margin-left: 4px; }
.call-card:hover .arrow { transform: translateX(4px); }
@media (max-width: 820px) { .ethos { grid-template-columns: 1fr; gap: 40px; } .ethos__cta { gap: 18px; } }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.services-more {
  display: flex;
  justify-content: center;
  margin-top: clamp(44px, 5.5vw, 76px);
}
.service {
  background: var(--bg);
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: background .5s var(--ease);
}
.service__media { position: relative; overflow: hidden; }
.service__media image-slot, .service__img { width: 100%; aspect-ratio: 16/11; object-fit: cover; display: block; }
.service__img { transition: transform .9s var(--ease); }
.service:hover .service__img { transform: scale(1.04); }
.service__media .num {
  position: absolute; top: 16px; left: 18px; z-index: 2;
  font-family: var(--serif); font-size: 1rem; color: #F4F0E8;
  letter-spacing: .1em;
  text-shadow: 0 1px 10px rgba(0,0,0,.4);
}
.service__body { padding: 26px 28px 30px; }
.service__body h3 { color: var(--fg); margin-bottom: .35em; font-size: clamp(1.4rem, 2.1vw, 1.7rem); }
.service__body p { font-size: .94rem; color: var(--fg-soft); margin: 0 0 1.3em; text-wrap: pretty; }
.service__link {
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: .5em;
  white-space: nowrap;
}
.service__link .arrow { transition: transform .4s var(--ease); }
.service:hover .service__link .arrow { transform: translateX(4px); }
.service::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.service:hover::after { transform: scaleX(1); }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .services-grid { grid-template-columns: 1fr; } }

/* ============================================================
   VALUES — dark feature band
   ============================================================ */
.feature {
  background: var(--feature-bg);
  color: var(--feature-fg);
  transition: background .6s var(--ease), color .6s var(--ease);
}
.feature .eyebrow { color: var(--feature-gold); }
.feature .h2 { color: var(--feature-fg); }
.feature .lead { color: var(--feature-soft); }

/* ---- Reasons: editorial 2-column split (intro left + list right) ---- */
.reasons2 {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(40px, 6vw, 104px);
  align-items: start;
}
.reasons2__head { text-align: left; max-width: none; margin: 0; position: sticky; top: 116px; }
.reasons2__head .h2 { color: var(--feature-fg); margin: .35em 0 .6em; }
.reasons2__head .lead { color: var(--feature-soft); margin: 0 0 2em; max-width: 34ch; }
.reasons2__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 5vw, 80px) clamp(48px, 7vw, 130px);
}
.r2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.r2__ic {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid var(--feature-line);
  color: var(--feature-gold);
  margin-bottom: clamp(18px, 2vw, 26px);
  transition: transform .45s var(--ease), background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.r2__ic svg { width: 30px; height: 30px; }
.r2:hover .r2__ic { background: var(--feature-gold); color: var(--feature-bg); border-color: var(--feature-gold); transform: translateY(-3px); }
.r2 h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.7vw, 1.6rem);
  line-height: 1.18;
  color: var(--feature-fg);
  margin: 0 0 .55em;
}
.r2 p { color: var(--feature-soft); font-size: .96rem; line-height: 1.55; margin: 0 auto; max-width: 38ch; text-wrap: pretty; }

/* ---- Reasons: single centered column list ---- */
.rlist {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}
.rlist__item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: clamp(22px, 2.6vw, 38px);
  padding: clamp(26px, 2.8vw, 38px) 0;
  border-top: 1px solid var(--feature-line);
  transition: padding-left .45s var(--ease);
}
.rlist__item:last-child { border-bottom: 1px solid var(--feature-line); }
.rlist__ic {
  display: grid; place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  border: 1px solid var(--feature-line);
  color: var(--feature-gold);
  flex: none;
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.rlist__ic svg { width: 28px; height: 28px; }
.rlist__item:hover { padding-left: clamp(8px, 1vw, 16px); }
.rlist__item:hover .rlist__ic {
  background: var(--feature-gold);
  color: var(--feature-bg);
  border-color: var(--feature-gold);
  transform: rotate(-6deg);
}
.rlist__c h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  line-height: 1.15;
  color: var(--feature-fg);
  margin: 0 0 .3em;
}
.rlist__c p {
  color: var(--feature-soft);
  font-size: .98rem;
  line-height: 1.5;
  margin: 0;
  max-width: 52ch;
  text-wrap: pretty;
}
@media (max-width: 900px) {
  .reasons2 { grid-template-columns: 1fr; gap: 36px; }
  .reasons2__head { position: static; }
}
@media (max-width: 540px) {
  .rlist__item { column-gap: 18px; }
  .rlist__ic { width: 52px; height: 52px; }
  .rlist__ic svg { width: 24px; height: 24px; }
}
.reasons2__cta { text-align: center; margin-top: clamp(44px, 5vw, 72px); }
@media (max-width: 560px) {
  .reasons2__grid { grid-template-columns: 1fr; }
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--feature-line);
  border: 1px solid var(--feature-line);
  margin-top: clamp(40px, 5vw, 70px);
}
.value {
  background: var(--feature-bg);
  padding: clamp(34px, 4vw, 52px) clamp(28px, 3vw, 44px);
  transition: background .5s var(--ease);
}
.value:hover { background: color-mix(in srgb, var(--feature-bg) 90%, var(--feature-fg)); }
.value__num {
  font-family: var(--serif); font-size: 1rem; color: var(--feature-gold);
  letter-spacing: .1em; margin-bottom: 1.8em; display: block;
}
.value__ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border: 1px solid var(--feature-line);
  border-radius: 50%;
  color: var(--feature-gold);
  margin-bottom: 1.8em;
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.value__ic svg { width: 24px; height: 24px; }
.value:hover .value__ic { background: var(--feature-gold); color: var(--feature-bg); border-color: var(--feature-gold); transform: translateY(-2px); }
.value h3 { color: var(--feature-fg); font-size: 1.5rem; margin-bottom: .5em; }
.value p { color: var(--feature-soft); font-size: .96rem; margin: 0; text-wrap: pretty; }
.values--quad { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) { .values, .values--quad { grid-template-columns: 1fr; } }

/* ============================================================
   BEFORE & AFTER
   ============================================================ */
.ba { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.ba__compare {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 40px 90px -50px rgba(20,22,15,.6);
  cursor: ew-resize;
  touch-action: pan-y;   /* allow vertical page scroll; horizontal drag = slider */
  user-select: none;
  -webkit-user-select: none;
  --pos: 50%;
}
.ba__layer { position: absolute; inset: 0; }
.ba__layer image-slot, .ba__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba__layer--after { clip-path: inset(0 0 0 var(--pos)); }
.ba__before image-slot, .ba__layer--before image-slot {
  background: linear-gradient(160deg, #6b6256, #4a443a);
}
.ba__layer--after image-slot {
  background: radial-gradient(120% 100% at 70% 20%, #3a4a3c, #243019 60%, #1a2114);
}
.ba__label {
  position: absolute; top: 16px; z-index: 4;
  font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  color: #fff;
  background: rgba(20,22,15,.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: .5em 1em; border-radius: 100px;
}
.ba__label--before { left: 16px; }
.ba__label--after { right: 16px; }
.ba__divider {
  position: absolute; top: 0; bottom: 0; z-index: 5;
  left: var(--pos);
  width: 2px; margin-left: -1px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 14px rgba(0,0,0,.35);
  pointer-events: none;
}
.ba__handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.95);
  border: 0;
  color: var(--feature-bg);
  font-size: .8rem; letter-spacing: -.1em;
  display: grid; place-items: center;
  cursor: ew-resize;
  pointer-events: auto;
  box-shadow: 0 8px 24px -6px rgba(0,0,0,.5);
  transition: transform .25s var(--ease);
}
.ba__handle:hover { transform: translate(-50%, -50%) scale(1.06); }
.ba__handle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ba__body .h2 { color: var(--fg); margin: .4em 0 .4em; }
.ba__body p { color: var(--fg-soft); margin: 0; max-width: 50ch; text-wrap: pretty; }
.ba__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.9em; }
.chip {
  font-size: .76rem; letter-spacing: .04em; font-weight: 500;
  color: var(--fg-soft);
  border: 1px solid var(--hairline);
  border-radius: 100px;
  padding: .55em 1.1em;
  background: var(--surface);
  transition: border-color .3s, color .3s;
}
.chip:hover { border-color: var(--gold); color: var(--fg); }

/* Before/After carousel (multiple comparisons) */
.ba-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.ba-carousel__track { display: flex; transition: transform .55s var(--ease); }
.ba-slide { flex: 0 0 100%; min-width: 100%; }
.ba-carousel .ba__compare { box-shadow: none; border-radius: 0; }
.ba-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: clamp(16px, 2vw, 24px);
}
.ba-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--fg);
  display: grid; place-items: center;
  cursor: pointer;
  font-size: 1.3rem; line-height: 1;
  transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
}
.ba-arrow:hover { border-color: var(--gold); color: var(--gold); }
.ba-dots { display: flex; align-items: center; gap: 8px; }
.ba-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0; padding: 0;
  background: var(--hairline);
  cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.ba-dot.is-active { background: var(--gold); transform: scale(1.3); }

@media (max-width: 860px) { .ba { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro .lead { max-width: 34ch; }
.faq { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--hairline); }
.faq__item:last-child { border-bottom: 1px solid var(--hairline); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  text-align: left;
  background: none; border: 0; cursor: pointer;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  color: var(--fg);
  padding: clamp(22px, 2.4vw, 30px) 0;
  transition: color .3s;
}
.faq__q:hover { color: var(--gold); }
.faq__icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 16px; height: 1.5px; background: var(--gold);
  transform: translate(-50%, -50%);
  transition: transform .4s var(--ease), opacity .3s;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.open .faq__icon::after { transform: translate(-50%, -50%) rotate(0); opacity: 0; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__item.open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a p { color: var(--fg-soft); font-size: 1rem; margin: 0 0 clamp(22px, 2.4vw, 30px); max-width: none; text-wrap: pretty; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-intro { position: static; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }

/* ---- carousel ---- */
.quote-carousel { position: relative; }
.quote-viewport { overflow: hidden; }
.quote-track {
  display: flex;
  gap: clamp(20px, 3vw, 36px);
  transition: transform .7s var(--ease);
  will-change: transform;
}
/* two per view: each card spans half the viewport minus half the gap */
.quote-track .quote {
  flex: 0 0 calc((100% - clamp(20px, 3vw, 36px)) / 2);
  min-width: 0;
}
.quote-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: clamp(34px, 4vw, 52px);
}
.quote-arrow {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--fg);
  font-size: 1.1rem;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), opacity .3s;
}
.quote-arrow:hover { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); transform: translateY(-2px); }
.quote-arrow:disabled { opacity: .32; cursor: default; pointer-events: none; }
.quote-dots { display: flex; align-items: center; gap: 10px; }
.quote-dots button {
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--hairline);
  cursor: pointer;
  transition: background .4s var(--ease), width .4s var(--ease), border-radius .4s var(--ease);
}
.quote-dots button[aria-current="true"] {
  width: 26px;
  border-radius: 100px;
  background: var(--gold);
}
@media (max-width: 760px) {
  .quote-track .quote { flex: 0 0 100%; }
}
.quote {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(30px, 3vw, 42px);
  display: flex; flex-direction: column;
}
.quote__mark { font-family: var(--serif); font-size: 3.4rem; line-height: .6; color: var(--gold); margin-bottom: .2em; }
.quote__text { font-family: var(--serif); font-size: 1.22rem; line-height: 1.45; color: var(--fg); margin: 0 0 auto; text-wrap: pretty; }
.quote__by { display: flex; align-items: center; gap: 14px; margin-top: 2em; padding-top: 1.5em; border-top: 1px solid var(--hairline); }
.quote__av { width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, var(--gold) 15%, var(--surface)); border: 1px solid color-mix(in srgb, var(--gold) 38%, transparent); flex: none; display: grid; place-items: center; color: var(--gold); }
.quote__av svg { width: 20px; height: 20px; }
.quote__by .n { display: block; font-weight: 600; font-size: .92rem; color: var(--fg); line-height: 1.2; }
.quote__by .l { display: block; font-size: .76rem; color: var(--fg-soft); line-height: 1.2; }
.quote__by br { display: none; }
.quote__stars { color: var(--gold); letter-spacing: .1em; font-size: .82rem; margin-bottom: 1.2em; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(120px, 13.5vw, 205px);
  gap: clamp(10px, 1.4vw, 18px);
}
.gallery image-slot, .gallery__img { width: 100%; height: 100%; }
.gallery__img { object-fit: cover; display: block; cursor: zoom-in; }

/* ---- lightbox ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(20px, 5vw, 72px);
  background: rgba(12, 14, 9, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__stage {
  margin: 0;
  max-width: 90vw; max-height: 86vh;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.lightbox__img {
  max-width: 90vw; max-height: 78vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.8);
  transform: scale(.96); transition: transform .45s var(--ease);
}
.lightbox.open .lightbox__img { transform: scale(1); }
.lightbox__cap {
  font-size: .82rem; letter-spacing: .04em;
  color: rgba(244,240,232,.82);
  text-align: center;
}
.lightbox__close {
  position: absolute; top: clamp(16px, 3vw, 32px); right: clamp(16px, 3vw, 32px);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(244,240,232,.1); border: 1px solid rgba(244,240,232,.22);
  color: #F4F0E8; font-size: 1.7rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.lightbox__close:hover { background: rgba(244,240,232,.2); transform: rotate(90deg); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(244,240,232,.08); border: 1px solid rgba(244,240,232,.2);
  color: #F4F0E8; font-size: 1.4rem; cursor: pointer;
  display: grid; place-items: center;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.lightbox__nav:hover { background: var(--gold); border-color: var(--gold); color: #1a1d12; }
.lightbox__nav--prev { left: clamp(12px, 3vw, 36px); }
.lightbox__nav--next { right: clamp(12px, 3vw, 36px); }
.lightbox__count {
  position: absolute; bottom: clamp(18px, 3vw, 34px); left: 50%; transform: translateX(-50%);
  font-size: .76rem; letter-spacing: .18em; color: rgba(244,240,232,.6);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) {
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}
/* Perfectly tiling mosaic — every cell filled, varied sizes */
.g1 { grid-column: 1 / span 4;  grid-row: 1 / span 2; }
.g2 { grid-column: 5 / span 4;  grid-row: 1; }
.g3 { grid-column: 9 / span 4;  grid-row: 1 / span 2; }
.g4 { grid-column: 5 / span 4;  grid-row: 2; }
.g5 { grid-column: 1 / span 4;  grid-row: 3 / span 2; }
.g6 { grid-column: 5 / span 4;  grid-row: 3; }
.g7 { grid-column: 9 / span 4;  grid-row: 3; }
.g8 { grid-column: 5 / span 8;  grid-row: 4; }
@media (max-width: 820px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 38vw; }
  .gallery > * { grid-column: auto !important; grid-row: auto !important; }
  .g1 { grid-column: span 2 !important; }
  .g8 { grid-column: span 2 !important; }
}

/* ============================================================
   VENDORS
   ============================================================ */
.vendors { background: var(--surface); border-block: 1px solid var(--hairline); }
.vendor-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  margin-bottom: clamp(48px, 6vw, 84px);
}
.vendor-logo {
  background: var(--bg);
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  padding: clamp(18px, 2vw, 30px);
  transition: background .45s var(--ease);
}
.vendor-logo img {
  max-width: 100%;
  max-height: 58px;
  width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.02);
  opacity: .55;
  mix-blend-mode: multiply;
  transition: filter .5s var(--ease), opacity .5s var(--ease);
}
.vendor-logo:hover { background: var(--surface); }
.vendor-logo:hover img { filter: none; opacity: 1; }
.vendor-logo img.vendor-logo--tall { max-height: 92px; }
@media (max-width: 900px) { .vendor-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vendor-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.vendor-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.vendor-cat {
  background: var(--surface);
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.4vw, 38px);
}
.vendor-cat h3 {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.3em;
  padding-bottom: 1em;
  border-bottom: 1px solid var(--hairline);
}
.vendor-cat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7em; }
.vendor-cat li {
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--fg);
  line-height: 1.2;
}
@media (max-width: 820px) { .vendor-cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .vendor-cats { grid-template-columns: 1fr; } }

.vendor-why { text-align: center; margin-top: clamp(48px, 6vw, 84px); }
.vendor-why__intro { color: var(--fg-soft); font-size: 1.02rem; margin: 0 0 1.6em; }
.vendor-why__chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 780px; margin-inline: auto; }

/* ============================================================
   PROCESS — 7 steps
   ============================================================ */
.process { background: var(--surface); border-block: 1px solid var(--hairline); }
/* When testimonials flows straight into vendors (gallery page), drop the seam
   between them and tighten the gap so they read as one continuous block. */
.process:has(+ .vendors) { border-bottom: 0; padding-bottom: clamp(40px, 5vw, 74px); }
.process + .vendors { border-top: 0; padding-top: clamp(40px, 5vw, 74px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.step {
  background: var(--surface);
  padding: clamp(28px, 2.6vw, 40px) clamp(22px, 2vw, 32px) clamp(34px, 3vw, 46px);
  position: relative;
  min-height: 230px;
  display: flex; flex-direction: column;
  transition: background .45s var(--ease);
}
.step:hover { background: var(--bg); }
.step__n {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 500;
  color: var(--gold); line-height: 1; margin-bottom: .5em;
}
.step h3 { font-size: 1.18rem; color: var(--fg); margin-bottom: .5em; line-height: 1.2; }
.step p { font-size: .9rem; color: var(--fg-soft); margin: 0; text-wrap: pretty; }
.step--cta { background: var(--accent); color: var(--accent-fg); justify-content: center; }
.step--cta .step__n { color: color-mix(in srgb, var(--accent-fg) 60%, transparent); transition: transform .45s var(--ease), color .45s var(--ease); }
.step--cta h3 { color: var(--accent-fg); }
.step--cta p { color: color-mix(in srgb, var(--accent-fg) 78%, transparent); }
.step--cta .link-underline { color: var(--accent-fg); margin-top: 1.2em; }
.step--cta:hover { background: color-mix(in srgb, var(--accent) 86%, #000); }
.step--cta:hover .step__n { transform: translateX(10px); color: var(--accent-fg); }
.step--cta:hover .link-underline { background-size: 100% 1px; }
.step--cta:hover .link-underline .arrow { transform: translateX(5px); }
@media (max-width: 940px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; } }

/* ============================================================
   DESIGN CENTER / CONTACT
   ============================================================ */
.designcenter { background: var(--feature-bg); color: var(--feature-fg); }
.dc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.dc-info .eyebrow { color: var(--feature-gold); }
.dc-info .h2 { color: var(--feature-fg); margin: .4em 0 .6em; }
.dc-info p { color: var(--feature-soft); max-width: 46ch; margin: 0 0 2em; text-wrap: pretty; }
.dc-details { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-top: 2.2em; padding-top: 2.2em; border-top: 1px solid var(--feature-line); }
.dc-detail { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; }
.dc-detail .k { grid-column: 2; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--feature-gold); margin: 0; }
.dc-ic { grid-column: 1; grid-row: 1; display: inline-flex; color: var(--feature-gold); }
.dc-ic svg { width: 20px; height: 20px; }
.dc-detail .v { grid-column: 1 / -1; color: var(--feature-fg); font-size: .98rem; line-height: 1.5; margin-top: .7em; overflow-wrap: anywhere; }
.dc-detail a:hover { color: var(--feature-gold); }
.dc-card {
  background: var(--surface);
  color: var(--fg);
  border-radius: var(--radius);
  padding: clamp(30px, 3vw, 46px);
  box-shadow: 0 40px 90px -50px rgba(0,0,0,.7);
}
.dc-card h3 { color: var(--fg); margin-bottom: .2em; }
.dc-card .sub { color: var(--fg-soft); font-size: .92rem; margin-bottom: 1.8em; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-soft); margin-bottom: .6em; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: .96rem;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: .9em 1em;
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
.field textarea { resize: vertical; min-height: 92px; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dc-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: .72rem; color: var(--fg-soft); margin-top: 14px; text-align: center; }
@media (max-width: 860px) { .dc-grid { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 560px) {
  /* keep the details two-by-two; email wraps after the @ so it never collides */
  .dc-details { gap: 24px 16px; }
  .dc-detail .v { font-size: .84rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--feature-bg); color: var(--feature-fg); border-top: 1px solid var(--feature-line); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.4fr; gap: clamp(28px, 4vw, 60px); padding-block: clamp(56px, 7vw, 92px); }
.footer .brand-mark { color: var(--feature-fg); font-size: 1.9rem; }
.footer__brand { text-align: center; }
.footer__blurb { color: var(--feature-soft); font-size: .94rem; max-width: 32ch; margin: 1.2em auto 0; }
.footer__logo { width: auto; height: 110px; max-width: 100%; background: transparent; object-fit: contain; display: block; margin-inline: auto; }
.footer__brand .footer__social { margin-top: 1.8em; justify-content: center; }
.footer__col h4 { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--feature-gold); margin-bottom: 1.4em; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .85em; }
.footer__col a { color: var(--feature-soft); font-size: .94rem; transition: color .3s; }
.footer__col a:hover { color: var(--feature-fg); }
.footer__news p { color: var(--feature-soft); font-size: .92rem; margin: 0 0 1.2em; }
.footer__news .row { display: flex; border: 1px solid var(--feature-line); border-radius: var(--radius); overflow: hidden; }
.footer__news input { flex: 1; background: transparent; border: 0; color: var(--feature-fg); padding: .9em 1em; font-family: var(--sans); font-size: .9rem; }
.footer__news input:focus { outline: none; }
.footer__news button { background: var(--accent); color: var(--accent-fg); border: 0; padding: 0 1.3em; cursor: pointer; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-block: 26px; border-top: 1px solid var(--feature-line);
  font-size: .8rem; color: var(--feature-soft);
}
.footer__bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; transition: color .3s var(--ease); }
.footer__bottom a:hover { color: var(--feature-gold); }
.footer__social { display: flex; gap: 16px; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--feature-line);
  display: grid; place-items: center; color: var(--feature-soft);
  transition: all .35s var(--ease);
}
.footer__social a:hover { background: var(--feature-gold); color: var(--feature-bg); border-color: var(--feature-gold); transform: translateY(-2px); }
.footer__social svg { width: 17px; height: 17px; }
.footer__map h4 { margin-bottom: 1.4em; }
.footer__map-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--feature-line);
  filter: grayscale(1) contrast(.92);
  transition: filter .5s var(--ease);
}
.footer__map-frame:hover { filter: grayscale(0) contrast(1); }
.footer__map-frame iframe { display: block; width: 100%; height: 210px; border: 0; }
/* transparent click layer so tapping the map opens the Google Maps profile */
.footer__map-overlay { position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.footer__map-link {
  display: inline-flex; align-items: center; gap: .5em;
  margin-top: 1.1em;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  color: var(--feature-gold);
}
.footer__map-link .arrow { transition: transform .4s var(--ease); }
.footer__map-link:hover .arrow { transform: translateX(4px); }
@media (max-width: 820px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__map { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__top { grid-template-columns: 1fr; text-align: center; }
  .footer__blurb { margin-inline: auto; }
  .footer__brand .footer__social { justify-content: center; }
  .footer__col ul { justify-items: center; }
  .footer__news p { margin-inline: auto; }
  .footer__map h4 { text-align: center; }
  .footer__map-link { justify-content: center; }
  .footer__bottom { justify-content: center; text-align: center; }
}

/* ============================================================
   KEYWORD MARQUEE
   ============================================================ */
.marquee-band {
  background: var(--bg);
  border-block: 1px solid var(--hairline);
  padding-block: clamp(26px, 3.6vw, 46px);
  overflow: hidden;
}
.marquee {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.kw {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.6vw, 3.8rem);
  line-height: 1;
  letter-spacing: -.012em;
  color: var(--fg);
  padding-inline: clamp(18px, 2.2vw, 38px);
  white-space: nowrap;
}
.kw--outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  text-stroke: 1px var(--gold);
}
.marquee__sep {
  color: var(--gold);
  font-size: clamp(.8rem, 1.6vw, 1.3rem);
  opacity: .7;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
  .marquee-band { overflow-x: auto; }
}

/* ============================================================
   REVEAL animations
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
  [data-reveal].in { opacity: 1; transform: none; }
  [data-reveal-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  [data-reveal-stagger].in > * { opacity: 1; transform: none; }
  .hero [data-hero] { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
  .hero.in [data-hero] { opacity: 1; transform: none; }
}

/* ============================================================
   IMAGE-SLOT placeholder styling (botanical empty state)
   The component frame bg is ~transparent, so host background shows through.
   ============================================================ */
image-slot {
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--sage) 22%, var(--surface)),
      color-mix(in srgb, var(--sand, #C9B89E) 26%, var(--surface)));
  color: color-mix(in srgb, var(--fg) 55%, transparent);
}
/* Dark, intentional hero even when empty so overlay text stays legible */
.hero__media image-slot {
  background:
    radial-gradient(120% 90% at 70% 18%, #3a4a3c 0%, #28321f 45%, #1a2114 100%);
  color: rgba(244,240,232,.62);
}
.ethos__media image-slot {
  background: linear-gradient(160deg, color-mix(in srgb, var(--sage) 30%, var(--surface)), color-mix(in srgb, var(--gold-soft) 22%, var(--surface)));
}
.ethos__img--sub {
  background: linear-gradient(160deg, color-mix(in srgb, var(--gold-soft) 26%, var(--surface)), color-mix(in srgb, var(--sage) 32%, var(--surface)));
}

/* small print helpers */
.muted { color: var(--fg-soft); }
.center { text-align: center; }

/* ============================================================
   CONTACT FORM — honeypot + submit status (theme additions)
   ============================================================ */
.cb-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin-top: 14px;
  font-size: .92rem;
  line-height: 1.5;
  border-radius: var(--radius);
  padding: 12px 16px;
}
.form-status.is-success {
  color: #1f3d2a;
  background: color-mix(in srgb, var(--sage) 24%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--sage) 45%, transparent);
}
.form-status.is-error {
  color: #7a2e26;
  background: #f7e7e3;
  border: 1px solid #e0b4ab;
}
.dc-card button[type="submit"][disabled] {
  opacity: .6;
  cursor: progress;
}

/* ==========================================================================
   PAGE HEAD / BREADCRUMB — standalone pages (About, etc.)
   Dark banner beneath the fixed header: page title + "Home / Current" trail.
   The dark ground keeps the header's light-text (un-scrolled) state readable.
   ========================================================================== */
.page-head {
  background: var(--feature-bg);
  color: var(--feature-fg);
  padding-top: clamp(120px, 16vh, 172px);
  padding-bottom: clamp(34px, 5vh, 62px);
  border-bottom: 1px solid var(--feature-line);
}
.page-head__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -.01em;
  font-size: clamp(40px, 6vw, 76px);
  color: var(--feature-fg);
}
.crumbs {
  margin-top: clamp(14px, 2vh, 22px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55em;
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--feature-soft);
}
.crumbs a {
  color: var(--feature-soft);
  text-decoration: none;
  transition: color .3s var(--ease);
}
.crumbs a:hover { color: var(--feature-gold); }
.crumbs__sep { color: var(--feature-line); }
.crumbs__current { color: var(--feature-fg); }

/* First section after the banner: comfortable breathing room below the
   breadcrumb before the About intro begins. */
.page-head + main > .section:first-child { padding-top: clamp(124px, 17vh, 232px); }

/* About page: tighter vertical rhythm than the landing — many stacked
   sections would feel too airy at the full --section-y. */
.about-page > .section { padding-block: clamp(64px, 7vw, 118px); }

/* Extra breathing room beneath the Values section. */
.about-page > #values { padding-bottom: clamp(96px, 11vw, 172px); }

/* Extra breathing room beneath the How we work / Process section. */
.about-page > #process { padding-bottom: clamp(96px, 11vw, 172px); }

/* Let's talk CTA: vertically centre the two columns (headline vs copy+button)
   instead of the section default bottom-alignment. */
.about-page > #about-cta .section-head,
.services-page > #services-cta .section-head,
.service-detail > #service-cta .section-head,
.gallery-page > #gallery-cta .section-head { align-items: center; }

/* Extra breathing room above the first service on the Services page. */
.services-page > #services { padding-top: clamp(150px, 19vh, 256px); }

/* ==========================================================================
   ABOUT — Mission & Vision
   Two hairline-split cards, matching the .steps grid treatment.
   ========================================================================== */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.mv-card {
  background: var(--surface);
  padding: clamp(30px, 3.6vw, 54px);
  display: flex;
  flex-direction: column;
}
.mv-card__ic {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid var(--hairline);
  margin-bottom: 1.15em;
}
.mv-card__ic svg { width: 22px; height: 22px; }
.mv-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.05;
  margin-bottom: .5em;
  color: var(--fg);
}
.mv-card p { color: var(--fg-soft); margin: 0; text-wrap: pretty; }
@media (max-width: 760px) { .mv-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   ABOUT — Team
   Portrait cards. The photo slot shows a serif monogram until a real headshot
   <img> is dropped in (the image covers the monogram).
   ========================================================================== */
/* Founders header — vertically centered columns, copy settles at 3 lines */
#team .section-head {
  align-items: center;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}
#team .section-head .lead { max-width: 62ch; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  justify-content: center;
  gap: clamp(28px, 4vw, 64px);
}
.member__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--feature-bg);
  display: grid;
  place-items: center;
}
.member__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* Per-photo framing so every face lands at the same height, size, and
     horizontal centre. Set these inline on each <img> (see Team markup):
       --zoom  zoom in on the face (>1)
       --tx    nudge left/right (%),  --ty  nudge up/down (%)
       --flip  -1 mirrors horizontally (to match body direction)
     Zoom + mirror pivot on the top-centre so the frame always stays covered. */
  transform: translateX(var(--tx, 0%)) translateY(var(--ty, 0%)) scale(var(--zoom, 1)) scaleX(var(--flip, 1));
  transform-origin: center top;
  display: block;
}
.member__mono {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 56px);
  letter-spacing: .04em;
  color: var(--gold-soft);
}
.member { text-align: center; }
.member__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  margin: .8em 0 .1em;
  color: var(--fg);
}
.member__role {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.member__bio { font-size: .92rem; color: var(--fg-soft); margin: .75em 0 0; text-wrap: pretty; }
/* "View bio" trigger under a founder's role. */
.member__bio {
  appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .45em;
  margin-top: .85em;
  padding: .2em 0;
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--gold);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.member__bio .arrow { transition: transform .3s var(--ease); }
.member__bio:hover { color: var(--gold); }
.member__bio:hover .arrow { transform: translateX(4px); }

.member__social {
  display: flex;
  justify-content: center;
  gap: .5em;
  margin-top: .85em;
}

/* ==========================================================================
   BIO MODAL — founder biography dialog (About page)
   ========================================================================== */
.bio-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 44px);
  background: color-mix(in srgb, #14160F 78%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.bio-modal.open { opacity: 1; visibility: visible; }
.bio-modal__panel {
  position: relative;
  display: grid;
  grid-template-columns: 250px 1fr;
  width: min(760px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: var(--surface);
  border-radius: var(--radius);
  text-align: left;
  transform: translateY(12px);
  transition: transform .4s var(--ease);
}
.bio-modal.open .bio-modal__panel { transform: none; }
.bio-modal__media { position: relative; overflow: hidden; background: var(--feature-bg); min-height: 100%; }
.bio-modal__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: translateX(var(--tx, 0%)) translateY(var(--ty, 0%)) scale(var(--zoom, 1)) scaleX(var(--flip, 1));
  transform-origin: center top;
  display: block;
}
.bio-modal__body { padding: clamp(26px, 3vw, 44px); }
.bio-modal__body .eyebrow { display: block; margin-bottom: .9em; }
.bio-modal__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.08;
  color: var(--fg);
  margin: 0 0 .7em;
}
.bio-modal__body p { color: var(--fg-soft); line-height: 1.75; margin: 0 0 1.05em; text-wrap: pretty; }
.bio-modal__body p:last-child { margin-bottom: 0; }
.bio-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  appearance: none;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border: 1px solid var(--hairline);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 20px;
  line-height: 1;
  color: var(--fg);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.bio-modal__close:hover { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
@media (max-width: 640px) {
  .bio-modal__panel { grid-template-columns: 1fr; }
  .bio-modal__media { aspect-ratio: 4 / 3; min-height: 0; }
}
.member__social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--fg-soft);
  border: 1px solid var(--hairline);
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.member__social a:hover { color: var(--accent-fg); background: var(--accent); border-color: var(--accent); }
.member__social svg { width: 16px; height: 16px; }
@media (max-width: 520px) { .team-grid { grid-template-columns: minmax(0, 320px); } }

/* ==========================================================================
   ABOUT — Core values
   Cards with a gold top rule. Deliberately distinct from the "Why homeowners
   choose us" rlist and the Mission/Vision cards.
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 42px);
}
.value-card {
  padding-top: 20px;
  border-top: 2px solid var(--gold);
}
.value-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.12;
  margin-bottom: .4em;
  color: var(--fg);
}
.value-card p { margin: 0; font-size: .96rem; color: var(--fg-soft); text-wrap: pretty; }
@media (max-width: 820px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   ABOUT — Our history (editorial timeline)
   ========================================================================== */
.timeline {
  margin-top: clamp(28px, 3vw, 48px);
  border-top: 1px solid var(--hairline);
}
.timeline__item {
  display: grid;
  grid-template-columns: minmax(90px, 150px) 1fr;
  gap: clamp(20px, 4vw, 64px);
  padding: clamp(26px, 3vw, 42px) 0;
  border-bottom: 1px solid var(--hairline);
}
.timeline__year {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1;
  color: var(--gold);
}
.timeline__c h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  margin-bottom: .35em;
  color: var(--fg);
}
.timeline__c p { margin: 0; color: var(--fg-soft); text-wrap: pretty; }
@media (max-width: 640px) {
  .timeline__item { grid-template-columns: 1fr; gap: .5em; padding-block: clamp(22px, 6vw, 32px); }
}

/* ==========================================================================
   SERVICES (page template) — editorial alternating feature rows.
   Large image + text, sides alternating; a quiet, boutique take on the
   home's card grid. The breadcrumb banner carries the page title, so this
   section opens straight into the work.
   ========================================================================== */
.svc-list {
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 9vw, 148px);
}
.svc-item {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(30px, 5vw, 88px);
  align-items: center;
}
.svc-item:nth-child(even) .svc-item__media { order: 2; }
.svc-item__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--feature-bg);
}
.svc-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .9s var(--ease);
}
.svc-item:hover .svc-item__media img { transform: scale(1.045); }
.svc-item__index {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1;
  color: var(--gold);
  margin-bottom: .4em;
}
.svc-item__index::after {
  content: "";
  display: inline-block;
  width: clamp(34px, 4vw, 62px);
  height: 1px;
  background: var(--hairline);
  vertical-align: middle;
  margin-left: .7em;
}
.svc-item__title {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.01em;
  font-size: clamp(30px, 3.6vw, 52px);
  margin: 0 0 .45em;
  color: var(--fg);
  text-wrap: balance;
}
.svc-item__body p {
  color: var(--fg-soft);
  font-size: 1.04rem;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 0 1.5em;
  text-wrap: pretty;
}
@media (max-width: 760px) {
  .svc-item { grid-template-columns: 1fr; gap: clamp(20px, 5vw, 30px); }
  /* When stacked, always lead with the image. */
  .svc-item:nth-child(even) .svc-item__media { order: 0; }
}

/* Short editorial intro line above the services list. */
.services-intro {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 2.7vw, 40px);
  line-height: 1.14;
  letter-spacing: -.01em;
  color: var(--fg);
  max-width: 22ch;
  margin: 0 0 clamp(52px, 6.5vw, 96px);
  text-wrap: balance;
}
.services-intro em { font-style: italic; color: var(--gold); }

/* ==========================================================================
   ASSURANCE BAND — reinforcement strip on the Services page.
   Dark full-width band with four trust points before the closing CTA.
   ========================================================================== */
.assurance {
  background: var(--feature-bg);
  color: var(--feature-fg);
  padding-block: clamp(52px, 6.5vw, 92px);
}
.assurance__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 4vw, 58px);
}
/* Keep all four columns exactly equal regardless of text length. */
.assurance__item { min-width: 0; }
.assurance__ic {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--feature-gold);
  border: 1px solid var(--feature-line);
  margin-bottom: 1.1em;
}
.assurance__ic svg { width: 22px; height: 22px; }
.assurance__item h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.15;
  color: var(--feature-fg);
  margin-bottom: .45em;
}
.assurance__item p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--feature-soft);
  /* Even out line lengths so the four columns read as balanced. */
  text-wrap: balance;
}
@media (max-width: 860px) { .assurance__grid { grid-template-columns: repeat(2, 1fr); gap: 34px 30px; } }
@media (max-width: 460px) { .assurance__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   SERVICE DETAIL (single casa_service) — sidebar + wide detail column
   ========================================================================== */
.sd-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: start;
}

/* --- Sidebar --- */
.sd-sidebar {
  position: sticky;
  top: 108px;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 40px);
}
.sd-side-title {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .9em;
}
.sd-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}
.sd-nav__item { border-bottom: 1px solid var(--hairline); }
.sd-nav__item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6em;
  padding: .72em 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.2;
  color: var(--fg-soft);
  text-decoration: none;
  transition: color .3s var(--ease);
}
.sd-nav__mark { color: var(--gold); opacity: 0; transform: translateX(-4px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.sd-nav__item a:hover { color: var(--fg); }
.sd-nav__item a:hover .sd-nav__mark { opacity: 1; transform: none; }
.sd-nav__item.is-active a { color: var(--accent); }
.sd-nav__item.is-active .sd-nav__mark { opacity: 1; transform: none; }

.sd-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(22px, 2vw, 30px);
}
.sd-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.32rem;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: .45em;
}
.sd-card p { font-size: .92rem; color: var(--fg-soft); line-height: 1.55; margin: 0 0 1.3em; }
.sd-card .btn { width: 100%; justify-content: center; }
.sd-card__tel { display: block; width: fit-content; margin: 1.1em auto 0; text-align: center; }

/* --- Main detail column --- */
.sd-figure {
  margin: 0 0 clamp(28px, 3vw, 44px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--feature-bg);
  aspect-ratio: 3 / 2;
}
.sd-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-lead {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(23px, 2.3vw, 33px);
  line-height: 1.24;
  letter-spacing: -.01em;
  color: var(--fg);
  margin: 0 0 clamp(24px, 2.4vw, 38px);
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .sd-layout { grid-template-columns: 1fr; gap: clamp(44px, 6vw, 64px); }
  .sd-sidebar { position: static; order: 2; }
}

/* Body: the editor content the client fills in per service. Editorial prose.
   No max-width — the detail column already bounds the measure via the layout. */
.sd-content { max-width: none; }
.sd-content > :first-child { margin-top: 0; }
.sd-content p {
  margin: 0 0 1.05em;
  color: var(--fg-soft);
  font-size: 1.05rem;
  line-height: 1.8;
  text-wrap: pretty;
}
/* First paragraph reads a touch stronger, like a standfirst. */
.sd-content > p:first-child { font-size: 1.16rem; line-height: 1.7; color: var(--fg); }
.sd-content h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--fg);
  margin: .85em 0 .4em;
}
.sd-content h3 {
  position: relative;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 1.9vw, 29px);
  line-height: 1.15;
  color: var(--fg);
  margin: .7em 0 .25em;
  padding-left: 32px;
}
/* Gold check icon for each subheading (a subtle indent + accent marker). */
.sd-content h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: .14em;
  width: 22px;
  height: 22px;
  background-color: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Keep each heading tight to its paragraph; indent the paragraph to match. */
.sd-content h2 + p { margin-top: 0; }
.sd-content h3 + p { margin-top: 0; padding-left: 32px; }

/* Numbered steps (JS tags h3s that start with a number) use the number as the
   marker instead of a check — no icon, no extra indent. */
.sd-content h3.sd-num { padding-left: 0; }
.sd-content h3.sd-num::before { content: none; }
.sd-content h3.sd-num + p { padding-left: 0; }

/* Book CTA button below the service content. */
.sd-cta { margin-top: clamp(26px, 3vw, 44px); }
.sd-content ul,
.sd-content ol { margin: 0 0 1.4em; color: var(--fg-soft); }
.sd-content ul { list-style: none; padding-left: 0; }
.sd-content ul li {
  position: relative;
  padding-left: 1.6em;
  margin: .6em 0;
  line-height: 1.65;
}
.sd-content ul li::before {
  content: "";
  position: absolute;
  left: .15em;
  top: .58em;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
}
.sd-content ol { padding-left: 1.3em; }
.sd-content ol li { margin: .6em 0; line-height: 1.65; padding-left: .25em; }
.sd-content ol li::marker { color: var(--gold); font-family: var(--serif); }
.sd-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.sd-content strong { color: var(--fg); font-weight: 600; }
.sd-content img { max-width: 100%; height: auto; border-radius: var(--radius); display: block; }
.sd-content > img { margin: 1.9em 0; }
.sd-content figure { margin: 1.9em 0; }
.sd-content figure img { margin: 0; }
.sd-content figcaption { margin-top: .55em; font-size: .82rem; color: var(--fg-soft); text-align: center; }

/* WordPress Gallery block (2–3 images) → a clean, equal editorial image row. */
.sd-content .wp-block-gallery { margin: 2.2em 0; }
.sd-content .wp-block-gallery.has-nested-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
/* Fill the grid cell (override the block's own inline column-width styles). */
.sd-content .wp-block-gallery.has-nested-images > figure {
  margin: 0;
  width: auto !important;
  max-width: none !important;
  flex-basis: auto !important;
}
.sd-content .wp-block-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.sd-content blockquote {
  margin: 1.8em 0;
  padding: .1em 0 .1em 1.25em;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.18rem, 1.7vw, 1.5rem);
  line-height: 1.4;
  color: var(--fg);
}
.sd-content blockquote p { margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
.sd-content hr { border: 0; border-top: 1px solid var(--hairline); margin: 2em 0; }

/* ==========================================================================
   GALLERY PAGE — filterable project grid + lightbox
   ========================================================================== */
.gfilter {
  display: flex;
  flex-wrap: wrap;
  gap: .3em 1.7em;
  margin: 0 0 clamp(28px, 3vw, 50px);
}
.gfilter__btn {
  appearance: none;
  background: none;
  border: 0;
  padding: .45em 0;
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-soft);
  cursor: pointer;
  position: relative;
  transition: color .3s var(--ease);
}
.gfilter__btn:hover { color: var(--fg); }
.gfilter__btn.is-active { color: var(--accent); }
.gfilter__btn.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--gold);
}
.gwork {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
}
.gwork__item {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--feature-bg);
  cursor: pointer;
}
.gwork__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
}
.gwork__item:hover img { transform: scale(1.05); }
@media (max-width: 820px) { .gwork { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gwork { grid-template-columns: 1fr; } }

/* Featured project — large image + thumbnails, with text alongside. */
.fp {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(30px, 4vw, 74px);
  align-items: start;
}
.fp__stage {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--feature-bg);
}
.fp__stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.fp__thumb {
  flex: 1 1 0;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  background: var(--feature-bg);
  opacity: .58;
  outline: 1.5px solid transparent;
  outline-offset: 2px;
  transition: opacity .3s var(--ease), outline-color .3s var(--ease);
}
.fp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp__thumb:hover { opacity: .85; }
.fp__thumb.is-active { opacity: 1; outline-color: var(--gold); }
.fp__body { padding-top: .4em; }
.fp__body .eyebrow { display: block; margin-bottom: 1em; }
.fp__title {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.01em;
  font-size: clamp(28px, 3vw, 44px);
  color: var(--fg);
  margin: 0 0 .5em;
  text-wrap: balance;
}
.fp__tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.35;
  color: var(--gold);
  margin: 0 0 1.2em;
}
.fp__body p { color: var(--fg-soft); line-height: 1.75; margin: 0 0 1.1em; text-wrap: pretty; }
@media (max-width: 820px) { .fp { grid-template-columns: 1fr; gap: clamp(24px, 5vw, 40px); } }

/* ==========================================================================
   BLOG — listing grid + single-post touches
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 50px);
}
.post-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--feature-bg);
  margin-bottom: 1.15em;
}
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__meta {
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .6em;
}
.post-card__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(21px, 1.9vw, 27px);
  line-height: 1.16;
  margin: 0 0 .5em;
  text-wrap: balance;
}
.post-card__title a { color: var(--fg); text-decoration: none; transition: color .3s var(--ease); }
.post-card__title a:hover { color: var(--gold); }
/* Reserve ~3 lines so shorter titles don't lift the excerpt out of line. */
.post-card__title { min-height: 3.4em; }
.post-card__excerpt { color: var(--fg-soft); font-size: .96rem; line-height: 1.6; margin: 0 0 1.1em; text-wrap: pretty; }
@media (max-width: 860px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

/* Blog intro line: sized to read as two lines, not four. */
.blog-page .services-intro { max-width: 30ch; }

/* Post date above the article body. */
.sd-meta {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.15em;
}

/* Blog article prose: plain serif subheadings (no service-style check marker). */
.blog-single .sd-content h3 { padding-left: 0; }
.blog-single .sd-content h3::before { content: none; }
.blog-single .sd-content h3 + p { padding-left: 0; }

/* ==========================================================================
   CONTACT PAGE — service area (cities + ZIP codes)
   ========================================================================== */
.area-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(34px, 4vw, 58px);
}
.area-block__title {
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1em;
  padding-bottom: .85em;
  border-bottom: 1px solid var(--hairline);
}
.area-cities {
  list-style: none;
  margin: 0;
  padding: 0;
  column-gap: clamp(24px, 3vw, 52px);
}
.area-cities--towns { column-width: 200px; }
.area-cities--hoods { column-width: 300px; }
.area-cities li {
  position: relative;
  padding-left: 1.2em;
  margin: 0 0 .7em;
  color: var(--fg-soft);
  break-inside: avoid;
}
.area-cities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.area-cities a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
.area-cities a:hover { color: var(--gold); }
.area-zips { display: flex; flex-wrap: wrap; gap: .45em; }
.zip {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .02em;
  color: var(--fg-soft);
  padding: .36em .72em;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  background: var(--surface);
}
@media (max-width: 760px) { .area-grid { grid-template-columns: 1fr; gap: clamp(30px, 6vw, 46px); } }

/* ==========================================================================
   CONTACT PAGE — full-width location map
   ========================================================================== */
.contact-map { line-height: 0; border-top: 1px solid var(--hairline); }
.contact-map iframe {
  width: 100%;
  height: clamp(320px, 44vh, 520px);
  border: 0;
  display: block;
}


/* ==========================================================================
   Veteran-owned trust bar (home)
   ========================================================================== */
.vetbar {
  background: var(--bg);
}
.vetbar__inner {
  display: flex;
  align-items: center;
  gap: clamp(26px, 4vw, 64px);
  padding-top: clamp(34px, 4.4vw, 58px);
  padding-bottom: clamp(20px, 2.4vw, 32px);
}
.vetbar__seal {
  flex: none;
  position: relative;
  display: grid;
  place-items: center;
  gap: 5px;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  color: var(--gold);
}
.vetbar__seal::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
}
.vetbar__shield { width: 34px; height: 40px; display: block; }
.vetbar__seal-t {
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.25;
  text-align: center;
  color: var(--gold);
}
.vetbar__text { flex: 1 1 auto; max-width: none; }
.vetbar__text .eyebrow { margin-bottom: 14px; }
.vetbar__line {
  font-family: var(--serif);
  font-size: clamp(1.28rem, 2.05vw, 1.66rem);
  line-height: 1.4;
  color: var(--fg);
  margin: 0;
  max-width: none;
  text-wrap: pretty;
}
@media (max-width: 720px) {
  .vetbar__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .vetbar__seal { align-self: center; }   /* center only the seal on mobile */
  .vetbar__line { font-size: 1.28rem; }
}
.vetbar__certs {
  margin-top: clamp(30px, 3.6vw, 48px);
  padding-top: clamp(30px, 3.6vw, 48px);
  border-top: 1px solid var(--hairline);
}
.vetbar__certs-label {
  display: block;
  margin-bottom: clamp(22px, 2.8vw, 36px);
}
.vetbar__certs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.vetbar__certs-list li {
  background: var(--bg);
  aspect-ratio: 3 / 1.35;
  display: grid;
  place-items: center;
  padding: clamp(20px, 2.6vw, 40px);
  transition: background .45s var(--ease);
}
.vetbar__certs-list img {
  max-width: 100%;
  max-height: clamp(54px, 5.4vw, 74px);
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.02);
  opacity: .6;
  mix-blend-mode: multiply;
  transition: filter .5s var(--ease), opacity .5s var(--ease);
}
.vetbar__certs-list li:hover { background: var(--surface); }
.vetbar__certs-list li:hover img { filter: none; opacity: 1; mix-blend-mode: normal; }
@media (max-width: 620px) {
  .vetbar__certs-list li { aspect-ratio: 3 / 2; padding: 18px; }
}

/* ==========================================================================
   The Varenza way — one-team comparison (home)
   ========================================================================== */
.the-way { padding-top: clamp(44px, 6vw, 90px); padding-bottom: clamp(54px, 6.5vw, 104px); }
.the-way .section-head { gap: 20px; margin-bottom: clamp(38px, 4.4vw, 56px); }
.the-way .section-head .h2 { margin-top: 0; }
.the-way .lead {
  max-width: 94ch;
  margin-top: 6px;
  margin-inline: auto;
  line-height: 1.55;
  color: var(--fg-soft);
  text-wrap: balance;
}
@media (max-width: 900px) { .the-way .lead { max-width: 60ch; } }
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: clamp(16px, 2.6vw, 30px);
}
.compare__card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 46px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
}
.compare__card--typical {
  background: transparent;
  border-style: dashed;
  border-color: color-mix(in srgb, var(--fg) 22%, transparent);
}
.compare__card--varenza {
  background: var(--feature-bg);
  border-color: var(--feature-bg);
  color: var(--feature-fg);
  box-shadow: 0 34px 64px -34px rgba(0,0,0,.55);
}
.compare__tag {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.compare__card--varenza .compare__tag { color: var(--feature-gold); }
.compare__count {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  line-height: 1.05;
  margin: 10px 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--hairline);
  color: var(--fg);
}
.compare__card--varenza .compare__count { color: var(--feature-fg); border-color: var(--feature-line); }
.compare__count em { font-style: italic; color: var(--gold); }
.compare__card--varenza .compare__count em { color: var(--feature-gold); }
.compare__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.compare__list li {
  position: relative;
  padding-left: 30px;
  font-family: var(--sans);
  font-size: .97rem;
  line-height: 1.5;
  color: var(--fg-soft);
}
.compare__card--varenza .compare__list li { color: color-mix(in srgb, var(--feature-fg) 86%, transparent); }
.compare__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .16em;
  width: 17px; height: 17px;
  background: color-mix(in srgb, var(--fg) 45%, transparent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.compare__card--varenza .compare__list li::before {
  background: var(--feature-gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19.5 7'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19.5 7'/%3E%3C/svg%3E") center/contain no-repeat;
}
.compare__list li.is-you {
  margin-top: 5px;
  padding-top: 16px;
  padding-left: 0;
  border-top: 1px dashed var(--hairline);
  color: var(--fg);
  font-weight: 500;
}
.compare__list li.is-you::before { display: none; }
.compare__card--varenza .compare__list li.is-you { border-color: var(--feature-line); color: var(--feature-fg); }
.compare__card--typical .compare__list li.is-you b { color: #A45B44; }
.compare__card--varenza .compare__list li.is-you b { color: var(--feature-gold); }
.compare__vs {
  align-self: center;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--bg);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--fg-soft);
}
@media (max-width: 860px) {
  .compare { grid-template-columns: 1fr; }
  .compare__vs { margin: -4px auto; }
}

/* ==========================================================================
   Google review CTA (testimonials, home)
   ========================================================================== */
.reviews-cta {
  margin: clamp(44px, 5vw, 66px) auto 0;
  max-width: none;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 30px);
  padding: clamp(22px, 3vw, 30px) clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
}
.reviews-cta__g {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--hairline);
}
.reviews-cta__text { flex: 1 1 auto; }
.reviews-cta__lead {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.15;
  color: var(--fg);
  margin: 0 0 4px;
}
.reviews-cta__sub {
  font-family: var(--sans);
  font-size: .95rem;
  line-height: 1.55;
  color: var(--fg-soft);
  margin: 0;
  max-width: none;
}
.reviews-cta__btn { flex: none; }
@media (max-width: 680px) {
  .reviews-cta { flex-direction: column; text-align: center; }
  .reviews-cta__sub { max-width: none; }
}

/* ==========================================================================
   Trustindex Google reviews widget (testimonials, home)
   ========================================================================== */
.ti-reviews {
  margin: clamp(28px, 4vw, 48px) auto 0;
  max-width: var(--maxw, 1200px);
}
/* Let the widget breathe on the section background without clashing chrome. */
.ti-reviews .ti-widget {
  font-family: var(--sans) !important;
}
.ti-reviews .ti-widget .ti-review-item {
  border: 1px solid var(--hairline) !important;
  border-radius: var(--radius) !important;
  background: var(--surface) !important;
  box-shadow: none !important;
}

/* ==========================================================================
   Team member — bio detail page (single-casa_team.php)
   ========================================================================== */
/* Portrait floats left so a long bio wraps beside it, then flows full-width below. */
.tm-layout::after { content: ""; display: block; clear: both; }
.tm-photo {
  float: left;
  width: clamp(258px, 32vw, 420px);
  margin: .35em clamp(32px, 3.8vw, 62px) clamp(16px, 2vw, 28px) 0;
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--feature-bg);
}
.tm-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: translateX(var(--tx, 0%)) translateY(var(--ty, 0%)) scale(var(--zoom, 1)) scaleX(var(--flip, 1));
  transform-origin: center top;
  display: block;
}
.tm-role { display: inline-flex; margin-bottom: 14px; }
.tm-name { margin: 0 0 .55em; font-size: clamp(2.1rem, 3.8vw, 3.1rem); }
.tm-bio { margin-top: 1.05em; }
.tm-bio p {
  color: var(--fg-soft);
  margin: 0 0 1.1em;
  line-height: 1.7;
  text-wrap: pretty;
}
.tm-actions {
  clear: both;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
  margin-top: clamp(30px, 3.4vw, 48px);
}
.tm-back { transition: transform .4s var(--ease); }
.tm-actions .link-underline:hover .tm-back { transform: translateX(-4px); }
@media (max-width: 720px) {
  .tm-photo { float: none; width: 100%; max-width: 380px; margin: 0 0 clamp(24px, 5vw, 36px); }
}

/* ==========================================================================
   Cost vs. Value — price guide (template-cost-value.php)
   ========================================================================== */
#cv-intro { padding-bottom: clamp(30px, 4vw, 56px); }
.cv-section { padding-block: clamp(40px, 5vw, 74px); }
.cv-section .section-head { margin-bottom: clamp(28px, 3.2vw, 44px); }

.cv-table {
  --cv-cols: 1.1fr 2.5fr minmax(128px, 0.8fr);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.cv-table__head {
  display: grid;
  grid-template-columns: var(--cv-cols);
  gap: clamp(18px, 2.2vw, 40px);
  padding: 15px clamp(22px, 2.6vw, 40px);
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
}
.cv-table__head span {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.cv-table__head .cv-c-cost { text-align: right; }
.cv-row {
  display: grid;
  grid-template-columns: var(--cv-cols);
  gap: clamp(18px, 2.2vw, 40px);
  align-items: start;
  padding: clamp(22px, 2.6vw, 34px) clamp(22px, 2.6vw, 40px);
  border-bottom: 1px solid var(--hairline);
}
.cv-row:last-child { border-bottom: 0; }
.cv-row__name {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.62rem);
  font-weight: 500;
  line-height: 1.14;
  color: var(--fg);
  margin: 0;
}
.cv-row__tier {
  display: inline-block;
  margin-top: .65em;
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  padding: .32em .72em;
  border: 1px solid color-mix(in srgb, var(--gold) 42%, transparent);
  border-radius: 100px;
}
.cv-row__desc {
  font-family: var(--sans);
  font-size: .95rem;
  line-height: 1.6;
  color: var(--fg-soft);
  margin: .1em 0 0;
  text-wrap: pretty;
}
.cv-row__cost { text-align: right; }
.cv-row__cost-label { display: none; }
.cv-row__cost-num {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  color: var(--gold);
  white-space: nowrap;
}
.cv-range {
  margin: clamp(18px, 2vw, 26px) 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--fg-soft);
}
.cv-range strong { color: var(--fg); font-weight: 500; font-style: normal; }
.cv-source {
  margin-top: clamp(30px, 4vw, 52px);
  font-family: var(--sans);
  font-size: .8rem;
  color: var(--fg-soft);
  opacity: .85;
}
#cv-cta { padding-top: clamp(38px, 4.4vw, 68px); padding-bottom: 0; overflow: hidden; }
.cv-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 3.4vw, 56px);
  align-items: center;
}
.cv-cta__text {
  align-self: center;
  max-width: 620px;
}
.cv-cta__text .lead { margin-top: 1em; max-width: 56ch; }
.cv-cta__actions {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
  margin-top: clamp(28px, 3.2vw, 44px);
}
.cv-cta__tel { color: var(--feature-fg); }
.cv-cta__media { align-self: center; justify-self: end; }
.cv-cta__media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(440px, 52vw, 700px);
}
@media (max-width: 820px) {
  .cv-cta { grid-template-columns: 1fr; gap: 0; }
  .cv-cta__text { align-self: auto; padding-bottom: clamp(24px, 5vw, 40px); max-width: none; }
  .cv-cta__media { justify-self: center; }
  .cv-cta__media img { max-height: 340px; }
}
@media (max-width: 780px) {
  .cv-table__head { display: none; }
  .cv-row { grid-template-columns: 1fr; gap: 8px; padding: clamp(22px, 5vw, 28px); }
  .cv-row__cost { text-align: left; margin-top: 8px; }
  .cv-row__cost-label {
    display: inline-block;
    margin-right: .55em;
    font-family: var(--sans);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
  }
  .cv-row__cost-num { font-size: 1.5rem; }
}

/* Cost vs. Value — center the intro columns + transparency callout */
#cv-intro .section-head { align-items: center; }
.cv-transparency {
  margin-top: clamp(32px, 3.8vw, 52px);
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.4vw, 50px);
  padding: clamp(26px, 3vw, 40px) clamp(28px, 3.4vw, 46px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
}
.cv-transparency__text { flex: 1 1 auto; }
.cv-transparency__title {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--fg);
  margin: 0 0 .35em;
}
.cv-transparency__text p {
  font-family: var(--sans);
  font-size: .95rem;
  line-height: 1.6;
  color: var(--fg-soft);
  margin: 0;
  max-width: 70ch;
}
.cv-transparency__btn { flex: none; }
.cv-source { margin-top: clamp(22px, 2.6vw, 34px); }
@media (max-width: 720px) {
  .cv-transparency { flex-direction: column; align-items: flex-start; gap: 22px; }
}

/* ==========================================================================
   Case Studies (template-case-studies.php) + before/after slider
   ========================================================================== */
#cs-intro { padding-bottom: clamp(20px, 3vw, 40px); }
.cs-case { padding-block: clamp(48px, 6vw, 96px); }
.cs-case:has(+ #cs-cta) { padding-bottom: clamp(150px, 17vw, 290px); }
.cs-case--alt { background: var(--surface); }

.cs-case__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(30px, 4vw, 52px);
}
.cs-case__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  color: var(--gold);
  opacity: .55;
  line-height: 1;
  margin-bottom: .12em;
}
.cs-case__head .h2 { margin: .18em 0 .35em; }
.cs-case__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.4;
  color: var(--fg-soft);
  max-width: 52ch;
  margin: 0 auto;
  text-wrap: balance;
}

/* Before / after comparison slider */
.ba {
  position: relative;
  --pos: 50%;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--feature-bg);
  cursor: ew-resize;
  touch-action: pan-y;   /* allow vertical page scroll; horizontal drag = slider */
  user-select: none;
  box-shadow: 0 44px 84px -52px rgba(20, 22, 15, .6);
}
.ba--portrait { max-width: 560px; margin-inline: auto; }
.ba__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, .92);
  pointer-events: none;
}
.ba__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  color: var(--feature-bg);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
}
.ba__knob svg { width: 22px; height: 22px; }
.ba__tag {
  position: absolute;
  bottom: clamp(12px, 2vw, 20px);
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(20, 22, 15, .5);
  padding: .5em .9em;
  border-radius: 100px;
  pointer-events: none;
}
.ba__tag--before { left: clamp(12px, 2vw, 20px); }
.ba__tag--after { right: clamp(12px, 2vw, 20px); }

/* Write-up */
.cs-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(36px, 4.6vw, 66px);
  align-items: start;
}
.cs-body__col {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.4vw, 46px);
}
.cs-block__label {
  display: block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1em;
  padding-bottom: .8em;
  border-bottom: 1px solid var(--hairline);
}
.cs-block p {
  color: var(--fg-soft);
  line-height: 1.7;
  margin: 0;
  text-wrap: pretty;
}
.cs-list {
  list-style: none;
  margin: 1.1em 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .85em;
}
.cs-list li {
  position: relative;
  padding-left: 1.6em;
  color: var(--fg-soft);
  line-height: 1.55;
}
.cs-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

#cs-cta { padding-top: clamp(80px, 9vw, 122px); padding-bottom: 0; overflow: hidden; }
.cs-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 3.4vw, 56px);
  align-items: center;
}
.cs-cta__text { align-self: center; max-width: 620px; }
.cs-cta__text .lead { margin-top: 1em; max-width: 52ch; }
.cs-cta__media { align-self: center; justify-self: end; }
.cs-cta__media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(440px, 52vw, 700px);
}
.cs-cta__actions {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
  margin-top: clamp(28px, 3.2vw, 44px);
}
.cs-cta__tel { color: var(--feature-fg); }

@media (max-width: 820px) {
  .cs-body { grid-template-columns: 1fr; gap: clamp(30px, 6vw, 44px); }
  .ba--portrait { max-width: 440px; }
  .cs-cta { grid-template-columns: 1fr; gap: 0; }
  .cs-cta__text { align-self: auto; padding-bottom: clamp(24px, 5vw, 40px); max-width: none; }
  .cs-cta__media { justify-self: center; }
  .cs-cta__media img { max-height: 340px; }
}

/* FAQ answer CTA button */
.faq__more { margin-top: 1.35em; }

/* ==========================================================================
   Financing (template-financing.php)
   ========================================================================== */
#fin-intro { padding-bottom: clamp(20px, 3vw, 40px); }
/* Intro — top-align both columns; give the copy more width so it settles at 5 lines */
#fin-intro .section-head {
  align-items: start;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}
#fin-intro .section-head .lead { max-width: 66ch; }
@media (max-width: 820px) { #fin-intro .section-head { grid-template-columns: 1fr; } }
.fin-section { padding-block: clamp(52px, 6.5vw, 104px); }
.fin-section--alt { background: var(--surface); }

/* How it works — numbered step grid */
.fin-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.fin-step { background: var(--bg); padding: clamp(28px, 3vw, 40px); }
.fin-step__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: .55em;
}
.fin-step__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.8vw, 1.42rem);
  line-height: 1.2;
  color: var(--fg);
  margin: 0 0 .55em;
}
.fin-step p { font-family: var(--sans); font-size: .93rem; line-height: 1.6; color: var(--fg-soft); margin: 0; text-wrap: pretty; }

/* Why finance — intro on the left, 2×2 benefit cards on the right */
.fin-why {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 88px);
  align-items: center;
}
.fin-why__intro .lead { margin-top: 1.1em; max-width: 42ch; }
.fin-why__actions { margin-top: clamp(24px, 3vw, 36px); }

.fin-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
}
.fin-benefit {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(24px, 2.4vw, 34px);
  box-shadow: 0 18px 40px -26px color-mix(in srgb, var(--fg) 42%, transparent);
}
.fin-benefit__ic {
  display: block;
  color: var(--gold);
  margin-bottom: clamp(14px, 1.6vw, 22px);
}
.fin-benefit__ic svg { width: 34px; height: 34px; }
.fin-benefit__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.12rem, 1.5vw, 1.3rem);
  line-height: 1.25;
  color: var(--fg);
  margin: 0 0 .5em;
}
.fin-benefit p { font-family: var(--sans); font-size: .92rem; line-height: 1.6; color: var(--fg-soft); margin: 0; text-wrap: pretty; }

@media (max-width: 900px) {
  .fin-why { grid-template-columns: 1fr; gap: clamp(28px, 5vw, 44px); align-items: start; }
}
@media (max-width: 520px) {
  .fin-benefits { grid-template-columns: 1fr; }
}

/* Trusted marketplace — centered block on the dark feature band */
#fin-trust { text-align: center; }
.fin-trust { max-width: 680px; margin-inline: auto; }
.fin-trust .lead { margin: 1em auto 0; max-width: 56ch; }
.fin-trust__actions {
  margin-top: clamp(28px, 3.2vw, 40px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 1.4vw, 18px);
}

/* Security / accredited badges (shown in full colour) */
.fin-badges {
  list-style: none;
  margin: clamp(28px, 3.4vw, 44px) auto 0;
  padding: 0;
  max-width: 940px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.fin-badges li {
  background: var(--bg);
  aspect-ratio: 3 / 2;
  height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(20px, 2.6vw, 36px);
  transition: background .45s var(--ease);
}
.fin-badges img {
  max-width: 100%;
  max-height: 72px;
  width: auto; height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(1) contrast(1.02);
  opacity: .55;
  mix-blend-mode: multiply;
  transition: filter .5s var(--ease), opacity .5s var(--ease);
}
.fin-badges li:hover { background: var(--surface); }
.fin-badges li:hover img { filter: none; opacity: 1; }
@media (max-width: 720px) {
  .fin-badges { grid-template-columns: repeat(2, 1fr); }
}

/* Disclaimer block */
.fin-disclaimer-block { max-width: 820px; margin-inline: auto; text-align: center; }
.fin-disclaimer__h {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--fg);
  margin: 0 0 .7em;
}
.fin-disclaimer {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--sans);
  font-size: .82rem;
  line-height: 1.65;
  color: var(--fg-soft);
  opacity: .85;
}
#fin-disclaimer-sec { padding-top: clamp(30px, 3.6vw, 52px); }

/* Closing CTA — text left, founder photo right (mirrors cost-vs-value) */
#fin-cta { padding-top: clamp(38px, 4.4vw, 68px); padding-bottom: 0; overflow: hidden; }
.fin-ctablock {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 3.4vw, 56px);
  align-items: center;
}
.fin-ctablock__text { max-width: 620px; }
.fin-ctablock .lead { margin-top: 1em; max-width: 54ch; }
.fin-ctablock__actions {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
  margin-top: clamp(28px, 3.2vw, 44px);
}
.fin-ctablock__tel { color: var(--feature-fg); }
.fin-ctablock__media { align-self: center; justify-self: end; }
.fin-ctablock__media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(440px, 52vw, 700px);
}

@media (max-width: 820px) {
  .fin-ctablock { grid-template-columns: 1fr; gap: 0; }
  .fin-ctablock__text { max-width: none; padding-bottom: clamp(24px, 5vw, 40px); }
  .fin-ctablock__media { justify-self: center; }
  .fin-ctablock__media img { max-height: 340px; }
}
/* Intro CTA buttons */
.fin-intro__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(12px, 1.4vw, 18px);
  margin-top: clamp(22px, 2.6vw, 34px);
}

/* Financing partners — two option cards (Acorn + HFS) */
.fin-partners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2vw, 30px);
  margin-top: clamp(38px, 4.4vw, 60px);
  align-items: stretch;
}
.fin-partner {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 44px);
  box-shadow: 0 22px 48px -30px color-mix(in srgb, var(--fg) 46%, transparent);
}
.fin-partner__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(16px, 1.8vw, 24px);
}
.fin-partner__eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.fin-partner__pill {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--fg);
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  border-radius: 100px;
  padding: .42em .95em;
  white-space: nowrap;
}
.fin-partner__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  color: var(--fg);
  margin: 0;
}
.fin-partner__tag {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: .55em 0 0;
}
.fin-partner__desc {
  font-family: var(--sans);
  font-size: .95rem;
  line-height: 1.62;
  color: var(--fg-soft);
  margin: clamp(14px, 1.6vw, 20px) 0 0;
  text-wrap: pretty;
}
/* Side by side: reserve equal description height so the dividers, bullet
   lists and buttons line up even when one card runs an extra line. */
@media (min-width: 821px) {
  .fin-partner__desc { min-height: calc(1.62em * 3); }
}
.fin-partner__list {
  list-style: none;
  margin: clamp(18px, 2vw, 26px) 0 0;
  padding: clamp(18px, 2vw, 26px) 0 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: .82em;
}
.fin-partner__list li {
  position: relative;
  padding-left: 1.8em;
  font-family: var(--sans);
  font-size: .92rem;
  line-height: 1.5;
  color: var(--fg);
  text-wrap: pretty;
}
.fin-partner__list li::before {
  content: "";
  position: absolute;
  left: .18em;
  top: .12em;
  width: .5em;
  height: .85em;
  border: solid var(--gold);
  border-width: 0 .16em .16em 0;
  transform: rotate(45deg);
}
.fin-partner__actions {
  margin-top: clamp(24px, 2.8vw, 34px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(12px, 1.4vw, 16px);
}
.fin-partner__cta { align-self: flex-start; }
.fin-partner__learn {
  font-family: var(--sans);
  font-size: .84rem;
  font-weight: 600;
  color: var(--fg-soft);
}
.fin-partner__learn .arrow { font-size: .92em; }
.fin-partner__note {
  font-family: var(--sans);
  font-size: .78rem;
  color: var(--fg-soft);
  opacity: .82;
  margin: 1em 0 0;
}
@media (max-width: 820px) {
  .fin-partners { grid-template-columns: 1fr; }
  .fin-partner__actions { align-items: stretch; }
  .fin-partner__cta { align-self: stretch; justify-content: center; text-align: center; }
  .fin-partner__learn { text-align: center; }
}

/* Visually hidden but available to screen readers */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Tighten the gap between the heading and the table / badge strip */
#fin-compare .section-head,
#fin-secure .section-head { margin-bottom: clamp(6px, 1vw, 14px); }

/* Comparison table — Acorn vs HFS */
.fin-table-wrap {
  margin-top: clamp(18px, 2.2vw, 32px);
  overflow-x: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}
.fin-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-family: var(--sans);
  background: var(--bg);
}
.fin-table th,
.fin-table td {
  text-align: left;
  padding: clamp(12px, 1.4vw, 18px) clamp(14px, 1.6vw, 22px);
  border-bottom: 1px solid var(--hairline);
  font-size: .92rem;
  line-height: 1.45;
  vertical-align: top;
}
.fin-table thead th {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  color: var(--fg);
  background: var(--surface);
}
.fin-table tbody th {
  font-weight: 600;
  color: var(--fg);
  width: 26%;
}
.fin-table tbody td { color: var(--fg-soft); width: 37%; }
.fin-table th + th,
.fin-table td + td { border-left: 1px solid var(--hairline); }
.fin-table tbody tr:last-child th,
.fin-table tbody tr:last-child td { border-bottom: 0; }
.fin-table tbody tr:nth-child(even) th,
.fin-table tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--surface) 55%, transparent);
}

/* ============================================================
   HOME — Financing teaser (below Services)
   ============================================================ */
.hfin-section { background: var(--surface); border-block: 1px solid var(--hairline); }
.hfin {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: center;
}
.hfin__intro .lead { margin: 1.1em 0 0; max-width: 46ch; }
.hfin__intro .btn { margin-top: clamp(24px, 3vw, 36px); }
.hfin__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.hfin__points li {
  background: var(--bg);
  padding: clamp(22px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: .45em;
}
.hfin__k {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.6vw, 1.42rem);
  line-height: 1.15;
  color: var(--fg);
}
.hfin__v { font-family: var(--sans); font-size: .9rem; line-height: 1.55; color: var(--fg-soft); text-wrap: pretty; }
@media (max-width: 900px) {
  .hfin { grid-template-columns: 1fr; gap: clamp(28px, 5vw, 44px); }
}
@media (max-width: 480px) {
  .hfin__points { grid-template-columns: 1fr; }
}

/* ============================================================
   Certifications strip (About + Contact)
   ============================================================ */
.certs__eyebrow { display: block; text-align: center; margin-bottom: clamp(30px, 3.8vw, 52px); }
.certs__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.certs__list li {
  display: grid;
  place-items: center;
  padding: clamp(30px, 4vw, 60px);
  min-height: clamp(150px, 17vw, 230px);
}
.certs__list li + li { border-left: 1px solid var(--hairline); }
.certs__list img {
  max-width: 100%;
  max-height: 108px;
  width: auto; height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(1);
  opacity: .62;
  transition: filter .5s var(--ease), opacity .5s var(--ease);
}
.certs__list li:hover img { filter: none; opacity: 1; }
@media (max-width: 720px) {
  .certs__list { grid-template-columns: 1fr; }
  .certs__list li + li { border-left: 0; border-top: 1px solid var(--hairline); }
  .certs__list li { min-height: 140px; }
}
/* Contact page — balanced, compact spacing above & below the certifications band */
.contact-page #contact { padding-bottom: clamp(44px, 5.5vw, 80px); }
.contact-page #certs { padding-block: clamp(44px, 5.5vw, 80px); }
.contact-page #service-area { padding-top: clamp(44px, 5.5vw, 80px); }


/* ==========================================================================
   Service Area landing pages (single-casa_area.php)
   ========================================================================== */
.area-hero { padding-top: clamp(110px, 10vw, 144px); padding-bottom: clamp(26px, 3vw, 46px); }
.area-hero__inner { max-width: 860px; }
.area-hero__title { margin: .28em 0 0; }
.area-hero__lead { margin-top: 1em; }
.area-hero__lead p { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.6; color: var(--fg-soft); margin: 0; max-width: 64ch; text-wrap: pretty; }
.area-hero__actions { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap; margin-top: clamp(24px, 2.8vw, 36px); }

/* Two-column body: content (right, ~70%) + sticky sidebar (left, ~30%) */
#area-body { padding-top: clamp(18px, 2.6vw, 36px); padding-bottom: clamp(66px, 7.5vw, 118px); }
.area-layout {
  display: grid;
  grid-template-columns: minmax(230px, 28%) minmax(0, 1fr);
  gap: clamp(44px, 6.5vw, 104px);
  align-items: start;
}
.area-layout .area-content { grid-column: 2; max-width: none; margin: 0; }
.area-aside { grid-column: 1; grid-row: 1; position: sticky; top: 104px; display: flex; flex-direction: column; gap: clamp(30px, 3.4vw, 44px); }
@media (max-width: 900px) {
  .area-layout { grid-template-columns: 1fr; gap: clamp(36px, 6vw, 52px); }
  .area-layout .area-content, .area-aside { grid-column: auto; }
  .area-aside { position: static; grid-row: auto; }
}

/* Content prose — tightened section rhythm */
.area-content > :first-child { margin-top: 0; }
.area-content h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.18;
  color: var(--fg);
  margin: clamp(26px, 2.8vw, 38px) 0 .45em;
}
.area-content h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  color: var(--fg);
  margin: clamp(22px, 2.2vw, 30px) 0 .4em;
}
.area-content p { font-family: var(--sans); font-size: 1.02rem; line-height: 1.7; color: var(--fg-soft); margin: 0 0 .9em; text-wrap: pretty; }
.area-content ul, .area-content ol { list-style: none; margin: .7em 0 1em; padding: 0; display: grid; gap: .55em; }
.area-content li { position: relative; padding-left: 1.6em; font-family: var(--sans); font-size: 1.02rem; line-height: 1.6; color: var(--fg-soft); text-wrap: pretty; }
.area-content li::before { content: ""; position: absolute; left: .1em; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.area-content a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.area-content a:hover { color: var(--gold); }

/* Sidebar widgets */
.area-widget__h { font-family: var(--serif); font-weight: 500; font-size: clamp(1.1rem, 1.5vw, 1.28rem); color: var(--fg); margin: 0 0 .7em; padding-bottom: .6em; border-bottom: 1px solid var(--hairline); }
.area-slist { list-style: none; margin: 0; padding: 0; }
.area-slist li { border-bottom: 1px solid var(--hairline); }
.area-slist li:last-child { border-bottom: 0; }
.area-slist a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: .65em 0; font-family: var(--sans); font-size: .95rem; color: var(--fg-soft); transition: color .3s var(--ease); }
.area-slist a .arrow { opacity: 0; transform: translateX(-4px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.area-slist a:hover { color: var(--gold); }
.area-slist a:hover .arrow { opacity: 1; transform: translateX(0); }
.area-slist .is-active { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: .65em 0; font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--fg); }
.area-slist__here { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: var(--gold); }

.area-faq { display: flex; flex-direction: column; }
.area-faq__item + .area-faq__item { margin-top: clamp(16px, 1.8vw, 22px); padding-top: clamp(16px, 1.8vw, 22px); border-top: 1px solid var(--hairline); }
.area-faq__q { font-family: var(--serif); font-weight: 500; font-size: 1.02rem; line-height: 1.3; color: var(--fg); margin: 0 0 .4em; }
.area-faq__a { font-family: var(--sans); font-size: .9rem; line-height: 1.6; color: var(--fg-soft); margin: 0 0 .6em; text-wrap: pretty; }
.area-faq__more { font-size: .84rem; }

/* Final CTA (dark feature band) — text left, founder photo right */
#area-cta { padding-top: clamp(38px, 4.4vw, 68px); padding-bottom: 0; overflow: hidden; }
.area-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 3.4vw, 56px);
  align-items: end;
}
.area-cta__text { max-width: 620px; align-self: center; padding-bottom: clamp(40px, 5vw, 74px); }
.area-cta__text .lead { margin: 1em 0 0; max-width: 54ch; color: var(--feature-soft); }
.area-cta__actions { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap; margin-top: clamp(26px, 3vw, 42px); }
.area-cta__tel { color: var(--feature-fg); }
.area-cta__media { align-self: end; justify-self: end; }
.area-cta__media img { display: block; width: auto; height: auto; max-width: 100%; max-height: clamp(420px, 50vw, 660px); }
@media (max-width: 820px) {
  .area-cta__grid { grid-template-columns: 1fr; gap: 0; }
  .area-cta__text { max-width: none; padding-bottom: clamp(24px, 5vw, 40px); }
  .area-cta__media { justify-self: center; }
  .area-cta__media img { max-height: 340px; }
}

/* About — Vimeo video (between certifications and mission/vision) */
#about-video { padding-top: clamp(14px, 2.2vw, 34px); padding-bottom: clamp(14px, 2.2vw, 34px); }
.about-video {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--feature-bg);
  box-shadow: 0 40px 90px -55px rgba(20,22,15,.55);
}
.about-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ============================================================
   MOBILE REFINEMENTS
   ============================================================ */
/* Financing intro/why — keep long CTA buttons inside the viewport */
@media (max-width: 600px) {
  .fin-intro__actions, .fin-why__actions { width: 100%; flex-direction: column; align-items: stretch; }
  .fin-intro__actions .btn,
  .fin-why__actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
    letter-spacing: .08em;
    padding-inline: 1.2em;
  }
}

/* Feature CTA bands with a founder photo — center the copy on phones */
@media (max-width: 600px) {
  .cv-cta__text,
  .cs-cta__text,
  .fin-ctablock__text,
  .area-cta__text { text-align: center; }

  .cv-cta__text .lead,
  .cs-cta__text .lead,
  .fin-ctablock__text .lead,
  .area-cta__text .lead { margin-inline: auto; }

  .cv-cta__actions,
  .cs-cta__actions,
  .fin-ctablock__actions,
  .area-cta__actions { justify-content: center; }

  /* balance the eyebrow rule on both sides when centered */
  .cv-cta__text .eyebrow::after,
  .cs-cta__text .eyebrow::after,
  .fin-ctablock__text .eyebrow::after,
  .area-cta__text .eyebrow::after {
    content: ''; width: 30px; height: 1px; background: currentColor; opacity: .8;
  }
}

/* ------------------------------------------------------------
   Service-area landing pages (single casa_area)
   ------------------------------------------------------------ */
/* These pages open on a LIGHT hero (no dark banner behind the header), so the
   default light-text header would be invisible. Force the solid/dark treatment. */
.single-casa_area .site-header {
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--hairline);
}
.single-casa_area .site-header,
.single-casa_area .site-header .nav a,
.single-casa_area .site-header .nav__label,
.single-casa_area .site-header .header-call,
.single-casa_area .site-header .nav-toggle { color: var(--fg); }
.single-casa_area .site-header .header-cta { color: var(--fg); border-color: var(--fg); }
/* Restore readable hover states (our color overrides above otherwise win over :hover). */
.single-casa_area .site-header .header-cta:hover {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}
.single-casa_area .site-header .header-call:hover {
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 40%, transparent);
}
.single-casa_area .brand__logo--light { opacity: 0; }
.single-casa_area .brand__logo--dark { opacity: 1; }

/* Center the area hero buttons on phones */
@media (max-width: 600px) {
  .area-hero__actions { justify-content: center; }
}

/* Home gallery — "view the full gallery" button under the grid */
.gallery-more {
  display: flex;
  justify-content: center;
  margin-top: clamp(34px, 4.5vw, 60px);
}

/* ------------------------------------------------------------
   About (home) — play button over the main image + video modal
   ------------------------------------------------------------ */
.ethos__play {
  position: absolute;
  left: 59%; top: 42%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: clamp(52px, 6vw, 66px);
  height: clamp(52px, 6vw, 66px);
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--accent);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 24px 60px -22px rgba(20, 22, 15, .6);
  transition: transform .4s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.ethos__play svg { width: 48%; height: 48%; margin-left: 9%; fill: currentColor; }
.ethos__play:hover,
.ethos__play:focus-visible {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--accent);
  color: var(--accent-fg);
  outline: none;
}
.ethos__play::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .9);
  animation: ethos-play-pulse 2.6s var(--ease) infinite;
  pointer-events: none;
}
@keyframes ethos-play-pulse {
  0%   { transform: scale(1);   opacity: .8; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .ethos__play::after { animation: none; } }

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(16px, 5vw, 60px);
  background: rgba(12, 13, 10, .86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
body.video-open { overflow: hidden; }
body.video-open .video-modal { opacity: 1; visibility: visible; }
.video-modal__frame {
  position: relative;
  width: min(1040px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .8);
  transform: translateY(14px) scale(.98);
  transition: transform .4s var(--ease);
}
body.video-open .video-modal__frame { transform: none; }
.video-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal__close {
  position: absolute;
  top: clamp(14px, 3vw, 26px);
  right: clamp(14px, 3vw, 26px);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(244, 240, 232, .4);
  background: rgba(0, 0, 0, .25);
  color: #F4F0E8;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .3s var(--ease), transform .35s var(--ease);
}
.video-modal__close:hover { background: rgba(244, 240, 232, .18); transform: rotate(90deg); }

/* ------------------------------------------------------------
   Global Template (template-global.php) — generic content pages
   ------------------------------------------------------------ */
.global-content__inner { max-width: 780px; margin-inline: auto; }
.global-content__inner .sd-content > :first-child { margin-top: 0; }

/* ------------------------------------------------------------
   Case studies — before/after carousel (multiple comparisons)
   ------------------------------------------------------------ */
.cs-carousel { max-width: 900px; margin-inline: auto; }
.cs-carousel__note {
  margin: clamp(14px, 1.8vw, 20px) auto 0;
  max-width: 100%;
  text-align: center;
  font-family: var(--sans);
  font-size: .78rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--fg-soft);
  opacity: .85;
}
/* Keep the disclaimer on a single line on wider screens */
@media (min-width: 640px) {
  .cs-carousel__note { white-space: nowrap; }
}
/* Single before/after comparison (no flanking thumbnail strips) */
.cs-compare--single { max-width: 900px; margin-inline: auto; }
.cs-carousel .ba-carousel { box-shadow: 0 40px 90px -55px rgba(20, 22, 15, .55); }
.cs-carousel .ba__compare { aspect-ratio: 3 / 2; }
@media (max-width: 760px) {
  .cs-carousel .ba__compare { aspect-ratio: 4 / 3; }
}

/* ------------------------------------------------------------
   Case studies — before/after slider flanked by thumbnail strips
   ------------------------------------------------------------ */
.cs-compare--flanked {
  display: grid;
  grid-template-columns: clamp(80px, 10vw, 120px) minmax(0, 1fr) clamp(80px, 10vw, 120px);
  gap: clamp(10px, 1.4vw, 18px);
  align-items: start;   /* thumbs keep their shape; leftover space below is fine */
}
/* Portrait cases: shrink the middle column to the slider and center the whole
   block so the thumbnail strips sit right beside the (narrow) slider. */
.cs-compare--portrait {
  grid-template-columns: clamp(80px, 10vw, 120px) minmax(0, 560px) clamp(80px, 10vw, 120px);
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
}
.cs-strip { display: flex; flex-direction: column; gap: clamp(8px, 1vw, 14px); min-width: 0; }
.cs-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;   /* square thumbnails, not stretched */
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: zoom-in;
  box-shadow: 0 20px 44px -30px rgba(20, 22, 15, .55);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.cs-thumb:hover { opacity: .9; transform: translateY(-2px); }
@media (max-width: 760px) {
  /* On phones both variants collapse to a single column: thumbnail rows above
     and below the slider (never side columns that would overflow the screen). */
  .cs-compare--flanked,
  .cs-compare--portrait {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: stretch;
    justify-content: stretch;
  }
  /* Thumbnails become a row of equal squares — grid (not flex) so they always
     shrink to fit and never overflow the strip. */
  .cs-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .cs-thumb { flex: none; width: 100%; height: auto; aspect-ratio: 1 / 1; }
}

/* ------------------------------------------------------------
   Thank You (template-thank-you.php) — post-submission confirmation
   ------------------------------------------------------------ */
.thankyou__inner {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}
.thankyou__ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 26px;
  border-radius: 50%;
  color: var(--accent-fg);
  background: var(--accent);
}
.thankyou__ic svg { width: 34px; height: 34px; }
.thankyou__inner .h2 { margin: .35em 0 .6em; }
.thankyou__lead {
  color: var(--fg-soft);
  max-width: 56ch;
  margin-inline: auto;
}
.thankyou__content { margin-top: 1.6em; text-align: left; }
.thankyou__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}
.thankyou__back { margin-top: 26px; color: var(--fg-soft); }

@media (max-width: 640px) {
  .thankyou__actions { flex-direction: column; align-items: stretch; }
  .thankyou__actions .btn { justify-content: center; }
}

/* ============================================================
   NEIGHBORHOOD APPRECIATION (template-neighbors.php)
   ============================================================ */
.nbr-offers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(40px, 5vw, 70px);
}
.nbr-offer {
  background: var(--feature-bg);
  color: var(--feature-fg);
  border-radius: var(--radius);
  padding: clamp(34px, 4vw, 56px) clamp(28px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.nbr-offer__amount {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7vw, 5.4rem);
  line-height: 1;
  color: var(--feature-gold);
}
.nbr-offer__title {
  color: var(--feature-fg);
  font-size: 1.5rem;
  margin: .35em 0 .6em;
}
.nbr-offer p { color: var(--feature-soft); font-size: .98rem; margin: 0 0 1.8em; max-width: 42ch; text-wrap: pretty; }
.nbr-offer .btn { margin-top: auto; }
.nbr-fine {
  margin: clamp(22px, 3vw, 36px) auto 0;
  max-width: 72ch;
  text-align: center;
  color: var(--fg-soft);
  font-size: .82rem;
}
.nbr-fine p { margin: 0; }
@media (max-width: 760px) { .nbr-offers { grid-template-columns: 1fr; } }
