:root {
  color-scheme: light;
  --paper: #fdfdfb;
  --ink: #20252a;
  --high-tide: #313841;
  --cadet: #3a4750;
  --pebble: #eee;
  --yam: #ea9216;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
::selection { background: var(--high-tide); color: white; }
#shoal { pointer-events: none; position: fixed; inset: 0; width: 100%; height: 100%; }
header {
  position: absolute; z-index: 1; inset: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(16px, 3.5vmin, 36px) clamp(24px, 4.7vw, 80px);
}
.monogram { font: italic 30px/1 Didot, Georgia, serif; letter-spacing: -.09em; }
.monogram span { color: var(--yam); }
.erp {
  min-height: 44px; padding: 0 5px 0 12px; display: inline-flex; align-items: center;
  gap: 9px; color: var(--high-tide); text-decoration: none;
  font-size: 11px; font-weight: 600; letter-spacing: .12em;
}
.diagonal { font-size: 16px; transition: transform .2s ease; }
.erp:hover .diagonal { transform: translate(2px,-2px); }
main {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; padding: 84px 22px;
}
.dialogue { position: relative; width: min(100%, 420px); text-align: center; }
h1 {
  margin: 0 0 clamp(24px, 3.5vh, 38px);
  font: 400 clamp(84px, 10vw, 142px)/.97 Didot, "Bodoni MT", "Times New Roman", serif;
  letter-spacing: -.055em;
}
form {
  display: flex; align-items: center; gap: 6px; margin: 0 auto;
  width: min(100%, 360px); padding: 5px 6px 5px 20px;
  border: 1px solid #c9cdd0; border-radius: 50px; background: #fffffff5;
  box-shadow: 0 4px 15px #31384109; transition: border-color .2s ease;
}
form:focus-within { border-color: var(--cadet); }
input { min-width: 0; flex: 1; padding: 8px 0; border: 0; outline: 0; font: 400 16px/1.4 inherit; font-family: inherit; font-size: 16px; background: transparent; color: var(--ink); }
input::placeholder { color: #626970; }
button {
  flex: 0 0 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: var(--high-tide); color: white; font: 22px/1 system-ui; cursor: pointer;
}
button:hover { background: #161b20; }
button:focus-visible, .erp:focus-visible { outline: 2px solid var(--cadet); outline-offset: 4px; }
.reply {
  position: absolute; inset: 100% 0 auto; margin: 19px 0 0; min-height: 1.5em;
  font: italic clamp(19px, 2vw, 23px)/1.4 Georgia, serif; color: var(--cadet);
}
.reply span { display: inline-block; animation: surface .58s cubic-bezier(.16,.8,.24,1) both; animation-delay: var(--delay); }
@keyframes surface { from { opacity: 0; transform: translateY(7px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::after { animation: none !important; transition: none !important; }
}
