/* ===========================================================
   AVENNA — Boutique Real Estate · Design · Renovation
   Brand: Beautiful Homes. Thoughtfully Guided.
   =========================================================== */

:root {
  /* Brand palette — tonal warm-neutral system (flows light → sand → charcoal) */
  --ivory:        #F2EDE4;   /* lightest ground */
  --ivory-deep:   #EAE1D2;   /* soft alternating light */
  --sand:         #E5D9C9;   /* warm mid-light feature band */
  --taupe:        #C9BBA6;   /* mushroom taupe */
  --camel:        #C6A079;   /* soft camel */
  --oak:          #A9885C;   /* natural oak */
  --charcoal:     #1C2B45;   /* single warm dark */
  --charcoal-2:   #27395A;
  --brown:        #1C2B45;   /* warm brown — buttons & accents (matches mock) */
  --brown-deep:   #142136;
  --brass:        #C4795A;   /* brushed brass accent — the only metallic */
  --brass-light:  #B9C0CE;
  --white:        #FFFFFF;
  --line:         #DFD4C2;
  --text:         #1C2B45;
  --text-soft:    #5A6474;

  --serif: "Playfair Display", Georgia, serif;
  --sans:  "Chivo", "Helvetica Neue", Arial, sans-serif;
  --script: "Pinyon Script", "Playfair Display", cursive;

  --maxw: 1240px;
  --gutter: clamp(1.5rem, 5vw, 5rem);
  --radius: 2px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow-lux: 0 40px 90px -50px rgba(49,43,38,.55);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--text);
  background-color: var(--ivory);
  background-image:
    radial-gradient(120% 80% at 85% -10%, rgba(198,160,121,.10), transparent 60%),
    radial-gradient(90% 70% at -10% 110%, rgba(110,113,92,.08), transparent 55%);
  background-attachment: fixed;
  line-height: 1.75;
  font-weight: 300;
  font-size: 17px;
  letter-spacing: .015em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: .01em; }
h1 { font-size: clamp(2.9rem, 6.4vw, 5.6rem); font-weight: 400; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); font-weight: 500; }
p { color: var(--text-soft); }
.serif { font-family: var(--serif); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: .7rem;
  letter-spacing:.21em;
  text-transform: uppercase;
  color: var(--brass);
}
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--text-soft); line-height: 1.85; font-weight: 300; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(5.5rem, 11vw, 10rem); }
.center { text-align: center; }
.measure { max-width: 56ch; }
.measure.center { margin-inline: auto; }
.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.75rem); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

.divider { width: 64px; height: 1px; background: var(--brass); margin: 1.75rem 0; position: relative; }
.divider::after { content: ""; position: absolute; left: 0; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }
.divider.center { margin-inline: auto; }
.divider.center::after { left: 50%; transform: translateX(-50%); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--brown);
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--sans); font-size: .68rem; font-weight: 400;
  letter-spacing:.13em; text-transform: uppercase;
  padding: 1.1rem 2.6rem; border: 1px solid var(--b);
  background: var(--b); color: var(--ivory);
  transition: background .5s var(--ease), color .5s var(--ease), letter-spacing .5s var(--ease); cursor: pointer;
}
.btn:hover { background: var(--brown-deep); border-color: var(--brown-deep); color: var(--ivory); letter-spacing:.15em; }
.btn { white-space: nowrap; }
.btn--ghost { background: transparent; color: var(--brown); }
.btn--ghost:hover { background: var(--brown); color: var(--ivory); }
.btn--brass { --b: var(--brass); color: #fff; }
.btn--brass:hover { background: var(--brown-deep); border-color: var(--brown-deep); }
.btn--light { --b: var(--ivory); color: var(--charcoal); border-color: var(--ivory); background: var(--ivory); }
.btn--light:hover { background: transparent; color: var(--ivory); border-color: var(--ivory); }

.link-arrow {
  font-family: var(--sans); font-size: .76rem; letter-spacing:.1em;
  text-transform: uppercase; color: var(--charcoal);
  border-bottom: 1px solid var(--brass); padding-bottom: 3px;
  display: inline-flex; gap: .5rem; transition: gap .3s var(--ease);
}
.link-arrow:hover { gap: .9rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem var(--gutter);
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header.solid {
  background: rgba(245,240,235,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 1rem;
}
/* legibility scrim behind the logo/nav when the header sits over a photo */
.site-header.on-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(28,25,21,.6), rgba(28,25,21,0));
  transition: opacity .4s var(--ease);
}
.site-header.on-dark.solid::before { opacity: 0; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--script); font-size: 2.5rem; font-weight: 400; letter-spacing: .01em; padding-left: .1em; color: var(--charcoal); line-height: .9; }
.site-header.on-dark .brand__name { color: var(--ivory); }
.site-header.on-dark.solid .brand__name { color: var(--charcoal); }
/* image logo */
.brand__logo { height: 46px; width: auto; display: block; }
.brand__logo--light { display: none; }
.site-header.on-dark .brand__logo--dark { display: none; }
.site-header.on-dark .brand__logo--light { display: block; }
.site-header.on-dark.solid .brand__logo--dark { display: block; }
.site-header.on-dark.solid .brand__logo--light { display: none; }
@media (max-width: 600px) { .brand__logo { height: 38px; } }
.brand__sub { font-family: var(--sans); font-size: .5rem; letter-spacing:.19em; text-transform: uppercase; color: var(--brass); margin-top: 6px; padding-left: .42em; }
.site-header.on-dark .brand__name { color: var(--ivory); }
.site-header.on-dark .nav a { color: var(--ivory); }
.site-header.on-dark.solid .brand__name { color: var(--charcoal); }
.site-header.on-dark.solid .nav a { color: var(--charcoal); }

.nav { display: flex; align-items: center; gap: clamp(.6rem, 1vw, 1rem); }
.nav a {
  font-family: var(--sans); font-size: .67rem; letter-spacing: .1em; font-weight: 400;
  text-transform: uppercase; color: var(--charcoal); position: relative; padding: 4px 0;
  white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--brass); transition: width .35s var(--ease);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav .btn { padding: .7rem 1.2rem; white-space: nowrap; letter-spacing: .14em; }
.nav .btn::after { display: none; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 30px; height: 22px; position: relative; }
.nav-toggle span { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--charcoal); transition: .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.on-dark .nav-toggle span { background: var(--ivory); }
.on-dark.solid .nav-toggle span { background: var(--charcoal); }

@media (max-width: 1240px) {
  .nav-toggle { display: block; z-index: 120; }
  .nav {
    position: fixed; inset: 0; background: var(--charcoal);
    flex-direction: column; justify-content: center; gap: 2rem;
    transform: translateX(100%); transition: transform .5s var(--ease);
  }
  .nav.open { transform: translateX(0); }
  .nav a { color: var(--ivory) !important; font-size: 1rem; }
  body.nav-open .nav-toggle span { background: var(--ivory); }
  body.nav-open .nav-toggle span:nth-child(1) { top: 10px; transform: rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { top: 10px; transform: rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: var(--ivory); overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(28,25,21,.9) 0%, rgba(28,25,21,.78) 32%, rgba(28,25,21,.45) 58%, rgba(28,25,21,.12) 82%, rgba(28,25,21,0) 100%),
  linear-gradient(180deg, rgba(28,25,21,.3), rgba(28,25,21,.18) 40%, rgba(28,25,21,.5)); }
@media (max-width: 700px) { .hero__bg::after { background: linear-gradient(180deg, rgba(28,25,21,.5), rgba(28,25,21,.7)); } }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__inner { position: relative; z-index: 2; padding-block: 8rem 4rem; max-width: 640px; margin-left: 0; margin-right: auto; }
.hero h1 { color: var(--ivory); max-width: 15ch; font-weight: 400; }
.hero .eyebrow { color: var(--brass-light); }
.hero p { color: rgba(245,240,235,.88); max-width: 47ch; margin-top: 1.75rem; }
.hero__cta { margin-top: 2.75rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .eyebrow, .hero h1, .hero p, .hero__cta { padding-left: 2px; }

/* sub-page hero (shorter) */
.pagehero {
  position: relative; min-height: 56vh; display: flex; align-items: flex-end;
  color: var(--ivory); overflow: hidden;
}
.pagehero__bg { position: absolute; inset: 0; }
.pagehero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33,30,26,.5), rgba(33,30,26,.78)), linear-gradient(90deg, rgba(33,30,26,.45), rgba(33,30,26,.1) 60%, transparent); }
.pagehero__bg img { width: 100%; height: 100%; object-fit: cover; }
.pagehero__inner { position: relative; z-index: 2; padding-block: 4rem; }
.pagehero h1 { color: var(--ivory); }
.pagehero .eyebrow { color: var(--brass-light); }
.pagehero p { color: rgba(245,240,235,.85); margin-top: 1rem; max-width: 50ch; }

/* ---------- Image holder (CSS gradient placeholders, no external assets) ---------- */
.ph {
  position: relative; width: 100%; height: 100%;
  background-size: cover; background-position: center;
}
.ph--hero  { background:
  radial-gradient(80% 60% at 70% 20%, rgba(198,160,121,.35), transparent 60%),
  linear-gradient(135deg, #5c5346, #3a342c 55%, #25211c); }
.ph--room1 { background:
  radial-gradient(70% 55% at 25% 20%, rgba(255,252,246,.55), transparent 60%),
  linear-gradient(135deg, #d8c8b1, #b89a73 70%, #9a7e5b); }
.ph--room2 { background:
  radial-gradient(70% 55% at 75% 25%, rgba(255,251,244,.4), transparent 60%),
  linear-gradient(135deg, #c4b399, #94836b 75%, #75664f); }
.ph--room3 { background:
  radial-gradient(70% 55% at 30% 18%, rgba(255,253,248,.6), transparent 60%),
  linear-gradient(135deg, #e2d4bf, #c0a37c 70%, #a3855e); }
.ph--olive { background:
  radial-gradient(70% 55% at 70% 25%, rgba(214,210,180,.45), transparent 60%),
  linear-gradient(135deg, #84876f, #5d5f49 75%, #474834); }
.ph--char  { background:
  radial-gradient(75% 60% at 65% 20%, rgba(154,128,81,.3), transparent 60%),
  linear-gradient(135deg, #4a443d, #1C2B45 70%, #211d18); }
.ratio { position: relative; overflow: hidden; }
.ratio::before { content: ""; display: block; padding-top: var(--r, 66%); }
.ratio > * { position: absolute; inset: 0; }

/* ---------- Real imagery + warm unifying treatment ---------- */
.img { width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.96) contrast(1.01) brightness(1.01) sepia(.03); }
.ratio > img { position: absolute; inset: 0; }
/* very subtle warm wash so photos sit in the Avenna palette without muddying */
.toned { position: relative; }
.toned::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(154,128,81,.06), rgba(110,113,92,.04) 60%, rgba(49,43,38,.08)); mix-blend-mode: multiply; }
.hero__bg img, .pagehero__bg img { filter: saturate(.94) contrast(1.02) brightness(1.0) sepia(.04); }

/* full-bleed editorial image band */
.bleed { position: relative; min-height: 78vh; display: flex; align-items: center; color: var(--ivory); overflow: hidden; }
.bleed__bg { position: absolute; inset: 0; z-index: 0; }
.bleed__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,25,21,.78), rgba(28,25,21,.45) 55%, rgba(28,25,21,.2)); }
.bleed__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) sepia(.08) brightness(.95); }
.bleed__inner { position: relative; z-index: 2; }
.bleed h2 { color: var(--ivory); }
.bleed p { color: rgba(245,240,235,.9); }
.bleed .eyebrow { color: var(--brass-light); }

/* ---------- Cards ---------- */
.card { background: var(--white); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lux); }
.card__body { padding: 2.2rem; }
.card__icon { width: 44px; height: 44px; color: var(--brass); margin-bottom: 1.1rem; }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .95rem; }

/* service feature list */
.feature {
  padding: 2.2rem 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem; align-items: start;
}
.feature__num { font-family: var(--serif); font-size: 1.6rem; color: var(--brass); }
.feature h3 { margin-bottom: .4rem; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.split.rev .split__media { order: 2; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .split.rev .split__media { order: 0; } }

/* ---------- Sections on dark ---------- */
.on-charcoal { background: var(--charcoal); color: var(--ivory); }
.on-charcoal h2, .on-charcoal h3 { color: var(--ivory); }
.on-charcoal p { color: rgba(245,240,235,.78); }
.on-charcoal .eyebrow { color: var(--brass-light); }
/* warm sand feature band (replaces the old green) — keeps tonal flow */
.on-sand, .on-olive { background: var(--sand); color: var(--text); }
.on-sand h2, .on-olive h2, .on-sand h3, .on-olive h3 { color: var(--charcoal); }
.on-sand p, .on-olive p { color: var(--text-soft); }
.on-sand .eyebrow, .on-olive .eyebrow { color: var(--brass); }

/* values / stats row */
.stat { text-align: center; }
.stat__n { font-family: var(--serif); font-size: clamp(2.6rem,5vw,3.6rem); color: var(--brass); line-height: 1; }
.stat__l { font-size: .74rem; letter-spacing:.1em; text-transform: uppercase; margin-top: .8rem; color: var(--text-soft); }
.on-charcoal .stat__l { color: rgba(245,240,235,.7); }

/* ---------- Before / After ---------- */
.ba { position: relative; user-select: none; overflow: hidden; box-shadow: var(--shadow-lux); }
.ba .ratio::before { padding-top: 66%; }
.ba__after, .ba__before { position: absolute; inset: 0; }
.ba__after { z-index: 1; }
.ba__before { z-index: 2; clip-path: inset(0 50% 0 0); }
.ba__after .ph, .ba__before .ph, .ba__after .img, .ba__before .img { width: 100%; height: 100%; object-fit: cover; }
.ba .img { filter: saturate(.97) brightness(1.06) contrast(1.02); }
.ba__before .img { filter: saturate(.96) brightness(1.18) contrast(.98); }
.ba__before { border-right: 2px solid var(--ivory); }
.ba__tag { position: absolute; top: auto; bottom: 14px; width: auto; height: auto; z-index: 4; font-size: .62rem; letter-spacing:.11em; text-transform: uppercase; background: rgba(33,30,26,.7); color: var(--ivory); padding: .35rem .7rem; }
.ba__tag.before { left: 14px; right: auto; }
.ba__tag.after { right: 14px; left: auto; }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 3; width: 40px;
  transform: translateX(-50%); cursor: ew-resize; display: flex; align-items: center; justify-content: center;
}
.ba__handle::before { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--ivory); }
.ba__knob { width: 40px; height: 40px; border-radius: 50%; background: var(--ivory); color: var(--charcoal);
  display: flex; align-items: center; justify-content: center; font-size: .9rem; box-shadow: 0 4px 14px rgba(0,0,0,.25); position: relative; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 5; margin: 0; }

/* ---------- Listings ---------- */
.listing { background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.listing:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -34px rgba(49,43,38,.4); }
.listing__media { position: relative; }
.listing__badge { position: absolute; top: 1rem; left: 1rem; background: var(--ivory); color: var(--charcoal); font-size: .6rem; letter-spacing:.1em; text-transform: uppercase; padding: .4rem .8rem; }
.listing__badge.sold { background: var(--charcoal); color: var(--ivory); }
.listing__body { padding: 1.6rem 1.6rem 1.8rem; }
.listing__price { font-family: var(--serif); font-size: 1.7rem; color: var(--charcoal); }
.listing__addr { font-size: .95rem; margin: .3rem 0 1rem; }
.listing__meta { display: flex; gap: 1.4rem; border-top: 1px solid var(--line); padding-top: 1rem; font-size: .8rem; letter-spacing: .08em; color: var(--text-soft); }
.listing__meta b { font-weight: 500; color: var(--charcoal); }

/* ---------- Testimonial ---------- */
.quote { max-width: 62ch; margin-inline: auto; text-align: center; position: relative; }
.quote::before { content: "\201C"; font-family: var(--serif); font-size: 7rem; line-height: 1; color: var(--brass); opacity: .3; display: block; margin-bottom: -1.5rem; }
.quote p { font-family: var(--serif); font-size: clamp(1.55rem,3vw,2.35rem); color: var(--text); line-height: 1.45; font-style: italic; font-weight: 400; }
.quote cite { display: block; margin-top: 1.75rem; font-family: var(--sans); font-style: normal; font-size: .72rem; letter-spacing:.12em; text-transform: uppercase; color: var(--brass); }

/* image hover zoom (luxury) */
.card .ratio, .listing__media .ratio, .split__media .ratio { overflow: hidden; }
.card .ratio .ph, .listing__media .ratio .ph, .split__media .ratio .ph { transition: transform 1.1s var(--ease); }
.card:hover .ratio .ph, .listing:hover .ratio .ph { transform: scale(1.06); }

/* refined media frame on split images */
.split__media .ratio { box-shadow: var(--shadow-lux); }

/* ---------- Forms ---------- */
.field { margin-bottom: 1.4rem; }
.field label { display: block; font-size: .7rem; letter-spacing:.09em; text-transform: uppercase; color: var(--text-soft); margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .95rem 1rem; border: 1px solid var(--line); background: var(--white);
  font-family: var(--sans); font-size: .95rem; color: var(--text); border-radius: var(--radius); transition: border-color .3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); }
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: .8rem; color: var(--text-soft); margin-top: 1rem; }
.form-success { background: var(--charcoal); color: var(--ivory); padding: 1rem 1.2rem; margin-bottom: 1.4rem; font-size: .9rem; display: none; }
.form-success.show { display: block; }

/* lead capture band */
.leadband { background: var(--ivory-deep); }
.leadband .inline-form { display: flex; gap: .8rem; max-width: 520px; }
.leadband .inline-form input { flex: 1; }
@media (max-width: 520px) { .leadband .inline-form { flex-direction: column; } }

/* ---------- Footer (light, multi-column) ---------- */
.site-footer { background: var(--ivory-deep); color: var(--text-soft); padding-block: clamp(3.5rem,6vw,5rem) 1.5rem; border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1.1fr; gap: 2.5rem; }
@media (max-width: 860px) { .footer-main { grid-template-columns: 1fr 1fr 1fr; row-gap: 2.5rem; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-main { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { font-family: var(--sans); font-size: .68rem; letter-spacing:.12em; text-transform: uppercase; color: var(--brown); font-weight: 500; margin-bottom: 1.1rem; }
.site-footer a { color: var(--text-soft); font-size: .92rem; transition: color .3s; }
.site-footer a:hover { color: var(--brown); }
.fcol ul, .footer__brand ul { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.monogram { font-family: var(--serif); font-size: 1.9rem; color: var(--charcoal); width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--brass); border-radius: 50%; }
.footer__tag { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--text); margin-top: 1.1rem; line-height: 1.45; }
.socials { display: flex; gap: 1rem; margin-top: 1.3rem; }
.socials a { color: var(--brown); width: 19px; height: 19px; display: inline-block; }
.socials svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.4; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); }
.footer-bottom a { font-size: .7rem; }

/* ---------- Reveal on scroll ---------- */
/* Scroll-triggered: starts hidden, fades up when main.js adds .in as the
   element enters the viewport. No-JS and reduced-motion both end visible. */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal.in { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Mockup-aligned components ---------- */

/* section label (centered eyebrow) */
.slabel { text-align: center; margin-inline: auto; }
.slabel .eyebrow { display: block; }

/* line icons */
.ico { width: 38px; height: 38px; color: var(--brass); display: inline-block; }
.ico svg { width: 100%; height: 100%; display: block; stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 30px; height: 30px; }

/* outline button (light, for dark hero nav) */
.btn--outline { background: transparent; color: var(--ivory); border-color: rgba(245,240,235,.6); }
.btn--outline:hover { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }

/* "How we make you feel" / value grid with thin dividers */
.feel { text-align: center; position: relative; }
.feel-divided > .feel + .feel::before { content: ""; position: absolute; left: 0; top: 6%; bottom: 6%; width: 1px; background: var(--line); }
@media (max-width: 600px) { .feel-divided > .feel + .feel::before { display: none; } }
.feel .ico { margin-bottom: 1.1rem; }
.feel h4 { font-family: var(--sans); font-size: .76rem; font-weight: 500; letter-spacing:.13em; text-transform: uppercase; color: var(--brown); margin-bottom: .8rem; }
.feel p { font-size: .92rem; max-width: 24ch; margin-inline: auto; }

/* service row with thumbnail */
.srow { display: grid; grid-template-columns: 120px 1fr auto; gap: 1.8rem; align-items: center;
  padding: 1.9rem 0; border-top: 1px solid var(--line); }
.srow:last-child { border-bottom: 1px solid var(--line); }
.srow__thumb { width: 120px; height: 92px; overflow: hidden; }
.srow__thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.96) sepia(.03); }
.srow h3 { font-size: 1.4rem; margin-bottom: .35rem; }
.srow p { font-size: .92rem; max-width: 52ch; }
.srow .link-arrow { white-space: nowrap; }
@media (max-width: 700px) { .srow { grid-template-columns: 84px 1fr; } .srow .link-arrow { grid-column: 2; margin-top: .6rem; } .srow__thumb { width: 84px; height: 84px; } }

/* process / numbered steps with icon */
.pstep { display: grid; grid-template-columns: 56px 1fr; gap: 1.4rem; align-items: start;
  padding: 1.7rem 0; border-top: 1px solid var(--line); }
.pstep:last-child { border-bottom: 1px solid var(--line); }
.pstep h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.pstep p { font-size: .92rem; }

/* filter tabs */
.ptabs { display: flex; flex-wrap: wrap; gap: 1.6rem; justify-content: center; border-bottom: 1px solid var(--line); padding-bottom: 1.2rem; margin-bottom: 3rem; }
.ptab { font-family: var(--sans); font-size: .68rem; letter-spacing:.1em; text-transform: uppercase; color: var(--text-soft); padding-bottom: .4rem; position: relative; cursor: pointer; background: none; border: 0; }
.ptab.active, .ptab:hover { color: var(--brown); }
.ptab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1.25rem; height: 1px; background: var(--brass); }

/* journal cards */
.jcard { background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.jcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lux); }
.jcard .ratio { overflow: hidden; }
.jcard__body { padding: 1.6rem; }
.jcard h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: .9rem; }

/* dark testimonial quote panel */
.qpanel { position: relative; display: flex; align-items: center; min-height: 460px; overflow: hidden; color: var(--ivory); padding: clamp(2rem,5vw,3.5rem); }
.qpanel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: saturate(.85) brightness(.85) sepia(.06); }
.qpanel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(40,34,28,.55), rgba(40,34,28,.72)); z-index: 1; }
.qpanel__in { position: relative; z-index: 2; max-width: 36ch; }
.qpanel__in::before { content: "\201C"; font-family: var(--serif); font-size: 4.5rem; line-height: .6; color: var(--brass-light); display: block; }
.qpanel p { color: var(--ivory); font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem,2vw,1.85rem); line-height: 1.5; }
.qpanel cite { display: block; margin-top: 1.25rem; font-family: var(--sans); font-style: normal; font-size: .72rem; letter-spacing:.12em; text-transform: uppercase; color: var(--brass-light); }
.split.nogap { gap: 0; align-items: stretch; }
.split.nogap .qpanel { height: 100%; }
.thankcol { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem,5vw,3.5rem); }
@media (max-width: 800px) { .qpanel { min-height: 360px; } }

/* footer value band */
.valueband { background: var(--sand); border-top: 1px solid var(--line); }
.valueband .grid { align-items: start; }
.vitem { display: grid; grid-template-columns: 40px 1fr; gap: 1rem; align-items: start; }
.vitem h4 { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing:.11em; text-transform: uppercase; color: var(--brown); margin-bottom: .4rem; }
.vitem p { font-size: .88rem; }

/* three-column difference */
.diff { display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem; text-align: center; }
.diff > div { padding: 0 1rem; }
.diff p { font-size: 1rem; }
@media (max-width: 700px) { .diff { grid-template-columns: 1fr; gap: 1.5rem; } }
.brass-note { color: var(--brass); font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem,2.2vw,1.6rem); line-height: 1.5; max-width: 56ch; margin: 2.5rem auto 0; text-align: center; }

/* property card price refinement already in .listing */
.ptag-row { display: flex; gap: 1.2rem; align-items: baseline; }

/* pricing / package cards */
.pkg { background: var(--white); border: 1px solid var(--line); padding: 2rem 1.8rem; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); position: relative; }
.pkg:hover { transform: translateY(-5px); box-shadow: var(--shadow-lux); }
.pkg--featured { border-color: var(--brass); }
.pkg__tag { position: absolute; top: -1px; right: 1.4rem; background: var(--brass); color: #fff; font-size: .58rem; letter-spacing:.09em; text-transform: uppercase; padding: .35rem .7rem; }
.pkg h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.pkg__sub { font-size: .85rem; color: var(--text-soft); min-height: 2.4em; }
.pkg__price { font-family: var(--serif); font-size: 2.1rem; color: var(--charcoal); margin: .8rem 0 .2rem; }
.pkg__price small { font-size: .8rem; font-family: var(--sans); color: var(--text-soft); letter-spacing: .04em; }
.pkg ul { list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.pkg li { font-size: .88rem; color: var(--text-soft); padding-left: 1.4rem; position: relative; line-height: 1.5; }
.pkg li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-right: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: rotate(45deg) translateY(-2px); }
.pkg .btn { margin-top: auto; justify-content: center; white-space: normal; line-height: 1.3; text-align: center; }
/* Package grid: 4-up only on wide screens; collapse earlier so cards never run off-page */
@media (max-width: 1100px) { .grid.pkg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid.pkg-grid { grid-template-columns: 1fr; } }
.pkg__best { font-size: .8rem; font-style: italic; color: var(--text-soft); margin-bottom: 1rem; font-family: var(--serif); }

/* service-area cards */
.area-card { background: var(--white); border: 1px solid var(--line); padding: 1.8rem; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lux); }
.area-card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.area-card p { font-size: .92rem; }

/* article / prose */
.prose { max-width: 720px; margin-inline: auto; }
.prose > .lead { font-size: clamp(1.2rem,2vw,1.4rem); color: var(--text-soft); margin-bottom: 1.75rem; line-height: 1.8; }
.prose p { margin-bottom: 1.2rem; font-size: 1.05rem; line-height: 1.9; color: var(--text); font-weight: 300; }
.prose h2 { font-size: clamp(1.5rem,2.6vw,2.1rem); margin: 2.75rem 0 1rem; }
.prose h3 { font-size: 1.3rem; margin: 2rem 0 .5rem; }
.prose ul { margin: 0 0 1.4rem 1.3rem; padding: 0; }
.prose li { margin-bottom: .6rem; color: var(--text-soft); line-height: 1.7; }
.prose strong { color: var(--charcoal); font-weight: 600; }
.prose .pull { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem,2.4vw,1.9rem); color: var(--brass); line-height: 1.45; margin: 2.25rem 0; }
.article-meta { font-size: .72rem; letter-spacing:.1em; text-transform: uppercase; color: var(--text-soft); margin-top: 1rem; }
.prose figure { margin: 2.5rem auto 2.75rem; max-width: 480px; }
.prose figure img { width: 100%; display: block; box-shadow: var(--shadow-lux); }
.prose figcaption { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); margin-top: .85rem; text-align: center; }

/* ---- designer article enhancements ---- */
.article-head { text-align: center; max-width: 780px; margin-inline: auto; }
.article-head .eyebrow { color: var(--brass); display: block; }
.article-head h1 { font-size: clamp(2.3rem,4.8vw,3.7rem); line-height: 1.08; margin: .9rem 0 1.1rem; }
.article-head .meta { font-family: var(--sans); font-size: .7rem; letter-spacing:.12em; text-transform: uppercase; color: var(--text-soft); }
.article-head .divider { margin: 1.7rem auto 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--sans); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); }
.prose td:last-child { white-space: nowrap; font-weight: 500; color: var(--charcoal); }
.prose figure + p::first-letter { font-family: var(--serif); font-size: 3.6em; line-height: .76; float: left; padding: .03em .12em 0 0; color: var(--brown); font-weight: 600; }
.prose h2 { position: relative; }
.prose h2::before { content: ""; display: block; width: 38px; height: 2px; background: var(--brass); margin-bottom: 1.1rem; }
.prose .pull { text-align: center; padding: 1.6rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: 100%; }
.prose p a, .prose li a { color: var(--brown); text-decoration: none; border-bottom: 1px solid var(--brass); transition: color .3s; }
.prose p a:hover, .prose li a:hover { color: var(--brass); }
.related { background: var(--ivory-deep); }

/* tag chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { font-size: .66rem; letter-spacing:.09em; text-transform: uppercase; border: 1px solid var(--line); padding: .45rem .9rem; color: var(--text-soft); }
.on-charcoal .chip { border-color: rgba(245,240,235,.25); color: rgba(245,240,235,.8); }

/* ---------- Mobile & spacing-rhythm polish ---------- */
@media (max-width: 760px) {
  .section { padding-block: clamp(3.25rem, 11vw, 5rem); }
  .hero__inner { padding-block: 6rem 3rem; }
  .hero h1 { max-width: 16ch; }
  .card__body { padding: 1.7rem; }
  .pkg { padding: 1.7rem 1.5rem; }
  .chips { gap: .5rem; }
  .slabel { text-align: left; }
  .slabel .eyebrow { display: block; }
  /* tighten the big numbered process/feature rows */
  .feature { gap: 1rem; }
  .feature__num { font-size: 1.35rem; }
}
@media (max-width: 440px) {
  .section { padding-block: 2.75rem; }
  .card__body { padding: 1.4rem; }
  h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
}
/* gentle media zoom on hover (desktop pointers only) */
@media (hover: hover) {
  .split__media .ratio .img { transition: transform 1.2s var(--ease); }
  .split__media:hover .ratio .img { transform: scale(1.04); }
}

/* ---------- Gentle staggered reveal (children cascade as the group enters) ---------- */
.grid > .reveal:nth-child(2),
[style*="max-width:820px"] > .feature.reveal:nth-child(2) { transition-delay: .08s; }
.grid > .reveal:nth-child(3),
[style*="max-width:820px"] > .feature.reveal:nth-child(3) { transition-delay: .16s; }
.grid > .reveal:nth-child(4),
[style*="max-width:820px"] > .feature.reveal:nth-child(4) { transition-delay: .24s; }
.grid > .reveal:nth-child(5) { transition-delay: .32s; }
.grid > .reveal:nth-child(6) { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) { .grid > .reveal, .feature.reveal { transition-delay: 0s !important; } }

/* ---------- Footer legal disclosure (centered, balanced spacing) ---------- */
.footer-legal { padding-top: 1.6rem; text-align: center; }
.footer-legal p { font-size: .72rem; line-height: 1.7; color: var(--text-soft); max-width: 82ch; margin: 0 auto; }
.footer-legal + .footer-bottom { margin-top: 1.6rem; }

/* Floating CTA (all pages) */
.floatcta{ position:fixed; right:1.25rem; bottom:1.25rem; z-index:90; opacity:0; transform:translateY(14px); pointer-events:none; transition:opacity .5s var(--ease), transform .5s var(--ease); box-shadow:0 16px 40px -18px rgba(49,43,38,.7); }
.floatcta.show{ opacity:1; transform:none; pointer-events:auto; }
