@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #080808;
  --bg-2: #10100f;
  --panel: #171615;
  --panel-2: #201d1b;
  --paper: #f0ede7;
  --muted: #aaa19b;
  --muted-2: #79716d;
  --wine: #641e2a;
  --wine-light: #a15b65;
  --line: rgba(240, 237, 231, .17);
  --line-soft: rgba(240, 237, 231, .09);
  --content: 1440px;
  --gutter: clamp(22px, 5.45vw, 84px);
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--paper); font-family: var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.modal-open, body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--wine); color: var(--paper); }
:focus-visible { outline: 2px solid var(--wine-light); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - var(--gutter) * 2, var(--content)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .19em; line-height: 1.5; text-transform: uppercase; }
.wine-text { color: #b16d78; }
.display-title, .section-title, .inner-title, .booking-title { margin: 0; font-family: var(--font-heading); font-weight: 900; font-style: italic; letter-spacing: var(--heading-tracking); line-height: .88; text-transform: uppercase; }
.section-title { font-size: clamp(48px, 6vw, 88px); }
.section-title em, .inner-title em, .booking-title em { color: var(--wine-light); font-style: inherit; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; border-radius: 0; font-size: 11px; font-weight: 800; letter-spacing: .095em; text-transform: uppercase; transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.button span { font-size: 21px; font-weight: 400; line-height: 1; }
.button-light { background: var(--paper); color: var(--bg); }
.button-light:hover { background: var(--wine); color: var(--paper); transform: translateY(-2px); }
.button-light:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.button-ghost { border-color: var(--line); background: transparent; color: var(--paper); }
.button-ghost:hover { border-color: var(--wine-light); color: var(--wine-light); }
.text-link { display: inline-flex; align-items: center; gap: 16px; padding: 0 0 7px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--paper); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; transition: color .2s, border-color .2s; }
.text-link:is(:hover, :focus-visible) { color: var(--wine-light); border-color: var(--wine-light); }

/* Header */
.site-header { position: relative; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line-soft); }
.site-header-home { position: absolute; inset: 0 0 auto; width: 100%; background: linear-gradient(180deg, rgba(8,8,8,.88), rgba(8,8,8,0)); border: 0; }
.header-inner { width: min(100% - var(--gutter) * 2, var(--content)); min-height: 100px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; flex-direction: column; width: 70px; flex: 0 0 auto; color: var(--paper); }
.brand-mark { display: block; font-family: var(--font-heading); font-size: 48px; font-weight: 900; letter-spacing: -.09em; line-height: .72; }
.brand-caption { margin: 9px 0 0 3px; font-size: 8px; font-weight: 800; letter-spacing: .34em; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.8vw, 28px); margin-left: auto; margin-right: auto; }
.nav-link { color: #e3dfd9; font-size: 11px; letter-spacing: .09em; transition: color .2s; white-space: nowrap; }
.nav-link:hover, .nav-link.is-active { color: var(--wine-light); }
.nav-separator { color: #655d59; font-size: 11px; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions .button { min-width: 152px; min-height: 48px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.menu-toggle span { width: 17px; height: 1px; background: var(--paper); transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { display: none; }

/* Home hero */
.hero { position: relative; min-height: min(850px, 91vh); min-height: min(850px, 91svh); padding-top: 100px; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; z-index: -2; top: 0; right: 0; bottom: 0; width: 59%; overflow: hidden; background: radial-gradient(ellipse at 68% 38%, #27191b 0%, #100b0c 54%, var(--bg) 87%); }
.hero-media::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(8,8,8,.36) 19%, transparent 43%), linear-gradient(0deg, rgba(8,8,8,.35), transparent 23%); }
.hero-media :is(img, .hero-motion) { width: 100%; height: 100%; object-fit: cover; object-position: 83% 47%; filter: brightness(1.13) saturate(1.02) contrast(1.02); }
.hero-media picture { display: contents; }
.hero-motion { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .16s ease; }
.hero-motion.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-motion { display: none; }
}

.hero-copy { position: relative; z-index: 2; width: min(62%, 820px); padding-top: clamp(160px, 15vw, 220px); padding-bottom: 90px; }
.hero-copy .eyebrow { margin-bottom: 30px; }
.eyebrow-line { display: inline-block; width: 48px; height: 1px; background: var(--paper); }
.display-title { font-size: clamp(64px, 8.3vw, 132px); max-width: 900px; }
.hero-description { margin: 40px 0 36px; color: var(--paper); font-size: clamp(12px, 1.25vw, 16px); letter-spacing: .15em; line-height: 1.75; }
.hero-actions .button { min-width: 240px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.home-header-phone { display: none; }
.hero-phone, .home-header-phone, .booking-phone a {
  color: var(--paper);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: .3em;
}
.hero-phone:hover, .home-header-phone:hover, .booking-phone a:hover { text-decoration-color: var(--wine-light); }
.hero-phone { font-size: 15px; }
.hero-bottom { position: absolute; z-index: 3; left: 0; right: 0; bottom: 25px; display: flex; align-items: end; justify-content: space-between; color: var(--paper); font-size: 10px; letter-spacing: .2em; }
.hero-bottom a { color: var(--paper); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .45em; }
.hero-bottom a:is(:hover, :focus-visible) { text-decoration-color: var(--wine-light); }

/* Sections */
.section-pad { padding-block: clamp(76px, 9vw, 138px); }
.manifesto { background: var(--panel); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.manifesto-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 9%; align-items: end; }
.manifesto .section-title { margin-top: 28px; }
.manifesto-copy { position: relative; isolation: isolate; max-width: 440px; padding: 30px 0 10px; }

.manifesto-copy p { position: relative; margin: 0 0 34px; color: #c5bdb7; font-size: 16px; line-height: 1.8; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-heading .section-title { margin-top: 20px; }
.title-dot { color: var(--wine-light); }
.works-grid { display: grid; grid-template-columns: 1.12fr .88fr .88fr; gap: 18px; align-items: start; }
.work-card { min-width: 0; }
.work-card-2 { margin-top: 75px; }
.work-card-3 { margin-top: 28px; }
.work-visual { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); }
.work-card-1 .work-visual { aspect-ratio: 4 / 5.2; }
.work-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; transition: transform .7s var(--ease), filter .4s; }
.work-visual:is(:hover, :focus-visible) img { transform: scale(1.045); filter: saturate(1.1); }
.work-caption { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; }
.work-caption strong { font-size: 10px; letter-spacing: .14em; }
.work-caption span { color: var(--muted); font-size: 12px; }
.art-placeholder { position: relative; width: 100%; height: 100%; min-height: 260px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #211b1b; }
.art-placeholder-2 { background: #242220; }
.art-placeholder-3 { background: #171516; }
.art-placeholder-4 { background: #2a2222; }
.art-index { position: absolute; left: 18px; top: 18px; color: rgba(240,237,231,.65); font-size: 10px; letter-spacing: .15em; }
.art-shape { width: 34%; height: 61%; border: 1px solid rgba(240,237,231,.34); border-radius: 48% 48% 42% 42%; transform: rotate(-12deg); box-shadow: 16px 12px 0 -1px rgba(100,30,42,.35), 32px 24px 0 -1px rgba(240,237,231,.08); }
.art-placeholder-3 .art-shape { width: 27%; height: 67%; transform: rotate(16deg); border-color: rgba(240,237,231,.6); box-shadow: 14px 9px 0 -1px rgba(100,30,42,.65), 28px 18px 0 -1px rgba(240,237,231,.07); }
.art-placeholder-4 .art-shape { width: 40%; height: 56%; transform: rotate(-2deg); border-radius: 50% 50% 30% 30%; }
.services-section { background: var(--panel); border-block: 1px solid var(--line-soft); }
.service-list { border-top: 1px solid var(--line); }
.service-row { width: 100%; min-height: 96px; display: grid; grid-template-columns: 64px minmax(0,1fr) 150px 150px; align-items: center; gap: 20px; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--paper); text-align: left; transition: background .25s; }
.service-row:is(:hover, :focus-visible, :active) { background: rgba(100,30,42,.12); }
.service-number { color: var(--wine-light); font-size: 11px; letter-spacing: .1em; }
.service-name { display: flex; flex-direction: column; gap: 7px; }
.service-name strong { font-size: 19px; font-weight: 500; }
.service-name small, .service-meta small { color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.service-meta { display: flex; flex-direction: column; gap: 8px; }
.service-meta strong { font-size: 12px; font-weight: 500; }
.team-section { padding-bottom: clamp(85px, 10vw, 150px); }
.masters-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.master-card { min-width: 0; }
.master-portrait { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #211d1c; }
.master-portrait-2 { background: #191817; }
.master-portrait-3 { background: #2a2021; }
.master-portrait::before, .master-portrait::after { content: ""; position: absolute; width: 42%; height: 62%; border: 1px solid rgba(240,237,231,.15); border-radius: 50% 50% 10% 10%; transform: rotate(12deg); }
.master-portrait::after { width: 25%; height: 45%; border-color: rgba(161,91,101,.45); transform: rotate(-14deg) translate(55%, 9%); }
.master-portrait-number { position: absolute; left: 18px; top: 18px; color: rgba(240,237,231,.6); font-size: 11px; letter-spacing: .14em; }
.master-portrait-note { position: relative; z-index: 1; color: rgba(240,237,231,.48); font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: .12em; text-align: center; }
.master-info { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding-top: 17px; }
.master-info h3 { margin: 0 0 6px; font-size: clamp(24px, 2.45vw, 36px); font-weight: 900; line-height: 1.05; text-transform: uppercase; }
.master-info p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.master-info .text-link { flex: 0 0 auto; font-size: 8px; }
.studio-teaser { background: var(--panel); border-block: 1px solid var(--line-soft); }
.studio-teaser-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 9%; align-items: center; }
.studio-art { position: relative; min-height: 430px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--wine); }
.studio-art::before { content: ""; position: absolute; width: 58%; aspect-ratio: 1; border: 1px solid rgba(240,237,231,.35); border-radius: 50%; }
.studio-art::after { content: ""; position: absolute; width: 72%; height: 1px; background: rgba(240,237,231,.24); transform: rotate(-40deg); }

.studio-art-caption { position: absolute; left: 22px; bottom: 20px; font-size: 9px; letter-spacing: .2em; }
.studio-teaser-copy .section-title { margin: 22px 0 24px; }
.studio-teaser-copy p, .final-cta > p { max-width: 450px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.final-cta { position: relative; isolation: isolate; padding-block: clamp(64px, 8vw, 116px); }
.final-cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 25px; }
.final-cta-row .button { min-width: 220px; }

/* Inner pages */
.inner-hero { padding-top: clamp(85px, 10vw, 150px); padding-bottom: clamp(60px, 8vw, 115px); }
.inner-hero-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 38px; }
.inner-title { max-width: 1100px; font-size: clamp(72px, 11vw, 164px); }
.inner-lead { max-width: 560px; margin: 36px 0 0 9%; color: #c1b9b2; font-size: 15px; line-height: 1.8; }
.inner-content { padding-bottom: clamp(90px, 12vw, 160px); }
.service-categories { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.category-note, .gallery-footnote { color: var(--muted); font-size: 11px; }
.service-list-page .service-row { min-height: 108px; }
.note-panel { position: relative; display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 32px; margin-top: 100px; padding: 40px; overflow: hidden; background: var(--panel); border: 1px solid var(--line-soft); }

.note-panel h2 { margin: 10px 0; font-family: var(--font-heading); font-size: 32px; font-style: italic; }
.note-panel p { max-width: 500px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-button { padding: 12px 16px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .12em; transition: all .2s; }
.filter-button:hover, .filter-button.is-selected { border-color: var(--paper); background: var(--paper); color: var(--bg); }
.works-grid-page { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 44px 24px; }
.works-grid-page .work-card { margin: 0; }
.works-grid-page .work-visual { aspect-ratio: 1.2 / 1; }
.works-grid-page .work-card-1 .work-visual { aspect-ratio: 1.2 / 1; }
.works-grid-page .work-card-2 { margin-top: 85px; }
.gallery-footnote { margin-top: 38px; line-height: 1.7; }
.gallery-footnote code { color: var(--paper); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: center; }
.about-image { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); }
.about-image img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 48%; }
.about-image span { position: absolute; left: 18px; bottom: 18px; color: var(--paper); font-size: 9px; letter-spacing: .18em; }
.about-copy .section-title { margin: 22px 0 28px; font-size: clamp(46px, 5.5vw, 78px); }
.about-copy p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.about-copy .text-link { margin-top: 20px; }
.values-section { background: var(--panel); border-block: 1px solid var(--line-soft); padding-block: 85px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.values-grid article { padding: 25px 25px 5px 0; border-top: 1px solid var(--line); }
.values-grid article > span { color: var(--wine-light); font-size: 11px; }
.values-grid h3 { margin: 28px 0 12px; font-family: var(--font-heading); font-size: 30px; font-style: italic; }
.values-grid p { max-width: 280px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.faq-section { padding-top: 95px; }
.faq-section .section-title { margin: 24px 0 40px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; list-style: none; cursor: pointer; font-size: 15px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--wine-light); font-size: 24px; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 720px; margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.masters-grid-page { margin-top: 20px; }
.masters-grid-page .master-portrait { aspect-ratio: 4 / 4.8; }
.contacts-content { display: grid; gap: clamp(60px, 8vw, 112px); }
.home-contacts { padding-top: clamp(60px, 9vw, 130px); }
.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  border: 1px solid var(--line);
  background: var(--panel);
}
.contacts-layout, .contact-reviews { scroll-margin-block-start: 24px; }
.contact-info { padding: clamp(22px, 4vw, 56px); align-self: center; }
.contact-info h2 {
  margin: 14px 0 8px;
  font: italic 900 clamp(28px, 3.2vw, 52px)/1 var(--font-heading);
  letter-spacing: var(--heading-tracking);
}
.contact-info p, .contact-hours dd { margin: 0; font-size: 15px; line-height: 1.5; }
.contact-info p, .contact-hours dt { color: var(--muted); }
.contact-hours { display: grid; gap: 14px; margin: 26px 0; padding-block-start: 22px; border-top: 1px solid var(--line); }
.contact-hours dt { margin-bottom: 5px; font-size: 12px; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.contact-actions .button { min-height: 48px; }
.contact-map { display: flex; flex-direction: column; justify-content: center; min-width: 0; margin: 0; border-left: 1px solid var(--line); }
.contact-map iframe { display: block; flex: 1; width: 100%; min-height: 380px; max-height: 388px; border: 0; background: var(--bg-2); filter: saturate(.8); }
.contact-map figcaption { display: flex; justify-content: flex-end; padding: 12px 18px; border-top: 1px solid var(--line); }
.contact-map figcaption .text-link { padding-bottom: 4px; }
.contact-reviews-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.contact-reviews-header h2 { margin-right: auto; }
.contact-rating { display: inline-flex; gap: 10px; align-items: center; }
.contact-rating strong { font: italic 900 46px/.9 var(--font-heading); letter-spacing: var(--heading-tracking); }
.contact-stars, .contact-rating-count { display: block; }
.contact-stars { color: #d89099; font-size: 13px; letter-spacing: .13em; }
.contact-rating-count { margin-top: 4px; color: var(--muted); font-size: 12px; }
.contact-award { padding: 9px 13px; border: 1px solid var(--line); color: #e2a2a9; font-size: 12px; }
.contact-rating:hover .contact-rating-count, .contact-award:hover { color: var(--paper); }
.contact-review-grid {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 24px) / 3);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--wine-light) var(--panel);
  scrollbar-width: thin;
}
@media (prefers-reduced-motion: no-preference) {
  .contact-review-grid { scroll-behavior: smooth; }
}
.contact-review {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid var(--line);
  background: var(--panel);
  scroll-snap-align: start;
}
.contact-review h3 { margin: 0; font: italic 900 30px/1 var(--font-heading); letter-spacing: var(--heading-tracking); }
.contact-review-author { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.contact-review p { flex: 1; margin: 0 0 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.contact-reviews-footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 14px; }
.contact-review-controls { display: flex; gap: 6px; flex-shrink: 0; }
.contact-review-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); background: var(--panel); font-size: 24px; line-height: 1; }
.contact-review-controls button:hover:not(:disabled) { background: var(--wine); }
.contact-review-controls button:disabled { opacity: .35; cursor: default; }

.legal-copy { max-width: 850px; }
.legal-copy h2 { margin: 36px 0 12px; font-family: var(--font-heading); font-size: 26px; font-style: italic; font-weight: 500; }
.legal-copy p { color: #c0b8b1; font-size: 14px; line-height: 1.9; }
.legal-copy a { color: var(--paper); text-decoration: underline; text-underline-offset: .2em; }

/* Footer */
.site-footer { padding-top: 68px; background: #050505; border-top: 1px solid var(--line-soft); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer-brand p { margin: 24px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-col .eyebrow { margin-bottom: 6px; }
.footer-col a, .footer-col > span:not(.eyebrow) { color: #c4bdb7; font-size: 12px; transition: color .2s; }
.footer-col a:hover { color: var(--wine-light); }
.footer-bottom { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line-soft); color: var(--muted-2); font-size: 9px; letter-spacing: .12em; }
.footer-bottom a:hover { color: var(--paper); }
.mobile-action-bar { display: none; }

/* Booking modal */

.booking-overlay.is-open { opacity: 1; visibility: visible; }

.booking-overlay.is-open .booking-dialog { transform: translateY(0); }
.booking-close { position: absolute; top: 23px; right: 24px; width: 38px; height: 38px; border: 1px solid var(--line); background: transparent; color: var(--paper); font-size: 25px; font-weight: 200; line-height: 1; }
.booking-dialog-head { display: flex; align-items: center; justify-content: space-between; padding-right: 48px; }
.booking-step-count { color: var(--muted); font-size: 9px; letter-spacing: .14em; }
.booking-progress { display: flex; gap: 6px; margin: 23px 0 30px; }
.booking-progress i { flex: 1; height: 2px; background: #3a3431; }
.booking-progress i.is-active { background: var(--wine-light); }
.booking-title { margin: 15px 0 12px; font-size: clamp(48px, 8vw, 70px); }
.booking-intro { max-width: 440px; margin: 0 0 26px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.field-label { display: flex; flex-direction: column; gap: 9px; margin: 18px 0; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.field-label input, .field-label textarea { width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 0; outline: none; background: #0a0909; color: var(--paper); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.field-label textarea { min-height: 90px; resize: vertical; line-height: 1.6; }
.field-label input:focus, .field-label textarea:focus { border-color: var(--wine-light); }
.field-label input::placeholder, .field-label textarea::placeholder { color: #766e69; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.booking-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; }
.booking-actions .button { min-width: 180px; }
.booking-actions-split { justify-content: space-between; }
.booking-actions-split .button { flex: 1; }
.optional { color: var(--muted-2); font-size: 8px; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; color: var(--muted); font-size: 10px; line-height: 1.6; letter-spacing: 0; }
.consent-row input { flex: 0 0 16px; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--wine); }
.consent-row a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.booking-error { min-height: 18px; margin: 8px 0 0; color: #e5a0a9; font-size: 11px; line-height: 1.5; }
.booking-success { padding: 25px 0 12px; }

.booking-success > p:not(.eyebrow) { max-width: 400px; margin: 20px 0 28px; color: var(--muted); font-size: 13px; line-height: 1.8; }

/* Motion */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Tablet */
@media (max-width: 1100px) {
  :root { --gutter: 34px; }
  .header-inner { min-height: 88px; }
  .brand-mark { font-size: 42px; }
  .desktop-nav { gap: 11px; }
  .nav-link { font-size: 9px; }
  .nav-separator { font-size: 9px; }
  .header-actions .button { min-width: 136px; min-height: 46px; padding-inline: 16px; font-size: 9px; }
  .hero { min-height: 760px; }
  .hero-copy { width: 67%; padding-top: 185px; }
  .display-title { font-size: clamp(66px, 8.8vw, 105px); }
  .hero-media { width: 57%; }
  .service-row { grid-template-columns: 42px minmax(0,1fr) 110px 110px; gap: 14px; }
  .master-info { align-items: flex-start; flex-direction: column; }
}

/* Mobile */
@media (max-width: 760px) {
  :root { --gutter: 22px; }
  body { padding-bottom: 76px; }
  .header-inner { min-height: 76px; }
  .brand { width: 54px; }
  .brand-mark { font-size: 38px; }
  .brand-caption { margin-top: 7px; font-size: 7px; }
  .desktop-nav, .header-actions > .button { display: none; }
  .menu-toggle { display: flex; }
  .site-header-home { background: linear-gradient(180deg, rgba(8,8,8,.94), rgba(8,8,8,.4)); }
  .mobile-nav { position: fixed; z-index: 28; inset: 76px 0 0; display: flex; flex-direction: column; gap: 0; padding: 18px var(--gutter) 110px; background: #090909; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, visibility .25s, transform .25s; overflow-y: auto; }
  .mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-nav > a { font-weight: 900; display: flex; align-items: center; justify-content: space-between; min-height: 65px; border-bottom: 1px solid var(--line); font-family: var(--font-heading); font-size: 30px; font-style: italic; }
  .mobile-nav > a span { color: var(--wine-light); font-family: var(--font-body); font-size: 20px; }
  .mobile-nav > a.is-active { color: var(--wine-light); }
  .mobile-nav-book { display: flex; justify-content: center; align-items: center; min-height: 56px; margin-top: 26px; padding: 0 18px; border: 0; background: var(--paper); color: var(--bg); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
  .mobile-action-bar { position: fixed; z-index: 26; left: 0; right: 0; bottom: 0; display: block; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(8,8,8,.94); border-top: 1px solid var(--line-soft); backdrop-filter: blur(12px); }
  .mobile-action-bar .button { width: 100%; min-height: 52px; }
  .hero { width: 100%; min-height: auto; padding: 76px 0 0; display: flex; flex-direction: column; overflow: hidden; }
  .hero-media { position: relative; order: 0; inset: auto; width: 100%; height: min(112vw, 520px); margin-left: 18%; }
  .hero-media::before { background: linear-gradient(90deg, var(--bg), transparent 27%), linear-gradient(0deg, var(--bg), transparent 32%); }
  .hero-media :is(img, .hero-motion) { object-position: 50% 42%; }
  
  .hero-copy { width: 100%; padding: 0 var(--gutter) 28px; margin-top: -72px; }
  .hero-copy .eyebrow { margin-bottom: 20px; font-size: 8px; }
  .eyebrow-line { width: 28px; }
  .display-title { font-size: clamp(53px, 14vw, 84px); }
  .hero-description { margin: 22px 0 24px 0; font-size: 10px; letter-spacing: .12em; }
  .hero-actions { margin: 0; }
  .hero-actions .button { width: min(100%, 310px); min-width: 0; }
  .hero-bottom { position: relative; inset: auto; padding: 18px var(--gutter) 23px; font-size: 8px; letter-spacing: .13em; }
  .section-pad { padding-block: 72px; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 42px; }
  .section-title { font-size: clamp(50px, 14vw, 78px); }
  .manifesto .section-title { margin-top: 22px; }
  .manifesto-copy { max-width: none; padding-top: 0; }
  
  .manifesto-copy p { max-width: 420px; font-size: 14px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 22px; margin-bottom: 30px; }
  .section-heading .section-title { margin-top: 16px; }
  .section-heading > .text-link { align-self: flex-start; }
  .works-grid { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .work-card-1 { grid-column: 1 / -1; }
  .work-card-1 .work-visual { aspect-ratio: 1.18 / 1; }
  .work-card-2, .work-card-3 { margin-top: 0; }
  .work-card-2 .work-visual, .work-card-3 .work-visual { aspect-ratio: .78 / 1; }
  .work-caption { padding-top: 10px; gap: 5px; }
  .work-caption strong { font-size: 8px; }
  .work-caption span { font-size: 10px; line-height: 1.5; }
  .art-placeholder { min-height: 180px; }
  .services-section .section-heading { flex-direction: row; align-items: end; }
  .service-row { min-height: 82px; grid-template-columns: 28px minmax(0,1fr); gap: 10px; padding: 14px 0; }
  .service-name strong { font-size: 14px; }
  .service-name small { font-size: 8px; line-height: 1.4; }
  .service-meta { display: none; }
  .masters-grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .master-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 6px); }
  .master-portrait { aspect-ratio: .82 / 1; }
  .master-portrait-note { font-size: 22px; }
  .master-info { padding-top: 11px; gap: 9px; }
  .master-info p { font-size: 9px; }
  .master-info .text-link { font-size: 7px; gap: 5px; }
  .studio-teaser-grid { grid-template-columns: 1fr; gap: 38px; }
  .studio-art { min-height: 290px; }
  
  .studio-teaser-copy .section-title { font-size: clamp(48px, 13vw, 70px); }
  .studio-teaser-copy p { font-size: 13px; }
  .final-cta-row { align-items: flex-start; flex-direction: column; }
  .final-cta-row .button { width: 100%; }
  .final-cta > p { font-size: 12px; }
  .inner-hero { padding-top: 65px; padding-bottom: 52px; }
  .inner-hero-top { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 26px; }
  .inner-title { font-size: clamp(62px, 17vw, 104px); }
  .inner-lead { margin: 26px 0 0; font-size: 13px; }
  .inner-content { padding-bottom: 80px; }
  .service-categories { flex-direction: column; gap: 8px; }
  .category-note { font-size: 10px; }
  .service-list-page .service-row { min-height: 86px; }
  .note-panel { grid-template-columns: 1fr; gap: 12px; margin-top: 65px; padding: 25px; }
  
  .note-panel h2 { font-size: 26px; }
  .note-panel .button { width: 100%; }
  .filter-bar { gap: 6px; margin-bottom: 24px; }
  .filter-button { padding: 10px 11px; font-size: 8px; }
  .works-grid-page { grid-template-columns: 1fr 1fr; gap: 25px 12px; }
  .works-grid-page .work-card-2 { margin-top: 35px; }
  .works-grid-page .work-visual, .works-grid-page .work-card-1 .work-visual { aspect-ratio: .82 / 1; }
  .gallery-footnote { font-size: 9px; overflow-wrap: anywhere; }
  .about-layout { grid-template-columns: 1fr; gap: 36px; }
  .about-image { aspect-ratio: 1 / 1.12; }
  .about-copy .section-title { font-size: clamp(46px, 13vw, 68px); }
  .about-copy p { font-size: 13px; }
  .values-section { padding-block: 65px; }
  .values-grid { grid-template-columns: 1fr; gap: 15px; margin-top: 30px; }
  .values-grid article { display: grid; grid-template-columns: 38px 1fr; gap: 5px 10px; padding: 18px 0; }
  .values-grid article > span { grid-row: span 2; }
  .values-grid h3 { margin: 0; font-size: 24px; }
  .values-grid p { margin: 0; max-width: none; font-size: 11px; }
  .faq-section { padding-top: 70px; }
  .faq-section .section-title { margin: 18px 0 28px; }
  .faq-list summary { padding: 20px 0; font-size: 13px; }
  .faq-list details p { font-size: 11px; }
  .masters-grid-page { grid-template-columns: 1fr 1fr; }
  .masters-grid-page .master-portrait { aspect-ratio: .8 / 1; }
  .contacts-layout { grid-template-columns: 1fr; }
  .contact-map { border-left: 0; border-top: 1px solid var(--line); }
  .contact-map iframe { min-height: 330px; }
  .contact-reviews-header h2 { flex-basis: 100%; }
  .contact-review-grid { grid-auto-columns: min(84%, 380px); }
  .legal-copy p { font-size: 12px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px 22px; padding-bottom: 42px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col { gap: 11px; }
  .footer-col a, .footer-col > span:not(.eyebrow) { font-size: 10px; }
  .footer-bottom { min-height: 76px; flex-wrap: wrap; justify-content: space-between; gap: 9px 14px; padding-block: 15px; font-size: 8px; }
  .footer-bottom span:last-child { display: none; }


  .booking-close { top: 18px; right: 18px; }
  .booking-dialog-head { padding-right: 45px; }
  .booking-progress { margin: 19px 0 25px; }
  .booking-title { font-size: 56px; }
  .booking-intro { font-size: 12px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .booking-actions { margin-top: 18px; }
  .booking-actions .button { min-width: 0; min-height: 52px; padding-inline: 14px; font-size: 9px; }
}
@media (max-width: 380px) {
  :root { --gutter: 17px; }
  .display-title { font-size: 51px; }
  .hero-description { font-size: 9px; }
  .section-title { font-size: 47px; }
  .service-row { grid-template-columns: 23px minmax(0,1fr); gap: 8px; }
  .service-name strong { font-size: 13px; }
  .master-info .text-link { font-size: 6px; }
  .footer-top { gap: 28px 14px; }
}
.brand-logo { width: 70px; height: auto; object-fit: contain; }
@media (max-width: 760px) { .brand-logo { width: 54px; } }
.work-visual { width: 100%; padding: 0; border: 0; text-align: left; cursor: pointer; }
.lightbox { position: fixed; z-index: 110; inset: 0; display: flex; align-items: center; justify-content: center; padding: 5vh 5vw; background: rgba(0,0,0,.94); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(88vw, 1000px); max-height: 88vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 80px rgba(0,0,0,.4); }
.lightbox-close { position: absolute; top: 24px; right: 28px; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; color: var(--paper); font-size: 28px; }

/* Studio 13 v3 — real visual assets, client account and expanded content */
.account-link{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:9px;font-weight:700;letter-spacing:.13em;white-space:nowrap;transition:color .2s}
.account-link span{color:var(--wine-light);font-size:15px}.account-link:hover{color:var(--paper)}
.header-actions{gap:20px}
.service-row{grid-template-columns:42px 76px minmax(0,1fr) 120px 120px;gap:16px}
.service-thumb{width:76px;height:76px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#211d1c}
.service-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.service-row:hover .service-thumb img{transform:scale(1.06)}

.service-name strong{display:block}.service-name small{display:block}
.studio-art{background:#171514}
.studio-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.58) saturate(.72);transition:transform 1s var(--ease)}
.studio-art:hover img{transform:scale(1.035)}
.studio-art::before{z-index:1}.studio-art::after{z-index:1}.studio-art-caption{z-index:2}
.about-image img{object-position:center 54%}
.master-portrait img{width:100%;height:100%;object-fit:cover}
.team-coming{position:relative;min-height:300px;display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:30px;padding:36px;border:1px solid var(--line-soft);background:linear-gradient(110deg,#1b1716,#100f0e);overflow:hidden}

.team-coming h3{margin:18px 0;font-family: var(--font-heading);font-size:clamp(36px,5vw,64px);font-style:italic;line-height:.9}.team-coming h3 em{color:var(--wine-light);font-style:inherit}
.team-coming p{max-width:480px;color:var(--muted);font-size:13px;line-height:1.8}.team-coming .text-link{margin-top:12px}
@media(max-width:1100px){.account-link{font-size:8px}.header-actions{gap:12px}.service-row{grid-template-columns:34px 64px minmax(0,1fr) 100px 100px;gap:12px}.service-thumb{width:64px;height:64px}}
@media(max-width:760px){.account-link{display:none}.service-row{grid-template-columns:24px 56px minmax(0,1fr);gap:10px}.service-thumb{width:56px;height:62px}.service-name strong{font-size:13px}.service-name small{font-size:8px}.service-meta{display:none}.team-coming{grid-template-columns:1fr;gap:0;padding:24px;min-height:0}.team-coming h3{font-size:42px}.team-coming p{font-size:11px}.studio-art img{object-position:50% 50%}}


/* STUDIO 13 UI HOTFIX 2026-11 */

.master-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  align-items: start;
  gap: 11px;
  min-width: 0;
}
.master-info > div { min-width: 0; overflow-wrap: anywhere; }
.master-info h3 { overflow-wrap: anywhere; }
.master-info p { line-height: 1.55; overflow-wrap: anywhere; }
.master-info .text-link {
  display: inline-flex;
  justify-self: start;
  align-self: start;
  max-width: 100%;
  white-space: normal;
  line-height: 1.4;
  font-size: 9px;
}

.booking-dialog *, .booking-dialog *::before, .booking-dialog *::after {
  box-sizing: border-box;
}
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.field-hint {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
}
.field-error {
  min-height: 0;
  color: #e5a0a9;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
}
.field-label input[aria-invalid="true"] { border-color: #e5a0a9; }

@media (max-width: 760px) {
  
  .master-info { gap: 9px; padding-top: 12px; }
  .master-info h3 { font-size: clamp(20px, 5.7vw, 28px); }
  .master-info p { font-size: 10px; overflow-wrap: anywhere; }
  .master-info .text-link { font-size: 8px; }


  .booking-dialog-head { padding-right: 48px; }
  .booking-title { font-size: clamp(42px, 12vw, 54px); }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .field-label { min-width: 0; }
  .field-label input, .field-label textarea { min-width: 0; }
  .booking-actions-split {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  }
  .booking-actions .button {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }
}


/* STUDIO 13 SVG ARROWS */
.ui-arrow-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  flex: 0 0 16px;
  vertical-align: middle;
  overflow: visible;
}

.ui-arrow-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* STUDIO 13 MOBILE BOOKING + TEAM FIX 2026-11 */



/* Корректная высота модального окна при открытой клавиатуре */
body.modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}



.booking-dialog *,
.booking-dialog *::before,
.booking-dialog *::after {
  box-sizing: border-box;
}

/* Все поля формы имеют одинаковую ширину */
.booking-dialog .field-label {
  display: flex;
  width: 100%;
  min-width: 0;
}

.booking-dialog .field-label input,
.booking-dialog .field-label textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Keep the OS calendar while matching the dimensions of the other fields. */
#booking-date {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 50px;
  padding: 13px 14px;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  color-scheme: dark;
  font-size: 16px;
}

#booking-date::-webkit-date-and-time-value {
  text-align: left;
}

@media (max-width: 760px) {



  .booking-dialog .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .booking-dialog .field-label input,
  .booking-dialog .field-label textarea {
    font-size: 16px;
  }
}

/* Заглушка команды */
.team-coming {
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  min-height: 320px;
  gap: clamp(20px, 5vw, 70px);
  padding: clamp(24px, 4vw, 52px);
  background:
    radial-gradient(circle at 15% 45%, rgba(111,46,58,.25), transparent 42%),
    linear-gradient(115deg, #1b1716, #100f0e);
  border-color: rgba(240,237,231,.12);
}



.team-coming h3 {
  max-width: 480px;
  font-size: clamp(38px, 5vw, 66px);
}

.team-coming p {
  max-width: 480px;
  line-height: 1.8;
}

@media (max-width: 760px) {
  .team-coming {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 24px;
  }

  

  .team-coming h3 {
    font-size: 42px;
  }

  .team-coming p {
    font-size: 12px;
  }
}



/* STUDIO 13 — MOBILE TYPOGRAPHY FIX 2026-11-26 */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

img, picture, video, canvas, iframe {
  max-width: 100%;
}

main, section, article, header, footer, nav,
.container, .wrap, .inner, .content,
.hero-inner, .hero-content, .section-inner,
.site-header-inner, .footer-inner,
.team-coming, .booking-dialog,
.card, .grid > *, [class*="grid"] > *,
[class*="flex"] > * {
  min-width: 0;
}

h1, h2, h3, h4,
p, li, a, button, label, small, strong {
  overflow-wrap: break-word;
  word-break: normal;
}

h1, h2, h3, h4,
.hero-title, .hero__title, .page-title,
.display-title, .section-title, .section-heading {
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 760px) {

  h1,
  .hero h1,
  .hero-title,
  .hero__title,
  .page-title,
  .display-title {
    font-size: clamp(1.9rem, 9.5vw, 3.5rem) !important;
    line-height: .98 !important;
    max-width: 100%;
  }

  h2,
  .section-title,
  .section-heading {
    font-size: clamp(1.55rem, 7.4vw, 2.75rem) !important;
    line-height: 1.04 !important;
    max-width: 100%;
  }

  h3 {
    font-size: clamp(1.15rem, 5.2vw, 1.7rem);
    line-height: 1.12;
  }

  h1 span, h2 span, h3 span,
  .hero-title span, .section-title span {
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .hero, .hero-content, .hero-inner,
  .section-inner, .team-coming,


  .team-coming h3,
  .team-coming p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .booking-dialog input:not([type="checkbox"]),
  .booking-dialog textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  button, .button, .btn, .cta {
    max-width: 100%;
    min-width: 0;
  }

  .card, .service-card, .master-card,
  .work-card, .portfolio-card {
    min-width: 0;
    max-width: 100%;
  }

  .card h3, .card p,
  .service-card h3,
  .master-card h3,
  .work-card h3 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  h1, .hero h1, .hero-title,
  .hero__title, .page-title {
    font-size: clamp(1.8rem, 9.2vw, 2.4rem) !important;
  }

  h2, .section-title, .section-heading {
    font-size: clamp(1.45rem, 7.2vw, 2rem) !important;
  }
}


/* STUDIO 13 MOBILE HERO FIX 2026-11-26 */

@media (max-width: 760px) {

  /* Навигация остаётся выше фотографии */
  .site-header,
  .site-header-home {
    z-index: 120;
  }

  /* Небольшой воздух между шапкой и фотографией */
  .hero {
    padding-top: max(14px, env(safe-area-inset-top));
  }

  .hero-media {
    margin-top: 12px;
    overflow: hidden;
  }

  /* Показываем верхнюю часть портрета */
  .hero-media :is(img, .hero-motion) {
    object-fit: cover;
    object-position: 78% 20%;
  }

  

}

.s13-back-to-top {
  position: fixed;
  z-index: 29;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 8px));
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--wine-light);
  background: var(--panel);
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s, visibility .2s, transform .2s, background-color .2s;
}

body:not(.modal-open, .menu-open) .s13-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.s13-back-to-top:is(:hover, :focus-visible) { background: var(--wine); }
.s13-back-to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* STUDIO 13 MOBILE VIEWPORT + DROPDOWN MENU 2026-11-26 */
@media (max-width: 760px) {
  body { padding-bottom: 0 !important; }
  .mobile-action-bar { display: none !important; }

  .site-header,
  .site-header-home { z-index: 130; }

  body.menu-open .site-header,
  body.menu-open .site-header-home {
    background: #080808 !important;
    border-bottom: 1px solid rgba(240,237,231,.10);
  }

  /* Выпадающее меню */
  .mobile-nav {
    position: absolute;
    z-index: 131;
    inset: auto 0 auto 0;
    top: 100%;
    bottom: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    height: auto;
    max-height: calc(100vh - 76px);
    max-height: calc(100svh - 76px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px var(--gutter) calc(18px + env(safe-area-inset-bottom));
    background: #080808;
    border-top: 1px solid rgba(240,237,231,.10);
    box-shadow: 0 22px 34px rgba(0,0,0,.38);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px) scaleY(.97);
    transform-origin: top center;
    transition:
      opacity .24s ease,
      transform .30s cubic-bezier(.2,.7,.2,1),
      visibility 0s linear .30s;
  }

  .mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scaleY(1);
    transition:
      opacity .24s ease,
      transform .30s cubic-bezier(.2,.7,.2,1),
      visibility 0s;
  }

  .mobile-nav > a { min-height: 60px; }
  .mobile-nav-book { margin-top: 18px; }

  /* Первый экран — ровно высота экрана */
  .hero {
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
    max-height: 100svh;
    box-sizing: border-box;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .hero-media {
    position: relative;
    inset: auto;
    order: 0;
    flex: 0 0 auto;
    width: 100%;
    height: clamp(320px, 48svh, 420px);
    margin: 0 0 0 18%;
  }

  .hero-media :is(img, .hero-motion) {
    object-position: 78% 20%;
  }

  

  /* Увеличенный заголовок */
  .hero-copy {
    flex: 0 0 auto;
    width: 100%;
    margin-top: -54px;
    padding: 0 var(--gutter);
  }

  .hero-copy .eyebrow {
    margin-bottom: 14px;
    font-size: 9px;
  }

  .display-title {
    font-size: clamp(59px, 15.5vw, 94px);
    line-height: .86;
  }

  .hero-description {
    margin: 18px 0;
    font-size: clamp(10px, 2.4vw, 12px);
    line-height: 1.5;
  }

  .hero-actions { margin: 0; }

  .hero-actions .button {
    width: min(100%, 310px);
    min-width: 0;
    min-height: 50px;
  }

  .hero-bottom {
    position: relative;
    inset: auto;
    flex: 0 0 auto;
    margin-top: auto;
    padding: 10px var(--gutter) max(12px, env(safe-area-inset-bottom));
    font-size: 8px;
    letter-spacing: .13em;
  }

}


/* STUDIO 13 RESPONSIVE HERO FIX 2026-11-26 */

/* Desktop: the portrait reaches the edge, while the content follows the site grid. */
@media (min-width: 761px) {
  .hero {
    --hero-inset: max(var(--gutter), calc((100% - var(--content)) / 2));
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-rows: 1fr auto;
    padding: clamp(86px, 13svh, 118px) var(--hero-inset) clamp(28px, 5svh, 52px);
  }

  .hero-media {
    width: calc(58% + var(--hero-inset));
  }

  .hero-copy {
    align-self: center;
    padding: 0;
    width: min(70%, 900px);
  }

  .hero-copy .eyebrow {
    margin: 0 0 clamp(13px, 3svh, 27px);
  }

  .display-title {
    font-size: clamp(54px, min(9.8vw, 15.5svh), 160px);
    max-width: 100%;
  }

  .hero-description {
    margin-block: clamp(14px, 4svh, 36px) clamp(16px, 3.5svh, 32px);
  }

  .hero-bottom {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    margin-top: clamp(18px, 3svh, 30px);
  }

  .hero-bottom > :last-child {
    justify-self: end;
  }
}

/* Mobile: preserve composition, enlarge and fit title */
@media (max-width: 760px) {
  .hero-copy {
    min-width: 0;
  }

  .display-title {
    display: block;
    width: 111.111%;
    max-width: none;
    font-size: clamp(54px, 18vw, 104px);
    line-height: .86;
    transform: scaleX(.9);
    transform-origin: left top;
  }
}


/* The empty team state occupies the full row of the master grid. */
.team-coming {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
  isolation: isolate;
}

.team-coming h3 {
  max-width: none;
  line-height: 1;
  overflow-wrap: normal;
}

@media (max-width: 760px) {
  .hero {
    height: auto;
    max-height: none;
  }

  .hero-media {
    width: 100%;
    height: clamp(282px, 66svh, 620px);
    margin: 0;
  }

  .hero-media :is(img, .hero-motion) {
    object-position: 84% 20%;
  }

  .hero-media::before {
    background: linear-gradient(90deg, var(--bg), transparent 31%),
                linear-gradient(0deg, var(--bg), transparent 31%);
  }

  .team-coming {
    grid-template-columns: minmax(0, 1fr);
    padding: clamp(18px, 5vw, 32px);
  }

  

  .team-coming h3 {
    font-size: clamp(27px, 7.6vw, 50px);
  }
}

button.work-visual { cursor: zoom-in; }

@media (max-width: 760px) and (max-height: 640px) {
  .hero-media {
    height: clamp(218px, 55svh, 350px);
  }
}

/* The background marks use the same outlines as the Studio 13 logo. */
.hero-ghost, .manifesto-mark, .studio-art-big, .note-symbol, .final-cta::before,
.team-coming-mark, .service-thumb-empty, .success-mark {
  display: block;
  aspect-ratio: 87 / 61;
  background: var(--paper);
  -webkit-mask: url("../assets/images/studio13-digits.svg") center / contain no-repeat;
  mask: url("../assets/images/studio13-digits.svg") center / contain no-repeat;
  pointer-events: none;
}

.hero-ghost {
  position: absolute;
  z-index: -1;
  left: clamp(62px, 11vw, 190px);
  top: 52%;
  width: clamp(325px, 38vw, 640px);
  transform: translateY(-52%);
  background: linear-gradient(90deg, rgba(240,237,231,.12) 20%, rgba(240,237,231,.025) 100%);
}

.manifesto-mark {
  position: absolute;
  z-index: -1;
  right: 0;
  top: -60px;
  width: min(60%, 245px);
  opacity: .09;
}
.studio-art-big {
  position: absolute;
  z-index: 2;
  right: 7%;
  bottom: 10%;
  width: min(46%, 260px);
  opacity: .16;
}
.note-symbol { width: 100%; max-width: 100px; opacity: .18; }
.final-cta::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 50%;
  right: clamp(145px, 20vw, 320px);
  width: clamp(230px, 33vw, 510px);
  transform: translateY(-50%);
  background: linear-gradient(110deg, rgba(240,237,231,.045), rgba(240,237,231,.115));
}
.team-coming-mark { width: 88%; max-width: 290px; opacity: .13; }
.service-thumb-empty { width: 58%; opacity: .26; }
.success-mark { width: min(46%, 150px); margin-bottom: 24px; opacity: .21; }

@media (max-width: 760px) {
  .hero-ghost {
    left: auto;
    right: 5%;
    top: clamp(235px, 54svh, 510px);
    width: min(61vw, 330px);
    transform: none;
    background: linear-gradient(90deg, rgba(240,237,231,.045), rgba(240,237,231,.105));
  }
  .manifesto-mark { top: -40px; width: min(57%, 190px); }
  .final-cta::before {
    top: 46%;
    right: 0;
    width: min(58%, 235px);
    opacity: .83;
  }
  .note-symbol { width: min(38%, 95px); }
  .team-coming-mark { position: absolute; z-index: -1; right: 5%; bottom: 9%; width: min(60%, 240px); opacity: .085; }
}

/* Booking card uses the keyboard-adjusted viewport at every size. */
.booking-overlay {
  --booking-top-gap: max(20px, env(safe-area-inset-top));
  --booking-bottom-gap: max(20px, env(safe-area-inset-bottom));
  position: fixed;
  z-index: 200;
  top: var(--booking-vv-top, 0px);
  inset-inline: 0;
  height: var(--booking-vv-height, 100dvh);
  display: grid;
  place-items: center;
  padding: var(--booking-top-gap) max(22px, env(safe-area-inset-right)) var(--booking-bottom-gap) max(22px, env(safe-area-inset-left));
  background: rgba(0,0,0,.76);
  backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.booking-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 620px);
  max-height: min(900px, calc(var(--booking-vv-height, 100dvh) - var(--booking-top-gap) - var(--booking-bottom-gap)));
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #141211;
  box-shadow: 0 18px 58px rgba(0,0,0,.38);
  color-scheme: dark;
  transform: translateY(8px);
  transition: transform .24s var(--ease);
}
.booking-dialog-head, .booking-progress { flex: 0 0 auto; }
#booking-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px; }
.booking-phone { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 12px; padding-top: 7px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.booking-phone a { display: inline-flex; align-items: center; min-height: 36px; }
.booking-dialog .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.booking-dialog .form-grid .field-label { margin-block: 0; }
.booking-dialog #booking-content > .form-grid { margin-top: 16px; }
@media (max-width: 760px) {
  .hero-phone { display: none; }
  .home-header-phone { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
  .booking-overlay {
    --booking-top-gap: max(12px, env(safe-area-inset-top));
    --booking-bottom-gap: max(12px, env(safe-area-inset-bottom));
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  .booking-dialog { padding: 20px 16px; }
  .booking-dialog .form-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .booking-title { font-size: clamp(36px, 11vw, 48px); }
  .booking-intro { margin-bottom: 17px; }
  .booking-progress { margin: 19px 0 18px; }
  .booking-dialog .field-label { gap: 7px; }
}

.master-card-text {
  min-height: 120px;
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid var(--line);
}

.master-card-text .master-info {
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0;
}

.booking-title {
  max-width: 100%;
  font-size: clamp(32px, 7vw, 58px);
  line-height: .96;
  overflow-wrap: anywhere;
}

.booking-catalog-list {
  display: grid;
  gap: 6px;
  margin: 0 0 16px;
}

.booking-catalog-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 6px 16px;
  min-height: 52px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: #100e0e;
  color: var(--paper);
  text-align: left;
}

.booking-catalog-option:is(:hover, :focus-visible) {
  border-color: var(--wine-light);
  background: rgba(100, 30, 42, .22);
}

.booking-catalog-option strong {
  font-size: 13px;
  line-height: 1.4;
}

.booking-catalog-option small,
.booking-selection span {
  color: var(--muted);
  font-size: 12px;
}

.booking-group-title {
  margin: 18px 0 8px;
  color: var(--wine-light);
  font-size: 13px;
}

.booking-selection {
  display: grid;
  gap: 5px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 760px) {
  .booking-catalog-option { grid-template-columns: minmax(0, 1fr); }
  .master-card-text .text-link { font-size: 10px; }
}

.catalog-hero {
  padding-block: clamp(30px, 4vw, 54px) clamp(20px, 2.5vw, 34px);
}

.catalog-hero .inner-title {
  max-width: 100%;
  font-size: clamp(54px, 8vw, 104px);
}
.catalog-hero .privacy-title { font-size: clamp(29px, 8.5vw, 116px); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 22px);
}

.category-card {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--paper);
  text-align: left;
  transition: background-color .25s, border-color .25s, transform .35s var(--ease);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: auto -1px -1px;
  height: 2px;
  background: var(--wine-light);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .42s var(--ease);
}

.category-card-photo {
  overflow: hidden;
  display: block;
  aspect-ratio: 5 / 4;
  background: linear-gradient(145deg, var(--panel-2), var(--bg-2));
}

.category-card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.55) hue-rotate(-9deg) brightness(1.05);
  transition: transform .55s var(--ease), filter .35s;
}

.category-card-copy {
  display: grid;
  align-content: space-between;
  gap: 8px;
  padding: clamp(12px, 1.6vw, 20px);
}

.category-card-copy strong {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(25px, 2.65vw, 40px);
  letter-spacing: var(--heading-tracking);
  line-height: 1.04;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.category-card-copy small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .25s, transform .35s var(--ease);
}

.category-card:focus-visible {
  outline: 2px solid var(--wine-light);
  outline-offset: 3px;
}

.category-card:is(:focus-visible, :active) {
  background-color: var(--panel);
}

.category-card:is(:focus-visible, :active)::after { transform: scaleX(1); }

@media (hover: hover) {
  .category-card:hover { border-color: var(--wine-light); background-color: var(--panel); }
  .category-card:hover::after { transform: scaleX(1); }
  .category-card:hover img { filter: saturate(.62) hue-rotate(-9deg) brightness(1.14); }
  .category-card:hover small { color: var(--paper); }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .category-card:hover { transform: translateY(-4px); }
  .category-card:hover img { transform: scale(1.075); }
  .category-card:hover small { transform: translateX(5px); }
}

@media (max-width: 900px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-card-photo { aspect-ratio: 3 / 2; }
}

@media (max-width: 760px) {
  .category-card-copy strong { font-size: clamp(21px, 5.85vw, 32px); }
}

.desktop-nav .nav-link {
  font-family: var(--font-heading);
  font-size: clamp(13px, 1.4vw, 20px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: .015em;
}

.services-section .section-heading > .text-link {
  align-self: end;
}

.price-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(30px, 5vw, 64px);
}

.price-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.3;
  transition: background-color .2s, border-color .2s;
}

.price-nav a:is(:hover, :focus-visible) {
  border-color: var(--wine-light);
  background: var(--panel);
}

.price-group {
  display: grid;
  grid-template-columns: minmax(0, .28fr) minmax(0, 1fr);
  gap: clamp(18px, 3.5vw, 56px);
  margin-block: 0 clamp(42px, 6vw, 86px);
  scroll-margin-top: 24px;
}

.price-group:last-child { margin-bottom: 0; }

.price-group h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.1vw, 48px);
  font-weight: 900;
  line-height: .96;
  text-transform: uppercase;
}

.price-group:target h2 { color: var(--wine-light); }

.price-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px 110px 100px;
  grid-template-areas: "name duration cost action";
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 61px;
  padding: 12px 9px;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  color: var(--paper);
  text-align: left;
  transition: background-color .2s;
}

.price-row:is(:hover, :focus-visible, :active) {
  background: var(--panel);
}

.price-row-name {
  display: grid;
  grid-area: name;
  gap: 5px;
  font-size: 15px;
  line-height: 1.38;
}

.price-row-name strong { font-weight: 500; }
.price-row-name small { color: var(--muted); font-size: 12px; }
.price-row-duration { grid-area: duration; color: var(--muted); font-size: 12px; }
.price-row-cost { grid-area: cost; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }

.price-row-action {
  grid-area: action;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-align: right;
}

.price-row:is(:hover, :focus-visible) .price-row-action { color: var(--paper); }

@media (max-width: 860px) {
  .price-group { grid-template-columns: minmax(0, 1fr); gap: 13px; }
}

@media (max-width: 600px) {
  .price-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .price-nav a { min-height: 36px; padding-inline: 9px; font-size: 12px; }
  .price-row {
    grid-template-columns: minmax(0, 1fr) max-content;
    grid-template-areas: "name cost" "duration cost";
    gap: 3px 14px;
    padding: 11px 3px;
  }
  .price-row-name { font-size: 14px; overflow-wrap: anywhere; }
  .price-row-name strong { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .22em; }
  .price-row-cost { font-size: 13px; }
  .price-row-action { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

