/* Hallmark · shape: Long Document · genre: editorial · theme: existing Sheldan brief system · job: submit · hero: Corridor · nav: masthead · footer: letter close · imagery: none · signature: general website brief · axes: light/system-sans/chromatic-green · v2.0.0 */
/* Hallmark · pre-emit critique: clear labels and restrained hierarchy; long-form content is deliberate for a client brief. */
@import url('./tokens.css');
@import url('./base.css');
:root {
  --bg: var(--color-paper); --ink: var(--color-ink); --muted: var(--color-muted);
  --line: var(--color-rule); --accent: var(--color-accent); --soft: var(--color-paper-2);
  --white: var(--color-accent-ink); --display: var(--font-display); --body: var(--font-body);
}
html { scroll-behavior: smooth; }
body { color: var(--ink); }
.wrap { width: min(100% - 40px, 1040px); margin: auto; }
.mast { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); padding: var(--space-lg) 0; border-bottom: 1px solid var(--line); font: 600 15px var(--display); }
.mast a { padding-block: var(--space-xs); text-decoration: none; }
.mast span { color: var(--muted); }
.hero { padding: clamp(56px, 9vw, 112px) 0 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, .45fr); gap: 32px; align-items: end; }
.hero h1 { font-size: clamp(44px, 7vw, 80px); max-width: 13ch; line-height: 1.02; letter-spacing: -.035em; }
.hero p { max-width: 29ch; font-size: 20px; line-height: 1.45; }
.hero a, .submit { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; background: var(--ink); color: var(--white); font: 600 16px var(--display); padding: var(--space-sm) var(--space-lg); text-decoration: none; border: 1px solid var(--ink); cursor: pointer; }
.hero a { margin-top: var(--space-lg); }
.intro { border-top: 4px solid var(--ink); padding: var(--space-lg) 0 36px; display: grid; grid-template-columns: 1fr 2fr; gap: var(--space-lg); }
.intro p { font-size: 18px; max-width: 50ch; }
.intro .hint { margin: var(--space-sm) 0 0; font-size: 15px; }
.intro span, .number { font: 600 15px var(--display); color: var(--muted); }
.project { margin: 0 0 var(--space-xl); max-width: 520px; }
.project .field { padding: 0; margin: 0; border: 0; }
.project .label { font-size: 15px; font-weight: 600; }
.group { border-top: 4px solid var(--ink); padding: 28px 0 60px; display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 2fr); gap: 32px; }
.group-title, .group-fields { min-width: 0; }
.group h2 { margin-top: var(--space-xs); font-size: clamp(28px, 3vw, 36px); line-height: 1.1; }
.group-title p { margin-top: var(--space-sm); color: var(--muted); font-size: 15px; }
.field { border-bottom: 1px solid var(--line); padding: 0 0 28px; margin-bottom: 28px; }
.field:last-child { margin-bottom: 0; }
.label { display: block; font: 700 18px/1.4 var(--display); margin-bottom: var(--space-xs); }
.hint { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 0 0 var(--space-sm); overflow-wrap: anywhere; }
.input, textarea { display: block; width: 100%; min-width: 0; padding: var(--space-sm); background: var(--bg); border: 1px solid var(--color-rule-2); border-radius: 0; color: var(--ink); font: 16px/1.5 var(--display); }
textarea { min-height: 104px; resize: vertical; }
.input { min-height: 52px; }
.input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
.input:focus-visible, textarea:focus-visible { outline-offset: -3px; }
.input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--color-error); }
.input[readonly], textarea[readonly] { background: var(--soft); }
.actions { border-top: 4px solid var(--ink); padding: 28px 0 72px; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
.action-buttons { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; }
.submit { min-width: 200px; }
.download { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: var(--space-sm) var(--space-lg); border: 1px solid var(--color-rule-2); background: transparent; color: var(--ink); font: 600 16px var(--display); cursor: pointer; }
.note { max-width: 65ch; color: var(--muted); font-size: 15px; }
.status { font: 600 16px/1.5 var(--display); min-height: 1.5em; overflow-wrap: anywhere; }
.status.error { color: var(--color-error); }
.status.success { color: var(--color-success); }
.submit:disabled { background: var(--soft); color: var(--muted); border-color: var(--line); cursor: not-allowed; opacity: .65; }
.submit[aria-busy="true"] { cursor: progress; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-md); border-top: 1px solid var(--line); padding: var(--space-lg) 0 36px; color: var(--muted); font: 14px var(--display); }
.foot a { display: inline-flex; align-items: center; min-height: 44px; }
.foot span { align-self: center; }
@media (hover: hover) {
  .hero a:hover, .submit:not(:disabled):hover { background: var(--accent); border-color: var(--accent); }
  .download:hover, .input:hover, textarea:hover { background: var(--soft); }
  .mast a:hover, .foot a:hover { color: var(--accent); }
}
.hero a:active, .submit:not(:disabled):active, .download:active { transform: translateY(1px); }
@media (max-width: 680px) {
  .wrap { width: min(100% - 32px, 1040px); }
  .mast { gap: var(--space-sm); font-size: 14px; }
  .mast span { text-align: right; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 48px 0; gap: var(--space-lg); }
  .hero p { max-width: 34ch; font-size: 18px; }
  .intro, .group { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .group { padding-bottom: var(--space-xl); }
  .group h2 { max-width: none; }
  .actions { padding-bottom: 48px; }
  .submit, .download, .action-buttons { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero a:active, .submit:not(:disabled):active, .download:active { transform: none; }
}
