/* ==========================================================================
   KC Chinitz Real Estate | Design System
   Modern New England Editorial
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Color */
  --color-white: #FFFFFF;
  --color-warm-white: #F7F6F4;
  --color-warm-gray: #E8E5E0;
  --color-gold: #BA9656;
  --color-gold-dark: #A3824A;
  --color-gold-text: #8A6A33;   /* gold for small text: 5.0:1 on white */
  --color-ink: #202936;
  --color-gray: #686868;

  /* Type */
  --font-serif: "Cormorant Garamond", "Libre Baskerville", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-h1: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);     /* 40 → 68 */
  --fs-h2: clamp(2rem, 1.5rem + 2vw, 3rem);            /* 32 → 48 */
  --fs-h3: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);    /* 24 → 30 */
  --fs-quote: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); /* 24 → 34 */
  --fs-lead: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);/* 18 → 20 */
  --fs-body: clamp(1rem, 0.96rem + 0.15vw, 1.0625rem); /* 16 → 17 */
  --fs-nav: 0.8125rem;                                 /* 13 */
  --fs-label: 0.75rem;                                 /* 12 */

  /* Space */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 7.5rem);      /* 72 → 120 */
  --header-h: 80px;

  --ease: cubic-bezier(.25, .1, .25, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: var(--color-ink);
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

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

a { color: inherit; text-decoration: none; }

figure { margin: 0; }

:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 3px; }
.connect :focus-visible { outline-color: var(--color-white); }

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

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  padding: .5rem 1rem; background: var(--color-ink); color: var(--color-white);
  font-size: var(--fs-nav);
}
.skip-link:focus { top: 1rem; }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tint { background: var(--color-warm-white); }

.section-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head__intro { margin-top: .875rem; color: var(--color-gray); }

.section-head--center { text-align: center; max-width: 40rem; margin-inline: auto; }

.section-head--split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}

/* ---------- 4. Components ---------- */

/* Small label (used sparingly) */
.label {
  margin-bottom: 1.25rem;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-gold-text);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--color-ink);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.25rem;
  font-family: var(--font-sans);
  font-size: var(--fs-nav);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.btn--gold { background: var(--color-gold); color: var(--color-ink); }       /* 5.3:1 */
.btn--gold:hover { background: var(--color-ink); color: var(--color-white); }

/* Text link with thin underline */
.text-link {
  display: inline-block;
  padding-bottom: .3rem;
  border-bottom: 1px solid var(--color-gold);
  font-size: var(--fs-nav);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-ink);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.text-link:hover { color: var(--color-gold-text); }

/* ---------- 5. Header ---------- */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--color-white);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.site-header__logo {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1;
}

.site-nav__list {
  display: flex; gap: clamp(1.5rem, 2.5vw, 2.75rem);
  margin: 0; padding: 0; list-style: none;
}
.site-nav__link {
  position: relative;
  padding-block: .4rem;
  font-size: var(--fs-nav);
  letter-spacing: .06em;
  color: var(--color-ink);
  transition: color .3s var(--ease);
}
.site-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--color-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.site-nav__link:hover::after,
.site-nav__link.is-current::after { transform: scaleX(1); }

.site-header__toggle {
  display: none;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 7px;
}
.site-header__toggle-line {
  display: block; width: 24px; height: 1px; background: var(--color-ink);
  transition: transform .3s var(--ease);
}
.site-header__toggle[aria-expanded="true"] .site-header__toggle-line:first-child { transform: translateY(4px) rotate(45deg); }
.site-header__toggle[aria-expanded="true"] .site-header__toggle-line:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Services dropdown (disclosure button: click/tap/keyboard; hover on mouse devices; Escape closes) */
.site-nav__list > li { display: flex; align-items: center; }
.site-nav__item--has-sub { position: relative; }
.site-nav__subtoggle {
  display: inline-flex; align-items: center; gap: .45rem;
  margin: 0; padding-inline: 0; background: none; border: 0; cursor: pointer;
  font-family: var(--font-sans); line-height: inherit;
}
.site-nav__subtoggle::before {
  content: ""; order: 2; width: .38rem; height: .38rem; margin-top: -.2rem;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg); transition: transform .3s var(--ease), margin .3s var(--ease);
}
.site-nav__subtoggle[aria-expanded="true"]::before { transform: rotate(-135deg); margin-top: .2rem; }
.site-nav__sub {
  position: absolute; top: calc(100% + .9rem); left: -1.5rem; z-index: 30;
  min-width: 17rem; margin: 0; padding: .6rem 0; list-style: none; white-space: nowrap;
  background: var(--color-white);
  border: 1px solid var(--color-warm-gray);
  box-shadow: 0 14px 30px rgba(32,41,54,.08);
  visibility: hidden; opacity: 0; transform: translateY(4px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.site-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -1rem; height: 1rem; } /* hover bridge */
.site-nav__subtoggle[aria-expanded="true"] + .site-nav__sub { visibility: visible; opacity: 1; transform: none; }
@media (hover: hover) and (min-width: 861px) {
  .site-nav__item--has-sub:not(.is-suppressed):hover .site-nav__sub { visibility: visible; opacity: 1; transform: none; }
  .site-nav__item--has-sub:not(.is-suppressed):hover .site-nav__subtoggle::after { transform: scaleX(1); }
}
.site-nav__sublink {
  display: block; padding: .6rem 1.5rem;
  font-size: .875rem; letter-spacing: .02em; color: var(--color-ink);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.site-nav__sublink:hover { background: var(--color-warm-white); color: var(--color-gold-text); }
.site-nav__sublink[aria-current="page"] { color: var(--color-gold-text); }

/* ---------- 6. Hero (split: text on warm panel, photo uncovered) ---------- */
.hero {
  display: grid;
  grid-template-columns: 5fr 7fr;
  min-height: clamp(560px, calc(100vh - var(--header-h)), 820px);
  background: var(--color-warm-white);
}
.hero__text {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  /* left edge lines up with the header logo */
  padding: 4rem clamp(2rem, 4vw, 4rem) 4rem max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.hero__title {
  font-size: clamp(2.5rem, 1.6rem + 2.6vw, 3.75rem);   /* 40 → 60 */
  line-height: 1.06;
  max-width: 11em;
}
.hero__subtitle {
  margin: 1.75rem 0 2.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-lead);
  color: #3d4652;
}
.hero__media { position: relative; margin: 0; overflow: hidden; }
.hero__image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
}
/* Caption on the photo, lower right; small feathered shadow behind the words only (5.2:1+) */
.hero__caption {
  position: absolute; right: clamp(1.25rem, 2.8vw, 2.5rem); bottom: clamp(1rem, 2.2vw, 2rem);
  isolation: isolate;
  font-size: var(--fs-label); font-weight: 500; letter-spacing: .08em;
  color: var(--color-white);
  text-shadow: 0 1px 6px rgba(20,26,35,.6);
}
.hero__caption::before {
  content: ""; position: absolute; z-index: -1; inset: -45% -9%;
  background: rgba(20,26,35,.7); border-radius: 16px; filter: blur(12px);
}

/* Shared photo caption: lower right on a photo, small feathered shadow behind the words only.
   Use on any photo that has no other visible description. Parent needs position: relative. */
.photo-caption {
  position: absolute; right: clamp(1rem, 2.2vw, 2rem); bottom: clamp(.875rem, 1.8vw, 1.5rem);
  isolation: isolate;
  margin: 0;
  font-size: var(--fs-label); font-weight: 500; letter-spacing: .08em; line-height: 1.4;
  color: var(--color-white);
  text-shadow: 0 1px 6px rgba(20,26,35,.6);
}
.photo-caption::before {
  content: ""; position: absolute; z-index: -1; inset: -45% -9%;
  background: rgba(20,26,35,.7); border-radius: 16px; filter: blur(12px);
}

/* ---------- 7. Meet KC ---------- */
.intro__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(3rem, 7vw, 7.5rem);
  align-items: center;
}
.intro__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}
.intro__text { max-width: 34rem; }
.intro__title { margin-bottom: 2rem; }
.intro__text p:not(.label):not(.lead):not(.intro__signature) { color: #3d4652; }
.intro__signature {
  margin: 2.25rem 0 2rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.3;
}
.intro__signature span {
  display: block;
  margin-top: .35rem;
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  letter-spacing: .06em;
  color: var(--color-gray);
}

/* ---------- 8. The Difference ---------- */
.difference__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
}
.difference__title { margin-bottom: 1rem; }
.difference__item p { color: #3d4652; }

/* ---------- 9. Selected Properties / Property Card ---------- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
}
.property-card__link { display: block; }
.property-card__media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--color-warm-gray);
}
.property-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter .6s var(--ease);
}
.property-card__link:hover .property-card__media img {
  transform: scale(1.03);
  filter: brightness(1.04);
}
.property-card__title {
  margin-top: 1.5rem;
  font-size: var(--fs-h3);
}
.property-card__meta {
  margin-top: .4rem;
  font-size: var(--fs-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-gray);
}

/* ---------- 10. Client Experience ---------- */
.experience { padding-top: 0; }
.experience__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;   /* text left, photo right (alternates with Meet KC above and Let's Connect below) */
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.experience__media { order: 2; }
.experience__media { position: relative; }
.experience__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.experience__title { margin-bottom: 1.5rem; }
.experience__text > p:not(.label) { color: #3d4652; }

.testimonial {
  margin: 2.75rem 0 0;
  padding: 2.5rem 0 0;
  border-top: 1px solid var(--color-warm-gray);
}
.testimonial__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-quote);
  line-height: 1.32;
  color: var(--color-ink);
}
.testimonial__cite {
  margin-top: 1.5rem;
  font-size: var(--fs-nav);
  font-weight: 500;
  letter-spacing: .06em;
}
.testimonial__cite span {
  display: block;
  font-weight: 400;
  color: var(--color-gray);
}

/* ---------- 11. Let's Connect (split: photo left, charcoal panel right) ---------- */
.connect {
  display: grid;
  grid-template-columns: 7fr 5fr;
  min-height: clamp(520px, 44vw, 640px);
  background: var(--color-ink);
  color: var(--color-white);
}
.connect__media { position: relative; margin: 0; overflow: hidden; }
.connect__image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 55%;
}
.connect__content {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  /* right edge lines up with the header nav */
  padding: 4.5rem max(var(--gutter), calc((100vw - var(--container)) / 2)) 4.5rem clamp(2.5rem, 4.5vw, 4.5rem);
}
.connect__title { color: var(--color-white); font-size: var(--fs-h2); }
.connect__text {
  max-width: 26rem;
  margin: 1.25rem 0 2.5rem;
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: #E3E6EA;                      /* 11.7:1 on charcoal */
}
.connect__details {
  display: grid; gap: 1.5rem;
  margin: 0 0 2.75rem; padding: 0; list-style: none;
}
.connect__label {
  display: block; margin-bottom: .35rem;
  font-size: var(--fs-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: #C9CED6;                      /* 9.3:1 on charcoal */
}
.connect__value {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-variant-numeric: lining-nums;   /* even-height numerals */
  color: var(--color-white);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
  overflow-wrap: anywhere;
}
.connect__value:hover { border-color: var(--color-gold); }
.connect .btn--gold:hover { background: var(--color-white); color: var(--color-ink); }

/* ---------- 12. Footer ---------- */
.site-footer {
  padding-top: 4.5rem;
  background: var(--color-white);
  font-size: .875rem;
  line-height: 1.7;
  color: var(--color-gray);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr .8fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}
.site-footer__logo {
  display: inline-block; margin-bottom: .75rem;
  font-family: var(--font-serif); font-size: 1.75rem; font-weight: 500;
  color: var(--color-ink); line-height: 1;
}
.site-footer__heading { margin-bottom: .5rem; font-weight: 500; color: var(--color-ink); }
.site-footer a { transition: color .3s var(--ease); }
.site-footer a:hover { color: var(--color-gold-dark); }
.site-footer__nav { margin: 0; padding: 0; list-style: none; }
.site-footer__nav a { display: inline-block; padding-block: .2rem; min-height: 24px; }
.site-footer__legal {
  display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  padding-block: 1.75rem;
  border-top: 1px solid var(--color-warm-gray);
  font-size: var(--fs-label);
}
.site-footer__legal p { margin: 0; }

/* ---------- 13. Responsive ---------- */
@media (max-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }

  .site-header__toggle { display: flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-warm-gray);
    visibility: hidden; opacity: 0;
    transition: opacity .3s var(--ease), visibility .3s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; }
  .site-nav__list {
    flex-direction: column; gap: 0;
    padding: 1rem var(--gutter) 2rem;
  }
  .site-nav__link {
    display: block; padding-block: .9rem;
    font-family: var(--font-serif); font-size: 1.5rem; letter-spacing: 0;
  }
  .site-nav__link::after { display: none; }
  .site-nav__link.is-current { color: var(--color-gold-text); }
  .site-nav__subtoggle { display: flex; width: 100%; justify-content: space-between; text-align: left; }
  .site-nav__subtoggle::before { width: .5rem; height: .5rem; margin-right: .25rem; }
  .site-nav__sub {
    position: static; display: none; min-width: 0;
    padding: 0 0 .75rem 1rem; border: 0; box-shadow: none;
    visibility: visible; opacity: 1; transform: none;
  }
  .site-nav__subtoggle[aria-expanded="true"] + .site-nav__sub { display: block; }
  .site-nav__sublink { padding: .6rem 0; font-size: 1rem; white-space: normal; }
  .site-nav__list > li { display: block; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; aspect-ratio: 4 / 3; }
  .hero__text { padding: 2.5rem var(--gutter) 3.5rem; }

  .intro__grid,
  .experience__grid { grid-template-columns: 1fr; }
  .experience__media { order: 0; }   /* phones: photo first, like every other section */
  .intro__media { max-width: 30rem; }
  .difference__grid { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; text-align: center; }
  .experience { padding-top: 0; }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .property-grid .property-card:last-child { grid-column: 1 / -1; }
  .property-grid .property-card:last-child .property-card__media { aspect-ratio: 16 / 9; }
}

@media (max-width: 600px) {
  .property-grid { grid-template-columns: 1fr; }
  .property-card__media,
  .property-grid .property-card:last-child .property-card__media { aspect-ratio: 4 / 3; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .btn { padding: 1rem 1.75rem; }
}

/* ==========================================================================
   Interior pages
   ========================================================================== */

/* ---------- Page intro (text-only opener) ---------- */
.page-intro { padding-block: clamp(4rem, 3rem + 4vw, 6.5rem) clamp(3rem, 2rem + 3vw, 4.5rem); }
.page-intro__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(1.5rem, 5vw, 6rem);
  align-items: end;
}
.page-intro__title { font-size: var(--fs-h1); line-height: 1; }
.page-intro__text {
  max-width: 34rem;
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: #3d4652;
}

.section--flush-top { padding-top: 0; }

/* ---------- Filters ---------- */
.filters {
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-warm-gray);
}
.filters__list {
  display: flex; flex-wrap: wrap; gap: .5rem 2rem;
  margin: 0; padding: 0; list-style: none;
}
.filters__btn {
  padding: .4rem 0;
  background: none; border: 0; border-bottom: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: var(--fs-nav);
  letter-spacing: .06em;
  color: var(--color-gray);
  cursor: pointer;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.filters__btn:hover { color: var(--color-ink); }
.filters__btn.is-active { color: var(--color-ink); border-color: var(--color-gold); }

/* ---------- Archive grid ---------- */
.property-grid--archive { row-gap: clamp(3rem, 2.5rem + 2vw, 4.5rem); }
.property-card[hidden] { display: none; }
.portfolio__empty { color: var(--color-gray); }

/* ---------- Closing note ---------- */
.closing__inner { max-width: 40rem; text-align: center; }
.closing__text { margin: 1rem 0 2.25rem; font-size: var(--fs-lead); color: #3d4652; }

@media (max-width: 860px) {
  .page-intro__grid { grid-template-columns: 1fr; }
  /* archive: plain two-up on tablet, no featured last card */
  .property-grid--archive .property-card:last-child { grid-column: auto; }
  .property-grid--archive .property-card:last-child .property-card__media { aspect-ratio: 4 / 5; }
}
@media (max-width: 600px) {
  .property-grid--archive .property-card:last-child .property-card__media { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   About page
   ========================================================================== */
.about-hero { padding-block: clamp(3rem, 2rem + 4vw, 6rem) var(--section-y); }
.about-hero__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(3rem, 7vw, 7.5rem);
  align-items: center;
}
.about-hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.about-hero__text { max-width: 34rem; }
.about-hero__title { font-size: var(--fs-h1); line-height: 1; margin-bottom: 2rem; }
.about-hero__text p:not(.label):not(.lead) { color: #3d4652; }

/* Story: heading left, narrow reading column right */
.story { padding-top: 0; }
.story__grid {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(2rem, 6vw, 6rem);
}
.story__body { max-width: 38rem; color: #3d4652; }
.pull-quote {
  margin: 2.5rem 0;
  padding-left: 1.75rem;
  border-left: 1px solid var(--color-gold);
}
.pull-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-quote);
  line-height: 1.3;
  color: var(--color-ink);
}

/* Full-width image break */
.image-break { margin-block: 0; }
.image-break img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.image-break__caption,
.community__caption {
  margin-top: .75rem;
  font-size: var(--fs-label);
  letter-spacing: .08em;
  color: var(--color-gray);
}

/* Approach: heading column + two-up list */
.approach__grid {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(2rem, 6vw, 6rem);
}
.approach__intro { margin-top: 1rem; color: var(--color-gray); max-width: 22rem; }
.approach__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.5rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3.5rem);
}
.approach__item h3 { margin-bottom: .75rem; }
.approach__item p { color: #3d4652; }

/* Community */
.community__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.community__title { margin-bottom: 1.75rem; }
.community__text { max-width: 36rem; }
.community__text p { color: #3d4652; }
.community__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* Testimonials */
.testimonial--feature {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0;
  border: 0;
  text-align: center;
}
.testimonials__pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  max-width: 64rem;
  margin: clamp(3.5rem, 3rem + 2vw, 5rem) auto 0;
}
.testimonial--small { margin: 0; padding-top: 2rem; }
.testimonial--small .testimonial__quote { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.4; }

@media (max-width: 860px) {
  .connect { grid-template-columns: 1fr; min-height: 0; }
  .connect__media { aspect-ratio: 4 / 3; }
  .connect__content { padding: 3.5rem var(--gutter) 4rem; }

  .about-hero__grid,
  .story__grid,
  .approach__grid,
  .community__grid { grid-template-columns: 1fr; }
  .about-hero__media { max-width: 30rem; }
  .image-break img { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .approach__list,
  .testimonials__pair { grid-template-columns: 1fr; }
}

.site-footer__license { display: block; margin-top: .35rem; font-size: var(--fs-label); letter-spacing: .04em; }

/* ==========================================================================
   Micro animations
   Quiet, short, once. All off for visitors who ask their device to reduce motion.
   ========================================================================== */
@keyframes kc-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes kc-fade { from { opacity: 0; } to { opacity: 1; } }

/* Hero load sequence: photo settles in, then headline, subtitle, button */
.hero__image { animation: kc-fade 1.1s var(--ease) both; }
.hero__text > * { animation: kc-rise .8s var(--ease) both; }
.hero__title { animation-delay: .15s; }
.hero__subtitle { animation-delay: .3s; }
.hero__text > .btn { animation-delay: .45s; }
.hero__caption { animation: kc-fade .8s var(--ease) .6s both; }

/* Scroll reveal: only armed when JS confirms support (html.js-reveal), so content never stays hidden */
.js-reveal [data-reveal] {
  opacity: 0; transform: translateY(12px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }
.js-reveal .difference__item:nth-child(2),
.js-reveal .property-card:nth-child(3n+2) { transition-delay: .12s; }
.js-reveal .difference__item:nth-child(3),
.js-reveal .property-card:nth-child(3n) { transition-delay: .24s; }

/* Portfolio filter: cards fade out, swap, fade back in */
.property-grid--archive { transition: opacity .25s var(--ease); }
.property-grid--archive.is-fading { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .property-card__link:hover .property-card__media img { transform: none; }
}
