/* AVIDA Custom Homes — multi-page layer (homes, residences, build, consulting, testimonials).
   Loads last; builds on tokens from forma.css. */

a.rcard { color: var(--ink); text-decoration: none; }
a.rcard:hover .rcard-t { text-decoration: underline; text-underline-offset: 4px; }
.fhead .flink { align-self: end; }
.menu-links a { font-size: clamp(1.7rem, 1.4rem + .9vw, 2.2rem) !important; }

/* page hero (inner pages) */
.phero { padding-block: clamp(140px, 14vw, 200px) clamp(40px, 5vw, 72px); }
.phero .wrap { display: grid; gap: 22px; }
.phero h1 { font-size: clamp(3rem, 1.6rem + 5vw, 7rem); line-height: .95; letter-spacing: -.055em; max-width: 13ch; }
.phero-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: clamp(8px, 2vw, 24px); padding-top: 22px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .phero-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.phero-row p { color: var(--graphite); max-width: 46ch; }
.phero-row .phero-note { color: var(--ink); font-weight: 500; }

/* homes index */
.homes { padding-block: 0 clamp(96px, 10vw, 150px); }
.homes .wrap { display: grid; gap: clamp(28px, 4vw, 56px); }
.home-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; color: var(--ink); text-decoration: none; }
@media (min-width: 900px) {
  .home-card { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; }
  .home-card:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .home-card:nth-child(even) .hc-img { order: 2; }
}
.hc-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; }
.hc-img .frame { width: 100%; height: 100%; transition: transform 1.4s var(--ease-out); }
.home-card:hover .hc-img .frame { transform: scale(1.03); }
.hc-text { display: grid; gap: 14px; align-content: end; justify-items: start; padding-bottom: 6px; }
.hc-n { font-size: .8rem; color: var(--muted); }
.hc-text h2 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.8rem); line-height: 1; }
.hc-text p { color: var(--graphite); max-width: 42ch; }
.hc-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.hc-meta span { font-size: .78rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--graphite); }
.hc-go { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: .92rem; margin-top: 6px; }
.hc-go i { width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-style: normal; transition: background .3s, color .3s, transform .5s var(--ease); }
a:hover .hc-go i { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(-45deg); }

/* residence hero + info */
.rhero { position: relative; height: min(88svh, 900px); min-height: 520px; padding: 0; color: #fff; overflow: hidden; }
.rhero > .frame { position: absolute; inset: 0; }
.rhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,0) 35%, rgba(0,0,0,.5)); pointer-events: none; }
.rhero-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap;
  padding: 0 max(20px, env(safe-area-inset-right, 0px)) clamp(28px, 4vw, 48px) max(20px, env(safe-area-inset-left, 0px)); }
.rhero h1 { font-size: clamp(3rem, 1.4rem + 5.4vw, 7.4rem); line-height: .9; letter-spacing: -.055em; color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.25); margin-top: 10px; }
.rhero-sub { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: rgba(255,255,255,.92); text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.rinfo { padding-block: clamp(64px, 7vw, 110px); }
.rinfo-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 900px) { .rinfo-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; } }
.rinfo-grid > p { font-size: clamp(1.4rem, 1.05rem + 1.2vw, 2.2rem); line-height: 1.15; letter-spacing: -.035em; font-weight: 500; max-width: 26ch; }
.rfacts { margin: 0; border-top: 1px solid var(--line); align-self: start; }
.rfacts div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rfacts dt { font-size: .78rem; color: var(--muted); padding-top: 2px; }
.rfacts dd { margin: 0; }

/* masonry gallery */
.mgal { padding-block: 0 clamp(80px, 9vw, 130px); }
.mgal-grid { columns: 3 300px; column-gap: 14px; }
.mg { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; border-radius: var(--r-md); overflow: hidden; break-inside: avoid; }
.mg img { display: block; width: 100%; height: auto; max-width: 100%; transition: transform 1.2s var(--ease-out), filter .5s ease; }
.mg:hover img { transform: scale(1.03); filter: brightness(.96); }
.mg:focus-visible { outline: 2px solid var(--patina); outline-offset: 3px; }

/* next residence */
.rnext { padding-block: 0 clamp(80px, 9vw, 130px); }
.rnext-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; color: var(--ink); text-decoration: none; border-top: 1px solid var(--line); padding-top: clamp(28px, 3vw, 40px); }
@media (min-width: 760px) { .rnext-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; gap: 48px; } }
.rnext-img { aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; }
.rnext-img .frame { width: 100%; height: 100%; transition: transform 1.4s var(--ease-out); }
.rnext-card:hover .rnext-img .frame { transform: scale(1.03); }
.rnext-text { display: grid; gap: 12px; justify-items: start; }
.rnext-text h2 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.8rem); line-height: 1; }

/* full-screen photo viewer */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(44,46,27,.95); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s .35s; }
.lb.on { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.lb img { max-width: min(92vw, 1700px); max-height: 82vh; border-radius: var(--r-md); transition: opacity .25s ease; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: #fff; font-size: 1.1rem; cursor: pointer; transition: background .3s, color .3s; }
.lb-btn:hover { background: #fff; color: #31331E; }
.lb-prev { left: max(16px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb-next { right: max(16px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
.lb-close { top: calc(16px + env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lb-count { position: absolute; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: .85rem; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); transform: none; } .lb-count { bottom: calc(26px + env(safe-area-inset-bottom, 0px)); } }

/* consulting division band (home) */
.division { padding-block: clamp(80px, 9vw, 140px) 0; }
.div-card { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--sand); border-radius: var(--r-lg); overflow: hidden; color: var(--ink); text-decoration: none; }
@media (min-width: 900px) { .div-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.div-img { min-height: 320px; overflow: hidden; }
.div-img .frame { width: 100%; height: 100%; min-height: 320px; transition: transform 1.4s var(--ease-out); }
.div-card:hover .div-img .frame { transform: scale(1.03); }
.div-text { padding: clamp(28px, 4vw, 60px); display: grid; gap: 20px; align-content: center; justify-items: start; }
.div-lock { display: inline-grid; gap: 6px; line-height: 1; }
.div-lock b { font-weight: 600; font-size: 1.3rem; letter-spacing: .44em; margin-right: -.44em; }
.div-lock small { font-size: .58rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; border-top: 1px solid currentColor; padding-top: 6px; text-align: justify; text-align-last: justify; white-space: nowrap; }
.div-text h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); line-height: 1; max-width: 14ch; }
.div-text p { color: var(--graphite); max-width: 42ch; }

/* build with us */
.lots { padding-block: 0 clamp(80px, 9vw, 130px); }
.lots-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 760px) { .lots-grid { grid-template-columns: 1fr 1fr; } }
.lot { display: grid; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 14px 24px; }
.lot-img { aspect-ratio: 3 / 2; border-radius: var(--r-md); overflow: hidden; margin-bottom: 8px; }
.lot-img .frame { width: 100%; height: 100%; }
.lot h3, .lot p { padding-inline: 8px; }
.lot h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.lot p { color: var(--graphite); max-width: 44ch; }
.bsteps { padding-block: 0 clamp(80px, 9vw, 130px); }
.bstep { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); align-items: center; }
@media (min-width: 900px) { .bstep { grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
.bstep-n { font-size: .82rem; color: var(--patina); font-weight: 500; }
.bstep-text { display: grid; gap: 10px; }
.bstep h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem); line-height: 1.02; }
.bstep p { color: var(--graphite); max-width: 42ch; }
.bstep .frame { aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; margin: 0; }

/* testimonials */
.tq-ph { color: var(--muted) !important; font-style: normal; }
.tlist { padding-block: 0 clamp(64px, 7vw, 100px); }
.tlist-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.tcard { display: grid; gap: 16px; align-content: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); }
.tcard-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tcard-top small { display: block; color: var(--muted); font-size: .8rem; }
.tcard .tq-ph { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.02em; }
.tcard-sum { color: var(--graphite); font-size: .92rem; }
.tcard-sum span { color: var(--ink); font-weight: 500; }
.ffaq-top { padding-top: clamp(80px, 9vw, 130px); }

/* ===== round: Naveed's review ===== */
/* real logo in header / footer / intro */
.navbox-logo { display: flex; align-items: center; }
.navbox-logo img { display: block; height: 30px; width: auto; }
.navbox-logo .logo-white { display: none; }
.menu-open .navbox-logo .logo-ink, .navbox.on-dark .navbox-logo .logo-ink { display: none; }
.menu-open .navbox-logo .logo-white, .navbox.on-dark .navbox-logo .logo-white { display: block; }
.navbox { width: min(360px, calc(100vw - 28px)); }
.ftr-logo img { display: block; height: 34px; width: auto; }
.ftr-logo .logo-ink { display: none; }
.ftr-lockup { width: min(1100px, calc(100% - 40px)); max-width: none; }
.ftr-lockup img { display: block; width: 100%; height: auto; opacity: .95; }
.intro-tag img { display: block; height: 30px; width: auto; }

/* rotating hero (front elevations & backyards) */
.hrot { position: relative; height: 100svh; min-height: 600px; max-height: 1100px; padding: 0; overflow: hidden; color: #fff; background: #373A22; }
.hr-slides, .hr-slide { position: absolute; inset: 0; }
.hr-slide { opacity: 0; transition: opacity 1.6s ease; }
.hr-slide.on { opacity: 1; }
.hr-slide .frame { position: absolute; inset: 0; transform: scale(1.04); }
.hr-slide.on .frame { animation: hrZoom 8s linear both; }
@keyframes hrZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hrot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.18) 40%, rgba(0,0,0,.40) 100%); pointer-events: none; }
.hr-inner { position: relative; z-index: 2; height: 100%; display: grid; place-content: center; justify-items: center; gap: clamp(18px, 2.4vw, 30px); text-align: center; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
.hr-logo { margin: 0; }
.hr-logo img { display: block; width: min(640px, 78vw); height: auto; filter: drop-shadow(0 2px 18px rgba(0,0,0,.28)); }
.hr-quote { margin: 0; max-width: 30ch; font-size: clamp(1.15rem, .9rem + 1vw, 1.7rem); line-height: 1.3; letter-spacing: -.015em; color: rgba(255,255,255,.95); text-shadow: 0 1px 14px rgba(0,0,0,.4); }
.hr-cta { color: #fff; text-decoration: none; font-size: .82rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 14px 30px; border: 1px solid rgba(255,255,255,.75); border-radius: 999px; transition: background .35s, color .35s; }
.hr-cta:hover { background: #fff; color: var(--ink); }
.hr-dots { position: absolute; z-index: 2; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; gap: 8px; }
.hr-dots i { width: 22px; height: 2px; background: rgba(255,255,255,.4); transition: background .4s, width .4s; }
.hr-dots i.on { background: #fff; width: 40px; }
html.is-loading .hr-inner { opacity: 0; transform: translateY(20px); }
.hr-inner { transition: opacity 1.1s ease .4s, transform 1.2s var(--ease-out) .4s; }
@media (prefers-reduced-motion: reduce) { .hr-slide.on .frame { animation: none; } }

.fabout-p { color: var(--graphite); max-width: 46ch; }
.fabout-text h2 { max-width: 14ch; }

/* selected works tiles */
.wsec { padding-block: 0 clamp(96px, 10vw, 150px); }
.works-home { padding-top: clamp(20px, 3vw, 40px); }
.works-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.wtile { grid-column: span 4; display: grid; gap: 12px; color: var(--ink); text-decoration: none; }
.wtile:nth-child(1), .wtile:nth-child(2) { grid-column: span 6; }
.wtile:nth-child(7) { grid-column: span 12; }
.wtile:nth-child(7) .wt-img { aspect-ratio: 21 / 8; }
.wt-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.wt-img .frame { position: absolute; inset: 0; transition: transform 1.4s var(--ease-out); }
.wtile:hover .wt-img .frame { transform: scale(1.04); }
.wt-empty { display: grid; place-items: center; background: linear-gradient(160deg, #DBD6C7, #D2CCBB); transition: background .6s ease; }
.wtile:nth-child(3n+2) .wt-empty { background: linear-gradient(160deg, #3C3F26, #33351F); }
.wtile:nth-child(3n+2) .wt-big { color: var(--on-dark); }
.wtile:nth-child(3n+2) .wt-key img { filter: invert(1); opacity: .5; }
.wt-big { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 5rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; color: var(--ink); transition: transform 1s var(--ease-out); }
.wtile:hover .wt-big { transform: scale(1.04); }
.wt-key { position: absolute; top: 18px; right: 20px; }
.wt-key img { height: 34px; width: auto; opacity: .35; }
.wt-meta { display: flex; align-items: baseline; gap: 14px; }
.wt-n { font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.wt-name { font-weight: 500; font-size: 1.02rem; }
.wt-note { margin-left: auto; font-size: .82rem; color: var(--muted); }
@media (max-width: 860px) { .wtile, .wtile:nth-child(n) { grid-column: span 6; } .wtile:nth-child(7) { grid-column: span 12; } }
@media (max-width: 560px) { .wtile, .wtile:nth-child(n) { grid-column: span 12; } .wtile:nth-child(7) .wt-img { aspect-ratio: 4 / 3; } }

/* next home (no photo) */
.rnext-simple { grid-template-columns: 1fr !important; }
.rnext-all { margin-top: 20px; }

/* follow us strip */
.follow { padding: 0; }
.follow-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); text-decoration: none; color: var(--on-dark); }
.fl-card { display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 28px 16px; background: #484B2F; aspect-ratio: 1 / 1.05; }
.fl-h { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); font-weight: 500; letter-spacing: -.03em; }
.fl-handle { font-size: .92rem; color: rgba(250,247,241,.75); }
.fl-img { position: relative; overflow: hidden; aspect-ratio: 1 / 1.05; }
.fl-img .frame { position: absolute; inset: 0; transition: transform 1.4s var(--ease-out); }
.follow-grid:hover .fl-img .frame { transform: scale(1.04); }
@media (max-width: 760px) { .follow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fl-card { grid-column: span 2; aspect-ratio: auto; } .fl-img:last-child { display: none; } }
.follow + .ftr, main:has(.follow) + .ftr { border-radius: 0; }

/* contact info */
.cinfo { padding-block: 0 clamp(48px, 6vw, 80px); }
.cinfo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.cinfo-card { display: grid; gap: 10px; align-content: start; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); font-size: 1.15rem; }
.cinfo-card a { color: var(--ink); text-decoration: none; }
.cinfo-card a:hover { color: var(--patina); }

.k-quote { font-size: clamp(1.2rem, 1rem + .8vw, 1.7rem); letter-spacing: -.02em; color: var(--graphite); max-width: 28ch; margin-top: 6px; }
.fservices-2 { border-radius: 0; border-top: 1px solid #3D4027; }
.fcta-gap { margin-top: clamp(20px, 2vw, 28px); }
.wt-img { container-type: inline-size; }
.wt-big { font-size: clamp(1.8rem, 13cqw, 5rem); padding-inline: 8%; text-align: center; }
.wtile:nth-child(7) .wt-big { font-size: clamp(2rem, 8cqw, 6rem); }

/* ===== hero refinement: cleaner logo, quieter quote ===== */
.hrot::after { background: radial-gradient(ellipse at center, rgba(0,0,0,.30) 0%, rgba(0,0,0,.12) 55%, rgba(0,0,0,.28) 100%); }
.hr-inner { gap: 0; }
.hr-logo img { width: min(420px, 66vw); filter: none; }
.hr-quote { display: flex; align-items: center; gap: 18px; margin-top: clamp(22px, 2.6vw, 34px); max-width: none;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400;
  font-size: clamp(1rem, .9rem + .35vw, 1.22rem); letter-spacing: .01em; line-height: 1.4; color: rgba(255,255,255,.9); text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.hr-quote::before, .hr-quote::after { content: ""; width: clamp(24px, 4vw, 48px); height: 1px; background: rgba(255,255,255,.55); flex: none; }
.hr-cta { margin-top: clamp(28px, 3vw, 40px); font-size: .7rem; letter-spacing: .2em; padding: 12px 26px; border-color: rgba(255,255,255,.55); }
@media (max-width: 560px) { .hr-quote { max-width: 30ch; text-align: center; } .hr-quote::before, .hr-quote::after { display: none; } }

/* testimonials: slider + full page + per-home quote */
.tq blockquote { font-size: clamp(1.6rem, 1.1rem + 2vw, 3rem); max-width: 26ch; }
.tlist-grid { display: block; columns: 2 420px; column-gap: 16px; }
.tcard { break-inside: avoid; margin-bottom: 16px; position: relative; gap: 14px; }
.tcard p { color: var(--graphite); font-size: 1rem; line-height: 1.6; max-width: none; }
.tcard p:first-of-type { color: var(--ink); font-size: 1.12rem; }
.tcard-mark { font-family: "Cormorant Garamond", Georgia, serif; font-size: 4.2rem; line-height: .6; color: var(--patina); height: 28px; }
.tcard-top { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.pquote { padding-block: clamp(56px, 7vw, 100px) 0; }
.pquote-pad { padding-bottom: clamp(56px, 7vw, 100px); }
.pquote .wrap { display: grid; gap: 18px; justify-items: center; text-align: center; }
.pquote blockquote { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: clamp(1.7rem, 1.2rem + 2vw, 3rem); line-height: 1.2; max-width: 30ch; color: var(--ink); }
.pquote p { font-size: .88rem; color: var(--muted); }
.pquote p b { color: var(--ink); font-weight: 500; }
.rhero + .pquote { padding-bottom: clamp(40px, 5vw, 72px); }
.phero + .pquote { padding-top: 0; }
.hrot::after { background: radial-gradient(ellipse 60% 45% at 50% 50%, rgba(0,0,0,.42) 0%, rgba(0,0,0,.18) 70%, rgba(0,0,0,.30) 100%); }
.navbox.on-dark { background: rgba(50,52,30,.42); border-color: rgba(255,255,255,.14); }

/* ===== page transition ===== */
.ftr { padding-bottom: 0; }
.ftr-base { margin-top: clamp(48px, 6vw, 80px); }
.pt { position: fixed; inset: 0; z-index: 150; background: var(--stone); display: grid; place-items: center; pointer-events: none;
  transform: translateY(100%); visibility: hidden; }
.pt-inner { display: grid; gap: 22px; justify-items: center; }
.pt-inner img { width: min(240px, 52vw); height: auto; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .6s var(--ease-out); }
.pt-line { display: block; width: 120px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.pt-line::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
/* covered (entering a page, before lift) */
html.pt-cover .pt { transform: none; visibility: visible; transition: none; }
html.pt-cover .pt-inner img { opacity: 1; transform: none; transition: none; }
html.pt-cover body { overflow: hidden; }
/* lifting away */
html.pt-lift .pt { visibility: visible; transform: translateY(-100%); transition: transform 1s cubic-bezier(.76,0,.24,1) .15s, visibility 0s 1.2s; }
html.pt-lift .pt-inner img { opacity: 0; transform: translateY(-14px); transition: opacity .35s ease, transform .5s ease; }
/* leaving: panel rises from the bottom */
html.pt-leave .pt { visibility: visible; transform: none; transition: transform .75s cubic-bezier(.76,0,.24,1); pointer-events: auto; }
html.pt-leave .pt-inner img { opacity: 1; transform: none; transition-delay: .35s; }
html.pt-leave .pt-line::after { transform: scaleX(1); transition: transform .9s ease .3s; }
html.pt-cover .pt-line::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .pt { display: none; } }

/* ===== testimonials: letters ===== */
.thero { position: relative; height: min(86svh, 860px); min-height: 520px; padding: 0; overflow: hidden; color: #fff; display: grid; }
.thero > .frame { position: absolute; inset: 0; }
.thero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.35) 50%, rgba(0,0,0,.6)); }
.thero-inner { position: relative; z-index: 1; align-self: end; display: grid; gap: 22px; justify-items: center; text-align: center;
  padding: 0 max(20px, env(safe-area-inset-right, 0px)) clamp(48px, 7vw, 96px) max(20px, env(safe-area-inset-left, 0px)); }
.thero-label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.thero blockquote { margin: 0; max-width: 22ch; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 400;
  font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.6rem); line-height: 1.08; letter-spacing: -.01em; text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.thero p { font-size: .9rem; color: rgba(255,255,255,.85); }
.thero p b { font-weight: 500; color: #fff; }

.tintro { padding-block: clamp(72px, 8vw, 120px) clamp(32px, 4vw, 56px); }
.tintro-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: end; }
@media (min-width: 900px) { .tintro-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; } }
.tintro h1 { font-size: clamp(2.8rem, 1.6rem + 4vw, 6rem); line-height: .95; letter-spacing: -.055em; }
.tintro-grid > div { display: grid; gap: 14px; }
.tintro-grid p { color: var(--graphite); max-width: 42ch; }
.tintro-n { font-size: .85rem; color: var(--muted) !important; }
.tintro-n b { color: var(--ink); font-weight: 500; font-size: 1.1rem; }

.ltrs { padding-block: 0 clamp(80px, 9vw, 130px); }
.ltr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .ltr { grid-template-columns: 70px minmax(0, 1fr) 260px; gap: 40px; align-items: start; } }
.ltr-n { font-size: .8rem; color: var(--patina); font-weight: 500; font-variant-numeric: tabular-nums; padding-top: 12px; }
.ltr-q { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 400; font-size: clamp(1.7rem, 1.1rem + 2.2vw, 3.1rem); line-height: 1.12; color: var(--ink); max-width: 26ch; }
.ltr-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.ltr.open .ltr-body { grid-template-rows: 1fr; }
.ltr-body > div { overflow: hidden; }
.ltr-text { columns: 2 280px; column-gap: 36px; padding-top: 26px; }
.ltr-text p { color: var(--graphite); font-size: .98rem; line-height: 1.65; margin-bottom: 14px; break-inside: avoid; max-width: none; }
.ltr-side { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: center; align-content: start; padding-top: 10px; }
.ltr-side > div { display: grid; gap: 2px; }
.ltr-side b { font-weight: 500; }
.ltr-side small { color: var(--muted); font-size: .8rem; }
.ltr-home, .ltr-toggle { grid-column: 1 / -1; justify-self: start; }
.ltr-home { margin-top: 12px; font-size: .86rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .3s; }
.ltr-home:hover { border-color: var(--ink); }
.ltr-toggle { margin-top: 14px; display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 18px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 500 .82rem/1 var(--f-body); cursor: pointer; transition: background .3s, color .3s; }
.ltr-toggle:hover { background: var(--ink); color: var(--paper); }
.ltr-toggle i { position: relative; width: 10px; height: 10px; }
.ltr-toggle i::before, .ltr-toggle i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .5s var(--ease); }
.ltr-toggle i::after { transform: rotate(90deg); }
.ltr.open .ltr-toggle i::after { transform: rotate(0deg); }
.ltr-band { display: grid; gap: 14px; padding-block: clamp(8px, 1vw, 16px) clamp(32px, 4vw, 56px); }
.ltr-band-2 { grid-template-columns: 1.4fr 1fr; }
.ltr-band-img { border-radius: var(--r-lg); overflow: hidden; height: clamp(240px, 32vw, 460px); }
.ltr-band-img .frame { width: 100%; height: 100%; }
@media (max-width: 700px) { .ltr-band-2 { grid-template-columns: 1fr; } .ltr-band-img { height: 240px; } }

/* ===== tighter page tops ===== */
body:not(.home) main { padding-top: 0 !important; }
.phero, .c-hero, .k-intro, .tintro:first-child { padding-top: clamp(112px, 9vw, 140px) !important; }
.phero { padding-bottom: clamp(32px, 4vw, 56px); }
.phero h1, .c-title, .k-intro h1 { margin-top: 2px; }
@media (min-width: 900px) {
  .k-intro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; row-gap: 20px; }
  .k-intro-grid h1 { grid-column: 1; grid-row: 1; }
  .k-intro-grid .k-quote { grid-column: 1; grid-row: 2; align-self: start; }
  .k-intro-grid .k-intro-text { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
}
.k-quote { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; color: var(--graphite); }

/* ===== testimonial quotes: Mona Sans, light ===== */
.ltr-main { position: relative; }
.ltr-q { font-family: var(--f-body); font-style: normal; font-weight: 300; font-size: clamp(1.6rem, 1.05rem + 2vw, 2.75rem); line-height: 1.14; letter-spacing: -.04em; color: var(--ink); max-width: 24ch; position: relative; }
.ltr-q::before { content: "\201C"; position: absolute; left: -.62em; top: -.08em; font-weight: 500; font-size: 1.5em; line-height: 1; color: var(--patina); letter-spacing: 0; }
@media (max-width: 899px) { .ltr-q::before { position: static; display: block; height: .55em; margin-bottom: .1em; } }
.ltr.open .ltr-q { color: var(--graphite); transition: color .5s ease; }
.thero blockquote { font-family: var(--f-body); font-style: normal; font-weight: 300; font-size: clamp(2rem, 1.1rem + 3.2vw, 4.2rem); line-height: 1.06; letter-spacing: -.045em; max-width: 20ch; }
.pquote blockquote { font-family: var(--f-body); font-style: normal; font-weight: 300; font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); line-height: 1.14; letter-spacing: -.04em; max-width: 28ch; }
.tcard-mark { font-family: var(--f-body); font-weight: 500; }
/* testimonials without photos */
.thero-plain { background: #33351F; height: auto; min-height: 0; padding-block: clamp(150px, 15vw, 220px) clamp(72px, 9vw, 130px); }
.thero-plain::after { display: none; }
.thero-plain .thero-inner { padding-bottom: 0; }
.thero-plain blockquote { text-shadow: none; }
.fcta-plain { background: var(--sand); color: var(--ink); min-height: 0; padding-block: clamp(80px, 9vw, 130px); }
.fcta-plain::after { display: none; }
.fcta-plain .fcta-inner h2 { color: var(--ink); }
.fcta-plain .fcta-inner p { color: var(--graphite); }
.fcta-plain .flink.light { color: var(--ink); }

/* ===== phone polish ===== */
@media (max-width: 760px) {
  /* bigger tap areas */
  .ftr-col a, .ftr-col > span:not(.ftr-h) { display: inline-flex; align-items: center; min-height: 40px; }
  .ftr-col { gap: 0; }
  .ftr-base a { min-height: 40px; display: inline-flex; align-items: center; }
  .flink { min-height: 40px; align-items: center; }
  .navbox .menu-meta a { min-height: 40px; display: inline-flex; align-items: center; }
  .navbox .menu-meta { gap: 0; }
  .ltr-home { min-height: 40px; display: inline-flex; align-items: center; border-bottom: 0; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
  .ltr-toggle { min-height: 44px; }
  .cinfo-card a { min-height: 40px; display: inline-flex; align-items: center; }
  .c-lines a { min-height: 40px; display: inline-flex; align-items: center; }
  /* follow us: card on top, clean 2x2 photos */
  .follow-grid { grid-template-columns: 1fr 1fr; }
  .fl-card { grid-column: 1 / -1; padding: 32px 16px; }
  .fl-img:last-child { display: block; }
  /* lockup label legible */
  .div-lock small { font-size: .66rem; }
  .menu-links a { font-size: 1.9rem !important; line-height: 1.12; }
}
@media (max-width: 560px) {
  /* how we work: one step per row, drawing under its text */
  .hw-grid { grid-template-columns: 1fr; gap: 10px; }
  .hw { aspect-ratio: auto; }
  .hw-t { min-height: 0; padding: 22px; gap: 18px; }
  .hw-t h3 { margin-bottom: 10px; }
  .hw-d { height: auto; min-height: 0; padding: 28px 24px; overflow: hidden; }
  .hw-d svg { width: 64%; max-width: 250px; height: auto; }
  .hw { order: var(--o); }
}

/* drawn arrows (never emoji) */
svg.ar { display: inline-block; width: .85em; height: .85em; vertical-align: -.08em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; flex: none; }
.tst-ctrl button svg.ar, .lb-btn svg.ar { width: 1.05em; height: 1.05em; }
.menu-cta svg.ar { width: .95em; height: .95em; }

/* sold properties */
.sold { padding-block: 0 clamp(48px, 6vw, 96px); }
.sold-head, .sold-list li { display: grid; grid-template-columns: 3.2rem minmax(0, 2.2fr) minmax(0, 1.2fr) 5rem; gap: 16px; align-items: baseline; }
.sold-head { padding: 0 0 12px 3.2rem; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.2fr) 5rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #86826E); border-bottom: 1px solid var(--line); }
.sold-list { list-style: none; margin: 0; padding: 0; }
.sold-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.sold-n { font-size: .85rem; color: var(--muted, #86826E); }
.sold-a { font-size: clamp(1.15rem, .95rem + .8vw, 1.7rem); letter-spacing: -.03em; }
.sold-h { color: var(--muted, #86826E); }
.sold-y { text-align: right; color: var(--muted, #86826E); }
@media (max-width: 760px) {
  .sold-head { display: none; }
  .sold-list li { grid-template-columns: 2.4rem 1fr auto; row-gap: 4px; }
  .sold-h { grid-column: 2; grid-row: 2; font-size: .9rem; }
  .sold-y { grid-column: 3; grid-row: 1; }
}

/* ===== Nov 12: palette, equal works tiles, team, contact ===== */
:root { --stone: #FAF7F0; --paper: #FFFDF8; --sand: #D9D4C4; --patina: #67603B; --moss: #33351F; --olive: #67603B; --greige: #D9D4C4; --bone: #FAF7F0; }
body { background: var(--bone); }
.fdark, .ftr, .k-cta, .thero-plain { background: var(--moss); }
.btn:hover { background: var(--olive); border-color: var(--olive); color: var(--bone); }
.scard-tags:empty { display: none; }

/* Selected Works: every tile the same size; the odd one out sits centered */
.works-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.wtile, .wtile:nth-child(n) { flex: 0 0 calc((100% - 32px) / 3); grid-column: auto; }
.wtile:nth-child(n) .wt-img { aspect-ratio: 4 / 3; }
.wtile:nth-child(7) .wt-big { font-size: clamp(1.8rem, 13cqw, 5rem); }
.wtile:nth-child(7) .wt-empty { background: linear-gradient(160deg, #3C3F26, #33351F); } .wtile:nth-child(7) .wt-big { color: var(--on-dark); } .wtile:nth-child(7) .wt-key img { filter: invert(1); opacity: .5; }
@media (max-width: 860px) { .wtile, .wtile:nth-child(n) { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 560px) { .wtile, .wtile:nth-child(n) { flex-basis: 100%; } }

/* Our Story: three family cards */
.k-team3 .k-team-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 56px); }
.k-team3 h2 { font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.9rem); line-height: 1; }
.tm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tm { background: var(--paper); border-radius: var(--r-lg); padding: 14px 14px 26px; display: grid; gap: 18px; align-content: start; }
.tm-sq { aspect-ratio: 1 / 1; border-radius: var(--r-md); background: var(--olive); display: grid; place-items: center; }
.tm-sq span { font-size: clamp(2.6rem, 2rem + 2vw, 4rem); font-weight: 300; color: var(--bone); letter-spacing: -.02em; }
.tm-text { display: grid; gap: 6px; padding-inline: 8px; }
.tm h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.tm-title { color: var(--olive); font-weight: 500; font-size: .95rem; }
.tm-cred { display: grid; gap: 4px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--graphite); font-size: .92rem; }
.tm-li { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; min-height: 40px; font-size: .9rem; font-weight: 500; color: var(--ink); text-decoration: none; justify-self: start; }
.tm-li svg { width: 18px; height: 18px; fill: currentColor; }
.tm-li:hover { color: var(--olive); }
@media (max-width: 860px) { .tm-grid { grid-template-columns: 1fr; max-width: 460px; } }

/* Contact: split panel + photo, form below */
.contact-page main { padding-top: 0 !important; }
.cx { padding: clamp(96px, 8vw, 116px) clamp(12px, 1.5vw, 20px) 0; }
.cx-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; min-height: min(82svh, 820px); }
.cx-panel { background: var(--olive); color: var(--bone); border-radius: var(--r-lg); display: grid; place-items: center; text-align: center; padding: clamp(48px, 6vw, 90px) 24px; }
.cx-panel-in { display: grid; gap: 22px; justify-items: center; }
.cx-panel h1 { font-size: clamp(2.8rem, 2rem + 3vw, 4.6rem); font-weight: 300; letter-spacing: -.04em; line-height: 1; color: var(--bone); }
.cx-lede { color: rgba(250, 247, 240, .82); max-width: 32ch; }
.cx-lines { font-style: normal; display: grid; gap: 12px; margin-top: 18px; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bone); }
.cx-lines a { color: var(--bone); text-decoration: none; text-underline-offset: 4px; }
.cx-lines a:hover { text-decoration: underline; }
.cx-lines > a:last-child { text-transform: none; letter-spacing: .02em; font-size: .95rem; }
.cx-lines > a[href^="mailto"] { text-decoration: underline; text-transform: uppercase; }
.cx-photo { border-radius: var(--r-lg); overflow: hidden; min-height: 420px; margin: 0; }
.cx-form-sec { padding-block: clamp(72px, 9vw, 130px); }
.cx-form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); }
.cx-form-head { display: grid; gap: 16px; align-content: start; }
.cx-form-head h2 { font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.6rem); line-height: 1; letter-spacing: -.04em; }
.cx-form-head p { color: var(--graphite); max-width: 36ch; }
.cx-form { display: grid; gap: 22px; }
.cx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cx-form .u-field > span { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.cx-form input, .cx-form textarea { width: 100%; font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 0; transition: border-color .3s; }
.cx-form textarea { resize: vertical; }
.cx-form input:focus, .cx-form textarea:focus { outline: none; border-color: var(--olive); }
.cx-submit { justify-self: start; background: var(--moss); color: var(--bone); border-color: var(--moss); padding-inline: 34px; }
.cx-done { padding: 40px 0; display: grid; gap: 10px; }
.cx-done h3 { font-size: 2rem; letter-spacing: -.03em; }
@media (max-width: 860px) {
  .cx-grid { grid-template-columns: 1fr; min-height: 0; }
  .cx-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .cx-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .cx-row { grid-template-columns: 1fr; } }
.tm { grid-template-rows: auto 1fr; }
.tm-text { display: flex; flex-direction: column; gap: 6px; }
.tm-li { margin-top: auto; padding-top: 14px; align-self: flex-start; }

/* Landing slideshow: show more of each photo (no zoom-in, hero sized close to the photo's own shape) */
.hrot { height: min(100svh, 66.6vw); min-height: 560px; max-height: none; }
.hr-slide .frame { transform: none; background-position: center 60%; }
.hr-slide.on .frame { animation: hrDrift 9s ease-out both; }
@keyframes hrDrift { from { transform: scale(1.025); } to { transform: scale(1); } }
@media (max-width: 760px) { .hrot { height: 72svh; min-height: 520px; } }
.hrot::after { background: radial-gradient(ellipse 55% 40% at 50% 50%, rgba(0,0,0,.30) 0%, rgba(0,0,0,.10) 70%, rgba(0,0,0,.18) 100%); }
.ftr-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(250,247,240,.35); transition: color .3s, text-decoration-color .3s; }
.ftr-credit a:hover { color: var(--bone); text-decoration-color: currentColor; }
.ftr-base { flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 760px) { .ftr-base { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; } .ftr-base > span { text-align: left; margin: 0; justify-self: start; } }

/* Nov 18: full names in the family squares, title leads the white section */
.tm-sq { padding: 24px; }
.tm-sq span { font-size: clamp(1.6rem, 1.1rem + 1.3vw, 2.4rem); line-height: 1.1; text-align: center; letter-spacing: -.03em; font-weight: 300; }
.tm-title { font-size: 1.12rem; color: var(--ink); letter-spacing: -.01em; }

/* Menu: numbered rows with hairlines so each tab reads as its own item */
.navbox .menu-links { counter-reset: mnu; gap: 0; }
.navbox .menu-links li { counter-increment: mnu; border-bottom: 1px solid rgba(250, 247, 240, .14); }
.navbox .menu-links li:first-child { border-top: 1px solid rgba(250, 247, 240, .14); }
.navbox .menu-links a { display: flex !important; align-items: baseline; gap: 16px; width: 100%; padding: 11px 0; font-size: clamp(1.45rem, 1.2rem + .7vw, 1.9rem) !important; line-height: 1.1; }
.navbox .menu-links a::before, .navbox .menu-links a[aria-current="page"]::before { content: counter(mnu, decimal-leading-zero); display: inline-block; width: auto; height: auto; margin: 0; border-radius: 0; background: none; font-size: .72rem; letter-spacing: .06em; color: rgba(250, 247, 240, .45); min-width: 1.6rem; transform: translateY(-.35em); font-variant-numeric: tabular-nums; }
.navbox .menu-links a::after { content: ""; margin-left: auto; align-self: center; width: 14px; height: 14px; flex: none; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8h11M9.5 4l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8h11M9.5 4l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat; }
.navbox .menu-links a:hover::after, .navbox .menu-links a:focus-visible::after, .navbox .menu-links a[aria-current="page"]::after { opacity: 1; transform: none; }
.navbox .menu-links a[aria-current="page"]::before { color: #C2BA8E; }
@media (max-width: 760px) { .navbox .menu-links a { font-size: 1.5rem !important; padding: 10px 0; } }
.navbox .menu-links a { font-size: clamp(1.35rem, 1.15rem + .45vw, 1.65rem) !important; white-space: nowrap; }
.navbox .menu-links a::before { font-family: var(--f-body); font-weight: 400; }
@media (max-width: 760px) { .navbox .menu-links a { font-size: 1.38rem !important; } }
@media (max-width: 350px) { .navbox .menu-links a { font-size: 1.2rem !important; } }
.navbox .menu-links a { font-size: clamp(1.3rem, 1.1rem + .35vw, 1.5rem) !important; }

/* Nine homes: a clean 3 x 3 grid of equal tiles */
.wtile:nth-child(7) { grid-column: auto; }
.wtile:nth-child(n) .wt-img { aspect-ratio: 4 / 3; }

/* Loader: counts up to 30+ years */
.intro-years { display: grid; gap: 14px; }
.intro-plus { font-size: .6em; vertical-align: .55em; margin-left: .04em; color: var(--olive); }
.intro-cap { font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
/* Client perspectives: names without the letter box */
.ltr-side { gap: 10px; }

/* Scroll-in animations (all pages) */
.rv { transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--rvd, 0s), transform 1s cubic-bezier(.2,.7,.2,1) var(--rvd, 0s), clip-path 1.2s cubic-bezier(.2,.7,.2,1) var(--rvd, 0s); }
.rv-pre { opacity: 0; transform: translateY(34px); }
.frame.rv-pre, .cx-photo.rv-pre, .mg.rv-pre { opacity: 1; transform: none; clip-path: inset(12% 0 0 0 round var(--r-lg, 18px)); }
.frame.rv-pre { transform: scale(1.04); }
.rv-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round var(--r-lg, 18px)); }
.mg.rv-in, .frame.rv-in, .cx-photo.rv-in { clip-path: inset(0 0 0 0 round 0); }
.intro-count { font-variant-numeric: normal; }
@media (prefers-reduced-motion: reduce) { .rv, .rv-pre { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; } }

/* ===== Home pages: editorial walkthrough ===== */
.wpage { padding-top: 0 !important; }
.whero { position: relative; height: 100svh; min-height: 620px; color: var(--bone); overflow: hidden; background: var(--moss); }
.whero-img { position: absolute; inset: 0; border-radius: 0; animation: wZoom 2.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes wZoom { from { transform: scale(1.12); filter: brightness(.7); } to { transform: none; filter: none; } }
.whero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,21,12,.35) 0%, rgba(20,21,12,0) 30%, rgba(20,21,12,0) 50%, rgba(20,21,12,.6) 100%); }
.whero-text { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(110px, 12vw, 130px) clamp(20px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.whero-top, .whero-bot { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.whero-top i { font-style: normal; opacity: .5; margin: 0 .3em; }
.whero-name { align-self: end; margin: 0 0 clamp(18px, 2vw, 28px); font-weight: 300; font-size: clamp(4rem, 1.5rem + 11vw, 13rem); line-height: .86; letter-spacing: -.055em; color: var(--bone); overflow: hidden; }
.whero-name .ch { display: inline-block; transform: translateY(105%); animation: wUp 1.1s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.35s + var(--c) * .045s); }
@keyframes wUp { to { transform: none; } }
.whero-cue { color: var(--bone); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid rgba(250,247,240,.45); border-radius: 999px; backdrop-filter: blur(6px); background: rgba(250,247,240,.08); transition: background .3s, color .3s; }
.whero-cue:hover { background: var(--bone); color: var(--ink); }
.whero-cue svg { animation: wBob 1.8s ease-in-out infinite; }
@keyframes wBob { 50% { transform: translateY(3px); } }

.wk { position: relative; padding-block: clamp(64px, 8vw, 120px) clamp(40px, 5vw, 80px); }
.wk-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; padding-bottom: 22px; margin-bottom: clamp(28px, 3vw, 44px); border-bottom: 1px solid var(--line); }
.wk-head p { color: var(--graphite); max-width: 46ch; margin: 0; }
.wk-rows { display: grid; gap: clamp(12px, 1.4vw, 20px); }
.wk-row { display: grid; gap: clamp(12px, 1.4vw, 20px); align-items: start; }
.wk-full { grid-template-columns: 1fr; }
.wk-pair { grid-template-columns: 1fr 1fr; }
.wk-offset { grid-template-columns: 1.55fr 1fr; }
.wk-offset > :last-child { margin-top: clamp(40px, 8vw, 140px); }
.wk-trio { grid-template-columns: repeat(3, 1fr); }
.wk-ph { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--sand); border-radius: var(--r-lg, 18px); overflow: hidden; cursor: zoom-in; }
.wk-ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s; }
.wk-full .wk-ph { aspect-ratio: 16 / 9; }
.wk-pair .wk-ph, .wk-offset .wk-ph { aspect-ratio: 4 / 5; }
.wk-pair .wk-ph:not(.is-p), .wk-offset .wk-ph:not(.is-p) { aspect-ratio: 4 / 3.3; }
.wk-pair:has(.is-p) .wk-ph { aspect-ratio: 4 / 5; }
.wk-trio .wk-ph { aspect-ratio: 4 / 3; }
.wk-ph:hover img { transform: scale(1.035); }
.wk-n { position: absolute; left: 14px; bottom: 12px; font-size: .74rem; letter-spacing: .08em; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); opacity: .85; }
.wk-quote { margin: clamp(40px, 6vw, 100px) auto; max-width: 900px; text-align: center; }
.wk-quote blockquote { margin: 0 0 18px; font-weight: 300; font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.7rem); line-height: 1.2; letter-spacing: -.03em; color: var(--ink); }
.wk-quote figcaption { color: var(--muted); font-size: .9rem; }
.wk-quote b { color: var(--ink); font-weight: 500; }
.wk-meter { position: fixed; left: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 999px; background: rgba(51,53,31,.86); color: var(--bone); font-size: .78rem; letter-spacing: .06em; backdrop-filter: blur(8px); opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .4s; pointer-events: none; }
.wk-meter.on { opacity: 1; transform: none; }
.wk-meter b { font-weight: 500; font-variant-numeric: tabular-nums; }
.wk-meter-bar { width: 80px; height: 2px; background: rgba(250,247,240,.25); border-radius: 2px; overflow: hidden; }
.wk-meter-bar i { display: block; height: 100%; width: 0; background: var(--bone); transition: width .4s; }

.wk-sheet { padding-block: clamp(40px, 5vw, 80px) clamp(64px, 8vw, 120px); }
.wk-sheet-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.wk-sheet-head h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); letter-spacing: -.03em; font-weight: 400; margin: 0; }
.wk-sheet-head span { color: var(--muted); font-size: .85rem; }
.wk-sheet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.wk-thumb { position: relative; padding: 0; border: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--sand); }
.wk-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s, filter .4s; filter: saturate(.85); }
.wk-thumb span { position: absolute; left: 8px; bottom: 6px; font-size: .68rem; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.wk-thumb:hover img { transform: scale(1.08); filter: none; }

.wnext { padding: 0 clamp(12px, 1.5vw, 20px); }
.wnext-link { position: relative; display: block; height: clamp(360px, 60vh, 640px); border-radius: var(--r-lg, 18px); overflow: hidden; background: var(--moss); color: var(--bone); text-decoration: none; }
.wnext-img { position: absolute; inset: 0; border-radius: 0; transition: transform 1.4s cubic-bezier(.2,.7,.2,1), filter .8s; filter: brightness(.62); }
.wnext-link:hover .wnext-img { transform: scale(1.05); filter: brightness(.75); }
.wnext-text { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 24px; }
.wnext-k { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.wnext-name { font-weight: 300; font-size: clamp(3rem, 1.5rem + 7vw, 8.5rem); line-height: .9; letter-spacing: -.05em; }
.wnext-go { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border: 1px solid rgba(250,247,240,.5); border-radius: 999px; transition: background .3s, color .3s; }
.wnext-link:hover .wnext-go { background: var(--bone); color: var(--ink); }
.wnext-all { text-align: center; padding: clamp(28px, 3vw, 44px) 0 clamp(48px, 6vw, 80px); margin: 0; }

@media (max-width: 760px) {
  .whero { height: 88svh; min-height: 540px; }
  .whero-top, .whero-bot { font-size: .7rem; }
  .whero-bot { flex-direction: column; align-items: flex-start; gap: 14px; }
  .wk-pair, .wk-offset { grid-template-columns: 1fr 1fr; gap: 10px; }
  .wk-offset > :last-child { margin-top: 40px; }
  .wk-trio { grid-template-columns: 1fr 1fr; }
  .wk-trio > :first-child { grid-column: 1 / -1; }
  .wk-full .wk-ph { aspect-ratio: 4 / 3; }
  .wk-sheet-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .wk-meter { left: 50%; transform: translate(-50%, 12px); }
  .wk-meter.on { transform: translate(-50%, 0); }
}
@media (prefers-reduced-motion: reduce) { .whero-img, .whero-name .ch, .whero-cue svg { animation: none !important; transform: none !important; } }
.rv-in { clip-path: none; }
.wk-ph.rv-pre, .wnext-link.rv-pre { opacity: 1; transform: translateY(40px); clip-path: inset(14% 0 0 0 round var(--r-lg, 18px)); }
.wk-ph.rv-in, .wnext-link.rv-in, .frame.rv-in, .mg.rv-in, .cx-photo.rv-in { clip-path: inset(0 0 0 0 round var(--r-lg, 18px)); }
.wnext-all { display: flex; justify-content: center; }

/* Client Perspectives: the home each letter is about */
.ltr-photo { position: relative; display: block; width: 100%; max-width: 260px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; margin: 6px 0 2px; background: var(--sand); }
.ltr-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.ltr-photo span { position: absolute; left: 10px; bottom: 8px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.ltr-photo:hover img { transform: scale(1.05); }
@media (max-width: 760px) { .ltr-photo { max-width: none; } }
.ltr-side { grid-template-columns: minmax(0, 1fr); gap: 12px; justify-items: start; }
.ltr-side > * { grid-column: 1 / -1; }

/* Frosted-glass sections: the whole section is a pane of frosted glass over a photo */
.glass { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg, 18px); margin-inline: clamp(12px, 1.5vw, 20px); background: transparent; }
.glass::before { content: ""; position: absolute; inset: -60px; z-index: -2; background: var(--glass) center / cover no-repeat; filter: blur(28px) saturate(1.15); transform: scale(1.08); }
.glass::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(140deg, rgba(250, 247, 240, .62), rgba(250, 247, 240, .46) 55%, rgba(250, 247, 240, .58)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 0 0 1px rgba(255, 255, 255, .35); }
.pquote.glass { padding-block: clamp(80px, 10vw, 150px); }
.ftst.glass { padding-block: clamp(72px, 8vw, 120px); }
.ftst.glass .tst-ctrl button { background: rgba(250, 247, 240, .55); backdrop-filter: blur(8px); }
.wk-quote-wrap.glass { margin: clamp(40px, 6vw, 96px) 0; padding: clamp(56px, 7vw, 110px) clamp(20px, 4vw, 64px); }
.wk-quote-wrap .wk-quote { margin: 0 auto; }
@media (max-width: 760px) { .glass::before { filter: blur(22px) saturate(1.15); } }
.glass::before { filter: blur(16px) saturate(1.2) brightness(.92); }
.glass::after { background: linear-gradient(140deg, rgba(250, 247, 240, .42), rgba(250, 247, 240, .24) 55%, rgba(250, 247, 240, .36)); backdrop-filter: blur(2px); }
.glass blockquote, .glass h2, .glass .tq blockquote { color: #22231A; }
.glass figcaption, .glass p, .glass small { color: #3A3B2C; }
.glass::before { content: none; }
.glass-bg { position: absolute; inset: -60px; z-index: -2; background: center / cover no-repeat; filter: blur(16px) saturate(1.2) brightness(.92); transform: scale(1.08); pointer-events: none; }
@media (max-width: 760px) { .glass-bg { filter: blur(14px) saturate(1.2) brightness(.92); } }
.glass .tq figcaption, .glass .tq figcaption b, .glass .tq small, .glass .tst-count, .glass .flink { color: #23241A; }
.glass .tq small { opacity: .8; }

/* ===== Nov 25: home names set large on the photo ===== */
.wt-img { position: relative; }
.wt-img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(20,21,12,.38), rgba(20,21,12,.12) 70%); transition: background .6s; pointer-events: none; border-radius: inherit; }
.wtile:hover .wt-img::after { background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(20,21,12,.5), rgba(20,21,12,.2) 70%); }
.wt-title { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 16px; text-align: center; color: #FAF7F0; font-weight: 300; font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3.4rem); line-height: 1; letter-spacing: -.04em; text-shadow: 0 2px 24px rgba(0,0,0,.35); pointer-events: none; }
.wt-meta { display: none !important; }
/* Client Reflections: neighborhood only */
.ltr-hood { font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); }
.tq figcaption small { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }

/* ===== Follow us: rolling Instagram feed ===== */
.follow { display: none; }
.ig { padding-block: clamp(64px, 8vw, 120px) clamp(48px, 6vw, 88px); overflow: hidden; }
.ig-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.ig-head h2 { margin: 10px 0 0; font-weight: 300; font-size: clamp(2rem, 1.4rem + 2.2vw, 3.6rem); letter-spacing: -.04em; line-height: 1; }
.ig-head h2 a { color: inherit; text-decoration: none; }
.ig-head h2 a:hover { color: var(--olive); }
.ig-btn { display: inline-flex; align-items: center; gap: 10px; }
.ig-btn svg { width: 18px; height: 18px; }
.ig-marquee { --gap: clamp(8px, 1vw, 14px); --tile: clamp(170px, 19vw, 280px); position: relative; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ig-track { display: flex; gap: var(--gap); width: max-content; animation: igRoll var(--dur, 70s) linear infinite; }
.ig-marquee:hover .ig-track, .ig-marquee:focus-within .ig-track { animation-play-state: paused; }
@keyframes igRoll { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
.ig-tile { position: relative; flex: none; width: var(--tile); aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--sand); display: block; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.ig-hover { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(51,53,31,.45); color: #FAF7F0; opacity: 0; transition: opacity .35s; }
.ig-hover svg { width: 30px; height: 30px; }
.ig-tile:hover img { transform: scale(1.06); }
.ig-tile:hover .ig-hover { opacity: 1; }
@media (max-width: 760px) { .ig-marquee { --tile: 150px; } .ig-head { align-items: start; } }
@media (prefers-reduced-motion: reduce) { .ig-track { animation: none; } .ig-marquee { overflow-x: auto; } }

/* Open menu: keep the glass, but deep enough that every line reads clearly */
.menu-open .navbox { background: linear-gradient(180deg, rgba(44,46,27,.78), rgba(38,40,23,.9)) !important; -webkit-backdrop-filter: blur(22px) saturate(1.1); backdrop-filter: blur(22px) saturate(1.1); }
.navbox .menu-meta { gap: 2px; }
.navbox .menu-meta a { color: #FAF7F0 !important; font-weight: 500; opacity: .95; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.navbox .menu-meta a:hover { opacity: 1; color: #C2BA8E !important; }

/* ===== Way home: breadcrumb on every inner page, logo hover ===== */
main { position: relative; }
.crumb { position: absolute; z-index: 5; top: clamp(92px, 8vw, 104px); left: 0; right: 0; width: min(var(--max, 1240px), calc(100% - 2 * var(--gut, 24px))); margin-inline: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #8a887f); }
.crumb a { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; color: var(--ink); text-decoration: none; transition: color .25s; }
.crumb a:hover { color: var(--olive); }
.crumb svg { width: 13px; height: 13px; fill: currentColor; }
.crumb i { font-style: normal; opacity: .45; }
.crumb [aria-current] { color: var(--muted, #8a887f); }
.crumb-light, .crumb-light [aria-current] { color: rgba(250,247,240,.72); }
.crumb-light a { color: #FAF7F0; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.crumb-light a:hover { color: #C2BA8E; }
.wpage .crumb { top: clamp(100px, 9vw, 112px); padding-inline: clamp(20px, 4vw, 56px); width: 100%; }
.navbox-logo { transition: opacity .25s; }
.navbox-logo:hover { opacity: .7; }
@media (max-width: 760px) { .crumb { font-size: .7rem; top: 88px; } .wpage .crumb { top: 96px; } }
.crumb { width: auto; max-width: var(--wrap); padding-left: var(--gutter); padding-right: var(--gutter-r); box-sizing: border-box; }
@media (min-width: 720px) { .crumb { padding-left: 40px; padding-right: 40px; } }
.wpage .crumb { max-width: none; padding-inline: clamp(20px, 4vw, 56px); }
.crumb-in { position: static; width: auto; max-width: none; padding: 0; margin: 0; }
.crumb-span { grid-column: 1 / -1; margin-bottom: 6px; }
.whero-top .crumb-in { font-size: .8rem; letter-spacing: .1em; }
.cx-panel { position: relative; }
.crumb-panel { top: 18px; left: 24px; right: auto; max-width: none; padding: 0; width: auto; }
@media (min-width: 900px) {
  .k-intro-grid { grid-template-rows: auto auto 1fr; }
  .k-intro-grid .crumb-span { grid-row: 1; }
  .k-intro-grid h1 { grid-row: 2; }
  .k-intro-grid .k-quote { grid-row: 3; }
  .k-intro-grid .k-intro-text { grid-row: 2 / span 2; }
}
.whero-top .crumb-in { flex-wrap: nowrap; white-space: nowrap; min-width: 0; }
@media (max-width: 760px) { .whero-top > span:last-child { display: none; } .whero-top .crumb-in { gap: 7px; font-size: .68rem; } }
.whero-top > span:last-child { white-space: nowrap; }

/* ===== Landing entrance: the photo opens like a pair of doors (first arrival only) ===== */
.hr-rule { display: block; width: clamp(60px, 8vw, 110px); height: 1px; background: rgba(255,255,255,.7); margin-top: calc(clamp(18px, 2.4vw, 30px) * -.4); }
.hero-enter .hr-slides { animation: doorOpen 1.7s cubic-bezier(.77,0,.18,1) .15s both; }
.hero-enter .hr-slide.on .frame { animation: doorSettle 2.6s cubic-bezier(.2,.7,.2,1) .15s both, hrZoom 8s linear 2.75s both; }
.hero-enter .hrot::after { animation: fadeIn 1.2s ease .6s both; }
.hero-enter .hr-inner { transition: none; }
.hero-enter .hr-logo { animation: riseMask 1.2s cubic-bezier(.2,.8,.2,1) 1.05s both; }
.hero-enter .hr-rule { animation: drawRule 1s cubic-bezier(.65,0,.35,1) 1.65s both; transform-origin: center; }
.hero-enter .hr-quote { animation: fadeUp 1s cubic-bezier(.2,.8,.2,1) 1.9s both; }
.hero-enter .hr-cta { animation: fadeUp 1s cubic-bezier(.2,.8,.2,1) 2.15s both; }
.hero-enter .hr-dots { animation: fadeIn .8s ease 2.4s both; }
.hero-enter .navbox { animation: navDrop .9s cubic-bezier(.2,.8,.2,1) 1.9s both; }
@keyframes doorOpen { 0% { clip-path: inset(0 50% 0 50%); } 18% { clip-path: inset(0 49.2% 0 49.2%); } 100% { clip-path: inset(0 0 0 0); } }
@keyframes doorSettle { from { transform: scale(1.18); filter: brightness(.75); } to { transform: scale(1.08); filter: none; } }
@keyframes riseMask { from { clip-path: inset(100% 0 0 0); transform: translateY(18px); opacity: .2; } to { clip-path: inset(0 0 0 0); transform: none; opacity: 1; } }
@keyframes drawRule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes navDrop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-enter * { animation: none !important; } }
/* No decorative lines on the landing logo or quote */
.hr-quote::before, .hr-quote::after, .hr-rule { display: none !important; }
/* Client Reflections: no intro note, no letter numbers */
.tintro-grid { grid-template-columns: 1fr !important; }
@media (min-width: 900px) { .ltr { grid-template-columns: minmax(0, 1fr) 260px; } }
