/* Shared foundations and the full-screen photographic home. */
:root {
  color-scheme: dark;
  --black: #050505;
  --panel: #121318;
  --white: #f6f5f1;
  --muted: #b6b6bb;
  --line: #ffffff27;
  --pad: clamp(24px, 3.5vw, 64px);
  --font: 'Manrope', Arial, sans-serif;
}
html[data-theme="light"] {
  color-scheme: light;
  --black: #f5f5f2;
  --panel: #ebebe8;
  --white: #171719;
  --muted: #606065;
  --line: #00000025;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 16px var(--font);
  -webkit-font-smoothing: antialiased;
}
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body:has(dialog[open]), body.home { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { color: inherit; font: inherit; }
button { border: 0; background: none; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 7px;
}
h1, h2, h3, p, figure { margin: 0; }
img { display: block; width: 100%; height: auto; }
::selection { background: var(--white); color: var(--black); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 30;
  padding: 14px 20px;
  background: var(--white);
  color: var(--black);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* The header is shared by all Polish and English pages. */
.site-header, .menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 112px;
  padding: 30px var(--pad);
}
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  background: linear-gradient(#000b 0%, #0008 65%, transparent 100%);
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.menu-header { position: relative; }
.wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.045em;
}
.frame-mark {
  display: block;
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.frame-mark::before, .frame-mark::after {
  content: '';
  position: absolute;
  width: 17px;
  height: 17px;
}
.frame-mark::before {
  top: 0;
  left: 0;
  border-top: 2px solid;
  border-left: 2px solid;
}
.frame-mark::after {
  right: 0;
  bottom: 0;
  border-right: 2px solid;
  border-bottom: 2px solid;
}
.header-actions { display: flex; align-items: center; gap: 25px; }
.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  border-bottom: 1px solid transparent;
}
.language-switch:hover { border-bottom-color: currentColor; }
.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 44px;
  padding: 9px;
}
.theme-toggle > svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  transition: transform .5s;
}
.theme-toggle:hover > svg { transform: rotate(40deg); }
.menu-toggle {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 48px;
  padding: 10px 0;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .02em;
}
.menu-lines {
  display: block;
  position: relative;
  width: 31px;
  height: 18px;
  border-top: 1px solid;
  border-bottom: 1px solid;
}
.menu-lines::before {
  content: '';
  position: absolute;
  top: 8px;
  right: 0;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: width .25s;
}
.menu-toggle:hover .menu-lines::before { width: 31px; }
.close-lines {
  display: block;
  position: relative;
  width: 31px;
  height: 31px;
}
.close-lines::before, .close-lines::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 1px;
  width: 30px;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
}
.close-lines::after { transform: rotate(-45deg); }
html[data-theme="light"] .inner-page .site-header {
  background: linear-gradient(#f5f5f2e6, transparent);
}
html[data-theme="light"] .site-header.scrolled {
  background: #f5f5f2f5;
  border-bottom-color: var(--line);
}

/* Every home scene fills the viewport; gallery geometry is defined separately. */
.scene-deck {
  height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  outline: none;
}
.scene-deck::-webkit-scrollbar { display: none; }
.scene {
  position: relative;
  isolation: isolate;
  height: 100svh;
  min-height: 580px;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #050505;
  color: #f6f5f1;
}
.scene-image, .scene-shade { position: absolute; inset: 0; }
.scene-image { z-index: -2; overflow: hidden; }
.scene-image > img, .scene.is-active .scene-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 36%;
  transform: none;
}
.scene-portrait .scene-image > img { object-position: 50% 26%; }
.scene-ad .scene-image > img { object-position: 52% 48%; }
.scene-people .scene-image > img { object-position: 52% 35%; }
.scene-author .scene-image > img { object-position: 52% 30%; }
.scene-shade {
  z-index: -1;
  background: linear-gradient(180deg, #0002 0%, transparent 25%, #0002 40%, #0008 66%, #050505e6 100%);
}
.scene-content {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(125px, 16svh, 190px);
  z-index: 1;
  max-width: calc(100% - 2 * var(--pad));
  text-align: left;
}
.scene-context {
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: .12em;
  text-shadow: 0 1px 12px #0008;
}
.scene h1, .scene h2 {
  font-size: clamp(80px, 9.2vw, 174px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.scene h1 { word-spacing: .07em; }
.lang-en .scene h1 { font-size: clamp(70px, 8.6vw, 160px); }
.title-line {
  display: block;
  overflow: hidden;
  padding: .2em .04em .11em 0;
  margin-top: -.2em;
  margin-bottom: -.06em;
}
.title-line > span { display: block; }
.scene-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 48px;
  margin-top: 28px;
  padding: 5px 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.scene-link::before {
  content: '';
  width: 40px;
  height: 1px;
  flex-shrink: 0;
  background: currentColor;
  transition: width .3s;
}
.scene-link:hover::before { width: 65px; }
.image-credit {
  position: absolute;
  top: 50%;
  right: var(--pad);
  color: #ffffffb3;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .03em;
  writing-mode: vertical-rl;
}
.scene-author h2 {
  font-size: clamp(50px, 6.2vw, 100px);
  line-height: 1.08;
  white-space: nowrap;
}
.scene-author .scene-content { max-width: none; }
.scene-author .scene-context { margin-bottom: 15px; }

/* The light author cover places the square source above its single-line heading. */
html[data-theme="light"] .home .scene-author {
  --author-top: 100px;
  --author-photo-size: min(400px, 38vw);
  --author-gap: 24px;
  background: #f5f5f2;
  color: #171719;
}
html[data-theme="light"] .home .scene-author .scene-image {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: var(--author-top) 8vw 0;
}
html[data-theme="light"] .home .scene-author .scene-image > img {
  width: var(--author-photo-size);
  height: var(--author-photo-size);
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}
html[data-theme="light"] .home .scene-author .scene-shade { display: none; }
html[data-theme="light"] .home .scene-author .scene-content {
  top: calc(var(--author-top) + var(--author-photo-size) + var(--author-gap));
  bottom: auto;
  text-align: left;
  color: #171719;
}
html[data-theme="light"] .home .scene-author .scene-context { text-shadow: none; }

/* Scene text enters independently of the full photographic frame. */
.motion-ready .scene .title-line > span,
.motion-ready .scene .scene-context,
.motion-ready .scene .scene-link {
  opacity: 1;
  transform: translateY(0);
  transition: transform .85s cubic-bezier(.19, 1, .22, 1), opacity .6s;
}
.motion-ready .scene:not(.is-active) .title-line > span { transform: translateY(110%); }
.motion-ready .scene:not(.is-active) .scene-context,
.motion-ready .scene:not(.is-active) .scene-link {
  opacity: 0;
  transform: translateY(18px);
}
.motion-ready .scene.is-active .title-line:nth-child(2) > span { transition-delay: .09s; }
.motion-ready .scene.is-active .scene-link { transition-delay: .16s; }

/* The home is a sequence of full photographic scenes, one gesture at a time. */
.scene-deck.scene-slider{position:relative;overflow:hidden;scroll-snap-type:none;touch-action:pan-x pinch-zoom;--scene-direction:1}
.scene-slider>.scene{position:absolute;inset:0;height:100%;min-height:0;visibility:hidden;pointer-events:none;opacity:0;transform:translateY(calc(var(--scene-direction)*100%))}
.scene-slider>.scene.is-active{visibility:visible;pointer-events:auto;opacity:1;transform:translateY(0);z-index:2}
.scene-slider>.scene.is-leaving{visibility:visible;pointer-events:none;opacity:.5;transform:translateY(calc(var(--scene-direction)*-100%));z-index:1;transition:transform .95s cubic-bezier(.76,0,.24,1),opacity .95s ease}
.scene-slider.is-transitioning>.scene.is-active{animation:scene-arrive .95s cubic-bezier(.76,0,.24,1) both}
.scene-slider.is-transitioning>.scene.is-active .scene-image{animation:scene-photo .95s cubic-bezier(.2,.65,.2,1) both}
.scene-slider.is-transitioning>.scene.is-active .scene-content{animation:scene-copy .95s cubic-bezier(.2,.65,.2,1) both}
@keyframes scene-arrive{from{transform:translateY(calc(var(--scene-direction)*100%))}to{transform:translateY(0)}}
@keyframes scene-photo{from{transform:translateY(calc(var(--scene-direction)*-26%)) scale(1.06)}to{transform:translateY(0) scale(1)}}
@keyframes scene-copy{from{transform:translateY(calc(var(--scene-direction)*-70px));opacity:.2}to{transform:translateY(0);opacity:1}}

/* Footer positions remain stable as the scenes change. */
.realization {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  flex-shrink: 0;
}
.realization-label {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .02em;
}
.signature-logo { display: block; width: 78px; height: auto; color: var(--white); flex-shrink: 0; }
.screen-footer .signature-logo { color: #f6f5f1; width: 68px; }
html[data-theme="light"] body.home[data-scene="autor"] .screen-footer .signature-logo { color: #202020; }
.realization:hover .signature-logo { opacity: .8; }
.screen-footer {
  position: fixed;
  left: var(--pad);
  right: var(--pad);
  bottom: 28px;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 25px;
  pointer-events: none;
}
.screen-footer > * { pointer-events: auto; }
.screen-footer > .realization { grid-column: 2; grid-row: 1; }
.screen-footer .realization-label { color: #c0c0c3; }
.scroll-cue, .contact-cue { grid-column: 1; grid-row: 1; justify-self: start; }
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ffffffb3;
  font-size: 13px;
}
.scroll-track {
  position: relative;
  width: 1px;
  height: 35px;
  overflow: hidden;
  background: #ffffff40;
}
.scroll-track::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 17px;
  background: #fff;
  animation: scroll-cue 2.2s ease-in-out infinite;
}
.mobile-cue { display: none; }
.contact-cue {
  display: none;
  min-height: 44px;
  padding: 10px 0;
  border-bottom: 1px solid #ffffff70;
  font-size: 14px;
}
.scene-nav {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
}
.scene-nav > a {
  min-height: 44px;
  padding: 13px 0;
  border-bottom: 1px solid transparent;
  color: #ffffffab;
  font-size: 14px;
  line-height: 1.4;
  transition: color .3s, border-color .3s;
}
.scene-nav > a[aria-current="true"] { color: #fff; border-bottom-color: #fff; }
.scene-nav > a:hover { color: #fff; }
body.home > .site-header, body.home > .screen-footer { color: #f6f5f1; }
body.home[data-scene="autor"] .scroll-cue { display: none; }
body.home[data-scene="autor"] .contact-cue { display: table; }
html[data-theme="light"] body.home[data-scene="autor"] > .site-header,
html[data-theme="light"] body.home[data-scene="autor"] > .screen-footer { color: #171719; }
html[data-theme="light"] body.home[data-scene="autor"] > .site-header {
  background: linear-gradient(#f5f5f2bb, transparent);
}
html[data-theme="light"] body.home[data-scene="autor"] .scene-nav > a { color: #444; }
html[data-theme="light"] body.home[data-scene="autor"] .scene-nav > a[aria-current="true"] {
  color: #111;
  border-bottom-color: #111;
}
html[data-theme="light"] body.home[data-scene="autor"] .contact-cue { border-bottom-color: #444; }
html[data-theme="light"] body.home[data-scene="autor"] .realization-label { color: var(--muted); }

/* The native dialog supplies focus containment and Escape handling. */
.site-menu {
  width: 100%;
  height: 100svh;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 0;
  overflow: auto;
  color: var(--white);
  background: #0d0e13;
}
.site-menu::backdrop { background: #0d0e13; }
.site-menu[open] { animation: menu-enter .45s cubic-bezier(.16, 1, .3, 1); }
.menu-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 80px;
  min-height: calc(100svh - 195px);
  padding: clamp(25px, 7svh, 90px) var(--pad) 70px;
}
.menu-body > nav { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.menu-body > nav > a {
  font-size: clamp(50px, 6.3vw, 112px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.045em;
  word-spacing: .08em;
  text-transform: uppercase;
  transition: color .25s;
}
.menu-body > nav > a:hover { color: #ffffff65; }
.menu-contact {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  font-size: 16px;
}
.menu-intro {
  margin-bottom: 25px;
  font-size: clamp(25px, 2.2vw, 38px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.04em;
}
.menu-contact > a { min-height: 40px; padding: 6px 0; }
.contact-email { font-size: clamp(20px, 2.1vw, 32px); letter-spacing: -.045em; }
.menu-contact > a:hover, .menu-social > a:hover { text-decoration: underline; text-underline-offset: 5px; }
.menu-address { margin-top: 20px; color: var(--muted); line-height: 1.7; }
.menu-social { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 20px; font-size: 14px; }
.menu-social > a { min-height: 44px; padding: 10px 0; }
.menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 0 var(--pad);
  border-top: 1px solid var(--line);
  padding: 25px 0;
  color: var(--muted);
  font-size: 12px;
}
.menu-footer > .realization { margin-right: auto; }
.menu-body > nav > a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
html[data-theme="light"] .site-menu,
html[data-theme="light"] .site-menu::backdrop { background: var(--black); color: var(--white); }
html[data-theme="light"] .menu-body > nav > a:hover { color: #0006; }

/* Every fresh home entry opens like a photographic shutter. */
.site-intro{display:none}
.intro-pending .site-intro,.intro-active .site-intro{position:fixed;inset:0;z-index:40;isolation:isolate;display:grid;place-items:center;pointer-events:none;color:#f6f5f1}
.site-intro::before,.site-intro::after{content:'';position:absolute;left:0;right:0;z-index:-1;height:50.1%;background:#050505;will-change:transform}
.site-intro::before{top:0}
.site-intro::after{bottom:0}
.intro-signature{position:relative;text-align:center;padding:35px 45px}
.intro-name{display:block;padding-left:.16em;font-size:clamp(20px,2.4vw,36px);font-weight:500;letter-spacing:.16em;text-transform:uppercase}
.intro-discipline{display:block;margin-top:16px;font-size:11px;letter-spacing:.34em;text-transform:uppercase;color:#a9a9ad}
.intro-corner{position:absolute;width:25px;height:25px;border-color:#f6f5f1;border-style:solid}
.intro-corner-top{top:0;left:0;border-width:1px 0 0 1px}
.intro-corner-bottom{bottom:0;right:0;border-width:0 1px 1px 0}
.intro-rule{position:absolute;top:50%;left:50%;width:0;height:1px;background:#f6f5f14d;transform:translateX(-50%)}
.intro-active .site-intro::before{animation:curtain-top 1.1s cubic-bezier(.76,0,.24,1) both}
.intro-active .site-intro::after{animation:curtain-bottom 1.1s cubic-bezier(.76,0,.24,1) both}
.intro-active .intro-signature{animation:intro-signature 1.1s ease both}
.intro-active .intro-rule{animation:intro-rule 1.1s cubic-bezier(.76,0,.24,1) both}
.intro-active .scene.is-active .scene-image{animation:photo-exposure 1.1s cubic-bezier(.2,.75,.2,1) both}
.intro-active .site-header,.intro-active .screen-footer{animation:intro-interface 1.1s ease both}
@keyframes scroll-cue{0%{transform:translateY(-20px)}70%,100%{transform:translateY(40px)}}
@keyframes menu-enter{from{opacity:0;transform:translateY(-25px)}to{opacity:1;transform:translateY(0)}}
@keyframes curtain-top{0%,18%{transform:translateY(0)}100%{transform:translateY(-101%)}}
@keyframes curtain-bottom{0%,18%{transform:translateY(0)}100%{transform:translateY(101%)}}
@keyframes intro-signature{0%{opacity:0;transform:translateY(10px)}12%,24%{opacity:1;transform:none}45%,100%{opacity:0;transform:translateY(-8px)}}
@keyframes intro-rule{0%,24%{width:0;opacity:0}44%{width:100%;opacity:1}85%,100%{width:100%;opacity:0}}
@keyframes photo-exposure{0%,18%{clip-path:inset(48% 0);transform:scale(1.035)}100%{clip-path:inset(0);transform:scale(1)}}
@keyframes intro-interface{0%,42%{opacity:0}100%{opacity:1}}

@media (min-width: 1900px) {
  .scene-content { bottom: 17svh; }
  .scene h1, .scene h2 { font-size: 174px; }
}
@media (max-width: 1000px) {
    .header-actions { gap: 18px; }
  .scene-content { bottom: 135px; max-width: none; text-align: center; }
  .scene h1, .scene h2 { font-size: clamp(64px, 12vw, 112px); }
  .lang-en .scene h1 { font-size: clamp(62px, 11.5vw, 106px); }
  .scene-context { margin-bottom: 16px; font-size: 12px; }
  .scene-link { margin-top: 19px; font-size: 14px; }
  .image-credit { display: none; }
  .scene-author h2 { font-size: clamp(43px, 7.5vw, 72px); }
  .scene-author .scene-content { text-align: left; }
  .scene-nav { gap: 18px; }
  .scene-nav > a { font-size: 13px; }
  .menu-body { grid-template-columns: 1.1fr 1fr; gap: 40px; }
  .menu-contact { justify-self: end; }
  .menu-intro { font-size: 26px; }
  .contact-email { font-size: 22px; }
  html[data-theme="light"] .home .scene-author {
    --author-top: 115px;
    --author-photo-size: 300px;
    --author-gap: 10px;
  }
  html[data-theme="light"] .home .scene-author .scene-image {
    justify-content: center;
    padding-right: var(--pad);
    padding-left: var(--pad);
  }
}
/* On phones the photography and scene navigation have the whole stage. */
@media (max-width: 760px) {
  .screen-footer {
    display: flex;
    flex-direction: column;
    gap: 9px;
    bottom: 17px;
  }
  .screen-footer > .realization { display: none; }
  .screen-footer > .scroll-cue, .screen-footer > .mobile-cue { display: none; }
  .screen-footer > .contact-cue {
    order: 2;
    min-height: 25px;
    margin: 0;
    padding: 2px 0;
    font-size: 12px;
  }
  .screen-footer > .scene-nav { order: 3; width: 100%; justify-content: space-between; }
}
@media (max-width: 600px) {
  :root { --pad: 24px; }
  .site-header, .menu-header { height: 96px; padding: 23px var(--pad); gap: 15px; }
  .wordmark { font-size: 14px; gap: 9px; }
  .frame-mark { width: 30px; height: 30px; }
  .frame-mark::before, .frame-mark::after { width: 13px; height: 13px; }
  .header-actions { gap: 10px; }
  .language-switch { min-width: 24px; font-size: 12px; }
  .theme-toggle { width: 34px; padding: 7px; }
  .theme-toggle > svg { width: 20px; }
  .menu-toggle { gap: 10px; font-size: 16px; }
  .menu-lines { width: 27px; height: 17px; }
  .menu-lines::before { top: 7px; width: 20px; }
  .menu-toggle:hover .menu-lines::before { width: 27px; }
  .close-lines { width: 27px; height: 27px; }
  .close-lines::before, .close-lines::after { top: 13px; width: 26px; }
  .scene { min-height: 520px; }
  .scene-content { bottom: 150px; }
  .scene h1, .scene h2 { font-size: clamp(36px, 12.5vw, 74px); line-height: .95; letter-spacing: -.05em; }
  .lang-en .scene h1 { font-size: clamp(36px, 12.2vw, 72px); }
  .scene-context { margin-bottom: 15px; font-size: 12px; letter-spacing: .1em; }
  .scene-link { gap: 15px; margin-top: 17px; font-size: 13px; }
  .scene-link::before { width: 28px; }
  .scene-link:hover::before { width: 40px; }
  .scene-portrait .scene-image > img { object-position: 51% 10%; }
  .scene-ad .scene-image > img { object-position: 45% 40%; }
  .scene-shade { background: linear-gradient(#0003, transparent 25%, #0002 40%, #0009 72%, #050505f0 100%); }
  .scene-author h2 { font-size: clamp(33px, 8.7vw, 52px); }
  .signature-logo { width: 66px; }
  .screen-footer .realization-label { font-size: 12px; }
  .scene-nav { gap: 20px; }
  .scene-nav > a { min-height: 44px; padding: 12px 0; font-size: 13px; }
  .menu-body { display: block; min-height: 0; padding: 25px var(--pad) 40px; }
  .menu-body > nav { gap: 5px; }
  .menu-body > nav > a { font-size: clamp(40px, 11vw, 65px); line-height: 1.25; }
  .lang-en .menu-body > nav > a { font-size: clamp(37px, 10.5vw, 65px); }
  .menu-contact { width: 100%; justify-self: stretch; gap: 9px; margin-top: 30px; border-top: 1px solid var(--line); padding-top: 40px; }
  .menu-intro { margin-bottom: 15px; font-size: 24px; }
  .contact-email { font-size: 23px; }
  .menu-address { margin-top: 15px; font-size: 14px; }
  .menu-social { margin-top: 12px; font-size: 14px; }
  .menu-footer { flex-wrap: wrap; gap: 20px; font-size: 12px; line-height: 1.7; }
  .menu-footer > .realization { width: 100%; margin-bottom: 8px; }
  .menu-footer > span:first-child { max-width: 180px; }
  html[data-theme="light"] .home .scene-author {
    --author-top: 110px;
    --author-photo-size: min(300px, 76vw, calc(100svh - 420px));
    --author-gap: 22px;
  }
}
@media (max-height: 600px) and (min-width: 601px) {
  .site-header, .menu-header { height: 90px; padding-top: 20px; padding-bottom: 20px; }
  .scene { min-height: 420px; }
  .scene-content { bottom: 90px; text-align: left; }
  .scene h1, .scene h2 { font-size: clamp(58px, 8vw, 90px); }
  .scene-context { margin-bottom: 15px; }
  .scene-link { margin-top: 15px; }
  .screen-footer { bottom: 12px; }
  .menu-body { min-height: 0; padding-top: 10px; }
  .menu-body > nav > a { font-size: 50px; }
  html[data-theme="light"] .home .scene-author {
    --author-top: 95px;
    --author-photo-size: min(280px, calc(100svh - 330px));
    --author-gap: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html, .scene-deck { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro-active .site-intro { animation: intro-fade .75s ease both !important; }
  .motion-ready .scene .title-line > span,
  .motion-ready .scene .scene-context,
  .motion-ready .scene .scene-link { opacity: 1 !important; transform: none !important; }
  .scene-image > img { transform: none !important; }
}
@keyframes intro-fade { 0%,35% { opacity: 1; } 100% { opacity: 0; } }
.menu-header{position:sticky;top:0;z-index:2;background:inherit}

@media(prefers-reduced-motion:reduce){
 .scene-slider>.scene{transform:none!important}
 .scene-slider>.scene.is-leaving{opacity:0;transition:opacity .65s ease!important}
 .scene-slider.is-transitioning>.scene.is-active{animation:scene-dissolve .65s ease both!important}
 .scene-slider.is-transitioning>.scene.is-active .scene-image,.scene-slider.is-transitioning>.scene.is-active .scene-content{animation:none!important;transform:none!important}
}
@keyframes scene-dissolve{from{opacity:0}to{opacity:1}}
