:root {
  --bg: #f7f7f5;
  --stone: #ebebe9;
  --card: #fff;
  --ink: #141414;
  --soft: #505050;
  --line: #d1d1cf;
  --dark: #111;
  --on-dark: #fff;
  --on-dark-soft: #c6c6c4;
  --silver: #393939;
  --display: "Cormorant Garamond", Georgia, serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;
  --m: max(clamp(18px, 5vw, 88px), calc((100vw - 1320px) / 2));
  --gap: clamp(62px, 8vw, 116px);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--text); }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.03; letter-spacing: -.038em; text-wrap: balance; }
h1 { font-size: clamp(46px, 6.15vw, 90px); }
h2 { font-size: clamp(34px, 4.3vw, 62px); }
h3 { font-size: clamp(24px, 2.2vw, 32px); }
h1 em, h2 em { font-family: var(--display); font-weight: 500; }
h1 em { color: var(--soft); }
.dark h1 em { color: #c0c0be; }
p { max-width: 65ch; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button, input { color: inherit; font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
::selection { color: white; background: #555; }
.skip { position: absolute; left: -200vw; }
.skip:focus { left: 16px; top: 10px; z-index: 60; padding: 10px 14px; background: var(--bg); color: var(--ink); }
.wrap { padding: var(--gap) var(--m); }
.dark { background: var(--dark); color: var(--on-dark); }
.lead { font-size: clamp(18px, 1.55vw, 22px); }
.soft, .photo-note { color: var(--soft); }
.dark .soft, .dark .lead { color: var(--on-dark-soft); }
.photo-note { margin-top: 24px; font-size: 15px; }
.acts { display: flex; flex-wrap: wrap; gap: 14px 25px; align-items: center; margin-top: 28px; }
.head { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: baseline; justify-content: space-between; margin-bottom: clamp(24px, 4vw, 54px); }

.btn, .more {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  text-decoration: none;
}
.btn { justify-content: center; border: 1px solid transparent; padding: 10px 20px; background: var(--ink); color: white; transition: background .18s, color .18s; }
.btn:hover { background: #363636; }
.btn:focus-visible { outline-color: var(--ink); }
.dark .btn:focus-visible, .hero .btn:focus-visible, .bar .btn:focus-visible, .dock .btn:focus-visible { outline-color: #fff; }
.btn.light { background: #f6f6f4; color: var(--ink); }
.btn.light:hover { background: #d3d3d0; }
.btn.ghost { background: transparent; border-color: #808080; color: inherit; }
.btn.ghost:hover { background: #303030; }
.btn.big { padding: 12px 24px; min-height: 54px; }
.more { width: fit-content; }
.more::after { content: "→"; transition: transform .18s; }
.more:hover { text-decoration: underline; }
.more:hover::after { transform: translateX(4px); }

.logo {
  display: block;
  width: 160px;
  aspect-ratio: 7 / 1;
  background: currentColor;
  mask: url(img/skinic-logo.svg) center / contain no-repeat;
}
.bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  min-height: 78px;
  gap: clamp(14px, 2.4vw, 36px);
  align-items: center;
  justify-content: space-between;
  padding: 13px var(--m);
  background: var(--dark);
  color: white;
  border-bottom: 1px solid var(--silver);
}
.bar nav { display: flex; gap: clamp(13px, 1.8vw, 26px); margin-left: auto; }
.bar nav a { display: flex; align-items: center; min-height: 48px; font-size: 15px; text-decoration: none; }
.bar nav a:hover, .bar nav a[aria-current] { text-decoration: underline; }
.bar .btn { flex: none; background: #f6f6f4; color: var(--ink); }
.bar .btn:hover { background: #d3d3d0; }
.burger { display: none; min-width: 48px; min-height: 48px; border: 1px solid #6a6a6a; background: transparent; color: white; padding: 0 13px; }
.dock { display: none; }

/* Okładka Skinic */
.hero-stage { position:relative; isolation:isolate; overflow:hidden; }
.hero-stage::after { position:absolute; z-index:-1; inset:0; content:""; }
.hero-frame { position:absolute; z-index:-2; overflow:hidden; }
.hero-frame img,.hero-frame video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero-frame video { opacity:0; transition:opacity .5s; }
.hero-frame.video-ready video { opacity:1; }
.hero-content { min-height:inherit; }
.hero-brand img { width:100%; height:auto; }
.bk { width:auto; height:15px; }
.bas, .team, .cards, .ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.3vw, 33px); }
.visit-home {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  background: #e5e5e2;
  min-height: 480px;
}
.visit-image { position: relative; overflow: hidden; }
.visit-image img { width: 100%; height: 100%; object-fit: cover; }
.visit-copy { align-self: center; padding: clamp(38px, 7vw, 116px) var(--m) clamp(38px, 7vw, 116px) clamp(26px, 5vw, 75px); }
.visit-copy h2 em { display: block; }
.visit-copy .lead, .split .lead, .ratings .lead { margin-top: 18px; }

.fm, .two, .faq, .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 6vw, 86px); align-items: center; }
.fm h2 { max-width: 14ch; }
.fm .soft { margin-top: 14px; }
.face { position: relative; width: min(100%, 380px); margin: auto; aspect-ratio: 3 / 4; }
.face svg { width: 100%; height: 100%; }
.face path { fill: none; stroke: #adadad; stroke-width: 1.1; stroke-linecap: round; }
.hs { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px; border: 0; background: none; }
.hs::before { content: ""; width: 12px; height: 12px; border: 2px solid white; border-radius: 50%; background: #111; }
.hs:hover::before, .hs[aria-pressed=true]::before { background: white; }
.zones { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 20px; }
.zones button, .ptools button { min-height: 46px; padding: 7px 12px; border: 1px solid var(--line); background: var(--card); font-size: 15px; }
.zones button { background: transparent; color: var(--on-dark); border-color: #707070; }
.zones button:hover { border-color: white; }
.zones button[aria-pressed=true] { background: white; color: var(--ink); border-color: white; }
.fm-out { display: grid; align-content: start; min-height: 290px; }
.fm-out a { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 11px 0; border-top: 1px solid #5b5b5b; text-decoration: none; }
.fm-out a:hover b { text-decoration: underline; }
.fm-out i { font-style: normal; font-weight: 600; white-space: nowrap; }
.fm-out small { grid-column: 1 / -1; color: var(--on-dark-soft); font-size: 15px; }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid #808080; padding: 14px 0 0; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 15px; font-size: 14px; }
.steps b { display: block; font-size: 23px; font-weight: 500; margin-bottom: 6px; }
.tickets { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.ticket { padding: clamp(19px, 3vw, 35px); border: 1px solid #bebebe; display: grid; gap: 8px; }
.ticket b { font: 500 clamp(40px, 5vw, 66px)/1 var(--display); }
.ticket strong { font-size: 21px; }

.person .ph { margin-bottom: 16px; aspect-ratio: 5 / 6; overflow: hidden; background: var(--card); }
.person img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 27%; }
.person span, .person p { display: block; color: var(--soft); margin-top: 6px; }

.stories { width: min(100%, 390px); margin: 0 auto; }
.stories img { display: none; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.stories img:first-of-type, .stories img.cur { display: block; }
.js .stories img:not(.cur) { display: none; }
.gallery-controls { display: none; }
.js .gallery-controls { display: flex; gap: 8px; align-items: center; justify-content: space-between; border: 1px solid #6d6d6d; margin-top: 12px; }
.gallery-controls button { min-width: 48px; height: 48px; border: 0; background: transparent; color: white; }
.gallery-controls button:hover { background: #333; }
.gallery-controls span { text-align: center; color: var(--on-dark-soft); font-size: 14px; }
.feat { margin: 20px 0 0; padding-left: 21px; }
.feat li+li { margin-top: 7px; }

.ratings { display: flex; flex-wrap: wrap; align-items: end; gap: 30px 50px; justify-content: space-between; }
.rating { display: grid; grid-template-columns: auto auto; align-items: center; gap: 4px 15px; }
.rating b { font: 500 58px/.9 var(--display); }
.stars { display: flex; gap: 4px; }
.stars svg { width: 17px; }
.rating a { grid-column: 1 / -1; }

.faq { align-items: start; }
.faq details, .pcat { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 0; min-height: 54px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details>p, details>ul { margin: 0; padding: 0 18px 17px 0; }

.ptools { display: none; }
.js .ptools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 22px; }
.ptools button:hover { border-color: #333; }
.ptools button[aria-pressed=true] { background: var(--ink); color: white; border-color: var(--ink); }
.ptools input { min-height: 48px; width: 100%; max-width: 450px; order: -1; margin-bottom: 5px; border: 1px solid #8a8a8a; border-radius: 0; padding: 9px 12px; background: var(--card); }
.no-results { padding-block: 14px; }
.pcat { margin-top: 38px; padding-top: 14px; }
.pcat h3 { margin: 0 0 10px; }
.pr { border-bottom: 1px solid var(--line); }
.pr summary b, .pr.one b { font-size: 18px; white-space: nowrap; }
.pr summary span { flex: 1; }
.pr summary small, .pr i { color: var(--soft); }
.pr ul { list-style: none; }
.pr li, .pr.one { display: grid; grid-template-columns: 1fr auto auto; gap: 10px 16px; padding: 12px 0; align-items: baseline; }
.pr li { border-top: 1px solid var(--line); }
.pr i { font-size: 14px; font-style: normal; white-space: nowrap; }

.phero { padding: clamp(38px, 6vw, 88px) var(--m) clamp(50px, 7vw, 100px); }
.phero h1 { max-width: 18ch; text-wrap: pretty; }
.phero .lead { margin-top: 18px; max-width: 53ch; }
.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(18px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(28px, 4vw, 64px);
}
.service-hero h1 { font-size: clamp(46px, 5.3vw, 78px); }
.service-hero figure { align-self: stretch; }
.service-hero img {
  width: 100%;
  height: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
 
}
.crumbs { color: var(--on-dark-soft); font-size: 15px; margin-bottom: 22px; }
.card, .way { border-top: 1px solid #a0a0a0; padding: 17px 0; display: grid; gap: 12px; align-content: start; }
.card b.p { font-size: 22px; font-weight: 500; }
.card p { color: var(--soft); }
.dark .card p { color: var(--on-dark-soft); }
.split .im { width: 100%; aspect-ratio: 5/4; overflow: hidden; }
.split .im img { width: 100%; height: 100%; object-fit: cover; }
.gal { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.gal img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.way { text-decoration: none; }
.way:hover b { text-decoration: underline; }
.way b { font-size: clamp(21px, 2.2vw, 31px); font-weight: 500; letter-spacing: -.025em; overflow-wrap: anywhere; }
.way .more { min-height: 34px; }
.contact-photo img { width: 100%; }
.legal-copy > * { max-width: 66ch; }
.legal-copy h2 { font-size: clamp(24px,3vw,36px); margin: 29px 0 10px; }
.legal-copy p + p { margin-top: 10px; }
.document-note { border-left: 1px solid var(--ink); padding: 8px 12px; }

.end { border-top: 1px solid var(--silver); }
.end .lead { margin-top: 14px; }
.foot {
  padding: clamp(36px, 6vw, 75px) var(--m) 55px;
  display: grid;
  grid-template-columns: 1.23fr 1fr 1fr .9fr;
  gap: clamp(20px, 4vw, 55px);
  color: var(--on-dark-soft);
  background: var(--dark);
  border-top: 1px solid var(--silver);
}
.foot .logo { color: white; margin-bottom: 16px; width: 180px; }
.foot h4 { color: white; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.foot a { display: block; width: fit-content; text-decoration: none; padding-block: 5px; overflow-wrap: anywhere; }
.foot a:hover { text-decoration: underline; }
.foot .legal { grid-column: 1 / -1; max-width: none; border-top: 1px solid var(--silver); padding-top: 17px; font-size: 14px; }
.soc { display: flex; gap: 8px; margin-top: 10px; }
.soc a { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #666; }
.soc svg { width: 20px; }

@media (max-width: 1120px) {
  .bar { flex-wrap: wrap; }
  .bar nav { gap: 0 19px; margin-left: 0; width: 100%; flex-wrap: wrap; order: 3; }
  .js .bar nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 8px var(--m) 18px;
    color: white;
    background: var(--dark);
    max-height: calc(100dvh - 84px);
    overflow: auto;
    border-bottom: 1px solid var(--silver);
  }
  .js .bar nav.open { display: grid; }
  .js .bar nav a { min-height: 49px; border-top: 1px solid var(--silver); font-size: 18px; }
  .js .burger { display: block; }
  .bar .btn { margin-left: auto; }
}
@media (max-width: 850px) {
  .team, .cards, .bas, .ways { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .foot { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fm, .two, .faq, .split { grid-template-columns: minmax(0, 1fr); }
  .face { max-width: 260px; }
}
@media (max-width: 720px) {
  .hero-stage { min-height: 0; }
  .hero-content { padding: 24px var(--m) 18px; }
  .hero-brand { width: min(100%, 465px); margin-inline: auto; }
  .hero-frame { top: clamp(62px, 18vw, 115px); width: 100%; bottom: auto; height: clamp(290px, 78vw, 450px); right: 0; }
  .hero-frame img, .hero-frame video { object-position: 50% 44%; }
  .hero-stage::after { background: linear-gradient(180deg, var(--stage) 2%, #14141418 22%, #14141400 37%, #14141440 49%, var(--stage) 68%); }
  .hero-copy { max-width: 100%; border-top: 0; padding-top: 0; margin-top: clamp(178px, 50vw, 300px); }
  .hero h1 { font-size: clamp(39px, 9.55vw, 62px); }
  .hero-copy p { margin-top: 11px; }
  .hero .acts { margin-top: 15px; }
  .service-hero { grid-template-columns: 1fr; }
  .service-hero img { aspect-ratio: 16/10; }
  .service-hero .crumbs { margin-bottom: 16px; }
  .visit-home { grid-template-columns: 1fr; min-height: 0; }
  .visit-image img { aspect-ratio: 16/10; height: auto; }
  .visit-copy { padding: 34px var(--m) 43px; }
  .steps { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0; }
  .foot { padding-bottom: 95px; }
  .dock {
    position: fixed;
    z-index: 25;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    padding: 7px var(--m) calc(7px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
    background: var(--dark);
    border-top: 1px solid var(--silver);
  }
  .dock.show { display: flex; }
  .dock .btn { flex: 1; }
  .dock .btn:first-child { border-color: #6a6a6a; }
  .js .bar:has(.open) ~ .dock { display: none; }
}
@media (max-width: 500px) {
  .bar { min-height: 67px; padding-block: 9px; gap: 9px; }
  .bar .logo { width: 128px; }
  .bar .btn { padding-inline: 10px; font-size: 14px; gap: 6px; }
  .burger { padding-inline: 8px; font-size: 14px; }
  .cards, .ways, .tickets { grid-template-columns: minmax(0,1fr); }
  .bas, .team { grid-template-columns: minmax(0,1fr); }
  .team .ph { aspect-ratio: 5/4; }
  .team .ph img { object-position: 50% 22%; }
  .gal { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pr li, .pr.one { grid-template-columns: minmax(0,1fr) auto; }
  .pr li i, .pr.one i { grid-row: 2; grid-column: 1; }
  .pr li b, .pr.one b { grid-column: 2; grid-row: 1; }
  .foot > :first-child, .foot > :nth-child(3) { grid-column: 1/-1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .visit-image img, .team .ph {
      animation: settle-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 80%;
    }
    @keyframes settle-in {
      from { transform: translateY(12px); }
      to { transform: translateY(0); }
    }
  }
}

:root {
  --bg: #fafaf9;
  --stone: #efefed;
  --display: var(--text);
  --radius: 22px;
  --m: max(clamp(20px, 5.1vw, 84px), calc((100vw - 1352px) / 2));
}
body { font-weight: 400; -webkit-font-smoothing: antialiased; }
h1,h2,h3 { font-family: var(--text); font-weight: 460; letter-spacing: -.052em; }
h1 em,h2 em { font: inherit; color: inherit; }
.head h2,.phero h1,.end h2 { text-wrap: balance; }
.btn { border-radius: 100px; gap: 14px; padding-inline: 21px; font-size: 15px; font-weight: 560; letter-spacing: -.015em; transition: background .22s,color .22s,box-shadow .22s; }
.btn .bk { width: 56px; height: 17px; box-sizing: content-box; border-inline-start: 1px solid currentColor; padding-inline-start: 13px; }
.btn:focus-visible,.hero .btn:focus-visible,.bar .btn:focus-visible { outline-color: var(--ink); }
.dark .btn:focus-visible,.dock .btn:focus-visible { outline-color: white; }
.btn.big { padding-inline: 24px; }
.more,.hero-link { min-height: 44px; font-weight: 530; text-decoration: underline; text-decoration-color: #aaa; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.more::after { content: "↗"; text-decoration: none; }
.more:hover,.hero-link:hover { text-decoration-color: currentColor; }
.bar { background: #fafaf9f5; color: #161616; min-height: 74px; padding-block: 8px; gap: clamp(14px,2.1vw,36px); border: none; backdrop-filter: blur(16px); }
.bar .logo { width: 140px; }
.bar .btn,.hero .btn.light { background: #151515; color: #fff; }
.bar .btn:hover,.hero .btn.light:hover { background: #383838; box-shadow: 0 4px 14px #0002; }
.bar nav { align-items: center; gap: clamp(14px,1.7vw,28px); }
.bar nav a { font-size: 15px; font-weight: 500; }
.head-social { display: flex; gap: 1px; align-items: center; border-left: 1px solid #cbcbc8; padding-left: 12px; }
.head-social a,.bar nav .head-social a { justify-content: center; min-height: 44px; width: 38px; }
.head-social svg { width: 21px; height: 21px; }
.soc a { border-radius: 50%; }
.burger { color: var(--ink); border-color: #c3c3be; width: 46px; height: 46px; min-width: 46px; min-height: 46px; border-radius: 50%; position: relative; }
.burger span,.burger span::after { position: absolute; left: 12px; top: 18px; width: 20px; height: 1.5px; display: block; background: currentColor; content: ""; transition: transform .25s; }
.burger span::after { left: 0; top: 7px; }
.burger[aria-expanded="true"] span { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-90deg); }

.hero { --stage: #dfdfdd; padding: 0 clamp(9px,1.35vw,28px); background: var(--bg); color: #151515; }
.hero-stage { min-height: clamp(570px, min(49vw,82svh), 800px); border-radius: clamp(19px,2.1vw,32px); background: var(--stage); }
.hero-stage::before { content: ''; position: absolute; inset: 0; z-index: -3; background: linear-gradient(112deg,#eeeeecdf 8%,#d5d5d3e6 49%,#adadaccc 75%), url(img/kamien.webp) center / cover; }
.hero-stage::after { pointer-events: none; background: linear-gradient(110deg,#fff3,transparent 49%); }
.hero-frame { width: 72%; inset: 0 0 0 auto; height: auto; mask-image: linear-gradient(90deg,transparent 0%,#0001 8%,#000a 31%,black 54%); }
.hero-frame img,.hero-frame video { object-position: 50% 43%; }
.hero-content { display: grid; align-content: space-between; gap: clamp(35px,4.2vw,70px); width: 58%; padding: clamp(42px,4.3vw,72px) 0 clamp(40px,4.4vw,70px) calc(var(--m) - clamp(9px,1.35vw,28px)); }
.hero-brand { align-self: start; margin: 0; width: min(37vw,560px); position: relative; }
.hero-brand img { width: 100%; filter: brightness(.09); animation: none; }
.hero-brand::after { content:''; pointer-events:none; position:absolute; inset:0; mask: url(img/skinic-logo.svg) center / 100% 100% no-repeat; background: linear-gradient(110deg,transparent 38%,#c4c5c5bb 50%,transparent 62%) 140% 50% / 250% 100% no-repeat; }
.hero-copy { max-width: 100%; border: 0; padding: 0; margin: 0; }
.hero-copy .hero-place { margin: 0 0 14px; color: #373737; font-size: 13px; font-weight: 590; letter-spacing:.085em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.hero-place::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(41px,4.5vw,73px); font-weight: 470; line-height: 1.01; letter-spacing: -.055em; }
.hero-copy > p:not(.hero-place) { max-width: 40ch; margin-top: 18px; color: #30302f; font-size: clamp(16px,1.2vw,20px); line-height: 1.42; text-wrap: pretty; }
.hero .acts { margin-top: 26px; }
.hero-link { display: inline-flex; align-items: center; font-size: 15px; text-decoration-color: #747473; }
.hero-scroll { position:absolute; bottom: 26px; right: 27px; display: grid; place-items:center; width: 46px; height:46px; border-radius:50%; background: #f6f6f3ed; color:#151515; }
.hero-scroll svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.4; fill:none; }
.motion-setting { background: none; border: 0; font: inherit; color: inherit; text-decoration: underline; padding: 10px 0; margin-left: 18px; }
html.motion-paused *,html.motion-paused *::before,html.motion-paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion:no-preference) {
  .hero-stage { animation: cover-open 1.05s cubic-bezier(.15,.72,.19,1) both; }
  .hero-brand::after { animation: silver-pass 1.65s .12s ease both; }
  .hero-copy { animation: copy-enter .85s .12s cubic-bezier(.2,.72,.2,1) both; }
  .hero-scroll svg { animation: scroll-hint 2.8s ease-in-out 3; }
  @keyframes cover-open { from { clip-path: inset(0 1.8% 4% round 42px); } to { clip-path: inset(0 round 20px); } }
  @keyframes silver-pass { from { background-position-x: 145%; } to { background-position-x: -65%; } }
  @keyframes copy-enter { from { transform: translateY(15px); opacity: .4; } to { transform: none; opacity: 1; } }
  @keyframes scroll-hint { 0%,65%,100% { transform: none; } 35% { transform: translateY(4px); } }
}
#mapa { background:#191a19; }
.fm { display:grid; grid-template-columns: minmax(0,1.04fr) minmax(0,.96fr); grid-template-areas:"photo intro" "photo options"; align-items:start; row-gap: 13px; }
.area-intro { grid-area:intro; }
.area-options { grid-area:options; }
.fm h2 { max-width: 13ch; }
.fm .soft { max-width: 41ch; }
.face { grid-area:photo; align-self:center; width:100%; max-width:none; aspect-ratio:660/566; border-radius:var(--radius); background:white; }
.face img { width:100%; border-radius: inherit; }
.hs { z-index:1; border-radius:50%; }
.hs::before { width:12px;height:12px; background:#242424; border:2px solid white; box-shadow:0 0 0 1px #10101066; transition:transform .22s; }
.hs:hover::before,.hs[aria-pressed=true]::before { background:white; box-shadow: 0 0 0 2px #161616; }
.hs[aria-pressed=true] { z-index: 2; }
.hs[aria-pressed=true]::after { content:''; position:absolute; width:28px; height:28px; border:1px solid #202020aa; border-radius:50%; animation: area-pulse 2.8s ease-out infinite; }
@keyframes area-pulse { 0%,100% { transform:scale(.85); opacity:.5; } 65% { transform:scale(1.15);opacity:.1; } }
.face-key { position:absolute; bottom:15px;left:15px; background:#181919ed; color:white; border-radius:30px; padding:7px 14px; font-size:14px; }
.zones { gap: 6px; margin-block: 10px 18px; }
.zones button { border-radius: 30px; min-height: 38px; padding: 6px 14px; font-size: 14px; }
.fm-out { min-height: 282px; }
.fm-out a { padding: 10px 0; }
.fm-out a b { font-weight: 530; }
.fm-out small { font-size: 13px; }
.person .ph,.split .im,.service-hero figure,.gal img,.stories img { border-radius:var(--radius); overflow:hidden; }
.person .ph { aspect-ratio: 4/4.6; }
.person .ph img { object-position: center 18%; }
.service-hero figure { height:clamp(300px,30vw,490px); }
.service-hero img { object-position: 50% 18%; }
.page-medycyna-estetyczna .service-hero img { object-fit:contain; background:#eeedef; }
.team h3 { font-size:clamp(23px,2.1vw,33px); }
.end { background:radial-gradient(ellipse at top right,#393a38,transparent 60%),#171817; }
@media (max-width:1120px) {
  .js .bar nav { background: #fafaf9; color: var(--ink); border-color: var(--line); padding-top:12px; }
  .js .bar nav a { border-color:var(--line); }
  .head-social { padding:6px 0 0; border:0; }
  .js .bar nav .head-social a { border:0; width:46px; }
}
@media (max-width:850px) {
  .fm { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap:12px 24px; }
  .fm h2 { font-size:clamp(34px,5.4vw,55px); }
}
@media (max-width:720px) {
  .hero { padding: 0 9px; }
  .hero-stage { min-height: 0; }
  .hero-content { width: 100%; min-height:clamp(590px,80svh,735px); gap:0; padding:29px clamp(18px,4.5vw,36px) 29px; }
  .hero-frame { inset:0 0 auto; width:100%; height:68%; mask-image:linear-gradient(180deg,black 38%,#000e 55%,transparent 100%); }
  .hero-frame img,.hero-frame video { object-position:50% 42%; }
  .hero-stage::after { background:linear-gradient(155deg,#0004,transparent 33%); }
  .hero-brand { width:min(62vw,350px); }
  .hero-brand img { filter:brightness(0) invert(1); }
  .hero-copy { width:100%; }
  .hero h1 { font-size:clamp(39px,7.5vw,58px); }
  .hero-copy .hero-place { font-size:11px; margin-bottom:12px; }
  .hero-copy>p:not(.hero-place) { max-width:42ch; font-size:16px; margin-top:13px; }
  .hero .acts { margin-top:19px; gap:10px 20px; }
  .hero .btn { padding:10px 17px; min-height:48px; }
  .hero-scroll { display:none; }
  .fm { grid-template-areas:"intro" "photo" "options"; grid-template-columns:minmax(0,1fr); gap:22px; }
  .fm h2 { max-width: 100%; }
  .face { width:min(100%,530px); margin:0; }
  .fm-out { min-height:0; }
  .face-key { left:12px; bottom:12px; padding:5px 12px; }
  .service-hero figure { height:auto; max-height:none; }
  .service-hero img { height:auto; max-height:400px; object-fit:contain; aspect-ratio:auto; background:#ededeb; }
}
@media (max-width:500px) {
  .bar { min-height:63px; }
  .bar .logo { width:106px; }
  .bar .btn { min-height:41px; padding:7px 12px; font-size:13px; gap:8px; }
  .bar .btn .bk { width:40px; height:12px; padding-left:8px; }
  .btn .bk { width:48px; }
  .burger { min-width:42px; min-height:42px; width:42px; height:42px; }
  .burger span { top:16px;left:10px; }
  .foot .legal { display:grid; justify-items:start; }
  .motion-setting { margin-left:0; }
  .team .ph { aspect-ratio:4/4.1; }
  .person .ph img,.team .ph img { object-position:center top; }
}
@media (max-width:355px) {
  .hero-content { min-height:615px; }
  .hero h1 { font-size:35px; }
  .hero .acts { gap:6px 15px; }
  .hero .btn { font-size:13px; padding: 9px 13px; gap:8px; }
  .hero .btn .bk { width:39px; padding-left:8px; }
  .hero-link { font-size:14px; }
  .bar .logo { width:95px; }
}

@media (max-width:720px) {
  .hero-content { --photo-room: clamp(250px, 35svh, 350px); min-height: 0; grid-template-rows: var(--photo-room) auto; align-content: start; padding: 0 clamp(18px,4.5vw,36px) 30px; }
  .hero-brand { align-self: end; margin-bottom: 16px; width: min(54vw,320px); }
  .hero-brand img { filter:brightness(.05); }
  .hero-copy .hero-place { margin-top: 3px; }
  .hero-frame { height: clamp(270px, 37svh, 370px); mask-image: linear-gradient(180deg,black 28%,#000e 44%,#0004 76%,transparent 100%); }
  .hero-frame img,.hero-frame video { object-position:50% 39%; }
  .hero-stage::before { background: linear-gradient(160deg,#f5f5f3e8,#ededeaed 58%,#e2e2e0ed),url(img/kamien.webp) center / cover; }
  .hero-stage::after { background: none; }
}
@media (max-width:500px) {
  .js .bar { display:grid; grid-template-columns:minmax(54px,1fr) auto auto; gap: 9px; padding-inline: clamp(12px,4vw,20px); }
  .bar nav .head-social a { border: 0; }
  .hero-copy .acts { column-gap: 14px; }
}
@media (max-width:355px) {
  .hero-content { padding-inline:16px; }
  .hero h1 { font-size: clamp(30px,9.4vw,34px); }
  .hero .btn { gap:6px; padding-inline:11px; }
  .hero .btn .bk { width:34px; padding-left:7px; }
  .hero .acts { gap: 8px 12px; }
  .hero .hero-link { font-size:13px; }
}
@media (prefers-reduced-motion:no-preference) {
  .section-arrived { animation: section-arrival .72s cubic-bezier(.16,.7,.25,1) both; }
  @keyframes section-arrival { from { transform:translateY(15px); } to {transform:none;} }
}

.service-hero figure { width: min(100%, 460px); height: auto; aspect-ratio:1; justify-self:end; align-self:center; }
.service-hero figure img { width:100%; height:auto; max-height:none; aspect-ratio:1; object-fit:contain; }
@media (max-width:720px) { .service-hero figure { width:min(100%,390px); justify-self:start; } }
@media (max-width:500px) and (max-height:680px) {
  .hero-content { --photo-room: clamp(155px,29svh,195px); padding-bottom:21px; }
  .hero-frame { height:clamp(178px,34svh,232px); }
  .hero-frame img,.hero-frame video { object-position:50% 8%; }
}
