/* ==========================================================================
   FRONTLINE21 — THE FIELD MANUAL PAGE
   The offer, a preview that is honestly a preview, and the request.
   ========================================================================== */

.manual-page .masthead {
  background: rgba(18, 22, 22, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--ink-line);
}

.masthead__link.is-current {
  color: var(--paper);
}

.masthead__link.is-current::after {
  transform: scaleX(1);
}

/* --- The offer ---------------------------------------------------------- */

.manual-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(120px, 18vh, 210px);
  padding-bottom: var(--stack-xl);
  border-bottom: 1px solid var(--ink-line);
  background: linear-gradient(180deg, rgba(34, 47, 97, 0.24), rgba(34, 47, 97, 0)), var(--ink);
}

.manual-hero__title {
  margin-top: var(--stack-md);
}

.manual-hero__title em {
  font-style: normal;
  color: var(--f21-red);
}

.manual-hero__body {
  margin-top: var(--stack-lg);
  max-width: 72ch;
}

.manual-hero__body .body {
  margin-top: var(--stack-md);
  color: var(--paper-dim);
}

.manual-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: var(--stack-lg);
  max-width: 640px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
}

@media (min-width: 620px) {
  .manual-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.manual-facts > div {
  background: var(--ink);
  padding: 16px 18px;
}

.manual-facts dt {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-faint);
}

.manual-facts dd {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-h3);
  color: var(--paper);
}

/* --- Preview ------------------------------------------------------------ */

.manual-preview,
.acquire {
  padding-block: var(--movement-pad);
}

.acquire {
  border-top: 1px solid var(--ink-line);
  background: var(--ink-deep);
}

.acquire__inner {
  display: block;
}

.acquire__panel {
  margin-top: var(--stack-lg);
  max-width: 76ch;
}

.acquire__panel--state {
  padding: var(--stack-md) var(--stack-md) var(--stack-md) var(--stack-md);
  border: 1px solid var(--ink-line);
  border-left: 2px solid var(--f21-red);
  background: var(--ink);
}

.acquire__panel--state.is-good {
  border-left-color: var(--f21-red);
  background: linear-gradient(180deg, rgba(34, 47, 97, 0.28), rgba(34, 47, 97, 0.06));
}

.acquire__panel--state .body {
  margin-top: var(--stack-sm);
  color: var(--paper-dim);
}

.acquire__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-faint);
  margin-bottom: 10px;
}

/* --- The form ----------------------------------------------------------- */

.acquire__form {
  display: grid;
  gap: var(--stack-md);
  max-width: 560px;
}

.acquire__act {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.acquire__help {
  color: var(--paper-faint);
  max-width: 56ch;
}

/* Off screen, never focusable, never announced. A honeypot, and named as one
   in the markup so nobody mistakes it for a real bot check. */
.acquire__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.acquire__message:empty {
  display: none;
}

.acquire__message {
  padding-left: 16px;
  border-left: 2px solid var(--f21-red);
  font-family: var(--font-text);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--paper-dim);
  max-width: 60ch;
}

.acquire__mock {
  margin-top: var(--stack-md);
  color: var(--paper-faint);
}

.acquire__mock b {
  color: var(--paper);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 6px;
}

/* The submit button dims while the request is in flight, and the label swaps
   rather than the button disappearing under the visitor. */
[data-state='submitting'] .acquire__form button[type='submit'] {
  opacity: 0.62;
  pointer-events: none;
}

/* --- Closing cadence ---------------------------------------------------- */

.manual-close {
  padding-block: var(--movement-pad);
  border-top: 1px solid var(--ink-line);
}

.cadence {
  margin-top: var(--stack-lg);
  max-width: 86ch;
}

.cadence li {
  display: grid;
  grid-template-columns: 7ch minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-line-soft);
  font-family: var(--font-text);
  font-size: var(--t-body);
  color: var(--paper-dim);
}

.cadence b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-small);
  color: var(--f21-red-hi);
}

@media (prefers-reduced-motion: reduce) {
  [data-state='submitting'] .acquire__form button[type='submit'] {
    opacity: 1;
  }
}

/* FIELD NOTES FOLLOW. What comes after the twenty one days, stated as a
   positioning line and one sentence, in the place the old "Then nothing"
   notice stood. No cadence is promised: none has been set. */
.follow {
  margin-top: var(--stack-lg);
  padding-top: var(--stack-md);
  border-top: 1px solid var(--ink-line);
  max-width: 52ch;
}

.follow__head {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 1.4vw + 12px, 28px);
  line-height: 1.05;
  text-transform: uppercase;
}
