/* All typography +5%: relative sizes inherit the larger root; absolute sizes are adjusted below. */
html { font-size: 105%; }
/* Desktop art direction. Mobile source styles remain in rapa.html. */
.desktop-only, .desktop-nav { display: none; }
.hero-content { display: contents; }
:where(a, button, input, textarea):focus-visible { outline: 2px solid #ef1111; outline-offset: 5px; }
@media (min-width: 768px) {
  :root { --gutter: clamp(32px, 5vw, 100px); --rule: 1px solid #b9b9b3; }
  html { scroll-padding-top: 90px; }
  body { display: block; padding: 0; background: #e9e9e4; }
  body.has-overlay { overflow: hidden; }
  .desktop-only { display: block; }
  .story { width: min(100%, 1800px); min-height: 100svh; height: auto; max-height: none; margin: 0 auto; padding-top: 90px; overflow: visible; border: 0; box-shadow: none; }
  .story .site-bar { position: fixed; inset: 0 0 auto; width: min(100%, 1800px); height: 90px; min-height: 0; margin: 0 auto; border-bottom: var(--rule); background: rgba(255,255,255,.97); }
  .site-bar::before { display: none; }
  .site-bar__content { position: static; height: 90px; padding: 0 var(--gutter); gap: 24px; }
  .site-logo { font-size: 3.1rem; }
  .site-actions { gap: 14px; }
  .booking-shortcut { width: auto; min-width: 145px; height: 42px; padding: 0 16px; border: 1px solid var(--accent); border-radius: 0; background: var(--accent); color: white; font-size: 0; }
  .booking-shortcut::after { content: 'Записаться ↗'; font: 12.6px var(--story-font); text-transform: uppercase; letter-spacing: .07em; }
  .booking-shortcut:hover { transform: none; background: #b90808; }
  .site-menu { position: fixed; }
  .site-menu__panel { width: 380px; padding: 32px; }
  .site-menu__link { padding: 22px 0; }
  .story.deck.is-enhanced .slides { height: auto; overflow: visible; user-select: text; -webkit-user-select: text; }
  .story.deck.is-enhanced .slides > section { position: relative; inset: auto; flex: none; width: 100%; height: auto; min-height: 0; margin: 0; overflow: visible; opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: none; will-change: auto; scroll-margin-top: 0; }
  .story.deck.is-enhanced :is(.cuts-hero,.cuts-carousel,.cuts-controls,.cuts-process,.location-art,.faq-intro,.faq-list,.faq-footer,.channel-title,.channel-button,.channel-section > .site-footer) { opacity: 1; transform: none; transition-delay: 0s; }
  .story .slides > section > .site-footer { display: none; }
  .story .page__face { flex: auto; height: auto; min-height: 0; overflow: hidden; }
  .story .page--first .page__face { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; min-height: min(840px, calc(100svh - 90px)); padding: 32px var(--gutter) 42px; }
  .page--first .page__face--front::before { display: none; }
  .story .page--first .page__image { position: relative; inset: auto; grid-column: 2; grid-row: 1; display: block; width: 100%; height: auto; max-height: min(840px, calc(100svh - 170px)); object-fit: contain; }
  .masthead { display: none; }
  .hero-content { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 28px 18px 28px 0; }
  .eyebrow { margin: 0 0 35px; color: var(--muted); font: 11.55px/1.5 var(--story-font); letter-spacing: .12em; text-transform: uppercase; }
  .hero-copy h1 { margin: 0; font: 400 clamp(52.5px, 7.14vw, 117.6px)/.95 Georgia, 'Times New Roman', serif; letter-spacing: -.065em; }
  .hero-copy em, .about-copy em, .cuts-title em, .location-copy em { color: var(--accent); font-style: italic; }
  .hero-note { margin: 32px 0; font: 14.7px/1.7 var(--story-font); }
  .story .book-cta { position: static; min-height: 51px; margin: 0 0 32px; }
  .hero-next { color: var(--muted); font: 11.55px/1.5 var(--story-font); text-decoration: none; }
  .hero-next span { display: inline-block; margin-left: 25px; color: var(--accent); font-size: 21px; }
  .hero-caption { position: absolute; right: var(--gutter); bottom: 16px; color: var(--muted); font: 9.45px var(--story-font); letter-spacing: .16em; }
  .story .page--second .page__face { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; padding: 90px var(--gutter) 0; border-top: var(--rule); background: #f5f5f2; }
  .page--second .page__face > .page__image { display: none; }
  .about-copy { grid-column: 2; grid-row: 1; padding-bottom: 90px; }
  .about-copy h2, .location-copy h2 { margin: 0 0 36px; font: 400 clamp(54.6px, 5.46vw, 88.2px)/.98 Georgia,serif; letter-spacing: -.06em; }
  .about-copy > p:last-child { max-width: 48ch; margin: 0; font: 15.75px/1.9 var(--story-font); }
  .about-art { position: relative; grid-column: 1; grid-row: 1; align-self: end; width: 100%; aspect-ratio: 854/950; overflow: hidden; }
  .about-art img { position: absolute; bottom: 0; display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
  .story.deck .cuts-section { display: grid; grid-template-columns: .65fr 1.35fr; column-gap: 6%; padding: 90px var(--gutter) 0; border-top: var(--rule); background: white; }
  .cuts-hero { grid-row: 1; margin: 0; padding: 0; border: 0; }
  .cuts-jp { position: static; margin: 10px 0 30px; }
  .cuts-title { margin: 35px 0 20px; font: 400 clamp(46.2px, 5.25vw, 84px)/.98 Georgia,serif; letter-spacing: -.05em; }
  .cuts-price { margin: 30px 0 0; font-size: clamp(68.25px, 7.35vw, 117.6px); }
  .story.deck .cuts-carousel { grid-column: 2; grid-row: 1; width: 100%; height: clamp(380px, 40vw, 620px); margin: 0; overflow: hidden; }
  .cut-card { width: 54%; height: calc(100% - 40px); }
  .cuts-controls { grid-column: 2; width: 100%; margin: 0 0 45px; }
  .cuts-book { grid-column: 1; grid-row: 2; align-self: center; margin: 16px 0 36px; font: 11.55px/1.6 var(--story-font); }
  .text-action { padding: 8px 0; border: 0; border-bottom: 1px solid var(--accent); background: transparent; color: var(--accent); font: 13.65px var(--story-font); cursor: pointer; }
  .cuts-process { grid-column: 1/-1; margin: 0; padding: 36px 0 70px; }
  .cuts-process h2 { margin-bottom: 35px; font-size: 18.9px; }
  .cuts-steps { grid-template-columns: repeat(4, 1fr); gap: 25px; }
  .cuts-step { grid-template-columns: 1fr; gap: 18px; border: 0; padding: 0; }
  .cuts-step__number { font-size: 27.3px; }
  .cuts-step h3 { min-height: 35px; line-height: 1.5; letter-spacing: .04em; }
  .cuts-step p { font-size: 13.65px; line-height: 1.8; }
  .story.deck .location-section { display: grid; grid-template-columns: 1.1fr .9fr; padding: 0; border-top: var(--rule); background: #f5f5f2; }
  .location-copy { grid-column: 2; grid-row: 1; align-self: center; padding: 70px var(--gutter) 70px 12%; }
  .location-copy h2 { font-size: clamp(50.4px, 4.935vw, 79.8px); }
  .location-studio { margin: 0 0 12px; font: 16.8px var(--story-font); }
  .location-copy address { font: normal 13.65px/1.8 var(--story-font); margin: 0 0 30px; }
  .location-copy .location-actions { max-width: 330px; }
  .location-copy button { text-align: left; cursor: pointer; }
  .story.deck .location-art { grid-column: 1; grid-row: 1; width: 100%; height: clamp(600px, 52vw, 810px); aspect-ratio: auto; overflow: hidden; }
  .location-photo { height: 100%; object-fit: cover; object-position: center 55%; }
  .location-hint, .location-board-trigger { display: none; }
  .story.deck .faq-section { display: grid; grid-template-columns: .65fr 1.35fr; gap: 6%; padding: 90px var(--gutter) 65px; border-top: var(--rule); }
  .faq-intro { min-height: 270px; padding: 0; border: 0; }
  .faq-title { font-size: clamp(100.8px, 11.55vw, 178.5px); }
  .faq-title-sub { font-size: 10.5px; letter-spacing: .5em; }
  .faq-vertical { right: 0; top: 75px; }
  .faq-list { border-top: var(--rule); }
  .faq-question { padding: 27px 0; }
  .faq-question-text { font-size: clamp(21px, 1.89vw, 29.4px); }
  .faq-answer p { font-size: 14.7px; line-height: 1.8; }
  .faq-footer { grid-column: 2; min-height: 110px; padding-top: 40px; }
  .faq-footer-word { font-size: 33.6px; text-align: right; }
  .story.deck .channel-section { padding: 0; border-top: var(--rule); }
  .channel-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; min-height: 400px; padding: 70px var(--gutter); text-align: left; }
  .channel-copy > p:last-child { margin: 0; font: 400 clamp(47.25px, 5.25vw, 84px)/1 Georgia,serif; letter-spacing: -.05em; }
  .channel-copy > p:last-child span { margin-left: 25px; color: var(--accent); }
  .channel-title { display: none; }
  .channel-button { justify-self: center; width: 220px; font-size: 81.9px; }
  .story.deck .channel-section > .site-footer { display: grid; grid-template-columns: .5fr 1.5fr; gap: 28px; width: 100%; margin: 0; padding: 48px var(--gutter) 28px; box-shadow: none; }
  .site-footer__brand { font-size: 60.9px; }
  .site-footer__links { gap: 16px 25px; max-width: 750px; font-size: 11.55px; line-height: 1.8; }
  .site-footer__copy { grid-column: 2; font-size: 9.45px; }
  .booking-modal, .legal-modal, .location-modal { position: fixed; inset: 0; }
  .booking-modal { width: min(760px, calc(100% - 80px)); height: calc(100svh - 64px); inset: 32px 0; margin: auto; border: 1px solid #111; box-shadow: 0 0 0 100vmax rgba(0,0,0,.62); transform: translateY(24px); }
  .booking-modal.is-open { transform: none; }
  .booking-modal__scroll { padding: 25px 54px 0; }
  .booking-modal__intro { min-height: 0; padding: 24px 0 25px; }
  .booking-modal__title { font-size: 67.2px; }
  .booking-modal__title br { display: none; }
  .booking-modal__lead { max-width: 450px; font-size: 17.85px; }
  .booking-form { gap: 22px; }
  .booking-chinese { font-size: 94.5px; }
  .booking-modal__scroll > .site-footer { width: calc(100% + 108px); margin-left: -54px; margin-right: -54px; }
  .legal-modal, .location-modal { align-items: center; justify-items: center; padding: 32px; }
  .legal-modal__sheet, .location-modal__sheet { width: min(760px, 100%); max-height: calc(100svh - 64px); padding: 32px; transform: translateY(24px); }
  .location-map { height: min(40svh, 380px); }
  .location-actions { grid-template-columns: 1fr; }
  .legal-modal__title { font-size: 29.4px; }
  .legal-section p, .legal-section li { font-size: 13.65px; }
}
@media (min-width: 1100px) {
  .desktop-nav { display: flex; gap: clamp(20px, 2.8vw, 48px); margin-left: auto; pointer-events: auto; }
  .desktop-nav a { padding: 12px 0; color: #111; font: 12.6px var(--story-font); text-decoration: none; }
  .desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--accent); }
  .menu-toggle { display: none; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .hero-copy h1 { font-size: clamp(51.45px, 7.56vw, 81.9px); }
  .eyebrow { margin-bottom: 25px; font-size: 10.5px; }
  .about-copy > p:last-child { font-size: 13.65px; line-height: 1.8; }
  .cuts-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .cuts-step h3 { min-height: 0; }
  .location-copy { padding-left: 28px; }
  .location-copy h2 { font-size: 45.15px; }
  .location-art { min-height: 620px; }
  .faq-question { gap: 9px; grid-template-columns: 26px 1fr 22px; }
  .faq-answer { margin-left: 35px; }
}
@media (min-width: 768px) and (max-height: 700px) {
  .hero-copy h1 { font-size: clamp(50.4px, 5.775vw, 86.1px); }
  .hero-note { margin: 20px 0; }
  .hero-content { padding-block: 10px; }
  .hero-copy .eyebrow { margin-bottom: 20px; }
  .story .book-cta { margin-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; animation-duration: .01ms; animation-delay: 0s; transition-duration: .01ms; transition-delay: 0s; }
}
