:root {
  --ink: #151515;
  --paper: #efede6;
  --accent: #eb573f;
  --muted: #bcb8b2;
  color: var(--paper);
  background: var(--ink);
  font: 16px "Golos Text", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #5089d2; outline-offset: 5px; }
.shell { width: min(1280px, calc(100% - 100px)); margin-inline: auto; }
.site-header, .site-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.site-header { height: 82px; border-bottom: 1px solid #3b3b39; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 22px; font-weight: 800; letter-spacing: -.055em; }
.mark { display: inline-block; width: 22px; height: 18px; border: 3px solid var(--accent); transform: skewX(-17deg); }
nav { display: flex; gap: 32px; font-size: 14px; color: var(--muted); }
nav a:hover { color: white; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 19px; border: 1px solid transparent; border-radius: 5px; padding: 13px 16px; font-weight: 600; font-size: 14px; line-height: 1.2; transition: background .18s, color .18s, transform .18s; }
.button span { font-size: 17px; line-height: 1; }
.button:active { transform: translateY(2px); }
.ghost { color: var(--paper); background: transparent; border-color: #55524e; }
.ghost:hover { background: #332f2c; }
.primary { color: #191512; background: var(--accent); }
.primary:hover { background: #ff785f; }
.hero { display: grid; grid-template-columns: .76fr 1.24fr; align-items: center; gap: 32px; padding-block: 49px 58px; }
.eyebrow { text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .16em; display: flex; align-items: center; gap: 10px; color: var(--muted); }
.eyebrow span { width: 15px; height: 2px; background: var(--accent); }
h1 { font-size: clamp(66px, 8.5vw, 132px); line-height: .87; letter-spacing: -.09em; font-weight: 800; margin: 24px 0; }
h1 em { font-style: normal; color: var(--accent); }
.intro { line-height: 1.55; color: var(--muted); max-width: 335px; }
.hero .primary { margin-top: 24px; }
.hero-shot { min-width: 0; }
.hero-shot img { display: block; width: 100%; height: clamp(414px, 41vw, 600px); object-fit: cover; object-position: 51% center; background: #262321; }
figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 11px; color: #aaa59d; font-size: 10px; font-weight: 600; letter-spacing: .14em; }
.light { color: var(--ink); background: var(--paper); }
.section { padding-block: 67px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 20px; margin-bottom: 33px; }
h2 { font-size: clamp(48px, 6vw, 88px); line-height: .94; letter-spacing: -.079em; font-weight: 800; }
.section-heading p { max-width: 370px; color: #514d47; line-height: 1.55; }
.service { border-top: 1px solid #c7c2b9; display: grid; grid-template-columns: 1.2fr 1fr .62fr auto; align-items: center; gap: 22px; padding-block: 20px; }
.service:last-child { border-bottom: 1px solid #c7c2b9; }
.service h3 { font-size: clamp(20px, 2.1vw, 29px); letter-spacing: -.05em; line-height: 1.1; }
.service p { color: #514d47; font-size: 14px; line-height: 1.45; }
.service strong { white-space: nowrap; }
.service-button { border-color: #a8a197; background: transparent; color: var(--ink); }
.service-button:hover { background: var(--ink); color: var(--paper); }
.result { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 32px; }
.result h2 { margin-block: 21px; }
.compare { --position: 50%; position: relative; min-width: 0; aspect-ratio: 1.65; background: #352321; overflow: hidden; }
.compare img { position: absolute; width: 100%; height: 100%; object-fit: cover; inset: 0; }
.compare .before { clip-path: inset(0 calc(100% - var(--position)) 0 0); }
.compare input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: ew-resize; touch-action: pan-y; }
.compare:focus-within { outline: 2px solid #5089d2; outline-offset: 5px; }
.divider { position: absolute; inset: 0 auto 0 var(--position); display: grid; place-items: center; width: 2px; background: var(--paper); }
.divider span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 19px; transform: translateX(-50%); }
.tag { position: absolute; top: 12px; padding: 5px 10px; border-radius: 4px; background: var(--ink); font-size: 13px; }
.tag-before { left: 12px; }
.tag-after { right: 12px; }
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; }
details { border-top: 1px solid #c7c2b9; }
details:last-child { border-bottom: 1px solid #c7c2b9; }
summary { display: flex; justify-content: space-between; gap: 16px; padding-block: 19px; font-weight: 650; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; }
details[open] summary::after { content: "−"; }
details p { max-width: 480px; padding-bottom: 20px; color: #514d47; line-height: 1.55; }
.site-footer { padding-block: 25px; }
.site-footer p { color: var(--muted); font-size: 13px; }
dialog { width: min(450px, calc(100% - 26px)); max-height: calc(100% - 30px); border: 0; border-radius: 8px; padding: 30px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #111b; }
dialog h2 { font-size: 46px; padding-right: 22px; }
dialog p { color: #514d47; line-height: 1.5; margin: 10px 0 20px; overflow-wrap: anywhere; }
dialog label { display: grid; gap: 6px; margin-bottom: 15px; font-size: 14px; font-weight: 650; }
dialog input, dialog select { min-width: 0; width: 100%; padding: 10px; border: 1px solid #a8a197; border-radius: 4px; background: #fffdf8; color: var(--ink); }
.close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 4px; color: var(--ink); background: transparent; font-size: 24px; }
.close:hover { background: #dfdbd0; }
@media (max-width: 940px) {
  .shell { width: calc(100% - 52px); }
  .hero { gap: 23px; }
  .hero-shot img { height: 440px; }
  .service { gap: 14px; }
}
@media (max-width: 690px) {
  .shell { width: calc(100% - 36px); }
  .site-header { height: auto; padding-block: 12px; flex-wrap: wrap; gap: 11px; }
  .site-header nav { order: 3; flex-basis: 100%; flex-wrap: wrap; gap: 8px 17px; padding-block: 6px 3px; font-size: 12px; }
  .hero, .result, .faq, .section-heading { grid-template-columns: 1fr; }
  .hero { padding-block: 35px; }
  h1 { font-size: clamp(67px, 15vw, 105px); }
  .hero-shot img { height: auto; aspect-ratio: 1.36; }
  .section { padding-block: 43px; }
  .section-heading { gap: 14px; margin-bottom: 22px; }
  .service { grid-template-columns: 1fr auto; gap: 11px 12px; padding-block: 16px; }
  .service p { grid-row: 2; }
  .service strong { grid-column: 2; grid-row: 1; font-size: 14px; }
  .service-button { padding: 8px 9px; gap: 8px; }
  .site-footer { flex-wrap: wrap; }
  .site-footer p { order: 3; flex-basis: 100%; }
}
.hero h1 > span { display: block; overflow: clip; padding: .065em .2em .13em 0; margin: -.065em -.2em -.13em 0; }
.hero h1 b { display: block; font-weight: inherit; }
.hero-shot { overflow: clip; }
.hero-shot img { transform-origin: center 62%; }
.page-progress { position: fixed; inset: 0 0 auto; z-index: 3; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.service-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.service-details article { border-top: 2px solid #a19b91; padding-top: 15px; }
.service-details h3, .visit-steps h3 { font-size: clamp(18px, 2.2vw, 26px); letter-spacing: -.04em; }
.service-details p, .visit-steps p { margin-top: 10px; line-height: 1.55; font-size: 15px; }
.service-details p { color: #514d47; }
.service-details .timing { font-weight: 650; color: var(--ink); margin-top: 16px; }
.visit { background: #282420; }
.visit .section-heading p, .visit-steps p { color: #d2c8ba; }
.visit-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 21px; list-style: none; counter-reset: visit; padding: 0; margin: 0; }
.visit-steps li { counter-increment: visit; border-top: 1px solid #817165; padding-top: 19px; }
.visit-steps li::before { content: "0" counter(visit); display: block; margin-bottom: 20px; color: #fc8d75; font-size: 14px; font-variant-numeric: tabular-nums; }
.booking-cta { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 24px; border-bottom: 1px solid #3b3b39; }
.booking-cta p { margin-top: 18px; }
@media (max-width: 760px) {
  .visit-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .service-details { grid-template-columns: 1fr; margin-top: 28px; gap: 19px; }
  .visit-steps { grid-template-columns: 1fr; gap: 19px; }
  .visit-steps li::before { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1 b { animation: title-in .78s cubic-bezier(.18,.72,.22,1) both; }
  .hero h1 span:nth-child(2) b { animation-delay: 85ms; }
  .hero h1 span:nth-child(3) b { animation-delay: 170ms; }
  .hero-copy > .eyebrow, .hero-copy > .intro, .hero-copy > .button { animation: rise-in .65s ease both; }
  .hero-copy > .intro { animation-delay: 220ms; }
  .hero-copy > .button { animation-delay: 300ms; }
  .hero-shot { animation: photo-in .95s cubic-bezier(.2,.65,.28,1) both; }
  dialog[open] { animation: dialog-in .23s ease-out both; }
  details[open] p { animation: rise-in .26s ease-out both; }
  @supports (animation-timeline: scroll()) {
    .page-progress { animation: progress linear both; animation-timeline: scroll(root); }
    .hero-shot img { animation: photo-drift linear both; animation-timeline: scroll(root); animation-range: 0 540px; }
  }
}
@keyframes title-in { from { transform: translateY(115%); } to { transform: translateY(0); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes photo-in { from { opacity: .2; clip-path: inset(0 0 14% 0); } to { opacity: 1; clip-path: inset(0); } }
@keyframes photo-drift { from { transform: scale(1); } to { transform: scale(1.085) translateY(1%); } }
@keyframes progress { to { transform: scaleX(1); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(13px) scale(.98); } to { opacity: 1; transform: none; } }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 24px; }
.hero-actions .primary { margin-top: 0; }
.text-action { display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid #6d6660; padding-block: 5px; font-weight: 600; font-size: 14px; }
.text-action:hover { border-color: var(--accent); }
.estimate { background: #dfd8cc; color: var(--ink); }
.estimate-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 70px); align-items: start; }
.estimate .intro { margin-top: 20px; color: #514d47; }
.estimate form { background: var(--paper); padding: clamp(18px, 3vw, 35px); border: 1px solid #aaa195; }
.estimate-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.estimate label { display: grid; gap: 8px; font-weight: 650; font-size: 13px; min-width: 0; }
.estimate select { width: 100%; min-width: 0; padding: 11px 9px; border: 1px solid #a8a197; border-radius: 4px; background: #fffdf8; color: var(--ink); font-size: 14px; }
.estimate-total { display: flex; align-items: end; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; margin-top: 24px; padding-top: 18px; border-top: 1px solid #c7c2b9; }
.estimate-total span { display: block; font-size: 13px; color: #514d47; }
.estimate-total .button span { font-size: 17px; color: inherit; }
.estimate-total output { display: block; margin-top: 4px; font-size: clamp(30px, 4vw, 52px); font-weight: 800; letter-spacing: -.075em; font-variant-numeric: tabular-nums; }
.estimate form > p { margin-top: 12px; color: #514d47; font-size: 12px; }
.workshop { margin-top: 35px; }
.workshop img { display: block; width: 100%; height: auto; aspect-ratio: 2.6; object-fit: cover; object-position: center 54%; background: #1e1b18; }
.mobile-booking { display: none; }
@media (max-width: 850px) { .estimate-controls { grid-template-columns: 1fr; } }
@media (max-width: 690px) {
  .estimate-layout { grid-template-columns: minmax(0, 1fr); }
  .workshop img { aspect-ratio: 1.5; }
  body { padding-bottom: calc(77px + env(safe-area-inset-bottom)); }
  .mobile-booking { position: fixed; inset: auto 0 0; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid #55524e; }
}
@media (max-width: 365px) {
  .booking-cta h2 { font-size: 39px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-actions { animation: rise-in .65s ease .3s both; }
}

.hero { grid-template-columns: .86fr 1.14fr; }
.hero h1 { font-size: clamp(54px, 6.25vw, 104px); line-height: .91; }
.hero h1 b { white-space: nowrap; }
.hero-shot figcaption { gap: 12px; align-items: baseline; flex-wrap: wrap; }
.hero-shot figcaption a { color: var(--paper); }
.hero-shot figcaption a:hover { color: var(--accent); }
.projects { background: #23211f; }
.projects .section-heading p { color: var(--muted); }
.project-switch { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.project-switch button { background: transparent; color: var(--paper); border: 1px solid #6d6359; padding: 10px 14px; border-radius: 5px; font-size: 14px; transition: background .2s, color .2s; }
.project-switch button[aria-pressed="true"] { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.project-switch button:not([aria-pressed="true"]):hover { background: #38312b; }
.project-card { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); min-height: 340px; background: #302a25; overflow: hidden; }
.project-card > img { display: block; width: 100%; height: 100%; min-height: 340px; object-fit: cover; background: #282420; }
.project-copy { position: relative; align-self: stretch; background: #302a25; display: flex; flex-direction: column; justify-content: end; align-items: start; gap: 23px; min-width: 0; padding: clamp(20px, 4.5vw, 58px); }
.project-copy h3 { font-size: clamp(31px, 4vw, 60px); line-height: .98; letter-spacing: -.075em; }
.project-copy p { max-width: 345px; line-height: 1.55; color: #d2c8ba; margin-top: 16px; }
.project-note { margin-top: 13px; color: var(--muted); font-size: 12px; }
@media (max-width: 850px) and (min-width: 691px) {
  .hero h1 { font-size: 49px; }
}
@media (max-width: 690px) {
  .hero { grid-template-columns: minmax(0,1fr); }
  .hero h1 { font-size: clamp(48px, 12vw, 80px); }
  .project-card { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .project-card > img { height: auto; min-height: 0; aspect-ratio: 1.45; }
  .project-copy { min-height: 213px; }
}
@media (prefers-reduced-motion: reduce) {
  .project-switch button { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
