* {
  box-sizing: border-box;
}

:root {
  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body:
    Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  font-family: var(--font-body);
  background: #080808;
  color: #f4f1eb;
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}


.pageFrame {
  position: fixed;
  inset: 14px;
  border: 1.5px solid rgba(238, 233, 223, 0.16);
  border-radius: 26px;
  z-index: 50;
  pointer-events: none;
}

@media (max-width: 800px) {
  .pageFrame {
    inset: 8px;
    border-radius: 18px;
  }
}

.landing {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 70px 40px 60px;
  background: radial-gradient(
    circle at 50% 20%,
    #28231f 0,
    #0d0d0d 46%,
    #070707 100%
  );
}


.hero {
  text-align: center;
  max-width: 760px;
  margin-bottom: clamp(46px, 7vw, 80px);
}

.kicker {
  font-family: var(--font-mono);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 10px;
  opacity: 0.48;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(46px, 7.5vw, 92px);
  line-height: 0.92;
  margin: 0;
  font-weight: 420;
  letter-spacing: -0.015em;
}

.hero .tagline {
  font-size: 16px;
  opacity: 0.5;
  margin: 24px 0 0;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}


.portals {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 3vw, 34px);
  width: 100%;
  max-width: 1180px;
}

.portal {
  position: relative;
  flex: 1 1 0;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: flex-end;
  height: clamp(300px, 34vw, 400px);
  clip-path: url(#portalClipA);
  -webkit-clip-path: url(#portalClipA);
  filter: drop-shadow(0 24px 46px rgba(0, 0, 0, 0.55));
  transition:
    transform 0.6s cubic-bezier(0.16, 0.9, 0.25, 1),
    filter 0.6s ease;
  overflow: hidden;
  background: #161311;
}

.portal.alt {
  clip-path: url(#portalClipB);
  -webkit-clip-path: url(#portalClipB);
}


.portal.main {
  flex: 1.32 1 0;
  height: clamp(360px, 42vw, 480px);
  transform: translateY(-18px);
  z-index: 2;
}

.portal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.55) brightness(0.62);
  transform: scale(1.06);
  transition:
    filter 0.7s ease,
    transform 1.1s cubic-bezier(0.16, 0.9, 0.25, 1);
}

.portal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 8, 0) 30%,
    rgba(8, 8, 8, 0.94) 100%
  );
  z-index: 1;
  transition: opacity 0.5s ease;
}

.portal:hover,
.portal:focus-visible {
  transform: translateY(-10px);
}

.portal.main:hover,
.portal.main:focus-visible {
  transform: translateY(-26px);
}

.portal:hover img,
.portal:focus-visible img {
  filter: saturate(0.85) brightness(0.78);
  transform: scale(1.12);
}

.portalInner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 26px 30px;
  text-align: left;
}

.portalTag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #cfc9be;
  opacity: 0.6;
  margin-bottom: 10px;
  display: block;
}

.portalTitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 440;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
}

.portalDesc {
  font-size: 12.5px;
  line-height: 1.55;
  color: #a9a6a0;
  max-width: 230px;
  opacity: 0.85;
}

.portalArrow {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(238, 233, 223, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.5s cubic-bezier(0.16, 0.9, 0.25, 1),
    border-color 0.4s ease,
    background 0.4s ease;
}

.portalArrow svg {
  width: 13px;
  height: 13px;
  stroke: #eee9df;
  transition: transform 0.5s cubic-bezier(0.16, 0.9, 0.25, 1);
}

.portal:hover .portalArrow,
.portal:focus-visible .portalArrow {
  border-color: #eee9df;
  background: rgba(238, 233, 223, 0.08);
}

.portal:hover .portalArrow svg,
.portal:focus-visible .portalArrow svg {
  transform: translate(2px, -2px);
}

.sideLine {
  font-family: var(--font-mono);
  position: absolute;
  z-index: 2;
  top: 26px;
  left: 26px;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: #6b6b6b;
  opacity: 0.7;
}


.footHint {
  font-family: var(--font-mono);
  margin-top: clamp(40px, 6vw, 62px);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #666;
}

@media (max-width: 820px) {
  .landing {
    padding: 64px 22px 50px;
  }

  .portals {
    flex-direction: column;
    gap: 22px;
    width: 100%;
  }

  .portal,
  .portal.main {
    flex: none;
    width: 100%;
    height: 220px;
    transform: none !important;
  }

  .portal.main {
    order: -1;
    height: 260px;
  }

  .portalDesc {
    max-width: 70%;
  }
}
