@font-face {
  font-family: Geologica;
  src: url("/assets/geologica-540.woff2") format("woff2");
  font-weight: 540;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Literata;
  src: url("/assets/literata.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Literata;
  src: url("/assets/literata-editorial-ru.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00BF, U+00D7, U+00F7, U+0300-0301, U+0306, U+0308, U+0401, U+0410-044F, U+0451, U+2007-200B, U+2010, U+2012-2015, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2032-2033, U+2039-203A, U+2042, U+2044, U+20AC, U+20BD, U+2116, U+2122, U+2190-2193, U+2212;
}

:root {
  --paper: #eee8dc;
  --ink: #2b2721;
  --secondary: #625849;
  --rule: #c6bcab;
  --dark: #22241f;
  --accent: #83482d;
  --gutter: clamp(1.125rem, 4.6vw, 5.5rem);
  --heading: Literata, Georgia, serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 420 1rem/1.58 Onest, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p, figure, ul { margin: 0; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: .24rem; border-radius: .15rem; }
img { display: block; max-width: 100%; }
h1, h2 { font-optical-sizing: auto; }
.shell {
  width: min(100% - var(--gutter) - var(--gutter), 79rem);
  margin-inline: auto;
}
.skip {
  position: fixed;
  left: var(--gutter);
  top: -6rem;
  padding: .55rem 1rem;
  color: var(--ink);
  background: var(--paper);
  z-index: 3;
}
.skip:focus { top: .5rem; }
.mast, .foot { background: var(--dark); color: #f6f0e4; }
.mast-row, .foot-row, .mast nav, .actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.mast-row, .foot-row { justify-content: space-between; gap: .4rem 1.25rem; }
.mast-row { padding-block: clamp(.8rem, 2vw, 1.8rem); }
.mast nav { gap: clamp(.8rem, 2vw, 2.4rem); }
.mast a, .foot a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; }
.signature { font: 540 clamp(1.25rem, 2.4vw, 2.35rem)/1.1 Geologica, Onest, sans-serif; letter-spacing: -.047em; }
.mast nav a { font-weight: 500; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .7rem;
  margin-block: clamp(.85rem, 2.7vw, 2.8rem) clamp(.8rem, 2.6vw, 2.5rem);
  color: var(--secondary);
  font-size: .94rem;
}
.crumbs a { display: inline-flex; align-items: center; min-height: 2.75rem; }
h1 {
  font: 430 clamp(2.4rem, 5.2vw, 5.05rem)/1.07 var(--heading);
  letter-spacing: -.047em;
  text-wrap: balance;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.lead { max-width: 48ch; color: #484135; font-size: clamp(1.08rem, 1.58vw, 1.45rem); line-height: 1.52; }
.case-cover, .price-cover {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, .94fr);
  column-gap: clamp(2.5rem, 5.2vw, 6.5rem);
  row-gap: 1.75rem;
  padding-block: 0 clamp(2rem, 4.2vw, 4.7rem);
}
.cover-copy .lead { margin-top: clamp(1.15rem, 2.1vw, 2rem); }
.cover-copy .actions, .spread .actions { margin-top: 1.35rem; }
.actions { gap: .45rem 1.15rem; }
.button, .ink-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 530;
  line-height: 1.25;
}
.button {
  justify-content: center;
  padding: .72rem 1.15rem;
  border-radius: .75rem;
  background: var(--dark);
  color: #f6f0e4;
  text-decoration: none;
}
.ink-link { color: var(--accent); text-decoration-thickness: 1px; }
.plate .picture { overflow: hidden; border-radius: .5rem; }
.plate img { width: 100%; height: auto; }
.plate-company .picture {
  background: radial-gradient(ellipse at 48% 60%, #423a2a, #2b2b23 58%, #20231f 100%);
}
.plate-company img { width: 82%; margin-inline: auto; }
.plate-pages .picture { border: 1px solid var(--rule); background: #ded7c6; }
.plate-architecture .picture { aspect-ratio: 6/5; background: #574d3f; }
.plate-architecture img { height: 100%; object-fit: cover; object-position: 50% 93%; }
.plate figcaption { margin-top: .6rem; color: var(--secondary); font-size: .92rem; }
.landing-rate {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .95rem;
  margin-top: clamp(.9rem, 1.8vw, 1.65rem);
  color: var(--secondary);
}
.landing-rate strong {
  color: var(--accent);
  font: 540 clamp(1.6rem, 2.9vw, 2.55rem)/1.12 Geologica, Onest, sans-serif;
  letter-spacing: -.04em;
  white-space: nowrap;
}
.landing-rate + .lead { margin-top: .8rem; }
.order-cover { align-items: start; }
.calling-proof { container-type: inline-size; }
.calling-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(1.05rem, 4cqi, 2rem);
  padding: clamp(1rem, 5.4cqi, 2.45rem);
  border-radius: .65rem;
  color: #f7efe1;
  background: var(--dark);
}
.calling-mark { width: 2.15rem; height: 2.15rem; margin-bottom: clamp(1.2rem, 5cqi, 2.2rem); }
.calling-name {
  font: 445 clamp(1.7rem, 7.2cqi, 3.25rem)/1.06 var(--heading);
  letter-spacing: -.045em;
}
.calling-name span { display: block; }
.calling-job { margin-top: .65rem; font-size: clamp(.93rem, 3cqi, 1.08rem); color: #d4c5b0; line-height: 1.33; }
.calling-qr { display: block; align-self: end; border-radius: .25rem; overflow: hidden; }
.calling-qr img { width: clamp(6.188rem, 24cqi, 8.25rem); height: auto; image-rendering: pixelated; }
.calling-contacts {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0 .8rem;
  border-top: 1px solid #706b5c;
}
.calling-contacts a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.calling-contacts a:first-child { text-decoration: none; }
.calling-contacts a:last-child { color: #edc4a3; text-decoration-thickness: 1px; }
.calling-contacts a:hover { color: #fff6e5; }
.calling-proof figcaption { margin-top: .65rem; color: var(--secondary); font-size: .94rem; line-height: 1.5; }
@container (max-width: 20.5rem) {
  .calling-card { align-items: start; grid-template-columns: minmax(0, 1fr) 6.188rem; gap: .85rem; }
  .calling-person { display: contents; }
  .calling-mark { align-self: start; margin: 0; }
  .calling-qr { grid-column: 2; grid-row: 1 / 3; align-self: start; }
  .calling-name { grid-column: 1 / -1; grid-row: 3; font-size: 1.95rem; }
  .calling-name span { display: inline; }
  .calling-job { grid-column: 1 / -1; grid-row: 4; margin: -.35rem 0 0; }
}
.order-brief {
  padding: clamp(1.15rem, 3vw, 2.6rem);
  border: 1px solid var(--rule);
  border-radius: .75rem;
  background: #f5efe4;
}
.order-brief .ink-link { margin-top: .4rem; }
.order-brief p { margin-top: .35rem; color: var(--secondary); font-size: .94rem; line-height: 1.45; }
.order-brief h2 { margin: 0; font: 450 clamp(1.4rem, 2.3vw, 2rem)/1.16 var(--heading); }
.brief-plans h2 { margin-bottom: 1rem; }
.brief-plans details { border-top: 1px solid var(--rule); }
.brief-plans summary { padding: .8rem .2rem; font-weight: 550; cursor: pointer; }
.brief-plans summary::marker { color: var(--accent); font-size: .8em; }
.brief-plans summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.brief-plans details[open] summary { color: var(--accent); }
.brief-plans details > div { padding: 0 .25rem .45rem; }
.brief-plans details p { margin: 0; font-size: 1rem; }
.practice-offers { list-style: none; margin: 1.35rem 0 0; padding: 0; scroll-margin-top: 1rem; }
.practice-offers li { padding-top: .78rem; border-top: 1px solid var(--rule); }
.practice-rate { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .18rem .75rem; }
.practice-rate h2 { font: 520 clamp(1.12rem, 1.8vw, 1.5rem)/1.2 Geologica, Onest, sans-serif; }
.practice-rate strong { font-size: 1.15rem; color: var(--accent); white-space: nowrap; }
.practice-offers p { margin-top: .3rem; color: var(--secondary); }
.plate-company figcaption .ink-link { display: flex; width: fit-content; }
.company-map .estimate-lines { margin-top: 1.1rem; }
.company-map dt { overflow-wrap: anywhere; }
.company-map .estimate-lines > div:last-child { border-bottom: 0; padding-bottom: 0; }
.estimate-lines { margin: 0; }
.estimate-lines > div, .estimate-total {
  display: grid;
  grid-template-columns: minmax(7rem, .41fr) minmax(0, 1fr);
  gap: .3rem 1.45rem;
}
.estimate-lines > div { border-bottom: 1px solid var(--rule); padding-block: .75rem; }
.estimate-lines > div:first-child { padding-top: 0; }
.estimate-lines dt { color: var(--secondary); font-weight: 520; }
.estimate-lines dd { margin: 0; }
.spread .estimate-total { margin: 0; max-width: none; padding-top: .85rem; align-items: baseline; }
.estimate-total strong { font: 540 1.4rem/1.15 Geologica, Onest, sans-serif; }
.budget-form {
  margin: 1.1rem 0 .25rem;
  padding: clamp(.9rem, 2.2vw, 1.7rem);
  border: 1px solid var(--rule);
  border-radius: .7rem;
  background: #f5efe4;
  container-type: inline-size;
}
.budget-form[hidden], .budget-error[hidden], [data-budget-fallback][hidden] { display: none; }
.budget-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(7rem, .4fr);
  align-items: center;
  gap: .3rem 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}
.budget-field label { font-weight: 550; line-height: 1.3; }
.budget-field input, .budget-field select {
  width: 100%; min-width: 0; min-height: 2.8rem; padding: .5rem .7rem;
  border: 1px solid #918577; border-radius: .4rem;
  color: var(--ink); background: #fffcf6; font: inherit; font-variant-numeric: tabular-nums;
}
.budget-field input { text-align: end; }
.budget-field input:focus-visible, .budget-field select:focus-visible, .budget-period summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.budget-field input[aria-invalid="true"] { border-color: #954226; }
.budget-field small, .budget-period { grid-column: 1 / -1; }
.budget-hint, .spread p.budget-hint, .budget-error { font-size: .94rem; line-height: 1.45; }
.budget-hint { color: var(--secondary); }
.budget-error { color: #893717; }
.budget-period summary { display: list-item; width: fit-content; padding: .65rem .1rem; color: var(--accent); cursor: pointer; }
.budget-period label { display: block; font-size: .94rem; }
.budget-period select { width: 10rem; max-width: 100%; margin-top: .4rem; }
.budget-total { padding-top: 1rem; }
.budget-total output { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .6rem; }
.budget-total output strong { color: var(--accent); font: 550 clamp(1.55rem, 3vw, 2.25rem)/1.1 Geologica, Onest, sans-serif; white-space: nowrap; }
@container (max-width: 23rem) {
  .budget-field { grid-template-columns: 1fr; }
  .budget-field input { text-align: start; }
}
.spread, .more {
  display: grid;
  grid-template-columns: minmax(0, .63fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 6vw, 6.5rem);
  row-gap: .85rem;
  border-top: 1px solid var(--rule);
  padding-block: clamp(1.4rem, 3.25vw, 3.4rem);
}
.spread h2, .more h2 {
  max-width: 23ch;
  font: 440 clamp(1.55rem, 2.8vw, 2.65rem)/1.17 var(--heading);
  letter-spacing: -.037em;
  text-wrap: balance;
}
.spread p { max-width: 56ch; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); }
.spread p + p { margin-top: .72em; }
.conclusion { padding-bottom: clamp(2rem, 4vw, 4rem); }
.price-cover .lead { max-width: 47ch; }
.format-row {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1.03fr) minmax(0, .72fr);
  column-gap: clamp(1rem, 3vw, 4rem);
  row-gap: .9rem;
  padding-block: clamp(1.35rem, 2.65vw, 2.65rem);
  border-top: 1px solid var(--rule);
}
.format-row h2 { font: 540 clamp(1.35rem, 2.25vw, 2.25rem)/1.12 Geologica, Onest, sans-serif; letter-spacing: -.042em; }
.scenario, .quote p { margin-top: .55rem; color: var(--secondary); }
.scenario { max-width: 34ch; }
.scope { padding-left: 1.1rem; }
.scope li + li { margin-top: .2rem; }
.scope li::marker { color: #936747; font-size: .75em; }
.quote { text-align: right; }
.quote strong {
  display: block;
  font: 540 clamp(1.55rem, 2.65vw, 2.7rem)/1.05 Geologica, Onest, sans-serif;
  letter-spacing: -.045em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.quote .ink-link { margin-top: .12rem; }
.foot-row { padding-block: 1.3rem 1.55rem; }
.foot-row a:last-child { color: #dbccb7; }
.more a { display: block; width: fit-content; padding: .45rem 0; min-height: 2.75rem; color: var(--accent); }

@media (hover: hover) {
  a:hover { color: var(--accent); }
  .button:hover { color: #fff6e5; background: #473a2a; }
  .mast a:hover, .foot a:hover { color: #e4b28e; }
  .more a:hover, .ink-link:hover { color: #522b19; }
}
@media (max-width: 52rem) {
  .case-cover { grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); gap: 1.5rem; }
  .spread, .more { grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); }
  .price-cover { column-gap: 1.8rem; }
}
@media (max-width: 40rem) {
  .case-cover, .price-cover, .more, .spread, .format-row { grid-template-columns: minmax(0, 1fr); }
  .crumbs { margin-block: .45rem .65rem; }
  .case-cover { gap: 1.25rem; }
  .price-cover { gap: 1rem; }
  .mast-row { gap: 0 .9rem; }
  .mast nav { gap: 1rem; }
  h1 { font-size: clamp(2.2rem, 8.6vw, 3.6rem); }
  .plate-company .picture { max-height: none; }
  .plate-architecture .picture { aspect-ratio: 2.15/1; }
  .quote { display: flex; flex-wrap: wrap; align-items: baseline; text-align: left; gap: .45rem 1rem; }
  .quote strong { font-size: 1.6rem; }
  .quote p, .quote .ink-link { margin: 0; }
  .quote .ink-link { flex-basis: 100%; }
  .scenario { max-width: 44ch; }
  .foot-row { gap: 0 .8rem; }
}
@media (max-width: 25rem) {
  .estimate-lines > div { display: block; }
  .estimate-lines dt { margin-bottom: .2rem; }
  .estimate-total { grid-template-columns: auto 1fr; gap: 1rem; }
}
