/* ==========================================================================
   Interior Motives Design — shared design system
   Navy + white from the brand collateral, warmed up with the colors that show
   up in the studio's own work: brass, harbor teal, terracotta, and sage.
   Soft radii, generous spacing, layered shadows — artful, not corporate.
   Never hardcode hex values or font names in page markup — use these.
   ========================================================================== */

:root {
  /* ---- Brand ---- */
  --color-navy:        #13223f;
  --color-navy-deep:   #0b152b;
  --color-soft-navy:   #24365a;
  --color-navy-pale:   #e9edf5;

  /* ---- Accent palette (from the portfolio) ---- */
  --color-brass:       #c0955a;  /* warm metallic — primary accent */
  --color-brass-deep:  #a67c44;
  --color-brass-pale:  #f6ecdc;
  --color-brass-text:  #7a5626;  /* readable bronze for small text on light backgrounds */
  --color-teal:        #2f7f8a;  /* harbor teal — agate lamp, coastal rugs */
  --color-teal-pale:   #e1eff0;
  --color-coral:       #c9694a;  /* terracotta — showroom walls */
  --color-coral-pale:  #f8e6df;
  --color-coral-text:  #9a4528;
  --color-sage:        #7f9a86;  /* sage — bedroom accents */
  --color-sage-pale:   #e6ede7;

  /* ---- Section blues ---- */
  --color-ice:         #f0f5fb;  /* barely-there blue */
  --color-sky:         #dfe9f4;  /* soft powder blue */
  --color-blue-mist:   #c9d9eb;  /* dusty coastal blue — deepest light band */
  --color-blue-btn:    #8dc0e0;  /* light blue button fill (navy text sits on it) */
  --color-blue-btn-lt: #a8cfe8;

  /* ---- Neutrals ---- */
  --color-stone:       #efe9e0;
  --color-sand:        #dcd3c6;
  --color-cream:       #faf7f2;
  --color-white:       #ffffff;

  /* ---- Text ---- */
  --color-ink:         var(--color-navy);
  --color-ink-70:      rgba(19, 34, 63, 0.72);
  --color-ink-40:      rgba(19, 34, 63, 0.42);
  --color-ink-15:      rgba(19, 34, 63, 0.13);
  --color-on-dark:     rgba(255, 255, 255, 0.88);
  --color-on-dark-60:  rgba(255, 255, 255, 0.64);
  --color-on-dark-15:  rgba(255, 255, 255, 0.16);

  /* ---- Type ---- */
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Work Sans', -apple-system, Segoe UI, sans-serif;
  --font-accent:  'Jost', -apple-system, Segoe UI, sans-serif;

  /* ---- Shape ---- */
  --container-width: 1200px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 60px -30px rgba(11, 21, 43, 0.45);
  --shadow-card: 0 10px 30px -16px rgba(11, 21, 43, 0.28), 0 1px 2px rgba(11, 21, 43, 0.04);
  --shadow-lift: 0 18px 44px -18px rgba(11, 21, 43, 0.38);
  --shadow-btn:  0 10px 24px -10px rgba(11, 21, 43, 0.55), inset 0 1px 0 rgba(255,255,255,0.14);
  --header-height: 84px;

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-cream);
  line-height: 1.65;
  font-size: 1rem;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0.9em 1.4em;
  z-index: 1000;
  font-family: var(--font-accent);
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--color-teal); outline-offset: 3px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.12;
  color: var(--color-ink);
}

h1 { font-size: clamp(2.5rem, 4.5vw + 1rem, 4.2rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 2.6vw + 1rem, 2.9rem); }
h3 { font-size: clamp(1.25rem, 1.2vw + 1rem, 1.55rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--color-brass-text);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.7;
}

.section-head.center .eyebrow::before { display: none; }

.lede {
  font-size: 1.12rem;
  color: var(--color-ink-70);
  max-width: 58ch;
  line-height: 1.7;
}

.rule {
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--color-brass), var(--color-coral));
  margin-block: 1.25rem;
}

.section-head.center .rule { margin-inline: auto; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 1.75rem;
}

.section { padding-block: clamp(4rem, 7vw, 7rem); }
[id] { scroll-margin-top: calc(var(--header-height) + 1rem); }

.section-head { max-width: 680px; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }

/* ==========================================================================
   Section bands — soft, tinted, with a faint grain
   ========================================================================== */

.band-cream { background: var(--color-cream); }
.band-white { background: var(--color-white); }
.band-stone { background: var(--color-stone); }
.band-warm  { background: var(--color-brass-pale); }
.band-pale  { background: var(--color-navy-pale); }
.band-teal  { background: var(--color-teal-pale); }
.band-coral { background: var(--color-coral-pale); }
.band-sage  { background: var(--color-sage-pale); }
.band-ice   { background: var(--color-ice); }
.band-sky   { background: var(--color-sky); }
.band-blue  { background: var(--color-blue-mist); }

.band-navy {
  background-color: var(--color-navy-deep);
  background-image:
    radial-gradient(ellipse at 15% 0%, rgba(47, 127, 138, 0.35), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(201, 105, 74, 0.28), transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1   0 0 0 0 1   0 0 0 0 1  0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--color-on-dark);
}

.band-navy h1, .band-navy h2, .band-navy h3, .band-navy h4 { color: var(--color-white); }
.band-navy .lede { color: var(--color-on-dark-60); }
.band-navy .eyebrow { color: var(--color-brass); }

/* ==========================================================================
   Buttons — pill-shaped, with real depth
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  padding: 1em 1.9em;
  border: 1.5px solid var(--color-navy);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-navy);
  transition: background 0.2s var(--ease-standard), color 0.2s var(--ease-standard), border-color 0.2s var(--ease-standard), transform 0.2s var(--ease-standard), box-shadow 0.2s var(--ease-standard);
  white-space: nowrap;
}

.btn:hover { background: var(--color-navy); color: var(--color-white); transform: translateY(-1px); }

.btn-primary { background: var(--color-navy); color: var(--color-white); box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--color-soft-navy); border-color: var(--color-soft-navy); box-shadow: 0 14px 28px -10px rgba(11, 21, 43, 0.6), inset 0 1px 0 rgba(255,255,255,0.14); }

.btn-secondary { background: var(--color-white); }

.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.7); color: var(--color-white); }
.btn-ghost:hover { background: var(--color-white); color: var(--color-navy); border-color: var(--color-white); }

.btn-brass {
  background: linear-gradient(135deg, var(--color-blue-btn-lt), var(--color-blue-btn));
  border-color: transparent;
  color: var(--color-navy);
  box-shadow: 0 12px 28px -10px rgba(45, 102, 144, 0.7), inset 0 1px 0 rgba(255,255,255,0.45);
}
.btn-brass:hover { background: linear-gradient(135deg, #bcdcef, #9ac7e4); border-color: transparent; color: var(--color-navy); }

.btn-lg { font-size: 0.9rem; padding: 1.2em 2.4em; letter-spacing: 0.14em; }

.btn svg { width: 1.05em; height: 1.05em; flex-shrink: 0; }

.cta-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; }

.text-link {
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-navy);
  border-bottom: 2px solid var(--color-brass);
  padding-bottom: 0.2em;
  transition: color 0.2s var(--ease-standard), border-color 0.2s var(--ease-standard);
}

.text-link:hover { color: var(--color-teal); border-color: var(--color-teal); }

/* ==========================================================================
   Header / Nav — logo · menu button · full phone number
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-ink-15);
  box-shadow: 0 6px 24px -18px rgba(11, 21, 43, 0.35);
}

/* Homepage: header stays hidden until the visitor scrolls past the hero top */
body.home .site-header {
  position: fixed;
  left: 0;
  right: 0;
  transform: translateY(-100%);
  transition: transform 0.3s var(--ease-standard);
}

body.home .site-header.header-visible { transform: translateY(0); }
/* Keyboard focus inside the hidden homepage header brings it into view */
body.home .site-header:focus-within { transform: translateY(0); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-height);
}

.logo { display: flex; align-items: center; }
.logo img { height: 52px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 0.75rem; }

.nav-menu { position: relative; }

.nav-menu-toggle {
  display: flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  padding: 0.75em 1.15em;
  border: 1.5px solid var(--color-navy);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-navy);
  transition: background 0.2s var(--ease-standard), color 0.2s var(--ease-standard);
}

.nav-menu-toggle:hover,
.nav-menu-toggle[aria-expanded="true"] { background: var(--color-navy); color: var(--color-white); }

.nav-menu-toggle svg { width: 1em; height: 1em; transition: transform 0.2s var(--ease-standard); }
.nav-menu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav-menu-panel {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  min-width: 250px;
  background: var(--color-white);
  border: 1px solid var(--color-ink-15);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 0.6rem;
  z-index: 600;
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-menu-panel.is-open { display: flex; animation: menu-in 0.2s var(--ease-standard); }

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

.nav-menu-panel a {
  display: block;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--color-ink-70);
  transition: background 0.15s var(--ease-standard), color 0.15s var(--ease-standard);
}

.nav-menu-panel a:hover { background: var(--color-navy-pale); color: var(--color-navy); }
.nav-menu-panel a.is-active { background: var(--color-teal-pale); color: var(--color-teal); }

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  color: var(--color-white);
  background: var(--color-navy);
  padding: 0.78em 1.25em;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-btn);
  white-space: nowrap;
  transition: background 0.2s var(--ease-standard), transform 0.2s var(--ease-standard);
}

.header-call:hover { background: var(--color-soft-navy); transform: translateY(-1px); }
.header-call svg { width: 1em; height: 1em; color: var(--color-brass); }

/* ==========================================================================
   Home hero — full-bleed photograph
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--color-white);
  padding-block: clamp(1.5rem, 5vh, 3rem);
}

.hero.hero-logo {
  text-align: center;
  background:
    radial-gradient(120% 120% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.32) 100%),
    linear-gradient(0deg, rgba(11, 21, 43, 0.32), rgba(11, 21, 43, 0.22)),
    url("../images/portfolio/great-room-grey-kitchen.jpg") center / cover no-repeat;
}

.hero .container { position: relative; z-index: 1; }

/* Every hero fills the screen, with its content centered. Internal spacing,
   the logo and the headline all scale with viewport HEIGHT (not just width)
   so the whole stack settles at roughly one screen's worth of content across
   common laptop/desktop heights, instead of overflowing past 100svh. */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero > .container { width: 100%; }

.hero-copy { display: grid; gap: clamp(1rem, 2.6vh, 1.75rem); max-width: 820px; }

.hero-logo .hero-copy { justify-items: center; max-width: 820px; margin-inline: auto; }

/* Logo mark: large, with a layered white "smear" behind the mark itself to
   read as a slightly heavier weight, plus a soft dark shadow for contrast
   against a bright photo. */
.hero-logo-mark {
  display: block;
  height: clamp(170px, 15vw + 10vh, 280px);
  width: auto;
  margin-bottom: 0.4rem;
  filter:
    drop-shadow(0.8px 0 0 rgba(255, 255, 255, 0.9))
    drop-shadow(-0.8px 0 0 rgba(255, 255, 255, 0.9))
    drop-shadow(0 0.8px 0 rgba(255, 255, 255, 0.9))
    drop-shadow(0 -0.8px 0 rgba(255, 255, 255, 0.9))
    drop-shadow(0 3px 14px rgba(0, 0, 0, 0.55))
    drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.hero-copy .eyebrow {
  color: var(--color-brass);
  font-size: 0.86rem;
  letter-spacing: 0.2em;
}

.hero-logo .eyebrow {
  color: var(--color-blue-btn-lt);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-copy h1 {
  color: var(--color-white);
  font-weight: 700;
  font-size: clamp(3rem, 5.2vw + 1rem, 5.4rem);
  line-height: 1.04;
  margin-bottom: 0.25rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-logo h1 {
  font-size: clamp(3.6rem, 4vw + 5vh, 7rem);
}

.h1-accent { color: var(--color-brass); }

.hero-logo .h1-accent {
  color: #f0d6a4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-copy .lede {
  color: var(--color-on-dark);
  font-size: 1.25rem;
  line-height: 1.65;
  max-width: 54ch;
  margin-bottom: 0.75rem;
}

.hero-logo .lede {
  margin-inline: auto;
  margin-bottom: 0;
  font-weight: 600;
  font-size: clamp(1.1rem, 0.6vw + 1.6vh, 1.45rem);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-copy .cta-pair { gap: 1.1rem; }
.hero-logo .cta-pair { justify-content: center; margin-top: clamp(0.4rem, 1.4vh, 1rem); }
.hero-copy .btn { border-width: 0; }
.hero-copy .btn-lg { font-size: 1rem; padding: 1.3em 2.6em; }
.hero-copy .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.5);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-logo .hero-trust {
  justify-content: center;
  border-top-color: rgba(255, 255, 255, 0.32);
  margin-top: clamp(1rem, 2.6vh, 2rem);
  padding-top: clamp(0.85rem, 1.8vh, 1.5rem);
}
.hero-logo .hero-trust li { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55); }

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: var(--color-on-dark);
}

.hero-trust li::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--color-brass);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Photograph with a soft offset frame */
.img-frame { position: relative; border-radius: var(--radius-md); }

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lift);
}

.img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translate(16px, 16px);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-brass-pale), var(--color-teal-pale));
  z-index: 0;
}

.img-frame.frame-navy::before { background: linear-gradient(135deg, var(--color-navy-pale), var(--color-coral-pale)); }
.img-frame.frame-teal::before { background: linear-gradient(135deg, var(--color-teal-pale), var(--color-sage-pale)); }

/* ==========================================================================
   "See Our Work" carousel
   ========================================================================== */

.work-carousel-section { padding-block: clamp(4rem, 7vw, 7rem); background: var(--color-white); }

.work-carousel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.carousel-controls { display: flex; gap: 0.6rem; }

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--color-navy);
  background: var(--color-white);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease-standard), color 0.2s var(--ease-standard), transform 0.2s var(--ease-standard);
}

.carousel-btn:hover { background: var(--color-navy); color: var(--color-white); transform: translateY(-1px); }
.carousel-btn svg { width: 1.2em; height: 1.2em; }

.work-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 1.75rem 1.25rem;
  scroll-padding-inline: 1.75rem;
  margin-inline: -1.75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-brass) transparent;
}

.work-card {
  scroll-snap-align: start;
  flex: 0 0 min(360px, 78vw);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s var(--ease-standard), box-shadow 0.3s var(--ease-standard);
}

.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.work-card-image { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--color-stone); }
.work-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-standard); }
.work-card:hover .work-card-image img { transform: scale(1.04); }

.work-card-body { padding: 1.1rem 1.35rem 1.35rem; }
.work-card-body h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.work-card-body p {
  color: var(--color-teal);
  font-family: var(--font-accent);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ==========================================================================
   Cards — services / stats
   ========================================================================== */

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.stats-grid { margin-bottom: 2.5rem; }

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--color-ink-15);
  box-shadow: var(--shadow-card);
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  transition: transform 0.3s var(--ease-standard), box-shadow 0.3s var(--ease-standard);
}

.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.service-card .icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--color-brass-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid > .service-card:nth-child(3n+2) .icon-tile { background: var(--color-teal-pale); }
.grid > .service-card:nth-child(3n+3) .icon-tile { background: var(--color-coral-pale); }
.grid > .service-card:nth-child(4n+4) .icon-tile { background: var(--color-sage-pale); }

.service-card .icon-tile svg { width: 1.45em; height: 1.45em; color: var(--color-navy); stroke-width: 1.6; }
.service-card p { color: var(--color-ink-70); font-size: 0.95rem; }

.service-card .card-link {
  margin-top: auto;
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-teal);
}

.service-card .card-link:hover { color: var(--color-coral); }

.service-card.has-photo { padding: 0; overflow: hidden; }
.service-card.has-photo .service-photo { aspect-ratio: 3 / 2; overflow: hidden; }
.service-card.has-photo .service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-standard); }
.service-card.has-photo:hover .service-photo img { transform: scale(1.04); }
.service-card.has-photo .service-body { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }

.stat-card { text-align: center; padding: 2rem 1.25rem; box-shadow: none; }

.stat-card .stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  font-weight: 500;
  color: var(--color-teal);
  display: block;
  margin-bottom: 0.3rem;
  line-height: 1;
}

.stat-card .stat-label {
  font-family: var(--font-accent);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--color-ink-70);
}

/* ==========================================================================
   Split feature (photo + copy)
   ========================================================================== */

.feature-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.feature-split.reverse > :first-child { order: 2; }
.feature-split .img-frame { aspect-ratio: 4 / 5; max-width: 520px; }
.feature-split .img-frame.landscape { aspect-ratio: 4 / 3; max-width: none; }
.feature-split .img-frame.square { aspect-ratio: 1; max-width: 480px; }
.feature-split p + p { margin-top: 1rem; }

/* ==========================================================================
   Consultation form — reveals step by step as it's filled in
   ========================================================================== */

.form-section .container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.quote-form {
  background: var(--color-white);
  border: 1px solid var(--color-ink-15);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.75rem);
  box-shadow: var(--shadow-lift);
  display: grid;
  gap: 0.35rem;
}

.form-progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-progress span {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--color-navy-pale);
  transition: background 0.4s var(--ease-standard);
}

.form-progress span.is-done { background: linear-gradient(90deg, var(--color-teal), var(--color-brass)); }

.form-progress small {
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.64rem;
  color: var(--color-ink-70);
  margin-left: 0.5rem;
  white-space: nowrap;
}

.form-step { display: grid; gap: 0.35rem; }
.form-step[hidden] { display: none; }
.form-step.is-revealed { animation: step-in 0.45s var(--ease-standard); }

@keyframes step-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.step-hint {
  font-size: 0.85rem;
  color: var(--color-teal);
  font-family: var(--font-accent);
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-hint::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-teal);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

.field-label {
  display: block;
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-navy);
  margin-top: 1.4rem;
  margin-bottom: 0.55rem;
}

.form-step > .field-label:first-child { margin-top: 1.4rem; }
.form-step:first-of-type > .field-label:first-child { margin-top: 0; }

.field-hint { font-size: 0.82rem; color: var(--color-ink-70); margin: -0.35rem 0 0.6rem; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.quote-form input[type="text"],
.quote-form input[type="tel"],
.quote-form input[type="email"],
.quote-form select,
.quote-form textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--color-ink);
  background: var(--color-cream);
  border: 1.5px solid var(--color-sand);
  border-radius: var(--radius-sm);
  padding: 0.9em 1.1em;
  transition: border-color 0.2s var(--ease-standard), background 0.2s var(--ease-standard), box-shadow 0.2s var(--ease-standard);
}

.quote-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313223f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9em center;
  background-size: 1em;
  padding-right: 2.6em;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  background: var(--color-white);
  box-shadow: 0 0 0 4px var(--color-teal-pale);
}

.quote-form textarea { min-height: 130px; resize: vertical; }

.check-grid, .radio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem 0.75rem; }

.check-item, .radio-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  padding: 0.75em 1em;
  border: 1.5px solid var(--color-sand);
  border-radius: var(--radius-sm);
  background: var(--color-cream);
  cursor: pointer;
  transition: border-color 0.2s var(--ease-standard), background 0.2s var(--ease-standard), transform 0.2s var(--ease-standard);
}

.check-item:hover, .radio-item:hover { border-color: var(--color-teal); background: var(--color-white); }

.check-item input, .radio-item input { accent-color: var(--color-teal); width: 1rem; height: 1rem; margin: 0; flex-shrink: 0; }

.check-item:has(input:checked), .radio-item:has(input:checked) { border-color: var(--color-teal); background: var(--color-teal-pale); }

.quote-form .btn { margin-top: 1.5rem; width: 100%; }

.form-privacy { font-size: 0.78rem; color: var(--color-ink-70); text-align: center; margin-top: 0.75rem; }

.form-aside { display: grid; gap: 2rem; }
.form-aside .img-frame { aspect-ratio: 4 / 3; }

.contact-list { display: grid; gap: 0.9rem; margin-top: 1.5rem; }
.contact-list li { display: flex; align-items: flex-start; gap: 0.85rem; font-size: 0.98rem; }

.contact-list svg {
  width: 1.2em; height: 1.2em;
  color: var(--color-teal);
  flex-shrink: 0;
  margin-top: 0.2em;
  stroke-width: 1.5;
}

.contact-list a:hover { color: var(--color-teal); }
.contact-list small { display: block; color: var(--color-ink-70); font-size: 0.82rem; }

/* ==========================================================================
   Reviews
   ========================================================================== */

.review-card {
  background: var(--color-white);
  border: 1px solid var(--color-ink-15);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-stars { display: flex; gap: 0.15rem; color: var(--color-brass); }
.review-stars svg { width: 1rem; height: 1rem; }

.review-card blockquote {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--color-ink);
}

.review-card blockquote::before { content: '\201C'; color: var(--color-coral); }
.review-card blockquote::after  { content: '\201D'; color: var(--color-coral); }

.review-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-ink-15);
}

.review-meta strong { font-family: var(--font-accent); font-weight: 500; font-size: 0.92rem; }
.review-meta span { font-family: var(--font-accent); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.66rem; color: var(--color-ink-70); }

.review-card.is-placeholder { border-style: dashed; box-shadow: none; }
.review-card.is-placeholder blockquote { color: var(--color-ink-70); font-style: italic; }
.review-card.is-placeholder blockquote::before,
.review-card.is-placeholder blockquote::after { content: none; }

.placeholder-note {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-coral-text);
  background: var(--color-coral-pale);
  padding: 0.35em 0.85em;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}

/* ==========================================================================
   Team
   ========================================================================== */

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.team-card {
  background: var(--color-white);
  border: 1px solid var(--color-ink-15);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 0;
  overflow: hidden;
  display: grid;
  align-content: start;
  transition: transform 0.3s var(--ease-standard), box-shadow 0.3s var(--ease-standard);
}

.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.team-card .team-photo { aspect-ratio: 1; overflow: hidden; background: var(--color-stone); }
.team-card .team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.team-card .team-body { padding: 1.5rem 1.75rem 1.75rem; display: grid; gap: 0.4rem; }
.team-card h3 { font-size: 1.35rem; }

.team-card .role {
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  color: var(--color-teal);
}

.team-card p { color: var(--color-ink-70); font-size: 0.95rem; margin-top: 0.4rem; }

.team-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.team-gallery figure { display: grid; gap: calc(16px + 0.8rem); }
.team-gallery .img-frame { aspect-ratio: 4 / 5; }
.team-gallery figcaption {
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  color: var(--color-ink-70);
}

/* ==========================================================================
   Portfolio — gallery & before/after
   ========================================================================== */

.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2.5rem; }

.gallery-filters button {
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.65em 1.2em;
  border: 1.5px solid var(--color-sand);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-ink-70);
  transition: all 0.2s var(--ease-standard);
}

.gallery-filters button:hover { border-color: var(--color-teal); color: var(--color-teal); }
.gallery-filters button.is-active { border-color: var(--color-navy); background: var(--color-navy); color: var(--color-white); }

.gallery { columns: 3; column-gap: 1.5rem; }

.gallery figure {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-stone);
  box-shadow: var(--shadow-card);
}

.gallery figure.is-hidden { display: none; }
.gallery img { width: 100%; height: auto; transition: transform 0.6s var(--ease-standard); cursor: zoom-in; }
.gallery figure:hover img { transform: scale(1.03); }

.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1.1rem 1rem;
  background: linear-gradient(to top, rgba(11,21,43,0.8), transparent);
  color: var(--color-white);
  font-family: var(--font-accent);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0;
  transition: opacity 0.3s var(--ease-standard);
  pointer-events: none;
}

.gallery figure:hover figcaption { opacity: 1; }

.ba-grid { display: grid; gap: 2.5rem; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ba-pair figure { position: relative; overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 4 / 3; background: var(--color-stone); box-shadow: var(--shadow-card); }
.ba-pair img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }

.ba-pair figcaption {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.66rem;
  font-weight: 500;
  padding: 0.45em 0.95em;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.92);
  color: var(--color-navy);
}

.ba-pair .is-after figcaption { background: var(--color-teal); color: var(--color-white); }
.ba-caption { grid-column: 1 / -1; font-size: 0.95rem; color: var(--color-ink-70); }
.ba-caption strong { color: var(--color-navy); font-weight: 600; }

.lightbox { border: none; padding: 0; background: transparent; max-width: min(94vw, 1200px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(11, 21, 43, 0.9); }
.lightbox img { max-width: 94vw; max-height: 86vh; width: auto; height: auto; border-radius: var(--radius-md); margin-inline: auto; }
.lightbox figcaption { text-align: center; color: var(--color-on-dark); font-family: var(--font-accent); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; margin-top: 0.9rem; }

.lightbox-close {
  position: fixed;
  top: 1rem; right: 1rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close svg { width: 1.2em; height: 1.2em; }

/* ==========================================================================
   Partners
   ========================================================================== */

.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.partner-tile {
  aspect-ratio: 3 / 2;
  border: 1.5px dashed var(--color-sand);
  border-radius: var(--radius-md);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--color-ink-40);
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.66rem;
  text-align: center;
  padding: 1rem;
}

.partner-tile svg { width: 1.6rem; height: 1.6rem; stroke-width: 1.2; }

/* ==========================================================================
   Process steps / checklist / FAQ
   ========================================================================== */

.check-list li { display: flex; align-items: flex-start; gap: 0.85rem; padding-block: 0.75rem; border-bottom: 1px solid var(--color-ink-15); }
.check-list li:last-child { border-bottom: none; }
.check-list svg { width: 1.2em; height: 1.2em; color: var(--color-teal); flex-shrink: 0; margin-top: 0.2em; }

.process-steps { counter-reset: step; display: grid; gap: 1.5rem; }
.process-steps li { counter-increment: step; display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; }
.process-steps h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.process-steps p { color: var(--color-ink-70); font-size: 0.95rem; }

.process-steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  width: 48px; height: 48px;
  border-radius: 16px;
  background: var(--color-brass-pale);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-steps li:nth-child(2)::before { background: var(--color-teal-pale); }
.process-steps li:nth-child(3)::before { background: var(--color-coral-pale); }
.process-steps li:nth-child(4)::before { background: var(--color-sage-pale); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }

.process-grid li {
  counter-increment: step;
  display: grid;
  gap: 0.6rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.process-grid li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--color-brass-deep);
}

.process-grid li:nth-child(2)::before { color: var(--color-teal); }
.process-grid li:nth-child(3)::before { color: var(--color-coral); }
.process-grid li:nth-child(4)::before { color: var(--color-sage); }

.process-grid h3 { font-size: 1.12rem; }
.process-grid p { color: var(--color-ink-70); font-size: 0.93rem; }

.faq details { border-top: 1px solid var(--color-ink-15); padding-block: 1.1rem; }
.faq details:last-child { border-bottom: 1px solid var(--color-ink-15); }

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  font-family: var(--font-accent);
  color: var(--color-coral);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.2s var(--ease-standard);
}

.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--color-ink-70); margin-top: 0.75rem; max-width: 70ch; }

/* ==========================================================================
   CTA band
   ========================================================================== */

/* Section-closing CTA row */
.section-cta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.cta-band { text-align: center; }
.cta-band .section-head { margin-inline: auto; }
.cta-band .cta-pair { justify-content: center; margin-top: 1.75rem; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--color-navy-deep); color: var(--color-on-dark); padding-block: 4rem 2rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2.25rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-on-dark-15);
}

.footer-grid .footer-title {
  line-height: 1.12;
  color: var(--color-brass);
  font-family: var(--font-accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  margin-bottom: 1.1rem;
}

.footer-grid ul { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.9rem; color: var(--color-on-dark-60); }
.footer-grid a:hover { color: var(--color-white); }
.footer-logo img { height: 64px; width: auto; margin-bottom: 1.1rem; }
.footer-tagline { font-size: 0.92rem; color: var(--color-on-dark-60); max-width: 34ch; }
.footer-address { margin-top: 1.1rem; font-size: 0.88rem; color: var(--color-on-dark-60); line-height: 1.7; }

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--color-on-dark-60);
  font-family: var(--font-accent);
  letter-spacing: 0.06em;
}

/* ==========================================================================
   Inner-page components
   ========================================================================== */

.page-hero {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-ink-15);
}

.page-hero .container { max-width: 820px; }
.page-hero .cta-pair { margin-top: 1.75rem; }

.page-hero {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
}

.page-hero > .container { width: 100%; }

.page-hero .cta-pair .btn { font-size: 0.9rem; padding: 1.2em 2.4em; letter-spacing: 0.14em; }
.page-hero .cta-pair .btn:not(.btn-primary) { background: var(--color-white); box-shadow: var(--shadow-card); }
.page-hero .cta-pair .btn:not(.btn-primary):hover { background: var(--color-navy); }

.page-hero.has-image {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--color-cream) 55%, var(--color-brass-pale));
  border-bottom: none;
}

.page-hero.has-image .container {
  max-width: var(--container-width);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.page-hero.has-image .img-frame { aspect-ratio: 4 / 3; }

.breadcrumbs {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-ink-70);
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.breadcrumbs a:hover { color: var(--color-teal); }

.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }

.sidebar-card { position: sticky; top: calc(var(--header-height) + 1.5rem); display: grid; gap: 1.5rem; }
.sidebar-card .img-frame { aspect-ratio: 4 / 3; margin-bottom: 0.5rem; }

.related-links a { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--color-ink-15); font-family: var(--font-accent); font-size: 0.88rem; }
.related-links a:last-child { border-bottom: none; }
.related-links a:hover { color: var(--color-teal); }

.link-grid a.btn { justify-content: center; }

.prose h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--color-ink-70); margin-bottom: 1rem; max-width: 68ch; }
.prose .check-list { margin-block: 1.25rem 2rem; }
/* Local-SEO copy (2026-10-30): in-copy links are underlined (SITE_RULES 8.2); plain lists and H3s get readable spacing. */
.prose p a, .prose li a { text-decoration: underline; text-underline-offset: 0.15em; }
.prose h3 { margin-top: 1.75rem; margin-bottom: 0.5rem; }
.prose ul:not(.check-list) { list-style: disc; padding-left: 1.25rem; margin-block: 0.5rem 1.25rem; color: var(--color-ink-70); }
.prose ul:not(.check-list) li { margin-bottom: 0.3rem; }
.prose blockquote p { color: var(--color-ink); font-style: italic; }

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-white { color: var(--color-white); }
.mt-0 { margin-top: 0; }
.bg-white { background: var(--color-white); }

/* ==========================================================================
   Tablet and below
   ========================================================================== */

@media (max-width: 900px) {
  :root { --header-height: 72px; }
  .logo img { height: 44px; }

  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .team-grid, .team-gallery { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; }

  .two-col, .feature-split, .form-section .container, .page-hero.has-image .container { grid-template-columns: 1fr; }
  .feature-split.reverse > :first-child { order: 0; }
  .feature-split .img-frame { max-width: none; aspect-ratio: 4 / 3; }
  .feature-split .img-frame.square { max-width: 420px; aspect-ratio: 1; }
  .sidebar-card { position: static; }
  .form-aside { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

/* ==========================================================================
   Mobile-only tweaks — isolated block, never touches base/desktop rules
   ========================================================================== */

@media (max-width: 640px) {

  /* ---- Base type & rhythm ---- */
  body { line-height: 1.55; }
  .container { padding-inline: 1.25rem; }

  h1 { font-size: clamp(2.35rem, 10.5vw, 2.9rem); line-height: 1.04; }
  h2 { font-size: 1.6rem; line-height: 1.15; }
  h3 { font-size: 1.1rem; }
  .eyebrow { margin-bottom: 0.6rem; font-size: 0.66rem; letter-spacing: 0.16em; }
  .lede { font-size: 0.95rem; line-height: 1.55; }
  .rule { margin-block: 0.9rem; }

  .section,
  .work-carousel-section { padding-block: 3rem; }
  .section-head { margin-bottom: 1.5rem; }
  .section-head .lede { font-size: 0.92rem; }
  [style*="margin-top:3rem"] { margin-top: 2rem !important; }

  .img-frame::before { transform: translate(8px, 8px); }

  /* ---- Buttons ---- */
  .btn { padding: 0.9em 1.4em; font-size: 0.76rem; }
  .btn-lg { padding: 1.05em 1.8em; font-size: 0.82rem; }
  .cta-pair { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .cta-pair .btn { justify-content: center; }
  .section-cta { flex-direction: column; align-items: stretch; gap: 0.7rem; margin-top: 1.75rem; }

  /* ---- Header ---- */
  .header-call { font-size: 0.76rem; padding: 0.7em 0.95em; }
  .header-call svg { display: none; }
  .nav-menu-toggle { padding: 0.7em 0.9em; font-size: 0.72rem; }

  /* ==================== Heroes ==================== */

  /* Home: logo-forward photo hero — full makeover for mobile, not just a
     scaled-down desktop copy. Bigger logo and headline as requested, a
     tighter vh-aware vertical rhythm so the whole stack settles near one
     screen instead of running long, and its own shadow/chip treatment
     tuned for a small bright screen rather than reused desktop values. */
  .hero.hero-logo {
    padding-block: clamp(1.1rem, 4.2vh, 2.2rem);
    background:
      radial-gradient(140% 90% at 50% 40%, transparent 45%, rgba(0, 0, 0, 0.38) 100%),
      linear-gradient(0deg, rgba(11, 21, 43, 0.42), rgba(11, 21, 43, 0.3)),
      url("../images/portfolio/great-room-grey-kitchen.jpg") center / cover no-repeat;
  }

  .hero-logo-mark {
    height: clamp(96px, 15vw + 6vh, 175px);
    margin-bottom: 0.2rem;
    filter:
      drop-shadow(0.7px 0 0 rgba(255, 255, 255, 0.9))
      drop-shadow(-0.7px 0 0 rgba(255, 255, 255, 0.9))
      drop-shadow(0 0.7px 0 rgba(255, 255, 255, 0.9))
      drop-shadow(0 -0.7px 0 rgba(255, 255, 255, 0.9))
      drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6))
      drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55));
  }

  .hero-copy { display: flex; flex-direction: column; align-items: center; gap: clamp(0.45rem, 1.6vh, 0.95rem); max-width: none; }
  .hero-copy h1 {
    margin: 0;
    font-size: clamp(2.8rem, 15vw + 0.8vh, 4.4rem);
    line-height: 1.02;
  }
  .hero-logo .lede { display: none; }
  .hero-copy .btn-lg { font-size: 0.86rem; padding: 1.05em 1.5em; }
  .hero-logo .btn-brass { box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
  .hero-copy .cta-pair { order: 4; margin-top: 0.2rem; gap: 0.6rem; }
  .hero-copy .hero-trust { order: 5; }

  .hero-logo .hero-trust {
    margin: 0;
    padding: 0;
    border: none;
    gap: 0.4rem;
  }

  .hero-logo .hero-trust li {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    padding: 0.5em 0.75em;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(11, 21, 43, 0.28);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.5);
    text-shadow: none;
  }

  .hero-logo .hero-trust li::before { display: none; }

  /* Tag-style eyebrow in every hero */
  .hero-copy .eyebrow,
  .page-hero .eyebrow {
    align-self: flex-start;
    margin: 0;
    padding: 0.65em 0.95em;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    line-height: 1.5;
    color: var(--color-brass);
    border: 1px solid rgba(192, 149, 90, 0.55);
    border-radius: 8px;
  }

  .hero-copy .eyebrow::before,
  .page-hero .eyebrow::before { display: none; }

  .hero-copy .eyebrow { font-size: 0.56rem; letter-spacing: 0.1em; text-wrap: balance; }

  /* Hero buttons: tall, full width, heavy */
  .hero .cta-pair .btn,
  .page-hero .cta-pair .btn {
    padding: 1.4em 1.5em;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.14em;
  }

  .hero-copy .btn-ghost { border-width: 2px; border-color: rgba(255, 255, 255, 0.65); }

  /* Inner pages: same dark treatment; the side photo becomes the background */
  .page-hero,
  .page-hero.has-image {
    position: relative;
    overflow: hidden;
    padding-block: 2.5rem;
    border-bottom: none;
    color: var(--color-on-dark);
    background-color: var(--color-navy-deep);
    background-image:
      radial-gradient(ellipse at 10% 0%, rgba(47, 127, 138, 0.45), transparent 60%),
      radial-gradient(ellipse at 100% 100%, rgba(201, 105, 74, 0.32), transparent 55%);
  }

  .page-hero .container,
  .page-hero.has-image .container {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }

  .page-hero.has-image .container > div:first-child {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }

  .page-hero.has-image .img-frame {
    position: absolute;
    inset: 0;
    z-index: 0;
    aspect-ratio: auto;
    border-radius: 0;
  }

  .page-hero.has-image .img-frame::before { display: none; }
  .page-hero.has-image .img-frame img { border-radius: 0; box-shadow: none; z-index: 0; }

  .page-hero.has-image .img-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(11, 21, 43, 0.7) 0%, rgba(11, 21, 43, 0.88) 55%, rgba(11, 21, 43, 0.96) 100%);
  }

  .page-hero h1 { color: var(--color-white); font-weight: 700; margin: 0; }
  .page-hero .lede { color: var(--color-on-dark); font-size: 1rem; line-height: 1.6; margin: 0 !important; }
  .page-hero .breadcrumbs { color: var(--color-on-dark-60); margin: 0; font-size: 0.62rem; }
  .page-hero .breadcrumbs a:hover { color: var(--color-white); }
  .page-hero .cta-pair { margin-top: 0.4rem; gap: 0.85rem; }

  .page-hero .btn-primary {
    background: linear-gradient(135deg, var(--color-blue-btn-lt), var(--color-blue-btn));
    border-color: transparent;
    color: var(--color-navy);
    box-shadow: 0 12px 28px -10px rgba(45, 102, 144, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  }

  .page-hero .cta-pair .btn:not(.btn-primary) {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.65);
    color: var(--color-white);
    box-shadow: none;
  }

  /* ==================== Cards in grids, not single file ==================== */

  .grid { gap: 0.75rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }

  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 1.5rem; }
  .stats-grid > :last-child:nth-child(odd) { grid-column: auto; }

  .card { padding: 1rem; border-radius: 14px; }

  .service-card { gap: 0.45rem; }
  .service-card:hover { transform: none; }
  .service-card .icon-tile { width: 38px; height: 38px; border-radius: 11px; }
  .service-card .icon-tile svg { width: 1.2em; height: 1.2em; }
  .service-card h3 { font-size: 1rem; line-height: 1.2; }
  .service-card p { font-size: 0.84rem; line-height: 1.45; }
  .service-card .card-link { font-size: 0.66rem; letter-spacing: 0.12em; }

  .service-card.has-photo .service-photo { aspect-ratio: 4 / 3; }
  .service-card.has-photo .service-body { padding: 0.85rem 0.9rem 1rem; gap: 0.4rem; }

  /* An odd last card spans the row, laid out sideways */
  .grid > .service-card.has-photo:last-child:nth-child(odd) { flex-direction: row; }
  .grid > .service-card.has-photo:last-child:nth-child(odd) .service-photo { flex: 0 0 42%; aspect-ratio: auto; }

  /* City / service link buttons */
  .grid > .btn {
    padding: 0.9em 0.5em;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
  }

  .stat-card { padding: 1rem 0.5rem; }
  .stat-card .stat-number { font-size: 1.5rem; }
  .stat-card .stat-label { font-size: 0.6rem; letter-spacing: 0.1em; }

  /* Reviews: swipe row */
  .review-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.85rem;
    margin-inline: -1.25rem;
    padding: 0.25rem 1.25rem 1rem;
    scroll-padding-inline: 1.25rem;
    scrollbar-width: none;
  }

  .review-grid > * { flex: 0 0 82%; scroll-snap-align: start; }
  .review-card { padding: 1.15rem; gap: 0.75rem; }
  .review-card blockquote { font-size: 0.95rem; }

  /* Team: two across, odd one out laid out sideways */
  .team-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .team-card:hover { transform: none; }
  .team-card .team-body { padding: 0.85rem 0.9rem 1rem; gap: 0.25rem; }
  .team-card h3 { font-size: 1.1rem; }
  .team-card .role { font-size: 0.6rem; letter-spacing: 0.12em; }
  .team-card p { font-size: 0.82rem; line-height: 1.45; margin-top: 0.25rem; }
  .team-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; grid-template-columns: 40% 1fr; }
  .team-grid > :last-child:nth-child(odd) .team-photo { aspect-ratio: auto; height: 100%; }

  .team-gallery { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .team-gallery .img-frame { aspect-ratio: 3 / 4; }
  .team-gallery .img-frame::before { display: none; }
  .team-gallery figure { gap: 0.5rem; }
  .team-gallery figcaption { font-size: 0.56rem; letter-spacing: 0.1em; }

  /* Process steps as a 2×2 grid */
  .process-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .process-grid li { padding: 1rem; gap: 0.35rem; }
  .process-grid li::before { font-size: 1.6rem; }
  .process-grid h3 { font-size: 1rem; }
  .process-grid p { font-size: 0.84rem; line-height: 1.45; }

  .process-steps { grid-template-columns: 1fr 1fr; gap: 1rem 0.75rem; }
  .process-steps li { grid-template-columns: 1fr; gap: 0.5rem; }
  .process-steps li::before { width: 38px; height: 38px; font-size: 0.9rem; border-radius: 11px; }
  .process-steps h3 { font-size: 1rem; }
  .process-steps p { font-size: 0.86rem; line-height: 1.45; }

  .partners-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }

  /* Portfolio */
  .gallery-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin: 0 -1.25rem 1.25rem;
    padding: 0.25rem 1.25rem;
    scrollbar-width: none;
  }

  .gallery-filters button { flex-shrink: 0; }

  .gallery { columns: 2; column-gap: 0.6rem; }
  .gallery figure { margin-bottom: 0.6rem; border-radius: 12px; }
  .gallery figcaption { opacity: 1; font-size: 0.56rem; letter-spacing: 0.1em; padding: 1.5rem 0.6rem 0.5rem; }

  .ba-grid { gap: 1.5rem; }
  .ba-pair { gap: 0.5rem; }
  .ba-pair figure { border-radius: 12px; }
  .ba-pair figcaption { font-size: 0.56rem; top: 0.5rem; left: 0.5rem; }
  .ba-caption { font-size: 0.88rem; }

  /* Carousel */
  .work-carousel { gap: 0.85rem; padding-inline: 1.25rem; scroll-padding-inline: 1.25rem; margin-inline: -1.25rem; }
  .work-card { flex-basis: 78vw; }
  .work-card:hover { transform: none; }
  .work-card-body { padding: 0.85rem 1rem 1rem; }

  /* ==================== Text-heavy layouts ==================== */

  .feature-split { gap: 1.5rem; }
  .feature-split .img-frame,
  .feature-split .img-frame.square,
  .feature-split .img-frame.landscape { aspect-ratio: 16 / 10; max-width: none; }
  .feature-split .img-frame img { object-position: center 30%; }
  .feature-split .img-frame.square { aspect-ratio: 4 / 3; }
  .feature-split .img-frame.square img { object-position: center 20%; }
  .feature-split p + p { margin-top: 0.75rem; }

  .two-col { gap: 2rem; }
  .sidebar-card { gap: 0.85rem; }
  .sidebar-card .img-frame { aspect-ratio: 16 / 9; margin-bottom: 0; }

  .related-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 0.85rem; }
  .related-links > h4 { grid-column: 1 / -1; }
  .related-links a { font-size: 0.82rem; padding: 0.6rem 0; }
  .related-links a:last-child { border-bottom: 1px solid var(--color-ink-15); }

  .check-list li { padding-block: 0.55rem; gap: 0.65rem; font-size: 0.92rem; line-height: 1.45; }

  .prose h2 { margin-top: 2rem; margin-bottom: 0.6rem; font-size: 1.45rem; }
  .prose p { font-size: 0.95rem; line-height: 1.6; margin-bottom: 0.75rem; }
  .prose .check-list { margin-block: 0.75rem 1.5rem; }

  .faq details { padding-block: 0.85rem; }
  .faq summary { font-size: 1rem; }
  .faq details p { font-size: 0.9rem; margin-top: 0.5rem; }

  /* Consultation form: form first, compact two-up choices */
  .form-section .container { gap: 2rem; }
  .form-aside { order: 1; gap: 1rem; }
  .form-aside .img-frame { display: none; }
  .contact-list { gap: 0.7rem; margin-top: 1rem; }
  .contact-list li { font-size: 0.92rem; }

  .quote-form { padding: 1.25rem; border-radius: 18px; }
  .field-label { margin-top: 1.1rem; }
  .field-row { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .check-grid, .radio-grid { grid-template-columns: 1fr 1fr; gap: 0.45rem; }
  .check-item, .radio-item { font-size: 0.82rem; line-height: 1.3; padding: 0.7em 0.7em; gap: 0.45rem; }

  .quote-form input[type="text"],
  .quote-form input[type="tel"],
  .quote-form input[type="email"],
  .quote-form select,
  .quote-form textarea { font-size: 1rem; padding: 0.8em 0.9em; }

  /* ==================== Footer ==================== */

  .site-footer { padding-block: 2.5rem 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding-bottom: 1.5rem; gap: 1.5rem 1rem; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-grid .footer-title { margin-bottom: 0.6rem; }
  .footer-grid ul { gap: 0.4rem; font-size: 0.85rem; }
  .footer-logo img { height: 52px; }
  .footer-bottom { padding-top: 1rem; font-size: 0.7rem; }
}

/* SMS consent row on the consultation form: checkbox beside a small, readable disclosure (never bold). */
.consent-row { display: grid; grid-template-columns: 1rem 1fr; gap: 0.6rem; align-items: start; margin: 0.75rem 0 0.25rem; font-size: 0.8rem; line-height: 1.5; color: var(--color-ink-70); }
.consent-row input { width: 1rem; height: 1rem; margin: 0.2rem 0 0; accent-color: var(--color-teal); }
.consent-row a { color: inherit; text-decoration: underline; }
.legal-body h2 { margin-top: 2rem; }
.page-hero.legal-hero { min-height: 0; }
.legal-body ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-body p, .legal-body li { margin-bottom: 0.6rem; }

/* ==========================================================================
   Phone links: tap targets at least 44px tall, without changing the look
   ========================================================================== */

/* Header call pill: transparent top/bottom border grows the tap area; the background stays the same size
   (background-clip) and the negative margin keeps the header layout unchanged. */
.header-call {
  border-block: 5px solid transparent;
  background-clip: padding-box;
  margin-block: -5px;
}

/* Inline phone numbers: vertical padding on an inline link grows the hit box without moving any text. */
.contact-list a[href^="tel:"] { padding-block: 13px; }
.footer-address a[href^="tel:"] { padding-block: 26px 2px; }

@media (max-width: 640px) {
  /* Call buttons were 42.7px tall on phones: grow to 44px, the negative margin absorbs it so nothing below moves */
  .btn-primary[href^="tel:"]:not(.btn-lg):not(.hero .btn):not(.page-hero .btn) { min-height: 44px; margin-block: -0.65px; }
}

/* SMS consent, compact (owner 2026-11-03): the plain-English line is the checkbox label; a few words of the legal text and
   "read more" open the FULL legal text in place (native <details>: it is in the HTML and opens without JavaScript);
   Privacy Policy and Terms stay visible while it is closed. */
.sms-copy{display:flex;flex-wrap:wrap;align-items:center;column-gap:.7em;min-width:0}
.sms-copy label.sms-plain{display:block;flex:1 0 100%;margin:0;padding:0;font:inherit;letter-spacing:inherit;text-transform:none;color:inherit;cursor:pointer}
.sms-copy .sms-plain strong{font-weight:700}
.sms-copy .sms-teaser{font-weight:400}
.sms-copy details.sms-more{flex:0 1 auto;min-width:0;margin:0;padding:0;border:0;background:none;box-shadow:none}
.sms-copy details.sms-more[open]{flex-basis:100%}
.sms-copy .sms-more>summary{display:flex;align-items:center;font-weight:700;text-decoration:underline;text-underline-offset:2px;white-space:nowrap;min-height:44px;margin:0;padding:0;border:0;background:none;font-size:inherit;font-family:inherit;line-height:inherit;color:inherit;letter-spacing:inherit;text-transform:none;cursor:pointer;list-style:none}
.sms-copy .sms-more>summary::-webkit-details-marker{display:none}
.sms-copy .sms-more>summary::marker{content:''}
.sms-copy .sms-more>summary::before,.sms-copy .sms-more>summary::after{content:none;display:none}
.sms-copy .sms-more>summary:focus-visible{outline:2px solid currentColor;outline-offset:2px;border-radius:3px}
.sms-copy .sms-hide,.sms-copy .sms-more[open] .sms-show,.sms-copy:has(.sms-more[open]) .sms-teaser{display:none}
.sms-copy .sms-more[open] .sms-hide{display:inline}
.sms-copy .sms-legal{margin:0 0 6px;padding:0;font:inherit;color:inherit;max-width:none}
.sms-copy .sms-links{display:inline-flex;flex-wrap:wrap;align-items:center;column-gap:.45em;min-height:44px}
.sms-copy .sms-more[open]+.sms-links{display:none}
