/* ==========================================================================
   Single Realization Premium - Editorial Layout
   ========================================================================== */

.realizacje-template-default header,
.realizacje-template-default .vertical-text {
  display: none;
}

.single-realization-premium {
  --sr-bg: #f7f4ef;
  --sr-dark: #191714;
  --sr-muted: #6f6a61;
  --sr-light: #fffaf2;
  --sr-line: rgba(25, 23, 20, 0.16);
  --sr-brown: #5d4638;

  background: var(--sr-bg);
  color: var(--sr-dark);
  overflow: hidden;
}

.sr-container {
  width: min(100% - 48px, 1500px);
  margin: 0 auto;
}

/* Close button */

.sr-close {
  position: fixed;
  top: 34px;
  right: 34px;
  z-index: 1000;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.35s ease;
}

.sr-close i {
  font-size: 34px;
  line-height: 1;
  transition: transform 0.35s ease;
}

.sr-close:hover {
  color: #fff;
  transform: scale(1.06);
}

.sr-close:hover i {
  transform: rotate(90deg);
}

/* Hero */

.sr-hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: #15120f;
  overflow: hidden;
}

.sr-hero__bg,
.sr-hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sr-hero__bg img {
  object-fit: cover;
  transform: scale(1.04);
}

.sr-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.sr-topbar {
  position: absolute;
  top: 38px;
  left: 48px;
  right: 48px;
  z-index: 3;
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  align-items: center;
  color: #fff;
}

.sr-topbar__logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.36em;
}

.sr-topbar__nav {
  display: flex;
  justify-content: center;
  gap: 70px;
}

.sr-topbar__nav a,
.sr-topbar__menu {
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sr-topbar__menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}

.sr-topbar__menu span {
  width: 18px;
  height: 18px;
  display: inline-block;
  background:
    radial-gradient(circle, #fff 2px, transparent 3px) 0 0 / 9px 9px;
}

.sr-hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1500px);
  margin: 0 auto;
  padding-top: 80px;
  color: #fff;
}

.sr-eyebrow {
  margin-bottom: 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.82;
}

.sr-hero__title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(54px, 6.6vw, 112px);
  line-height: 1.02;
  letter-spacing: -0.065em;
  font-weight: 400;
  font-family: Georgia, "Times New Roman", serif;
}

.sr-hero__line {
  width: min(740px, 60vw);
  height: 1px;
  margin: 48px 0 42px;
  background: rgba(255, 255, 255, 0.5);
}

.sr-hero__text {
  max-width: 520px;
  margin: 0 0 56px;
  font-size: 17px;
  line-height: 1.8;
  opacity: 0.9;
}

.sr-hero__link,
.sr-small-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: inherit;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sr-hero__link span,
.sr-small-link span,
.sr-footer-cta a span {
  transition: transform 0.3s ease;
}

.sr-hero__link:hover span,
.sr-small-link:hover span,
.sr-footer-cta a:hover span {
  transform: translateX(8px);
}

.sr-scroll-label {
  position: absolute;
  right: 120px;
  bottom: 62px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 22px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sr-scroll-label span {
  width: 58px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
}

/* Intro */

.sr-project-intro {
  padding: 92px 0 100px;
  background: var(--sr-light);
}

.sr-intro-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 390px;
  gap: 95px;
  align-items: start;
}

.sr-intro-number span {
  display: block;
  margin-bottom: 26px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sr-muted);
}

.sr-intro-number {
  font-size: 120px;
  line-height: 0.85;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.sr-intro-text {
  max-width: 540px;
}

.sr-intro-text h2 {
  margin: 0 0 30px;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 400;
  font-family: Georgia, "Times New Roman", serif;
}

.sr-text-content p {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--sr-muted);
}

.sr-text-content p:last-child {
  margin-bottom: 0;
}

.sr-small-link {
  margin-top: 48px;
  color: var(--sr-dark);
}

.sr-project-meta {
  padding-left: 95px;
  border-left: 1px solid var(--sr-line);
}

.sr-project-meta__item {
  margin-bottom: 34px;
}

.sr-project-meta__item:last-child {
  margin-bottom: 0;
}

.sr-project-meta__item span {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--sr-muted);
}

.sr-project-meta__item strong {
  display: block;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 600;
}

/* Main visual */

.sr-main-visual {
  padding: 0 0 0;
  background: var(--sr-light);
}

.sr-section-heading,
.sr-brand-system__heading {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 32px;
}

.sr-section-heading span,
.sr-brand-system__heading span {
  font-size: 40px;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.05em;
}

.sr-section-heading p,
.sr-brand-system__heading p {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sr-muted);
}

.sr-main-visual__image {
  margin: 0;
}

.sr-main-visual__image img {
  width: 100%;
  display: block;
}

/* Editorial gallery */

.sr-editorial-section {
  padding: 8px 0 96px;
  background: var(--sr-light);
}

.sr-editorial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sr-editorial-item {
  margin: 0;
  overflow: hidden;
}

.sr-editorial-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.2,.8,.2,1);
}

.sr-editorial-item:hover img {
  transform: scale(1.035);
}

.sr-editorial-item figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--sr-muted);
}

.sr-editorial-item--100 {
  width: 100%;
}

.sr-editorial-item--70 {
  width: calc(70% - 4px);
}

.sr-editorial-item--50 {
  width: calc(50% - 4px);
}

.sr-editorial-item--30 {
  width: calc(30% - 4px);
}

.sr-editorial-item--33 {
  width: calc(33.23% - 4px);
}

/* Brand system */

.sr-brand-system {
  padding: 0 0 106px;
  background: var(--sr-light);
}

.sr-brand-system__heading {
  margin-bottom: 42px;
}

.sr-brand-system__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.05fr;
  gap: 48px;
}

.sr-brand-column {
  min-height: 250px;
  padding-right: 42px;
  border-right: 1px solid var(--sr-line);
}

.sr-brand-column:last-child {
  border-right: 0;
  padding-right: 0;
}

.sr-brand-column h3 {
  margin: 0 0 34px;
  font-size: 15px;
  font-weight: 500;
}

.sr-color-list,
.sr-font-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sr-color-item {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 22px;
  align-items: center;
}

.sr-color-preview {
  width: 105px;
  height: 44px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.sr-color-item strong,
.sr-font-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sr-color-item span,
.sr-font-item span {
  display: block;
  font-size: 12px;
  color: var(--sr-muted);
}

.sr-typography-preview {
  margin-bottom: 28px;
  font-size: 72px;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
}

.sr-material-list {
  font-size: 15px;
  line-height: 2.1;
  color: var(--sr-muted);
}

.sr-brand-column--logo img {
  max-width: 220px;
  height: auto;
  display: block;
}

/* Digital section */

.sr-digital-section {
  padding: 0 0 96px;
  background: var(--sr-light);
}

.sr-digital-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 95px;
  align-items: start;
}

.sr-digital-content h2 {
  margin: 0 0 26px;
  font-size: 34px;
  line-height: 1.2;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.sr-digital-image {
  margin: 0;
  overflow: hidden;
}

.sr-digital-image img {
  width: 100%;
  display: block;
}

/* Footer CTA */

.sr-footer-cta {
  padding: 52px 0;
  background: var(--sr-brown);
  color: #f4eadc;
}

.sr-footer-cta__grid {
  display: grid;
  grid-template-columns: 220px 1fr 360px;
  gap: 70px;
  align-items: center;
}

.sr-footer-cta span {
  display: block;
  margin-bottom: 14px;
  font-size: 42px;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
}

.sr-footer-cta p {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.76;
}

.sr-footer-cta h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.14;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.sr-footer-cta a {
  justify-self: end;
  color: #f4eadc;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Reveal animations */

.reveal-item,
.reveal-image {
  opacity: 1;
  transform: none;
}

.js-ready .reveal-item,
.js-ready .reveal-image {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.95s ease,
    transform 0.95s cubic-bezier(.2,.8,.2,1);
}

.js-ready .reveal-item.is-visible,
.js-ready .reveal-image.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 1200px) {
  .sr-topbar {
    grid-template-columns: 170px 1fr 170px;
  }

  .sr-topbar__nav {
    gap: 34px;
  }

  .sr-intro-layout {
    grid-template-columns: 180px 1fr;
    gap: 60px;
  }

  .sr-project-meta {
    grid-column: 2;
    padding-left: 0;
    border-left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .sr-brand-system__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sr-brand-column:nth-child(2) {
    border-right: 0;
  }

  .sr-digital-grid,
  .sr-footer-cta__grid {
    grid-template-columns: 1fr;
  }

  .sr-footer-cta a {
    justify-self: start;
  }
}

@media (max-width: 991px) {
  .sr-topbar__nav {
    display: none;
  }

  .sr-topbar {
    left: 24px;
    right: 24px;
    grid-template-columns: 1fr 1fr;
  }

  .sr-hero {
    min-height: 820px;
  }

  .sr-scroll-label {
    right: 32px;
    bottom: 40px;
  }

  .sr-intro-layout {
    grid-template-columns: 1fr;
  }

  .sr-project-meta {
    grid-column: auto;
  }

  .sr-editorial-item--100,
  .sr-editorial-item--70,
  .sr-editorial-item--50,
  .sr-editorial-item--30,
  .sr-editorial-item--33 {
    width: 100%;
  }

  .sr-brand-system__grid {
    grid-template-columns: 1fr;
  }

  .sr-brand-column,
  .sr-brand-column:nth-child(2) {
    border-right: 0;
    padding-right: 0;
    border-bottom: 1px solid var(--sr-line);
    padding-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .sr-container {
    width: calc(100% - 32px);
  }

  .sr-close {
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .sr-close i {
    font-size: 30px;
  }

  .sr-hero__content {
    width: calc(100% - 32px);
  }

  .sr-hero__title {
    font-size: 50px;
  }

  .sr-hero__line {
    width: 100%;
  }

  .sr-intro-number {
    font-size: 86px;
  }

  .sr-project-meta {
    grid-template-columns: 1fr;
  }

  .sr-project-intro {
    padding: 70px 0;
  }

  .sr-brand-system,
  .sr-digital-section,
  .sr-editorial-section {
    padding-bottom: 70px;
  }
}