@font-face {
  font-family: Manrope;
  src: url(assets/manrope-latin.woff2) format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url(assets/manrope-cyrillic.woff2) format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0400-052F,U+2116;
}

:root {
  color-scheme: light;
  --paper: #fff8ee;
  --plum: #3c132a;
  --rose: #ee7897;
  --pale-rose: #f9ccda;
  --pink: #f68dab;
  --ink: #351827;
  --lime: #e8ef9d;
  --edge: clamp(20px, 5vw, 78px);
  --ease: cubic-bezier(.22,.75,.19,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 520 1rem/1.53 Manrope, Arial, sans-serif; }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .26em; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.skip { position: absolute; z-index: 20; top: .7rem; left: .7rem; translate: 0 -160%; background: var(--paper); color: var(--ink); padding: .8rem 1rem; }
.skip:focus { translate: 0; }
.content, .masthead-inner, .footer-inner { width: min(100% - var(--edge) * 2, 1272px); margin-inline: auto; }
h2 { font-size: clamp(2.6rem, 5.3vw, 5.3rem); font-weight: 800; line-height: .96; letter-spacing: -.061em; }

.masthead-inner { min-height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.1rem; }
.brand { display: inline-flex; align-items: center; justify-self: start; text-decoration: none; line-height: 1.05; font-size: 1.1rem; font-weight: 800; letter-spacing: -.05em; }
.brand img { width: 60px; height: 60px; object-fit: contain; mix-blend-mode: multiply; margin-right: .55rem; }
.brand small { display: block; font-size: .73rem; font-weight: 630; letter-spacing: 0; margin-top: .27rem; }
.masthead nav { display: flex; gap: clamp(.85rem, 2.8vw, 2.9rem); }
.masthead nav a, .phone { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; font-weight: 780; }
.masthead nav a { text-decoration-color: transparent; transition: text-decoration-color .2s ease; }
.masthead nav a:hover { text-decoration-color: currentColor; }
.phone { justify-self: end; white-space: nowrap; }

.hero { background: var(--plum); color: var(--paper); overflow: clip; }
.hero-inner {
  width: min(100% - var(--edge) * 2, 1310px);
  margin-inline: auto;
  min-height: clamp(610px, 49vw, 760px);
  display: grid;
  grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  align-items: center;
  gap: clamp(1.25rem, 3.8vw, 5rem);
  padding-block: 4rem 3.6rem;
}
.city { color: var(--pale-rose); font-size: .95rem; font-weight: 620; margin-bottom: 1.25rem; }
.hero h1 {
  font-size: clamp(4.05rem, 6.72vw, 7.3rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.078em;
}
.hero h1 span { display: block; }
.hero-note { margin: 1.55rem 0 1.4rem; max-width: 24rem; font-size: clamp(1.03rem, 1.4vw, 1.28rem); }
.ticket { --ticket-ground: var(--plum); --ticket-fill: var(--lime); min-height: 53px; width: fit-content; max-width: 100%; display: inline-flex; position: relative; align-items: stretch; background: var(--ticket-fill); color: var(--ink); text-decoration: none; font-weight: 800; line-height: 1.2; transition: background-color .18s ease, box-shadow .22s var(--ease); }
.ticket span:first-child { padding: .9rem clamp(.8rem, 1.9vw, 1.35rem); display: grid; align-items: center; }
.ticket .ticket-end { position: relative; display: grid; width: 48px; min-width: 48px; place-content: center; border-left: 1px dashed currentColor; font-size: 1.35rem; line-height: 1; }
.ticket-end::before, .ticket-end::after {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--ticket-ground);
  border-radius: 50%;
  position: absolute;
  left: -5.5px;
}
.ticket-end::before { top: -5px; }
.ticket-end::after { bottom: -5px; }
.ticket:hover { background: #f2f7b7; box-shadow: 0 5px 0 rgb(0 0 0 / .17); }
.ticket-light:focus-visible { outline-color: var(--paper); }
.ticket-dark { --ticket-ground: var(--pale-rose); --ticket-fill: var(--plum); color: var(--paper); }
.ticket-dark:hover { background: #69223f; }
.ticket-dark:focus-visible { outline-color: var(--plum); }

.hero-display { position: relative; width: min(100%, 630px); aspect-ratio: 1.16; justify-self: center; isolation: isolate; }
.hero-mat {
  position: absolute;
  inset: 3% 3% 2% 5%;
  background: #ba4f76;
  border-radius: 52% 47% 10% 12%;
  rotate: 5deg;
  box-shadow: 22px 26px 0 #572039;
}
.hero-photo { position: absolute; inset: -2% 17% 5% 14%; padding: 11px 11px 20px; background: var(--paper); border-radius: 2px; rotate: -6deg; box-shadow: 0 18px 34px rgb(34 7 22 / .36); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; }
.hero-pocket {
  position: absolute;
  inset: auto 0 -4% 12%;
  height: 20%;
  border-radius: 0 0 40% 15% / 0 0 34% 30%;
  background: #f383a1;
  clip-path: polygon(0 39%, 100% 0, 100% 100%, 0 100%);
  rotate: -5deg;
}
.hero-print-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  right: 3%;
  bottom: .1%;
  padding-inline: .65rem;
  rotate: -5deg;
  color: var(--ink);
  font-size: clamp(.74rem, 1.15vw, .96rem);
  font-weight: 820;
}
.hero-print-label:hover { text-decoration-thickness: .14em; }
.hero-print-label:focus-visible { outline-color: var(--paper); }
.care { padding-block: clamp(3.8rem, 7vw, 7rem); }
.care-ticket {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0,.77fr) minmax(0,1.23fr);
  border: 1px solid #e8adbf;
  border-radius: 2rem;
  background: #fff3f4;
  box-shadow: 0 9px 0 #f6e2d5;
}
.care-intro { padding: clamp(1.6rem, 4.5vw, 4.5rem); border-right: 1px dashed #ca879e; }
.care-intro h2 { font-size: clamp(2.6rem, 5.2vw, 5.1rem); }
.care-intro p { max-width: 22rem; margin: 1.15rem 0 .75rem; font-size: clamp(1rem, 1.5vw, 1.19rem); }
.care-contact { display: inline-flex; min-height: 44px; align-items: center; font-weight: 800; }
.care-contact:hover { text-decoration-thickness: .14em; }
.care-ledger { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-content: center; gap: 1.45rem clamp(1.2rem, 3.2vw, 3rem); padding: clamp(1.6rem, 4vw, 4rem); }
.care-ledger div { border-top: 3px solid #edaac0; padding-top: .75rem; }
.care-ledger dt { font-weight: 800; line-height: 1.12; letter-spacing: -.05em; font-size: clamp(1.21rem, 2.25vw, 2rem); }
.care-ledger dd { margin-top: .4rem; font-size: .95rem; color: #583748; }

.gallery { background: #f9ccda; padding-block: clamp(3.5rem, 7vw, 7rem); overflow: clip; }
.gallery-intro { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); align-items: end; gap: 1rem 2.65rem; }
.gallery-intro h2 { max-width: 14ch; text-wrap: balance; }
.gallery-intro p { max-width: 29ch; font-size: 1.04rem; padding-bottom: .15rem; }
.gallery-prints { position: relative; display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); align-items: start; gap: clamp(.7rem, 1.8vw, 1.6rem); padding: clamp(2.35rem, 7vw, 6rem) 2% 2rem; }
.gallery-route { position: absolute; inset: 11% 1% 7%; width: 98%; height: 82%; pointer-events: none; }
.gallery-route path { fill: none; stroke: #b9587b; stroke-width: 2; stroke-dasharray: .008 .006; vector-effect: non-scaling-stroke; }
.route-narrow { display: none; }
.print { position: relative; min-width: 0; }
.print-bath { grid-column: 1 / span 6; --unfold: 6%; --rise: 8%; --tilt: -2deg; }
.print-towel { grid-column: 7 / span 3; margin-top: 19%; --unfold: -16%; --rise: 18%; --tilt: 4deg; }
.print-cat { grid-column: 10 / -1; margin-top: 54%; --unfold: -28%; --rise: 24%; --tilt: 6deg; }
.print a { position: relative; display: block; box-shadow: 0 12px 26px #35182730; background: #dc92ad; transition: box-shadow .21s ease; }
.print a::after { content: "+"; position: absolute; right: .6rem; bottom: .6rem; display: grid; place-items: center; width: 36px; aspect-ratio: 1; border-radius: 50%; color: var(--ink); background: var(--paper); line-height: 1; font-size: 1.22rem; font-weight: 800; }
.print a:hover { box-shadow: 0 17px 30px #35182758; }
.print a:hover::after { color: var(--paper); background: var(--plum); }
.print img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
.print-bath img { aspect-ratio: 1.16; object-position: 50% 56%; }
.print-towel img { aspect-ratio: .77; }
.print-cat img { aspect-ratio: 1; object-position: 50% 38%; }
.print figcaption {
  position: relative;
  transform: translateY(-26%) rotate(-3deg);
  width: fit-content;
  margin-left: -.3rem;
  padding: .38rem .8rem;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 3px 4px #35182725;
  font-size: clamp(.76rem, 1.25vw, 1.04rem);
  font-weight: 800;
}
.source { display: inline-flex; min-height: 44px; align-items: center; margin-top: .1rem; font-weight: 760; }

.viewer { padding: 0; border: 0; color: var(--paper); background: var(--plum); width: min(760px, calc(100% - 1.5rem)); max-width: none; max-height: calc(100% - 1.5rem); }
.viewer::backdrop { background: #220c19e5; }
.viewer-inner { display: grid; gap: .65rem; padding: .75rem; overflow-x: clip; }
.viewer-bar, .viewer-controls { display: flex; gap: .55rem; align-items: center; justify-content: space-between; }
.viewer-bar { padding-left: .3rem; }
.viewer img { width: 100%; height: min(64dvh, 590px); object-fit: contain; background: #290f20; touch-action: pan-y pinch-zoom; }
.viewer button { min-height: 44px; padding: .3rem .65rem; border: 1px solid #b8758d; background: none; color: inherit; font-size: .92rem; font-weight: 750; cursor: pointer; }
.viewer button:hover { background: var(--paper); color: var(--plum); }

.visit { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); position: relative; gap: 0; margin-block: clamp(3.5rem, 7vw, 7rem); isolation: isolate; background: var(--pale-rose); }
.visit-print { min-width: 0; background: #f7e4ca; }
.visit-print img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; object-position: center 42%; }
.visit-card { align-self: center; padding: clamp(2rem, 5vw, 4.4rem) clamp(1.3rem, 6vw, 6.5rem); }
.visit-card h2 { font-size: clamp(2.65rem, 5.4vw, 5rem); }
.visit-card address { font-size: clamp(1.15rem, 2vw, 1.5rem); font-style: normal; font-weight: 780; margin-top: 1.3rem; }
.visit-card p { margin-top: .2rem; color: #542f42; }
.visit-actions { display: flex; align-items: center; gap: .6rem 1.3rem; flex-wrap: wrap; margin-top: 1.35rem; }
.route { min-height: 44px; display: inline-flex; align-items: center; font-weight: 770; font-size: .94rem; }
footer { background: var(--plum); color: var(--paper); }
.footer-inner { padding-block: 1rem; display: flex; align-items: center; gap: .35rem 1.65rem; flex-wrap: wrap; }
.footer-inner p { font-size: 1.3rem; font-weight: 800; letter-spacing: -.06em; margin-right: auto; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 660; font-size: .96rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero-photo { animation: print-in .86s var(--ease) both; }
  .hero-pocket, .hero-print-label { animation: pocket-in .81s var(--ease) both; }
  .hero-mat { animation: mat-in 1.05s var(--ease) both; }
  @supports (animation-timeline: view()) {
    .gallery-prints { view-timeline: --prints block; }
    .print { animation: unfold-prints linear both; animation-timeline: --prints; animation-range: entry 3% cover 38%; }
    .gallery-route { animation: draw-route linear both; animation-timeline: --prints; animation-range: entry 4% cover 48%; }
  }
}

@keyframes print-in {
  from { transform: translate(10%, 12%) rotate(9deg); }
  to { transform: translate(0, 0) rotate(0); }
}
@keyframes pocket-in {
  from { translate: 0 25%; }
  to { translate: 0; }
}
@keyframes mat-in {
  from { rotate: 1deg; }
  to { rotate: 5deg; }
}
@keyframes unfold-prints {
  from { transform: translate(var(--unfold), var(--rise)) rotate(var(--tilt)); }
  to { transform: translate(0, 0) rotate(0); }
}
@keyframes draw-route {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0); }
}

@media (max-width: 850px) {
  .hero-inner { min-height: 560px; gap: 2rem; }
  .hero h1 { font-size: clamp(2.85rem, 7.25vw, 4.05rem); }
  .hero-display { aspect-ratio: .94; }
  .hero-photo { inset: -1% 10% 5% 9%; }
}

@media (max-width: 690px) {
  .masthead-inner { min-height: auto; gap: 0 .45rem; grid-template-columns: 1fr auto; padding-block: .35rem .2rem; }
  .brand { grid-area: 1/1; font-size: 1rem; }
  .brand img { width: 48px; height: 48px; margin-right: .25rem; }
  .phone { grid-area: 1/2; font-size: .74rem; }
  .masthead nav { grid-row: 2; grid-column: 1/-1; justify-content: space-between; border-top: 1px solid #ead4db; }
  .masthead nav a { min-height: 44px; font-size: .82rem; }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 1.85rem; padding-block: 2rem 2.25rem; min-height: 0; }
  .hero h1 { font-size: clamp(1.68rem, 8.15vw, 3.65rem); line-height: 1.01; letter-spacing: -.057em; }
  .hero h1 span { display: inline-block; white-space: nowrap; }
  .hero h1 span:first-child { display: block; margin-bottom: .07em; font-size: clamp(3.12rem, 14vw, 5.25rem); letter-spacing: -.071em; line-height: .92; }
  .hero-note { margin: 1.02rem 0 1rem; font-size: 1rem; }
  .city { margin-bottom: .78rem; font-size: .84rem; }
  .hero-display { width: min(100%, 510px); margin-inline: auto; aspect-ratio: 1.13; }
  .hero-photo { inset: 0 15% 5% 15%; padding: 7px 7px 12px; }
  .hero-pocket { height: 17%; }
  .hero-print-label { right: 2.5%; bottom: -1.5%; }
  .care-ticket { grid-template-columns: 1fr; }
  .care-intro { border-right: 0; border-bottom: 1px dashed #ca879e; padding: 1.35rem 1.2rem .85rem; }
  .care-intro h2 br { display: none; }
  .care-ledger { padding: 1.2rem; gap: 1.2rem .9rem; }
  .care-ledger dd { font-size: .86rem; }
  .gallery-intro { grid-template-columns: 1fr; gap: .9rem; }
  .gallery-prints { gap: .85rem; padding: 1.6rem 0 .6rem; grid-template-columns: repeat(6,minmax(0,1fr)); }
  .gallery-route { inset: 10% 1% 5%; height: 85%; }
  .route-wide { display: none; }
  .route-narrow { display: block; }
  .print-bath { grid-column: 1 / span 5; }
  .print-towel { grid-column: 3 / -1; margin-top: 0; --unfold: 9%; }
  .print-cat { grid-column: 1 / span 4; margin-top: 0; --unfold: -5%; }
  .print-bath img { aspect-ratio: 1.12; }
  .print-towel img { aspect-ratio: .93; }
  .print-cat img { aspect-ratio: 1.1; }
  .gallery-intro p { font-size: .97rem; }
  .visit { grid-template-columns: 1fr; }
  .visit-print img { aspect-ratio: 1.6; min-height: 0; }
  .visit-card { grid-row: 1; padding: 1.45rem clamp(1.2rem, 6.5vw, 3.2rem); }
  .footer-inner { padding: .75rem 0; gap: 0 1rem; }
  .footer-inner p { width: 100%; margin-top: .4rem; }
}

@media (max-width: 690px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .gallery-route { animation-name: draw-route-down; animation-range: entry 5% cover 71%; }
    .print { animation-timeline: view(); animation-range: entry 3% cover 32%; }
  }
}
@keyframes draw-route-down {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
