/* HouseHound coming-soon — Night Ledger, production translation of
   design/incoming/HouseHound-Coming-Soon.dc.html (fallback fonts: the Söhne
   stacks resolve to Geist/Geist Mono until the Klim license is bought). */

* { box-sizing: border-box; }
html, body { margin: 0; background: #0E100D; height: 100%; }

.field {
  min-height: 100vh;
  background: #0E100D;
  color: #EDE8DA;
  font-family: "Soehne", "Geist", system-ui, sans-serif;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ink grain ground (marketing field) */
.grain {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(#161A12 1px, transparent 1px),
    radial-gradient(#10130C 1px, transparent 1px);
  background-size: 11px 11px, 17px 17px;
  background-position: 0 0, 5px 9px;
}

/* registration corners */
.corner { position: absolute; width: 14px; height: 14px; }
.corner-tl { left: 28px; top: 28px; border-left: 1px solid #3D3F36; border-top: 1px solid #3D3F36; }
.corner-tr { right: 28px; top: 28px; border-right: 1px solid #3D3F36; border-top: 1px solid #3D3F36; }
.corner-bl { left: 28px; bottom: 28px; border-left: 1px solid #3D3F36; border-bottom: 1px solid #3D3F36; }
.corner-br { right: 28px; bottom: 28px; border-right: 1px solid #3D3F36; border-bottom: 1px solid #3D3F36; }

/* top bar */
.topbar {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 36px 64px 0;
}
.wordmark { font-family: "Fraunces", Georgia, serif; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.eye-slot { position: relative; display: inline-block; }
.eye {
  position: absolute; left: 50%; top: 56%;
  width: 3px; height: 3px; background: #BFF549; border-radius: 50%;
  transform: translate(-50%, -50%);
}
.watch {
  display: flex; align-items: center; gap: 8px;
  font-family: "Soehne Mono", "Geist Mono", ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.12em; color: #BFF549;
}
.watch-dot { width: 5px; height: 5px; background: #BFF549; border-radius: 50%; animation: hh-pulse 2.4s ease-in-out infinite; }

/* center: copy left, letter right */
.center {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 48px 80px;
  align-items: center; justify-content: center;
  margin: auto; padding: 48px 64px; max-width: 1240px;
}
.pitch {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  gap: 30px; flex: 1 1 440px; min-width: 340px; max-width: 640px;
}
.headline {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(38px, 4.5vw, 64px); font-weight: 500;
  line-height: 1.12; letter-spacing: -0.012em; text-wrap: balance;
}
.motto {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 18px; color: #C5A46D;
  font-feature-settings: "smcp" on; letter-spacing: 0.06em;
}
.body-copy { margin: 0; font-size: 15px; line-height: 1.75; color: #8B8674; max-width: 520px; text-wrap: pretty; }

/* the agent, working */
.ticker {
  display: inline-flex; align-items: center; gap: 14px;
  border: 1px solid #2A2D26; background: #11140F; padding: 12px 20px;
  font-variant-numeric: tabular-nums;
}
.bars { display: flex; gap: 3px; }
.bar { width: 3px; height: 12px; background: #BFF549; animation: hh-thinking 1.2s ease-in-out infinite; }
.bar-2 { animation-delay: 0.2s; }
.bar-3 { animation-delay: 0.4s; }
.ticker-line { font-family: "Soehne Mono", "Geist Mono", ui-monospace, monospace; font-size: 11px; color: #8B8674; }

/* send word at launch */
.signup { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 500px; margin: 0; }
.signup-frame {
  display: grid; grid-template-columns: 1fr auto;
  border: 1px solid #2A2D26; background: #11140F; padding: 5px; gap: 5px;
  transition: border-color 200ms ease-in-out;
}
.signup-frame.has-text { border-color: #C5A46D; }
.signup-frame[data-state="done"] { border-color: #4F6F52; }
#hh-email {
  background: transparent; border: none; outline: none;
  color: #EDE8DA; caret-color: #C5A46D;
  font-family: "Soehne Mono", "Geist Mono", ui-monospace, monospace;
  font-size: 14px; padding: 14px 16px; min-width: 0;
}
#hh-submit {
  background: #C5A46D; color: #0E100D; border: none; border-radius: 1px;
  font-family: "Soehne", "Geist", system-ui, sans-serif;
  font-size: 14px; font-weight: 600; padding: 0 28px;
  cursor: pointer; white-space: nowrap;
  transition: background 200ms ease-in-out;
}
#hh-submit:hover { background: #D4B37C; }
#hh-submit:disabled { cursor: default; opacity: 0.7; }
.subline {
  display: flex; align-items: center; gap: 8px; margin: 0;
  font-family: "Soehne Mono", "Geist Mono", ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.1em; color: #55514A;
}
.signup-frame[data-state="done"] + .subline { color: #A9C7A4; }
.signup-frame[data-state="invalid"] + .subline,
.signup-frame[data-state="error"] + .subline { color: #B66A5E; }
.subline-dot { width: 4px; height: 4px; background: #BFF549; border-radius: 50%; display: inline-block; }

/* honeypot: off-canvas, not display:none (some bots skip hidden fields) */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* the sample letter: paper artifact, right rail (day theme — document surface) */
.letter-rail { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; flex: 0 1 420px; }
.letter {
  width: 100%; max-width: 420px;
  background: #F2EDDF; color: #1C1E17;
  text-align: left; padding: 36px 36px 30px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), 97% 100%, 93% calc(100% - 4px), 88% calc(100% - 8px), 82% calc(100% - 3px), 75% calc(100% - 7px), 67% calc(100% - 4px), 58% calc(100% - 8px), 49% calc(100% - 3px), 40% calc(100% - 7px), 31% calc(100% - 4px), 22% calc(100% - 8px), 14% calc(100% - 3px), 7% calc(100% - 7px), 2% calc(100% - 4px), 0 calc(100% - 8px));
}
.letter-head { display: flex; flex-direction: column; gap: 2px; }
.letter-wordmark { font-family: "Fraunces", Georgia, serif; font-size: 16px; font-weight: 600; }
.eye-day { width: 2.5px; height: 2.5px; background: #4A7000; }
.letter-date { font-family: "Fraunces", Georgia, serif; font-size: 13px; color: #6E6852; font-variant-numeric: oldstyle-nums; }
.letter-rule { margin-top: 12px; }
.rule-heavy { height: 2px; background: #1C1E17; }
.rule-fine { height: 1px; background: #1C1E17; margin-top: 2px; }
.letter-body {
  font-family: "Fraunces", Georgia, serif;
  font-size: 16px; line-height: 1.8; color: #3A3C30;
  padding-top: 4px; font-variant-numeric: oldstyle-nums; text-wrap: pretty;
}
.letter-body p { margin: 16px 0 0; }
.letter-body strong { color: #1C1E17; font-weight: 600; }
.letter-sign { font-size: 14px; color: #6E6852; }
.letter-foot {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid #CFC8B0; margin-top: 20px; padding-top: 12px;
  font-size: 10.5px; color: #6E6852;
}

/* colophon */
.colophon {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid #2A2D26;
  margin: 0 64px 34px; padding-top: 14px;
}
.imprint { font-family: "Soehne Mono", "Geist Mono", ui-monospace, monospace; font-size: 9px; letter-spacing: 0.14em; color: #3D3F36; }

@keyframes hh-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes hh-thinking { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }

@media (max-width: 720px) {
  .topbar { padding: 28px 28px 0; }
  .center { padding: 40px 28px; }
  .colophon { margin: 0 28px 28px; }
}
