@font-face {
  font-family: "Tate";
  src: url("assets/font/Tate%20Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #c9a96e;
  --goldlt: #dfc07e;
  --white: #f0ece4;
  --purple: #9b59d0;
  --content-width: 500px;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Tate", "Georgia", serif;
  background: #000;
  color: var(--white);
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url("assets/img/background.webp") center center / cover no-repeat;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.left-gap {
  min-width: 0;
}

.col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.block {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.head {
  flex-shrink: 0;
  width: 100%;
}

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.design-word,
.tagline,
.coming-soon {
  width: 100%;
  overflow: hidden;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  visibility: hidden;
}

.design-word {
  color: rgba(205, 205, 205, 0.45);
  filter: blur(3.2px);
  user-select: none;
  line-height: 1;
  flex-shrink: 0;
}

.spacer {
  width: 100%;
}

.bottom {
  width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.tagline {
  color: var(--goldlt);
}

.contacts {
  display: flex;
  justify-content: space-between;
}

.ci {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cl {
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}

.cv {
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 0.2s, color 0.2s;
}

.cv:hover {
  opacity: 1;
  color: var(--goldlt);
}

.coming-soon {
  color: var(--purple);
  filter: blur(1.6px);
  user-select: none;
  line-height: 1.15;
}

.footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  color: rgba(240, 236, 228, 0.27);
}

.footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: rgba(240, 236, 228, 0.65);
}

/* ── Desktop (bez zmian przy testach na telefonie) ── */
@media (min-width: 768px) {
  html {
    overflow-y: hidden;
  }

  .overlay {
    background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.22) 36%,
      rgba(0, 0, 0, 0.58) 58%,
      rgba(0, 0, 0, 0.72) 100%
    );
  }

  .page {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
  }

  .left-gap {
    flex: 0 0 47%;
  }

  .col {
    flex: 1 1 auto;
    height: 100vh;
    max-height: 100vh;
    padding: 0 2rem 1.5rem;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .block {
    max-width: var(--content-width);
    flex: 1 0 auto;
    min-height: 0;
    align-self: flex-start;
  }

  .logo-box {
    width: calc(100% + 4rem);
    margin-left: -2rem;
    padding: 4rem 0 0.6cm;
  }

  .design-word {
    font-size: 6.5rem;
    margin-top: 0.25rem;
  }

  .spacer {
    flex: 1 1 0;
    min-height: 0;
  }

  .bottom {
    gap: 0.9rem;
    padding-bottom: 0.25rem;
  }

  .tagline {
    font-size: 1.5rem;
  }

  .cl {
    font-size: 0.57rem;
    letter-spacing: 0.25em;
  }

  .cv {
    font-size: 0.78rem;
    letter-spacing: 0.07em;
  }

  .coming-soon {
    font-size: 3.9rem;
  }

  .footer {
    margin-top: 0.5rem;
    font-size: 0.54rem;
    letter-spacing: 0.2em;
  }
}

/* ── Telefon / wąski ekran ── */
@media (max-width: 767px) {
  html {
    overflow-y: auto;
  }

  .overlay {
    background: rgba(0, 0, 0, 0.5);
  }

  .page {
    height: 100dvh;
    min-height: 100dvh;
    max-height: none;
    overflow: visible;
  }

  .left-gap {
    display: none;
  }

  .col {
    flex: 1 1 100%;
    width: 100%;
    height: 100dvh;
    max-height: none;
    align-items: center;
    padding: 0 clamp(1.35rem, 6vw, 2rem) clamp(0.85rem, 3vw, 1.25rem);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .block {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    align-self: center;
    flex: 1 0 auto;
    min-height: min(100%, 100dvh);
    padding-inline: clamp(0.65rem, 3vw, 1rem);
  }

  .logo-box {
    width: 100%;
    margin-left: 0;
    padding: 1.75rem 0.5rem 0.6rem;
  }

  .design-word,
  .tagline,
  .coming-soon {
    text-align: center;
    overflow: visible;
  }

  .design-word {
    font-size: clamp(3rem, 13vw, 4.75rem);
    filter: blur(2.8px);
    margin-top: 0.3rem;
  }

  .coming-soon {
    font-size: clamp(1.15rem, 6.5vw, 2rem);
  }

  .spacer {
    flex: 1 1 0;
    min-height: 0;
  }

  .bottom {
    gap: 0.55rem;
    padding-bottom: 0.5rem;
    padding-inline: 0;
  }

  .tagline {
    font-size: clamp(0.58rem, 2.9vw, 0.88rem);
  }

  .contacts {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.35rem;
    width: 100%;
    padding-inline: 0.25rem;
  }

  .ci {
    align-items: center;
    text-align: center;
  }

  .cl {
    font-size: 0.4rem;
    letter-spacing: 0.1em;
  }

  .cv {
    font-size: 0.55rem;
    letter-spacing: 0.03em;
  }

  .footer {
    margin-top: 0.35rem;
    font-size: 0.42rem;
    letter-spacing: 0.1em;
    gap: 0.35rem;
    padding-inline: 0.2rem;
  }
}

@media (max-width: 767px) and (max-height: 700px) {
  .logo-box {
    padding: 1.25rem 0.2rem 0.45rem;
  }

  .design-word {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .coming-soon {
    font-size: clamp(1rem, 6vw, 1.65rem);
  }

  .bottom {
    gap: 0.4rem;
  }
}
