@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500&family=Manrope:wght@300;400;500&display=swap');

:root {
  --paper: #f3f1ec;
  --ink: #171716;
  --muted: #77746d;
  --red: #ef3035;
  --line: rgba(23,23,22,.12);
  --display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  width: 100%;
  height: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 20;
  pointer-events: none;
  opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.page {
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 560px;
  padding: 30px 4vw 24px;
  overflow: hidden;
}

.architecture {
  position: absolute;
  inset: 23px 2.1vw;
  pointer-events: none;
}

.v, .h {
  position: absolute;
  display: block;
  background: var(--line);
}

.v {
  top: 0;
  bottom: 0;
  width: 1px;
}

.v1 { left: 11%; }
.v2 { left: 50%; opacity: .55; }
.v3 { right: 18%; }

.h {
  left: 0;
  right: 0;
  height: 1px;
}

.h1 { top: 25%; }
.h2 { bottom: 19%; opacity: .75; }

.square {
  position: absolute;
  width: 250px;
  height: 250px;
  right: 4%;
  top: 13%;
  border: 1px solid var(--line);
  transform: rotate(45deg);
}

.cross {
  position: absolute;
  width: 13px;
  height: 13px;
}

.cross::before,
.cross::after {
  content: "";
  position: absolute;
  background: var(--red);
}

.cross::before {
  width: 13px;
  height: 1px;
  top: 6px;
}

.cross::after {
  width: 1px;
  height: 13px;
  left: 6px;
}

.cross1 {
  left: calc(11% - 6px);
  top: calc(25% - 6px);
}

.cross2 {
  right: calc(18% - 6px);
  bottom: calc(19% - 6px);
}

header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 6px 2.8vw 0;
}

header img {
  width: clamp(125px, 10vw, 160px);
  height: auto;
  display: block;
}

.meta {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 7px;
  letter-spacing: .28em;
}

.meta span:last-child {
  color: var(--ink);
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.content {
  position: relative;
  z-index: 5;
  width: min(1160px, 86vw);
  height: calc(100% - 91px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.copy {
  max-width: 480px;
  margin-left: auto;
  margin-right: 8%;
  margin-bottom: 7vh;
  padding-left: 18px;
  border-left: 1px solid var(--red);
}

.copy p {
  margin: 0;
  color: #66635d;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: -.01em;
}

.coming {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.coming > .line {
  width: 30px;
  height: 1px;
  margin-top: 7px;
  background: var(--red);
  flex: 0 0 auto;
}

.label,
.sub {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
}

.label {
  margin-bottom: 13px;
  font-size: 8px;
  letter-spacing: .28em;
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 300;
  line-height: .88;
  letter-spacing: -.07em;
}

.sub {
  margin-top: 14px;
  font-size: 9px;
  letter-spacing: .16em;
}

@media (max-width: 700px) {
  .page {
    min-height: 100svh;
    padding: 22px 7vw 20px;
  }

  .architecture {
    inset: 15px 4vw;
  }

  .v2 { display: none; }

  .square {
    width: 160px;
    height: 160px;
    right: -55px;
    top: 18%;
  }

  header {
    padding: 5px 1vw 0;
  }

  header img {
    width: 118px;
  }

  .meta {
    gap: 9px;
    font-size: 5.5px;
    letter-spacing: .2em;
  }

  .meta span:nth-child(2) {
    display: none;
  }

  .meta span:last-child {
    padding-left: 9px;
  }

  .content {
    width: 84vw;
    height: calc(100% - 78px);
  }

  .copy {
    max-width: 320px;
    margin-left: auto;
    margin-right: 0;
    margin-bottom: 8vh;
    padding-left: 14px;
  }

  .copy p {
    font-size: 10.5px;
    line-height: 1.75;
  }

  .coming {
    gap: 13px;
    padding-top: 15px;
  }

  .coming > .line {
    width: 20px;
  }

  .label {
    margin-bottom: 10px;
    font-size: 6px;
  }

  h1 {
    font-size: clamp(52px, 14.5vw, 86px);
  }

  .sub {
    margin-top: 10px;
    font-size: 6.5px;
    letter-spacing: .13em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .grain { display: none; }
}


/* Creator credit */
.creator {
  position: absolute;
  right: 4.8vw;
  bottom: 30px;
  z-index: 10;
  color: var(--muted);
  font-family: var(--body);
  font-size: 7px;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.creator span {
  color: var(--red);
  font-weight: 500;
  letter-spacing: .08em;
}

@media (max-width: 700px) {
  .creator {
    right: 7vw;
    bottom: 20px;
    font-size: 5.5px;
    letter-spacing: .13em;
  }

  .creator span {
    letter-spacing: .06em;
  }
}
