/* =================================================================
   SELF-HOSTED FONTS — Inter + Cormorant Garamond
   Downloaded from Google Fonts and served locally for privacy (UK GDPR)
   and speed (no third-party DNS, no fonts.googleapis.com call).
   ================================================================= */
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/CormorantGaramond-500-normal-latin-ext.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(assets/fonts/CormorantGaramond-500-normal-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/CormorantGaramond-600-normal-latin-ext.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(assets/fonts/CormorantGaramond-600-normal-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Inter-400-normal-latin-ext.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: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Inter-400-normal-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Inter-500-normal-latin-ext.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: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Inter-500-normal-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Inter-600-normal-latin-ext.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: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Inter-600-normal-latin.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;
}

/* =================================================================
   TARAN LEGAL — main stylesheet
   -----------------------------------------------------------------
   To rebrand the site, change the variables in :root below.
   All colours, fonts, spacing, and max-widths are driven from here.
   ================================================================= */

:root {
  /* --- Brand palette --------------------------------------------- */
  --color-primary:        #1F3864;   /* deep navy — headings, links */
  --color-primary-dark:   #142847;   /* hover, footer background    */
  --color-accent:         #B5944C;   /* muted gold — decorative accents (strips, hover) */
  --color-accent-strong:  #6E521C;   /* deep bronze — small text where contrast matters (eyebrows, badges) */
  --color-text:           #1A1A1A;
  --color-text-muted:     #595959;
  --color-text-on-dark:   #E8ECF3;
  --color-text-on-dark-muted: #A4ADBF;
  --color-border:         #E2E2DC;
  --color-border-strong:  #C9C9C0;
  --color-bg:             #FAFAF7;   /* warm off-white body         */
  --color-bg-alt:         #FFFFFF;   /* cards, raised sections      */
  --color-bg-tinted:      #F0EFE8;   /* subtle section dividers     */
  --color-success:        #2F6F44;
  --color-warning:        #B33A3A;

  /* --- Typography ----------------------------------------------- */
  --font-serif:  "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:   "Inter", system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* --- Spacing & layout ----------------------------------------- */
  --max-content:       1140px;
  --side-padding:      1.25rem;
  --side-padding-lg:   2rem;
  --section-pad:       3.5rem;
  --section-pad-lg:    6rem;
  --radius:            6px;
  --radius-lg:         12px;
  --shadow-sm:         0 1px 2px rgba(20, 40, 71, 0.06);
  --shadow-md:         0 8px 24px rgba(20, 40, 71, 0.10);
  --transition:        180ms ease;
}

/* =================================================================
   1. RESET & BASE
   ================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 2rem 0;
}

/* =================================================================
   2. TYPOGRAPHY
   ================================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.2;
  margin: 0 0 0.75em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.1;  letter-spacing: -0.015em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
h4 { font-size: 1.125rem; }

/* Hanging punctuation + balanced wrap for headings */
h1, h2, h3, .lede {
  hanging-punctuation: first last;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 60ch;
}

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
a:hover { color: var(--color-accent); }

ul, ol { padding-left: 1.25rem; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }
ul.clean { list-style: none; padding-left: 0; }
ul.clean li::before {
  content: "—";
  color: var(--color-accent);
  margin-right: 0.6em;
}

strong { font-weight: 600; }
em { font-style: italic; }

small, .small { font-size: 0.875rem; color: var(--color-text-muted); }

/* =================================================================
   3. LAYOUT PRIMITIVES
   ================================================================= */
.wrap {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
}
@media (min-width: 768px) {
  .wrap { padding-left: var(--side-padding-lg); padding-right: var(--side-padding-lg); }
}

.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}
@media (min-width: 768px) {
  .section { padding-top: var(--section-pad-lg); padding-bottom: var(--section-pad-lg); }
}
.section--tinted { background: var(--color-bg-tinted); }
.section--alt    { background: var(--color-bg-alt); }
.section--dark {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-text-on-dark);
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4rem;
  height: 3px;
  background: var(--color-accent);
  transform: translateX(-50%);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: #FFF; }
.section--dark a { color: #FFF; }
/* Body text on dark sections — override default muted grey so it stays
   readable against the navy gradient. */
.section--dark p,
.section--dark .lede { color: var(--color-text-on-dark); }
/* Eyebrow on dark sections — gold rather than deep bronze, for visibility. */
.section--dark .eyebrow { color: var(--color-accent); }

.grid { display: grid; gap: 2rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* eyebrow label above an H2 */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-strong);
  margin-bottom: 1rem;
}

/* =================================================================
   4. HEADER & NAV
   ================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}
.site-logo {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: -0.005em;
  line-height: 1.1;
}
.site-logo:hover { color: var(--color-primary); }
.site-logo small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.site-nav { display: none; }
.site-nav__list {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-nav__list a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
}
.site-nav__list a:hover,
.site-nav__list a[aria-current="page"] { color: var(--color-primary); }
.site-nav__list a[aria-current="page"] { border-bottom: 2px solid var(--color-accent); padding-bottom: 2px; }

/* Higher specificity than .btn (which sets display: inline-flex)
   ensures the CTA hides on mobile. Reach for .btn.site-cta. */
.btn.site-cta { display: none; }

@media (min-width: 880px) {
  .site-nav { display: block; }
  .btn.site-cta { display: inline-flex; }
}

/* mobile hamburger */
.menu-toggle {
  background: transparent;
  border: 1px solid var(--color-border-strong);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.875rem;
  font-family: inherit;
}
@media (min-width: 880px) { .menu-toggle { display: none; } }
.mobile-nav {
  display: none;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav li { margin-bottom: 0.5rem; }
.mobile-nav a {
  display: block;
  padding: 0.5rem 0;
  text-decoration: none;
  font-size: 1rem;
  color: var(--color-text);
}

/* =================================================================
   5. BUTTONS
   ================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  border: 1px solid transparent;
  line-height: 1;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-primary);
  color: #FFF;
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #FFF;
}
.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--ghost:hover {
  background: var(--color-primary);
  color: #FFF;
}
/* .btn.btn--on-dark uses two-class specificity so it beats
   `.section--dark a { color: #FFF }` and the text stays readable. */
.btn.btn--on-dark {
  background: #FFF;
  color: var(--color-primary-dark);
  border-color: #FFF;
}
.btn.btn--on-dark:hover {
  background: var(--color-accent);
  color: #FFF;
  border-color: var(--color-accent);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Persona-CTA: mini-card style for hero "For X / For Y" pickers */
.persona-row {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 540px) {
  .persona-row { grid-template-columns: 1fr 1fr; }
}
.persona {
  display: block;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  /* extra right-padding so the absolutely-positioned arrow doesn't overlap copy */
  padding: 1rem 2.75rem 1rem 1.25rem;
  text-decoration: none;
  color: var(--color-text);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
}
.persona:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  color: var(--color-text);
}
.persona__label {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.15rem;
}
.persona__desc {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}
.persona::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: var(--color-accent);
  font-size: 1.1rem;
  transition: transform var(--transition);
}
.persona:hover::after { transform: translateY(-50%) translateX(4px); }

/* Urgency / availability pill */
.urgency {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-success);
  background: rgba(47, 111, 68, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-top: 1rem;
}
.urgency::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-success);
  flex-shrink: 0;
  display: inline-block;
}

/* =================================================================
   6. HERO
   ================================================================= */
.hero {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .hero { padding-top: 6rem; padding-bottom: 6rem; }
}
.hero h1 { max-width: 22ch; }
.hero .lede { margin-top: 1.25rem; max-width: 60ch; }
.hero__meta {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.hero__meta strong { color: var(--color-text); font-weight: 600; }

/* =================================================================
   7. CARDS
   ================================================================= */
.card {
  background: var(--color-bg-alt);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: block;
  text-decoration: none;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}
a.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
  color: var(--color-text);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  display: inline-block;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-accent);
}
.card__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9375rem;
  color: var(--color-primary);
}
.card__cta::after { content: "→"; transition: transform var(--transition); }
a.card:hover .card__cta { color: var(--color-accent); }
a.card:hover .card__cta::after { transform: translateX(4px); }

/* numbered "stats" pill */
.stat {
  text-align: left;
  padding: 1rem 0;
}
.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 0.95;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 0.25rem;
}
.stat__label {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  max-width: 22ch;
}

/* =================================================================
   8. WHY-US TILES
   ================================================================= */
.tile {
  padding: 1.75rem 1.25rem 1.5rem;
  background: transparent;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  position: relative;
}
.tile::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 2.5rem;
  height: 1px;
  background: var(--color-accent);
}
.tile h3 { margin-top: 0; font-size: 1.2rem; }
.tile p { color: var(--color-text-muted); margin-bottom: 0; font-size: 0.9375rem; }

/* =================================================================
   9. FAQ (uses native <details>)
   ================================================================= */
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}
.faq-item summary {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-accent);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item__body { margin-top: 1rem; color: var(--color-text); max-width: 70ch; }

/* =================================================================
   10. FORMS
   ================================================================= */
.form-grid { display: grid; gap: 1rem; max-width: 560px; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
}
.field label .req { color: var(--color-warning); }
.field input,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius);
  background: var(--color-bg-alt);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(31, 56, 100, 0.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field--check { flex-direction: row; align-items: flex-start; gap: 0.6rem; }
.field--check label { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.5; }
.field--check input { width: 18px; height: 18px; margin-top: 0.2rem; }

.form-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* =================================================================
   11. INFO / CALLOUT BOXES
   ================================================================= */
.callout {
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout--warn { border-left-color: var(--color-warning); background: #FCF1F1; }

/* "Pill" tag chip */
.tag {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: var(--color-bg-tinted);
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

/* =================================================================
   12. FOOTER
   ================================================================= */
.site-footer {
  background: var(--color-primary-dark);
  color: var(--color-text-on-dark);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.site-footer h4 {
  color: #FFF;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}
.site-footer p, .site-footer li { color: var(--color-text-on-dark-muted); font-size: 0.9375rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a {
  color: var(--color-text-on-dark);
  text-decoration: none;
  transition: color var(--transition);
}
.site-footer a:hover { color: var(--color-accent); }

.site-footer__legal {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: var(--color-text-on-dark-muted);
  line-height: 1.7;
}
.site-footer__legal p { margin-bottom: 0.6em; }

/* =================================================================
   13. UTILITIES
   ================================================================= */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #FFF;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* =================================================================
   13B. TRUSTED-BY BAR
   ================================================================= */
.trusted-bar {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}
.trusted-bar__label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}
.trusted-bar__names {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--color-primary);
  margin: 0;
  line-height: 1.5;
}
.trusted-bar__names .sep { color: var(--color-accent); margin: 0 0.4em; }

/* =================================================================
   13C. PROCESS STEPS (How I work)
   ================================================================= */
.steps {
  counter-reset: step;
  position: relative;
}
/* Connecting line behind step circles (desktop only) */
@media (min-width: 720px) {
  .steps::before {
    content: "";
    position: absolute;
    top: 1.125rem;
    left: 16%;
    right: 16%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-border-strong) 20%, var(--color-border-strong) 80%, transparent);
    z-index: 0;
  }
}
.step {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  z-index: 1;
}
.step__num {
  position: absolute;
  top: -0.7rem;
  left: 1.5rem;
  background: var(--color-primary);
  color: #FFF;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step h3 { margin-top: 0.5rem; }
.step p:last-child { margin-bottom: 0; color: var(--color-text-muted); }

/* =================================================================
   14. IMAGES & MEDIA
   ================================================================= */
img.responsive {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero with a side image (text left, image right on desktop) */
.hero--split .wrap {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .hero--split .wrap {
    grid-template-columns: 1.15fr 1fr;
  }
}
.hero__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--color-bg-tinted);
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;   /* keep the head visible on portraits */
  display: block;
}

/* Portrait + bio composition.
   Source image is 700×1050 (portrait orientation), so the container
   matches that aspect ratio and the image fits naturally without
   the face being cropped. */
.portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-tinted);
  aspect-ratio: 2 / 3;
  max-width: 360px;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Photo banner inside a service section — wide letterbox, anchored to bottom
   so the interesting half of the image (e.g. rooftops) stays in view and any
   empty sky / negative space is cropped out. */
.media-band {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 1;
  background: var(--color-bg-tinted);
  margin-bottom: 1.5rem;
}
@media (min-width: 720px) {
  .media-band { aspect-ratio: 5 / 1; }
}
.media-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

/* Photo credit / caption (small italic underneath) */
.photo-credit {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: 0.4rem;
}

/* =================================================================
   13D. PULL-QUOTE / TESTIMONIAL
   ================================================================= */
.pullquote {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: left;
  position: relative;
}
.pullquote::before {
  content: "\201C";
  font-family: var(--font-serif);
  font-size: clamp(5rem, 12vw, 9rem);
  color: var(--color-accent);
  line-height: 0.9;
  position: absolute;
  top: -1rem;
  left: -0.4rem;
  opacity: 0.4;
  pointer-events: none;
}
.pullquote__text {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.35;
  font-weight: 500;
  color: var(--color-primary);
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}
.pullquote__attrib {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.pullquote__attrib em {
  font-style: normal;
  color: var(--color-accent);
  margin-right: 0.5rem;
}

/* =================================================================
   14B. SCROLL-REVEAL (subtle fade-up as sections enter viewport)
   ================================================================= */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    will-change: opacity, transform;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =================================================================
   14C. FEATURED PROPERTY CARD (visual hierarchy on home grid)
   ================================================================= */
.card--feature {
  grid-column: 1 / -1;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--color-bg-tinted) 100%);
  border-left: 4px solid var(--color-accent);
}
@media (min-width: 720px) {
  .card--feature {
    grid-column: 1 / span 2;
    padding: 3rem 2.5rem;
  }
}
.card--feature h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}
.card--feature p {
  font-size: 1.05rem;
  max-width: 50ch;
}
.card--feature .tag {
  margin-bottom: 0.75rem;
}

/* =================================================================
   15. PRINT
   ================================================================= */
@media print {
  .site-header, .site-footer, .btn { display: none !important; }
  body { background: #FFF; }
  a { text-decoration: underline; color: #000; }
}
