
@font-face {
  font-family: 'Literature Decor';
  src: url('fonts/Literature-Decor.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'OsvaldLightC';
  src: url('fonts/OsvaldLightC.woff2') format('woff2'),
       url('fonts/osvaldlightc.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream:  rgb(246, 236, 223);
  --brown:  rgb(70, 60, 54);
  --gray:   rgb(120, 120, 120);
  --ink:    rgb(30, 30, 30);
  --card:   rgb(255, 252, 246);
  --line:   rgba(70, 60, 54, 0.28);
  --hair:   rgba(70, 60, 54, 0.15);
  --footer-bg: rgb(42, 41, 41);
  --footer-muted: rgb(150, 146, 144);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  font-family: 'OsvaldLightC', sans-serif;
  font-weight: 300;
  color: var(--brown);
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }
input { font: inherit; border: none; background: none; }

.page {
  width: 100%; background: var(--cream);
  overflow: hidden;
  overflow: clip;
  --cw: min(89.74%, 620px);
  --ct: min(87.69%, 606px);
  --pad: max(20px, calc((100% - 620px) / 2));
}
.sec { position: relative; width: 100%; }
.sec + .sec { margin-top: 28px; }

.only-phone { display: none; }

.hero {
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  gap: 32px;
  padding: 63px 0 43px;
}

.burger {
  position: absolute;
  top: 24px; right: 20px;
  width: 24px; height: 18px;
  cursor: pointer;
  z-index: 210;
}
.burger span {
  position: absolute; left: 0;
  width: 24px; height: 2px;
  background: #463c36; border-radius: 1px;
  transition: background 0.2s ease;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 8px; }
.burger span:nth-child(3) { top: 16px; }

.menu-is-open .burger span { background: var(--cream); }

.site-menu {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px;
  background: var(--footer-bg);
  clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%);
  pointer-events: none;
}
.site-menu.is-open { pointer-events: auto; }
.site-menu__item {
  font-family: 'OsvaldLightC', sans-serif; font-weight: 300;
  font-size: clamp(22px, 6vw, 36px); line-height: 1.3em;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.site-menu__item:focus-visible { opacity: 1; }

.site-menu__item::before,
.site-menu__item::after {
  content: '[';
  display: inline-block;
  margin-right: 0.35em;
  transition: transform 0.3s, opacity 0.3s;
}
.site-menu__item::after { content: ']'; margin-right: 0; margin-left: 0.35em; }
.site-menu__item:focus-visible::before,
.site-menu__item:focus-visible::after { opacity: 0.5; }
.site-menu__item:focus-visible::before { transform: translateX(-5px); }
.site-menu__item:focus-visible::after { transform: translateX(5px); }

@media (hover: hover) {
  .site-menu__item:hover { opacity: 1; }
  .site-menu__item:hover::before,
  .site-menu__item:hover::after { opacity: 0.5; }
  .site-menu__item:hover::before { transform: translateX(-5px); }
  .site-menu__item:hover::after { transform: translateX(5px); }
}

.hero-cta {
  position: static; transform: none; order: 4; flex: none;
  width: var(--ct); height: 55px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid #463c36; color: var(--brown);
  font-size: 16px; letter-spacing: 2px; text-transform: uppercase;
}

.hero-sub {
  position: static; transform: none; flex: none; order: 1;
  width: var(--ct);
  font-size: 25px; line-height: 1.25em; letter-spacing: -0.2px;
  color: var(--ink);
}

.hero-title {
  position: static; transform: none; flex: none; order: 3;
  width: var(--ct);
  font-family: 'Literature Decor', serif;
  font-weight: 400;
  font-size: clamp(58px, 14.87vw, 84px); line-height: 1.02em; letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--brown);
}

.hero-photo {
  position: relative; transform: none; order: 2;
  width: var(--cw); height: auto; aspect-ratio: 350 / 403;
  flex: 0 1 auto; min-height: 0;
  max-height: 52vh; max-height: 52svh;
  overflow: hidden;
}
.hero-shot { position: absolute; inset: 0; display: none; }
.hero-shot.is-on { display: block; }

.about {
  background: var(--cream); overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  gap: 50px; padding: 50px 0 27px;
}
.ab-head {
  position: relative; width: var(--cw);
  display: flex; justify-content: space-between; align-items: flex-start;
}

.ab-num {
  position: static;
  font-size: 70px; line-height: 1.2em; letter-spacing: 0.02em;
  color: var(--brown);
}
.ab-label {
  position: static; width: auto; padding-top: 23px;
  font-family: 'Literature Decor', serif; font-weight: 400;
  font-size: 32px; line-height: 1.2em;
  color: var(--gray);
}
.ab-photo { position: static; overflow: hidden; width: var(--cw); }
.ab-photo-1 { aspect-ratio: 350 / 425; order: 1; }
.ab-photo-2 { aspect-ratio: 350 / 424; order: 3; }

.ab-text-1 {
  position: static; transform: none; order: 2;
  width: var(--ct);
  font-size: 20px; line-height: 1.1em; color: var(--brown);
}
.ab-text-1 p + p { margin-top: 1.1em; }

.ab-text-2 {
  position: static; transform: none; order: 4;
  width: var(--ct);
  font-size: 20px; line-height: 1.1em; color: var(--brown);
}

.ab-cta {
  position: static; transform: none; order: 5;
  width: var(--ct); height: 55px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--brown); color: var(--cream);
  font-size: 18px; letter-spacing: 2px; text-transform: uppercase;
}

.services {
  background: var(--cream);
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 28px; padding: 60px var(--pad);
  overflow: hidden;
  overflow: clip;
}
.sv-stage { display: contents; }
.sv-num {
  width: 100%; text-align: right;
  font-size: 70px; line-height: 1.2em; letter-spacing: 0.02em;
  color: var(--brown);
}
.sv-label {
  width: 100%; text-align: right;
  font-family: 'Literature Decor', serif; font-weight: 400;
  font-size: 32px; line-height: 1.2em;
  color: var(--gray);
}

.sv-gallery { position: relative; width: 100%; aspect-ratio: 350 / 423; height: auto; }
.sv-photo { position: absolute; overflow: hidden; }
.sv-photo-main { left: 0;      top: 0;      width: 100%;    height: 54.85%; }
.sv-photo-a    { left: 0;      top: 57.21%; width: 48.57%;  height: 42.79%; }
.sv-photo-b    { left: 51.43%; top: 57.21%; width: 48.57%;  height: 42.79%; }

.sv-price {
  width: 100%;
  font-family: 'Literature Decor', serif; font-weight: 400;
  font-size: 28px; line-height: 1em;
  color: var(--brown);
}
.sv-price-group {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  vertical-align: top;
}
.sv-price-slash {
  color: var(--gray);
  vertical-align: top;
}
.sv-price-unit {
  font-family: 'OsvaldLightC', sans-serif; font-weight: 300;
  font-size: 0.4em;
  line-height: 1.4em;
  color: var(--gray);
  letter-spacing: 0.02em;
}

.sv-list { position: relative; width: 100%; height: 501px; }
.sv-row {
  position: absolute; left: 0; width: 100%; height: 73px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.sv-row:focus-visible { outline: 1px solid var(--brown); outline-offset: -1px; }
.sv-row:nth-child(1) { top: 0; }
.sv-row:nth-child(2) { top: 73px; }
.sv-row:nth-child(3) { top: 146px; height: 72px; }
.sv-row:nth-child(4) { top: 218px; }
.sv-row:nth-child(5) { top: 291px; }
.sv-row:nth-child(6) { top: 364px; }
.sv-row:nth-child(7) { top: 437px; height: 64px; }

.sv-idx {
  position: absolute; left: 0; top: 20px;
  font-family: 'Literature Decor', serif; font-weight: 400;
  font-size: 18px; line-height: 1.2em; color: var(--gray);
}
.sv-row:nth-child(7) .sv-idx { top: 16px; }
.sv-name {
  position: absolute; top: 16px;
  font-family: 'Literature Decor', serif; font-weight: 400;
  font-size: 21px; line-height: 1.2em; color: var(--gray);
  white-space: nowrap;
}
.sv-row:nth-child(1) .sv-name { left: 46px; }
.sv-row:nth-child(2) .sv-name,
.sv-row:nth-child(3) .sv-name,
.sv-row:nth-child(4) .sv-name,
.sv-row:nth-child(6) .sv-name { left: 53px; }
.sv-row:nth-child(5) .sv-name { left: 51px; font-size: 18px; }
.sv-row:nth-child(6) .sv-name { font-size: 20px; }
.sv-row:nth-child(7) .sv-name { left: 52px; font-size: 18px; }
.sv-row.is-active .sv-idx,
.sv-row.is-active .sv-name { color: var(--brown); }
@media (hover: hover) {
  .sv-row:hover .sv-idx,
  .sv-row:hover .sv-name { color: var(--brown); }
}

.sv-desc {
  width: 100%; height: 110px;
  font-size: 21px; line-height: 1.15em; color: var(--brown);
}

.portfolio {
  background: var(--brown); overflow: hidden;
  display: flex; flex-direction: column;
  padding: 54px var(--pad) 30px;
}
.pf-title {
  font-family: 'Literature Decor', serif; font-weight: 400;
  font-size: 47px; line-height: 1.2em;
  color: var(--cream);
  text-align: right;
}
.pf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 33px;
}
.pf-photo { position: relative; overflow: hidden; min-height: 0; }
.pf-photo img { position: absolute; inset: 0; }
.pf-1 { grid-column: 1 / 3; aspect-ratio: 350 / 467; }
.pf-2 { grid-column: 1 / 3; aspect-ratio: 350 / 269; }
.pf-3 { grid-column: 1; aspect-ratio: 168 / 255; }
.pf-4 { grid-column: 2; aspect-ratio: 168 / 255; }
.pf-link {
  align-self: flex-end; margin-top: 30px;
  font-size: 16px; line-height: 1.2em; color: var(--cream);
}

.order {
  background: var(--cream);
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 28px; padding: 60px var(--pad);
  overflow: hidden;
}
.or-title-1, .or-title-2 {
  width: 100%;
  font-family: 'Literature Decor', serif; font-weight: 400;
  font-size: 47px; line-height: 0.94em;
  color: var(--brown);
}
.or-title-2 { text-align: right; }
.or-sub {
  width: 100%;
  font-size: 18px; line-height: 1.15em; color: var(--gray);
}
.or-title-1 { order: -3; }
.or-title-2 { order: -2; }
.or-sub     { order: -1; }

.or-steps {
  position: relative; width: 100%; height: 64px;
  --dot: 24px;
  --edge: 8.571%;
}
.or-line {
  position: absolute; top: calc(var(--dot) / 2 - 0.5px);
  height: 1px; background: rgba(70, 60, 54, 0.25);
}
.or-line-1 { left: calc(var(--edge) + var(--dot)); right: calc(50% + var(--dot) / 2); }
.or-line-2 { left: calc(50% + var(--dot) / 2); right: calc(var(--edge) + var(--dot)); }
.or-dot {
  position: absolute; top: 0;
  width: var(--dot); height: var(--dot); border-radius: 50%;
  border: 1.5px solid var(--brown);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; line-height: 1.2em; color: var(--brown);
}
.or-dot-1 { left: var(--edge); }
.or-dot-2 { left: 50%; transform: translateX(-50%); }
.or-dot-3 { left: auto; right: var(--edge); }
.or-dot.is-filled { background: var(--brown); border-color: var(--brown); color: var(--cream); }
.or-step-label {
  position: absolute; top: calc(var(--dot) + 8px);
  font-size: 11px; line-height: 1.2em; text-align: center; color: var(--gray);
}
.or-lb-1 { left: calc(var(--edge) + var(--dot) / 2); transform: translateX(-50%); width: 84px; }
.or-lb-2 { left: 50%; transform: translateX(-50%); width: 110px; }
.or-lb-3 { left: auto; right: calc(var(--edge) + var(--dot) / 2); transform: translateX(50%); width: 84px; }

.or-form {
  width: 100%;
  background: var(--card); border: 1px solid var(--hair);
  display: flex; flex-direction: column; gap: 20px; padding: 28px;
}
.fld { display: flex; flex-direction: column; gap: 8px; }
.fld-label {
  font-size: 13px; letter-spacing: 0.5px; line-height: 1.2em;
  text-transform: uppercase; color: var(--gray);
}
.fld input {
  width: 100%; padding: 10px 0;
  border-bottom: 1px solid rgba(70, 60, 54, 0.3);
  font-size: 16px; line-height: 1.2em; color: var(--brown);
  transition: border-color 0.2s ease;
}
.fld input:focus { outline: none; border-bottom-color: var(--brown); }
.fld input::placeholder { color: rgba(70, 60, 54, 0.35); }
.fld-note { font-size: 13px; line-height: 1.4em; color: var(--gray); }

.or-child-row { display: flex; align-items: center; gap: 10px; }
.or-child-row input { flex: 1; min-width: 0; }
.or-child-remove {
  flex: none; width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 1em; color: var(--gray);
}
.or-child-remove:hover { color: var(--brown); }
.or-add-child {
  align-self: flex-start;
  font-size: 13px; line-height: 1.2em; color: var(--gray);
}
.or-add-child:hover { color: var(--brown); }
.oc-open { display: inline-flex; align-items: center; gap: 6px; }
.oc-count { color: var(--brown); }

body.oc-lock { overflow: hidden; }
.oc {
  position: fixed; inset: 0; z-index: 110;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.oc[hidden] { display: none; }
.oc-back { position: absolute; inset: 0; background: rgba(24, 20, 18, 0.6); }
.oc-win {
  position: relative; z-index: 1;
  width: min(420px, 100%); max-height: 100%; overflow-y: auto;
  background: var(--card); border: 1px solid var(--hair);
  display: flex; flex-direction: column; gap: 16px;
  padding: 14px 24px 24px;
}
.oc-head {
  flex: none; display: flex; justify-content: flex-end;
  margin: 0 -24px; padding: 0 24px;
}
.oc-x {
  position: relative; flex: none; width: 32px; height: 32px;
  color: var(--brown);
}
.oc-x::before, .oc-x::after {
  content: ""; position: absolute; left: 6px; top: 15px;
  width: 20px; height: 1.5px; background: currentColor;
}
.oc-x::before { transform: rotate(45deg); }
.oc-x::after  { transform: rotate(-45deg); }
.oc-rows { display: flex; flex-direction: column; gap: 12px; }
.oc-rows .fld input { padding: 10px 0; }
.oc-rows input {
  width: 100%; padding: 10px 0;
  border-bottom: 1px solid rgba(70, 60, 54, 0.3);
  font-size: 16px; line-height: 1.2em; color: var(--brown);
}
.oc-rows input:focus { outline: none; border-bottom-color: var(--brown); }
.oc-rows input::placeholder { color: rgba(70, 60, 54, 0.35); }
.oc-done {
  width: 100%; height: 48px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--brown); color: var(--cream);
  font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
}

@media (max-width: 809.98px) {
  .oc { padding: 12px; }
  .oc-win { padding: 12px 18px 18px; }
  .oc-head { margin: 0 -18px; padding: 0 18px; }
}

.ac-box {
  position: absolute; z-index: 300;
  background: var(--card); border: 1px solid var(--hair);
  box-shadow: 0 10px 28px rgba(24, 20, 18, 0.14);
  max-height: 240px; overflow-y: auto;
}
.ac-box[hidden] { display: none; }
.ac-item {
  padding: 10px 12px;
  font-size: 15px; line-height: 1.2em; color: var(--brown);
  cursor: pointer;
}
.ac-item.is-active, .ac-item:hover { background: rgba(70, 60, 54, 0.08); }

.or-trap {
  position: absolute; left: -9999px;
  width: 1px; height: 1px; opacity: 0; pointer-events: none;
}

.or-cards { display: contents; }

.or-layouts { width: 100%; display: flex; flex-direction: column; gap: 20px; }

.lay-tabs {
  position: relative; display: flex; gap: 4px;
  border-bottom: 1px solid var(--hair);
}
.lay-tab {
  padding: 10px 16px;
  font-size: 15px; line-height: 1.2em; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--gray);
  transition: color 0.25s ease;
}
.lay-tab.is-active { color: var(--brown); }
@media (hover: hover) { .lay-tab:hover { color: var(--brown); } }
.lay-ink {
  position: absolute; left: 0; bottom: -1px;
  width: 0; height: 1px; background: var(--brown);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.lay-panels { position: relative; }
.lay-panels.is-js { transition: height 0.42s cubic-bezier(0.4, 0, 0.2, 1); }
.lay-panels.is-js .lay-panel {
  position: absolute; left: 0; top: 0; width: 100%;
  display: flex; flex-direction: column; gap: 20px;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity 0.32s ease, transform 0.32s ease;
}
.lay-panels.is-js .lay-panel.is-active {
  opacity: 1; transform: none; pointer-events: auto;
}
.lay-panel { display: flex; flex-direction: column; gap: 20px; }

.lay-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.lay {
  background: var(--card); border: 1px solid var(--hair);
  display: flex; flex-direction: column; gap: 12px; padding: 12px;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
@media (hover: hover) {
  .lay:hover .lay-prev img { transform: scale(1.035); }
}
.lay.is-selected { border-color: var(--brown); box-shadow: 0 0 0 1px var(--brown); }
.lay.is-selected .lay-radio {
  background: var(--brown);
  box-shadow: inset 0 0 0 3px var(--card);
}
.lay.is-more { display: none; }
.lay-panel.is-expanded .lay.is-more { display: flex; animation: layIn 0.4s ease both; }
@keyframes layIn { from { opacity: 0; transform: translateY(12px); } }

.lay-prev {
  height: auto; aspect-ratio: 900 / 640; padding: 0;
  background: var(--cream); overflow: hidden;
}
.lay-prev img { transition: transform 0.5s ease; }
.lay-info { display: flex; align-items: center; gap: 10px; }
.lay-radio {
  width: 18px; height: 18px; flex: none;
  border: 1.5px solid var(--brown); border-radius: 50%;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.lay-text { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.lay-name { font-size: 17px; line-height: 1.2em; color: var(--brown); }
.lay-open {
  padding: 0; font-size: 13px; line-height: 1.2em; color: var(--gray);
  border-bottom: 1px solid rgba(70, 60, 54, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}
@media (hover: hover) {
  .lay-open:hover { color: var(--brown); border-color: var(--brown); }
}
.lay-more {
  width: 100%; padding: 12px;
  border: 1px solid var(--hair); background: transparent;
  font-size: 14px; line-height: 1.2em; text-align: center; color: var(--gray);
  transition: color 0.2s ease, border-color 0.2s ease;
}
@media (hover: hover) {
  .lay-more:hover { color: var(--brown); border-color: rgba(70, 60, 54, 0.4); }
}
.lay-panel.is-expanded .lay-more { display: none; }

.mk {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(24, 20, 18, 0.94);
  opacity: 0; transition: opacity 0.28s ease;
}
.mk[hidden] { display: none; }
.mk.is-open { opacity: 1; }

.mk-stage {
  position: relative;
  width: min(1100px, 100% - 140px);
  aspect-ratio: 900 / 640;
  max-height: calc(100% - 120px);
}
.mk-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transition: opacity 0.28s ease;
  pointer-events: none;
}
.mk-img.is-on { opacity: 1; }

.mk-nav, .mk-x {
  position: absolute; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  color: rgba(246, 236, 223, 0.7);
  transition: color 0.2s ease, opacity 0.2s ease;
}
@media (hover: hover) {
  .mk-nav:hover, .mk-x:hover { color: var(--cream); }
}
.mk-nav { top: 50%; width: 56px; height: 56px; margin-top: -28px; }
.mk-prev { left: 12px; }
.mk-next { right: 12px; }
.mk-nav::before {
  content: ""; width: 18px; height: 18px;
  border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
}
.mk-prev::before { transform: rotate(45deg); margin-left: 6px; }
.mk-next::before { transform: rotate(-135deg); margin-right: 6px; }
.mk-nav[disabled] { opacity: 0.25; }

.mk-x { top: 14px; right: 14px; width: 44px; height: 44px; }
.mk-x::before, .mk-x::after {
  content: ""; position: absolute;
  width: 20px; height: 1.5px; background: currentColor;
}
.mk-x::before { transform: rotate(45deg); }
.mk-x::after  { transform: rotate(-45deg); }

.mk-dots {
  position: absolute; left: 0; right: 0; bottom: 28px;
  display: flex; justify-content: center; gap: 8px;
}
.mk-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(246, 236, 223, 0.3);
  transition: background 0.25s ease;
}
.mk-dot.is-on { background: var(--cream); }

@media (max-width: 809.98px) {
  .mk-stage { width: calc(100% - 24px); max-height: calc(100% - 140px); }
  .mk-nav { width: 44px; height: 44px; margin-top: -22px; }
  .mk-prev { left: 0; }
  .mk-next { right: 0; }
  .mk-nav::before { width: 14px; height: 14px; }
  .mk-dots { bottom: 22px; }
}

body.mk-lock, body.rf-lock { overflow: hidden; }

.rf {
  position: fixed; inset: 0; z-index: 110;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.rf[hidden] { display: none; }
.rf-back { position: absolute; inset: 0; background: rgba(24, 20, 18, 0.6); }
.rf-win {
  position: relative; z-index: 1;
  width: min(480px, 100%); max-height: 100%;
  background: var(--card); border: 1px solid var(--hair);
  display: flex; flex-direction: column;
}

.rf-head {
  flex: none; display: flex; justify-content: flex-end;
  padding: 14px 14px 0;
}
.rf-x {
  position: relative; flex: none; width: 32px; height: 32px;
  color: var(--brown);
}
.rf-x::before, .rf-x::after {
  content: ""; position: absolute; left: 6px; top: 15px;
  width: 20px; height: 1.5px; background: currentColor;
}
.rf-x::before { transform: rotate(45deg); }
.rf-x::after  { transform: rotate(-45deg); }

.rf-form {
  flex: 1 1 auto; min-height: 0; overflow-y: auto;
  display: flex; flex-direction: column; gap: 20px;
  padding: 6px 24px 24px;
}
.rf-field { display: flex; flex-direction: column; gap: 8px; }
.rf-label {
  font-size: 13px; letter-spacing: 0.5px; line-height: 1.2em;
  text-transform: uppercase; color: var(--gray);
}
.rf-input {
  width: 100%; padding: 11px 12px;
  border: 1px solid var(--hair); background: transparent;
  font-family: inherit; font-size: 16px; line-height: 1.35em; color: var(--brown);
}
.rf-input:focus { outline: none; border-color: var(--brown); }
.rf-input::placeholder { color: rgba(70, 60, 54, 0.35); }
.rf-area { resize: vertical; min-height: 110px; }

.rf-stars { display: flex; gap: 6px; }
.rf-star {
  padding: 0; font-size: 26px; line-height: 1;
  color: rgba(70, 60, 54, 0.25);
}
.rf-star.is-on { color: var(--brown); }
.rf-star:focus-visible { outline: 1px solid var(--brown); outline-offset: 2px; }

.rf-file {
  align-self: flex-start; padding: 10px 16px;
  border: 1px solid var(--line); cursor: pointer;
  font-size: 14px; line-height: 1.2em; color: var(--brown);
}
.rf-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.rf-thumb { position: relative; width: 72px; height: 72px; }
.rf-thumb img { width: 100%; height: 100%; }
.rf-drop {
  position: absolute; right: 0; top: 0;
  width: 22px; height: 22px;
  background: var(--brown); color: var(--cream);
  font-size: 15px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}

.rf-error { font-size: 14px; line-height: 1.3em; color: rgb(150, 70, 60); }
.rf-error[hidden] { display: none; }
.rf-submit {
  width: 100%; height: 52px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--brown); color: var(--cream);
  font-size: 15px; letter-spacing: 2px; text-transform: uppercase;
}
.rf-submit-check { display: none; width: 26px; height: 26px; }
.rf-submit.is-sent { background: rgb(96, 138, 94); cursor: default; }
.rf-submit.is-sent .rf-submit-text { display: none; }
.rf-submit.is-sent .rf-submit-check { display: block; }

@media (max-width: 809.98px) {
  .rf { padding: 12px; }
  .rf-head { padding: 12px 12px 0; }
  .rf-form { padding: 4px 18px 18px; gap: 18px; }
}

.or-summary {
  width: 100%;
  background: var(--brown);
  display: flex; flex-direction: column; gap: 20px; padding: 32px;
}
.sm-block { display: flex; flex-direction: column; gap: 8px; }
.sm-block-price { gap: 4px; }
.sm-label {
  font-size: 12px; letter-spacing: 1px; line-height: 1.2em;
  text-transform: uppercase; color: rgba(246, 236, 223, 0.5);
}
.sm-row { display: flex; justify-content: space-between; font-size: 14px; line-height: 1.2em; }
.sm-row span:first-child { color: rgba(246, 236, 223, 0.7); }
.sm-row span:last-child { color: var(--cream); }
.sm-div { height: 1px; background: rgba(246, 236, 223, 0.15); }
.sm-muted { font-size: 14px; line-height: 1.2em; color: rgba(246, 236, 223, 0.7); }
.sm-price {
  font-family: 'Literature Decor', serif; font-weight: 400;
  font-size: 42px; line-height: 1.2em; color: var(--cream);
}
.sm-submit {
  width: 100%; padding: 16px 20px;
  background: var(--cream); color: var(--brown);
  font-size: 16px; letter-spacing: 1.5px; line-height: 1.2em;
  text-transform: uppercase; text-align: center;
  transition: opacity 0.2s ease;
}
.sm-submit:disabled { opacity: 0.55; cursor: default; }
.sm-note { font-size: 13px; line-height: 1.4em; color: rgba(246, 236, 223, 0.75); }
.sm-note.is-bad { color: rgb(240, 176, 166); }

.reviews {
  background: var(--cream);
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 28px; padding: 70px var(--pad);
  overflow: hidden;
}
.rv-title {
  width: 100%;
  font-family: 'Literature Decor', serif; font-weight: 400;
  font-size: 40px; line-height: 0.94em; color: var(--brown);
  text-align: left; white-space: nowrap;
}
.rv-sub {
  width: 100%; text-align: left;
  font-size: 15px; line-height: 1.15em; color: var(--gray);
}
.rv-body { display: contents; }
.rv-viewport {
  width: 100%; overflow: hidden;
  transition: height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.rv-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.rv-card {
  flex: 0 0 100%; min-width: 0;
  background: #ffffff;
  display: flex; flex-direction: column; gap: 16px;
  padding: 24px;
}
@media (prefers-reduced-motion: reduce) {
  .rv-track, .rv-viewport { transition: none; }
}
.rv-head { display: flex; justify-content: space-between; align-items: flex-start; }
.rv-name {
  font-family: 'OsvaldLightC', sans-serif; font-weight: 300;
  font-size: 17px; letter-spacing: 0.5px; line-height: 1.2em; color: var(--brown);
}
.rv-stars { font-size: 11px; letter-spacing: 2px; color: var(--brown); margin-top: 4px; }
.rv-quote {
  font-family: 'Literature Decor', serif; font-weight: 400;
  font-size: 26px; line-height: 1; color: rgba(70, 60, 54, 0.22);
}
.rv-text { font-size: 15px; line-height: 1.5em; color: var(--brown); }
.rv-photos { display: flex; gap: 8px; flex-wrap: wrap; }
.rv-photos img { width: 72px; height: 72px; cursor: pointer; }
.rv-photos img:focus-visible { outline: 1px solid var(--brown); outline-offset: 2px; }
.rv-reply { background: var(--cream); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.rv-reply-label { font-size: 11px; letter-spacing: 1px; color: rgba(70, 60, 54, 0.55); text-transform: uppercase; }
.rv-reply p { font-size: 14px; line-height: 1.5em; color: rgba(70, 60, 54, 0.85); }

.rv-nav { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.rv-arrow {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--brown);
}
.rv-arrow { cursor: pointer; transition: background 0.2s, color 0.2s; }
.rv-arrow:hover { background: var(--brown); color: var(--cream); }
.rv-dots { display: flex; gap: 6px; }
.rv-dot {
  width: 10px; height: 8px; background: rgba(70, 60, 54, 0.25);
  cursor: pointer; transition: width 0.35s, background 0.35s;
}
.rv-dot.is-active { width: 20px; background: var(--brown); }

.rv-cta {
  width: 250px; height: 55px; align-self: center;
  display: flex; align-items: center; justify-content: center;
  background: var(--brown); color: var(--cream);
  font-family: 'OsvaldLightC', sans-serif; font-weight: 300;
  font-size: 16px; letter-spacing: 1.5px; text-transform: uppercase;
}

.footer { height: 600px; background: var(--footer-bg); overflow: hidden; }
.ft-nav, .ft-social {
  position: absolute; left: 24px;
  font-size: 20px; line-height: 1.08em; color: var(--cream);
}
.ft-nav    { top: 32px;  width: auto; }
.ft-social { top: 145px; width: auto; }
.ft-note {
  position: absolute; left: 24px; top: 292px; width: min(340px, calc(100% - 48px));
  font-size: 13px; line-height: 1.15em; color: var(--footer-muted);
}
.ft-title {
  position: absolute; left: 24px; top: 440px; width: min(606px, calc(100% - 48px));
  font-family: 'Literature Decor', serif; font-weight: 400;
  font-size: 48px; line-height: 0.92em;
  color: var(--cream);
}
.ft-title-line { display: block; }

@media (min-width: 810px) {

  .hero { display: block; height: 700px; padding: 0; }
  .hero-sub, .hero-title, .hero-photo { position: absolute; }
  .hero-photo { aspect-ratio: auto; }
  .burger { left: 30px; right: auto; top: 34px; }

  .hero-cta {
    position: absolute;
    left: 540px; top: 26px;
    width: 220px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #463c36;
    background: transparent;
    font-size: 18px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--brown);
  }
  .hero-sub {
    left: 30px; top: auto; bottom: 150px; transform: none;
    width: 330px;
    font-size: 23px; line-height: 1.2em; letter-spacing: -0.3px;
  }
  .hero-title {
    left: 30px; bottom: 28px; transform: none;
    width: 750px;
    font-size: 96px; line-height: 1em;
  }
  .hero-photo {
    left: 440px; top: auto; bottom: 78px; transform: none;
    width: 320px; height: 368px;
  }

  .about { display: block; height: 1080px; padding: 0; gap: 0; }
  .ab-head { display: contents; }
  .ab-photo, .ab-text-1, .ab-text-2, .ab-cta { position: absolute; }
  .ab-photo-1, .ab-photo-2 { aspect-ratio: auto; }
  .ab-num, .ab-label { position: absolute; }
  .ab-label { padding-top: 0; }
  .ab-num { left: 30px; top: 38px; font-size: 108px; line-height: 1.1em; }
  .ab-label { left: 30px; top: 157px; width: auto; font-size: 45px; line-height: 1.1em; }
  .ab-photo-1 { left: 440px; top: 105px;  transform: none; width: 340px; height: 420px; }
  .ab-photo-2 { left: 30px;  top: 600px;  bottom: auto; transform: none; width: 340px; height: 420px; }
  .ab-text-1 {
    left: 30px; top: 360px; transform: none;
    width: 340px; font-size: 21px; line-height: 1.12em;
  }
  .ab-text-2 {
    left: 440px; bottom: 152px; transform: none;
    width: 340px; font-size: 21px; line-height: 1.12em; text-align: left;
  }
  .ab-cta { left: 440px; bottom: 60px; transform: none; width: 340px; }

  .services { gap: 40px; padding: 100px 30px; }
  .sv-num { font-size: 108px; line-height: 1.1em; }
  .sv-label { font-size: 45px; line-height: 1.1em; }

  .sv-gallery { width: 750px; height: 904px; }
  .sv-photo-main { width: 750px; height: 496px; }
  .sv-photo-a { top: 516px; width: 365px; height: 388px; }
  .sv-photo-b { left: 385px; top: 516px; width: 365px; height: 388px; }

  .sv-price { text-align: right; font-size: 34px; }

  .sv-list { height: 448px; }
  .sv-row { width: 750px; height: 64px; }
  .sv-row:nth-child(1) { top: 0; }
  .sv-row:nth-child(2) { top: 64px; }
  .sv-row:nth-child(3) { top: 128px; height: 64px; }
  .sv-row:nth-child(4) { top: 192px; }
  .sv-row:nth-child(5) { top: 256px; }
  .sv-row:nth-child(6) { top: 320px; }
  .sv-row:nth-child(7) { top: 384px; height: 64px; }
  .sv-idx { font-size: 22px; line-height: 1.05em; }
  .sv-name { font-size: 24px; line-height: 1.05em; }
  .sv-row:nth-child(5) .sv-name { font-size: 24px; }
  .sv-row:nth-child(6) .sv-name { font-size: 24px; }
  .sv-row:nth-child(7) .sv-name { font-size: 20px; }

  .sv-desc { height: 70px; font-size: 24px; line-height: 1.12em; }
  .lay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .portfolio { padding: 38px 20px 30px; }
  .pf-title { font-size: 100px; line-height: 1em; }
  .pf-grid {
    grid-template-columns: 405fr 169fr 169fr;
    grid-template-rows: 270fr 256fr;
    aspect-ratio: 770 / 540;
    gap: 14px;
    margin-top: 52px;
  }
  .pf-1 { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; }
  .pf-2 { grid-column: 2 / 4; grid-row: 1; aspect-ratio: auto; }
  .pf-3 { grid-column: 2; grid-row: 2; aspect-ratio: auto; }
  .pf-4 { grid-column: 3; grid-row: 2; aspect-ratio: auto; }
  .pf-link { margin-top: 30px; font-size: 20px; }

  .order { gap: 44px; padding: 32px 30px; }
  .or-title-1, .or-title-2 { font-size: 80px; line-height: 0.96em; }
  .or-sub { font-size: 20px; line-height: 1.1em; order: -2; }
  .or-title-2 { order: -1; }

  .or-steps { height: 60px; --dot: 32px; --edge: 5.867%; }
  .or-dot { font-size: 16px; }
  .or-step-label { font-size: 14px; }
  .or-lb-1, .or-lb-3 { width: 130px; }
  .or-lb-2 { width: 170px; }

  .order { margin-bottom: 112px; }
  .reviews { margin-bottom: 43px; }

  .reviews { gap: 36px; padding: 90px 30px; }
  .rv-title { width: 100%; text-align: center; font-size: 96px; line-height: 0.96em; }
  .rv-sub { font-size: 20px; line-height: 1.1em; }
  .rv-cta { width: 280px; }

  .hero-title, .ft-title { white-space: nowrap; }

  .footer { height: 623px; }
  .ft-nav    { left: 30px;  top: 55px; width: 200px; font-size: 22px; line-height: 1.08em; }
  .ft-social { left: 430px; top: 55px; width: 230px; font-size: 22px; line-height: 1.08em; }
  .ft-note   { left: 430px; top: 270px; width: 320px; font-size: 15px; line-height: 1.1em; }
  .ft-title  { left: 30px; top: 480px; width: 750px; font-size: 96px; line-height: 1em; }
  .ft-title-line { display: inline; }
}

@media (min-width: 1200px) {

  .only-phone { display: none; }

  .hero { height: 800px; margin-bottom: 30px; }
  .burger { left: 3%; top: 54px; }

  .hero-cta {
    left: auto; right: 3%; top: 36px;
    width: 260px; height: 54px;
  }
  .hero { --lift: clamp(0px, calc((100svh - 800px) * 0.42), 150px); }

  .hero-sub {
    left: 3%; top: auto; bottom: calc(10.9vw + 16px + var(--lift));
    width: 352px;
    font-size: 25px; line-height: 1.25em; letter-spacing: -0.3px;
  }
  .hero-title {
    left: 50%; transform: translateX(-50%);
    bottom: calc(-18px + var(--lift));
    width: 94.5%;
    line-height: 1em;
  }
  .hero-photo {
    left: auto; right: 14.75%; bottom: calc(88px + var(--lift));
    width: 324px; height: 373px;
  }

  .about { display: block; height: 1284px; padding: 0; gap: 0; }
  .ab-num { left: 2.5%; top: 36px; font-size: 150px; line-height: 1.2em; }
  .ab-label { left: 2.5%; top: 220px; font-size: 60px; line-height: 1.2em; }
  .ab-photo-1 { left: auto; right: 3%; top: 49px; width: 465px; height: 578px; }
  .ab-photo-2 { left: 2.5%;   top: auto; bottom: 27px; width: 465px; height: 578px; }
  .ab-text-1 { left: 2.5%; top: 406px; width: 555px; font-size: 25px; line-height: 1.1em; }
  .ab-text-2 {
    left: auto; right: 3.75%; bottom: 132px;
    width: 555px; font-size: 25px; line-height: 1.1em; text-align: right;
  }
  .ab-cta { left: auto; right: 3%; bottom: 27px; width: 324px; }

  .services {
    display: block;
    --sv-step: 50vh;
    --sv-stage-h: 840px;
    height: calc(1260px + 6 * var(--sv-step));
    padding: 420px 0 0;
    overflow: clip;
  }
  .sv-stage {
    display: block;
    position: sticky;
    top: calc((100vh - var(--sv-stage-h)) / 2);
    height: var(--sv-stage-h);
  }
  .sv-gallery, .sv-desc, .sv-price {
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .sv-stage.is-fading .sv-gallery { opacity: 0; }
  .sv-stage.is-fading .sv-desc,
  .sv-stage.is-fading .sv-price { opacity: 0; transform: translateY(10px); }
  .sv-idx, .sv-name { transition: color 0.25s ease; }

  .sv-num {
    position: absolute; right: 2.5%; top: 36px; width: auto;
    font-size: 150px; line-height: 1.2em; text-align: right;
  }
  .sv-label {
    position: absolute; left: auto; right: 2.5%; top: 220px; width: auto;
    font-size: 60px; line-height: 1.2em; text-align: right;
  }

  .sv-list { position: absolute; left: 2.5%; top: 0; width: 500px; height: 501px; }
  .sv-row { width: 500px; height: 73px; }
  .sv-row:nth-child(1) { top: 0; }
  .sv-row:nth-child(2) { top: 73px; }
  .sv-row:nth-child(3) { top: 146px; height: 72px; }
  .sv-row:nth-child(4) { top: 218px; }
  .sv-row:nth-child(5) { top: 291px; }
  .sv-row:nth-child(6) { top: 364px; }
  .sv-row:nth-child(7) { top: 437px; height: 64px; }
  .sv-idx { font-size: 27px; line-height: 1.2em; }
  .sv-name { font-size: 34px; line-height: 1.2em; }
  .sv-row:nth-child(5) .sv-name { font-size: 34px; }
  .sv-row:nth-child(6) .sv-name { font-size: 34px; }
  .sv-row:nth-child(7) .sv-name { font-size: 27px; }

  .sv-gallery { position: absolute; left: auto; right: 3%; top: 20px; width: 514px; height: 620px; }
  .sv-photo-main { left: 0;     top: 0;     width: 514px; height: 340px; }
  .sv-photo-a    { left: 0;     top: 354px; width: 250px; height: 266px; }
  .sv-photo-b    { left: 264px; top: 354px; width: 250px; height: 266px; }

  .sv-desc {
    position: absolute; left: 2.5%; top: 650px; width: 539px; height: 120px;
    font-size: 26px; line-height: 1.15em;
  }
  .sv-price {
    position: absolute; left: auto; right: 3%; bottom: 84px; width: auto;
    font-size: 38px; line-height: 1.2em; text-align: right;
  }

  .portfolio { padding: 54px 2.5% 44px; }
  .pf-title { font-size: 150px; line-height: 1.2em; text-align: right; }
  .pf-grid {
    grid-template-columns: 600fr 250fr 250fr;
    grid-template-rows: 400fr 380fr;
    aspect-ratio: 1140 / 800;
    gap: 20px;
    margin-top: 46px;
  }
  .pf-1 { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; }
  .pf-2 { grid-column: 2 / 4; grid-row: 1; aspect-ratio: auto; }
  .pf-3 { grid-column: 2; grid-row: 2; aspect-ratio: auto; }
  .pf-4 { grid-column: 3; grid-row: 2; aspect-ratio: auto; }
  .pf-link { margin-top: 44px; font-size: 25px; line-height: 1.2em; }

  .order {
    display: block;
    height: auto;
    padding: 0 0 84px;
    margin-bottom: 113px;
  }
  .or-title-1 {
    position: absolute; left: 2.5%; top: 48px; width: auto;
    font-size: 150px; line-height: 1em;
  }
  .or-sub {
    position: absolute; left: 2.833%; top: 256px; width: 355px;
    font-size: 25px; line-height: 1em;
  }
  .or-title-2 {
    position: absolute; left: auto; right: 2.5%; top: 194px; width: auto;
    font-size: 150px; line-height: 1em; text-align: right;
  }

  .or-steps {
    position: absolute; left: 2.5%; right: 2.5%; width: auto;
    top: 420px; height: 70px;
    --dot: 40px; --edge: 3.509%;
  }
  .or-dot { font-size: 16px; }
  .or-step-label { top: 52px; font-size: 14px; }
  .or-lb-1, .or-lb-3 { width: 130px; }
  .or-lb-2 { width: 150px; }

  .or-cards {
    display: grid;
    grid-template-columns: 300fr 500fr 300fr;
    gap: 20px;
    align-items: start;
    margin: 0 2.5%;
    padding-top: 577px;
  }
  .or-form, .or-layouts, .or-summary { position: static; width: auto; }

  .lay-tab { font-size: 16px; }
  .lay-name { font-size: 18px; }
  .lay-open { font-size: 14px; }

  .reviews {
    display: block;
    height: 880px;
    padding: 0;
    margin-bottom: 0;
  }
  .rv-title {
    position: absolute; left: 2.5%; right: auto; transform: none; top: 39px;
    width: auto; text-align: left; white-space: nowrap;
    font-size: 150px; line-height: 1em;
  }
  .rv-sub {
    position: absolute; left: 2.5%; right: auto; top: 211px; width: 382px;
    text-align: left; font-size: 25px; line-height: 1em;
  }
  .rv-body {
    display: flex; flex-direction: column;
    position: absolute; left: 2.5%; right: 2.5%; top: 280px;
  }
  .rv-viewport { width: 100%; }
  .rv-card { padding: 28px 32px; }
  .rv-text { font-size: 16px; }
  .rv-nav { position: static; transform: none; width: 100%; margin-top: 24px; }
  .rv-cta {
    position: static; transform: none;
    align-self: center; margin-top: 34px;
    width: 280px; height: 55px;
  }

  .footer { height: max(650px, calc(515px + 10.9vw)); }
  .ft-nav    { left: 4%;     top: 66px; width: 220px; font-size: 24px; line-height: 1.05em; }
  .ft-social { left: 58.33%; top: 66px; width: 240px; font-size: 24px; line-height: 1.05em; }
  .ft-note   { left: 58.33%; top: 350px; width: 450px; font-size: 17px; line-height: 1.1em; }
  .ft-title  {
    left: 50%; transform: translateX(-50%); top: 470px; width: 94%;
    font-size: 96px; line-height: 1em;
  }
}

@media (max-width: 809.98px) {
  .only-wide { display: none; }
  .only-phone { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  .sv-gallery, .sv-desc, .sv-price, .sv-idx, .sv-name { transition: none; }
  .sv-stage.is-fading .sv-gallery,
  .sv-stage.is-fading .sv-desc,
  .sv-stage.is-fading .sv-price { opacity: 1; transform: none; }
}
