/* ================================================================
   EMBAR CONSTRUCTION — STYLESHEET
   Design System: Boutique luxury residential remodeling
   Fonts: Playfair Display (display) · Montserrat (UI) · Inter (body)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Montserrat:wght@300;400;500;600&family=Inter:wght@300;400;500&display=swap');


/* ----------------------------------------------------------------
   DESIGN TOKENS
   ---------------------------------------------------------------- */
:root {
  --navy:        #0C2235;
  --navy-mid:    #122d47;
  --orange:      #CC4A0A;
  --green:       #3D5928;
  --cream:       #F5EAD0;
  --cream-dark:  #EAD8B5;
  --off-white:   #faf7f2;

  --text-dark:   #0C2235;
  --text-mid:    #4a5568;
  --text-muted:  #596879;
  --orange-text: #B84308;
  --slate:       #3A5068;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-ui:      'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  --nav-height:   88px;
  --max-width:    1320px;

  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:       0.25s var(--ease);
  --t-base:       0.45s var(--ease);
  --t-slow:       0.8s  var(--ease);
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { font-family: inherit; }

/* ── Skip navigation link (WCAG 2.4.1) ─────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  transition: top 0.1s;
}
.skip-link:focus { top: 1rem; }

/* ── Global focus ring for keyboard navigation ──────────────── */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
/* Override for elements that define their own focus style */
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: 2px solid rgba(245,234,208,0.75);
  outline-offset: 3px;
}


/* ----------------------------------------------------------------
   TYPOGRAPHY UTILITIES
   ---------------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-text);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 5.5vw, 5.5rem); }
h2 { font-size: clamp(2rem,   4vw,   3.6rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }

p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-mid);
}

.lead {
  font-size: 1.1rem;
  line-height: 1.9;
}


/* ----------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1.1rem 2.8rem;
  border: 1px solid currentColor;
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn--light {
  color: var(--cream);
  border-color: rgba(245,234,208,0.55);
}
.btn--light:hover {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}

.btn--dark {
  color: var(--navy);
  border-color: var(--navy);
  background: transparent;
}
.btn--dark:hover {
  background: var(--navy);
  color: var(--cream);
}

.btn--orange {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn--orange:hover {
  background: transparent;
  color: var(--orange);
}


/* ----------------------------------------------------------------
   NAVIGATION
   ---------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-height);
  z-index: 200;
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
  transition: background var(--t-base), box-shadow var(--t-base);
}

.nav--transparent { background: transparent; }

.nav--solid {
  background: var(--navy);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav__logo img {
  height: 53px;
  width: auto;
}
.nav__logo-text {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.3;
}
.nav__logo-text span {
  display: block;
  font-size: 0.5rem;
  letter-spacing: 0.25em;
  opacity: 0.55;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__links a {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,234,208,0.75);
  transition: color var(--t-fast);
}
.nav__links a:hover,
.nav__links a.active { color: var(--cream); }

.nav__cta-link {
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(245,234,208,0.35) !important;
  color: rgba(245,234,208,0.9) !important;
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base) !important;
}
.nav__cta-link:hover {
  background: var(--cream);
  color: var(--navy) !important;
  border-color: var(--cream) !important;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
  transform-origin: center;
}

/* Mobile fullscreen menu */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 199;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}
.nav__mobile.is-open {
  opacity: 1;
  pointer-events: all;
}
.nav__mobile a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-style: italic;
  color: rgba(245,234,208,0.75);
  transition: color var(--t-fast);
}
.nav__mobile a:hover { color: var(--cream); }

.nav__mobile-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,234,208,0.75);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--t-fast);
}
.nav__mobile-close:hover { color: var(--cream); }

/* Mobile nav accordion groups */
.nav__mobile-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav__mobile-parent {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-style: italic;
  color: rgba(245,234,208,0.75);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0;
  transition: color var(--t-fast);
  line-height: 1;
}
.nav__mobile-parent:hover { color: var(--cream); }

.nav__mobile-arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}

.nav__mobile-group.is-open .nav__mobile-arrow {
  transform: rotate(-135deg) translateY(3px);
}

.nav__mobile-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding-top 0.4s var(--ease), opacity 0.3s var(--ease);
  opacity: 0;
  padding-top: 0;
}

.nav__mobile-group.is-open .nav__mobile-sub {
  max-height: 600px;
  padding-top: 0.75rem;
  opacity: 1;
}

.nav__mobile-sub a {
  font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  color: rgba(245,234,208,0.75);
}

.nav__mobile-sub a:hover { color: var(--cream); }


/* ----------------------------------------------------------------
   HERO
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  height: clamp(700px, 92vh, 1060px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(12,34,53,0.25) 0%,
    rgba(12,34,53,0.72) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 3rem 7rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero__content .eyebrow {
  color: rgba(245,234,208,0.6);
  margin-bottom: 1.25rem;
}

.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.08;
  max-width: 700px;
  margin-bottom: 2rem;
}
.hero__heading em { font-style: italic; }

.hero__meta {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.hero__location {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.hero__divider {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.5);
}
.hero__tagline {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.hero__sub {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  margin: 0.75rem 0 2rem;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  right: 3rem;
  bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}
.hero__scroll-label {
  font-family: var(--font-ui);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245,234,208,0.4);
  writing-mode: vertical-rl;
}
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(245,234,208,0.15);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 1px;
  height: 100%;
  background: rgba(245,234,208,0.6);
  animation: scrollDrop 2s var(--ease) infinite;
}
@keyframes scrollDrop {
  0%   { top: -100%; }
  100% { top: 100%; }
}


/* ----------------------------------------------------------------
   SECTION WRAPPER UTILITIES
   ---------------------------------------------------------------- */
.section {
  padding: 8rem 2rem;
}
.section--sm { padding: 5rem 2rem; }

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section--navy  { background: var(--navy); }
.section--cream { background: var(--cream); }
.section--off   { background: var(--off-white); }

.section--navy h1,
.section--navy h2,
.section--navy h3 { color: var(--cream); }
.section--navy p   { color: rgba(245,234,208,0.65); }
.section--navy .eyebrow { color: var(--cream); }


/* ----------------------------------------------------------------
   PAGE HERO (interior pages)
   ---------------------------------------------------------------- */
.page-hero {
  background: var(--navy);
  padding: calc(var(--nav-height) + 5rem) 2rem 5rem;
  text-align: center;
}
.page-hero h1 {
  color: var(--cream);
  margin: 1.25rem 0 1.5rem;
}
.page-hero .lead {
  color: rgba(245,234,208,0.65);
  max-width: 600px;
  margin: 0 auto;
}


/* ----------------------------------------------------------------
   PILLARS
   ---------------------------------------------------------------- */
.pillars {
  background: var(--cream);
  padding: 8rem 2rem;
}
.pillars__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.pillars__header {
  text-align: center;
  margin-bottom: 6rem;
}
.pillars__header h2 { margin-top: 1.25rem; }

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(12,34,53,0.1);
}

.pillar {
  padding: 3.5rem 3.5rem 3.5rem 0;
  border-right: 1px solid rgba(12,34,53,0.1);
  margin-right: 3.5rem;
}
.pillar:last-child {
  border-right: none;
  margin-right: 0;
}

.pillar__num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(12,34,53,0.06);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.pillar__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1rem;
}

.pillar__body {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text-mid);
}


/* ----------------------------------------------------------------
   FEATURED WORK (homepage)
   ---------------------------------------------------------------- */
.featured-work {
  background: var(--navy);
  padding: 8rem 0;
}
.featured-work__header {
  text-align: center;
  padding: 0 2rem;
  margin-bottom: 4rem;
}
.featured-work__header h2 { margin-top: 1.25rem; }

/* Carousel */
.work-carousel {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  overflow: hidden;
}
.work-carousel__track {
  display: flex;
  transition: transform 0.55s var(--ease);
  will-change: transform;
}
.work-carousel__slide {
  flex: 0 0 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  max-height: 80vh;
}
.work-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.work-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(12,34,53,0.65);
  color: var(--cream);
  border: 1px solid rgba(245,234,208,0.2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), border-color var(--t-fast);
  z-index: 2;
}
.work-carousel__btn:hover {
  background: rgba(12,34,53,0.92);
  border-color: rgba(245,234,208,0.5);
}
.work-carousel__btn--prev { left: 2.75rem; }
.work-carousel__btn--next { right: 2.75rem; }
.work-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}
.work-carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(245,234,208,0.25);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  border: none;
  padding: 0;
}
.work-carousel__dot.is-active {
  background: var(--cream);
  transform: scale(1.3);
}

.collage-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.collage-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.featured-work__footer {
  text-align: center;
  margin-top: 4rem;
  padding: 0 2rem;
}
.featured-work__caption {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,234,208,0.4);
  margin-bottom: 2rem;
}


/* ----------------------------------------------------------------
   APPROACH (homepage)
   ---------------------------------------------------------------- */
.approach {
  background: var(--cream);
  padding: 8rem 2rem;
}
.approach__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
}
.approach__text h2 { margin: 1.25rem 0 2rem; }
.approach__text p  { margin-bottom: 1.5rem; }
.approach__text .btn { margin-top: 1rem; }

.owners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 3rem;
}

.stats {
  padding-top: 1rem;
  border-top: 1px solid rgba(12,34,53,0.1);
}
.stat {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(12,34,53,0.1);
}
.stat__number {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat__label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}


/* ----------------------------------------------------------------
   REVIEWS
   ---------------------------------------------------------------- */
.reviews {
  background: var(--navy);
  padding: 8rem 2rem;
}
.reviews__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.reviews__header {
  text-align: center;
  margin-bottom: 5rem;
}
.reviews__header h2 { margin-top: 1.25rem; }

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(245,234,208,0.08);
}
.review-card {
  background: var(--navy);
  padding: 3rem;
}
.review-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1.5rem;
  color: var(--orange);
  font-size: 0.8rem;
}
.review-card__quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--cream);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.review-card__author {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,234,208,0.7);
}
.review-card__location {
  display: block;
  margin-top: 0.2rem;
  color: var(--cream);
}

.reviews__google-link {
  text-align: center;
  margin-top: 3.5rem;
}
.reviews__google-link a {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,234,208,0.45);
  border-bottom: 1px solid rgba(245,234,208,0.2);
  padding-bottom: 2px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.reviews__google-link a:hover {
  color: var(--cream);
  border-color: rgba(245,234,208,0.5);
}


/* ----------------------------------------------------------------
   CTA STRIP
   ---------------------------------------------------------------- */
.cta-strip {
  background: var(--off-white);
  padding: 8rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(12,34,53,0.07);
}
.cta-strip__inner {
  max-width: 680px;
  margin: 0 auto;
}
.cta-strip h2 { margin: 1.25rem 0 1.5rem; }
.cta-strip p  { margin-bottom: 3rem; }


/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.footer {
  background: var(--navy);
  padding: 5rem 2rem 2.5rem;
}
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(245,234,208,0.08);
  margin-bottom: 2.5rem;
}
.footer__brand img {
  height: 60px;
  margin-bottom: 1.5rem;
}
.footer__brand p {
  font-size: 0.875rem;
  color: rgba(245,234,208,0.5);
  line-height: 1.75;
  max-width: 280px;
}
.footer__col-label {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
  display: block;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__col ul a {
  font-size: 0.875rem;
  color: rgba(245,234,208,0.6);
  transition: color var(--t-fast);
}
.footer__col ul a:hover { color: var(--cream); }

.footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__bottom p,
.footer__bottom a {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(245,234,208,0.7);
  transition: color var(--t-fast);
}
.footer__bottom a:hover { color: var(--cream); }


/* ----------------------------------------------------------------
   WORK / PORTFOLIO PAGE
   ---------------------------------------------------------------- */
.work-intro {
  background: var(--cream);
  padding: 5rem 2rem 0;
}
.work-intro__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid rgba(12,34,53,0.1);
  padding-top: 4rem;
}

.projects {
  background: var(--cream);
  padding: 4rem 2rem 8rem;
}
.projects__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  margin-bottom: 3px;
}
.project:nth-child(even) .project__info { order: -1; }

.project__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.project__images--single .project__img { grid-column: 1 / -1; }

.project__img {
  overflow: hidden;
}
.project__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.project__img:hover img { transform: scale(1.04); }

.project__info {
  background: var(--navy);
  color: var(--cream);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project__info h3 {
  color: var(--cream);
  font-size: 2.4rem;
  margin: 1.25rem 0 1rem;
}
.project__info p {
  color: rgba(245,234,208,0.65);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}
.project__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(245,234,208,0.1);
}
.project__meta-item span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,234,208,0.35);
  margin-bottom: 0.35rem;
}
.project__meta-item strong {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--cream);
}

.swansburg-notice {
  background: var(--off-white);
  border: 1px solid rgba(12,34,53,0.1);
  padding: 3rem;
  text-align: center;
  margin-bottom: 3px;
}
.swansburg-notice p { font-size: 0.9rem; }

/* Per-project photo carousel */
.proj-carousel {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 520px;
}
.proj-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
.proj-carousel__slide {
  flex: 0 0 100%;
  height: 100%;
}
.proj-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.proj-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(12,34,53,0.65);
  color: var(--cream);
  border: 1px solid rgba(245,234,208,0.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), border-color var(--t-fast);
  z-index: 2;
}
.proj-carousel__btn:hover {
  background: rgba(12,34,53,0.9);
  border-color: rgba(245,234,208,0.5);
}
.proj-carousel__btn--prev { left: 1rem; }
.proj-carousel__btn--next { right: 1rem; }
.proj-carousel__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.proj-carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(245,234,208,0.35);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  border: none;
  padding: 0;
}
.proj-carousel__dot.is-active {
  background: var(--cream);
  transform: scale(1.3);
}


/* ----------------------------------------------------------------
   SERVICES PAGE
   ---------------------------------------------------------------- */
.services-section {
  background: var(--cream);
  padding: 5rem 2rem 8rem;
}
.services-section__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.service-card {
  background: var(--off-white);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-card__num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(12,34,53,0.1);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.service-card h3 { font-size: 1.75rem; margin: 0 0 1rem; }
.service-card p { font-size: 0.95rem; line-height: 1.75; flex: 1; margin-bottom: 2.5rem; }
.service-card .btn { margin-top: auto; }


/* ----------------------------------------------------------------
   ABOUT PAGE
   ---------------------------------------------------------------- */
.about-story {
  background: var(--cream);
  padding: 8rem 2rem;
}
.about-story__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
}
.about-story__text h2 { margin: 1.25rem 0 2rem; }
.about-story__text p  { margin-bottom: 1.5rem; }

.about-story__aside {
  padding-top: 1.5rem;
}
.about-story__logo {
  width: 175px;
  margin-bottom: 3rem;
}

.values {
  display: flex;
  flex-direction: column;
}
.value {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(12,34,53,0.1);
}
.value:last-child { border-bottom: 1px solid rgba(12,34,53,0.1); }
.value h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}
.value p { font-size: 0.875rem; }

/* Monogram story */
.monogram {
  background: var(--navy);
  padding: 8rem 2rem;
}
.monogram__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}
.monogram__logo-wrap {
  text-align: center;
}
.monogram__logo-wrap img {
  width: 225px;
  margin: 0 auto 2rem;
}
.monogram__breakdown {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.monogram__letter {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.monogram__letter-char {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--cream);
  opacity: 0.2;
  min-width: 2rem;
}
.monogram__letter p {
  font-size: 0.875rem;
  color: rgba(245,234,208,0.6);
}
.monogram__text h2 { margin: 1.25rem 0 2rem; }
.monogram__text p  { margin-bottom: 1.5rem; }

/* Team */
.team {
  background: var(--off-white);
  padding: 8rem 2rem;
}
.team__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.team__inner h2 { margin: 1.25rem 0 5rem; }

.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  max-width: 1200px;
  margin: 0 auto 4rem;
}
.team-card {
  background: var(--navy);
  padding: 4rem 3.5rem;
  text-align: left;
  color: var(--cream);
}
.team-card h3 {
  color: var(--cream);
  font-size: 2rem;
  margin: 0.75rem 0 0.5rem;
}
.team-card__role {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.75rem;
}
.team-card p { color: rgba(245,234,208,0.65); font-size: 0.9rem; }


/* ----------------------------------------------------------------
   CONTACT / ESTIMATE PAGE
   ---------------------------------------------------------------- */
.contact {
  background: var(--cream);
  padding: 7rem 2rem 8rem;
}
.contact__inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 7rem;
  align-items: start;
}
.contact__info h2 { margin: 1.25rem 0 2rem; }
.contact__info > p { margin-bottom: 2.5rem; }

.contact__details {
  margin-bottom: 3rem;
}
.contact__detail {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(12,34,53,0.1);
}
.contact__detail:last-child { border-bottom: 1px solid rgba(12,34,53,0.1); }
.contact__detail-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.4rem;
}
.contact__detail-value { font-size: 0.95rem; color: var(--text-dark); }
.contact__detail-value a {
  color: var(--text-dark);
  transition: color var(--t-fast);
}
.contact__detail-value a:hover { color: var(--orange); }

.contact__promise {
  background: var(--navy);
  padding: 2rem 2.5rem;
}
.contact__promise p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: rgba(245,234,208,0.75);
  line-height: 1.65;
}

/* Form */
.estimate-form {
  background: var(--navy);
  padding: 3.5rem;
}
.estimate-form h3 {
  color: var(--cream);
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(245,234,208,0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}
.form-group { margin-bottom: 1.75rem; }
.form-group label,
.form-group legend {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,234,208,0.8);
  margin-bottom: 0.6rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245,234,208,0.35);
  padding: 0.7rem 0;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: 2px solid rgba(245,234,208,0.75);
  outline-offset: 3px;
  border-bottom-color: var(--cream);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(245,234,208,0.2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-bottom-color: rgba(245,234,208,0.6); }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--navy); }
.form-group textarea { resize: none; min-height: 90px; }

.file-upload-wrap {
  border-bottom: 1px solid rgba(245,234,208,0.15);
  padding: 0.5rem 0 0.75rem;
  transition: border-color var(--t-fast);
}
.file-upload-wrap:focus-within {
  border-bottom-color: rgba(245,234,208,0.6);
}
.file-upload-wrap input[type="file"] {
  width: 100%;
  border: none;
  background: transparent;
  color: rgba(245,234,208,0.7);
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: 0;
  cursor: pointer;
}
.file-upload-wrap input[type="file"]::file-selector-button {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  color: rgba(245,234,208,0.5);
  border: 1px solid rgba(245,234,208,0.2);
  padding: 0.35rem 0.9rem;
  margin-right: 0.75rem;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.file-upload-wrap input[type="file"]::file-selector-button:hover {
  background: rgba(245,234,208,0.08);
  color: var(--cream);
  border-color: rgba(245,234,208,0.4);
}
.file-upload-hint {
  display: block;
  font-size: 0.7rem;
  color: rgba(245,234,208,0.25);
  margin-top: 0.4rem;
  font-family: var(--font-ui);
  letter-spacing: 0.05em;
}

.form-submit {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.form-submit p {
  font-size: 0.75rem;
  color: rgba(245,234,208,0.3);
}
.form-submit button {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  background: transparent;
  border: 1px solid rgba(245,234,208,0.35);
  padding: 1.1rem 2.5rem;
  cursor: pointer;
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base);
}
.form-submit button:hover {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}


/* ----------------------------------------------------------------
   SERVICE PICKER
   ---------------------------------------------------------------- */
.svc-picker {
  padding: 6rem 0 7rem;
  background: var(--off-white);
}

.svc-picker__inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}

.svc-picker__header {
  text-align: center;
  margin-bottom: 3rem;
}

.svc-picker__header h2 {
  margin-top: 0.75rem;
}

.svc-select-wrap {
  position: relative;
  max-width: 520px;
  margin: 0 auto 3rem;
}

.svc-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--navy);
  border-radius: 0;
  padding: 1rem 2.5rem 1rem 0;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dark);
  cursor: pointer;
  outline: none;
  transition: border-color var(--t-fast);
}

.svc-select:focus {
  border-bottom-color: var(--orange);
}

.svc-select option {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  color: var(--text-dark);
  background: var(--off-white);
}

.svc-select-arrow {
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--navy);
  opacity: 0.6;
}

.svc-panel {
  animation: svcFadeIn 0.45s var(--ease-out) both;
}

@keyframes svcFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.svc-panel__desc {
  margin-bottom: 3rem;
}

.svc-panel__desc .eyebrow {
  display: block;
  margin-bottom: 0.6rem;
}

.svc-panel__desc h3 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.svc-panel__desc p + p {
  margin-top: 1rem;
}

.svc-panel__form {
  border-top: 1px solid rgba(12,34,53,0.1);
  padding-top: 3rem;
  min-height: 1000px;
}

.svc-panel__form iframe {
  width: 100% !important;
  min-height: 900px !important;
  height: auto !important;
}

.svc-contact-desc {
  margin-top: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(12,34,53,0.1);
  font-size: 0.875rem;
  color: var(--text-mid);
  animation: svcFadeIn 0.35s var(--ease-out) both;
}


/* ----------------------------------------------------------------
   BEFORE / AFTER SLIDER
   ---------------------------------------------------------------- */
.ba-section {
  padding: 7rem 0 6rem;
  background: var(--off-white);
}

.ba-section__inner {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  touch-action: none;
  -webkit-user-select: none;
  border-radius: 2px;
  box-shadow: 0 24px 64px rgba(12, 34, 53, 0.18);
  --ba-pos: 10%;
}

.ba-after,
.ba-before {
  position: absolute;
  inset: 0;
}

.ba-after img,
.ba-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 28%;
  pointer-events: none;
  display: block;
}

.ba-after {
  clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.ba-handle::before,
.ba-handle::after {
  content: '';
  flex: 1;
  width: 2px;
  background: rgba(255, 255, 255, 0.85);
}

.ba-handle__circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.ba-label {
  position: absolute;
  top: 1.1rem;
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(12, 34, 53, 0.5);
  padding: 0.28rem 0.65rem;
  border-radius: 2px;
  backdrop-filter: blur(6px);
  z-index: 3;
}

.ba-label--after  { left: 1rem; }
.ba-label--before { right: 1rem; }

.ba-caption {
  margin-top: 1.75rem;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ba-cta {
  margin-top: 2.5rem;
  display: inline-block;
}


/* ----------------------------------------------------------------
   SCROLL ANIMATIONS
   ---------------------------------------------------------------- */
[data-fade] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
[data-fade].visible {
  opacity: 1;
  transform: none;
}
[data-fade="in"] {
  transform: none;
}
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }


/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */
.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
@media (max-width: 700px) {
  .reassurance-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .approach__inner { gap: 5rem; }
  .about-story__inner,
  .monogram__inner { gap: 5rem; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile { display: flex; }

  .pillars__grid {
    grid-template-columns: 1fr;
    border-top: none;
  }
  .pillar {
    padding: 2.5rem 0;
    border-right: none;
    margin-right: 0;
    border-top: 1px solid rgba(12,34,53,0.1);
  }

  .work-carousel__btn--prev { left: 1rem; }
  .work-carousel__btn--next { right: 1rem; }
  .work-carousel__slide { max-height: 70vh; }

  .approach__inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .owners-grid { grid-template-columns: 1fr; }
  .services-section__grid { grid-template-columns: 1fr; }
  .collage-grid { grid-template-columns: repeat(2, 1fr); padding: 0 1.5rem; }

  .reviews__grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .project {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .project:nth-child(even) .project__info { order: 0; }
  .project:nth-child(even) .proj-carousel { order: -1; }
  .proj-carousel { aspect-ratio: 4/3; height: auto; min-height: unset; }
  .project__info { padding: 3rem 2.5rem; }

  .about-story__inner,
  .monogram__inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .monogram__inner { grid-template-columns: 1fr; }
  .monogram__logo-wrap { display: none; }

  .team__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .jobber-form-wrap { order: -1; }
  .contact__info    { order:  1; }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .footer__brand { grid-column: 1 / -1; }

  .footer__bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .ba-section { padding: 4.5rem 0 4rem; }
  .ba-section__inner { padding: 0 1rem; }
  .ba-handle__circle { width: 54px; height: 54px; }

  .section { padding: 5rem 1.5rem; }
  .section--sm { padding: 3.5rem 1.5rem; }

  .hero__content { padding: 0 1.5rem 4rem; }
  .hero__scroll { display: none; }
  .hero__meta { gap: 1.5rem; }

  .pillar { padding: 2rem 0; }

  .estimate-form { padding: 2.5rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit { flex-direction: column; gap: 1.5rem; align-items: flex-start; }

  .footer__inner { grid-template-columns: 1fr; }

  .project__info { padding: 2.5rem 1.5rem; }
  .project__meta { grid-template-columns: 1fr; }
}


/* ----------------------------------------------------------------
   NAV DROPDOWN
   ---------------------------------------------------------------- */
.has-dropdown { position: relative; }

.nav__dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: -1rem;
  background: var(--navy);
  border: 1px solid rgba(245,234,208,0.1);
  min-width: 210px;
  padding: 0.5rem 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--t-fast), transform var(--t-fast);
  z-index: 300;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.has-dropdown:hover .nav__dropdown,
.has-dropdown:focus-within .nav__dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav__dropdown li { list-style: none; }

.nav__dropdown li a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,234,208,0.65);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav__dropdown li a:hover {
  color: var(--cream);
  background: rgba(245,234,208,0.06);
}

.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 0.45rem;
  opacity: 0.5;
  vertical-align: middle;
  transition: transform var(--t-fast);
}

.has-dropdown:hover > a::after {
  transform: rotate(225deg) translateY(2px);
}


/* ----------------------------------------------------------------
   BUTTON VARIANTS
   ---------------------------------------------------------------- */
.btn--cream {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}
.btn--cream:hover {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245,234,208,0.65);
}

.hero__cta-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}


/* ----------------------------------------------------------------
   FOOTER 4-COL
   ---------------------------------------------------------------- */
.footer__inner--4col {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

@media (max-width: 1000px) {
  .footer__inner--4col {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer__inner--4col .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer__inner--4col { grid-template-columns: 1fr; }
}


/* ----------------------------------------------------------------
   PRICING PAGE
   ---------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-bottom: 2.5rem;
}

.pricing-card {
  background: var(--off-white);
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
}

.pricing-card--featured { background: var(--navy); }

.pricing-card--featured h3,
.pricing-card--featured .pricing-card__rate { color: var(--cream); }

.pricing-card--featured p { color: rgba(245,234,208,0.65); }

.pricing-card--featured .feature-list li {
  color: rgba(245,234,208,0.75);
  border-top-color: rgba(245,234,208,0.1);
}

.pricing-card--featured .feature-list li::before { color: var(--orange); }

.pricing-card--featured .btn {
  color: var(--cream);
  border-color: rgba(245,234,208,0.4);
}
.pricing-card--featured .btn:hover {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}

.pricing-card__badge {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.pricing-card h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }

.pricing-card__rate {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.1;
  margin: 1rem 0 0.5rem;
}

.pricing-card__rate-sub {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-card > p { font-size: 0.9rem; line-height: 1.75; margin-bottom: 1.5rem; }

.feature-list {
  list-style: none;
  margin: 1rem 0 2rem;
  flex: 1;
}

.feature-list li {
  padding: 0.6rem 0;
  border-top: 1px solid rgba(12,34,53,0.08);
  font-size: 0.88rem;
  color: var(--text-mid);
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  line-height: 1.6;
}

.feature-list li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
  font-size: 0.8rem;
}

.pricing-card .btn {
  margin-top: auto;
  width: 100%;
  text-align: center;
}

.pricing-note {
  background: var(--off-white);
  border: 1px solid rgba(12,34,53,0.1);
  padding: 2.5rem 3rem;
  margin-top: 2.5rem;
}

.pricing-note h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.pricing-note p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.85;
}

.pricing-note p + p { margin-top: 0.75rem; }

.pricing-note strong { color: var(--text-dark); font-weight: 600; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}


/* ----------------------------------------------------------------
   FAQ ACCORDION
   ---------------------------------------------------------------- */
.faq-item { border-bottom: 1px solid rgba(12,34,53,0.1); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  gap: 1rem;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.faq-question h3,
.faq-question h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--navy);
  flex: 1;
  line-height: 1.3;
}

.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  position: relative;
  opacity: 0.4;
  transition: opacity var(--t-fast), transform var(--t-fast);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--navy);
  border-radius: 1px;
  top: 50%;
  left: 50%;
}

.faq-icon::before {
  width: 12px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1.5px;
  height: 12px;
  transform: translate(-50%, -50%);
  transition: transform var(--t-fast), opacity var(--t-fast);
}

.faq-item.is-open .faq-icon {
  opacity: 0.7;
  transform: rotate(0deg);
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-answer__inner {
  padding-bottom: 1.75rem;
}

.faq-answer__inner p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-mid);
}

.faq-answer__inner p + p { margin-top: 0.75rem; }

.faq-answer__inner a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ----------------------------------------------------------------
   INFO / CALLOUT BOXES
   ---------------------------------------------------------------- */
.callout-dark {
  background: var(--navy);
  padding: 2.5rem 3rem;
  margin: 2rem 0;
}

.callout-dark p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(245,234,208,0.8);
  line-height: 1.65;
}

.legal-box {
  background: rgba(12,34,53,0.04);
  border-left: 3px solid var(--orange);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.legal-box p {
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--text-mid);
}

.legal-box p + p { margin-top: 0.5rem; }

.legal-box strong { color: var(--text-dark); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin: 3rem 0;
}

.stat-box {
  background: var(--off-white);
  padding: 3rem 2.5rem;
}

.stat-box__num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-box__label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 700px) {
  .stat-row { grid-template-columns: 1fr; }
}


/* ----------------------------------------------------------------
   MAINTENANCE STEPS (Residents page)
   ---------------------------------------------------------------- */
.maintenance-step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(12,34,53,0.1);
  align-items: start;
}

.maintenance-step:last-child { border-bottom: 1px solid rgba(12,34,53,0.1); }

.maintenance-step__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: rgba(12,34,53,0.12);
  line-height: 1.1;
}

.maintenance-step h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.maintenance-step p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0;
}


/* ----------------------------------------------------------------
   TWO-UP GENERIC SECTION
   ---------------------------------------------------------------- */
.two-up {
  background: var(--cream);
  padding: 8rem 2rem;
}

.two-up--off { background: var(--off-white); }
.two-up--navy { background: var(--navy); }

.two-up__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
}

.two-up__text h2 { margin: 1.25rem 0 2rem; }
.two-up__text p  { margin-bottom: 1.5rem; }
.two-up__text .btn { margin-top: 1rem; }

.two-up--navy h2,
.two-up--navy h3 { color: var(--cream); }
.two-up--navy p  { color: rgba(245,234,208,0.65); }
.two-up--navy .eyebrow { color: var(--cream); }

.info-list {
  list-style: none;
  margin-top: 1rem;
}

.info-list li {
  padding: 1.1rem 0;
  border-top: 1px solid rgba(12,34,53,0.1);
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.info-list__label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.3rem;
}

@media (max-width: 900px) {
  .two-up__inner { grid-template-columns: 1fr; gap: 4rem; }
}


/* ================================================================
   NAV — WHITE BAR + DROPDOWN FIX + LOGIN / PHONE
   ================================================================ */

/* White semi-transparent bar */
.nav--transparent {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(12,34,53,0.07);
}

.nav--solid {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(12,34,53,0.1), 0 4px 16px rgba(0,0,0,0.04);
}

/* Text: flip cream → navy */
.nav__logo-text { color: var(--navy); }

.nav__links a { color: rgba(12,34,53,0.85); }
.nav__links a:hover,
.nav__links a.active { color: var(--navy); }

.nav__cta-link {
  border-color: rgba(12,34,53,0.3) !important;
  color: var(--navy) !important;
}
.nav__cta-link:hover {
  background: var(--navy) !important;
  color: var(--cream) !important;
  border-color: var(--navy) !important;
}

/* Caret: darken for navy-on-white */
.has-dropdown > a::after { opacity: 0.35; }

/* Dropdown fix: flush against nav bottom (no gap = cursor never loses hover) */
.nav__dropdown {
  top: 100%;
  background: #fff;
  border: 1px solid rgba(12,34,53,0.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.nav__dropdown li a { color: rgba(12,34,53,0.65); }
.nav__dropdown li a:hover {
  color: var(--navy);
  background: rgba(12,34,53,0.04);
}

/* Right-align dropdown for items near the right edge */
.nav__dropdown--right {
  left: auto;
  right: 0;
}

/* Phone + Login group */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: 0.75rem;
}

.nav__phone {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(12,34,53,0.5);
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--t-fast);
}
.nav__phone:hover { color: var(--navy); }

.nav__login-btn {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid rgba(12,34,53,0.28);
  padding: 0.5rem 1.1rem;
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.nav__login-btn:hover,
.has-dropdown:hover .nav__login-btn {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.nav__login-btn::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 0.5rem;
  opacity: 0.55;
  flex-shrink: 0;
  transition: transform var(--t-fast);
}
.has-dropdown:hover .nav__login-btn::after {
  transform: rotate(225deg) translateY(2px);
}

@media (max-width: 860px) {
  .nav__actions .has-dropdown { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__phone { color: var(--navy); font-size: 0.65rem; }
}


/* ================================================================
   WELCOME SECTION + PHOTO STRIP
   ================================================================ */
.welcome-section {
  background: var(--off-white);
  padding: 7rem 0 0;
}

.welcome-section__text {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
  text-align: center;
}

.welcome-section__text h2 {
  margin: 1.25rem 0 2rem;
}

.welcome-section__text p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(12,34,53,0.7);
  margin: 0 auto 1.25rem;
  max-width: 640px;
}

.welcome-section__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--navy) !important;
  margin-top: 2rem !important;
}

/* Auto-scrolling photo strip */
.photo-strip {
  overflow: hidden;
  width: 100%;
  line-height: 0;
}

.photo-strip__track {
  display: flex;
  gap: 4px;
  animation: photo-strip-scroll 32s linear infinite;
  width: max-content;
}

.photo-strip__track:hover {
  animation-play-state: paused;
}

.photo-strip__img {
  height: 420px;
  width: calc(33.33vw - 3px);
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}

@keyframes photo-strip-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 600px) {
  .photo-strip__img { height: 240px; }
}


/* ================================================================
   HOME PAGE REVISION — LOGO, NAV SCALE, WELCOME WIDTH, BADGES
   ================================================================ */

/* 2× logo + taller nav */
:root { --nav-height: 130px; }
.nav__logo img { height: 106px; }
.nav__logo-text { font-size: 0.82rem; letter-spacing: 0.22em; }

/* Bold, larger nav items */
.nav__links a { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.18em; }
.nav__cta-link { font-size: 0.72rem !important; font-weight: 700 !important; padding: 0.65rem 1.6rem; }
.nav__login-btn { font-size: 0.72rem; font-weight: 700; padding: 0.62rem 1.4rem; }
.nav__phone { font-size: 0.7rem; font-weight: 600; }

/* Welcome section — wider text area, larger body type */
.welcome-section__text { max-width: 1040px; padding: 0 5rem 5rem; }
.welcome-section__text h2 { font-size: clamp(2.4rem, 4.5vw, 3.4rem); }
.welcome-section__text p { font-size: 1.15rem; max-width: 900px; }

/* ── Services Badges Section ────────────────────────────────── */
.services-badges-section {
  background: var(--navy);
  padding: 7rem 2rem 7rem;
}

.services-badges-header {
  text-align: center;
  margin-bottom: 4.5rem;
}
.services-badges-header .eyebrow { color: var(--cream); }
.services-badges-header h2 { color: var(--cream); margin-top: 1rem; }

.services-badges-inner {
  display: flex;
  gap: 5rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

/* Flip card */
.badge-flip {
  width: 360px;
  height: 360px;
  perspective: 1200px;
  cursor: pointer;
  flex-shrink: 0;
  touch-action: manipulation;
}

.badge-flip__inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.badge-flip.is-flipped .badge-flip__inner {
  transform: rotateY(180deg);
}

@media (hover: hover) {
  .badge-flip:hover .badge-flip__inner { transform: rotateY(180deg); }
}

.badge-flip__front,
.badge-flip__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-flip__front {
  background: rgba(245,234,208,0.05);
  border: 1px solid rgba(245,234,208,0.1);
}

.badge-flip__back {
  background: var(--cream);
  transform: rotateY(180deg);
  flex-direction: column;
  text-align: center;
  padding: 2.75rem 2.25rem;
}

.badge-flip__back h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 1rem;
}

.badge-flip__back p {
  font-size: 0.92rem;
  color: rgba(12,34,53,0.65);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.badge-svg {
  width: 88%;
  height: 88%;
}

/* Badge front: cream bg + lettermark layout */
.badge-flip__front {
  background: #ffffff !important;
  border: none !important;
  flex-direction: column;
  gap: 1.25rem;
}

.badge-front__logo {
  width: 52%;
  height: auto;
}

.badge-front__title {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
}

/* Nav: hide company name, tight left padding */
.nav__logo-text { display: none; }
.nav { padding: 0 1.5rem 0 0.75rem; }
.nav__links { gap: 1.6rem; }

/* FAQ categories */
.faq-category { margin-bottom: 0.5rem; }
.faq-category__label {
  display: block;
  padding: 2rem 0 0.5rem;
  color: var(--orange);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
}

@media (max-width: 820px) {
  .badge-flip { width: 300px; height: 300px; }
  .services-badges-inner { gap: 3rem; }
  .welcome-section__text { padding: 0 2rem 4rem; }
}


/* ── What We Do Accordion (home page) ──────────────────────── */
.what-we-do-section {
  background: var(--off-white);
  padding: 7rem 2rem;
}

.what-we-do-section__inner {
  max-width: 860px;
  margin: 0 auto;
}

.what-we-do-section__header {
  margin-bottom: 4rem;
}

.what-we-do-section__header h2 {
  margin-top: 0.75rem;
}

.what-we-do-section__list {
  border-top: 1px solid rgba(12,34,53,0.1);
}


/* ── Home Page FAQ Section ──────────────────────────────────── */
.home-faq-section {
  background: var(--cream);
  padding: 7rem 2rem;
}

.home-faq-section__inner {
  max-width: 860px;
  margin: 0 auto;
}

.home-faq-section__header {
  margin-bottom: 4rem;
}

.home-faq-section__header h2 {
  margin-top: 0.75rem;
}

.home-faq-section__list {
  border-top: 1px solid rgba(12,34,53,0.15);
}

.home-faq-section .faq-question h3,
.home-faq-section .faq-question h4 {
  font-size: 1.05rem;
  color: var(--slate);
}

.what-we-do-section .faq-question h3,
.what-we-do-section .faq-question h4 {
  color: var(--slate);
}

.home-faq-section__cta {
  margin-top: 3.5rem;
  text-align: center;
}

@media (max-width: 600px) {
  .photo-strip__img { height: 240px; width: 80vw; }
}


/* ================================================================
   MOBILE OPTIMIZATIONS
   ================================================================ */

/* ── Nav: reduce height + logo size on mobile ───────────────── */
@media (max-width: 900px) {
  :root { --nav-height: 80px; }
  .nav__logo img { height: 60px; }
  .nav__logo-text {
    display: block;
    font-size: 0.58rem;
    letter-spacing: 0.15em;
  }
}

@media (max-width: 600px) {
  :root { --nav-height: 68px; }
  .nav__logo img { height: 50px; }
  .nav__logo-text { font-size: 0.55rem; letter-spacing: 0.13em; }
  .nav { padding: 0 1rem; }
}

/* ── Hamburger: larger tap target, bars centered ────────────── */
.nav__toggle {
  min-width: 44px;
  min-height: 44px;
  align-items: center;
}

/* ── Mobile nav close button: larger tap target ─────────────── */
.nav__mobile-close {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 0.25rem;
}

/* ── Badge cards on small phones ────────────────────────────── */
@media (max-width: 500px) {
  .services-badges-section { padding: 5rem 1.5rem; }
  .badge-flip {
    width: min(86vw, 300px);
    height: min(86vw, 300px);
  }
  .badge-flip__back {
    padding: 2rem 1.75rem;
    gap: 0.75rem;
  }
  .badge-flip__back h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
  .badge-flip__back p  { font-size: 0.85rem; margin-bottom: 1.25rem; }
}

/* ── Accordion + FAQ: tap targets + spacing ─────────────────── */
.faq-question {
  min-height: 52px;
  padding: 1.25rem 0;
}

@media (max-width: 600px) {
  .what-we-do-section { padding: 4.5rem 1.25rem; }
  .what-we-do-section__header { margin-bottom: 2.5rem; }
  .home-faq-section { padding: 4.5rem 1.25rem; }
  .home-faq-section__header { margin-bottom: 2.5rem; }
  .home-faq-section .faq-question h3,
  .home-faq-section .faq-question h4,
  .what-we-do-section .faq-question h3,
  .what-we-do-section .faq-question h4 { font-size: 0.93rem; }
}

/* ── Welcome section mobile ─────────────────────────────────── */
@media (max-width: 600px) {
  .welcome-section { padding: 4rem 0 0; }
  .welcome-section__text { padding: 0 1.25rem 3rem; }
  .welcome-section__text p { font-size: 1rem; max-width: 100%; }
}

/* ── Buttons: always meet 44px tap height ───────────────────── */
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

/* ── Prevent text overflow on all small screens ─────────────── */
@media (max-width: 600px) {
  p, h1, h2, h3, h4, li, a { overflow-wrap: break-word; word-break: break-word; }
  .review-card { padding: 2.5rem 1.75rem; }
  .review-card__quote { font-size: 0.88rem; }
  .reviews { padding: 5rem 1.25rem; }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .photo-strip__track { animation-play-state: paused; }
  .badge-flip__inner { transition: none; }
  [data-fade] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── Contact page: office hours note ───────────────────────── */
.contact__detail-note {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ── Contact form: inquiry type chips ───────────────────────── */
fieldset.form-group {
  min-width: 0;
  width: 100%;
}

.inquiry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(245,234,208,0.15);
}

.inquiry-chip {
  position: relative;
  cursor: pointer;
}

.inquiry-chip input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.inquiry-chip span {
  display: inline-block;
  padding: 0.45rem 1rem;
  border: 1.5px solid rgba(245,234,208,0.25);
  border-radius: 2rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,234,208,0.55);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  min-height: 36px;
  line-height: 36px;
  padding-top: 0;
  padding-bottom: 0;
}

.inquiry-chip input[type="radio"]:checked + span {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.inquiry-chip:hover span {
  border-color: rgba(245,234,208,0.55);
  color: rgba(245,234,208,0.85);
}

.inquiry-chip:focus-within span {
  outline: 2px solid rgba(245,234,208,0.75);
  outline-offset: 2px;
}

.inquiry-chips {
  border-bottom-color: rgba(245,234,208,0.35);
}

.inquiry-chip span {
  border-color: rgba(245,234,208,0.4);
  color: rgba(245,234,208,0.7);
}

@media (max-width: 500px) {
  .inquiry-chip {
    width: 100%;
  }
  .inquiry-chip span {
    display: block;
    text-align: center;
  }
}

/* ── Contact form: optional label suffix ────────────────────── */
.form-optional {
  font-weight: 400;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: rgba(245,234,208,0.3);
  text-transform: uppercase;
}

/* ── Contact form: inline validation feedback ───────────────── */
.empty-feedback,
.invalid-feedback {
  display: none;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(204,74,10,0.9);
  margin-top: 0.45rem;
}

.was-validated :placeholder-shown:invalid ~ .empty-feedback {
  display: block;
}

.was-validated :not(:placeholder-shown):invalid ~ .invalid-feedback {
  display: block;
}

.was-validated :invalid {
  border-bottom-color: rgba(204,74,10,0.7) !important;
}

/* ── Contact form: fetch result message ─────────────────────── */
.form-result {
  display: none;
  text-align: center;
  margin-top: 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,234,208,0.6);
}

.form-result--success { color: #7ecf7e; }
.form-result--error   { color: rgba(204,74,10,0.9); }



/* ================================================================
   ABOUT PAGE — BADGES + COLLAGE
   ================================================================ */

/* ── Three-badge section ────────────────────────────────────── */
.about-badges {
  background: var(--off-white);
  padding: 7rem 2rem;
}

.about-badges__inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.about-badge {
  background: #fff;
  padding: 3rem 2.5rem 3.5rem;
  border-top: 3px solid var(--orange);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.about-badge__label {
  color: var(--orange);
}

.about-badge h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--navy);
  margin: 0;
}

.about-badge p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 860px) {
  .about-badges__inner {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (max-width: 600px) {
  .about-badges { padding: 4.5rem 1.25rem; }
  .about-badge { padding: 2.5rem 1.75rem; }
}


/* ── Photo collage ──────────────────────────────────────────── */
.about-collage-section {
  background: var(--navy);
  padding: 0;
  line-height: 0;
}

.about-collage {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.8fr;
  grid-template-rows: 300px 220px 260px;
  gap: 4px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Image placement — mosaic with different sizes */
.about-collage img:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; } /* tall left  */
.about-collage img:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; } /* top mid    */
.about-collage img:nth-child(3) { grid-column: 3 / 4; grid-row: 1 / 2; } /* top right  */
.about-collage img:nth-child(4) { grid-column: 2 / 4; grid-row: 2 / 3; } /* mid wide   */
.about-collage img:nth-child(5) { grid-column: 1 / 2; grid-row: 3 / 4; } /* bot left   */
.about-collage img:nth-child(6) { grid-column: 2 / 3; grid-row: 3 / 4; } /* bot mid    */
.about-collage img:nth-child(7) { grid-column: 3 / 4; grid-row: 3 / 4; } /* bot right  */

.about-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 860px) {
  .about-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 200px 200px;
  }
  .about-collage img:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; }
  .about-collage img:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
  .about-collage img:nth-child(3) { grid-column: 2 / 3; grid-row: 2 / 3; }
  .about-collage img:nth-child(4) { grid-column: 1 / 3; grid-row: 3 / 4; }
  .about-collage img:nth-child(5) { grid-column: 1 / 2; grid-row: 4 / 5; }
  .about-collage img:nth-child(6) { grid-column: 2 / 3; grid-row: 4 / 5; }
  .about-collage img:nth-child(7) { display: none; }
}

@media (max-width: 500px) {
  .about-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 160px 140px 140px;
  }
}

/* ── About page: credentials section ───────────────────────── */
.about-credentials {
  background: var(--navy);
  padding: 6rem 2rem;
}

.about-credentials__inner {
  max-width: 860px;
  margin: 0 auto;
}

.about-credentials__inner > .eyebrow {
  color: var(--cream);
  display: block;
  margin-bottom: 2.5rem;
}

.about-credentials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.about-credential {
  background: rgba(255,255,255,0.04);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.about-credential__label {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,234,208,0.45);
}

.about-credential__value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--cream);
  font-style: italic;
  line-height: 1.2;
}

.about-credential p {
  font-size: 0.875rem;
  color: rgba(245,234,208,0.6);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 600px) {
  .about-credentials { padding: 4.5rem 1.25rem; }
  .about-credentials__grid { grid-template-columns: 1fr; }
}


/* ----------------------------------------------------------------
   RESOURCES — LEGAL COMPLIANCE PAGE
   ---------------------------------------------------------------- */

.legal-disclaimer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 2rem;
  background: rgba(204, 74, 10, 0.06);
  border-left: 3px solid var(--orange);
}

.legal-disclaimer p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.legal-article {
  background: #fff;
  padding: 2.25rem 2rem;
  border-top: 3px solid var(--navy);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legal-article__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.legal-tag {
  font-family: var(--font-ui);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
}

.legal-tag--landlord { background: rgba(12,34,53,0.08); color: var(--navy); }
.legal-tag--tenant   { background: rgba(61,89,40,0.1);  color: var(--green); }
.legal-tag--homeowner{ background: rgba(204,74,10,0.1);  color: var(--orange); }

.legal-article__date {
  color: var(--text-muted);
}

.legal-article h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--text-dark);
}

.legal-article p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-mid);
  flex: 1;
}

.read-more-btn {
  align-self: flex-start;
  margin-top: 0.5rem;
  font-size: 0.58rem;
  padding: 0.7rem 1.5rem;
}

@media (max-width: 860px) {
  .article-grid { grid-template-columns: 1fr; }
}


/* ----------------------------------------------------------------
   RESOURCES — VIDEO LIBRARY PAGE
   ---------------------------------------------------------------- */

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

.video-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(12,34,53,0.08);
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--navy);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card__info {
  padding: 1.25rem 1.25rem 1.5rem;
}

.video-card__info h4 {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.video-card__info p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .video-grid { grid-template-columns: 1fr; }
  .legal-disclaimer { margin: 0; }
}


/* ----------------------------------------------------------------
   HOMEOWNERS — KITCHEN GRID
   ---------------------------------------------------------------- */
.kitchen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.kitchen-photo {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.kitchen-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease);
}

.kitchen-photo:hover img { transform: scale(1.04); }

@media (max-width: 700px) {
  .kitchen-grid { grid-template-columns: 1fr; }
}


/* ----------------------------------------------------------------
   RESIDENTS PAGE — BENEFIT CARDS
   ---------------------------------------------------------------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit-card {
  background: #fff;
  border-top: 3px solid var(--navy);
  padding: 2rem 1.75rem 2rem;
}

.benefit-card__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--orange);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.benefit-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-mid);
}

@media (max-width: 860px) {
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .benefit-grid { grid-template-columns: 1fr; }
}


/* ----------------------------------------------------------------
   RESIDENTS PAGE — RESOURCES
   ---------------------------------------------------------------- */
.res-resource-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.res-resource {
  border-top: 1px solid rgba(12,34,53,0.12);
  padding: 2.5rem 0;
}

.res-resource:last-child {
  border-bottom: 1px solid rgba(12,34,53,0.12);
}

.res-resource__header {
  margin-bottom: 1rem;
}

.res-resource__label {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.res-resource__label--urgent {
  background: var(--orange);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.res-resource__header h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-dark);
  line-height: 1.35;
}

.res-resource > p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-mid);
  max-width: 780px;
  margin-bottom: 1.5rem;
}

.res-resource__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
  margin-top: 1rem;
}

.res-resource__col-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
}

.res-resource__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.res-resource__col ul li {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-mid);
  padding-left: 1.1rem;
  position: relative;
}

.res-resource__col ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--orange);
}

.res-resource__links {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-start;
}

.res-resource__links > p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-mid);
  width: 100%;
}

.res-link-btn {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(12,34,53,0.2);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.res-link-btn:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.res-resource__steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.res-resource__step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.res-resource__step > span {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.res-resource__step > p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--text-mid);
}

@media (max-width: 700px) {
  .res-resource__items { grid-template-columns: 1fr; }
}


/* ----------------------------------------------------------------
   RESIDENTS PAGE — PORTAL
   ---------------------------------------------------------------- */
.res-portal-intro {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}

.res-portal-feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(12,34,53,0.08);
}

.res-portal-feature:last-of-type {
  border-bottom: 1px solid rgba(12,34,53,0.08);
}

.res-portal-feature__num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
  opacity: 0.4;
  line-height: 1;
  padding-top: 0.15rem;
}

.res-portal-feature strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.res-portal-feature p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin: 0;
}

.res-portal-aside {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.video-card--dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245,234,208,0.1);
}

.video-card--dark .video-card__info p {
  color: rgba(245,234,208,0.5);
}

@media (max-width: 900px) {
  .res-portal-intro { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 600px) {
  .benefit-card { padding: 1.5rem 1.25rem; }
  .benefit-card__num { font-size: 1.75rem; margin-bottom: 0.5rem; }
  .res-resource { padding: 2rem 0; }
  .res-resource__step { gap: 0.9rem; }
  .res-link-btn { font-size: 0.72rem; padding: 0.5rem 0.85rem; }
  .res-portal-feature { gap: 0.9rem; padding: 1rem 0; }
  .res-portal-feature__num { font-size: 1.15rem; }
}


/* ================================================================
   PRICING COMPARISON TABLE
   ================================================================ */

.pricing-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 2px;
  box-shadow: 0 2px 24px rgba(12,34,53,0.08);
}

.pricing-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.9rem;
}

.pricing-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}

.pricing-table thead tr {
  background: var(--navy);
}

.pricing-table__feature-col {
  text-align: left;
  padding: 1.5rem 1.5rem;
  color: rgba(245,234,208,0.5);
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  width: 55%;
}

.pricing-table__tier-col {
  text-align: center;
  padding: 1.5rem 1rem;
  width: 22.5%;
  border-left: 1px solid rgba(245,234,208,0.1);
}

.pricing-table__tier-col--featured {
  background: var(--orange);
}

.pricing-table__tier-label {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,234,208,0.7);
}

.pricing-table__tier-col--featured .pricing-table__tier-label {
  color: rgba(245,234,208,0.9);
}

.pricing-table__tier-rate {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  margin-top: 0.4rem;
}

.pricing-table__tier-sub {
  font-size: 0.7rem;
  color: rgba(245,234,208,0.5);
  margin-top: 0.2rem;
}

.pricing-table tbody tr {
  border-bottom: 1px solid rgba(12,34,53,0.07);
  transition: background 0.15s;
}

.pricing-table tbody tr:hover {
  background: rgba(12,34,53,0.02);
}

.pricing-table tbody td {
  padding: 0.85rem 1.5rem;
  color: var(--navy);
}

.pricing-table tbody td:nth-child(2),
.pricing-table tbody td:nth-child(3) {
  text-align: center;
  border-left: 1px solid rgba(12,34,53,0.07);
}

.pricing-table__section td {
  background: var(--navy);
  color: var(--orange) !important;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.7rem 1.5rem !important;
  border-bottom: none !important;
}

.pricing-table__section:hover {
  background: var(--navy) !important;
}

.pricing-table__featured-col {
  background: rgba(204,74,10,0.04);
}

.pricing-check {
  color: var(--orange);
  font-size: 1.1rem;
  font-weight: 700;
}

.pricing-dash {
  color: rgba(12,34,53,0.25);
  font-size: 1rem;
}

.pricing-value {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--slate);
}

.pricing-table__cta-row td {
  padding: 1.5rem 1.5rem 2rem !important;
  border-bottom: none !important;
}

.pricing-table__cta-row:hover {
  background: #fff !important;
}

.btn--sm {
  font-size: 0.7rem;
  padding: 0.65rem 1.25rem;
  letter-spacing: 0.12em;
}

@media (max-width: 640px) {
  .pricing-table__feature-col { padding: 1.25rem 1rem; }
  .pricing-table tbody td { padding: 0.75rem 1rem; }
  .pricing-table__section td { padding: 0.6rem 1rem !important; }
}
