@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --paper: #f7f5ef;
  --ink: #11110f;
  --hairline: rgba(17, 17, 15, 0.18);
  --side: clamp(1.25rem, 4vw, 4.5rem);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.coming-soon {
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
  padding: 0 var(--side);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.architectural-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(to right, transparent calc(50% - 0.5px), var(--hairline) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(to bottom, transparent calc(50% - 0.5px), rgba(17, 17, 15, 0.08) 50%, transparent calc(50% + 0.5px));
  opacity: 0.32;
  pointer-events: none;
}

.site-header,
.site-footer {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header {
  height: clamp(5rem, 10vh, 7.5rem);
  border-bottom: 1px solid var(--ink);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.wordmark i {
  width: 1.65rem;
  height: 1px;
  display: block;
  background: currentColor;
}

.status {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--ink);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero-copy {
  align-self: center;
  z-index: 3;
  width: min(42rem, 46vw);
  padding: clamp(2.5rem, 7vh, 6rem) 0 clamp(6rem, 15vh, 11rem);
}

.eyebrow {
  margin: 0 0 clamp(1.6rem, 3vh, 2.8rem);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(5.6rem, 11vw, 10.75rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.67;
}

h1 em {
  font-weight: 400;
}

.intro {
  margin: clamp(2.3rem, 4vh, 3.6rem) 0 0;
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  font-weight: 300;
  line-height: 1.7;
}

.home-visual {
  position: absolute;
  z-index: 1;
  right: -4.5vw;
  bottom: clamp(2.7rem, 5vh, 4.4rem);
  width: min(75vw, 88rem);
  margin: 0;
  opacity: 0;
  transform: translate3d(3rem, 1.5rem, 0);
  animation: sketch-in 1.5s 0.12s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.home-visual::after {
  content: "";
  position: absolute;
  inset: -3px;
  background: linear-gradient(90deg, var(--paper) 0%, transparent 16%, transparent 93%, var(--paper) 100%);
}

.home-visual img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) contrast(1.08);
}

.drawing-note {
  position: absolute;
  z-index: 4;
  right: var(--side);
  top: 53%;
  display: grid;
  gap: 0.25rem;
  padding-left: 3.25rem;
  font-size: 0.57rem;
  line-height: 1.45;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(100%);
  transform-origin: top right;
}

.drawing-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2.3rem;
  height: 1px;
  background: currentColor;
}

.site-footer {
  min-height: clamp(3.6rem, 7vh, 5rem);
  border-top: 1px solid var(--ink);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

@keyframes sketch-in {
  to {
    opacity: 0.88;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.72); }
}

@media (max-width: 760px) {
  .coming-soon {
    min-height: 100svh;
  }

  .site-header {
    height: 4.75rem;
  }

  .status {
    font-size: 0;
    gap: 0;
  }

  .status span {
    width: 0.5rem;
    height: 0.5rem;
  }

  .hero-copy {
    align-self: start;
    width: 100%;
    padding: clamp(3.4rem, 8vh, 5rem) 0 0;
  }

  .eyebrow {
    margin-bottom: 1.8rem;
  }

  h1 {
    font-size: clamp(5.6rem, 27vw, 8.5rem);
    line-height: 0.7;
  }

  .intro {
    margin-top: 2.1rem;
  }

  .home-visual {
    right: -30vw;
    bottom: clamp(3.4rem, 7vh, 4.8rem);
    width: 128vw;
    opacity: 0;
  }

  .home-visual::after {
    background: linear-gradient(90deg, var(--paper) 0%, transparent 10%, transparent 95%, var(--paper) 100%);
  }

  .drawing-note {
    display: none;
  }

  .site-footer p:first-child {
    display: none;
  }

  .site-footer {
    justify-content: flex-end;
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  .hero-copy {
    padding-block: 2.5rem 5rem;
  }

  h1 {
    font-size: clamp(5.2rem, 10vw, 8rem);
  }

  .intro {
    margin-top: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
