/* Blackwork - tattoo studio. All colours, fonts and sizes are tokens here. */
:root {
  --bg: #0f0e0d;          /* night: the studio after hours */
  --ink: #ecebe6;         /* text */
  --soft: #8d8a84;        /* small print */
  --line: rgba(236, 235, 230, .16);
  --panel: #1b1a18;       /* raised sections (process, cards) */
  --stencil: #8f7bff;     /* transfer violet: the only accent */
  --head: "Melodrama", "Times New Roman", serif;
  --text: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "Fragment Mono", ui-monospace, monospace;
  --head-weight: 500;
  --head-track: -.01em;
  --gutter: clamp(16px, 3vw, 40px);
  --hh: 68px;             /* header height */
  --radius: 0px;
  --ease: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--text); transition: background-color .4s, color .4s; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, dl, dd, blockquote, ol { margin: 0; }
ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--stencil); color: #fff; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 1px solid var(--stencil); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { max-width: 1760px; margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.label { font: 400 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.h2 { font: var(--head-weight) clamp(34px, 4.6vw, 76px)/1 var(--head); letter-spacing: var(--head-track); }
.h3 { font: var(--head-weight) clamp(24px, 2vw, 32px)/1.1 var(--head); letter-spacing: var(--head-track); }
.h4 { font: 500 18px/1.3 var(--text); }
.small { font-size: 14px; color: var(--soft); }

/* links and buttons */
.link { display: inline-block; font: 400 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 0 0 4px; border: 0; cursor: pointer;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease); }
.link:hover { background-size: 30% 1px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 1px solid var(--ink); border-radius: var(--radius);
  font: 400 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--bg); transition: background-color .3s, color .3s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn-small { min-height: 38px; padding: 0 16px; }

/* header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hh); display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter);
  transition: background-color .4s, box-shadow .4s; }
.header.is-scrolled { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.hero-inked .header.on-hero, .no-motion .header.on-hero { color: #fff; }
.hero-inked .header.on-hero .btn { background: #fff; color: #0d0d0d; border-color: #fff; }
.logo { font: var(--head-weight) 26px/1 var(--head); letter-spacing: var(--head-track); }
.nav-main { display: flex; gap: 26px; margin-left: auto; font: 400 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.nav-main a { padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.nav-main a:hover, .nav-main a[aria-current] { background-size: 100% 1px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 10px 0; font: 400 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.menu { position: fixed; inset: 0; z-index: 49; background: var(--bg); padding: calc(var(--hh) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; gap: 4px; font: var(--head-weight) clamp(40px, 11vw, 72px)/1.05 var(--head); }
.menu-foot { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--soft); }
@media (max-width: 900px) {
  .nav-main, .header-book { display: none; }
  .menu-btn { display: block; }
}

/* photos: always black and white */
.ph { position: relative; overflow: hidden; background: var(--line); border-radius: var(--radius); }
.ph img, .hero-photo img, .process-stage img { filter: grayscale(1) contrast(1.04); }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* INKSHOT, the signature: every tattoo photo arrives the way a tattoo does.
   1 stencil: the photo shows as a violet transfer print (high contrast, violet on white)
   2 line: a needle hatches across it in passes and the real photo is inked in behind it
   3 shade: the last grey tones settle in. main.js builds the needle layer (an SVG mask) on top of the <img>. */
.inkshot { position: relative; overflow: hidden; isolation: isolate; }
.inkshot > img { position: relative; z-index: 0; }
.inkshot.is-stencil > img { filter: url(#bw-stencil); }
.ink-layer { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.ink-layer image { filter: grayscale(1) contrast(1.04); }
.ink-layer .ink-raw { transition: filter 1.6s; }
.inkshot.is-line .ink-layer .ink-raw { filter: grayscale(1) contrast(.75) brightness(1.18); }
.motion .inkshot:not(.is-stencil):not(.is-line):not(.is-done) > img { opacity: 0; }

/* headings that get inked: violet outline first (the stencil), then black ink wipes in */
@property --p { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.motion [data-ink] { position: relative; }
.motion [data-ink]:not(.healed) { color: transparent; -webkit-text-stroke: 1px var(--stencil); }
.motion [data-ink]::after { content: attr(data-text); position: absolute; inset: 0; color: var(--ink); -webkit-text-stroke: 0; clip-path: inset(-.4em calc(100% - var(--p)) -.4em -.1em); pointer-events: none; }
.motion [data-ink].inked::after { --p: 100%; transition: --p 1.4s cubic-bezier(.45, .05, .35, 1); }
.motion [data-ink].healed::after { display: none; }
/* the footer name is big: a thicker stencil line and a slower pass of the needle */
.motion .footer-mark [data-ink]:not(.healed) { -webkit-text-stroke-width: 1.5px; }
.motion .footer-mark [data-ink].inked::after { transition-duration: 2.2s; }

/* hero: one real back piece across the whole screen; a soft shade at top and bottom keeps the white name and notes readable */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, .6)); }
.motion .hero::after { opacity: 0; }
.motion .hero.inked::after { opacity: 1; transition: opacity 1.2s; }
.hero-name { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); top: calc(var(--hh) + 1vh); font: var(--head-weight) 10px/.8 var(--head); letter-spacing: var(--head-track);
  text-transform: uppercase; }
.fit { display: inline-block; white-space: nowrap; }
.hero-foot { position: absolute; z-index: 3; left: 0; right: 0; bottom: 24px; display: flex; justify-content: space-between; align-items: end; gap: 24px;
  font: 400 12px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.hero-meta { display: flex; flex-direction: column; gap: 2px; }
.hero-book { display: flex; flex-direction: column; align-items: end; gap: 8px; text-align: right; }
/* the name is drawn in like the photo: violet outline, then filled */
.name-ink { display: block; width: 100%; height: auto; overflow: visible; }
.name-ink .ns { fill: none; stroke: var(--stencil); stroke-width: 1.3px; vector-effect: non-scaling-stroke; transition: opacity 1.2s; }
.name-ink .ni { fill: #fff; }
.name-ink.done .ns { opacity: 0; }
.motion .name-ink .ns { clip-path: inset(-20% 100% -20% 0); }
.motion .hero.on .name-ink .ns { clip-path: inset(-20% 0); transition: clip-path 1.2s cubic-bezier(.6, 0, .2, 1), opacity 1.2s; }
.motion .hero-foot > * { opacity: 0; transform: translateY(12px); }
.motion .hero.inked .hero-foot > * { opacity: 1; transform: none; transition: opacity .8s, transform .8s var(--ease); }
.motion .hero.inked .hero-book { transition-delay: .15s; }
@media (max-width: 700px) {
  .hero-foot { flex-direction: column; align-items: start; }
  .hero-book { align-items: start; text-align: left; }
}

/* sections */
section { scroll-margin-top: var(--hh); }
.intro { padding-top: clamp(96px, 14vw, 200px); padding-bottom: clamp(72px, 10vw, 140px); display: grid; grid-template-columns: 1fr 3fr; gap: 24px 40px; }
.statement { font: var(--head-weight) clamp(30px, 3.8vw, 64px)/1.06 var(--head); letter-spacing: var(--head-track); max-width: 22em; }
.facts { grid-column: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.facts dd { margin-top: 8px; font-size: 15px; }
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; }
  .facts { grid-column: 1; grid-template-columns: 1fr 1fr; }
}

.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 56px); }

.artists { padding-bottom: clamp(96px, 12vw, 180px); }
.artist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 16px; }
.artist { display: flex; flex-direction: column; gap: 6px; }
.artist .ph { aspect-ratio: 3 / 4; margin-bottom: 12px; }
.ph-swap img + img { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.artist:hover .ph-swap img + img { opacity: 1; }
.artist-n { font: 400 11px/1 var(--mono); color: var(--soft); }
.artist-next { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; }
.artist-next .label { margin-right: 6px; }
@media (max-width: 900px) { .artist-grid { grid-template-columns: 1fr 1fr; } }

.process { background: var(--panel); color: var(--ink); padding: clamp(80px, 10vw, 160px) 0; }
.process-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.process-stage { aspect-ratio: 4 / 5; max-height: 86vh; width: 100%; }
.process-stage img { width: 100%; height: 100%; object-fit: cover; }
.process-text { display: flex; flex-direction: column; gap: 20px; align-items: start; }
.steps { width: 100%; margin-top: 12px; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line);
  opacity: .4; transition: opacity .6s; }
.steps li.on { opacity: 1; }
.steps li.on .step-n { color: var(--stencil); }
.steps p { margin-top: 6px; font-size: 15px; color: var(--soft); }
.step-n { font: 400 12px/1.6 var(--mono); color: var(--soft); }
.replay { background-color: transparent; }
@media (max-width: 900px) { .process-in { grid-template-columns: 1fr; } }

.work { padding-top: clamp(96px, 12vw, 180px); padding-bottom: clamp(96px, 12vw, 180px); }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 16px; }
.work-item .ph { aspect-ratio: 4 / 5; }
.work-item figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr 1fr; } }

.flash { padding-bottom: clamp(96px, 12vw, 180px); }
.flash-note { margin-top: 12px; max-width: 26em; }
.flash-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 16px; overflow-x: auto; scrollbar-width: none; }
.flash-row::-webkit-scrollbar { display: none; }
.flash-card { display: flex; flex-direction: column; gap: 10px; }
.flash-card .ph { aspect-ratio: 3 / 4; }
.flash-meta { display: flex; flex-direction: column; gap: 2px; }
.flash-claim { align-self: start; font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--stencil); padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.flash-card:hover .flash-claim { background-size: 100% 1px; }

.quotes { padding-bottom: clamp(96px, 12vw, 180px); }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 28px; }
.quote { display: flex; flex-direction: column; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote-n { font: 400 11px/1 var(--mono); color: var(--stencil); }
.quote blockquote { margin: 0; font: var(--head-weight) clamp(22px, 1.9vw, 30px)/1.2 var(--head); letter-spacing: var(--head-track); }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }

.faq { padding-bottom: clamp(96px, 12vw, 180px); display: grid; grid-template-columns: 1fr 2fr; gap: 32px 40px; }
.faq-head { display: flex; flex-direction: column; align-items: start; gap: 24px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: 48px 1fr 20px; gap: 12px; align-items: baseline; padding: 22px 0; cursor: pointer; list-style: none; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-x { position: relative; width: 14px; height: 14px; align-self: center; }
.faq-x::before, .faq-x::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.faq-x::after { transform: rotate(90deg); }
.faq details[open] .faq-x::after { transform: rotate(0deg); }
.faq details p { padding: 0 32px 24px 60px; max-width: 40em; color: var(--soft); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq details p { padding-left: 0; } }

/* footer */
.footer { border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 120px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 48px; }
.footer-invite { display: flex; flex-direction: column; align-items: start; gap: 20px; }
.footer-line { font: var(--head-weight) clamp(30px, 3.4vw, 56px)/1.04 var(--head); letter-spacing: var(--head-track); max-width: 12em; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; font-size: 15px; }
.footer-cols .label { margin-bottom: 10px; }
.footer-cols a:hover { color: var(--stencil); }
.nav-foot { display: flex; flex-direction: column; gap: 2px; }
.footer-mark { margin: clamp(64px, 8vw, 120px) var(--gutter) 0; font: var(--head-weight) 10px/.8 var(--head); letter-spacing: var(--head-track); text-transform: uppercase; }
.footer-small { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 24px; padding-right: calc(var(--gutter) + 60px); font-size: 12px; color: var(--soft); }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

.to-top { position: fixed; right: var(--gutter); bottom: 20px; z-index: 40; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius);
  background: var(--ink); color: var(--bg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

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

/* inner pages */
.h1 { font: var(--head-weight) clamp(48px, 7.4vw, 128px)/.95 var(--head); letter-spacing: var(--head-track); }
.page-head { padding-top: calc(var(--hh) + clamp(56px, 9vw, 140px)); padding-bottom: clamp(48px, 6vw, 96px); display: flex; flex-direction: column; gap: 20px; }
.page-intro { max-width: 36em; font-size: 18px; color: var(--soft); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 6px 10px; border: 1px solid var(--line); font: 400 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

.roster { padding-bottom: clamp(96px, 12vw, 180px); }
.roster-row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 96px); align-items: center; padding: clamp(32px, 4vw, 64px) 0; border-top: 1px solid var(--line); }
.roster-row:nth-child(even) .roster-photo { order: 2; }
.roster-photo { display: block; aspect-ratio: 4 / 5; }
.roster-text { display: flex; flex-direction: column; gap: 20px; align-items: start; }
.roster-name { font: var(--head-weight) clamp(48px, 7vw, 120px)/.95 var(--head); letter-spacing: var(--head-track); }
.roster-quote { max-width: 26em; font-size: 20px; line-height: 1.4; }
.roster-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; padding-top: 16px; border-top: 1px solid var(--line); width: 100%; }
.roster-foot .label { margin-right: 6px; }
@media (max-width: 900px) { .roster-row { grid-template-columns: 1fr; } .roster-row:nth-child(even) .roster-photo { order: 0; } }

.artist-head { padding-top: calc(var(--hh) + clamp(24px, 4vw, 64px)); padding-bottom: clamp(72px, 9vw, 140px); display: grid; grid-template-columns: 5fr 6fr; gap: clamp(24px, 5vw, 96px); align-items: start; }
.artist-cover { aspect-ratio: 4 / 5; position: sticky; top: calc(var(--hh) + 16px); }
.artist-intro { display: flex; flex-direction: column; gap: 22px; align-items: start; padding-top: clamp(8px, 4vw, 64px); }
.artist-about { max-width: 34em; font-size: 17px; color: var(--soft); }
.artist-quote { margin: 8px 0; padding-left: 20px; border-left: 1px solid var(--stencil); font: var(--head-weight) clamp(24px, 2.4vw, 36px)/1.15 var(--head); letter-spacing: var(--head-track); }
.artist-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.artist-facts dd { margin-top: 6px; }
.team { padding-bottom: clamp(96px, 12vw, 180px); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team-grid .ph { aspect-ratio: 4 / 5; margin-bottom: 12px; }
@media (max-width: 900px) { .artist-head { grid-template-columns: 1fr; } .artist-cover { position: relative; top: 0; } .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .artist-facts { grid-template-columns: 1fr 1fr; } }

/* filter and form chips */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); background: none; cursor: pointer;
  font: 400 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; transition: border-color .3s, background-color .3s, color .3s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip:has(input:checked) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip:has(input:focus-visible) { outline: 1px solid var(--stencil); outline-offset: 3px; }
.work-all { padding-top: 0; }
.work-item[hidden] { display: none; }

.flash-how { padding-bottom: clamp(48px, 6vw, 96px); }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how li { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.how p { color: var(--soft); font-size: 15px; }
.flash-all { padding-bottom: clamp(96px, 12vw, 180px); }
.flash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 16px; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; } .flash-grid { grid-template-columns: 1fr 1fr; } }

.care { padding-bottom: clamp(72px, 10vw, 140px); }
.care-list { display: grid; border-top: 1px solid var(--line); }
.care-step { display: grid; grid-template-columns: 1fr 1.2fr 2fr; gap: 12px 32px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.care-when { font: 400 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.care-when .step-n { margin-right: 12px; color: var(--stencil); }
.care-step > p:last-child { color: var(--soft); max-width: 40em; }
@media (max-width: 900px) { .care-step { grid-template-columns: 1fr; } }

.studio-photos { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; padding-bottom: clamp(72px, 10vw, 140px); }
.studio-photos .ph { aspect-ratio: 4 / 3; }
.studio-photos .studio-big { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.rooms { padding-bottom: clamp(72px, 10vw, 140px); }
.rooms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rooms-grid .ph { aspect-ratio: 3 / 4; }
@media (max-width: 900px) { .rooms-grid { grid-template-columns: 1fr 1fr; } }
.hygiene { padding-bottom: clamp(72px, 10vw, 140px); display: grid; grid-template-columns: 1fr 2fr; gap: 32px 40px; }
.hyg-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--line); }
.hyg-list div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.hyg-list dt { font-size: 19px; }
.hyg-list dt .step-n { margin-right: 12px; }
.hyg-list dd { margin-top: 8px; color: var(--soft); font-size: 15px; }
.visit { padding-bottom: clamp(96px, 12vw, 180px); display: grid; grid-template-columns: 1fr 2fr; gap: 32px 40px; }
.visit-note { margin-top: 20px; max-width: 26em; color: var(--soft); }
.visit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.visit-list dd { margin-top: 8px; font-size: 18px; }
.visit-list a:hover { color: var(--stencil); }
@media (max-width: 900px) {
  .studio-photos { grid-template-columns: 1fr 1fr; }
  .studio-photos .studio-big { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .hygiene, .visit { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .hyg-list, .visit-list { grid-template-columns: 1fr; } }

/* booking form */
.book { padding-bottom: clamp(96px, 12vw, 180px); display: grid; grid-template-columns: 2fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.form { display: flex; flex-direction: column; gap: 32px; }
.field-set { margin: 0; padding: 0; border: 0; min-width: 0; }
.field-set legend { padding: 0; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip { position: relative; }
.field { display: flex; flex-direction: column; gap: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.field input, .field textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; font-size: 18px; outline: 0; transition: border-color .3s; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--stencil); }
.field input::placeholder, .field textarea::placeholder { color: var(--soft); opacity: .7; }
.field.bad input, .field.bad textarea { border-color: #ff6b5e; }
.field-error { font: 400 12px/1.4 var(--mono); color: #ff6b5e; }
.check { position: relative; display: flex; gap: 12px; align-items: center; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { flex: none; width: 20px; height: 20px; border: 1px solid var(--soft); display: grid; place-items: center; }
.check input:checked + .check-box { background: var(--stencil); border-color: var(--stencil); }
.check input:checked + .check-box::after { content: ""; width: 10px; height: 5px; border: 0 solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.check input:focus-visible + .check-box { outline: 1px solid var(--stencil); outline-offset: 3px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-done { padding: 28px; border: 1px solid var(--stencil); display: flex; flex-direction: column; gap: 10px; }
.form-done[hidden] { display: none; }
.book-side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--hh) + 24px); }
.book-side .ph { aspect-ratio: 4 / 5; }
.book-side .visit-list { grid-template-columns: 1fr; }
@media (max-width: 900px) { .book { grid-template-columns: 1fr; } .book-side { position: relative; top: 0; } }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.nf { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding-top: var(--hh); padding-bottom: 64px; }
.nf-num { font: var(--head-weight) clamp(140px, 30vw, 420px)/.8 var(--head); letter-spacing: var(--head-track); }
.nf-links { display: flex; align-items: center; gap: 24px; }

a[href^="mailto:"] { position: relative; }
.copied-tip { position: absolute; left: 0; bottom: calc(100% + 6px); padding: 4px 8px; background: var(--ink); color: var(--bg); font: 400 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; pointer-events: none; }
