:root {
  color-scheme: light;
  --paper: #f5f1e8;
  --paper-deep: #ebe4d7;
  --ink: #1d241e;
  --forest: #1c2d24;
  --forest-light: #2a4033;
  --muted: #77796e;
  --gold: #c98b3c;
  --line: rgba(29, 36, 30, .18);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --header-height: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
::selection { background: var(--gold); color: #fff; }

.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; background: var(--forest); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: var(--header-height); padding: 0 clamp(20px, 5.5vw, 88px); background: rgba(245, 241, 232, .94); border-bottom: 1px solid rgba(29, 36, 30, .09); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--forest); border-radius: 50%; color: var(--forest); font-family: var(--serif); font-size: 14px; letter-spacing: -.06em; }
.brand-name { display: grid; font-family: var(--serif); font-size: 15px; line-height: 1.15; }
.brand-name small { margin-top: 4px; color: var(--muted); font-family: var(--sans); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 35px); }
.primary-nav > a:not(.nav-telegram) { color: #54584f; font-size: 11px; transition: color .2s; }
.primary-nav > a:not(.nav-telegram):hover { color: var(--gold); }
.nav-telegram { display: inline-flex; align-items: center; gap: 15px; padding: 11px 16px; background: var(--forest); color: var(--paper); font-size: 10px; letter-spacing: .03em; transition: background .2s, transform .2s; }
.nav-telegram:hover { background: var(--gold); transform: translateY(-1px); }
.menu-toggle { display: none; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); height: min(760px, calc(100svh - var(--header-height))); min-height: 620px; overflow: hidden; }
.hero-photo { position: relative; height: 100%; min-height: 0; overflow: hidden; background: #29382c; }
.hero-photo::after { position: absolute; inset: 45% 0 0; content: ""; background: linear-gradient(transparent, rgba(10, 18, 12, .42)); pointer-events: none; }
.hero-photo img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 56%; }
.photo-caption { position: absolute; z-index: 1; right: 7%; bottom: 30px; left: 7%; display: flex; justify-content: space-between; color: #fff; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.hero-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 76px) clamp(38px, 8vw, 128px) clamp(40px, 5vw, 76px) clamp(42px, 7.2vw, 116px); }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 26px; color: #7e796e; font-size: 9px; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 27px; height: 1px; background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { margin-bottom: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.055em; line-height: 1.05; }
.hero h1 { max-width: 620px; font-size: clamp(56px, 6.2vw, 88px); }
h1 em, h2 em { color: var(--gold); font-weight: 500; }
.hero-description { max-width: 360px; margin: 27px 0 31px; color: #6e7067; font-size: 13px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 50px; padding: 0 20px; font-size: 10px; letter-spacing: .04em; transition: background .2s, color .2s, transform .2s; }
.button span { font-size: 16px; }
.button-dark { background: var(--forest); color: var(--paper); }
.button-dark:hover { background: var(--gold); transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--forest); font-size: 10px; letter-spacing: .04em; }
.text-link span { color: var(--gold); font-size: 15px; transition: transform .2s; }
.text-link:hover span { transform: translate(3px, -3px); }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 36px; color: #858278; font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.note-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-index { position: absolute; right: 3.2%; bottom: 26px; color: #929086; font-size: 8px; letter-spacing: .18em; writing-mode: vertical-rl; }

.section-pad { padding: clamp(78px, 11vw, 154px) clamp(22px, 8vw, 128px); }
.section-topline { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 13px; border-bottom: 1px solid var(--line); color: #888578; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }
.section-topline-right { text-align: right; }
.portfolio { background: var(--paper); }
.portfolio-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin: 63px 0 52px; }
.portfolio-heading h2, .pricing h2, .process h2, .about h2 { font-size: clamp(45px, 6vw, 82px); }
.portfolio-heading p { max-width: 330px; margin: 0 0 8px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.portfolio-gallery { column-count: 3; column-gap: clamp(14px, 2vw, 26px); }
.portfolio-card { display: inline-flex; flex-direction: column; width: 100%; margin: 0 0 clamp(18px, 2.2vw, 30px); padding: 0; break-inside: avoid; border: 0; background: transparent; color: inherit; text-align: left; cursor: zoom-in; }
.portfolio-card-image { display: block; overflow: hidden; background: var(--paper-deep); }
.portfolio-card img { width: 100%; height: auto; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.portfolio-card:hover img { transform: scale(1.025); }
.portfolio-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.portfolio-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 9px; color: #77796e; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.portfolio-caption span:last-child { flex: 0 0 auto; color: var(--gold); }
.portfolio-note { display: flex; align-items: center; justify-content: flex-end; gap: 9px; margin: 10px 0 0; color: #858278; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }

.photo-lightbox { position: fixed; width: min(94vw, 1280px); max-width: none; max-height: 94svh; padding: 62px clamp(14px, 3vw, 40px) 18px; border: 1px solid rgba(245, 241, 232, .25); background: #18251d; color: var(--paper); }
.photo-lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.photo-lightbox::backdrop { background: rgba(9, 14, 10, .9); backdrop-filter: blur(5px); }
.photo-lightbox-image { width: auto; height: auto; max-width: 100%; max-height: calc(94svh - 112px); object-fit: contain; }
.photo-lightbox-caption { margin: 12px 0 0; color: rgba(245, 241, 232, .7); font-size: 9px; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.photo-lightbox-close { position: absolute; top: 14px; right: 16px; display: inline-flex; align-items: center; gap: 13px; padding: 7px 10px; border: 1px solid rgba(245, 241, 232, .35); background: transparent; color: var(--paper); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.photo-lightbox-close span { font-size: 18px; line-height: 1; }

.services { position: relative; overflow: hidden; background: var(--forest); color: var(--paper); }
.section-topline-light { border-bottom-color: rgba(245, 241, 232, .19); color: rgba(245, 241, 232, .55); }
.services-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 12vw, 190px); padding: 88px 0 118px; }
.eyebrow-light { color: rgba(245, 241, 232, .58); }
.services h2 { font-size: clamp(50px, 6vw, 83px); }
.services h2 em, .process h2 em { color: #d3a164; }
.services-lead { max-width: 400px; margin: 26px 0 29px; color: rgba(245, 241, 232, .67); font-size: 12px; line-height: 1.9; }
.text-link-light { color: var(--paper); }
.service-points { border-top: 1px solid rgba(245, 241, 232, .22); }
.service-point { display: grid; grid-template-columns: 43px 1fr 18px; gap: 17px; align-items: start; padding: 23px 0; border-bottom: 1px solid rgba(245, 241, 232, .22); }
.point-number { padding-top: 3px; color: #d3a164; font-size: 9px; letter-spacing: .08em; }
.service-point h3, .process-step h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.service-point p, .process-step p { max-width: 370px; margin: 0; color: rgba(245, 241, 232, .57); font-size: 11px; line-height: 1.8; }
.point-arrow { color: rgba(245, 241, 232, .45); font-size: 13px; }
.services-image { position: absolute; right: 8vw; bottom: 0; width: 28vw; max-width: 410px; height: 230px; overflow: hidden; opacity: .82; }
.services-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; filter: saturate(.78); }
.services-image span { position: absolute; right: 14px; bottom: 12px; color: white; font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }

.pricing { background: var(--paper-deep); }
.pricing-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin: 63px 0 55px; }
.pricing-heading .eyebrow { margin-bottom: 17px; }
.pricing-heading p { max-width: 310px; margin: 0 0 8px; color: var(--muted); font-size: 11px; line-height: 1.85; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; min-height: 402px; padding: 28px clamp(20px, 2.5vw, 38px); border: 1px solid rgba(29, 36, 30, .19); background: rgba(245, 241, 232, .5); cursor: pointer; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.price-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.price-card:has(.plan-choice:checked) { border-color: var(--gold); background: var(--paper); box-shadow: 0 10px 30px rgba(29, 36, 30, .08); }
.plan-choice { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.price-card:has(.plan-choice:focus-visible) { outline: 2px solid var(--gold); outline-offset: 4px; }
.price-card-featured { background: var(--forest); color: var(--paper); }
.price-card-featured .price-card-top, .price-card-featured .price-detail { color: rgba(245, 241, 232, .72); }
.price-card-featured .price-rule { background: rgba(245, 241, 232, .24); }
.price-card-featured .price-value { color: #e0aa67; }
.price-card-featured .radio-indicator { border-color: rgba(245, 241, 232, .58); }
.price-card-featured:has(.plan-choice:checked) { background: #243b2e; }
.price-card-top { display: flex; align-items: center; justify-content: space-between; color: #77796e; font-size: 8px; letter-spacing: .16em; }
.radio-indicator { display: block; width: 14px; height: 14px; border: 1px solid rgba(29, 36, 30, .45); border-radius: 50%; }
.plan-choice:checked + .price-card-top .radio-indicator { border: 4px solid var(--gold); background: var(--paper); }
.price-name { margin-top: 40px; font-family: var(--serif); font-size: 27px; letter-spacing: -.04em; }
.price-value { margin: 5px 0 23px; color: var(--forest); font-family: var(--serif); font-size: 44px; letter-spacing: -.06em; line-height: 1.1; }
.price-rule { width: 100%; height: 1px; margin-bottom: 19px; background: rgba(29, 36, 30, .18); }
.price-detail { display: flex; gap: 5px; margin: 5px 0; color: #62665d; font-size: 10px; line-height: 1.55; }
.price-detail strong { color: var(--gold); font-weight: 600; }
.price-muted { margin-top: auto; padding-top: 18px; color: #969287; font-size: 9px; }
.pricing-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 28px; }
.pricing-bottom p { max-width: 420px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.button-telegram { min-width: 220px; }

.process { background: #24362b; color: var(--paper); }
.process-heading { margin: 61px 0 45px; }
.process-heading .eyebrow { margin-bottom: 17px; }
.process h2 { font-size: clamp(47px, 6vw, 82px); }
.process-list { border-top: 1px solid rgba(245, 241, 232, .23); }
.process-step { display: grid; grid-template-columns: 70px minmax(220px, .85fr) minmax(220px, 1fr) 18px; align-items: start; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(245, 241, 232, .23); }
.step-number { padding-top: 6px; color: #d3a164; font-size: 9px; letter-spacing: .11em; }
.process-step h3 { font-size: 20px; }
.step-mark { padding-top: 5px; color: rgba(245, 241, 232, .47); }
.process-footnote { display: flex; align-items: center; gap: 9px; margin: 23px 0 0; color: rgba(245, 241, 232, .57); font-size: 9px; letter-spacing: .05em; }
.note-dot-gold { background: #d3a164; }

.about { background: var(--paper); }
.about-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(48px, 9vw, 140px); align-items: center; padding-top: 70px; }
.about-image-wrap { position: relative; min-height: 470px; }
.about-image-wrap img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; object-position: 50% 47%; }
.about-image-label { position: absolute; right: 0; bottom: 0; padding: 12px 15px; background: var(--paper); color: #77796e; font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.about-copy .eyebrow { margin-bottom: 20px; }
.about-copy h2 { margin-bottom: 25px; }
.about-lead { max-width: 390px; margin-bottom: 14px; color: #454c43; font-family: var(--serif); font-size: 19px; line-height: 1.55; }
.about-text { max-width: 390px; margin-bottom: 25px; color: var(--muted); font-size: 11px; line-height: 1.9; }

.contact { position: relative; overflow: hidden; background: var(--gold); color: #fff9ef; }
.contact-inner { position: relative; max-width: 1280px; margin: 0 auto; padding: clamp(90px, 12vw, 165px) clamp(22px, 8vw, 128px); }
.contact .eyebrow { color: rgba(255, 249, 239, .76); }
.contact h2 { max-width: 800px; font-size: clamp(58px, 8vw, 112px); }
.contact h2 em { color: var(--forest); }
.contact-inner > p:not(.eyebrow) { max-width: 390px; margin: 25px 0 26px; color: rgba(255, 249, 239, .82); font-size: 12px; line-height: 1.8; }
.button-light { background: var(--paper); color: var(--forest); }
.button-light:hover { background: var(--forest); color: var(--paper); transform: translateY(-2px); }
.contact-flower { position: absolute; top: 18%; right: 11%; color: rgba(255, 249, 239, .22); font-size: clamp(90px, 18vw, 250px); line-height: 1; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 86px; padding: 15px clamp(22px, 5.5vw, 88px); background: var(--forest); color: rgba(245, 241, 232, .63); font-size: 8px; letter-spacing: .08em; }
.footer-brand { color: var(--paper); font-family: var(--serif); font-size: 15px; }
.footer-brand span { color: rgba(245, 241, 232, .56); font-family: var(--sans); font-size: 9px; }
.site-footer a:not(.footer-brand):hover { color: var(--gold); }
.back-top { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(245, 241, 232, .27); border-radius: 50%; font-size: 13px; }

@media (max-width: 1050px) {
  :root { --header-height: 76px; }
  .site-header { padding-inline: 28px; }
  .primary-nav { gap: 16px; }
  .primary-nav > a:not(.nav-telegram) { font-size: 10px; }
  .nav-telegram { gap: 10px; padding: 10px 12px; font-size: 9px; }
  .hero-copy { padding-right: 48px; padding-left: 52px; }
  .hero h1 { font-size: clamp(56px, 7.5vw, 80px); }
  .section-pad { padding-inline: 7vw; }
  .services-layout { gap: 7vw; }
}

@media (max-height: 820px) and (min-width: 761px) {
  .hero { height: calc(100svh - var(--header-height)); min-height: 560px; }
  .hero-copy { padding-top: 24px; padding-bottom: 36px; }
  .hero h1 { font-size: clamp(48px, 5.8vw, 76px); }
  .hero-note { margin-top: 28px; }
}

@media (max-width: 760px) {
  :root { --header-height: 68px; }
  body { font-size: 14px; }
  .site-header { min-height: var(--header-height); padding-inline: 18px; }
  .brand-mark { width: 37px; height: 37px; }
  .brand-name { font-size: 14px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; order: 3; width: 40px; height: 40px; margin-left: 7px; padding: 9px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 100%; height: 1px; background: var(--forest); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .primary-nav { position: absolute; top: calc(var(--header-height) - 1px); right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 18px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 15px 25px rgba(29, 36, 30, .08); }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a:not(.nav-telegram) { padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 12px; }
  .nav-telegram { justify-content: space-between; margin-top: 14px; padding: 14px 15px; font-size: 11px; }
  .hero { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .hero-photo { height: 67svh; min-height: 500px; max-height: 720px; }
  .hero-photo img { height: 100%; min-height: 0; max-height: none; object-position: 50% 42%; }
  .hero-copy { min-height: 490px; padding: 52px 25px 78px; }
  .hero h1 { font-size: clamp(58px, 16vw, 88px); }
  .hero-description { max-width: 330px; margin-top: 22px; font-size: 12px; }
  .hero-note { margin-top: 43px; }
  .hero-index { display: none; }
  .section-pad { padding: 79px 22px; }
  .section-topline { font-size: 7px; letter-spacing: .12em; }
  .portfolio-heading, .pricing-heading { display: block; margin: 43px 0 34px; }
  .portfolio-heading h2, .pricing h2, .process h2, .about h2 { font-size: clamp(45px, 12vw, 65px); }
  .portfolio-heading p, .pricing-heading p { margin-top: 19px; font-size: 11px; }
  .portfolio-gallery { column-count: 2; column-gap: 10px; }
  .portfolio-card { margin-bottom: 17px; }
  .portfolio-caption { gap: 6px; padding-top: 7px; font-size: 7px; letter-spacing: .08em; }
  .portfolio-note { font-size: 7px; }
  .services-layout { grid-template-columns: 1fr; gap: 42px; padding: 53px 0 170px; }
  .services h2 { font-size: clamp(48px, 13vw, 69px); }
  .services-lead { font-size: 11px; }
  .service-point { grid-template-columns: 32px 1fr 14px; gap: 11px; padding: 18px 0; }
  .service-point h3 { font-size: 18px; }
  .service-point p { font-size: 10px; }
  .services-image { right: 22px; width: 48vw; height: 128px; }
  .services-image span { font-size: 6px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 10px; }
  .price-card { min-height: 340px; padding: 24px 25px; }
  .price-name { margin-top: 28px; }
  .pricing-bottom { align-items: stretch; flex-direction: column; gap: 17px; }
  .pricing-bottom .button { width: 100%; }
  .process-heading { margin: 48px 0 34px; }
  .process-step { grid-template-columns: 34px 1fr 14px; gap: 11px; padding: 19px 0; }
  .process-step > div { grid-column: 2; }
  .step-mark { grid-column: 3; grid-row: 1; }
  .process-step p { font-size: 10px; }
  .process-footnote { align-items: flex-start; font-size: 8px; }
  .about-layout { grid-template-columns: 1fr; gap: 37px; padding-top: 43px; }
  .about-image-wrap, .about-image-wrap img { min-height: 340px; max-height: 500px; }
  .about-copy h2 { margin-bottom: 18px; }
  .about-lead { font-size: 17px; }
  .contact-inner { padding: 91px 24px; }
  .contact h2 { font-size: clamp(54px, 13vw, 82px); }
  .contact-flower { top: 9%; right: 5%; font-size: 85px; }
  .site-footer { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; padding: 22px; font-size: 7px; }
  .site-footer > span { grid-column: 1; grid-row: 2; }
  .site-footer > a[data-telegram-link] { grid-column: 2; grid-row: 1; }
  .site-footer .back-top { grid-column: 2; grid-row: 2; justify-self: end; }
}

@media (max-width: 480px) {
  .photo-lightbox { width: 100vw; max-height: 100svh; padding: 58px 12px 16px; border: 0; }
  .photo-lightbox-image { max-height: calc(100svh - 106px); }
}

@media (max-width: 390px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-copy { min-height: 520px; }
  .brand-name small { letter-spacing: .1em; }
  .section-topline-right { max-width: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
