@import url("./layout.css");
@import url("./contact-modal.css");
@import url("./mobile.css");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f0eeff;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
}

#canvas {
  display: block;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  background: transparent;
}

.hint {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(80, 78, 74, 0.55);
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.65);
  pointer-events: none;
  animation: hint-breathe 0.8s ease-in-out infinite;
  transition: opacity 0.4s ease;
}

.hint.is-hidden {
  opacity: 0 !important;
  animation: none;
}

@keyframes hint-breathe {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}


.home-contact-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.55s ease,
    visibility 0.55s;
}

.home-contact-panel.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: none;
}

.home-contact-middle {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding-top: var(--hold-clearance, 34vh);
  padding-bottom: 16px;
  box-sizing: border-box;
}

.home-prose {
  text-align: center;
  max-width: 520px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
  pointer-events: none;
}

.home-contact-footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-bottom: 10vh;
}

.home-prose__kicker {
  display: block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: none;
  color: rgba(0, 0, 0, 0.58);
  margin: 0 0 14px;
}

.home-prose__lead {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.72);
  letter-spacing: 0.01em;
}

.home-prose__body {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.58);
}

.home-prose__muted {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.42);
  font-style: italic;
}

.home-contact-tagline {
  margin: 0;
  max-width: 360px;
  padding: 0 24px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.03em;
  color: rgba(0, 0, 0, 0.36);
  text-align: center;
  pointer-events: none;
}

.contact-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  max-width: calc(100vw - 48px);
  text-align: center;
  line-height: 1.35;
  text-decoration: none;
  cursor: pointer;
  border-radius: 2px;
  font-family: inherit;
  transition: background 0.2s;
  pointer-events: auto;
  box-sizing: border-box;
}

.contact-btn:hover {
  background: #333;
}
