:root {
  --bg:#0b0d12;
  --black:#000;
  --ink:#f3efe8;
  --ink-2:rgba(243,239,232,.74);
  --ink-3:rgba(243,239,232,.5);
  --line:rgba(243,239,232,.22);
  --line-2:rgba(243,239,232,.1);
  --accent:#d6a86e;
  --serif:"Fraunces","Iowan Old Style",Georgia,serif;
  --mono:"IBM Plex Mono",ui-monospace,Menlo,monospace;
  --gutter:clamp(20px,3.4vw,48px);
  --ease:cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 0;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--serif);
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

img, video {
  display: block;
  max-width: 100%;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 1.5px solid var(--accent);
  outline-offset: 5px;
}

h1 {
  margin: 0;
  font-size: clamp(44px, 4.9vw, 72px);
  font-weight: 400;
  font-variation-settings: "opsz" 96;
  line-height: 1.02;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  font-variation-settings: "opsz" 96;
  line-height: 1;
  letter-spacing: -0.012em;
}

.mono {
  font-family: var(--mono);
  font-variation-settings: normal;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(38px, 11vw, 48px);
  }
}
.label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variation-settings: normal;
}

/* wejscia na przewijaniu */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.js .reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.js .reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.js .reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
.rise {
  animation: rise 0.9s var(--ease) both;
}

.rise:nth-child(2) {
  animation-delay: 0.08s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@supports (animation-timeline: view()) {
  .para {
    animation: para linear both;
    animation-timeline: view();
    transform-origin: center;
  }
  @keyframes para {
    from {
      transform: translateY(-7%) scale(1.14);
    }
    to {
      transform: translateY(7%) scale(1.14);
    }
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  border-color: var(--accent);
  background: rgba(214, 168, 110, 0.1);
}

.btn--solid {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.btn--solid:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1208;
}

.ov {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.92);
  display: grid;
  place-items: center;
  padding: 0 var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s 0.35s;
}

.ov.open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.ov .box {
  width: min(100%, 1180px);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.45s var(--ease);
}

.ov.open .box {
  transform: none;
}

.ov video {
  width: 100%;
  max-height: 72vh;
  background: #000;
  object-fit: contain;
}

.ov .vwrap {
  display: grid;
  place-items: center;
}

.ov .vwrap.vert video {
  max-width: min(100%, 46vh);
  max-height: 72vh;
}

/* WP: pelny film = iframe YouTube (40-player.js). Poziomy 16:9, pionowy 9:16; oba ograniczone do 72vh wysokosci */
.ov .vwrap iframe {
  display: block;
  width: min(100%, 128vh);
  aspect-ratio: 16/9;
  height: auto;
  border: 0;
  background: #000;
}

.ov .vwrap.vert iframe {
  width: min(100%, 40.5vh);
  aspect-ratio: 9/16;
}

.ov .meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 30px;
  align-items: start;
  padding: 18px 0 0;
}

.ov .meta h3 {
  margin: 0 0 4px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  font-variation-settings: "opsz" 48;
  line-height: 1.1;
}

.ov .meta p {
  margin: 0;
  color: var(--ink-2);
  max-width: 60ch;
  text-wrap: pretty;
}

.ov .meta .label {
  color: var(--ink-3);
}

.ov .ctl {
  display: flex;
  gap: 20px;
  align-items: center;
  color: var(--ink-2);
}

.ov .ctl button {
  padding: 8px 0;
  transition: color 0.2s ease;
}

.ov .ctl button:hover {
  color: var(--accent);
}

.ov .x {
  position: absolute;
  top: 22px;
  right: var(--gutter);
  padding: 10px 0;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.ov .x:hover {
  color: var(--ink);
}

@media (max-width: 760px) {
  .ov {
    padding: 0 12px;
  }
  .ov .meta {
    grid-template-columns: 1fr;
  }
}
.form {
  width: min(100%, 520px);
  background: var(--bg);
  border: 1px solid var(--line-2);
  padding: 34px 34px 30px;
}

.form h3 {
  margin: 0 0 22px;
  font-size: 30px;
  font-weight: 400;
  font-variation-settings: "opsz" 48;
  line-height: 1.1;
}

.f {
  display: grid;
  gap: 16px;
}

.f label {
  display: grid;
  gap: 8px;
}

.f input, .f textarea {
  width: 100%;
  background: rgba(243, 239, 232, 0.04);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 12px 14px;
  font: 400 15px/1.4 var(--mono);
  transition: border-color 0.2s ease;
}

.f input:focus, .f textarea:focus {
  border-color: var(--accent);
  outline: 0;
}

.f textarea {
  min-height: 130px;
  resize: vertical;
}

.f .chk {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  color: var(--ink-2);
  font-size: 14px;
}

.f .chk input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.f .chk a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form .ok {
  display: none;
  color: var(--ink-2);
  padding-top: 10px;
}

.form.sent .f {
  display: none;
}

.form.sent .ok {
  display: block;
}

@media (max-width: 760px) {
  .form {
    padding: 26px 20px;
  }
}
/* WP: Contact Form 7 w markupie prototypu (formularz w div.form, CF7 dokleja swoje opakowania) */
.form .wpcf7-form-control-wrap {
  display: block;
}

/* w prototypie pola sa elementami siatki (blokowe); w opakowaniu CF7 sa inline i dostaja odstep linii bazowej (+7px pod textarea) */
.f .wpcf7-form-control-wrap > input:not([type=checkbox]), .f .wpcf7-form-control-wrap > textarea {
  display: block;
}

.f .wpcf7-form-control-wrap + .wpcf7-not-valid-tip,
.f .wpcf7-not-valid-tip {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variation-settings: normal;
  color: var(--accent);
}

.f input.wpcf7-not-valid, .f textarea.wpcf7-not-valid {
  border-color: var(--accent);
}

.f .chk .wpcf7-list-item {
  display: block;
  margin: 0;
}

.f .chk label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.f .chk .wpcf7-list-item-label a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.f input[type=submit] {
  width: auto;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.f input[type=submit].btn--solid {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  padding: 13px 18px;
}

.f input[type=submit].btn--solid:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1208;
}

.f input[type=submit]:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form .wpcf7-spinner {
  display: none;
}

.form .wpcf7-response-output {
  display: none;
}

/* blad wysylki (serwer, spam): pokazujemy komunikat CF7 w stylu etykiety */
.form .wpcf7-form.failed .wpcf7-response-output,
.form .wpcf7-form.aborted .wpcf7-response-output,
.form .wpcf7-form.spam .wpcf7-response-output {
  display: block;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form .wpcf7 .screen-reader-response {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form .hidden-fields-container {
  display: none;
}

.f div.chk {
  display: block;
}

.f textarea.wpcf7-textarea {
  height: 130px;
}

.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--gutter);
  height: 72px;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}

.top.solid {
  background: rgba(11, 13, 18, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.brand img {
  width: 30px;
  height: auto;
}

.brand span {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  font-variation-settings: "opsz" 18;
}

.nav {
  display: flex;
  gap: 34px;
  justify-self: center;
}

.nav a {
  position: relative;
  padding: 8px 0;
  color: var(--ink-2);
  transition: color 0.18s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 1px;
  background: var(--accent);
  transition: right 0.35s var(--ease);
}

.nav a:hover, .nav a[aria-current=true] {
  color: var(--ink);
}

.nav a[aria-current=true]::after {
  right: 0;
}

.menu {
  display: none;
  justify-self: end;
  padding: 10px 0;
}

/* menu na telefonie */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: var(--bg);
  display: grid;
  align-content: center;
  padding: 0 var(--gutter);
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s 0.35s;
}

.mnav.open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.mnav a {
  font-family: var(--serif);
  font-size: clamp(34px, 9vw, 44px);
  font-variation-settings: "opsz" 72;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-2);
}

.mnav .soc {
  display: flex;
  gap: 22px;
  margin-top: 28px;
  color: var(--ink-3);
}

/* pasek administratora WP (tylko zalogowani) */
.admin-bar .top {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .top {
    top: 46px;
  }
}
@media (max-width: 760px) {
  .top {
    grid-template-columns: 1fr auto;
    height: 64px;
  }
  .nav {
    display: none;
  }
  .menu {
    display: block;
  }
  .brand img {
    width: 26px;
  }
}
.full {
  position: relative;
  min-height: 100dvh;
  isolation: isolate;
  overflow: clip;
}

.full .bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.full .scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-rows: 1fr auto;
}

.hero .bg {
  object-position: 50% 78%;
  transform: scale(1.045);
  animation: settle 26s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}

@keyframes settle {
  to {
    transform: scale(1);
  }
}
.hero .scrim {
  background: linear-gradient(90deg, rgba(11, 13, 18, 0.52) 0%, rgba(11, 13, 18, 0.18) 42%, rgba(11, 13, 18, 0) 62%), linear-gradient(180deg, rgba(11, 13, 18, 0.4) 0%, rgba(11, 13, 18, 0) 24%, rgba(11, 13, 18, 0) 76%, rgba(11, 13, 18, 0.5) 100%);
}

.copy {
  align-self: center;
  min-width: 0;
  padding: 16vh var(--gutter) 0;
  max-width: min(820px, 58vw);
}

.sub {
  margin: 0.3em 0 0;
  font-style: italic;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 300;
  font-variation-settings: "opsz" 72;
  line-height: 1.2;
  color: var(--ink-2);
  padding-bottom: 0.12em;
}

/* CTA: napis stoi w miejscu, oddycha tylko linia (na desktopie rosnie w lewo, na telefonie w prawo) */
.cta {
  position: absolute;
  right: var(--gutter);
  bottom: 92px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 0;
  color: var(--ink);
  animation: rise 0.9s var(--ease) 0.3s both;
}

.cta::before {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  background: var(--accent);
  animation: breathe 3.2s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% {
    width: 34px;
    opacity: 0.75;
  }
  50% {
    width: 58px;
    opacity: 1;
  }
}
.cta:hover b {
  color: var(--accent);
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px 28px;
  flex-wrap: wrap;
  padding: 0 var(--gutter) 24px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.foot nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.foot a:hover {
  color: var(--ink);
}

@media (max-width: 760px) {
  .hero .bg {
    object-position: 50% 82%;
  }
  .hero .scrim {
    background: linear-gradient(180deg, rgba(11, 13, 18, 0.46) 0%, rgba(11, 13, 18, 0.22) 34%, rgba(11, 13, 18, 0) 55%, rgba(11, 13, 18, 0.5) 100%);
  }
  .copy {
    align-self: start;
    max-width: 100%;
    padding-top: 30vh;
  }
  .sub {
    font-size: clamp(19px, 5.4vw, 23px);
  }
  .cta {
    position: static;
    margin: 34px var(--gutter) 0;
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
  }
  .foot {
    padding-bottom: 20px;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 12px;
  }
}
.reel {
  background: var(--black);
  padding: calc(72px + 8vh) var(--gutter) 12vh;
}

.sec-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 5vh;
}

.sec-h .label {
  color: var(--ink-3);
}

.feat {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: end;
  margin-bottom: 9vh;
}

.poster {
  position: relative;
  overflow: hidden;
  background: #101216;
  cursor: pointer;
  aspect-ratio: 2.39/1;
}

.poster img, .poster video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster video {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.poster img {
  transition: transform 1.2s var(--ease);
}

.poster:hover img, .poster:focus-visible img {
  transform: scale(1.025);
}

.poster:hover video.ready {
  opacity: 1;
}

.poster .play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(243, 239, 232, 0.6);
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(11, 13, 18, 0.25);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.poster:hover .play {
  border-color: var(--accent);
  background: rgba(214, 168, 110, 0.18);
}

.play::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 16px solid var(--ink);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}

.feat-txt h3 {
  margin: 0 0 10px;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 400;
  font-variation-settings: "opsz" 48;
  line-height: 1.1;
}

.feat-txt p {
  margin: 0 0 18px;
  color: var(--ink-2);
  max-width: 38ch;
  text-wrap: pretty;
}

.feat-txt .label {
  color: var(--ink-3);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 24px;
}

.tile {
  min-width: 0;
  cursor: pointer;
  text-align: left;
  display: block;
  width: 100%;
}

.tile .ph {
  display: block;
  position: relative;
  overflow: hidden;
  background: #101216;
  aspect-ratio: 2/1;
}

.tile .ph img, .tile .ph video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile .ph img {
  transition: transform 1.2s var(--ease);
}

.tile .ph video {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.tile:hover .ph img, .tile:focus-visible .ph img {
  transform: scale(1.04);
}

.tile:hover .ph video.ready {
  opacity: 1;
}

.tile .dur {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 7px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.tile .t {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}

.tile h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 400;
  font-variation-settings: "opsz" 24;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.tile:hover h3 {
  color: var(--accent);
}

.tile .m {
  color: var(--ink-3);
  white-space: nowrap;
}

.vert {
  margin-top: 9vh;
}

.vert .grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 24px;
  max-width: 1040px;
}

.vert .ph {
  aspect-ratio: 9/16;
}

.vert .tile h3 {
  font-size: 18px;
}

@media (max-width: 1000px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feat {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .reel {
    padding-top: calc(64px + 7vh);
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .vert .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
}
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.about .bg {
  object-position: 50% 50%;
}

.about .scrim {
  background: linear-gradient(90deg, rgba(11, 13, 18, 0) 50%, rgba(11, 13, 18, 0.42) 72%, rgba(11, 13, 18, 0.62) 100%);
}

.about .pic {
  display: contents;
}

/* jeden rozmiar i jedna interlinia dla calego tekstu (uwaga klienta); krotkie slowa sklejane w PHP (antone_nbsp) + text-wrap */
.about .txt {
  grid-column: 2;
  align-self: center;
  justify-self: end;
  max-width: 46ch;
  padding: calc(72px + 8vh) var(--gutter) 10vh;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
}

.about .txt p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

.bh {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 12px 0;
  color: var(--accent);
  position: relative;
  overflow: hidden;
}

.bh::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.bh:hover::after {
  transform: scaleX(1);
}

.bh .shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(214, 168, 110, 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 7s ease-in-out infinite;
}

@keyframes shine {
  0%, 70% {
    transform: translateX(-120%);
  }
  85%, 100% {
    transform: translateX(120%);
  }
}
@media (max-width: 1000px) {
  .about {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .about {
    grid-template-rows: 52vh auto;
    min-height: 0;
  }
  /* zdjecie w ramce z przycieciem: paralaksa nie wychodzi na tekst */
  .about .pic {
    display: block;
    position: relative;
    grid-row: 1;
    height: 52vh;
    overflow: clip;
  }
  .about .bg {
    z-index: auto;
    object-position: 50% 30%;
  }
  .about .scrim {
    display: none;
  }
  .about .txt {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    max-width: none;
    padding: 52px var(--gutter) 64px;
  }
}
.contact {
  display: grid;
  grid-template-rows: 1fr auto;
}

.contact .bg {
  object-position: 50% 100%;
}

.contact .scrim {
  background: linear-gradient(180deg, rgba(11, 13, 18, 0.4) 0%, rgba(11, 13, 18, 0) 26%, rgba(11, 13, 18, 0) 70%, rgba(11, 13, 18, 0.55) 100%);
}

.cwrap {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: calc(72px + 6vh) var(--gutter) 10vh;
}

.contact h2 {
  font-size: clamp(44px, 6vw, 92px);
  line-height: 0.98;
}

.contact h2 em {
  font-weight: 300;
  font-variation-settings: "opsz" 96;
}

.cd {
  display: grid;
  gap: 14px;
  justify-self: end;
  min-width: min(100%, 360px);
}

.cd .row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: baseline;
}

.cd .row .label {
  color: var(--ink-3);
}

.cd .row a {
  font-family: var(--mono);
  font-variation-settings: normal;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.cd .row a:hover {
  color: var(--accent);
}

.cd .soc {
  display: flex;
  gap: 22px;
  margin-top: 6px;
  color: var(--ink-2);
}

.cd .soc a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.cd .soc a:hover {
  color: var(--ink);
  border-color: var(--accent);
}

@media (max-width: 760px) {
  /* uwaga klienta 15.10: na telefonie w kadrze ma byc ognisko lub biegnaca kobieta (plan, decyzja 15) */
  .contact .bg {
    object-position: var(--contact-x-m, 10%) 100%;
  }
  .cwrap {
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: start;
    padding-top: calc(64px + 8vh);
  }
  .cd {
    justify-self: start;
  }
}
.page-text {
  min-height: calc(100dvh - 60px);
  padding: calc(72px + 10vh) var(--gutter) 12vh;
}

.page-text__inner {
  max-width: 70ch;
}

.page-text__title {
  margin: 0 0 0.9em;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  text-wrap: balance;
}

.page-text__content {
  color: var(--ink-2);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.65;
}

.page-text__content > * {
  margin: 0 0 1.1em;
}

.page-text__content h2 {
  margin: 2.2em 0 0.7em;
  color: var(--ink);
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 400;
  font-variation-settings: "opsz" 48;
  line-height: 1.15;
  letter-spacing: 0;
}

.page-text__content h3 {
  margin: 1.6em 0 0.6em;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variation-settings: normal;
}

.page-text__content ul, .page-text__content ol {
  padding-left: 1.2em;
}

.page-text__content li {
  margin: 0 0 0.4em;
}

.page-text__content li::marker {
  color: var(--accent);
}

.page-text__content a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.page-text__content a:hover {
  color: var(--accent);
}

.page-text__content p, .page-text__content li {
  text-wrap: pretty;
}

.page-text__kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
}

.page-text__lead {
  margin: 0 0 8px;
  color: var(--ink-2);
  max-width: 46ch;
}

.page-text--404 {
  display: grid;
  align-items: center;
}

.page-foot {
  border-top: 1px solid var(--line-2);
  padding-top: 22px;
}

@media (max-width: 760px) {
  .page-text {
    padding-top: calc(64px + 7vh);
  }
}
