/* Studio Krawieckie Beata Wołoszczuk, Kłodzko. One stylesheet for every page. */
@font-face { font-family: 'Roboto Slab'; src: url('fonts/roboto-slab.woff2') format('woff2'); font-weight: 300 600; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('fonts/open-sans.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --paper: #ffffff;
  --mist: #f1f6f7;          /* paper with the brand's hue, C .008 */
  --line: #d9e3e5;
  --ink: #231f20;           /* the logo's ink */
  --ink-2: #4b5659;         /* secondary text, 7.4:1 on white */
  --aqua: #92dae6;          /* the logo's aqua: fields and marks, never small text on white */
  --aqua-deep: #1d6a77;     /* aqua for links and focus on white, 6.1:1 */
  --grey: #939598;          /* the logo's grey */
  --hh: 72px;               /* header height */
  --gut: clamp(16px, 5.2vw, 80px);
  --slab: 'Roboto Slab', 'Rockwell', Georgia, serif;
  --sans: 'Open Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.25, 1, .5, 1);
  color-scheme: light;
}
@media (max-width: 899px) { :root { --hh: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.65 var(--sans); overflow-x: clip; }
@media (max-width: 599px) { body { font-size: 17px; } }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--slab); font-weight: 400; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--aqua-deep); outline-offset: 3px; border-radius: 2px; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 12px; }

/* type */
.lead { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.55; color: var(--ink); max-width: 34em; }
.statement { font-size: clamp(40px, 5.6vw, 88px); line-height: 1.02; letter-spacing: -.03em; }
.title { font-size: clamp(34px, 3.4vw, 52px); line-height: 1.08; letter-spacing: -.025em; }
.muted { color: var(--ink-2); }

/* buttons: one per screen */
.btn { display: inline-flex; align-items: center; gap: .6em; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font: 600 17px/1 var(--sans); letter-spacing: .005em; transition: background .25s var(--ease), transform .25s var(--ease); }
.btn:hover { background: #000; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.link { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link:hover { border-bottom-width: 2px; padding-bottom: 1px; }
.link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* header */
.site-head { position: sticky; top: 0; z-index: 50; height: var(--hh); background: rgba(255, 255, 255, .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-head.is-scrolled { border-bottom-color: var(--line); }
.site-head__in { height: 100%; display: flex; align-items: center; gap: 24px; padding: 0 var(--gut); max-width: 1680px; margin: 0 auto; }
.logo { display: block; flex: none; line-height: 0; }
.logo svg { height: 38px; width: auto; }
.l-ink { fill: var(--ink); } .l-aqua { fill: var(--aqua); } .l-grey { fill: var(--grey); }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 1.7vw, 30px); }
.nav a { text-decoration: none; font-size: 16px; font-weight: 600; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--aqua); }
.head-call { flex: none; }
.head-call .btn { min-height: 44px; padding: 0 20px; font-size: 16px; }
.menu-btn, .call-btn { display: none; }
@media (max-width: 1179px) {
  .nav, .head-call { display: none; }
  .logo svg { height: 32px; }
  .site-head__in { gap: 8px; }
  .call-btn, .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: none; color: var(--ink); cursor: pointer; padding: 0; text-decoration: none; }
  .call-btn { margin-left: auto; background: var(--ink); color: #fff; width: 44px; height: 44px; }
  .call-btn svg { width: 20px; height: 20px; }
  .menu-btn svg { width: 26px; height: 26px; }
  .menu-btn span { display: grid; }
  .menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-open { display: none; }
  .menu-btn[aria-expanded="true"] .i-close { display: grid; }
}
@media (max-width: 359px) { .logo svg { height: 27px; } }

/* menu panel (phone, tablet) */
.menu { position: fixed; inset: var(--hh) 0 0 0; z-index: 49; background: var(--paper); padding: 28px var(--gut) 40px; overflow-y: auto; display: flex; flex-direction: column; gap: 32px; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
.menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.menu ul { display: grid; gap: 4px; }
.menu ul a { display: block; font: 400 clamp(30px, 8vw, 44px)/1.15 var(--slab); letter-spacing: -.02em; text-decoration: none; padding: 6px 0; }
.menu ul a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--aqua); text-decoration-thickness: 3px; }
.menu__contact { display: grid; gap: 14px; justify-items: start; }
.menu__contact p { color: var(--ink-2); }
body.menu-open { overflow: hidden; }

/* reveal: one for every block; still under reduced motion */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- home: hero ---------- */
.hero { position: relative; height: calc(100svh - var(--hh)); min-height: 560px; max-height: 1080px; overflow: clip; background: #f3f4f3; }
.hero__pic, .hero__pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__pic img { object-fit: cover; object-position: 62% 50%; }
.hero__text { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 28px; padding: 0 var(--gut) 4vh max(var(--gut), 10.5vw); width: min(100%, calc(max(var(--gut), 10.5vw) + 58vw)); }
.hero h1 { font-size: clamp(48px, 6vw, 100px); line-height: .98; letter-spacing: -.035em; }
.hero .lead { max-width: 25em; }
@media (max-width: 899px) {
  .hero { height: auto; min-height: 0; max-height: none; background: var(--paper); }
  .hero__pic { position: relative; height: min(56svh, 70vw); }
  .hero__pic img { object-position: 88% 50%; }
  .hero__text { padding: 22px var(--gut) 36px; gap: 16px; height: auto; width: auto; align-items: stretch; }
  .hero h1 { font-size: clamp(40px, 12.2vw, 56px); }
  .hero .btn { align-self: stretch; justify-content: center; }
}
@media (max-width: 599px) {
  .hero__pic { height: min(50svh, 120vw); }
  .hero__pic img { object-position: 50% 30%; }
}

/* ---------- home: the promise ---------- */
.promise { padding: clamp(96px, 16vh, 180px) var(--gut); max-width: 1680px; margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; align-items: end; }
.promise .statement { grid-column: 1 / span 8; }
.promise .lead { grid-column: 9 / span 4; padding-bottom: .5em; }
.read span { color: #848e91; transition: color .2s linear; }
.read span.on { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .read span { color: var(--ink); } }
@media (max-width: 999px) { .promise { grid-template-columns: 1fr; } .promise .statement, .promise .lead { grid-column: 1; } }

/* ---------- home: the fitting, four held screens ---------- */
.fitting { position: relative; }
.fitting__track { height: 420vh; }
.fitting__stage { position: sticky; top: var(--hh); height: calc(100svh - var(--hh)); overflow: clip; background: #eef2f2; }
.frame { position: absolute; inset: 0; isolation: isolate; }
.frame:nth-child(2) { z-index: 2; } .frame:nth-child(3) { z-index: 3; } .frame:nth-child(4) { z-index: 4; }
.frame + .frame { clip-path: inset(100% 0 0 0); }
.frame__pic, .frame__pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.frame__pic img { object-fit: cover; }
.frame__text { position: absolute; left: var(--gut); top: 50%; transform: translateY(-50%); width: min(44vw, 640px); z-index: 1; }
.frame__text > * { will-change: opacity, transform; }
.word { font-size: min(15vw, 216px); line-height: .9; letter-spacing: -.045em; padding: .12em 0 .06em; margin-left: -.05em; }
.frame__text .lead { margin-top: 18px; max-width: 21em; }
@media (max-width: 899px), (max-height: 520px) {
  .fitting__track { height: auto; }
  .fitting__stage { position: static; height: auto; overflow: visible; background: none; display: grid; gap: clamp(56px, 12vw, 96px); padding: 24px 0 clamp(72px, 14vw, 120px); }
  .frame { position: relative; inset: auto; }
  .frame + .frame { clip-path: none; }
  .frame__pic { position: relative; inset: auto; width: auto; height: auto; margin: 0 var(--gut); aspect-ratio: 4 / 3; overflow: hidden; }
  .frame__text { position: static; transform: none; width: auto; padding: 0 var(--gut); }
  .frame__text .word { font-size: clamp(64px, 21vw, 150px); margin-top: -.5em; position: relative; z-index: 1; padding-top: 0; }
  .frame__text .lead { margin-top: 8px; }
  .frame__text > * { will-change: auto; }
  .frame { display: flex; flex-direction: column; }
  .frame__text { order: 2; }
}

/* without scripts the four screens simply follow one another */
.no-js .fitting__track { height: auto; }
.no-js .fitting__stage { position: static; height: auto; display: grid; }
.no-js .frame { position: relative; height: calc(100svh - var(--hh)); }
.no-js .frame + .frame { clip-path: none; }

/* ---------- home: the works ---------- */
.works { padding: clamp(80px, 14vh, 160px) var(--gut) clamp(96px, 16vh, 180px); max-width: 1680px; margin: 0 auto; }
.works__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2vw, 32px); align-items: start; }
.works__head { display: grid; gap: 22px; align-content: start; padding-right: 8%; }
.works__head .link { justify-self: start; margin-top: 6px; }
.works__grid figure { margin: 0; }
.works__grid picture { aspect-ratio: 3 / 4; overflow: hidden; background: #e9ecec; }
.works__grid img { width: 100%; height: 100%; object-fit: cover; }
.works__grid > :nth-child(3n+3) { margin-top: 18vh; }
.works__grid > :nth-child(3n+2) { margin-top: 6vh; }
@media (max-width: 899px) {
  .works { padding-left: 0; padding-right: 0; padding-bottom: 72px; }
  .works__grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: 0 var(--gut) 8px; scrollbar-width: none; }
  .works__grid::-webkit-scrollbar { display: none; }
  .works__grid > * { flex: 0 0 76vw; max-width: 380px; scroll-snap-align: center; margin-top: 0 !important; }
  .works__grid > .works__head { flex: 0 0 82vw; max-width: 420px; padding-right: 0; scroll-snap-align: start; align-self: center; }
}

/* ---------- offer list (home and pages) ---------- */
.offer { background: var(--mist); }
.offer__in { padding: clamp(88px, 14vh, 160px) var(--gut); max-width: 1680px; margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; }
.offer__in > h2 { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--hh) + 40px); }
.offer__list { grid-column: 6 / span 7; border-top: 1px solid var(--line); }
.offer__list a { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; row-gap: 8px; align-items: center; padding: clamp(24px, 3.4vh, 36px) 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.offer__name { font: 400 clamp(28px, 3vw, 46px)/1.08 var(--slab); letter-spacing: -.025em; transition: transform .35s var(--ease); }
.offer__note { grid-column: 1; color: var(--ink-2); max-width: 36em; }
.offer__arrow { grid-row: 1 / span 2; grid-column: 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); transition: background .3s var(--ease), transform .35s var(--ease); }
.offer__arrow svg { width: 20px; height: 20px; }
.offer__list a:hover .offer__name { transform: translateX(10px); }
.offer__list a:hover .offer__arrow { background: var(--aqua); transform: translateX(4px); }
@media (max-width: 999px) {
  .offer__in { grid-template-columns: 1fr; }
  .offer__in > h2 { grid-column: 1; position: static; }
  .offer__list { grid-column: 1; }
  .offer__arrow { width: 40px; height: 40px; }
}

/* ---------- the close: the invitation on the brand's own colour ---------- */
.close { background: var(--aqua); color: var(--ink); }
.close__in { padding: clamp(88px, 14vh, 160px) var(--gut) clamp(64px, 10vh, 120px); max-width: 1680px; margin: 0 auto; }
.close__title { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.1; letter-spacing: -.025em; max-width: 18em; }
.close__phone { display: inline-block; margin: .1em 0 .12em -.04em; font: 400 min(14.4vw, 216px)/1 var(--slab); letter-spacing: -.045em; text-decoration: none; white-space: nowrap; padding: .08em 0; background-image: linear-gradient(var(--ink), var(--ink)); background-size: 0 3px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .5s var(--ease); }
.close__phone:hover { background-size: 100% 3px; }
.close__lead { max-width: 30em; }
.doors { margin-top: clamp(56px, 9vh, 96px); display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(35, 31, 32, .25); }
.doors a { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 30px 0; text-decoration: none; min-height: 100%; }
.doors a + a { padding-left: 24px; border-left: 1px solid rgba(35, 31, 32, .25); }
.door__who { font: 500 clamp(21px, 1.55vw, 25px)/1.2 var(--slab); letter-spacing: -.01em; }
.door__what { font-size: 17px; line-height: 1.5; }
.door__go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.door__go svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.doors a:hover .door__go svg { transform: translateX(5px); }
.doors a:hover .door__who { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.close__more { margin-top: clamp(48px, 8vh, 80px); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 24px; align-items: start; }
.close__more > :first-child { grid-column: 1 / span 5; }
.close__more > :last-child { grid-column: 7 / span 6; }
.close__more a { font-weight: 600; }
@media (max-width: 1099px) {
  .doors { grid-template-columns: 1fr 1fr; }
  .doors a, .doors a + a { padding: 22px 0; border-left: 0; border-bottom: 1px solid rgba(35, 31, 32, .25); }
  .doors a:nth-child(odd) { padding-right: 20px; }
  .doors a:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(35, 31, 32, .25); }
  .close__more { grid-template-columns: 1fr; }
  .close__more > :first-child, .close__more > :last-child { grid-column: 1; }
}
@media (max-width: 599px) {
  .doors { grid-template-columns: 1fr; }
  .doors a:nth-child(n) { padding: 20px 0; border-left: 0; }
  .door__go { display: none; }
  .doors a { flex-direction: row; flex-wrap: wrap; column-gap: 12px; row-gap: 4px; }
  .door__who { flex: 1 0 100%; }
}

/* footer */
.site-foot { background: var(--paper); border-top: 1px solid var(--line); }
.site-foot__in { padding: 48px var(--gut) 40px; max-width: 1680px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: start; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.site-foot .logo svg { height: 34px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: flex-end; }
.site-foot nav a { color: var(--ink); font-weight: 600; text-decoration: none; }
.site-foot nav a:hover { text-decoration: underline; }
@media (max-width: 899px) { .site-foot__in { grid-template-columns: 1fr; } .site-foot nav { justify-content: flex-start; } }

/* ---------- inner pages ---------- */
.page-hero { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; min-height: calc(100svh - var(--hh)); max-height: 980px; }
.page-hero__text { grid-column: 1 / span 6; align-self: center; padding: 64px 0 64px var(--gut); display: grid; gap: 26px; justify-items: start; }
.page-hero h1 { font-size: clamp(42px, 5vw, 80px); line-height: 1.02; letter-spacing: -.03em; }
.page-hero__pic { grid-column: 7 / span 6; position: relative; overflow: clip; }
.page-hero__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero--wide .page-hero__pic { position: absolute; inset: 0; z-index: 0; }
.page-hero--wide .page-hero__text { position: relative; z-index: 1; grid-column: 1 / span 6; }
@media (max-width: 899px) {
  .page-hero, .page-hero--wide { display: flex; flex-direction: column; min-height: 0; max-height: none; }
  .page-hero__pic, .page-hero--wide .page-hero__pic { position: relative; inset: auto; order: -1; height: min(46svh, 110vw); }
  .page-hero__text, .page-hero--wide .page-hero__text { padding: 24px var(--gut) 40px; gap: 16px; }
  .page-hero .btn { align-self: stretch; justify-content: center; }
}

.band { padding: clamp(80px, 13vh, 150px) var(--gut); max-width: 1680px; margin: 0 auto; }
.band--mist { max-width: none; background: var(--mist); }
.band--mist > .band__in { max-width: 1520px; margin: 0 auto; }
.split { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 32px; align-items: start; }
.split > .split__a { grid-column: 1 / span 5; }
.split > .split__b { grid-column: 7 / span 6; display: grid; gap: 22px; }
.split__b p { max-width: 36em; }
@media (max-width: 999px) { .split { grid-template-columns: 1fr; } .split > .split__a, .split > .split__b { grid-column: 1; } }

.prose { display: grid; gap: 20px; }
.prose h3 { font: 500 clamp(22px, 1.7vw, 26px)/1.25 var(--slab); letter-spacing: -.01em; margin-top: 16px; }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .72em; width: 14px; height: 2px; background: var(--aqua-deep); }

/* the visit, in four lines */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.steps li { border-top: 2px solid var(--ink); padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.steps b { font: 400 clamp(28px, 2.4vw, 38px)/1.1 var(--slab); letter-spacing: -.02em; }
@media (max-width: 999px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .steps { grid-template-columns: 1fr; } }

/* galleries of real work */
.gallery--grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 44px) clamp(14px, 1.6vw, 24px); }
.gallery--grid picture { aspect-ratio: 3 / 4; overflow: hidden; }
.gallery--grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery--loose { columns: 3 280px; column-gap: clamp(14px, 1.6vw, 24px); }
.gallery--loose figure { break-inside: avoid; margin-bottom: clamp(28px, 3vw, 44px); }
.gallery figure { margin: 0; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: #e9ecec; cursor: zoom-in; overflow: hidden; }
.gallery img { transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
.gallery figcaption { margin-top: 12px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 999px) { .gallery--grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 599px) { .frame__pic { aspect-ratio: 3 / 4 !important; } }
@media (max-width: 599px) { .gallery--grid { grid-template-columns: 1fr 1fr; } .gallery figcaption { font-size: 15px; } }
.gallery-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(32px, 5vh, 56px); }
.gallery-head p { max-width: 34em; }
.jump { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 8px; }
.jump a { font-weight: 600; }

/* lightbox */
.lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(20, 22, 23, .94); color: #fff; }
.lb::backdrop { background: rgba(20, 22, 23, .94); }
.lb__fig { margin: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 64px 72px 24px; gap: 14px; }
.lb__fig img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; }
.lb__fig figcaption { font-size: 16px; color: #e5ebec; text-align: center; }
.lb button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb button:hover { background: rgba(255, 255, 255, .24); }
.lb button svg { width: 22px; height: 22px; }
.lb__x { top: 14px; right: 14px; }
.lb__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 599px) { .lb__fig { padding: 64px 12px 20px; } .lb__prev, .lb__next { top: auto; bottom: 14px; transform: none; } .lb__fig img { max-height: calc(100vh - 190px); } }

/* contact page */
.contact-big { font: 400 min(13vw, 190px)/1 var(--slab); letter-spacing: -.045em; text-decoration: none; display: inline-block; white-space: nowrap; margin-left: -.04em; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid var(--line); padding-top: 32px; }
.facts h2 { font: 500 22px/1.3 var(--slab); margin-bottom: 8px; }
@media (max-width: 899px) { .facts { grid-template-columns: 1fr; } }

/* privacy page */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(56px, 10vh, 120px) var(--gut); display: grid; gap: 18px; }
.doc h1 { font-size: clamp(36px, 4vw, 56px); line-height: 1.05; margin-bottom: 12px; }
.doc h2 { font: 500 24px/1.3 var(--slab); margin-top: 22px; }
.doc ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; }

/* 404 */
.lost { min-height: calc(100svh - var(--hh) - 140px); display: grid; align-content: center; gap: 24px; justify-items: start; padding: 64px var(--gut); max-width: 1680px; margin: 0 auto; }
