/* Malik Estate Agents v2. Quiet, photo-led, two typefaces from the Indian Type Foundry (Zodiak + General Sans).
   One ink, one paper, one stone grey, the MEA red used only for the mark and focus. No borders, no tags, no numbering. */
@font-face { font-family: "Zodiak"; src: url("fonts/zodiak-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("fonts/zodiak-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/general-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #16130f;
  --paper: #f2eee7;
  --paper2: #e8e2d8;
  --stone: #6c645a;
  --ash: #a69d92;
  --red: #c8402f;
  --serif: "Zodiak", "Iowan Old Style", "Times New Roman", serif;
  --sans: "General Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --g: clamp(20px, 4.2vw, 72px);
  --max: 1680px;
  --hdr: 76px;
  --sec: clamp(96px, 14vw, 220px);
  --ease: cubic-bezier(.2, .75, .15, 1);
  --ease-io: cubic-bezier(.7, 0, .25, 1);
  --enter: .15s;
  --mark: url("img/mark.svg");
}
html.ld { --enter: 2.35s; }
html.pt-in { --enter: .55s; }
@media (max-width: 899px) { :root { --hdr: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em, i { font-style: normal; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--g); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--paper); padding: 12px 18px; }
.skip:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* type */
.d1, .d2, .d3 { font-family: var(--serif); font-weight: 300; letter-spacing: 0; }
.d1 { font-size: clamp(2.9rem, 6.4vw, 7.4rem); line-height: 1.02; }
.d2 { font-size: clamp(2.3rem, 4.6vw, 4.9rem); line-height: 1.06; }
.d3 { font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1.16; }
.lede { font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.6; color: var(--stone); max-width: 40rem; }
.cap { font-size: .875rem; line-height: 1.5; color: var(--stone); }
.on-ink .lede, .on-ink .cap, .on-ink .steps p, .on-ink .years p, .on-ink .prom p { color: var(--ash); }

/* links and buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 28px; background: var(--ink); color: var(--paper); font-weight: 500; font-size: 1rem; border-radius: 999px; transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .5s var(--ease); }
.btn:hover svg.arr { transform: translateX(4px); }
.btn:hover { background: #2c2620; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-soft { background: var(--paper2); color: var(--ink); }
.btn-soft:hover { background: #ddd6ca; }
.on-ink .btn-soft { background: #2a251f; color: var(--paper); }
.on-ink .btn-soft:hover { background: #38322a; }
.lnk { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 3px; transition: background-size .6s var(--ease); }
.lnk:hover { background-size: 100% 1px; }
.lnk svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.lnk:hover svg { transform: translateX(4px); }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ------------------------------------------------------------------ header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr); background: transparent; transition: background-color .5s var(--ease), transform .6s var(--ease); }
.hdr.solid { background: var(--paper); }
.hdr.hide { transform: translateY(-100%); }
.hdr-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; }
.brand svg { height: 30px; width: auto; flex: none; }
.brand span { font-weight: 500; font-size: 15px; line-height: 1.15; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
.nav > a:not(.btn) { position: relative; font-size: 15px; font-weight: 500; padding: 10px 0; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav > a:not(.btn):hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.hdr-m { display: none; align-items: center; gap: 4px; }
.ibtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.ibtn svg { width: 22px; height: 22px; }
.burger { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px 0 12px; font-weight: 500; font-size: 15px; }
.burger i { position: relative; width: 22px; height: 10px; display: block; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger i::before { top: 0; } .burger i::after { top: 8.5px; }
@media (max-width: 1099px) { .nav { display: none; } .hdr-m { display: flex; } }
@media (max-width: 420px) { .brand span { display: none; } }

/* full-screen menu */
.menu { position: fixed; inset: 0; z-index: 150; background: var(--ink); color: var(--paper); display: grid; grid-template-rows: var(--hdr) 1fr auto; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io), visibility 0s .8s; }
.menu.open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .8s var(--ease-io), visibility 0s; }
.menu-top { display: flex; align-items: center; justify-content: space-between; }
.menu-top .burger i::before { top: 4.25px; transform: rotate(45deg); } .menu-top .burger i::after { top: 4.25px; transform: rotate(-45deg); }
.menu nav { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding-top: 8px; padding-bottom: 8px; }
.menu nav a { display: block; overflow: hidden; font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 8.5vw, 4.6rem); line-height: 1.12; }
.menu nav a span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); }
.menu.open nav a span { transform: none; transition-delay: calc(.18s + var(--i) * .05s); }
.menu nav a[aria-current="page"] span { color: var(--ash); }
.menu-ft { display: grid; gap: 18px; padding-bottom: max(28px, env(safe-area-inset-bottom)); opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.menu.open .menu-ft { opacity: 1; transform: none; transition-delay: .5s; }
.menu-ft p { color: var(--ash); font-size: .95rem; }

/* ------------------------------------------------------------------ loader + page transition */
#ld { display: none; }
html.ld #ld { display: grid; position: fixed; inset: 0; z-index: 400; background: var(--ink); color: var(--paper); place-items: center; pointer-events: none;
  animation: gable 1.15s var(--ease-io) 1.95s both; }
html.ld body { overflow: hidden; animation: unlock 0s 2.6s forwards; }
@keyframes unlock { to { overflow: visible; overflow-x: clip; } }
@keyframes gable {
  from { clip-path: polygon(0 0, 100% 0, 100% calc(100% + 22vh), 50% 100%, 0 calc(100% + 22vh)); }
  to { clip-path: polygon(0 0, 100% 0, 100% 0, 50% -22vh, 0 0); }
}
.ld-in { display: grid; justify-items: center; gap: 26px; animation: ldUp 1s var(--ease-io) 1.9s both; }
@keyframes ldUp { to { transform: translateY(-14vh); opacity: 0; } }
.ld-in svg { width: min(58vw, 340px); height: auto; overflow: visible; }
.ld-in .p-roofL { animation: roofL 1s var(--ease) .15s both; }
.ld-in .p-roofR { animation: roofR 1s var(--ease) .15s both; }
.ld-in .p-chim { transform-box: fill-box; transform-origin: 50% 100%; animation: chim .7s var(--ease) .85s both; }
.ld-in .p-let { animation: letUp .9s var(--ease) both; animation-delay: calc(.95s + var(--i) * .08s); }
@keyframes roofL { from { transform: translate(-90px, 40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes roofR { from { transform: translate(90px, 40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes chim { from { transform: scaleY(0); } to { transform: none; } }
@keyframes letUp { from { transform: translateY(115px); } to { transform: none; } }
.ld-word { display: grid; justify-items: center; gap: 6px; text-align: center; }
.ld-word b { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.1; animation: fadeUp .9s var(--ease) 1.2s both; }
.ld-word span { color: var(--ash); font-size: .9rem; animation: fadeUp .9s var(--ease) 1.32s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* arriving from another page: ink with the roof, lifted away by the same gable */
html.pt-in body::before { content: ""; position: fixed; inset: 0; z-index: 400; pointer-events: none; background: var(--ink) var(--mark) center / min(30vw, 150px) auto no-repeat; animation: gable 1s var(--ease-io) .12s both; }
/* leaving: the gable comes down */
.pt { position: fixed; inset: 0; z-index: 400; background: var(--ink) var(--mark) center / min(30vw, 150px) auto no-repeat; pointer-events: none; clip-path: polygon(0 calc(100% + 22vh), 50% 100%, 100% calc(100% + 22vh), 100% 100%, 0 100%); }
.pt.go { animation: gableIn .62s var(--ease-io) both; }
@keyframes gableIn { to { clip-path: polygon(0 0, 50% -22vh, 100% 0, 100% 100%, 0 100%); } }

/* entrances */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; }
html.js .enter .w > span { transform: translateY(108%); animation: wUp 1.2s var(--ease) both; animation-delay: calc(var(--enter) + var(--i) * .06s); }
@keyframes wUp { to { transform: none; } }
html.js .fade-in { opacity: 0; animation: fadeUp 1.1s var(--ease) both; animation-delay: calc(var(--enter) + .35s + var(--d, 0s)); }
html.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
html.js .rv.in { opacity: 1; transform: none; }
html.js .rvi { clip-path: inset(14% 0 0 0); transition: clip-path 1.5s var(--ease); transition-delay: var(--d, 0s); }
html.js .rvi img { transform: scale(1.14); transition: transform 2s var(--ease); transition-delay: var(--d, 0s); }
html.js .rvi.in { clip-path: inset(0 0 0 0); }
html.js .rvi.in img { transform: none; }

/* ------------------------------------------------------------------ home: hero */
.hero { position: relative; min-height: 100svh; padding-top: var(--hdr); display: grid; grid-template-columns: minmax(0, 1fr) 46vw; }
.hero-tx { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(28px, 5vh, 64px) var(--g) clamp(28px, 5vh, 56px); max-width: calc(var(--max) * .56); }
.hero-tx .cap { color: var(--stone); }
.hero h1 { margin-top: 18px; }
.hero-low { display: grid; gap: 28px; }
.hero-img { position: relative; overflow: hidden; background: var(--paper2); }
.hero-img .sl { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease-io); }
.hero-img .sl.on { opacity: 1; }
.hero-img .sl img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 7.5s linear; }
.hero-img .sl.on img { transform: scale(1); }
html.js .hero-img { clip-path: inset(0 0 0 100%); animation: heroIn 1.6s var(--ease-io) both; animation-delay: calc(var(--enter) - .25s); }
@keyframes heroIn { to { clip-path: inset(0 0 0 0); } }
.hero-cap { display: flex; align-items: baseline; gap: 14px; min-height: 1.5em; font-size: .9rem; color: var(--stone); }
.hero-cap a { color: var(--ink); font-weight: 500; transition: opacity .5s var(--ease); }
.hero-cap a.swap { opacity: 0; }

/* the sentence search */
.ask { display: grid; gap: 22px; }
.ask-s { font-family: var(--serif); font-weight: 300; font-size: clamp(1.35rem, 2vw, 1.9rem); line-height: 1.5; color: var(--stone); }
.sel { position: relative; display: inline-block; color: var(--ink); }
.sel select { appearance: none; -webkit-appearance: none; border: 0; background: linear-gradient(var(--ink), var(--ink)) 0 calc(100% - 2px) / 100% 1px no-repeat; color: var(--ink); font: inherit; padding: 0 1.05em 2px 0; cursor: pointer; border-radius: 0; max-width: 100%; }
.sel::after { content: ""; position: absolute; right: .15em; top: 50%; width: .32em; height: .32em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-75%) rotate(45deg); pointer-events: none; }
.sel select:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto; min-height: 0; }
  .hero-img { order: -1; height: 62svh; min-height: 380px; margin: 0 var(--g); border-radius: 2px; }
  html.js .hero-img { clip-path: inset(0 0 100% 0); }
  .hero-tx { padding-top: 32px; gap: 36px; }
  .hero h1 { font-size: clamp(2.6rem, 11.5vw, 4.4rem); }
  .ask-s { font-size: 1.3rem; }
}

/* ------------------------------------------------------------------ home sections */
.sec { padding: var(--sec) 0; }
.sec-t { padding-top: 0; }
.on-ink { background: var(--ink); color: var(--paper); }
.head { display: grid; gap: 22px; margin-bottom: clamp(48px, 7vw, 104px); }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; }

.intro { padding: clamp(110px, 15vw, 230px) 0 var(--sec); }
.statement { font-family: var(--serif); font-weight: 300; font-size: clamp(1.75rem, 3.5vw, 3.6rem); line-height: 1.2; max-width: 24ch; }
.statement span { color: var(--stone); }
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--g); margin-top: clamp(64px, 9vw, 140px); }
.figs b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 7vw, 7.2rem); line-height: 1; }
.figs span { display: block; margin-top: 14px; color: var(--stone); max-width: 18ch; }
@media (max-width: 599px) { .figs { grid-template-columns: 1fr 1fr; } .figs > :last-child { grid-column: 1 / -1; } }

/* featured */
.feat { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(56px, 7vw, 120px) var(--g); }
.fc { display: grid; gap: 22px; align-content: start; }
.fc .im { overflow: hidden; background: var(--paper2); }
.fc .im img { width: 100%; height: 100%; object-fit: cover; }
.fc:hover .im img, .fc:focus-visible .im img { transform: scale(1.035); transition: transform 1.6s var(--ease); }
.fc .tx { display: grid; gap: 6px; }
.fc h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 1.9vw, 1.9rem); line-height: 1.2; }
.fc p { color: var(--stone); }
.fc-a { grid-column: 1 / span 7; } .fc-a .im { aspect-ratio: 4 / 3; }
.fc-b { grid-column: 9 / span 4; margin-top: clamp(80px, 14vw, 240px); } .fc-b .im { aspect-ratio: 3 / 4; }
.fc-c { grid-column: 2 / span 4; } .fc-c .im { aspect-ratio: 4 / 5; }
.fc-d { grid-column: 7 / span 6; margin-top: clamp(40px, 8vw, 140px); } .fc-d .im { aspect-ratio: 16 / 11; }
@media (max-width: 899px) {
  .feat { grid-template-columns: 1fr 1fr; gap: 56px 16px; }
  .fc-a, .fc-d { grid-column: 1 / -1; margin-top: 0; }
  .fc-b, .fc-c { grid-column: auto; margin-top: 0; }
  .fc-b { margin-top: 64px; }
  .fc-b .im, .fc-c .im { aspect-ratio: 3 / 4; }
  .fc-b h3, .fc-c h3 { font-size: 1.2rem; }
  .fc-b p, .fc-c p { font-size: .9rem; }
}

/* full-bleed band */
.band { position: relative; height: min(92svh, 64vw); min-height: 420px; overflow: hidden; }
.band img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.band-tx { position: absolute; inset: auto 0 0; padding-bottom: clamp(32px, 5vw, 72px); color: #fff; }
.band-tx::before { content: ""; position: absolute; inset: -140% 0 0; background: linear-gradient(to top, rgba(10, 8, 6, .62), rgba(10, 8, 6, 0)); z-index: -1; }
.band-tx .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.band-tx .d2 { max-width: 15ch; }
.band-tx p { max-width: 30rem; color: #ece6dd; }

/* colonies */
.cols-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--g); align-items: start; }
.cols-wrap .head { position: sticky; top: calc(var(--hdr) + 32px); align-content: start; }
.colx { columns: 2; column-gap: var(--g); }
.colx li { break-inside: avoid; }
.colx a { display: inline-flex; align-items: baseline; gap: 10px; padding: 4px 0; font-family: var(--serif); font-weight: 300; font-size: clamp(1.45rem, 2.3vw, 2.35rem); line-height: 1.22; transition: color .4s var(--ease); }
.colx a sup { font-family: var(--sans); font-size: .8rem; color: var(--stone); top: -.9em; position: relative; vertical-align: baseline; }
.colx:hover a { color: var(--ash); }
.colx a:hover, .colx a:focus-visible { color: var(--ink); }
.peek { position: fixed; left: 0; top: 0; z-index: 90; width: 260px; aspect-ratio: 4 / 5; pointer-events: none; overflow: hidden; opacity: 0; transform: translate3d(-999px, 0, 0) scale(.9); transition: opacity .35s var(--ease); background: var(--paper2); }
.peek.on { opacity: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .cols-wrap { grid-template-columns: 1fr; } .cols-wrap .head { position: static; } .colx { columns: 2; column-gap: 20px; } .colx a { display: inline-block; font-size: 1.16rem; line-height: 1.3; padding: 5px 0; } .colx a sup { top: -.6em; margin-left: 4px; } }
@media (hover: none) { .peek { display: none; } }

/* project */
.proj { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--g); align-items: end; }
.proj .im { overflow: hidden; }
.proj .im img { width: 100%; }
.proj-tx { display: grid; gap: 26px; padding-bottom: 6px; }
.price-big { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 4vw, 3.8rem); line-height: 1; }
.price-big small { display: block; font-family: var(--sans); font-size: .9rem; color: var(--ash); margin-top: 10px; }
@media (max-width: 899px) { .proj { grid-template-columns: 1fr; } }

/* farm pair */
.pair { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--g); align-items: start; }
.pair .im { overflow: hidden; }
.pair .im img { width: 100%; height: 100%; object-fit: cover; }
.pair .i1 { aspect-ratio: 4 / 5; }
.pair .i2 { aspect-ratio: 4 / 3; margin-top: clamp(60px, 10vw, 180px); }
.pair-tx { grid-column: 2; display: grid; gap: 24px; max-width: 36rem; margin-top: 40px; }
@media (max-width: 899px) { .pair { grid-template-columns: 1fr 1fr; gap: 16px; } .pair .i2 { margin-top: 64px; aspect-ratio: 3 / 4; } .pair-tx { grid-column: 1 / -1; } }

/* collaboration */
.collab { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--g); align-items: start; }
.collab-im { position: sticky; top: calc(var(--hdr) + 24px); overflow: hidden; aspect-ratio: 3 / 4; max-height: calc(100svh - var(--hdr) - 48px); }
.collab-im img { width: 100%; height: 100%; object-fit: cover; }
.steps { display: grid; gap: clamp(48px, 6vw, 96px); padding-top: 8px; }
.steps li { display: grid; gap: 12px; max-width: 32rem; }
.steps h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.15; }
.steps p { color: var(--stone); }
@media (max-width: 899px) { .collab { grid-template-columns: 1fr; } .collab-im { position: relative; top: 0; aspect-ratio: 4 / 3; max-height: none; } }

/* legacy */
.years { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--g); }
.years b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 4.6vw, 4.6rem); line-height: 1; margin-bottom: 22px; }
.years p { color: var(--stone); max-width: 30rem; }
@media (max-width: 899px) { .years { grid-template-columns: 1fr; } }
.quote { margin-top: var(--sec); display: grid; gap: 34px; max-width: 64rem; }
.quote blockquote { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3vw, 3rem); line-height: 1.25; text-indent: -.42em; }
.quote figcaption { display: grid; gap: 2px; }
.quote figcaption span { color: var(--stone); font-size: .95rem; }

/* promises */
.prom { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px var(--g); }
.prom h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.1vw, 2rem); line-height: 1.2; margin-bottom: 14px; }
.prom p { color: var(--stone); }
@media (max-width: 899px) { .prom { grid-template-columns: 1fr; } }

/* visit */
.visit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px var(--g); align-items: end; }
.visit .big { display: block; white-space: nowrap; font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 5.4vw, 6.4rem); line-height: 1.02; transition: color .5s var(--ease); }
.visit a.big:hover { color: var(--ash); }
.visit-side { display: grid; gap: 28px; }
.visit-side address { font-style: normal; color: var(--ash); line-height: 1.7; }
.visit-side .row .btn { flex: 1 1 auto; }
@media (max-width: 899px) { .visit { grid-template-columns: 1fr; } }

/* footer: a sign-off. The roof assembles again and the name rises when it scrolls into view */
.ftr { background: var(--ink); color: var(--paper); padding: clamp(96px, 12vw, 180px) 0 calc(32px + env(safe-area-inset-bottom)); overflow: hidden; }
main:has(> .on-ink:last-child) + .ftr { padding-top: clamp(40px, 6vw, 96px); }
.ftr-sign { display: grid; justify-items: start; }
.ftr-sign svg { width: clamp(120px, 14vw, 210px); height: auto; overflow: visible; margin-bottom: clamp(18px, 2vw, 30px); }
.ftr-name { font-family: var(--serif); font-weight: 300; font-size: clamp(3.1rem, 8.9vw, 12rem); line-height: 1; white-space: nowrap; }
.ftr-since { margin-top: clamp(22px, 2.4vw, 36px); color: var(--ash); max-width: 34rem; }
html.js .ftr-sign .w > span { transform: translateY(108%); transition: transform 1.3s var(--ease); transition-delay: calc(.35s + var(--i) * .09s); }
html.js .ftr-sign.in .w > span { transform: none; }
html.js .ftr-sign:not(.in) svg path, html.js .ftr-sign:not(.in) .ftr-since { opacity: 0; }
.ftr-since { transition: opacity 1.2s var(--ease) .9s; }
.ftr-sign.in .p-roofL { animation: roofL 1s var(--ease) both; }
.ftr-sign.in .p-roofR { animation: roofR 1s var(--ease) both; }
.ftr-sign.in .p-chim { transform-box: fill-box; transform-origin: 50% 100%; animation: chim .7s var(--ease) .6s both; }
.ftr-sign.in .p-let { animation: letUp .9s var(--ease) both; animation-delay: calc(.7s + var(--i) * .08s); }
.ftr-sign svg:hover .p-chim { animation: puff .9s var(--ease); }
@keyframes puff { 40% { transform: scaleY(1.25); } }
.ftr-meta { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: clamp(56px, 7vw, 110px); color: var(--ash); font-size: .95rem; }
.ftr-meta a { color: var(--paper); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.ftr-meta a:hover { background-size: 100% 1px; }
.ftr-clock span { color: var(--paper); font-variant-numeric: tabular-nums; }
.ftr-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 28px; color: var(--ash); font-size: .82rem; }
@media (max-width: 899px) { .ftr-name { white-space: normal; font-size: clamp(3rem, 15vw, 6rem); line-height: 1.02; } .ftr-meta { flex-direction: column; gap: 10px; } }

/* ------------------------------------------------------------------ inner pages */
.phead { padding: calc(var(--hdr) + clamp(56px, 9vw, 140px)) 0 clamp(40px, 5vw, 72px); }
.phead .d1 { max-width: 14ch; }
.phead .lede { margin-top: 26px; }

/* filters */
.fbar { position: sticky; top: 0; z-index: 60; background: var(--paper); transition: top .6s var(--ease); }
body.hdr-on .fbar { top: var(--hdr); }
.fbar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; padding-top: 18px; padding-bottom: 18px; }
.kinds { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.kinds button { position: relative; padding: 8px 0; font-weight: 500; color: var(--stone); transition: color .4s var(--ease); }
.kinds button sup { font-size: .72rem; margin-left: 3px; font-weight: 400; }
.kinds button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.kinds button[aria-pressed="true"] { color: var(--ink); }
.kinds button[aria-pressed="true"]::after { transform: none; }
.kinds button:hover { color: var(--ink); }
.fsel { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-left: auto; font-size: .95rem; }
.fsel .sel select { background-size: 0 1px; padding-bottom: 0; font-weight: 500; transition: background-size .5s var(--ease); }
.fsel .sel:hover select { background-size: 100% 1px; }
.fsel .sel { color: var(--ink); }
.fsel label > span { color: var(--stone); margin-right: 6px; }
.srch { display: inline-flex; align-items: center; gap: 8px; background: var(--paper2); border-radius: 999px; padding: 0 16px; min-height: 44px; }
.srch svg { width: 17px; height: 17px; color: var(--stone); flex: none; }
.srch input { border: 0; background: transparent; outline: 0; width: 13rem; min-height: 44px; font-size: .95rem; }
.srch input::placeholder { color: var(--stone); }
.srch:focus-within { outline: 2px solid var(--red); outline-offset: 2px; }
.fmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-bottom: 18px; color: var(--stone); font-size: .95rem; }
.fmeta b { color: var(--ink); font-weight: 500; }
.fmeta button { font-weight: 500; color: var(--ink); }
.tog { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; min-height: 44px; }
.tog input { appearance: none; -webkit-appearance: none; width: 36px; height: 22px; border-radius: 99px; background: var(--paper2); position: relative; margin: 0; cursor: pointer; transition: background .4s var(--ease); }
.tog input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .5s var(--ease); }
.tog input:checked { background: var(--ink); }
.tog input:checked::after { transform: translateX(14px); }
@media (max-width: 899px) {
  .fbar-in { gap: 12px 20px; }
  .kinds { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 2 * var(--g)); margin: 0 calc(-1 * var(--g)); padding: 0 var(--g); scrollbar-width: none; gap: 22px; }
  .kinds::-webkit-scrollbar { display: none; }
  .kinds button { white-space: nowrap; }
  .fsel { margin-left: 0; gap: 8px 22px; }
  .srch { width: 100%; } .srch input { width: 100%; }
}

/* photo cards */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(48px, 5vw, 80px) clamp(16px, 2vw, 32px); }
@media (max-width: 1099px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .grid { grid-template-columns: 1fr; gap: 44px; } }
.pc { position: relative; display: grid; gap: 18px; align-content: start; }
.pc[hidden] { display: none; }
.pc .pm { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper2); }
.pc .pm img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pc:hover .pm img { transform: scale(1.04); }
.pc .tx { display: grid; gap: 5px; }
.pc h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 1.5vw, 1.5rem); line-height: 1.22; }
.pc h3 button { text-align: left; }
.pc .meta { color: var(--stone); font-size: .95rem; }
.pc .pr { font-weight: 500; margin-top: 4px; }
.pc .why { font-size: .9rem; color: var(--stone); margin-top: 6px; }
.pc .why b { font-weight: 500; color: var(--ink); }
.pm.np { display: grid; place-content: center; text-align: center; gap: 6px; }
.pm.np b { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; }
.pm.np span { color: var(--stone); font-size: .9rem; }
.save { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); transition: transform .5s var(--ease), background .4s var(--ease); }
.save svg { width: 19px; height: 19px; fill: none; stroke: var(--ink); stroke-width: 1.6; transition: fill .3s var(--ease), stroke .3s var(--ease); }
.save:hover { transform: scale(1.06); }
.save[aria-pressed="true"] { background: var(--ink); }
.save[aria-pressed="true"] svg { fill: var(--paper); stroke: var(--paper); }
.save.pop { animation: pop .5s var(--ease); }
@keyframes pop { 40% { transform: scale(1.18); } }

/* the board: listings without photos */
.board-h { display: grid; gap: 14px; margin: clamp(96px, 12vw, 180px) 0 clamp(28px, 3vw, 48px); }
.board { display: grid; }
.br { position: relative; }
.br[hidden] { display: none; }
.br > button.go { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 5fr); gap: 20px; align-items: baseline; width: 100%; text-align: left; padding: 18px 64px 18px 16px; margin: 0 -16px; width: calc(100% + 32px); border-radius: 4px; transition: background .35s var(--ease); }
.br > button.go:hover { background: var(--paper2); }
.br .c { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.25; }
.br .k, .br .n { color: var(--stone); }
.br .s { font-weight: 500; }
.br .save { top: 50%; right: -8px; transform: translateY(-50%); background: transparent; }
.br .save:hover { transform: translateY(-50%) scale(1.06); }
.br .save[aria-pressed="true"] { background: var(--ink); }
@media (max-width: 899px) {
  .br > button.go { grid-template-columns: 1fr auto; gap: 4px 16px; padding-right: 60px; }
  .br .c { grid-column: 1; } .br .s { grid-column: 2; grid-row: 1; }
  .br .k { grid-column: 1 / -1; font-size: .92rem; } .br .n { grid-column: 1 / -1; font-size: .92rem; }
}
.empty { padding: 40px 0; color: var(--stone); max-width: 36rem; }
.empty a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.snap { margin-top: clamp(80px, 9vw, 140px); color: var(--stone); font-size: .875rem; max-width: 46rem; }

/* finder */
.fnd { display: grid; grid-template-columns: minmax(300px, 4fr) minmax(0, 8fr); gap: var(--g); align-items: start; }
.brief { position: sticky; top: calc(var(--hdr) + 16px); max-height: calc(100svh - var(--hdr) - 32px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; display: grid; gap: 40px; padding: 4px 4px 32px 0; }
.brief fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.brief legend { padding: 0; margin-bottom: 14px; font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
.opts { display: flex; flex-wrap: wrap; gap: 2px 22px; }
.opt { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; color: var(--stone); transition: color .3s var(--ease); }
.opt input { appearance: none; -webkit-appearance: none; width: 14px; height: 14px; margin: 0; border-radius: 50%; background: var(--paper2); box-shadow: inset 0 0 0 1px #cfc6b8; flex: none; cursor: pointer; transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.opt input:checked { background: var(--ink); box-shadow: inset 0 0 0 3px var(--paper), 0 0 0 1px var(--ink); }
.opt input:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.opt:hover, .opt:has(input:checked) { color: var(--ink); }
.opt sup { font-size: .72rem; color: var(--stone); margin-left: -4px; }
.opts.more .opt:nth-child(n+11) { display: none; }
.brief .lnk { margin-top: 6px; color: var(--ink); }
.res-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px 28px; margin-bottom: clamp(32px, 4vw, 56px); }
.res-h h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1.05; }
.res-h p { color: var(--stone); margin-top: 8px; }
.fnd .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.morebtn { margin-top: 56px; }
.jump { display: none; }
@media (max-width: 899px) {
  .fnd { grid-template-columns: 1fr; }
  .brief { position: static; max-height: none; overflow: visible; }
  .fnd .grid { grid-template-columns: 1fr; }
  .jump { display: flex; position: sticky; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 40; justify-content: flex-start; padding: 0 var(--g); pointer-events: none; }
  .jump .btn { pointer-events: auto; box-shadow: 0 10px 30px -10px rgba(22, 19, 15, .5); }
}

/* tray */
.tray { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 80; display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 24px; background: var(--ink); color: var(--paper); border-radius: 999px; transform: translate(-50%, 0); transition: transform .7s var(--ease), opacity .5s var(--ease); box-shadow: 0 14px 40px -14px rgba(22, 19, 15, .55); }
.tray[hidden] { display: flex; transform: translate(-50%, 160%); opacity: 0; pointer-events: none; }
.tray .btn { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.tray span { font-size: .95rem; white-space: nowrap; }
@media (max-width: 899px) { body[data-page="find"] .tray { bottom: 84px; } }

/* dialogs */
dialog.sheet { width: min(1240px, calc(100vw - 2 * var(--g))); max-height: calc(100svh - 48px); padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow: hidden; border-radius: 4px; }
dialog.sheet::backdrop { background: rgba(22, 19, 15, .72); }
dialog.sheet[open] { animation: dlgIn .7s var(--ease) both; }
dialog.sheet[open]::backdrop { animation: bdIn .5s var(--ease) both; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes bdIn { from { opacity: 0; } }
.sheet-in { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); max-height: calc(100svh - 48px); }
.sheet .media { background: var(--ink); display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
.sheet .media .main { min-height: 0; display: grid; }
.sheet .media .main img { width: 100%; height: 100%; max-height: calc(100svh - 150px); object-fit: contain; transition: opacity .4s var(--ease); }
.sheet .thumbs { display: flex; gap: 8px; padding: 10px; }
.sheet .thumbs button { width: 72px; height: 54px; overflow: hidden; opacity: .5; transition: opacity .3s var(--ease); }
.sheet .thumbs button[aria-current="true"], .sheet .thumbs button:hover { opacity: 1; }
.sheet .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sheet .big-plot { display: grid; place-content: center; text-align: center; gap: 8px; min-height: 340px; color: var(--paper); }
.sheet .big-plot b { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 6vw, 5.4rem); line-height: 1; }
.sheet .big-plot span { color: var(--ash); }
.sheet .info { overflow: auto; padding: clamp(28px, 3.4vw, 52px); display: grid; gap: 22px; align-content: start; }
.sheet .info .k { color: var(--stone); }
.sheet .info h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 2.8vw, 2.8rem); line-height: 1.1; padding-right: 40px; }
.sheet .info .meta { font-weight: 500; }
.sheet .info .pr { font-family: var(--serif); font-size: 1.6rem; }
.sheet .notes li { padding: 6px 0 6px 20px; position: relative; color: var(--stone); }
.sheet .notes li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 1px; background: var(--ink); }
.sheet .src { color: var(--stone); font-size: .85rem; }
.sheet .x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); transition: transform .5s var(--ease); }
.sheet .x:hover { transform: rotate(90deg); }
.sheet .x svg { width: 20px; height: 20px; }
.sheet.list { width: min(640px, calc(100vw - 2 * var(--g))); }
.sheet.list .sheet-in { grid-template-columns: 1fr; }
.sl li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; }
.sl button { color: var(--stone); font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.msg { white-space: pre-wrap; background: var(--paper2); padding: 18px 20px; font-size: .92rem; line-height: 1.55; border-radius: 4px; }
.fld { display: grid; gap: 8px; }
.fld span { color: var(--stone); font-size: .9rem; }
.fld input { background: var(--paper2); border: 0; border-radius: 4px; min-height: 48px; padding: 0 16px; }
@media (max-width: 899px) {
  dialog.sheet { width: 100vw; max-width: 100vw; height: 100svh; max-height: 100svh; border-radius: 0; margin: 0; }
  dialog.sheet[open] { animation: dlgUp .7s var(--ease) both; }
  @keyframes dlgUp { from { transform: translateY(100%); } to { transform: none; } }
  .sheet-in { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: start; height: 100svh; max-height: 100svh; overflow: auto; overscroll-behavior: contain; }
  .sheet .info { overflow: visible; }
  .sheet .media { grid-template-rows: auto auto; }
  .sheet .media, .sheet .media .main { min-height: auto; }
  .sheet .media .main img { height: auto; max-height: 56svh; }
  .sheet .big-plot { min-height: 34svh; }
  .sheet.list { width: 100vw; }
}

/* the trailer pages share the shell */
main.hx-wrap { padding-top: calc(var(--hdr) + clamp(64px, 10vw, 140px)) !important; max-width: var(--max) !important; padding-left: var(--g) !important; padding-right: var(--g) !important; min-height: 72vh !important; }
main.hx-wrap h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 5.4vw, 5.6rem) !important; line-height: 1.06 !important; max-width: 16ch !important; }
main.hx-wrap p { color: var(--stone); }
main.hx-wrap .hx-links a { border: 0 !important; border-radius: 999px; background: var(--paper2); min-height: 52px !important; padding: 0 24px !important; font-weight: 500; transition: background .4s var(--ease); }
main.hx-wrap .hx-links a:first-child { background: var(--ink); color: var(--paper); }
main.hx-wrap .hx-links a:hover { background: #ddd6ca; }
main.hx-wrap .hx-links a:first-child:hover { background: #2c2620; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.js .rv, html.js .fade-in { opacity: 1; transform: none; }
  html.js .rvi { clip-path: none; } html.js .rvi img { transform: none; }
  .hero-img .sl img { transform: none !important; }
}

/* ------------------------------------------------------------------ MEA red: their brand, used with intent
   The red of the MEA roof carries every main action and the big moments (menu, page change, the visit block, key
   figures, active states). Ivory and ink stay the ground; red is always solid, never a tint. */
:root { --brand: #c8402f; --brand-deep: #a3301f; --mark: url("img/mark-white.svg"); }
::selection { background: var(--brand); color: #fff; }
.btn { background: var(--brand); color: #fff; }
.btn:hover { background: var(--brand-deep); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: #f7e7e4; }
.btn-soft { background: var(--paper2); color: var(--ink); }
.btn-soft:hover { background: #ddd6ca; color: var(--brand); }
.on-ink .btn-soft { background: #2a251f; color: var(--paper); }
.nav > a:not(.btn)::after, .kinds button::after { background: var(--brand); }
.nav > a[aria-current="page"], .kinds button[aria-pressed="true"] { color: var(--brand-deep); }
.lnk { color: var(--brand); }
.figs b, .price-big, .pc .pr, .sheet .info .pr { color: var(--brand); }
.on-ink .years b, .years b { color: var(--brand); }
.colx a:hover, .colx a:focus-visible { color: var(--brand); }
.fc:hover h3, .pc:hover h3 { color: var(--brand); transition: color .4s var(--ease); }
.opt input:checked { background: var(--brand); box-shadow: inset 0 0 0 3px var(--paper), 0 0 0 1px var(--brand); }
.tog input:checked { background: var(--brand); }
.save[aria-pressed="true"] { background: var(--brand); }
.tray { background: var(--brand); }
.tray .btn-light { color: var(--brand); }
.hero-cap a { color: var(--brand); }
.sel select { background-image: linear-gradient(var(--brand), var(--brand)); }
.sel::after { color: var(--brand); }
.menu { background: var(--brand); }
.menu nav a[aria-current="page"] span { color: #ffd2cb; }
.menu-ft p { color: #fff; }
.menu .btn-soft { background: var(--brand-deep); color: #fff; }
.menu .btn-light { color: var(--brand); }
.menu .brand svg path { fill: #fff; }
.pt, html.pt-in body::before { background-color: var(--brand); }
.on-red { background: var(--brand); }
.on-red .cap, .on-red .visit-side address { color: #fff; }
.on-red .visit a.big:hover { color: #ffe0db; }
.on-red .btn-soft { background: var(--brand-deep); color: #fff; }
.on-red .lnk { color: #fff; }
main:has(> .on-red:last-child) + .ftr { padding-top: clamp(96px, 12vw, 180px); }

/* ------------------------------------------------------------------ right-sized type and a complete first screen */
h1, h2, .statement { text-wrap: balance; }
.d1 { font-size: clamp(2.4rem, min(5vw, 7.4svh), 5.6rem); line-height: 1.04; }
.d2 { font-size: clamp(1.9rem, min(3.4vw, 5.6svh), 3.5rem); line-height: 1.08; }
.statement { font-size: clamp(1.5rem, 2.5vw, 2.7rem); line-height: 1.28; }
.figs b { font-size: clamp(2rem, 3.2vw, 3.4rem); }
.years b { font-size: clamp(2rem, 2.8vw, 3rem); }
.colx a { font-size: clamp(1.35rem, 2vw, 2rem); }
.visit .big { font-size: clamp(2rem, 4.8vw, 5.2rem); }
.ftr-name { font-size: clamp(3rem, 7.4vw, 8.6rem); }
.menu nav a { font-size: clamp(1.8rem, 5vw, 3.2rem); line-height: 1.18; }
.quote blockquote { font-size: clamp(1.4rem, 2.4vw, 2.4rem); }
.price-big { font-size: clamp(2rem, 3vw, 3rem); }
.sheet .info h2 { font-size: clamp(1.7rem, 2.3vw, 2.3rem); }
.res-h h2 { font-size: clamp(1.7rem, 2.6vw, 2.6rem); }
@media (min-width: 900px) {
  .hero { height: 100svh; min-height: 560px; max-height: 1100px; }
  .hero-tx { justify-content: center; gap: clamp(22px, 3.6svh, 40px); padding-top: clamp(16px, 4svh, 64px); padding-bottom: clamp(20px, 5svh, 56px); }
  .hero h1 { margin-top: clamp(8px, 1.4svh, 16px); max-width: 15ch; font-size: clamp(2.5rem, min(5.2vw, 7.6svh), 5.8rem); line-height: 1.04; }
  .hero-low { gap: clamp(18px, 3svh, 28px); }
  .ask-s { font-size: clamp(1.15rem, min(1.7vw, 3svh), 1.7rem); }
  .phead { padding-top: calc(var(--hdr) + clamp(32px, min(8vw, 9svh), 130px)); padding-bottom: clamp(24px, 5svh, 72px); }
}
@media (max-width: 899px) {
  .hero h1 { font-size: clamp(2.3rem, 10vw, 3.4rem); }
  .hero-img { height: 46svh; min-height: 300px; }
  .ftr-name { font-size: clamp(2.6rem, 13vw, 4.4rem); }
}

/* ------------------------------------------------------------------ readable secondary text
   Body copy, captions and sub-lines were a light stone grey that faded into the ivory. They now use a deeper warm
   grey (about 8:1 on ivory) at regular weight; light weights are kept for big display text only. */
:root { --stone: #4d463e; --ash: #cfc7bc; }
.lede, .cap, .figs span, .fc p, .pc .meta, .steps p, .years p, .prom p, .quote figcaption span, .snap, .empty,
.board .k, .board .n, .br .k, .br .n, .res-h p, .fmeta, .hero-cap, .ask-s { color: var(--stone); }
.ask-s { font-weight: 400; }
.figs span, .fc p, .pc .meta { font-weight: 400; font-size: 1rem; }
.on-ink .lede, .on-ink .cap, .on-ink .steps p, .on-ink .years p, .on-ink .prom p, .ftr-since, .ftr-meta { color: var(--ash); }

/* placeholder pages: the main button is the brand red like everywhere else; the HEXP card sits close to its full stop */
main.hx-wrap .hx-links a:first-child { background: var(--brand); color: #fff; }
main.hx-wrap .hx-links a:first-child:hover { background: var(--brand-deep); }
main.hx-wrap .hx-card { margin-right: 0; }

/* ------------------------------------------------------------------ very small phones (Galaxy Fold folded 280px, iPhone SE 320px)
   Root-cause fixes shared by every page: a header that fits, numbers and model names that may wrap, buttons that
   stack. */
h1, h2, h3, .big, .fc h3, .pc h3, .pcard-t, .res-b h4 { overflow-wrap: anywhere; }
@media (max-width: 359px) {
  :root { --g: 16px; }
  .burger { font-size: 0; gap: 0; padding: 0; width: 44px; justify-content: center; }
  .burger i { margin: 0; }
  .brand svg { height: 22px; }
  .hdr-m { gap: 0; }
  .hdr-m .lang { padding: 10px 4px; font-size: 13px; }
  .visit .big, .contact-big .big { white-space: normal; font-size: clamp(1.7rem, 10vw, 2.2rem); }
  .figs b { white-space: normal; }
  .row .btn, .cta .btn, .hx-links a { width: 100%; justify-content: center; }
  .btn { padding: 0 20px; }
  .ask-s { font-size: 1.12rem; }
  .sel select { max-width: calc(100vw - 2 * var(--g) - 1.2em); }
}
@media (max-width: 299px) { .brand svg { height: 18px; } .hdr-m .lang { display: none; } }

/* ------------------------------------------------------------------ root causes found by the device sweep */
/* grid and flex children may shrink below their content, otherwise one long line widens the whole page */
.hero > *, .hero-t, .hero-tx, .stage, .hero-img, .ghead-in > *, .pdet > *, .fnd > *, .cols-wrap > *, .idx-wrap > *, .contact-big > *, .visit > * { min-width: 0; }
/* the menu word hides wherever the logo plus icons would crowd the header */
@media (max-width: 419px) {
  .burger { font-size: 0; gap: 0; padding: 0; width: 44px; justify-content: center; }
  .burger i { margin: 0; }
  .menu-top .burger { font-size: 15px; width: auto; padding: 0 4px 0 10px; gap: 10px; }
}
@media (max-width: 359px) { .menu-top .burger { font-size: 0; width: 44px; padding: 0; } }
.thumbs { max-width: 100%; }
@media (max-width: 359px) { .thumb { width: 64px; height: 64px; } }
/* phones held sideways: photo and text side by side, so the headline is on the first screen */
@media (orientation: landscape) and (max-height: 500px) and (max-width: 1000px) {
  .hero, .ghead-in { grid-template-columns: minmax(0, 1fr) minmax(0, 40vw); grid-template-rows: auto; min-height: 0; height: auto; }
  .hero { padding-top: var(--hdr); }
  .hero-img, .stage { order: 0; height: calc(100svh - var(--hdr) - 16px); min-height: 220px; margin: 0 var(--g) 0 0; }
  .stage .sl { inset: 8px 0 32px 0; }
  .ghead-i { order: 0; }
  .ghead-i img { aspect-ratio: auto; height: calc(100svh - var(--hdr) - 24px); }
  .hero-tx, .hero-t { padding-top: 12px; padding-bottom: 16px; gap: 14px; justify-content: center; }
  .hero h1, .ghead h1 { font-size: clamp(1.5rem, 8.4svh, 2.4rem); line-height: 1.06; margin-top: 4px; }
  .hero .cap, .hero-cap { display: none; }
  .ask-s, .hero-low .lead, .ghead .lead { font-size: .95rem; line-height: 1.45; margin: 8px 0 12px; }
  .btn { min-height: 44px; }
  .jump, .tray { bottom: 8px; }
}
/* long unbroken strings (email addresses, model specs) may break anywhere instead of widening the page */
address, dd, .kv dd, .lnk, .ftr-meta a, .keyf li b, .contact-side a, .visit-side a, .lead, .ask-s { overflow-wrap: anywhere; }
.lnk { display: inline; }
@media (max-width: 479px) { .kv { grid-template-columns: 1fr; gap: 4px 0; } .kv dd { margin-bottom: 12px; } }
@media (max-width: 359px) { .keyf { grid-template-columns: 1fr; } }
@media (max-width: 899px) and (max-height: 600px) and (orientation: portrait) { .stage, .hero-img { height: 36svh; min-height: 180px; } }
.hero, .hero > * { max-width: 100vw; }
/* a long button label wraps onto two lines on the narrowest phones instead of pushing the page wider */
@media (max-width: 399px) { .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; } }
@media (max-width: 359px) { .colx { columns: 1; } }
.colx a { overflow-wrap: anywhere; max-width: 100%; }

/* ---------- the five further pages: about, services, collaboration, updates, contact ---------- */
.story { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--g); align-items: start; }
.story-im { overflow: hidden; aspect-ratio: 4 / 5; position: sticky; top: calc(var(--hdr) + 24px); }
.story-im img { width: 100%; height: 100%; object-fit: cover; }
.story-tx { display: grid; gap: 26px; align-content: start; max-width: 36rem; }
.prose p { font-size: clamp(1.05rem, 1.2vw, 1.16rem); line-height: 1.7; }
.prose p:first-child { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.35; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--g); }
.duo .cap { margin-bottom: 14px; }
.vandana { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--g); align-items: center; }
.vandana img { width: 100%; max-width: 360px; height: auto; }
.vandana > div { display: grid; gap: 20px; }
.svc { display: grid; border-top: 1px solid var(--line, rgba(22, 19, 15, .14)); }
.svc li { display: grid; grid-template-columns: 4.5rem minmax(0, 5fr) minmax(0, 7fr); gap: 10px var(--g); padding: clamp(28px, 3.4vw, 48px) 0; border-bottom: 1px solid var(--line, rgba(22, 19, 15, .14)); align-items: baseline; }
.svc .no { font-size: .875rem; color: var(--stone); font-variant-numeric: tabular-nums; }
.svc h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 3.4vw, 3.4rem); line-height: 1.05; }
.svc p { color: var(--stone); max-width: 34rem; }
.svc .lnk { grid-column: 3; justify-self: start; }
.on-ink .svc, .on-ink .svc li { border-color: rgba(242, 238, 231, .16); }
.deals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--g); counter-reset: d; }
.deals li { padding: 20px 0 20px 2.6rem; border-top: 1px solid var(--line, rgba(22, 19, 15, .14)); position: relative; line-height: 1.5; counter-increment: d; }
.deals li::before { content: counter(d, decimal-leading-zero); position: absolute; left: 0; top: 22px; font-size: .8rem; color: var(--stone); font-variant-numeric: tabular-nums; }
.quad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 80px) var(--g); }
.quad h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.1vw, 2rem); line-height: 1.2; margin-bottom: 14px; }
.quad p { color: var(--ash); max-width: 30rem; }
.ups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4vw, 64px) var(--g); }
.up { display: grid; gap: 18px; align-content: start; }
.up .im { overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper2, #e8e2d8); }
.up .im img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.up:hover .im img { transform: scale(1.04); }
.up .tx { display: grid; gap: 6px; }
.up h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.2; }
.up .tx p:not(.cap) { color: var(--stone); }
.up .pr { color: var(--ink) !important; }
.posts { border-top: 1px solid var(--line, rgba(22, 19, 15, .14)); }
.posts a { display: grid; grid-template-columns: 13rem minmax(0, 1fr) auto; gap: 8px var(--g); align-items: baseline; padding: clamp(22px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--line, rgba(22, 19, 15, .14)); }
.posts .t { font-family: var(--serif); font-weight: 300; font-size: clamp(1.3rem, 2vw, 1.9rem); line-height: 1.2; transition: color .4s var(--ease); }
.posts a:hover .t { color: var(--red); }
.posts .arr { width: 22px; height: 22px; }
.cgrid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(56px, 6vw, 96px) var(--g); align-items: start; }
.cinfo { display: grid; gap: clamp(32px, 3.4vw, 48px); }
.cinfo .cap { margin-bottom: 8px; }
.cinfo .big { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; white-space: nowrap; }
.cinfo address { font-style: normal; line-height: 1.6; margin-bottom: 10px; }
.cform { display: grid; gap: 18px; padding: clamp(24px, 3.4vw, 48px); background: #fbf9f5; border: 1px solid var(--line, rgba(22, 19, 15, .1)); }
.cform .lede { margin-top: -6px; }
.cform .fld { display: grid; gap: 8px; }
.cform .fld span { font-size: .875rem; color: var(--stone); }
.cform input, .cform select, .cform textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid rgba(22, 19, 15, .16); border-radius: 0; padding: 13px 14px; min-height: 48px; }
.cform input:focus-visible, .cform select:focus-visible, .cform textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }
.cform .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 899px) {
  .story, .vandana, .cgrid, .duo { grid-template-columns: 1fr; }
  .story-im { position: relative; top: 0; aspect-ratio: 4 / 3; }
  .svc li { grid-template-columns: 3rem minmax(0, 1fr); }
  .svc p, .svc .lnk { grid-column: 2; }
  .ups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts a { grid-template-columns: minmax(0, 1fr) auto; }
  .posts .cap { grid-column: 1 / -1; }
}
@media (max-width: 599px) { .deals, .quad, .ups { grid-template-columns: 1fr; } .cinfo .big { white-space: normal; } }

/* ================================================================== v3: the UX rework (client notes, 2026-11-05)
   Search and credibility in the hero, data before photos, a light drifting sky in a few sections, the colonies as a
   moving wall, why-us with public ratings, collaboration as a five-step drawing, a short visual history, every web
   review in a slider. Text one step darker everywhere. */
:root { --stone: #39332c; --ash: #e0d9cf; --card: #fffdf9; }
.sec, .hero, .phead-s { position: relative; isolation: isolate; }
canvas.sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; opacity: 0; transition: opacity 1.6s var(--ease); pointer-events: none; }
canvas.sky.on { opacity: 1; }
.btn-sm { min-height: 46px; padding: 0 20px; font-size: .95rem; }
.lnk-w { color: #fff; }
.on-ink .lnk-w { color: var(--paper); }

/* ---------- hero: headline, the search, three proofs; their listings beside it */
.hero { grid-template-columns: minmax(0, 1fr) 44vw; }
.hero-tx { max-width: 760px; z-index: 1; }
.hero h1 { max-width: 13ch; }
.qs { position: relative; display: grid; gap: 14px; z-index: 5; }
.qs-box { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 999px; padding: 6px 6px 6px 22px; min-height: 64px; box-shadow: 0 22px 50px -28px rgba(70, 28, 16, .42); transition: box-shadow .5s var(--ease); }
.qs-box:focus-within { box-shadow: 0 0 0 2px var(--brand), 0 22px 50px -28px rgba(70, 28, 16, .42); }
.qs-box > svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.qs-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 1.05rem; min-height: 50px; color: var(--ink); }
.qs-box input::placeholder { color: #6b6258; }
.qs-box input::-webkit-search-cancel-button { display: none; }
.qs-box .btn { min-height: 52px; padding: 0 24px; }
.qs-try { color: var(--stone); font-size: .98rem; line-height: 1.7; }
.qs-try button, .qs-try a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: color .3s var(--ease); }
.qs-try button:hover, .qs-try a:hover { color: var(--brand); }
.qs-pop { position: absolute; left: 0; right: 0; top: 74px; background: var(--card); border-radius: 22px; padding: 10px; box-shadow: 0 30px 70px -30px rgba(40, 20, 12, .5); max-height: min(62svh, 520px); overflow: auto; overscroll-behavior: contain; animation: popIn .4s var(--ease) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(-8px); } }
.qs-u { padding: 8px 12px 10px; color: var(--stone); font-size: .95rem; }
.qs-u b { color: var(--ink); font-weight: 500; }
.qs-r { display: flex; align-items: center; gap: 14px; padding: 8px 12px 8px 8px; border-radius: 14px; transition: background .25s var(--ease); }
.qs-r:hover, .qs-r.on { background: var(--paper); }
.qs-im { flex: none; width: 64px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--paper2); display: grid; place-items: center; }
.qs-im img { width: 100%; height: 100%; object-fit: cover; }
.qs-im.np b { font-family: var(--serif); font-weight: 400; font-size: 1.05rem; color: var(--brand); }
.qs-t { display: grid; min-width: 0; }
.qs-t b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qs-t span { color: var(--stone); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qs-all { display: flex; align-items: center; gap: 10px; margin: 6px 4px 2px; padding: 14px 16px; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 500; justify-content: space-between; }
.qs-all svg { width: 18px; height: 18px; }
.qs-all:hover { background: var(--brand-deep); }
.qs-none { padding: 4px 12px 12px; color: var(--stone); }
.qs-none a { color: var(--brand); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px clamp(16px, 2.4vw, 36px); }
.proof a { display: grid; gap: 4px; align-content: start; }
.proof b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, min(2.4vw, 4.2svh), 2.5rem); line-height: 1; color: var(--brand); }
.proof b i, .rate b i { font-style: normal; font-size: .5em; vertical-align: .55em; margin-left: .12em; }
.proof span { color: var(--stone); font-size: .92rem; line-height: 1.4; }
.proof a:hover span { color: var(--ink); }
@media (min-width: 900px) {
  .hero-tx { justify-content: center; gap: clamp(18px, 3.2svh, 36px); }
  .hero h1 { font-size: clamp(2.4rem, min(4.8vw, 7.2svh), 5.4rem); }
}
@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; }
  .hero-img { order: 1; height: 42svh; min-height: 260px; margin: 8px var(--g) 0; border-radius: 6px; }
  .hero-tx { padding-top: calc(16px + 2svh); gap: 22px; }
  .qs-box { padding-left: 16px; min-height: 58px; }
  .qs-box .btn { padding: 0 18px; min-height: 48px; }
  .qs-pop { top: 66px; }
  .proof { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .proof span { font-size: .84rem; }
}
@media (max-width: 479px) {
  .qs-box .btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .qs-box .btn { width: 48px; padding: 0; }
  .qs-box .btn svg { width: 20px; height: 20px; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof a:last-child { grid-column: 1 / -1; }
}

/* ---------- data-first cards: colony, the facts, then the photo */
.grid { gap: clamp(16px, 1.8vw, 24px); align-items: start; }
.pc { background: var(--card); border-radius: 8px; padding: clamp(16px, 1.4vw, 20px); gap: 14px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.pc:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(60, 30, 18, .45); }
.pc-hd { display: grid; gap: 2px; padding-right: 50px; }
.pc-c { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 1.6vw, 1.55rem); line-height: 1.15; color: var(--ink); }
.pc h3, .deal h3 { font-family: var(--sans); font-weight: 500; font-size: 1rem; line-height: 1.35; color: var(--stone); }
.pc h3 button { text-align: left; }
.pc:hover h3 { color: var(--brand); }
.pc-d { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 0; padding: 14px 16px; background: var(--paper); border-radius: 6px; }
.pc-d div { min-width: 0; }
.pc-d dt { font-size: .8rem; color: var(--stone); }
.pc-d dd { margin: 0; font-weight: 500; font-size: 1rem; color: var(--ink); overflow-wrap: anywhere; }
.pc .pm { border-radius: 6px; }
.pc-n { display: grid; gap: 4px; }
.pc-n li { position: relative; padding-left: 16px; color: var(--stone); font-size: .95rem; line-height: 1.45; }
.pc-n li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.pc .save { top: 12px; right: 12px; background: var(--paper); }
.pc .why { margin-top: 0; }
.pc.np .pc-d { background: var(--paper); }

/* ---------- hot deals: the red band, a drifting sky, cards that put the facts first */
.deals-sec { padding: clamp(72px, 9vw, 140px) 0; color: #fff; }
.deals-sec .lede { color: #fff; margin-top: 12px; }
.deals-sec .head { margin-bottom: clamp(28px, 3.4vw, 52px); }
.rail-ctl { display: flex; align-items: center; gap: 10px; }
.rail-n { min-width: 4.6em; font-size: .95rem; font-variant-numeric: tabular-nums; }
.deals-sec .rail-n { color: #fff; }
.rbtn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); transition: transform .5s var(--ease), background .3s var(--ease); }
.rbtn svg { width: 20px; height: 20px; }
.rbtn:first-of-type svg { transform: rotate(180deg); }
.rbtn:hover { transform: scale(1.06); }
.rail { display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  padding: 4px max(var(--g), calc((100vw - var(--max)) / 2 + var(--g))) 12px; scroll-padding-left: max(var(--g), calc((100vw - var(--max)) / 2 + var(--g))); cursor: grab; }
.rail::-webkit-scrollbar, .rtrack::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rail:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.deal { flex: none; width: min(920px, 80vw); scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); background: var(--card); color: var(--ink); border-radius: 10px; overflow: hidden; min-height: clamp(380px, 32vw, 460px); }
.deal-tx { display: grid; gap: 16px; align-content: start; padding: clamp(22px, 2.6vw, 40px); }
.deal .pc-c { font-size: clamp(1.6rem, 2.2vw, 2.2rem); }
.deal h3 a:hover { color: var(--brand); }
.deal .pc-d { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.deal .row { margin-top: 4px; gap: 18px; }
.deal-im { display: block; overflow: hidden; background: var(--paper2); }
.deal-im img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.deal:hover .deal-im img { transform: scale(1.04); }
.deals-sec .lnk-w { margin-top: clamp(24px, 3vw, 44px); }
@media (max-width: 899px) {
  .deal { width: 84vw; grid-template-columns: 1fr; min-height: 0; }
  .deal-im { aspect-ratio: 4 / 3; }
  .rail-ctl .rbtn { width: 46px; height: 46px; }
}

/* ---------- 33 colonies: a slow moving wall, photo where we have one, the count where we don't */
.cols-sec { overflow: hidden; }
.phone { display: inline-flex; align-items: center; gap: 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.8vw, 2.8rem); line-height: 1; color: var(--brand); white-space: nowrap; transition: color .3s var(--ease); }
.phone svg { width: .8em; height: .8em; }
.phone:hover { color: var(--brand-deep); }
.mq { overflow: hidden; }
.mq + .mq { margin-top: clamp(14px, 1.6vw, 22px); }
.mq-t { display: flex; width: max-content; animation: mq var(--dur, 70s) linear infinite; }
.mq-t.rev { animation-direction: reverse; }
.mq:hover .mq-t, .mq:focus-within .mq-t { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq li { padding-right: clamp(12px, 1.4vw, 20px); }
.mq a { display: grid; gap: 4px; width: clamp(150px, 15vw, 220px); }
.ct-im { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--paper2); margin-bottom: 8px; }
.ct-im img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mq a:hover .ct-im img { transform: scale(1.06); }
.ct-im.np { background: var(--card); }
.ct-im.np b { font-family: var(--serif); font-weight: 300; font-size: clamp(3.4rem, 5vw, 5rem); line-height: 1; color: var(--brand); transition: transform .8s var(--ease); }
.mq a:hover .ct-im.np b { transform: scale(1.1); }
.ct-n { font-family: var(--serif); font-weight: 400; font-size: clamp(1.05rem, 1.25vw, 1.25rem); line-height: 1.2; overflow-wrap: anywhere; }
.mq a:hover .ct-n { color: var(--brand); }
.ct-c { color: var(--stone); font-size: .88rem; }

/* ---------- why Malik */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 96px) var(--g); align-items: start; }
.why-l { position: sticky; top: calc(var(--hdr) + 32px); display: grid; gap: 24px; justify-items: start; }
.rates { display: flex; flex-wrap: wrap; gap: 18px clamp(28px, 3vw, 48px); }
.rate { display: grid; gap: 4px; }
.rate b { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 4vw, 4rem); line-height: 1; color: var(--brand); }
.rate span { color: var(--stone); font-size: .92rem; }
.rate:hover span { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.why-r { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.why-r li { background: var(--card); border-radius: 8px; padding: clamp(22px, 2.4vw, 34px); display: grid; gap: 10px; align-content: start; transition: transform .6s var(--ease); }
.why-r li:first-child { grid-column: 1 / -1; background: var(--brand); color: #fff; }
.why-r li:first-child p { color: #fff; }
.why-r h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.15; }
.why-r li:first-child h3 { font-size: clamp(2rem, 3.4vw, 3.4rem); font-weight: 300; }
.why-r p { color: var(--stone); }
.why-r li:hover { transform: translateY(-3px); }
@media (max-width: 899px) { .why { grid-template-columns: 1fr; } .why-l { position: static; } }
@media (max-width: 599px) { .why-r { grid-template-columns: 1fr; } }

/* ---------- collaboration, step by step: the drawing follows the step */
.cbx { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 5vw, 96px) var(--g); align-items: center; }
.cbx-l { display: grid; gap: 26px; justify-items: start; }
.perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; width: 100%; }
.perks li { display: grid; gap: 4px; }
.perks b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 1.6vw, 1.55rem); line-height: 1.2; color: #fff; }
.perks span { color: var(--ash); font-size: .95rem; }
.cbx-r { background: #221d18; border-radius: 12px; padding: clamp(20px, 2.6vw, 40px); display: grid; gap: 20px; }
.cb-draw { display: grid; place-items: center; }
.cb { width: 100%; max-width: 460px; height: auto; overflow: visible; }
.cb-old rect, .cb-old polygon { fill: #6f665c; transition: opacity .8s var(--ease), transform .9s var(--ease); }
.cb-old .cb-door { fill: #221d18; }
.cb-old { transform-box: fill-box; transform-origin: 50% 100%; }
.cb-gr { fill: #4a433b; }
.cb-r { fill: transparent; stroke: #8d847a; stroke-width: 2; stroke-dasharray: 7 7; transition: fill .7s var(--ease), stroke .5s var(--ease), stroke-dasharray .5s; }
.cb-f.own .cb-r { stroke: var(--brand); }
.cb-w { fill: transparent; stroke: transparent; stroke-width: 1.5; transition: fill .6s var(--ease), stroke .5s var(--ease); }
.cb-l { fill: var(--ash); font: 500 13px var(--sans); opacity: 0; transition: opacity .5s var(--ease); }
.cb-f { opacity: .16; transform: translateY(14px); transition: opacity .6s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i) * .1s); }
.cb-roof { fill: var(--brand); opacity: 0; transform: translateY(-34px); transition: opacity .6s var(--ease), transform 1s var(--ease); }
.cbx-r[data-s="1"] .cb-f, .cbx-r[data-s="2"] .cb-f, .cbx-r[data-s="3"] .cb-f, .cbx-r[data-s="4"] .cb-f { opacity: 1; transform: none; }
.cbx-r:not([data-s="0"]) .cb-l { opacity: 1; }
.cbx-r[data-s="2"] .cb-r, .cbx-r[data-s="3"] .cb-r, .cbx-r[data-s="4"] .cb-r { stroke-dasharray: none; }
.cbx-r[data-s="2"] .cb-w { stroke: #8d847a; }
.cbx-r[data-s="2"] .cb-old { opacity: .35; }
.cbx-r[data-s="3"] .cb-old, .cbx-r[data-s="4"] .cb-old { opacity: 0; transform: scaleY(.2); }
.cbx-r[data-s="3"] .cb-r { fill: #e8e2d8; stroke: #e8e2d8; transition-delay: calc(var(--i) * .25s); }
.cbx-r[data-s="3"] .cb-w, .cbx-r[data-s="4"] .cb-w { fill: #221d18; }
.cbx-r[data-s="4"] .cb-r { fill: #e8e2d8; stroke: #e8e2d8; }
.cbx-r[data-s="4"] .own .cb-r { fill: var(--brand); stroke: var(--brand); }
.cbx-r[data-s="4"] .cb-w { fill: #ffd8a3; }
.cbx-r[data-s="4"] .cb-roof { opacity: 1; transform: none; }
.cb-tabs { display: flex; gap: 4px 22px; overflow-x: auto; scrollbar-width: none; }
.cb-tabs::-webkit-scrollbar { display: none; }
.cb-tabs button { position: relative; flex: none; padding: 10px 0; font-weight: 500; color: #b8afa4; transition: color .3s var(--ease); }
.cb-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.cb-tabs button[aria-selected="true"] { color: #fff; }
.cb-tabs button[aria-selected="true"]::after { transform: none; }
.cb-tabs button:hover { color: #fff; }
.cb-p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.3rem, 1.9vw, 1.8rem); line-height: 1.3; color: #fff; min-height: 2.7em; }
@media (max-width: 899px) { .cbx { grid-template-columns: 1fr; } .cbx-r { order: -1; } }
@media (max-width: 419px) { .perks { grid-template-columns: 1fr; } }

/* ---------- father to son: the roof grows into the full mark */
.grow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--g); align-items: start; }
.grow li { display: grid; gap: 14px; align-content: end; }
.ym-w { display: flex; align-items: flex-end; height: clamp(90px, 11vw, 170px); margin-bottom: 10px; }
.ym { height: auto; overflow: visible; }
.ym-w.s0 .ym { width: 34%; } .ym-w.s1 .ym { width: 62%; } .ym-w.s2 .ym { width: 100%; max-width: 320px; }
.grow b { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 4.4vw, 4.4rem); line-height: 1; color: var(--brand); }
.grow p { color: var(--stone); max-width: 26ch; font-size: 1.05rem; }
html.js .grow li:not(.in) .ym path { opacity: 0; }
.grow li.in .p-roofL { animation: roofL 1.1s var(--ease) .2s both; }
.grow li.in .p-roofR { animation: roofR 1.1s var(--ease) .2s both; }
.grow li.in .p-chim { transform-box: fill-box; transform-origin: 50% 100%; animation: chim .7s var(--ease) .9s both; }
.grow li.in .ym path:not(.p-roofL):not(.p-roofR):not(.p-chim) { animation: fadeUp .9s var(--ease) 1.1s both; }
@media (max-width: 699px) {
  .grow { grid-template-columns: 1fr; gap: 36px; }
  .grow li { grid-template-columns: 110px minmax(0, 1fr); column-gap: 20px; align-items: end; }
  .ym-w { grid-row: span 2; height: 70px; margin: 0; }
  .ym-w .ym { width: 100% !important; }
  .ym-w.s0 { width: 50%; } .ym-w.s1 { width: 75%; }
}

/* ---------- every review from the web, one at a time */
.revs-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 5vw, 96px) var(--g); align-items: start; }
.revs-l { display: grid; gap: 28px; }
.revs-r { min-width: 0; display: grid; gap: 20px; }
.rtrack { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; border-radius: 10px; }
.rtrack.drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rvw { flex: 0 0 100%; scroll-snap-align: start; display: grid; gap: 26px; align-content: start; background: var(--card); border-radius: 10px; padding: clamp(26px, 3.4vw, 56px); min-height: clamp(260px, 24vw, 340px); }
.rvw blockquote { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 2.8vw, 2.7rem); line-height: 1.22; text-indent: -.4em; text-wrap: pretty; }
.rvw.long blockquote { font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.45; }
.rvw figcaption { display: grid; gap: 2px; }
.rvw figcaption b { font-weight: 500; }
.rvw figcaption span { color: var(--stone); font-size: .92rem; }
.revs .rbtn { background: var(--brand); color: #fff; }
.revs .rbtn:hover { background: var(--brand-deep); }
@media (max-width: 899px) { .revs-in { grid-template-columns: 1fr; } }

/* ---------- the close */
.cta { color: #fff; }
.cta .wrap { display: grid; gap: 26px; justify-items: start; }
.cta .d2 { max-width: 16ch; }
.cta .lede { color: #fff; }
.cta .btn-light { background: #fff; color: var(--brand); }
.on-red .btn-soft { background: var(--brand-deep); color: #fff; }
main:has(> .cta:last-child) + .ftr { padding-top: clamp(96px, 12vw, 180px); }

/* ---------- properties page: the search on a light sky */
.phead-s { overflow: visible; }
.qs-p { max-width: 760px; margin-top: clamp(24px, 3vw, 40px); }
.qs-p .qs-u { padding: 4px 4px 0; }
.empty p + p { margin-top: 8px; }
.empty .lnk { display: inline; color: var(--brand); padding: 0; }

@media (prefers-reduced-motion: reduce) {
  .mq { overflow-x: auto; scrollbar-width: none; }
  .mq-t { animation: none; }
  .mq li[aria-hidden="true"] { display: none; }
  canvas.sky { transition: none; }
}
.why-4 li:first-child { grid-column: auto; background: var(--card); color: inherit; }
.why-4 li:first-child p { color: var(--stone); }
.why-4 li:first-child h3 { font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 400; }
/* services and other inner pages: no numbering, no rule lines (banned list) */
.svc, .svc li, .deals li, .posts, .posts a { border: 0; }
.svc .no { display: none; }
.svc li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.svc .lnk { grid-column: 2; }
.deals { gap: 12px var(--g); }
.deals li { padding: 16px 20px 16px 38px; background: var(--card); border-radius: 8px; }
.deals li::before { content: ""; left: 18px; top: 1.45em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.posts { display: grid; gap: 10px; }
.posts a { padding: clamp(18px, 2.2vw, 30px) clamp(18px, 2vw, 28px); background: var(--card); border-radius: 8px; }
.cform { border: 0; background: var(--card); border-radius: 10px; }
.cform input, .cform select, .cform textarea { border: 0; background: var(--paper); border-radius: 6px; }
@media (max-width: 899px) { .svc li { grid-template-columns: 1fr; } .svc p, .svc .lnk { grid-column: 1; } }

/* ---------- Hairline figures (collaboration, father to son): line drawings in their palette, MEA red as the one highlight */
.hl { position: relative; width: 100%; aspect-ratio: 5 / 4; --hairline-stroke: 1.15;
  --hairline-plate: var(--paper); --hairline-hi: #c8402f; --hairline-edge: #5e564d; --hairline-mid: #a1978b; --hairline-lo: #d3cabe; }
.hl-dark { --hairline-plate: #221d18; --hairline-hi: #ef7c66; --hairline-edge: #d5ccc1; --hairline-mid: #8b8176; --hairline-lo: #4d453c; }
.hl-read { position: absolute; top: 4px; right: 6px; z-index: 1; font-size: .9rem; font-weight: 500; color: var(--brand); pointer-events: none; }
.hl-dark .hl-read { color: #ef7c66; }
.cbx-r .hl { max-width: 600px; justify-self: center; }
.lin { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px) var(--g); align-items: center; }
.lin-t { display: grid; gap: clamp(28px, 3vw, 44px); justify-items: start; }
.lin .grow { grid-template-columns: 1fr; gap: 22px; }
.lin .grow li { grid-template-columns: 7.5rem minmax(0, 1fr); align-items: baseline; gap: 16px; }
.lin .grow b { font-size: clamp(2rem, 3vw, 2.8rem); }
.lin .hl { background: var(--card); border-radius: 12px; --hairline-plate: var(--card); }
@media (max-width: 899px) { .lin { grid-template-columns: 1fr; } .lin .hl { order: -1; } }
@media (max-width: 399px) { .lin .grow li { grid-template-columns: 1fr; gap: 4px; } }
/* sweep fixes: the search's grid column may shrink (its suggestions sized it on a 280px phone); page heads fit a sideways phone */
.qs { grid-template-columns: minmax(0, 1fr); }
.qs-try button { display: inline; text-align: left; }
@media (orientation: landscape) and (max-height: 500px) {
  .phead { padding-top: calc(var(--hdr) + 10px); padding-bottom: 14px; }
  .phead .d1 { font-size: clamp(1.5rem, 8svh, 2.2rem); }
  .phead .lede { margin-top: 8px; font-size: .95rem; line-height: 1.45; }
  .phead .row { margin-top: 12px !important; }
  .phead .cap { margin-bottom: 8px !important; }
}
@media (max-width: 479px) { .qs-k { display: none; } }

/* ---------- v3.1 (client notes, round 2): simpler search, smaller colony wall, cards with life, collaboration that plays itself */
/* colonies: a row of small photo tiles, then every name drifting the other way; no number tiles */
.mq a { width: clamp(118px, 10.5vw, 160px); }
.ct-im { aspect-ratio: 1; margin-bottom: 6px; border-radius: 10px; }
.ct-n { font-size: clamp(.98rem, 1.05vw, 1.1rem); }
.ct-c { font-size: .82rem; }
.mq-n { margin-top: clamp(26px, 3vw, 44px) !important; }
.mq-n li { display: flex; align-items: center; padding-right: 0; }
.mq-n a { width: auto; display: inline-block; font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 3.2vw, 3rem); line-height: 1.1; white-space: nowrap; color: var(--ink); transition: color .4s var(--ease); }
.mq-n a sup { font-family: var(--sans); font-size: .8rem; font-weight: 500; color: var(--brand); vertical-align: super; margin-left: 4px; }
.mq-n a:hover { color: var(--brand); }
.mq-n i { flex: none; width: clamp(28px, 3vw, 46px); height: clamp(14px, 1.4vw, 20px); margin: 0 clamp(16px, 2vw, 30px); background: url("img/mark.svg") center / contain no-repeat; }

/* cards: they arrive one after another, lift, and lean toward the pointer */
html.js .arrive { opacity: 0; transform: translateY(36px) scale(.97); }
html.js .arrive.up { opacity: 1; transform: none; transition: opacity .9s var(--ease) var(--cd, 0s), transform 1.1s var(--ease) var(--cd, 0s), box-shadow .6s var(--ease); }
.pc.tilt, .deal.tilt, .why-r li.tilt, .mq a.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px) !important; transition: transform .25s var(--ease), box-shadow .6s var(--ease) !important; box-shadow: 0 30px 60px -32px rgba(60, 30, 18, .5); }
.mq a.tilt { box-shadow: none; }
.pc .pm img, .deal-im img { transition: transform 1.4s var(--ease); }
.pc.tilt .pm img { transform: scale(1.06); }
.pc-d dd { transition: color .4s var(--ease); }
.pc.tilt .pc-d dd, .deal.tilt .pc-d dd { color: var(--brand); }
.deal-im img { animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.03) translate(-1%, 0); } to { transform: scale(1.1) translate(1.5%, -1%); } }

/* collaboration: no tabs; the step's name, one line, and a thin timer that fills while it holds */
.cb-cap { display: grid; gap: 8px; }
.cb-h { font-weight: 500; color: #ef7c66; font-size: 1rem; }
.cb-p { min-height: 2.7em; }
.cb-bar { display: block; height: 2px; background: #3a332c; border-radius: 2px; overflow: hidden; margin-top: 6px; }
.cb-bar i { display: block; height: 100%; background: #ef7c66; transform: scaleX(0); transform-origin: left; }
.cbx-r.tick .cb-bar i { animation: hold var(--hold, 3200ms) linear both; }
@keyframes hold { to { transform: scaleX(1); } }
.cbx-r.tick .cb-h, .cbx-r.tick .cb-p { animation: fadeUp .7s var(--ease) both; }

/* father to son: three years in a row, no drawing */
.lin { grid-template-columns: 1fr; }
.lin-t { gap: clamp(32px, 4vw, 56px); }
.lin .grow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px var(--g); width: 100%; }
.lin .grow li { grid-template-columns: 1fr; gap: 10px; }
.lin .grow b { font-size: clamp(2.6rem, 4.4vw, 4.4rem); }
@media (max-width: 699px) { .lin .grow { grid-template-columns: 1fr; } .lin .grow li { grid-template-columns: 6.5rem minmax(0, 1fr); align-items: baseline; } .lin .grow b { font-size: 2.2rem; } }
@media (prefers-reduced-motion: reduce) { .deal-im img { animation: none; } html.js .arrive { opacity: 1; transform: none; } }
.deal { width: min(720px, 72vw); min-height: clamp(320px, 26vw, 380px); }
.deal .pc-c { font-size: clamp(1.4rem, 1.8vw, 1.8rem); }
.deal-tx { gap: 12px; padding: clamp(20px, 2vw, 30px); }
@media (max-width: 899px) { .deal { width: 78vw; min-height: 0; } }

/* ---------- v3.2 (client notes, round 3): hero says who we are; the search is its own full-width row; livelier reviews */
.hero-l { max-width: 34rem; color: var(--stone); }
.hero .row .btn-soft { background: var(--card); }

/* the sectioned search: one white bar across the page, four choices, words, one button */
.frow { position: relative; z-index: 6; padding: clamp(28px, 3.4vw, 52px) 0 clamp(8px, 1vw, 16px); }
.fr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.4fr) auto; align-items: stretch; gap: 6px; padding: 8px; background: var(--card); border-radius: 22px; box-shadow: 0 26px 60px -34px rgba(70, 28, 16, .45); }
.fr-f { position: relative; display: grid; align-content: center; gap: 2px; min-width: 0; padding: 12px 18px; border-radius: 15px; cursor: pointer; transition: background .3s var(--ease); }
.fr-f:hover, .fr-f:focus-within { background: var(--paper); }
.fr-f > span { font-size: .78rem; color: var(--stone); }
.fr-f select, .fr-f input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0; font: 500 1rem/1.4 var(--sans); color: var(--ink); appearance: none; -webkit-appearance: none; text-overflow: ellipsis; cursor: pointer; }
.fr-f input { cursor: text; }
.fr-f input::placeholder { color: #6b6258; font-weight: 400; }
.fr-f input::-webkit-search-cancel-button { display: none; }
.fr-f:not(.fr-w)::after { content: ""; position: absolute; right: 18px; bottom: 19px; width: 6px; height: 6px; border-right: 1.5px solid var(--brand); border-bottom: 1.5px solid var(--brand); transform: rotate(45deg); pointer-events: none; }
.fr-f:focus-within { outline: 2px solid var(--brand); outline-offset: -2px; }
.fr-b { min-height: 64px; border-radius: 15px; padding: 0 28px; gap: 10px; }
.fr-b svg { width: 20px; height: 20px; }
.fr .qs-pop { top: calc(100% + 10px); left: auto; right: 0; width: min(560px, 100%); }
@media (max-width: 1099px) {
  .fr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fr-w { grid-column: 1 / -1; }
  .fr-b { grid-column: 1 / -1; min-height: 56px; }
}
@media (max-width: 359px) { .fr { grid-template-columns: 1fr; } }

/* reviews: two at a time, three colours in turn, stars, an initial, a big quote mark */
.revs-in { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); }
.rtrack { gap: clamp(12px, 1.4vw, 20px); border-radius: 0; padding: 6px 2px 10px; }
.rvw { position: relative; flex: 0 0 calc(50% - 10px); min-height: clamp(240px, 20vw, 300px); gap: 18px; overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.rvw:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: 0 26px 50px -30px rgba(60, 30, 18, .45); }
.rvw blockquote { font-size: clamp(1.3rem, 1.9vw, 1.85rem); line-height: 1.28; text-indent: 0; position: relative; }
.rvw.long blockquote { font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.5; }
.rq { position: absolute; right: 18px; top: -18px; font-family: var(--serif); font-weight: 300; font-size: 9rem; line-height: 1; color: var(--brand); opacity: 1; pointer-events: none; }
.rvw.t1 { background: var(--brand); color: #fff; }
.rvw.t1 .rq { color: #e7735e; }
.rvw.t1 figcaption small { color: #fff; }
.rvw.t2 { background: #221d18; color: var(--paper); }
.rvw.t2 .rq { color: #4a2a22; }
.rvw.t2 figcaption small { color: var(--ash); }
.stars { display: flex; gap: 4px; position: relative; }
.stars i { width: 15px; height: 15px; background: currentColor; color: #e2d8cc; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.stars i.on { color: var(--brand); }
.t1 .stars i.on { color: #fff; } .t1 .stars i { color: #e7735e; }
.t2 .stars i.on { color: #ef7c66; } .t2 .stars i { color: #4a433b; }
.rvw figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.rvw figcaption > span:last-child { display: grid; gap: 1px; }
.rvw figcaption small { font-size: .88rem; color: var(--stone); }
.av { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.2rem; background: var(--brand); color: #fff; }
.t1 .av { background: #fff; color: var(--brand); }
@media (max-width: 899px) { .revs-in { grid-template-columns: 1fr; } .rvw { flex-basis: 86%; } }

/* ---------- v3.3: the search row the client liked (Genie's neat look): small spaced labels, bold values, light placeholders,
   hairline separators between fields; budget first */
.fr { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, .85fr) auto; gap: 0; padding: 10px 10px 10px 6px; border-radius: 22px; }
.fr-f { padding: 14px 26px; border-radius: 14px; gap: 6px; }
.fr-f + .fr-f::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: #e4ddd3; }
.fr-f:hover::before, .fr-f:hover + .fr-f::before, .fr-f:focus-within::before, .fr-f:focus-within + .fr-f::before { opacity: 0; }
.fr-f > span { font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #6b6258; }
.fr-f select, .fr-f input { font-size: 1.12rem; font-weight: 500; color: var(--ink); }
.fr-f input::placeholder { color: #a39a8f; font-weight: 400; }
.fr-f:not(.fr-w)::after { right: 26px; bottom: 24px; width: 7px; height: 7px; border-color: var(--ink); }
.fr-b { margin-left: 8px; }
@media (max-width: 1099px) {
  .fr { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 8px; }
  .fr-f + .fr-f::before { display: none; }
  .fr-w { grid-column: 1 / -1; order: -1; }
  .fr-f { background: var(--paper); }
  .fr-b { margin-left: 0; }
}
@media (max-width: 1099px) { .fr > .fr-f:nth-of-type(4) { grid-column: 1 / -1; } }

/* ---------- v3.4: father to son, UX only: the three years light up one after another; text stays fully readable */
#lgx .lg-bar { width: 100%; background: #e4ddd3; margin-top: -12px; }
#lgx.tick .lg-bar i { animation: hold var(--hold, 3600ms) linear both; }
html.js #lgx .grow b { transition: color .6s var(--ease), transform .6s var(--ease); transform-origin: left bottom; }
html.js #lgx.play .grow li:not(.on) b { color: #8f7b6e; }
html.js #lgx.play .grow li.on b { color: var(--brand); transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { #lgx .lg-bar { display: none; } }

/* ---------- v3.5: WhatsApp on every card instead of the shortlist heart */
.save.wa-q svg { fill: currentColor; stroke: none; width: 20px; height: 20px; }
.save.wa-q { color: var(--ink); }
.save.wa-q:hover, .save.wa-q:focus-visible { background: var(--brand); color: #fff; }

/* ---------- v3.6: Properties and finder are one page: type tabs, a Filters button, a panel closed until asked */
.ftools { display: flex; align-items: center; gap: 14px 26px; margin-left: auto; font-size: .95rem; }
.fbtn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 500; transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.fbtn svg { width: 20px; height: 20px; }
.fbtn:hover { background: #fff; transform: translateY(-1px); }
.fbtn[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
.fbtn .fn { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 600; }
.ftools .sel select { font-weight: 500; background-size: 0 1px; transition: background-size .5s var(--ease); }
.ftools .sel:hover select { background-size: 100% 1px; }
.fpanel { padding-bottom: 18px; }
.fpanel.in .fpanel-in { animation: fpIn .45s var(--ease) both; }
@keyframes fpIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.fpanel-in { background: var(--card); border-radius: 14px; padding: clamp(18px, 2.2vw, 30px); display: grid; gap: 22px; max-height: calc(100svh - var(--hdr) - 150px); overflow: auto; overscroll-behavior: contain; }
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px var(--g); }
.ff { display: grid; gap: 6px; min-width: 0; }
.ff > span:first-child { font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #6b6258; }
.ff .sel { display: block; }
.ff .sel select { width: 100%; font-size: 1.05rem; font-weight: 500; padding: 8px 1.4em 8px 0; background-size: 100% 1px; }
.fwant { border: 0; margin: 0; padding: 0; min-width: 0; }
.fwant legend { padding: 0; margin-bottom: 8px; font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #6b6258; }
.fpanel-ft { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.pc .why b { color: var(--brand); }
@media (max-width: 899px) {
  .ftools { margin-left: 0; width: 100%; justify-content: space-between; }
  .fgrid { grid-template-columns: 1fr; }
  .fpanel-ft .btn { flex: 1 1 auto; }
}

/* social logos instead of words (footer and contact) */
.soc { display: flex; gap: 10px; }
.soc a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.soc svg { width: 22px; height: 22px; }
.ftr .soc a { background: #2a251f; color: var(--paper); }
.ftr .soc a:hover { background: var(--brand); transform: translateY(-2px); }
.cinfo .soc a { background: var(--card); color: var(--ink); }
.cinfo .soc a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.pc .why { display: block; }

/* ---------- v3.7: liveliness and readability (client round, 8 Nov) */
/* any section with a sky keeps its clouds inside it */
section:has(> canvas.sky) { position: relative; isolation: isolate; overflow: hidden; }

/* Services: one home drawing that plays the five services; the row being shown lights up */
.svx { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px) var(--g); align-items: start; }
.svx-f { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 14px; }
.svx-f .hl { background: var(--card); border-radius: 14px; --hairline-plate: var(--card); }
.svx-f .cb-bar { background: #e4ddd3; }
#svx.tick .svx-f .cb-bar i { animation: hold var(--hold, 3600ms) linear both; }
.svx-l { display: grid; gap: 10px; }
.svx-l li { display: grid; gap: 10px; justify-items: start; padding: clamp(20px, 2.2vw, 30px); border-radius: 12px; cursor: pointer; outline: 0; transition: background .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }
.svx-l h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.05; transition: color .5s var(--ease); }
.svx-l p { color: var(--stone); max-width: 34rem; }
.svx-l li:hover { background: var(--card); }
.svx-l li.on { background: var(--card); box-shadow: 0 24px 50px -36px rgba(70, 28, 16, .45); }
.svx-l li.on h3 { color: var(--brand); }
.svx-l li:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
@media (max-width: 899px) {
  .svx { grid-template-columns: 1fr; }
  .svx-f { position: sticky; top: calc(var(--hdr) + 8px); z-index: 5; background: var(--paper); padding-bottom: 6px; }
  .svx-f .hl { aspect-ratio: 16 / 10; }
}
@media (max-width: 599px) { .svx-f { position: static; } }

/* text on photos sits on a solid, softly blurred block so it always reads */
.band-tx::before { display: none; }
.band-card { display: grid; gap: 14px; justify-items: start; max-width: 680px; padding: clamp(20px, 2.6vw, 36px); border-radius: 14px; background: rgba(22, 17, 13, .58); -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); }
.band-card p { color: #f1ebe3; }
.band-tx .band-card .d2 { max-width: 18ch; }

/* We deal in: four groups to scan, on a soft sky */
.dgroups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.dgroups > li { background: var(--card); border-radius: 12px; padding: clamp(20px, 2vw, 28px); display: grid; gap: 14px; align-content: start; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.dgroups > li:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -34px rgba(70, 28, 16, .5); }
.dgroups h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 1.8vw, 1.8rem); line-height: 1.15; color: var(--brand); }
.dgroups ul { display: grid; gap: 10px; }
.dgroups ul li { position: relative; padding-left: 16px; line-height: 1.45; }
.dgroups ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
@media (max-width: 1099px) { .dgroups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .dgroups { grid-template-columns: 1fr; } }

/* red, cloudy sections: white type */
.on-red { color: #fff; }
.on-red .lede, .on-red p { color: #ffe6e1; }
.on-red .btn-light { background: #fff; color: var(--brand); }

/* About, father to son on a red sky: the years light up in turn */
.lgred #lgx .grow p { color: #fff; }
.lgred #lgx .grow b { color: #fff; }
html.js .lgred #lgx.play .grow li:not(.on) b { color: #f2a99a; }
html.js .lgred #lgx.play .grow li.on b { color: #fff; }
.lgred #lgx .lg-bar { background: #d76a57; }
.lgred #lgx .lg-bar i { background: #fff; }

/* small, quiet hovers */
.cinfo .big, .visit .big { transition: color .4s var(--ease); }
.cinfo a.big:hover { color: var(--brand); }
.posts a { transition: transform .45s var(--ease); }
.posts a:hover { transform: translateX(4px); }
.prom > div, .duo > div { transition: transform .5s var(--ease); }
.prom > div:hover { transform: translateY(-3px); }
.ftr-meta a { transition: color .3s var(--ease), background-size .45s var(--ease); }
.ftr-meta a:hover { color: #fff; }

/* ---------- v3.8: on the red cloud sections, every line is bright white and easy to read
   (the clouds are now deeper than the red, so white text always sits on a dark ground) */
.on-red { color: #fff; }
.on-red :is(h2, h3, .d2, .lede, p, li, address):not(.deal *, .rail-ctl *) { color: #fff; }
.on-red .deal { color: var(--ink); }
.on-red .cap { color: #fff; opacity: 1; }
.on-red .lnk, .on-red .lnk-w { color: #fff; }
.cta .lede, .deals-sec .lede { color: #fff; }
html.js .lgred #lgx.play .grow li:not(.on) b { color: #ffd2c8; }
.lgred #lgx .grow p { color: #fff; }
@media (max-width: 420px) {
  .ftools { flex-wrap: wrap; gap: 10px 16px; }
  .ftools .sel select { max-width: calc(100vw - 2 * var(--g) - 1.4em); }
}
.fbtn .fn[hidden] { display: none; }

/* ---------- v3.9: SEO pages: a page per listing, colony pages, refreshed posts, questions owners ask */
.lp-head .cap a, .post .cap a { color: inherit; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.lp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 72px) var(--g); align-items: start; }
.lp-g { display: grid; gap: 12px; }
.lp-m, .lp-t { overflow: hidden; border-radius: 12px; background: var(--paper2); }
.lp-m img, .lp-t img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.lp-m { aspect-ratio: 4 / 3; }
.lp-ts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lp-t { aspect-ratio: 4 / 3; }
.lp-t:hover img, .lp-m:hover img { transform: scale(1.03); }
.lp-np { aspect-ratio: 4 / 3; border-radius: 12px; background: var(--card); display: grid; place-content: center; text-align: center; gap: 8px; }
.lp-np b { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 5vw, 4.4rem); color: var(--brand); }
.lp-i { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 22px; background: var(--card); border-radius: 14px; padding: clamp(20px, 2.4vw, 32px); }
.lp-i .row .btn { flex: 1 1 auto; justify-content: center; }
@media (max-width: 899px) { .lp { grid-template-columns: 1fr; } .lp-i { position: static; } }
.cstrip { display: grid; grid-template-columns: repeat(4, minmax(0, max-content)); gap: 10px clamp(24px, 4vw, 56px); margin: clamp(20px, 2.4vw, 32px) 0; }
.cstrip dt { font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #6b6258; }
.cstrip dd { margin: 4px 0 0; font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.8rem); }
@media (max-width: 699px) { .cstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.clinks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: clamp(24px, 3vw, 40px); color: var(--stone); }
.on-red .clinks, .on-red .clinks a { color: #fff; }
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px) var(--g); align-items: start; }
.qas { display: grid; gap: 10px; }
.qa { background: var(--card); border-radius: 12px; padding: 0 clamp(18px, 2vw, 26px); transition: box-shadow .4s var(--ease); }
.qa:hover { box-shadow: 0 20px 44px -32px rgba(70, 28, 16, .45); }
.qa summary { list-style: none; cursor: pointer; padding: 20px 28px 20px 0; position: relative; font-weight: 500; font-size: 1.08rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-right: 1.6px solid var(--brand); border-bottom: 1.6px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .35s var(--ease); }
.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa p { padding: 0 0 22px; color: var(--stone); max-width: 46rem; }
@media (max-width: 899px) { .faq { grid-template-columns: 1fr; } }
.post-in { max-width: 820px; display: grid; gap: clamp(18px, 2vw, 26px); }
.post .prose h2 { margin: clamp(22px, 2.6vw, 34px) 0 10px; }
.post .prose p { margin: 0 0 14px; color: #2a2621; line-height: 1.7; font-size: 1.06rem; }
.post-f { max-width: 520px; }
.post-cta { background: var(--card); border-radius: 14px; padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 18px; margin-top: 12px; }

/* v3.10 footer links (privacy, demo-only link) */
.ftr-links { display: inline-flex; flex-wrap: wrap; gap: 8px 22px; }
.ftr-links a { text-decoration: underline; text-underline-offset: 3px; padding: 10px 0; }
.post.sec-t { padding-top: calc(var(--hdr) + clamp(40px, 6vw, 96px)); }

/* v3.11 contact form note */
.fnote { min-height: 1.4em; margin: 6px 0 0; font-size: .98rem; color: #2a2621; }
.cform .row { display: flex; flex-wrap: wrap; gap: 12px; }
.prose p, .prose li { overflow-wrap: anywhere; }

/* v3.12 final CTA: the brief on the right */
.cta-g { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 6vw, 110px); align-items: end; }
.cta-r .cap { color: #fff; opacity: 1; margin: 0 0 14px; }
.cta-list { list-style: none; margin: 0; padding: 0; counter-reset: b; }
.cta-list li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 4px 16px; padding: 11px 0; }
.cta-list b { font-weight: 500; color: #fff; }
.cta-list span { color: #fff; }
.cta-visit { margin: 18px 0 0; color: #fff; }
.cta-visit a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) { .cta-g { grid-template-columns: 1fr; align-items: start; } .cta-list li { grid-template-columns: 1fr; gap: 2px; } }

/* v3.13 WhatsApp inline confirm */
.wa-arm-l { display: none; }
.btn.wa-arm { background: var(--red); color: var(--paper); }
.wa-arm .wa-arm-l { display: inline; }
.btn.wa-arm .wa-arm-l::after, .wa-q.wa-arm .wa-arm-l::after, .ibtn.wa-arm .wa-arm-l::after { content: " \2197"; }
.wa-q.wa-arm, .ibtn.wa-arm { background: var(--red); color: var(--paper); }
.ibtn.wa-arm { position: relative; }
.wa-arm-b { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 12px; line-height: 1; }
.wa-arm { animation: waPulse .5s ease; }
@keyframes waPulse { 40% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .wa-arm { animation: none; } }

/* v3.13 deal cards sit on the red band but are white: their small texts take card colours */
.deal .pc-c, .on-red .deal .pc-c { color: var(--red); }
.deal .lnk, .on-red .deal .lnk { color: var(--ink); }
.wa-q.wa-arm svg { stroke: var(--paper); }
.wa-q.wa-arm:hover { transform: none; }

/* v3.13 readable names on the red and dark review cards */
.rvw.t1 figcaption b { color: #fff; }
.rvw.t2 figcaption b { color: var(--paper); }
