/* =============================================================================
   Damax Estates — damaxestatesgh.com
   Editorial/architectural design system. Brand terracotta #EA723D carried over
   from the original site, used as an accent against warm paper and deep umber.
   ========================================================================== */

:root {
  /* --- brand --- */
  --clay:        #EA723D;
  --clay-deep:   #B8481D;
  --clay-wash:   #F6DCC7;
  --gold:        #D18700;

  /* --- surfaces --- */
  --paper:       #F8F5F0;
  --paper-2:     #F0E9DF;
  --paper-3:     #E5DACB;
  --white:       #FFFFFF;
  --ink:         #17120F;
  --ink-2:       #2A211B;
  --umber:       #241B15;

  /* --- text --- */
  --tx:          #17120F;
  --tx-2:        #4A3E36;
  --tx-3:        #7A6B5E;
  --tx-4:        #A2907F;
  --tx-on-dark:  rgba(255,255,255,.72);
  --tx-on-dark-2:rgba(255,255,255,.48);

  --rule:        rgba(23,18,15,.13);
  --rule-2:      rgba(23,18,15,.26);
  --rule-dark:   rgba(255,255,255,.16);

  /* --- type --- */
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* --- metrics --- */
  --wrap: 1320px;
  --gut: clamp(20px, 4.5vw, 64px);
  --chapter: clamp(72px, 10vw, 148px);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, .05, .36, 1);
}

/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.62;
  font-weight: 400;
  color: var(--tx-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
/* <picture> is inline by default, so its box ends up shorter than the <img>
   inside it and every overlay positioned against the wrapper is thrown out.
   display:contents removes the wrapper box entirely — <picture> carries no
   semantics of its own, the <img> does, so nothing is lost. */
picture { display: contents; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
p { margin: 0 0 1.05em; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; border-radius: 2px; }
::selection { background: var(--clay); color: #fff; }

/* ------------------------------------------------------------ typography -- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 300;
  color: var(--tx);
  line-height: 1.04;
  letter-spacing: -.022em;
  margin: 0 0 .42em;
}
.d1 { font-size: clamp(3rem, 8.4vw, 7rem); }
.d2 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
.d3 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
.d4 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.015em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); }
h4 { font-size: 1.12rem; letter-spacing: -.012em; }
em, .it { font-style: italic; }
.tx-clay { color: var(--clay); }

/* small uppercase label — the workhorse of this design */
.label {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tx-3);
  line-height: 1.4;
  font-feature-settings: "tnum";
}
.label--clay { color: var(--clay-deep); }
.label--light { color: var(--tx-on-dark-2); }

.lede {
  font-size: clamp(1.08rem, 1.55vw, 1.32rem);
  line-height: 1.55;
  color: var(--tx-2);
  max-width: 46ch;
  font-weight: 400;
}
.lede--wide { max-width: 62ch; }
.on-dark .lede, .chapter--dark .lede { color: var(--tx-on-dark); }
.num { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }

/* -------------------------------------------------------------- layout --- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--full { max-width: none; padding-inline: var(--gut); }
.wrap--text { max-width: 780px; }

.chapter { padding-block: var(--chapter); position: relative; }
.chapter--tight { padding-block: clamp(52px, 7vw, 92px); }
.chapter--paper2 { background: var(--paper-2); }
.chapter--dark { background: var(--umber); color: var(--tx-on-dark); }
.chapter--dark h1, .chapter--dark h2, .chapter--dark h3, .chapter--dark h4 { color: #fff; }
.chapter--dark .label { color: var(--tx-on-dark-2); }
.chapter--dark .label--clay { color: var(--clay); }

/* chapter header: hairline rule + number + title, on a 12-col feel */
.ch-head { margin-bottom: clamp(38px, 5vw, 66px); }
.ch-rule {
  display: flex; align-items: baseline; gap: 20px;
  padding-bottom: 16px; margin-bottom: clamp(28px, 3.5vw, 44px);
  border-bottom: 1px solid var(--rule);
}
.chapter--dark .ch-rule { border-bottom-color: var(--rule-dark); }
.ch-rule__n { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .18em; color: var(--clay); font-variant-numeric: tabular-nums; }
.ch-rule__t { flex: 1; }
.ch-rule__aside { margin-left: auto; }
.ch-grid { display: grid; gap: clamp(20px, 3vw, 48px); align-items: end; }
@media (min-width: 900px) { .ch-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

.cols { display: grid; gap: clamp(22px, 2.6vw, 34px); }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(215px, 100%), 1fr)); }
.stack > * + * { margin-top: 1em; }

hr.rule { border: 0; height: 1px; background: var(--rule); margin-block: clamp(40px, 5vw, 68px); }
.chapter--dark hr.rule { background: var(--rule-dark); }

/* ------------------------------------------------------------- buttons --- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  padding: 1.02em 1.75em; border: 1px solid var(--bd); background: var(--bg); color: var(--fg);
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; border-radius: 0; overflow: hidden; text-align: center; line-height: 1;
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--clay); z-index: 0;
  transform: scaleY(0); transform-origin: bottom; transition: transform .38s var(--ease);
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { color: #fff; border-color: var(--clay); }
.btn:hover::before { transform: scaleY(1); }
.btn--clay { --bg: var(--clay); --bd: var(--clay); }
.btn--clay::before { background: var(--ink); }
.btn--clay:hover { border-color: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--tx); --bd: var(--rule-2); }
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.34); }
.btn--sm { padding: .8em 1.25em; font-size: .7rem; }
.btn--block { display: flex; width: 100%; }
.btn svg { width: 1.15em; height: 1.15em; }

/* text link with a rule that wipes on hover */
.tlink {
  display: inline-flex; align-items: center; gap: .55em; position: relative;
  font-family: var(--sans); font-size: .74rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--tx);
  padding-bottom: .5em;
}
.tlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--rule-2); transform-origin: right; transition: transform .4s var(--ease);
}
.tlink::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--clay); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease); z-index: 1;
}
.tlink:hover::before { transform: scaleX(1); }
.tlink:hover { color: var(--clay-deep); }
.tlink svg { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.tlink:hover svg { transform: translateX(5px); }
.chapter--dark .tlink { color: #fff; }
.chapter--dark .tlink::after { background: var(--rule-dark); }
.chapter--dark .tlink:hover { color: var(--clay); }

/* --------------------------------------------------------------- header -- */
.hdr {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.hdr.is-stuck { border-bottom-color: var(--rule); background: color-mix(in srgb, var(--paper) 95%, transparent); }
.hdr__bar { display: flex; align-items: center; gap: 18px; height: 84px; transition: height .35s var(--ease); }
.hdr.is-stuck .hdr__bar { height: 70px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark { width: 38px; height: 38px; flex: none; border-radius: 50%; }
.brand__wm { display: flex; flex-direction: column; line-height: 1; }
/* Wordmark follows the 2018 company logo: heavy uppercase sans, not the
   display serif used for headings. */
.brand__n { font-family: var(--sans); font-size: 1.45rem; font-weight: 800; letter-spacing: -.012em; color: var(--tx); text-transform: uppercase; }
.brand__n i { font-style: normal; color: var(--clay); }
/* Tracking chosen so the descriptor justifies to the wordmark width, as the
   original logo lockup does. */
.brand__s { font-size: .55rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--tx-4); margin-top: 6px; }

.nav { display: none; align-items: center; gap: 2px; }
.nav a {
  position: relative; padding: .7em .9em; font-size: .76rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--tx-2);
  transition: color .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: .9em; right: .9em; bottom: .3em; height: 1px;
  background: var(--clay); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--tx); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--clay-deep); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__cta { display: none; margin-left: 14px; }
@media (min-width: 1080px) { .nav, .hdr__cta { display: flex; } }

@media (max-width: 380px) { .brand__n { font-size: 1.24rem; } .brand__s { font-size: .5rem; letter-spacing: .15em; } }

.burger {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none;
  background: transparent; border: 1px solid var(--rule-2); cursor: pointer; border-radius: 0;
  transition: border-color .25s var(--ease);
}
.burger:hover { border-color: var(--ink); }
.burger span { display: block; width: 17px; height: 1px; background: var(--ink); transition: transform .35s var(--ease), opacity .2s; }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 1080px) { .burger { display: none; } }

.mnav {
  position: fixed; inset: 0; z-index: 95; background: var(--umber); color: #fff;
  padding: 100px var(--gut) 48px; overflow-y: auto;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-io);
  pointer-events: none;
}
.mnav.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.mnav__close { position: absolute; top: 22px; right: var(--gut); width: 46px; height: 46px; display: grid; place-items: center; background: transparent; border: 1px solid var(--rule-dark); color: #fff; cursor: pointer; }
.mnav__close svg { width: 18px; height: 18px; }
.mnav a.mnav__link {
  display: flex; align-items: baseline; gap: 16px; padding: 18px 0;
  font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 9vw, 3rem);
  color: #fff; border-bottom: 1px solid var(--rule-dark); letter-spacing: -.02em;
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .25s;
}
.mnav.is-open a.mnav__link { opacity: 1; transform: none; }
.mnav a.mnav__link:hover { color: var(--clay); }
.mnav__n { font-family: var(--sans); font-size: .6rem; font-weight: 700; letter-spacing: .18em; color: var(--clay); }
.mnav__foot { margin-top: 36px; display: grid; gap: 10px; }
.mnav__foot a { color: var(--tx-on-dark); font-size: .95rem; }
body.nav-open { overflow: hidden; }

/* ----------------------------------------------------------------- hero -- */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; min-height: min(92vh, 900px); display: flex; flex-direction: column; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: drift 24s var(--ease) forwards; }
@keyframes drift { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(16,11,8,.9) 0%, rgba(16,11,8,.6) 45%, rgba(16,11,8,.24) 100%),
    linear-gradient(to top, rgba(16,11,8,.82) 0%, rgba(16,11,8,0) 48%);
}
.hero__inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(80px, 12vw, 150px) clamp(40px, 6vw, 60px); }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(22px, 3vw, 34px); }
.hero__eyebrow span { color: rgba(255,255,255,.62); }
.hero__eyebrow i { display: block; width: clamp(28px, 6vw, 64px); height: 1px; background: var(--clay); font-style: normal; }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: .3em; font-weight: 250; }
.hero h1 em { color: var(--clay-wash); }
.hero__lede { color: rgba(255,255,255,.76); max-width: 48ch; font-size: clamp(1.02rem, 1.5vw, 1.22rem); margin-bottom: clamp(28px, 4vw, 40px); }
.hero__acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* data rail across the bottom of the hero */
.rail { border-top: 1px solid rgba(255,255,255,.2); }
.rail__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 780px) { .rail__grid { grid-template-columns: repeat(4, 1fr); } }
.rail__cell { padding: clamp(18px, 2.4vw, 28px) 0; }
@media (min-width: 780px) { .rail__cell + .rail__cell { border-left: 1px solid rgba(255,255,255,.16); padding-left: clamp(18px, 2.5vw, 34px); } }
@media (max-width: 779px) { .rail__cell:nth-child(even) { border-left: 1px solid rgba(255,255,255,.16); padding-left: 18px; } .rail__cell:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); } }
.rail__n { display: block; font-family: var(--display); font-weight: 300; font-size: clamp(1.9rem, 3.4vw, 2.9rem); color: #fff; line-height: 1; margin-bottom: .3em; font-variant-numeric: tabular-nums; }
.rail__l { color: rgba(255,255,255,.55); }

/* page masthead for interior pages */
.mast { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.mast__media { position: absolute; inset: 0; z-index: -2; }
.mast__media img { width: 100%; height: 100%; object-fit: cover; }
.mast::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(16,11,8,.88), rgba(16,11,8,.5)); }
.mast__inner { padding-block: clamp(72px, 11vw, 140px) clamp(40px, 6vw, 64px); }
.mast h1 { color: #fff; max-width: 19ch; font-weight: 250; }
.mast p { color: rgba(255,255,255,.75); max-width: 52ch; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .6em; margin-bottom: clamp(26px, 4vw, 44px); }
.crumbs a { color: rgba(255,255,255,.55); transition: color .2s; }
.crumbs a:hover { color: #fff; }
.crumbs i { font-style: normal; color: rgba(255,255,255,.3); }
.crumbs strong { color: #fff; font-weight: 500; }
.mast__grid { display: grid; gap: clamp(24px, 3vw, 48px); align-items: end; }
@media (min-width: 900px) { .mast__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* --------------------------------------------------- house index (ledger) - */
.idx { border-top: 1px solid var(--rule); }
.chapter--dark .idx { border-top-color: var(--rule-dark); }
.idx__row {
  position: relative; display: grid; align-items: center; gap: 8px 20px;
  padding: clamp(20px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--rule);
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "n t p" "n m p";
  transition: background .35s var(--ease), padding-inline .35s var(--ease);
}
.chapter--dark .idx__row { border-bottom-color: var(--rule-dark); }
@media (min-width: 900px) {
  .idx__row { grid-template-columns: 56px minmax(0, 1fr) 130px 120px 130px 150px; grid-template-areas: "n t s g pl p"; }
}
.idx__row:hover { background: color-mix(in srgb, var(--clay) 6%, transparent); padding-inline: clamp(8px, 1.2vw, 18px); }
.idx__n { grid-area: n; font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .14em; color: var(--tx-4); font-variant-numeric: tabular-nums; }
.idx__t { grid-area: t; }
.idx__t h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); margin: 0; font-weight: 350; }
.idx__t a::after { content: ""; position: absolute; inset: 0; }
.idx__t .idx__loc { display: block; font-size: .78rem; color: var(--tx-4); margin-top: .35em; }
.idx__s { grid-area: s; }
.idx__g { grid-area: g; }
.idx__pl { grid-area: pl; }
.idx__meta { grid-area: m; display: flex; flex-wrap: wrap; gap: 6px 14px; }
@media (min-width: 900px) { .idx__meta { display: none; } }
@media (max-width: 899px) { .idx__s, .idx__g, .idx__pl { display: none; } }
.idx__p { grid-area: p; text-align: right; font-family: var(--display); font-weight: 350; font-size: clamp(1.15rem, 1.9vw, 1.5rem); color: var(--tx); font-variant-numeric: tabular-nums; white-space: nowrap; }
.chapter--dark .idx__p { color: #fff; }
.idx__cell { font-size: .84rem; color: var(--tx-3); font-variant-numeric: tabular-nums; }
.idx__arrow { display: none; }
@media (min-width: 900px) {
  .idx__p { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
  .idx__arrow { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--rule-2); flex: none; transition: background .3s var(--ease), border-color .3s, color .3s, transform .3s var(--ease); }
  .idx__arrow svg { width: 13px; height: 13px; }
  .idx__row:hover .idx__arrow { background: var(--clay); border-color: var(--clay); color: #fff; transform: translateX(4px); }
}
.idx__row.is-hidden { display: none; }

/* floating preview that follows the cursor over the ledger */
.peek {
  position: fixed; top: 0; left: 0; z-index: 60; width: 260px; aspect-ratio: 4/3;
  overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.94);
  transition: opacity .3s var(--ease), transform .4s var(--ease);
  box-shadow: 0 30px 70px -20px rgba(23,18,15,.5);
}
.peek.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.peek img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 899px) { .peek { display: none; } }

/* ---------------------------------------------------------- house cards -- */
.hcards { display: grid; gap: clamp(20px, 2.2vw, 30px); grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.hcard { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule); transition: border-color .35s var(--ease), transform .45s var(--ease); }
.hcard:hover { border-color: var(--ink); transform: translateY(-4px); }
.hcard__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--paper-3); }
.hcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hcard:hover .hcard__media img { transform: scale(1.06); }
.hcard__tags { position: absolute; top: 0; left: 0; display: flex; }
.pill { padding: .58em 1em; font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; background: var(--clay); color: #fff; }
.pill--ink { background: rgba(23,18,15,.9); color: #fff; backdrop-filter: blur(4px); }
.hcard__body { padding: clamp(18px, 2vw, 24px); display: flex; flex-direction: column; flex: 1; }
.hcard__body h3 { font-size: 1.3rem; margin-bottom: .18em; font-weight: 350; }
.hcard__body h3 a::after { content: ""; position: absolute; inset: 0; }
.hcard__loc { font-size: .78rem; color: var(--tx-4); margin-bottom: 1em; }
.hcard__sum { font-size: .9rem; color: var(--tx-3); margin-bottom: 1.3em; flex: 1; }
.hcard__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding-top: 16px; border-top: 1px solid var(--rule); margin-top: auto; }
.hcard__price { font-family: var(--display); font-weight: 350; font-size: 1.5rem; color: var(--tx); line-height: 1; font-variant-numeric: tabular-nums; }
.specs { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; padding: 0; margin: 0; }
.specs li { display: flex; align-items: center; gap: .4em; font-size: .78rem; color: var(--tx-3); font-variant-numeric: tabular-nums; }
.specs svg { width: 14px; height: 14px; color: var(--clay); flex: none; }
.hcard.is-hidden { display: none; }

/* -------------------------------------------------------- plot diagram --- */
.plot { display: block; width: 100%; height: auto; max-width: 210px; margin-inline: auto; }
.plot .pl-fill { fill: color-mix(in srgb, var(--clay) 13%, transparent); stroke: var(--clay); stroke-width: 1.2; }
.plot .pl-house { fill: color-mix(in srgb, var(--clay) 42%, transparent); stroke: none; }
.plot .pl-dim { stroke: var(--rule-2); stroke-width: .8; }
.plot .pl-tx { font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: .12em; fill: var(--tx-3); text-transform: uppercase; }
.chapter--dark .plot .pl-dim { stroke: var(--rule-dark); }
.chapter--dark .plot .pl-tx { fill: var(--tx-on-dark-2); }
.plot-strip { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; }
.plot-strip figure { margin: 0; text-align: center; }
.plot-strip figcaption { margin-top: 12px; }
.plot-strip figcaption b { display: block; font-family: var(--display); font-size: 1.05rem; font-weight: 400; color: var(--tx); }
.chapter--dark .plot-strip figcaption b { color: #fff; }

/* ------------------------------------------------------------- filters --- */
.filters { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); align-items: end; padding-block: clamp(20px, 2.4vw, 28px); border-block: 1px solid var(--rule); }
.filters__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label { font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--tx-4); }
.field input, .field select, .field textarea {
  width: 100%; padding: .82em 0; border: 0; border-bottom: 1px solid var(--rule-2);
  background: transparent; color: var(--tx); font-size: .95rem; border-radius: 0;
  transition: border-color .3s var(--ease);
}
.field select { appearance: none; cursor: pointer; padding-right: 1.8em; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EA723D' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; background-size: 14px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--clay); border-bottom-width: 1.5px; }
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: .74rem; color: var(--tx-4); }
.field .err { font-size: .76rem; color: #A0271C; display: none; }
.field.is-bad .err { display: block; }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-bottom-color: #A0271C; }
.field.is-ok input, .field.is-ok select, .field.is-ok textarea { border-bottom-color: #3F7D58; }
.req { color: var(--clay); }
.reset { background: none; border: 0; padding: 0; cursor: pointer; font-size: .7rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--clay-deep); border-bottom: 1px solid currentColor; }

.viewtoggle { display: inline-flex; border: 1px solid var(--rule-2); }
.viewtoggle button { padding: .6em .95em; background: transparent; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--tx-3); transition: background .25s, color .25s; }
.viewtoggle button + button { border-left: 1px solid var(--rule-2); }
.viewtoggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.viewtoggle svg { width: 15px; height: 15px; }
.empty { padding: clamp(50px, 8vw, 90px) 0; text-align: center; border-bottom: 1px solid var(--rule); }

/* ------------------------------------------------------------- feature --- */
.feat { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) {
  .feat { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .feat--flip .feat__media { order: 2; }
}
.feat__media { position: relative; overflow: hidden; }
.feat__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feat__media--tall img { aspect-ratio: 3/4; }
.feat__tag { position: absolute; left: 0; bottom: 0; background: var(--paper); padding: clamp(16px, 2vw, 24px) clamp(20px, 2.4vw, 30px); max-width: 76%; }
.chapter--dark .feat__tag { background: var(--umber); }
.feat__tag b { display: block; font-family: var(--display); font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--tx); line-height: 1; margin-bottom: .25em; }
.chapter--dark .feat__tag b { color: #fff; }

/* numbered proposition list */
.props { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.chapter--dark .props { border-top-color: var(--rule-dark); }
.props li { display: grid; gap: 4px 26px; padding: clamp(20px, 2.6vw, 30px) 0; border-bottom: 1px solid var(--rule); grid-template-columns: auto 1fr; }
.chapter--dark .props li { border-bottom-color: var(--rule-dark); }
@media (min-width: 760px) { .props li { grid-template-columns: 54px minmax(0,4fr) minmax(0,6fr); align-items: baseline; } }
.props .props__n { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .14em; color: var(--clay); font-variant-numeric: tabular-nums; }
.props h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); margin: 0; font-weight: 350; }
.props p { margin: 0; font-size: .95rem; color: var(--tx-3); }
.chapter--dark .props p { color: var(--tx-on-dark); }

/* ---------------------------------------------------- payment schedule --- */
.sched { display: grid; gap: 0; grid-template-columns: 40fr 40fr 20fr; margin-block: clamp(24px, 3vw, 34px); }
.sched__seg { padding: clamp(16px, 2vw, 22px) clamp(14px, 1.6vw, 20px); border-top: 3px solid var(--clay); background: color-mix(in srgb, var(--clay) 7%, transparent); }
.sched__seg + .sched__seg { border-left: 1px solid var(--paper); }
.sched__seg:nth-child(2) { border-top-color: color-mix(in srgb, var(--clay) 55%, var(--paper-3)); background: color-mix(in srgb, var(--clay) 4%, transparent); }
.sched__seg:nth-child(3) { border-top-color: var(--paper-3); background: transparent; }
.sched__note { display: block; margin-top: .9em; font-size: .76rem; color: var(--tx-3); line-height: 1.45; }
.chapter--dark .sched__note { color: var(--tx-on-dark-2); }
.sched__pc { display: block; font-family: var(--display); font-weight: 300; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1; color: var(--tx); margin-bottom: .25em; font-variant-numeric: tabular-nums; }
.sched__amt { display: block; font-size: .88rem; color: var(--tx); font-weight: 600; font-variant-numeric: tabular-nums; margin-bottom: .3em; }
.sched__when { font-size: .74rem; color: var(--tx-3); line-height: 1.4; }
.chapter--dark .sched__seg { background: rgba(255,255,255,.05); }
.chapter--dark .sched__seg + .sched__seg { border-left-color: var(--umber); }
.chapter--dark .sched__pc, .chapter--dark .sched__amt { color: #fff; }
.chapter--dark .sched__when { color: var(--tx-on-dark-2); }

/* ---------------------------------------------------------- steps/time --- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.steps li { background: var(--paper); padding: clamp(22px, 2.6vw, 30px); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.chapter--paper2 .steps li { background: var(--paper-2); }
.steps .n { display: block; font-family: var(--sans); font-size: .66rem; font-weight: 700; letter-spacing: .16em; color: var(--clay); margin-bottom: 1.4em; }
.steps h4 { margin-bottom: .4em; font-size: 1.15rem; font-weight: 400; }
.steps p { margin: 0; font-size: .9rem; color: var(--tx-3); }

.tline { list-style: none; padding: 0; margin: 0; }
.tline li { display: grid; gap: 4px 28px; padding: clamp(18px, 2.2vw, 26px) 0; border-top: 1px solid var(--rule); grid-template-columns: 1fr; }
@media (min-width: 700px) { .tline li { grid-template-columns: 92px 1fr; align-items: baseline; } }
.tline li:last-child { border-bottom: 1px solid var(--rule); }
.chapter--dark .tline li { border-color: var(--rule-dark); }
.tline b { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); font-variant-numeric: tabular-nums; }
.tline h4 { margin: 0 0 .25em; font-size: 1.15rem; font-weight: 400; }
.tline p { margin: 0; font-size: .92rem; color: var(--tx-3); }
.chapter--dark .tline p { color: var(--tx-on-dark); }

/* ------------------------------------------------------------ checklist -- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 clamp(18px, 2.4vw, 40px); grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.checks li { display: flex; gap: .75em; align-items: baseline; padding: .62em 0; border-bottom: 1px solid var(--rule); font-size: .92rem; color: var(--tx-2); }
.chapter--dark .checks li { border-bottom-color: var(--rule-dark); color: var(--tx-on-dark); }
.checks i { flex: none; width: 5px; height: 5px; background: var(--clay); border-radius: 50%; transform: translateY(-2px); }

/* -------------------------------------------------------- testimonials --- */
.quotes { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.quote { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.chapter--dark .quotes { border-color: var(--rule-dark); }
.chapter--dark .quote { border-right-color: var(--rule-dark); border-bottom-color: var(--rule-dark); }
.quote { background: var(--paper); padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column; margin: 0; }
.chapter--paper2 .quote { background: var(--paper-2); }
.chapter--dark .quote { background: var(--umber); }
.quote blockquote { margin: 0 0 auto; font-family: var(--display); font-weight: 300; font-size: clamp(1.12rem, 1.7vw, 1.35rem); line-height: 1.45; color: var(--tx); letter-spacing: -.01em; }
.chapter--dark .quote blockquote { color: #fff; }
.quote figcaption { display: flex; align-items: baseline; gap: 10px; margin-top: clamp(24px, 3vw, 34px); padding-top: 16px; border-top: 1px solid var(--rule); }
.chapter--dark .quote figcaption { border-top-color: var(--rule-dark); }
.quote cite { font-style: normal; font-weight: 600; color: var(--tx); font-size: .92rem; }
.chapter--dark .quote cite { color: #fff; }
.quote small { color: var(--tx-4); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------------------------------------------------------------- team --- */
.people { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.person { background: var(--paper); padding: clamp(24px, 2.8vw, 34px); display: flex; flex-direction: column; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.chapter--paper2 .person { background: var(--paper-2); }
.person__i { width: 54px; height: 54px; border: 1px solid var(--clay); color: var(--clay-deep); display: grid; place-items: center; font-family: var(--display); font-size: 1.15rem; margin-bottom: 22px; letter-spacing: .02em; }
.person h3 { font-size: 1.28rem; margin-bottom: .18em; font-weight: 400; }
.person .role { margin-bottom: 1.1em; }
.person p { font-size: .9rem; color: var(--tx-3); flex: 1; }
.person__links { display: grid; gap: 9px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--rule); }
.person__links a { display: flex; align-items: center; gap: .65em; font-size: .86rem; color: var(--tx-2); word-break: break-word; transition: color .2s; }
.person__links a:hover { color: var(--clay-deep); }
.person__links svg { width: 14px; height: 14px; color: var(--clay); flex: none; }
.roster { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.roster div { background: var(--paper); padding: clamp(20px, 2.2vw, 26px); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.chapter--paper2 .roster div { background: var(--paper-2); }
.roster h4 { margin-bottom: .25em; font-size: 1.05rem; font-weight: 400; }
.roster p { margin: .7em 0 0; font-size: .85rem; color: var(--tx-3); }

/* --------------------------------------------------------------- panel --- */
.panel { border: 1px solid var(--rule); padding: clamp(22px, 2.6vw, 32px); background: var(--paper); }
.chapter--paper2 .panel { background: var(--paper-2); }
.panel--ink { background: var(--umber); border-color: var(--umber); color: var(--tx-on-dark); }
.panel--ink h3, .panel--ink h4 { color: #fff; }
.panel--ink .label { color: var(--clay); }
.panel h3 { font-size: 1.25rem; font-weight: 400; }
.panel > :last-child { margin-bottom: 0; }

.info { list-style: none; padding: 0; margin: 0; }
.info li { display: grid; gap: 3px; padding: 14px 0; border-bottom: 1px solid var(--rule); grid-template-columns: 1fr; }
@media (min-width: 460px) { .info li { grid-template-columns: 108px 1fr; gap: 3px 16px; align-items: baseline; } }
.info li:last-child { border-bottom: 0; padding-bottom: 0; }
.info dd { margin: 0; color: var(--tx); font-size: .95rem; }
.info dd a { border-bottom: 1px solid var(--rule-2); transition: border-color .2s, color .2s; }
.info dd a:hover { color: var(--clay-deep); border-bottom-color: var(--clay); }
.panel--ink .info li { border-bottom-color: var(--rule-dark); }
.panel--ink .info dd { color: #fff; }

/* --------------------------------------------------------------- table --- */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--rule); }
table { width: 100%; border-collapse: collapse; min-width: 660px; }
th, td { padding: 16px 20px 16px 0; text-align: left; border-bottom: 1px solid var(--rule); font-size: .93rem; vertical-align: baseline; }
th { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--tx-4); font-weight: 600; padding-top: 0; white-space: nowrap; }
td.n, th.n { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; }
td.price { font-family: var(--display); font-size: 1.2rem; color: var(--tx); font-weight: 350; white-space: nowrap; }
tbody tr { transition: background .25s var(--ease); }
tbody tr:hover { background: color-mix(in srgb, var(--clay) 5%, transparent); }
td strong { font-weight: 500; color: var(--tx); }

/* ----------------------------------------------------------- accordion --- */
.acc { border-bottom: 1px solid var(--rule); }
.acc:first-of-type { border-top: 1px solid var(--rule); }
.acc summary { display: flex; align-items: baseline; justify-content: space-between; gap: 22px; padding: clamp(18px, 2.2vw, 24px) 0; cursor: pointer; list-style: none; font-family: var(--display); font-size: clamp(1.1rem, 1.7vw, 1.35rem); font-weight: 350; color: var(--tx); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; flex: none; width: 15px; height: 15px; align-self: center; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EA723D' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .35s var(--ease); }
.acc[open] summary::after { transform: rotate(135deg); }
.acc__b { padding: 0 clamp(30px, 6vw, 90px) clamp(20px, 2.4vw, 26px) 0; color: var(--tx-3); font-size: .95rem; max-width: 70ch; }
.acc__b > :last-child { margin-bottom: 0; }

/* ------------------------------------------------------- house detail ---- */
.hd-hero { display: grid; gap: 4px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .hd-hero { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; } .hd-hero figure:first-child { grid-row: span 2; } }
.hd-hero figure { margin: 0; overflow: hidden; background: var(--paper-3); cursor: zoom-in; position: relative; }
.hd-hero img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .7s var(--ease); }
.hd-hero figure:first-child img { aspect-ratio: 16/11; }
.hd-hero figure:hover img { transform: scale(1.04); }
.hd-hero figure::after { content: ""; position: absolute; inset: 0; background: rgba(23,18,15,0); transition: background .35s; }
.hd-hero figure:hover::after { background: rgba(23,18,15,.08); }

.hd { display: grid; gap: clamp(34px, 4vw, 70px); align-items: start; }
@media (min-width: 1020px) { .hd { grid-template-columns: minmax(0, 7fr) minmax(320px, 4fr); } }
.hd__aside { position: sticky; top: 108px; display: grid; gap: 20px; }
.hd__spec { display: grid; gap: 0; border-top: 1px solid var(--rule); grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); margin-bottom: clamp(30px, 4vw, 46px); }
.hd__spec > div { background: var(--paper); padding: 20px 0; border-bottom: 1px solid var(--rule); }
.hd__spec dt { margin-bottom: .5em; }
.hd__spec dd { margin: 0; font-family: var(--display); font-size: 1.5rem; font-weight: 350; color: var(--tx); line-height: 1; }
.hd__spec dd small { font-size: .9rem; }
.prose { max-width: 66ch; }
.prose h3 { margin-top: 2em; font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 350; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--tx-2); }
.plan-fig { margin: 0; border: 1px solid var(--rule); background: var(--white); padding: clamp(18px, 2.4vw, 30px); cursor: zoom-in; }
.plan-fig img { margin-inline: auto; max-height: 540px; width: auto; }
.plan-fig figcaption { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); text-align: center; }
.pricebox { border-top: 3px solid var(--clay); }
.pricebox .amount { font-family: var(--display); font-weight: 300; font-size: clamp(2.2rem, 4.4vw, 3.1rem); line-height: 1; color: #fff; display: block; margin-bottom: .2em; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------- gallery --- */
.gal { display: grid; gap: 4px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.gal figure { margin: 0; position: relative; overflow: hidden; background: var(--paper-3); cursor: zoom-in; }
.gal img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .8s var(--ease); }
.gal figure.tall { grid-row: span 2; }
.gal figure.tall img { aspect-ratio: 4/6.05; }
.gal figure:hover img { transform: scale(1.05); }
.gal figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(to top, rgba(16,11,8,.85), transparent); color: #fff; font-size: .8rem; opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.gal figure:hover figcaption { opacity: 1; transform: none; }

.loc-gal { display: grid; gap: 4px; margin-top: clamp(26px, 3.2vw, 44px); grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.loc-gal figure { margin: 0; position: relative; overflow: hidden; background: var(--paper-3); cursor: zoom-in; }
.loc-gal img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .8s var(--ease); }
.loc-gal figure:hover img { transform: scale(1.05); }
.loc-gal figcaption { position: absolute; inset: auto 0 0 0; padding: 36px 14px 12px; background: linear-gradient(to top, rgba(16,11,8,.82), transparent); color: #fff; font-size: .78rem; opacity: 0; transition: opacity .35s var(--ease); }
.loc-gal figure:hover figcaption { opacity: 1; }

/* evidence strip: full-bleed horizontal scroller */
.strip { display: flex; gap: 4px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.strip figure { margin: 0; flex: 0 0 min(78vw, 480px); scroll-snap-align: start; position: relative; overflow: hidden; cursor: zoom-in; background: var(--paper-3); }
.strip img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .8s var(--ease); }
.strip figure:hover img { transform: scale(1.04); }
.strip figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(to top, rgba(16,11,8,.85), transparent); color: #fff; font-size: .8rem; }

/* ------------------------------------------------------------ lightbox --- */
.lb { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; background: rgba(12,8,6,.96); padding: 6vh 6vw; }
.lb.is-open { display: grid; }
.lb img { max-width: 100%; max-height: 86vh; width: auto; }
.lb button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; background: transparent; border: 1px solid rgba(255,255,255,.24); color: #fff; cursor: pointer; transition: background .25s, border-color .25s; }
.lb button:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }
.lb svg { width: 18px; height: 18px; }
.lb__x { top: 22px; right: 22px; }
.lb__p { left: 18px; top: 50%; transform: translateY(-50%); }
.lb__n { right: 18px; top: 50%; transform: translateY(-50%); }
.lb__c { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .78rem; letter-spacing: .1em; text-align: center; max-width: 80vw; }

/* ---------------------------------------------------------------- form --- */
.contact-grid { display: grid; gap: clamp(34px, 4vw, 68px); align-items: start; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr); } }
.form-grid { display: grid; gap: clamp(20px, 2.4vw, 28px); grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.form-grid .wide { grid-column: 1 / -1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span { display: inline-block; padding: .62em 1.15em; border: 1px solid var(--rule-2); cursor: pointer; font-size: .78rem; font-weight: 500; letter-spacing: .06em; transition: all .25s var(--ease); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 3px; }
.counter { font-size: .72rem; color: var(--tx-4); text-align: right; font-variant-numeric: tabular-nums; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.fstatus { display: none; padding: 15px 18px; font-size: .9rem; margin-bottom: 22px; border-left: 3px solid; }
.fstatus.on { display: block; }
.fstatus--ok { background: #EAF3ED; color: #1F4D34; border-color: #3F7D58; }
.fstatus--err { background: #FBEDEB; color: #7E1F17; border-color: #A0271C; }
.fdone { display: none; padding: clamp(30px, 5vw, 60px) 0; }
.fdone.on { display: block; }
.fdone__i { width: 56px; height: 56px; border: 1px solid var(--clay); color: var(--clay-deep); display: grid; place-items: center; margin-bottom: 26px; }
.fdone__i svg { width: 24px; height: 24px; }
.spin { width: 14px; height: 14px; border: 1.5px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn.is-busy .spin { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.map { border: 1px solid var(--rule); background: var(--paper-3); }
.map iframe { width: 100%; height: 360px; border: 0; }

/* ------------------------------------------------------------- cta band -- */
.cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; }
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(16,11,8,.92), rgba(184,72,29,.78)); }
.cta__inner { padding-block: clamp(56px, 8vw, 110px); display: grid; gap: clamp(24px, 3vw, 44px); align-items: end; }
@media (min-width: 900px) { .cta__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.cta h2 { color: #fff; max-width: 15ch; font-weight: 250; }
.cta p { color: rgba(255,255,255,.78); max-width: 46ch; }
.cta__acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* -------------------------------------------------------------- footer --- */
.ftr { background: var(--ink); color: var(--tx-on-dark); padding-block: clamp(56px, 7vw, 96px) 28px; font-size: .9rem; }
.ftr h4 { font-family: var(--sans); font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-bottom: 1.6em; }
.ftr__grid { display: grid; gap: clamp(30px, 4vw, 52px); grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
@media (min-width: 980px) { .ftr__grid { grid-template-columns: 1.7fr 1fr 1fr 1.4fr; } }
.ftr a { transition: color .2s; }
.ftr a:hover { color: #fff; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.ftr .brand__n { color: #fff; }
.ftr .brand__s { color: rgba(255,255,255,.35); }
.ftr__about { max-width: 32ch; margin-top: 20px; color: rgba(255,255,255,.55); }
.ftr__contact li { display: flex; gap: 11px; align-items: baseline; }
.ftr__contact svg { width: 14px; height: 14px; color: var(--clay); flex: none; transform: translateY(2px); }
.ftr__end { margin-top: clamp(42px, 5vw, 64px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .78rem; color: rgba(255,255,255,.4); letter-spacing: .04em; }

/* ------------------------------------------------------------ whatsapp --- */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 120; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa__panel {
  width: min(324px, calc(100vw - 44px)); background: var(--paper); border: 1px solid var(--rule);
  box-shadow: 0 30px 70px -22px rgba(23,18,15,.45); overflow: hidden;
  opacity: 0; transform: translateY(12px) scale(.97); transform-origin: bottom right; pointer-events: none;
  transition: opacity .28s var(--ease), transform .35s var(--ease);
}
.wa.is-open .wa__panel { opacity: 1; transform: none; pointer-events: auto; }
.wa__head { background: #0F6C60; color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.wa__head b { display: block; font-size: .93rem; font-weight: 600; }
.wa__head small { font-size: .73rem; opacity: .82; display: flex; align-items: center; gap: .45em; }
.wa__head small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #62E58A; }
.wa__av { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: none; }
.wa__av svg { width: 19px; height: 19px; }
.wa__body { padding: 20px 18px; background: #ECE4DA; }
.wa__msg { background: #fff; padding: 13px 15px; font-size: .87rem; color: var(--tx-2); line-height: 1.5; border-radius: 2px 12px 12px 12px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.wa__msg b { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #0F6C60; margin-bottom: .5em; }
.wa__foot { padding: 0 18px 20px; background: #ECE4DA; }
.wa__foot .btn { --bg: #1FBE5C; --bd: #1FBE5C; width: 100%; display: flex; }
.wa__foot .btn::before { background: #0F6C60; }
.wa__foot .btn:hover { border-color: #0F6C60; }
.wa__t { position: relative; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; background: #1FBE5C; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(31,190,92,.7), 0 2px 8px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.wa__t:hover { transform: scale(1.06); }
.wa__t svg { width: 29px; height: 29px; }
.wa__t .x { display: none; }
.wa.is-open .wa__t .w { display: none; }
.wa.is-open .wa__t .x { display: block; }
.wa__ping { position: absolute; inset: 0; border-radius: 50%; background: #1FBE5C; opacity: .5; animation: ping 2.6s var(--ease) infinite; z-index: -1; }
@keyframes ping { 0% { transform: scale(1); opacity: .45; } 70%, 100% { transform: scale(1.75); opacity: 0; } }
.wa.is-open .wa__ping { display: none; }

/* ------------------------------------------------------------- motion ---- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-mask { display: block; overflow: hidden; }
.rv-mask > * { display: block; transform: translateY(105%); transition: transform 1s var(--ease); }
.rv-mask.in > * { transform: none; }
.rv-line { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.rv-line.in { transform: scaleX(1); }
.rv-img { overflow: hidden; }
.rv-img img { transform: scale(1.12); transition: transform 1.4s var(--ease); }
.rv-img.in img { transform: none; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 14px 20px; z-index: 999; }
.skip:focus { left: 0; }
.note { font-size: .8rem; color: var(--tx-4); line-height: 1.5; }
.chapter--dark .note { color: var(--tx-on-dark-2); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { padding: .48em 1em; border: 1px solid var(--rule-2); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-2); }
.chapter--dark .tag { border-color: var(--rule-dark); color: var(--tx-on-dark); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv, .rv-mask > *, .rv-line, .rv-img img { opacity: 1 !important; transform: none !important; }
  .hero__media img { animation: none; transform: none; }
}

@media print {
  .hdr, .ftr, .wa, .filters, .btn, .cta { display: none !important; }
  body { background: #fff; font-size: 11pt; }
}
