/* Artur Petrishchev: modern luxury minimal. Black hero with grain and one oxblood glow, stone-white pages, one dark services block, black marble band. Typewriter for the name, serif italics for voice, mono for working text. Motion is soft: reveal on scroll, slow parallax, one marquee. All motion is off for reduced-motion users and content is visible without JS. */
:root {
  --stone: #F2F1EF;
  --ink: #121314;
  --black: #0B0C0D;
  --oxblood: #8F1D2C;
  --oxblood-lite: #D0505F;
  --graphite: #666E72;
  --graphite-lite: #A3A9AC;
  --fg: var(--ink);
  --mut: var(--graphite);
  --line: rgba(18,19,20,.2);
  --acc: var(--oxblood);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-type: "Cutive Mono", "Courier New", monospace;
  --font-body: "IBM Plex Mono", "Courier New", monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  --head-h: 74px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; background: var(--stone); color: var(--ink); font-family: var(--font-body); font-weight: 400; font-size: 15.5px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
::selection { background: var(--oxblood); color: var(--stone); }
:focus-visible { outline: 2px solid var(--oxblood-lite); outline-offset: 4px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.caps { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }

.dark { --fg: var(--stone); --mut: var(--graphite-lite); --line: rgba(242,241,239,.2); --acc: var(--oxblood-lite); background: var(--black); color: var(--stone); }

/* masthead: sticky, glassy, reading-progress hairline */
.head { position: sticky; top: 0; z-index: 20; background: var(--black); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); color: var(--stone); transition: background .3s; }
.head::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: calc(var(--p, 0) * 100%); background: var(--oxblood-lite); }
.head.sc { background: rgba(11,12,13,.86); box-shadow: 0 1px 0 rgba(242,241,239,.08); }
.head .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: var(--head-h); }
.logo { text-decoration: none; display: block; line-height: 1; }
.logo b { display: block; font-family: var(--font-type); font-weight: 400; font-size: 20px; letter-spacing: .26em; text-transform: uppercase; }
.logo span { display: block; font-size: 10px; letter-spacing: .42em; text-transform: uppercase; margin-top: 8px; color: var(--graphite-lite); padding-left: .2em; }
.nav { display: flex; gap: 30px; }
.nav a { text-decoration: none; color: var(--graphite-lite); position: relative; padding: 6px 0; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--oxblood-lite); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--stone); }
.nav a:hover::after { transform: scaleX(1); }
.lang { display: flex; gap: 2px; }
.lang a { font-size: 12px; letter-spacing: .18em; font-weight: 500; text-decoration: none; color: var(--graphite-lite); padding: 6px 9px; transition: color .2s; }
.lang a:hover { color: var(--stone); }
.lang a[aria-current="page"] { color: var(--stone); box-shadow: inset 0 -1px 0 var(--oxblood-lite); }

/* buttons */
.btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 17px 30px; border: 1px solid var(--fg); text-decoration: none; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .45s var(--ease); background: var(--fg); }
.btn.primary { background: var(--fg); color: var(--bg-inv, var(--stone)); }
.btn.primary::before { background: var(--oxblood); }
.btn.primary:hover { color: var(--stone); border-color: var(--oxblood); }
.btn.ghost { color: var(--fg); }
.btn.ghost:hover { color: var(--bg-inv, var(--stone)); }
.btn:hover::before { transform: translateY(0); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.dark .btn.primary, .band .btn.primary { color: var(--black); }
.dark .btn.primary:hover, .band .btn.primary:hover { color: var(--stone); border-color: var(--oxblood); }
.dark .btn.ghost:hover, .band .btn.ghost:hover { color: var(--black); }
.band { --fg: var(--stone); --mut: var(--graphite-lite); --line: rgba(242,241,239,.2); --acc: var(--oxblood-lite); }

/* hero */
.hero-wrap { position: relative; overflow: hidden; }
.hero-wrap::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 85% 30%, rgba(143,29,44,.34), transparent 70%), radial-gradient(45% 55% at 5% 100%, rgba(143,29,44,.16), transparent 70%); }
.hero-wrap::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: screen; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 72px; padding: 88px 32px 120px; align-items: center; min-height: calc(100svh - var(--head-h) - 60px); }
h1 .kicker { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; line-height: 1.5; color: var(--graphite-lite); margin: 0 0 30px; }
h1 { font-family: var(--font-type); font-weight: 400; font-size: clamp(2.4rem, 6.7vw, 5.7rem); line-height: 1.04; letter-spacing: -.025em; margin: 0; }
h1 .ln { display: block; }
.lead { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.14; margin: 44px 0 22px; max-width: 19ch; text-wrap: balance; }
.sub { margin: 0 0 4px; color: var(--mut); }
.meta { margin: 0 0 38px; color: var(--mut); }
.photo { position: relative; margin: 0 0 28px 28px; }
.photo::before { content: ""; position: absolute; left: -28px; bottom: -28px; width: 64%; height: 56%; background: var(--oxblood); }
.photo .frame { position: relative; overflow: hidden; background: #222; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; transform: scale(1.1); will-change: transform; }

/* entrance (CSS only, ends visible) */
@keyframes up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
h1 .kicker, h1 .ln, .lead, .sub, .meta, .hero .btns { animation: up 1s var(--ease) both; }
h1 .kicker { animation-delay: .05s; }
h1 .l1 { animation-delay: .18s; }
h1 .l2 { animation-delay: .3s; }
.lead { animation-delay: .5s; }
.sub { animation-delay: .62s; }
.meta { animation-delay: .7s; }
.hero .btns { animation-delay: .82s; }
.photo .frame { animation: wipe 1.4s var(--ease) .2s both; }
.photo::before { animation: grow 1.1s var(--ease) .9s both; transform-origin: left; }

/* marquee */
.marquee { background: var(--oxblood); color: var(--stone); overflow: hidden; white-space: nowrap; padding: 22px 0; border-block: 1px solid rgba(242,241,239,.12); }
.mq-track { display: inline-flex; animation: mq 46s linear infinite; will-change: transform; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-group { display: inline-flex; align-items: center; flex: none; }
.mq-group span { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1; padding: 0 28px; }
.mq-group i { font-style: normal; font-size: 8px; opacity: .7; }
@keyframes mq { to { transform: translateX(-50%); } }

/* sections */
.block { padding: 120px 0; }
.block.light + .block.light { padding-top: 0; }
.sec { display: grid; grid-template-columns: 1fr 1.8fr; gap: 72px; }
h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.4rem, 4.6vw, 3.7rem); line-height: 1; margin: 0 0 20px; }
h2::before { content: ""; display: block; width: 44px; height: 2px; background: var(--acc); margin-bottom: 22px; transform-origin: left; }
.note { margin: 0; max-width: 32ch; color: var(--mut); font-size: 14px; }

.about-p { margin: 0 0 40px; max-width: 46ch; color: var(--mut); }
.portrait-w { position: relative; max-width: 420px; margin: 0 0 28px 0; }
.portrait-w::before { content: ""; position: absolute; right: -18px; bottom: -18px; width: 55%; height: 55%; border: 1px solid var(--oxblood); }
.portrait { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; background: #222; }
.qa { margin: 0; padding: 0; border-top: 1px solid var(--line); }
.qa div { padding: 30px 0; border-bottom: 1px solid var(--line); }
.qa dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--acc); margin-bottom: 12px; }
.qa dd { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.08; }
.qa-h { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; margin: 0 0 18px; color: var(--mut); }

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), background .5s; }
.row::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.row:hover { padding-left: 20px; background: linear-gradient(90deg, rgba(143,29,44,.16), transparent 70%); }
.row:hover::after { transform: scaleX(1); }
.row .n { display: block; margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 3.2vw, 2.5rem); line-height: 1.05; }
.row .d { display: block; margin-top: 6px; color: var(--mut); font-size: 13.5px; }
.price { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.8vw, 2.2rem); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }

.homep { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; margin: 0 0 52px; max-width: 26ch; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { border-top: 1px solid var(--fg); padding-top: 20px; }
.steps .no { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 3rem; display: block; line-height: 1; margin-bottom: 18px; color: var(--oxblood); }
.steps h3 { display: block; margin: 0 0 8px; font-weight: 500; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-family: var(--font-body); }
.steps p.t { margin: 0; color: var(--mut); font-size: 13.5px; }

.band { position: relative; padding: 120px 0; color: var(--stone); background: url("marble.svg") center / cover, var(--black); overflow: hidden; }
.handle { font-family: var(--font-type); font-weight: 400; font-size: clamp(1.5rem, 4.6vw, 3.5rem); line-height: 1.1; margin: 0 0 40px; word-break: break-word; }
.handle a { text-decoration: none; background: linear-gradient(var(--oxblood-lite), var(--oxblood-lite)) 0 100% / 100% 1px no-repeat; padding-bottom: 6px; transition: background-size .5s var(--ease); }
.handle a:hover { background-size: 0% 1px; background-position: 100% 100%; }

.contact { padding: 120px 0; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.contact h2 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.contact p { margin: 0; color: var(--mut); }

/* faq */
.faq { margin: 0; padding: 0; border-top: 1px solid var(--line); }
.faq div { padding: 26px 0; border-bottom: 1px solid var(--line); }
.faq dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--acc); margin-bottom: 8px; }
.faq dd { margin: 0; max-width: 62ch; }

/* footer */
footer { background: var(--black); color: var(--graphite-lite); padding: 96px 0 40px; overflow: hidden; }
.outline { font-family: var(--font-type); text-transform: uppercase; font-size: clamp(2.2rem, 11.5vw, 10rem); line-height: 1; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px #3E4246; margin: 0 0 56px; white-space: nowrap; transition: -webkit-text-stroke-color .6s; }
footer:hover .outline { -webkit-text-stroke-color: var(--oxblood-lite); }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 12.5px; border-top: 1px solid #25282B; padding-top: 28px; }
.foot p { margin: 0; max-width: 72ch; }
.foot a { text-underline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--stone); color: var(--ink); padding: 10px 16px; z-index: 30; }
.skip:focus { left: 8px; top: 8px; }

/* scroll reveal: only hidden when JS has run */
.js .rv { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js h2.rv::before { transform: scaleX(0); transition: transform .9s var(--ease) .2s; }
.js h2.rv.in::before { transform: scaleX(1); }

/* mobile dock */
.dock { display: none; }

@media (max-width: 900px) {
  :root { --head-h: 64px; }
  .nav { display: none; }
  .logo b { font-size: 15px; letter-spacing: .16em; }
  .logo span { letter-spacing: .28em; }
  .lang a { padding: 6px 7px; }
  .hero { grid-template-columns: 1fr; gap: 56px; padding: 56px 16px 80px; min-height: 0; }
  h1 { font-size: clamp(2.4rem, 12.6vw, 5rem); }
  .photo { margin: 0 0 28px 28px; max-width: 460px; }
  .sec, .contact { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .block { padding: 76px 0; }
  .band { padding: 76px 0; }
  .contact { padding: 76px 0; }
  .wrap:not(.hero) { padding: 0 20px; }
  .row:hover { padding-left: 0; background: none; }
  .portrait-w::before { right: -8px; }
  .dock { display: flex; position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(11,12,13,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid rgba(242,241,239,.12); transform: translateY(110%); transition: transform .5s var(--ease); }
  .dock.on { transform: none; }
  .dock .btn { flex: 1; justify-content: center; padding: 15px 12px; background: var(--stone); color: var(--black); border-color: var(--stone); }
  .dock .btn.ghost { background: transparent; color: var(--stone); }
  footer { padding-bottom: 96px; }
}
@media (max-width: 420px) { .btn { padding: 15px 22px; } .logo span { letter-spacing: .3em; } .wrap:not(.hero) { padding: 0 16px; } .hero { padding-inline: 16px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .photo img { transform: none; }
  .mq-track { transform: none; }
}
