@font-face {
  font-family: Montserrat;
  src: url('fonts/montserrat.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Allura;
  src: url('fonts/allura.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
body { margin: 0; background: #222222; }
.classywall-landing, .classywall-landing * { box-sizing: border-box; }
.classywall-landing {
  --cw-gold: #e3c48e;
  --cw-paper: #fffdf8;
  isolation: isolate;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(14px, 3vw, 32px);
  background: #222222;
  color: var(--cw-paper);
  font-family: Montserrat, system-ui, sans-serif;
  text-align: center;
}
.classywall-landing::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(112deg, rgba(18, 18, 19, .82), rgba(23, 23, 24, .72) 60%, rgba(21, 21, 22, .61)), url('sterka.webp') center 43% / cover no-repeat;
}
.cw-frame {
  display: grid;
  align-content: center;
  justify-items: center;
  width: min(100%, 540px);
  aspect-ratio: 1;
  padding: clamp(20px, 5vw, 52px);
  border: 1px solid rgba(255, 253, 248, .82);
}
.cw-ornament {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--cw-gold);
}
.cw-ornament::before, .cw-ornament::after {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: .62;
}
.cw-ornament span {
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}
.cw-brand {
  margin: 0 0 23px;
  padding-left: .28em;
  color: var(--cw-gold);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.cw-title {
  margin: 0;
  color: var(--cw-paper);
  font-size: clamp(36px, 7.6vw, 62px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.055em;
}
.cw-title em {
  display: block;
  margin-top: .075em;
  color: var(--cw-gold);
  font: 400 clamp(54px, 11vw, 92px)/.96 Allura, Georgia, serif;
  letter-spacing: normal;
}
.cw-description {
  max-width: 37ch;
  margin: 19px auto 0;
  color: #f1eee8;
  font-size: clamp(13px, 2vw, 15px);
  line-height: 1.65;
  text-wrap: pretty;
}
.cw-contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 23px;
}
.cw-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--cw-gold);
  background: var(--cw-gold);
  color: #212123;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.cw-link + .cw-link {
  background: transparent;
  color: var(--cw-paper);
  border-color: rgba(227, 196, 142, .62);
}
.cw-link:hover { background: #ffdfaa; color: #212123; }
.cw-link:focus-visible { outline: 2px solid #fffdf8; outline-offset: 4px; }
@media (max-width: 440px), (max-height: 630px) {
  .cw-ornament { margin-bottom: 14px; }
  .cw-brand { margin-bottom: 15px; }
  .cw-description { margin-top: 13px; }
  .cw-contact { margin-top: 16px; }
}
@media (max-height: 630px) and (orientation: landscape) {
  .cw-frame { width: min(100%, 540px, calc(100dvh - 64px)); padding: 24px; }
  .cw-title { font-size: clamp(38px, 8.7dvh, 56px); }
  .cw-title em { font-size: clamp(55px, 13dvh, 82px); }
}
@media (max-height: 490px) and (orientation: landscape) {
  .classywall-landing { padding-block: 14px; }
  .cw-frame { width: min(100%, 410px, calc(100dvh - 28px)); padding: 18px 24px; }
  .cw-title { font-size: 35px; }
  .cw-title em { font-size: 54px; }
  .cw-description { font-size: 13px; }
}

@media (max-width: 360px), (max-height: 385px) and (orientation: landscape) {
  .cw-frame { padding: 14px; }
  .cw-ornament, .cw-brand { margin-bottom: 10px; }
  .cw-title { font-size: 34px; }
  .cw-title em { font-size: 49px; }
  .cw-description { margin-top: 10px; }
  .cw-contact { margin-top: 12px; }
  .cw-link { padding-inline: 10px; }
}
