@font-face{font-family:Manrope;src:url(media/manrope-ru.woff2) format("woff2");font-weight:400 800;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Manrope;src:url(media/manrope-latin.woff2) format("woff2");font-weight:400 800;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Roboto Condensed";src:url(media/condensed-ru.woff2) format("woff2");font-weight:600 900;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Roboto Condensed";src:url(media/condensed-latin.woff2) format("woff2");font-weight:600 900;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root {
  --paper: #f3efe7;
  --panel: #faf7f0;
  --ink: #181714;
  --muted: #5d574f;
  --red: #b52216;
  --red-hover: #911a11;
  --rule: #a9a097;
  --display: "Roboto Condensed", "Arial Narrow", sans-serif;
  --headline: Impact, "Roboto Condensed", "Arial Narrow", sans-serif;
  --inset: clamp(22px, 3.15vw, 55px);
  font-family: Manrope, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
  line-height: 1.5;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 22px; }
body { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .23em; }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, h3, p, dl, dd { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #2674c8; outline-offset: 5px; }
::selection { color: #fff; background: var(--red); }
.shell { width: min(calc(100% - var(--inset) * 2), 1440px); margin-inline: auto; }
.skip { position: absolute; z-index: 4; top: 8px; left: 8px; padding: 12px; background: var(--panel); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.note { color: var(--muted); font-size: .84rem; line-height: 1.55; }

.masthead {
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--ink);
}
.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -.04em;
}
.monogram {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--red);
  color: #fff;
  font: 900 1.58rem/1 var(--display);
  letter-spacing: -.05em;
}
nav { display: flex; gap: clamp(20px, 3.3vw, 54px); }
nav a { text-decoration: none; font-size: 1rem; font-weight: 750; white-space: nowrap; }
nav a:hover, .footer a:hover, .text-link:hover { color: var(--red); }
.masthead-cta { justify-self: end; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 19px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  text-decoration: none;
  text-align: center;
  font-weight: 800;
  line-height: 1.2;
}
.outline { border-color: currentColor; }
.outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.primary { background: var(--red); border-color: var(--red); color: #fff; }
.primary:hover { background: var(--red-hover); border-color: var(--red-hover); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 17px 28px; }
.text-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}

.hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px, 3.4vw, 60px); padding-block: 35px 39px; align-items: center; }
.hero-copy { padding-bottom: 26px; }
.role {
  margin-bottom: .48em;
  color: var(--red);
  font: 900 clamp(1.28rem, 2.45vw, 2.4rem)/1 var(--display);
  text-transform: uppercase;
}
h1 {
  position: relative;
  font: 900 clamp(5.8rem, 14.1vw, 13.5rem)/.87 var(--headline);
  text-transform: uppercase;
  letter-spacing: -.022em;
  font-synthesis: none;
}
h1 > span { display: block; width: max-content; transform: scaleX(.91); transform-origin: left; }
.heading-accent::after {
  content: "";
  display: inline-block;
  width: .13em;
  height: .13em;
  margin-left: .065em;
  border-radius: 50%;
  background: var(--red);
}
h1 .heading-accent::after { width: .145em; height: .16em; margin-left: .035em; border-radius: 0; }
.mortgage .heading-accent::after { background: #ed7463; }
.marker {
  display: block;
  width: min(70%, 455px);
  height: 18px;
  margin: 17px 0 18px;
  background: var(--red);
  clip-path: polygon(0 76%, 5% 56%, 15% 42%, 27% 25%, 41% 9%, 57% 4%, 75% 10%, 89% 22%, 100% 54%, 88% 41%, 74% 34%, 57% 32%, 40% 38%, 23% 56%, 8% 79%, 2% 97%);
  transform: rotate(-1deg);
}
.intro { font-size: clamp(1.05rem, 1.69vw, 1.66rem); font-weight: 650; line-height: 1.4; letter-spacing: -.039em; }
.hero .actions { margin-top: clamp(20px, 2.4vw, 38px); gap: 17px clamp(18px, 2.55vw, 40px); font-size: clamp(1rem, 1.29vw, 1.27rem); }
.hero .primary { padding-inline: clamp(16px, 2.4vw, 37px); min-height: 57px; }
.hero-photo img { aspect-ratio: 1.032; object-fit: cover; object-position: 50% 47%; background: #742f25; }

.market { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); padding-block: 24px 19px; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.metrics div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 5px; padding-inline: clamp(18px, 3vw, 48px); border-left: 1px solid var(--rule); }
.metrics div:first-child { padding-left: 0; border-left: 0; }
.metrics div:last-child { padding-right: 0; }
.metrics dd { font: 900 clamp(1.65rem, 4.25vw, 4rem)/1 var(--display); letter-spacing: -.055em; }
.metrics dt { font-size: clamp(.9rem, 1.3vw, 1.15rem); line-height: 1.4; }
.market .note { margin-top: 16px; }

.section { padding-block: clamp(61px, 8vw, 121px); }
h2 { font: 900 clamp(3.25rem, 7.3vw, 7.1rem)/.9 var(--display); letter-spacing: -.061em; }
.section p:not(.note) { max-width: 48ch; }
.about {
  display: grid;
  grid-template-columns: minmax(0,.75fr) minmax(0,1fr);
  align-items: center;
  gap: clamp(30px, 8vw, 128px);
  padding-inline: clamp(0px, 4.5vw, 70px);
  border-bottom: 1px solid var(--rule);
}
.about-photo img { aspect-ratio: 1.03; object-fit: cover; object-position: 50% 41%; }
.about-copy .quote { margin-top: 24px; font-size: clamp(1.17rem, 2.12vw, 1.95rem); font-weight: 750; line-height: 1.35; letter-spacing: -.04em; }
.about-copy p + p { margin-top: 17px; color: var(--muted); }
.about-copy .actions { margin-top: 24px; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 32px; }
.catalog { display: flex; justify-content: space-between; align-items: center; gap: 26px; border-block: 1px solid var(--rule); margin: 32px 0 40px; padding: clamp(22px, 3vw, 40px) 0; }
.catalog p { margin-top: 10px; color: var(--muted); }
.catalog-actions { display: grid; justify-items: start; gap: 8px; flex-shrink: 0; }
.catalog-actions .text-link, .contact-selection { display: inline-flex; align-items: center; min-height: 44px; }
.catalog-link { gap: .7em; }
.catalog-link span { font-size: .7em; letter-spacing: .035em; border-left: 1px solid rgb(255 255 255 / 55%); padding-left: .7em; }
.filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filters button { min-height: 44px; padding: 7px 14px; background: transparent; border: 1px solid var(--rule); font-weight: 750; }
.filters button[aria-pressed="true"] { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.filters button:hover:not([aria-pressed="true"]) { border-color: var(--ink); }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(20px, 3vw, 46px); }
.project-image { display: block; position: relative; background: #c6b7a5; overflow: hidden; }
.project-image img { aspect-ratio: 1.65; object-fit: cover; }
.project-image span { position: absolute; left: 0; bottom: 0; padding: 7px 13px; background: var(--paper); font-size: .85rem; font-weight: 800; }
.project-copy { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--rule); padding-block: 15px 18px; }
h3 { font: 900 clamp(1.62rem, 2.6vw, 2.55rem)/1 var(--display); letter-spacing: -.035em; }
.project-copy p { margin-top: 6px; color: var(--muted); }
.project-copy .text-link { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.project-sources { display: flex; flex-wrap: wrap; gap: 5px 16px; margin-top: 16px; }

.mortgage { background: #22201d; color: var(--paper); }
.mortgage-inner {
  display: grid;
  grid-template-columns: minmax(0,.98fr) minmax(0,1fr);
  gap: clamp(30px, 7vw, 110px);
  align-items: start;
  padding-block: clamp(62px, 8vw, 120px);
}
.edition { margin-bottom: 16px; color: #f19585; font-size: .95rem; font-weight: 800; }
.mortgage-copy > p:not(.edition) { max-width: 39ch; margin-block: 24px 28px; font-size: clamp(1rem, 1.46vw, 1.35rem); }
details { border-top: 1px solid #746d62; }
details:last-of-type { border-bottom: 1px solid #746d62; }
summary { padding-block: 14px; cursor: pointer; font-weight: 800; }
details p { max-width: 55ch; padding-bottom: 17px; color: #e1d7c9; }
.mortgage .source { display: inline-block; margin-top: 18px; font-size: .85rem; color: #f19585; }
.calculator { background: var(--panel); color: var(--ink); padding: clamp(20px, 3.25vw, 48px); min-width: 0; }
.calculator h3 { margin-bottom: 23px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: .94rem; font-weight: 800; }
.form-row label { display: flex; flex-direction: column; justify-content: space-between; }
input:not([type="range"]), select, textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 6px;
  padding: 8px 11px;
  background: transparent;
  border: 1px solid #8e8579;
  border-radius: 0;
  font-size: 1rem;
  font-weight: 650;
}
select {
  appearance: none;
  padding-right: 30px;
  background-image: linear-gradient(45deg,transparent 50%,var(--ink) 50%),linear-gradient(135deg,var(--ink) 50%,transparent 50%);
  background-position: calc(100% - 16px) 51%, calc(100% - 11px) 51%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
select option { background: var(--panel); }
.range-field { margin-top: 16px; }
.range-field > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.range-field span { text-align: right; white-space: nowrap; font-weight: 800; font-size: .96rem; font-variant-numeric: tabular-nums; }
input[type="range"] { display: block; width: 100%; margin: 4px 0 0; height: 29px; accent-color: var(--red); cursor: pointer; }
.estimate { margin-top: 18px; border-top: 1px solid var(--rule); padding-block: 17px 19px; }
.estimate-label, #estimate-meta { color: var(--muted); }
#payment { display: block; color: var(--red); font: 900 clamp(2.3rem, 5.3vw, 5.25rem)/1.08 var(--display); letter-spacing: -.048em; }
.estimate.is-unavailable #payment { font-size: clamp(2rem, 4vw, 3.5rem); }
#estimate-meta { margin-top: 5px; font-size: .92rem; }
.calc-note { margin-top: 13px; }

.contact { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr); grid-template-areas: "photo copy" "photo options"; gap: 24px clamp(28px, 6.2vw, 104px); }
.contact-photo { grid-area: photo; align-self: center; }
.contact-photo img { aspect-ratio: 1.23; object-fit: cover; object-position: 50% 79%; }
.contact-copy { grid-area: copy; align-self: end; }
.contact-copy p { margin-top: 21px; }
.contact-selection { margin-top: 5px; }
.contact-options { grid-area: options; align-self: start; border-top: 1px solid var(--rule); }
.contact-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 19px; border-bottom: 1px solid var(--rule); }
.contact-option h3 { font-size: clamp(1.5rem, 2.2vw, 2.05rem); }
.contact-option p { margin-top: 6px; color: var(--muted); font-size: .95rem; }
.contact-option .button { flex: none; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 86px; padding-block: 18px; border-top: 1px solid var(--ink); }
.footer > div { display: flex; gap: 18px; }
.footer a:not(.brand) { font-weight: 750; }

dialog { width: min(calc(100% - 28px), 590px); max-height: calc(100% - 26px); overflow: auto; padding: clamp(18px, 5vw, 40px); border: 1px solid var(--ink); color: var(--ink); background: var(--panel); }
dialog::backdrop { background: rgb(22 15 12 / 74%); }
.dialog-close { position: absolute; top: 9px; right: 9px; }
.dialog-close button { display: grid; place-items: center; min-width: 42px; height: 42px; border: 1px solid currentColor; background: var(--panel); font: 400 1.6rem/1 sans-serif; }
dialog h2 { font-size: clamp(2.3rem, 7vw, 3.4rem); margin: 0 32px 10px 0; }
dialog .form-row, dialog .actions, #lead-form > label, #lead-preview { margin-top: 18px; }
#lead-preview { border-color: var(--rule); }
#lead-preview summary { padding-block: 9px; }
#lead-preview textarea { margin: 0 0 10px; }
#lead-note, #copy-status { color: var(--muted); }
#copy-status:empty { display: none; }
#copy-status { margin-top: 10px; }
textarea { resize: vertical; }
.video-dialog { width: auto; max-width: min(92vw, 900px); padding: 0; border: 0; background: #151413; }
.video-dialog .dialog-close { z-index: 1; }
.video-dialog video { display: block; max-width: 100%; max-height: 85vh; }

@media (max-width: 1090px) {
  .masthead { gap: 13px; }
  nav { gap: 16px; }
  .hero { gap: 22px; }
  .hero-copy { padding-bottom: 13px; }
  .intro br { display: none; }
  .hero .primary { min-height: 48px; }
  .marker { height: 12px; margin-block: 13px; }
  .contact-option { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (max-width: 850px) and (min-width: 741px) {
  nav a { font-size: .9rem; }
  .masthead-cta { font-size: .9rem; padding-inline: 12px; white-space: nowrap; }
}
@media (max-width: 740px) {
  .masthead { min-height: 0; grid-template-columns: 1fr auto; grid-template-rows: 62px auto; gap: 0 9px; }
  .brand { font-size: 1.07rem; gap: 7px; }
  .monogram { width: 35px; height: 35px; font-size: 1.32rem; }
  .masthead-cta { font-size: .85rem; min-height: 41px; padding-inline: 10px; }
  nav { grid-row: 2; grid-column: 1 / -1; gap: 5px 12px; justify-content: space-between; border-top: 1px solid var(--rule); }
  nav a { display: inline-flex; min-height: 45px; align-items: center; font-size: .86rem; }
  .hero { grid-template-columns: minmax(0,1fr); gap: 23px; padding-block: 27px 20px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(4.7rem, 20vw, 9.2rem); }
  .role { font-size: clamp(1.15rem, 4.5vw, 1.9rem); margin-bottom: .65em; }
  .hero .intro { font-size: 1.05rem; }
  .hero .actions { margin-top: 19px; gap: 13px 17px; font-size: .93rem; }
  .hero .actions .text-link, .about-copy .actions .text-link { display: inline-flex; align-items: center; min-height: 44px; }
  .hero .primary { min-height: 45px; padding-inline: 12px; }
  .hero-photo img { aspect-ratio: 1.13; object-position: 50% 46%; }
  .metrics { grid-template-columns: 1fr; }
  .metrics div, .metrics div:first-child, .metrics div:last-child { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 12px; padding: 9px 0; border: 0; }
  .metrics div + div { border-top: 1px solid var(--rule); }
  .metrics dd { grid-column: 1; grid-row: 1; font-size: clamp(1.55rem, 6.7vw, 2.55rem); }
  .metrics dt { grid-column: 2; grid-row: 1; font-size: .85rem; }
  .market { padding-block: 11px 14px; }
  .market .note { margin-top: 11px; }
  .section-head, .about, .mortgage-inner, .contact { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; }
  .contact { grid-template-areas: "copy" "options" "photo"; }
  .catalog { display: grid; gap: 15px; margin: 24px 0 30px; }
  .about { padding-inline: 0; }
  .about-photo { grid-row: 2; }
  .about-photo img { aspect-ratio: 1.3; }
  .section-head { margin-bottom: 20px; }
  .project-grid { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .mortgage-copy > p:not(.edition) { margin-block: 16px 18px; }
  .footer { flex-wrap: wrap; column-gap: 12px; font-size: .86rem; }
}
@media (max-width: 360px) {
  :root { --inset: 16px; }
  nav a { font-size: .79rem; }
  .calculator { padding-inline: 15px; }
  .range-field span { font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.analytics-notice { position: fixed; z-index: 5; bottom: max(12px, env(safe-area-inset-bottom)); left: var(--inset); width: min(435px, calc(100% - 2 * var(--inset))); padding: 14px 18px; border: 1px solid var(--rule); background: var(--panel); color: var(--ink); box-shadow: 0 3px 18px #18171424; }
.analytics-notice p { font-size: .87rem; line-height: 1.4; }
.analytics-notice > div { display: flex; gap: 8px; margin-top: 10px; }
.analytics-notice .button { min-height: 44px; flex: 1; font-size: .9rem; }

.footer > .footer-guides { flex-wrap: wrap; gap: 8px 18px; }
.guide-masthead { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto; }
.guide { max-width: 860px; padding-block: clamp(24px, 5vw, 56px) clamp(48px, 8vw, 96px); }
.guide-back { color: var(--muted); font-weight: 750; }
.guide-opening { padding-block: clamp(20px, 4vw, 42px) clamp(26px, 5vw, 54px); }
.guide-opening h1 {
  max-width: 13ch;
  font: 900 clamp(2.7rem, 8vw, 6.1rem)/.98 var(--display);
  text-transform: none;
  overflow-wrap: anywhere;
}
.guide-opening p { max-width: 56ch; margin-top: 20px; font-size: clamp(1.02rem, 2.2vw, 1.24rem); }
.guide-opening .actions, .guide-next .actions { margin-top: 20px; }
.guide article > section { border-top: 1px solid var(--rule); padding-block: clamp(22px, 4vw, 38px); }
.guide h2 { font: 850 clamp(1.85rem, 4.5vw, 2.75rem)/1.07 var(--display); text-transform: none; }
.guide section p { max-width: 65ch; margin-top: 14px; }
.guide-checklist { display: grid; gap: 18px; margin-top: 18px; }
.guide-checklist div { display: grid; grid-template-columns: minmax(8rem, .35fr) minmax(0, 1fr); gap: 12px 24px; }
.guide-checklist dt { font-weight: 850; }
.guide-checklist dd { max-width: 53ch; }
.guide-table { width: min(100%, 600px); margin-top: 18px; border-collapse: collapse; text-align: left; }
.guide-table caption { margin-bottom: 8px; color: var(--muted); font-size: .86rem; text-align: left; }
.guide-table th, .guide-table td { padding: .65em .55em; border-bottom: 1px solid var(--rule); }
.guide-table thead { background: var(--panel); }
.guide-table td { font-variant-numeric: tabular-nums; }
.guide-table td:nth-child(2) { color: var(--red); font-weight: 800; }
.guide article > .guide-next { border-bottom: 1px solid var(--rule); }
@media (max-width: 740px) { .guide-masthead { min-height: 62px; } }
@media (max-width: 450px) { .guide-checklist div { grid-template-columns: 1fr; gap: 2px; } }
