:root {
  --night: #303346;
  --ink: #f6f5f2;
  --muted: rgba(246, 245, 242, .58);
  --faint: rgba(246, 245, 242, .34);
  --line: rgba(246, 245, 242, .25);
  --focus: #e3b27c;
  --serif: "Noto Serif Display", "Iowan Old Style", Baskerville, serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--night); }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, .035), transparent 34rem),
    linear-gradient(rgba(246, 245, 242, .018) 1px, transparent 1px) 0 0 / 100% 11vh,
    var(--night);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }

.request-page {
  width: min(100%, 1240px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 72px) clamp(24px, 7vw, 96px) 72px;
}

.identity {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  color: var(--ink);
  text-decoration: none;
}

.identity > span {
  font: 400 clamp(22px, 2vw, 30px)/1 var(--serif);
  letter-spacing: -.025em;
}

.identity small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.request-panel {
  width: min(100%, 560px);
  margin: clamp(76px, 12vh, 132px) auto 0;
  opacity: 0;
  transform: scale(1.06);
  transform-origin: 50% 22%;
  animation: arrive 650ms cubic-bezier(.2, .75, .25, 1) 80ms forwards;
}

.introduction {
  padding-bottom: clamp(30px, 5vw, 48px);
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font: 400 clamp(46px, 6.6vw, 76px)/.98 var(--serif);
  letter-spacing: -.045em;
}

.dek {
  max-width: 35rem;
  margin: 26px 0 0;
  color: rgba(246, 245, 242, .72);
  font-size: clamp(15px, 1.7vw, 18px);
  font-weight: 300;
  line-height: 1.65;
}

form { padding-top: clamp(32px, 5vw, 48px); }

.field { margin-bottom: 30px; }

label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  color: rgba(246, 245, 242, .82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

label span {
  color: var(--faint);
  font-size: 9px;
  font-weight: 400;
}

input, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

textarea::placeholder { color: rgba(246, 245, 242, .3); }

input:focus, textarea:focus {
  border-bottom-color: rgba(246, 245, 242, .8);
  box-shadow: 0 1px 0 rgba(246, 245, 242, .3);
}

.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 42px;
}

button {
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid rgba(246, 245, 242, .55);
  border-radius: 5px;
  color: var(--night);
  background: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

button:hover, button:focus-visible {
  color: var(--ink);
  background: transparent;
  transform: translateY(-1px);
}

.actions a {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
  text-underline-offset: 4px;
  transition: color 180ms ease;
}

.actions a:hover, .actions a:focus-visible { color: var(--ink); }

.form-status {
  min-height: 1.5em;
  margin: 22px 0 0;
  color: var(--focus);
  font-size: 13px;
  line-height: 1.5;
}

form.is-complete .field,
form.is-complete .actions { display: none; }

form.is-complete .form-status {
  margin-top: 0;
  color: var(--ink);
  font: 400 clamp(25px, 4vw, 36px)/1.25 var(--serif);
}

@keyframes arrive {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 620px) {
  .request-page { padding: 24px 24px 56px; }
  .request-panel { margin-top: 68px; }
  .introduction { padding-bottom: 30px; }
  .dek { margin-top: 20px; line-height: 1.55; }
  form { padding-top: 34px; }
  .field { margin-bottom: 26px; }
  .actions { align-items: stretch; flex-direction: column; margin-top: 34px; }
  button { width: 100%; }
  .actions a { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .request-panel { opacity: 1; transform: none; animation: none; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}
