/* Lend 365 — site styles. Based on the "isometric city" design system: paper ground, ink outlines,
   hard offset shadows, Bricolage Grotesque display type and a small brand palette led by Lend 365 orange. */
:root {
  --paper: #f5efe3;
  --paper-2: #ece3d2;
  --ink: #1f2433;
  --ink-soft: #4b5063;
  --line: #d9ceb9;
  --orange: #ff6912;
  --orange-deep: #c9500c;
  --mustard: #e9b949;
  --teal: #3a9e96;
  --teal-deep: #2b7a73;
  --navy: #34467e;
  --slate: #8ea2b8;
  --pad: clamp(16px, 4vw, 64px);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.025em; line-height: 1; margin: 0; font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(36px, 4.6vw, 68px); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
section { padding: clamp(72px, 8vw, 120px) var(--pad); position: relative; scroll-margin-top: 20px; }
.hex, .tag::before, .dock a i, .compare__col li::before, .compare__col--us h3::before {
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.tag {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 600 13px/1 var(--body); letter-spacing: .02em; color: var(--ink-soft);
}
.tag::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background:
    linear-gradient(var(--orange), var(--orange)) top / 100% 50% no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom / 100% 50% no-repeat;
}
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head > p:last-child:not(.tag) { font-size: 19px; color: var(--ink-soft); margin: 18px 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px;
  border-radius: 14px; font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; text-align: center; white-space: nowrap;
  border: 2px solid var(--ink); transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out), background-color .2s ease;
}
.btn--solid { background: var(--ink); color: var(--paper); box-shadow: 0 5px 0 #0c0f18; }
.btn--ghost { background: var(--paper); box-shadow: 0 5px 0 var(--ink); }
.btn--orange { background: var(--orange); color: var(--ink); box-shadow: 0 5px 0 #0c0f18; }
.btn--ghost-inv { background: transparent; color: var(--paper); border-color: var(--paper); box-shadow: 0 5px 0 #0c0f18; }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
@media (hover: hover) and (pointer: fine) {
  .btn--solid:hover { background: #2c3350; }
  .btn--ghost:hover { background: #fff; }
  .btn--orange:hover { background: #ff7d33; }
  .btn--ghost-inv:hover { background: rgba(255, 255, 255, .08); }
}

/* ---------- Bar + dock ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px var(--pad); pointer-events: none; }
.bar > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; text-decoration: none; background: var(--paper); padding: 5px 12px; border-radius: 14px; border: 2px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
.brand img { height: 38px; width: auto; }
.bar__right { display: flex; align-items: center; gap: 10px; }
.bar__phone, .bar__cta { text-decoration: none; font-weight: 600; font-size: 15px; padding: 11px 18px; border-radius: 14px; border: 2px solid var(--ink); box-shadow: 0 4px 0 var(--ink); white-space: nowrap; transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out); }
.bar__phone { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); color: var(--ink); font-variant-numeric: tabular-nums; }
.bar__phone-ico { width: 16px; height: 16px; flex: none; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
.bar__cta { background: var(--orange); color: var(--ink); }
.bar__phone:active, .bar__cta:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }

.dock { position: fixed; z-index: 40; left: 50%; bottom: 18px; transform: translateX(-50%); max-width: calc(100vw - 24px); }
.dock ul { list-style: none; margin: 0; padding: 6px; display: flex; gap: 4px; background: var(--ink); border-radius: 18px; box-shadow: 0 10px 30px rgba(31, 36, 51, .25); overflow-x: auto; scrollbar-width: none; }
.dock a { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 12px; color: #c8cbd6; text-decoration: none; font: 600 14px/1 var(--body); white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.dock a i { width: 10px; height: 10px; flex: none; background: var(--c, var(--paper)); }
.dock a[aria-current="page"] { background: var(--paper); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .dock a:hover { color: #fff; } .dock a[aria-current="page"]:hover { color: var(--ink); } }

/* ---------- Hero / city ---------- */
.hero { min-height: 100svh; padding: 0; overflow: hidden; scroll-margin-top: 0; background:
  radial-gradient(ellipse 60% 50% at 62% 55%, #fbf7ef 0%, transparent 70%), var(--paper); }
.hero__copy { position: absolute; z-index: 3; left: var(--pad); top: clamp(104px, 13vh, 140px); max-width: 480px; }
.hero h1 { font-size: clamp(50px, 5.6vw, 88px); line-height: .94; }
.hero__lead { font-size: 20px; margin: 22px 0 28px; max-width: 24ch; color: var(--ink-soft); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__proof { position: absolute; z-index: 3; left: var(--pad); bottom: 110px; max-width: 320px; }
.hero__proof-big { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.hero__proof-big b { font: 800 clamp(40px, 4vw, 56px)/1 var(--display); letter-spacing: -.03em; color: var(--orange-deep); -webkit-text-stroke: 1.5px var(--ink); }
.hero__proof-big span { font-weight: 600; font-size: 17px; }
.hero__proof p:not(.hero__proof-big) { margin: 8px 0 0; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

.city { position: absolute; z-index: 2; right: -3vw; bottom: 24px; width: min(1160px, 76vw); aspect-ratio: 1120 / 700; }
.city svg { width: 100%; height: 100%; display: block; overflow: visible; }
.city__hint { position: absolute; left: 12%; bottom: 13%; margin: 0; font: 600 13px/1 var(--body); color: var(--ink-soft); white-space: nowrap; }
.hint-touch { display: none; }
@media (hover: none) { .hint-desk { display: none; } .hint-touch { display: inline; } }

.bld { cursor: pointer; }
.bld__rise { animation: rise .9s var(--ease-out) both; animation-delay: calc(200ms + var(--i) * 90ms); }
@keyframes rise { from { transform: translateY(60px); opacity: 0; } }
.bld__lift { transition: transform .28s var(--ease-out); }
.bld.is-on .bld__lift { transform: translateY(-22px); }
.shadow { transition: opacity .28s var(--ease-out), transform .28s var(--ease-out); transform-box: fill-box; transform-origin: center; opacity: .22; }
.shadow.is-on { opacity: .42; transform: scale(1.08); }
.tree { animation: rise .8s var(--ease-out) both; animation-delay: calc(700ms + var(--i) * 40ms); }

.pins { position: absolute; inset: 0; pointer-events: none; }
.pin {
  position: absolute; transform: translate(-50%, calc(-100% - 12px)); pointer-events: auto;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 7px; border-radius: 10px;
  background: var(--paper); border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink);
  font: 600 13px/1 var(--body); white-space: nowrap; cursor: pointer;
  transition: transform .28s var(--ease-out), background-color .2s ease;
  animation: pinIn .5s var(--ease-out) both; animation-delay: calc(900ms + var(--i) * 80ms);
}
@keyframes pinIn { from { opacity: 0; } }
.pin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 12px; background: var(--ink); transform: translateX(-50%); }
.pin b { display: grid; place-items: center; min-width: 22px; height: 20px; padding: 0 4px; border-radius: 6px; background: var(--c); color: var(--ct, var(--ink)); font-size: 12px; }
.pin.is-on { transform: translate(-50%, calc(-100% - 34px)); background: #fff; }

.card {
  position: absolute; z-index: 5; width: 330px; padding: 20px 22px 18px; border-radius: 18px;
  background: #fff; border: 2px solid var(--ink); box-shadow: 0 8px 0 var(--ink), 0 30px 60px rgba(31, 36, 51, .18);
  transform-origin: right bottom;
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out);
}
.card[hidden] { display: block; opacity: 0; transform: scale(.96) translateY(6px); pointer-events: none; visibility: hidden; }
.card__idx { margin: 0 0 8px; display: inline-flex; padding: 5px 9px; border-radius: 8px; background: var(--c); color: var(--ct, var(--ink)); font: 700 12px/1 var(--body); }
.card__title { font-size: 30px; margin: 0 0 10px; }
.card__body { margin: 0 0 14px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.5; }
.card__link { display: inline-block; padding: 6px 0; font-weight: 600; font-size: 15px; text-underline-offset: 4px; }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: var(--paper); padding-top: 70px; padding-bottom: 70px; }
.stats ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1300px; }
.stats li { display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; align-items: center; }
.stats svg { grid-row: span 2; width: 56px; height: 64px; }
.stats b { font: 800 clamp(40px, 4.4vw, 64px)/1 var(--display); letter-spacing: -.03em; }
.stats span { font-size: 14px; color: #b9bdca; }

/* ---------- Why Lend 365 ---------- */
.why { background: #fff; border-bottom: 2px solid var(--ink); }
.why__hi { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why__hi li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 0 5px 0 var(--ink); }
.why__hi svg { width: 52px; height: 60px; flex: none; }
.why__hi b { font: 800 22px/1.1 var(--display); letter-spacing: -.02em; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare__col { padding: clamp(24px, 3vw, 36px); border-radius: 24px; border: 2px solid var(--ink); }
.compare__col--us { background: var(--paper); box-shadow: 0 8px 0 var(--ink); display: flex; flex-direction: column; }
.compare__col--banks { background: var(--ink); color: #c8cbd6; border-style: dashed; border-color: #5d6378; }
.compare__col h3 { margin: 0 0 18px; font: 800 30px/1 var(--display); letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 10px; }
.compare__col--us h3::before { content: ""; width: 16px; height: 16px; background: var(--orange); }
.compare__col--banks h3 { color: var(--paper); }
.compare__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.compare__col li { position: relative; padding-left: 28px; line-height: 1.5; }
.compare__col li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; background: var(--orange); }
.compare__col--banks li::before { background: #5d6378; }
.compare__col--us li { font-size: 17px; }
.why__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: auto; padding-top: 32px; }

/* ---------- Services directory ---------- */
.services { background: var(--paper); }
.directory { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.directory li { display: flex; }
.lot-card {
  width: 100%; text-align: left; text-decoration: none; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 22px;
  background: #fff; border: 2px solid var(--ink); border-radius: 20px; box-shadow: 0 6px 0 var(--ink);
  cursor: pointer; transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.lot-card svg { width: 100%; height: 160px; }
.lot-card__svg g { transition: transform .28s var(--ease-out); }
.lot-card .idx { align-self: flex-start; padding: 5px 9px; border-radius: 8px; background: var(--c); color: var(--ct, var(--ink)); font: 700 12px/1 var(--body); }
.lot-card h3 { margin: 0; font: 800 24px/1.05 var(--display); letter-spacing: -.02em; }
.lot-card p { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.5; flex: 1; }
.lot-card__more { font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.lot-card:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .lot-card:hover { transform: translateY(-4px); box-shadow: 0 10px 0 var(--ink); }
  .lot-card:hover .lot-card__svg g.lift { transform: translateY(-10px); }
}

/* ---------- Process ---------- */
.process { background: var(--paper-2); border-block: 2px solid var(--ink); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { padding: 22px 22px 26px; background: #fff; border: 2px solid var(--ink); border-radius: 20px; box-shadow: 0 6px 0 var(--ink); display: flex; flex-direction: column; gap: 8px; }
.step__svg { width: 100%; height: 200px; }
.step__n { align-self: flex-start; padding: 5px 9px; border-radius: 8px; background: var(--ink); color: var(--paper); font: 700 12px/1 var(--body); }
.step h3 { margin: 4px 0 0; font: 800 26px/1.05 var(--display); letter-spacing: -.02em; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.5; }

/* ---------- Calculator ---------- */
.calc__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.calc__form { display: grid; gap: 28px; padding: clamp(24px, 3vw, 40px); border: 2px solid var(--ink); border-radius: 24px; background: #fff; box-shadow: 0 8px 0 var(--ink); }
.slider { display: block; }
.slider__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; margin-bottom: 10px; }
.slider output { font: 800 28px/1 var(--display); letter-spacing: -.02em; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: none; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 12px; border-radius: 6px; border: 2px solid var(--ink); background: linear-gradient(90deg, var(--mustard) var(--fill, 50%), var(--paper) var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 6px; border: 2px solid var(--ink); background: var(--paper); }
input[type="range"]::-moz-range-progress { height: 8px; background: var(--mustard); border-radius: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 8px; background: var(--orange); border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 8px; background: var(--orange); border: 2px solid var(--ink); }
.calc__exact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 18px; border-top: 2px dashed var(--line); }
.calc__exact label { font-size: 13px; font-weight: 600; color: var(--ink-soft); display: grid; gap: 6px; }
.calc__exact input { width: 100%; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper); font-size: 17px; color: var(--ink); }
.calc__result { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 10px 20px; align-items: end; }
.calc__sign { padding: 22px 24px; border-radius: 20px; background: var(--teal-deep); color: #fff; border: 2px solid var(--ink); box-shadow: 0 8px 0 var(--ink); }
.calc__sign > p:first-child { margin: 0; font-weight: 600; font-size: 14px; }
.calc__big { margin: 6px 0 16px; font: 800 clamp(48px, 5vw, 76px)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc__sign dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc__sign dt { font-size: 13px; }
.calc__sign dd { margin: 0; font-weight: 600; font-size: 18px; }
.calc__stack { width: 190px; height: 260px; }
.calc__legend { grid-column: 2; list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; font-size: 13px; font-weight: 600; }
.calc__legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border: 1.5px solid var(--ink); }
.k-p { background: var(--mustard); } .k-i { background: var(--orange); }
.calc__note { margin: 36px 0 0; font-size: 13px; color: var(--ink-soft); max-width: 70ch; }
.calc__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Partners ---------- */
.lenders { background: var(--ink); color: var(--paper); }
.lenders .tag { color: #b9bdca; }
.lenders h2 { max-width: 16ch; margin-bottom: 44px; }
.lot { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.lot li { position: relative; display: grid; place-items: center; height: 104px; background: #fff; border: 2px solid #5d6378; border-radius: 16px; padding: 22px 22px 18px; }
.lot li::before { content: attr(data-bay); position: absolute; top: 8px; left: 10px; font: 600 12px/1 var(--body); color: var(--ink-soft); }
.lot img { max-height: 44px; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq .sec-head { margin-bottom: 0; }
.faq h2 { font-size: clamp(34px, 4vw, 56px); }
.faq__list { display: grid; gap: 14px; }
.faq__item { background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 0 5px 0 var(--ink); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font: 700 18px/1.3 var(--display); letter-spacing: -.01em; border-radius: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__ico { flex: none; width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 8px; position: relative; background: var(--paper); transition: background-color .2s; }
.faq__ico::before, .faq__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq__ico::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .28s var(--ease-out); }
.faq__item[open] .faq__ico { background: var(--orange); }
.faq__item[open] .faq__ico::after { transform: translate(-50%, -50%) rotate(0); }
.faq__item p { margin: 0; padding: 0 22px 20px; color: var(--ink-soft); line-height: 1.6; max-width: 70ch; }

/* ---------- CTA band ---------- */
.band { background: var(--ink); color: var(--paper); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 32px; align-items: center; border-top: 2px solid var(--ink); }
.band h2 { max-width: 16ch; color: #fff; }
.band p { font-size: 20px; color: #c8cbd6; margin: 18px 0 28px; max-width: 48ch; }
.band__cubes { width: 100%; max-width: 240px; justify-self: center; }

/* ---------- Sub-page header ---------- */
.page-head { padding-top: clamp(120px, 16vh, 170px); padding-bottom: clamp(48px, 6vw, 90px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; background:
  radial-gradient(ellipse 50% 60% at 78% 50%, #fbf7ef 0%, transparent 70%), var(--paper); }
.page-head h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: .95; max-width: 12ch; }
.page-head .hero__lead { max-width: 40ch; }
.page-head__iso { width: 100%; max-height: 420px; }

/* ---------- Services page ---------- */
.svc-list { padding-top: 0; }
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding: clamp(40px, 6vw, 80px) 0; border-top: 2px dashed var(--line); scroll-margin-top: 90px; }
.svc:nth-child(even) .svc__fig { order: 2; }
.svc__svg { width: 100%; height: clamp(220px, 30vw, 340px); }
.svc .idx { display: inline-flex; padding: 5px 9px; border-radius: 8px; background: var(--c); color: var(--ct, var(--ink)); font: 700 12px/1 var(--body); }
.svc h2 { margin: 14px 0 16px; }
.svc__body { font-size: 20px; color: var(--ink-soft); max-width: 50ch; margin: 0 0 26px; line-height: 1.5; }
.svc__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- About page ---------- */
.vm { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; padding-top: 0; }
.vm__card { padding: clamp(28px, 4vw, 48px); border-radius: 26px; border: 2px solid var(--ink); background: #fff; box-shadow: 0 8px 0 var(--ink); }
.vm__card h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 16px; }
.vm__card p { margin: 0 0 1em; color: var(--ink-soft); font-size: 18px; line-height: 1.55; }
.vm__card p:last-child { margin: 0; }
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 100px); align-items: center; background: #fff; border-block: 2px solid var(--ink); }
.portrait { margin: 0; max-width: 460px; aspect-ratio: 4 / 5; overflow: hidden; border: 2px solid var(--ink); border-radius: 26px; box-shadow: 0 10px 0 var(--ink); background: var(--paper-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.bubble { break-inside: avoid; margin: 0; position: relative; }
.bubble blockquote { position: relative; margin: 0; padding: 22px 26px; background: var(--paper); border: 2px solid var(--ink); border-radius: 22px; box-shadow: 0 6px 0 var(--ink); font: 600 clamp(21px, 2.3vw, 28px)/1.35 var(--display); letter-spacing: -.01em; }
.bubble blockquote::after { content: ""; position: absolute; left: 30px; bottom: -13px; width: 22px; height: 22px; background: var(--paper); border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: skewX(35deg) rotate(20deg); }
.founder h2 { font-size: clamp(36px, 4vw, 56px); margin-top: 34px; }
.founder__role { margin: 10px 0 0; font-weight: 600; color: var(--ink-soft); }

/* ---------- Not found ---------- */
.nf { min-height: 70svh; }
.nf h1 { max-width: 14ch; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 100px); padding-top: 0; }
.contact h2 { margin-bottom: 20px; font-size: clamp(30px, 3.4vw, 44px); }
.contact__text > p:not(.tag) { font-size: 19px; color: var(--ink-soft); }
.contact__list { margin: 30px 0 0; display: grid; gap: 16px; }
.contact__list dt { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.contact__list dd { margin: 2px 0 0; font-size: 19px; font-weight: 500; }
.contact__list a { display: inline-block; padding: 4px 0; margin: -4px 0; text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.contact__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.form { display: grid; gap: 18px; padding: clamp(24px, 3vw, 40px); background: #fff; border: 2px solid var(--ink); border-radius: 24px; box-shadow: 0 8px 0 var(--ink); align-self: start; scroll-margin-top: 100px; }
.form h2 { font-size: 30px; margin: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form input, .form textarea { width: 100%; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); font-size: 16px; resize: vertical; }
.form ::placeholder, .calc__exact ::placeholder { color: var(--ink-soft); opacity: .85; }
.form [aria-invalid="true"] { border-color: #b13a2b; }
#enquire { scroll-margin-top: 120px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form__status { margin: 0; min-height: 1.4em; font-size: 14px; color: var(--ink-soft); }
.form__status[data-state="ok"] { color: #1f7a72; font-weight: 600; }
.form__status[data-state="err"] { color: #b13a2b; }
.form__fine { margin: 0; font-size: 13px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: #b9bdca; padding: 64px var(--pad) 110px; font-size: 14px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(24px, 5vw, 80px); padding-bottom: 32px; border-bottom: 1px solid #3a4052; margin-bottom: 24px; }
.foot h3 { margin: 0 0 14px; font: 800 14px/1 var(--display); color: var(--paper); text-transform: uppercase; letter-spacing: .08em; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--paper); text-decoration: none; }
.foot ul a, .foot dd a { display: inline-block; padding: 4px 0; margin: -4px 0; }
.foot a:hover { text-decoration: underline; }
.brand--foot { background: transparent; border-color: #5d6378; box-shadow: none; }
.foot__desc { margin: 14px 0 20px; color: #c8cbd6; font-size: 15px; }
.foot__contact { margin: 0; display: grid; gap: 12px; max-width: 360px; }
.foot__contact dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #9aa0b3; }
.foot__contact dd { margin: 2px 0 0; color: var(--paper); font-size: 15px; }
.foot__legal { margin: 20px 0 0; color: #c8cbd6; }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot__bottom p { margin: 0; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .directory { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why__hi { grid-template-columns: 1fr; }
  .why__hi li { padding: 12px 18px; }
  .why__hi svg { width: 44px; height: 50px; }
}
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; min-height: 0; padding: 104px var(--pad) 60px; }
  .hero__copy, .hero__proof { position: static; max-width: none; }
  .hero__proof { order: 3; margin-top: 26px; }
  .city { position: relative; right: auto; bottom: auto; aspect-ratio: auto; width: calc(100% + 2 * var(--pad) - 8px); margin: 34px calc(-1 * var(--pad) + 4px) 0; order: 2; }
  .city svg { height: auto; aspect-ratio: 1120 / 700; }
  .pins { inset: 0 0 auto 0; aspect-ratio: 1120 / 700; }
  .pin { font-size: 0; gap: 0; padding: 4px; }
  .city__hint { position: static; text-align: center; margin-top: 8px; }
  .pin b { font-size: 12px; }
  .card { position: relative; left: auto !important; top: auto !important; right: auto !important; width: auto; margin: 26px 12px 0; }
  .card[hidden] { display: none; }
  .calc__grid, .compare, .band, .page-head, .svc, .vm, .founder, .faq, .contact, .foot__grid { grid-template-columns: 1fr; }
  .faq .sec-head { margin-bottom: 36px; }
  .svc:nth-child(even) .svc__fig { order: 0; }
  .page-head__iso { max-height: 300px; }
  .band__cubes { max-width: 120px; }
  .calc__stack { width: 150px; height: 205px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .stats ul { grid-template-columns: 1fr; row-gap: 28px; }
  .calc__result { grid-template-columns: 1fr; }
  .calc__stack { justify-self: center; }
  .calc__legend { grid-column: 1; justify-content: center; }
  .brand img { height: 32px; }
  .bar__phone { padding: 10px 12px; }
  .bar__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 560px) {
  .directory, .steps { grid-template-columns: 1fr; }
  .hero__ctas .btn, .why__ctas .btn, .calc__ctas .btn, .svc__ctas .btn { flex: 1 1 auto; }
  .lot-card .idx { justify-self: start; }
  .step { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto 1fr; column-gap: 16px; row-gap: 6px; align-items: start; padding: 18px 18px 20px; }
  .step__svg { grid-row: span 3; width: 96px; height: 130px; }
  .step__n { justify-self: start; }
  .step h3 { margin: 0; }
  .svc__svg { height: 200px; }
  .lot-card { display: grid; grid-template-columns: 110px 1fr; grid-template-rows: auto auto 1fr auto; column-gap: 14px; }
  .lot-card svg { grid-row: span 4; height: 120px; }
  .form__row, .calc__exact { grid-template-columns: 1fr; }
  .dock a { padding: 10px 9px; font-size: 13px; }
  .dock a i { display: none; }
  .bar { padding: 12px var(--pad); }
  .bar__cta { padding: 10px 14px; font-size: 14px; }
  .lot { grid-template-columns: repeat(2, 1fr); }
  .lot li { height: 84px; padding: 18px 14px 12px; }
}
@media (max-width: 400px) {
  .dock ul { gap: 2px; }
  .dock a { padding: 10px 8px; font-size: 12.5px; }
}
@media (max-width: 380px) {
  .brand img { height: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  .bld__rise, .tree, .pin { animation: none; }
  .bld__lift, .card, .pin, .shadow, .lot-card, .lot-card__svg g, .reveal { transition-duration: .01ms; }
  .bld.is-on .bld__lift { transform: none; }
  html { scroll-behavior: auto; }
}
