/* ProPriceOrion — coming soon. Framed poster, serif, burgundy. Written by hand. */

:root {
  --paper: #fbf9f4;
  --ink: #14110c;
  --muted: #6d6555;
  --line: #ded6c6;
  --wine: #7b2233;
  --wine-soft: #f6e9ec;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --caps: "Helvetica Neue", Helvetica, ui-sans-serif, system-ui, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  padding: clamp(12px, 3vw, 34px);
  background: #efe9dd;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--wine); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 2px; }

/* the frame */
.frame {
  max-width: 1000px; margin: 0 auto;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: clamp(8px, 1.6vw, 14px);
}
.inner {
  border: 1px solid var(--ink);
  padding: clamp(24px, 5vw, 60px);
}

/* masthead */
.masthead {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.word {
  font-family: var(--serif);
  font-size: 1.2rem; font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink);
}
.word:hover { text-decoration: none; }
.word i { color: var(--wine); font-style: normal; }
.masthead nav { display: flex; gap: 20px; }
.masthead nav a {
  font-family: var(--caps);
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.masthead nav a:hover, .masthead nav a.active { color: var(--wine); text-decoration: none; }

/* title block */
.title { padding: clamp(30px, 6vw, 62px) 0 clamp(26px, 4vw, 44px); }
.eyebrow {
  font-family: var(--caps);
  font-size: .68rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--wine);
  display: block; margin-bottom: 20px;
}
h1 {
  margin: 0 0 22px;
  max-width: 24ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 6.6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.02em;
}
h1 em { font-style: italic; color: var(--wine); }
.lede {
  margin: 0;
  max-width: 60ch;
  font-size: 1.1rem;
  color: #35301f;
}
.rule {
  display: flex; align-items: center; gap: 14px;
  margin: clamp(24px, 4vw, 36px) 0;
  color: var(--muted);
}
.rule::before, .rule::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.rule span {
  font-family: var(--caps);
  font-size: .64rem; letter-spacing: .24em; text-transform: uppercase;
}

/* columns */
.cols { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px, 5vw, 56px); align-items: start; }
.cols h2 {
  margin: 0 0 6px;
  font-family: var(--caps);
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.cols .hint { margin: 0 0 22px; color: var(--muted); font-size: .93rem; font-style: italic; }

.field { margin-bottom: 18px; }
.field label {
  display: block; margin-bottom: 4px;
  font-family: var(--caps);
  font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea {
  width: 100%;
  padding: 8px 0;
  font: inherit; font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0;
  transition: border-color .18s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--wine); }
.field .invalid { border-bottom-color: #a8322c; background: #fbf1ef; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 50px; padding: 0 26px;
  font-family: var(--caps);
  font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--paper); background: var(--ink);
  border: 0; border-radius: 0;
  cursor: pointer;
  transition: background .18s;
}
.btn:hover { background: var(--wine); }
.btn:disabled { opacity: .6; cursor: default; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 12px 0 0; min-height: 1.2em; font-size: .9rem; font-style: italic; }
.status.ok { color: #2c6a45; }
.status.err { color: var(--wine); }

.facts { margin: 0; }
.facts > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.facts > div:last-child { border-bottom: 0; }
.facts dt {
  font-family: var(--caps);
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.facts dd { margin: 0; text-align: right; font-size: .95rem; }

/* foot */
.foot {
  margin-top: clamp(30px, 5vw, 52px);
  padding-top: 20px;
  border-top: 1px solid var(--ink);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--caps);
  font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--wine); text-decoration: none; }
.foot p { margin: 0; }

/* legal */
.doc h1 { font-size: clamp(2rem, 5.4vw, 3rem); max-width: 26ch; }
.stamp {
  display: inline-block; margin: 0 0 26px;
  font-family: var(--caps);
  font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line); padding-bottom: 3px;
}
.doc h2 {
  margin: 30px 0 8px;
  font-family: var(--serif);
  font-size: 1.24rem; font-weight: 400;
  text-transform: none; color: var(--ink);
}
.doc h2:first-of-type { margin-top: 0; }
.doc p, .doc li { color: #35301f; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: .5em; }
.doc-actions {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid var(--ink);
  display: flex; flex-wrap: wrap; gap: 18px;
}
.doc-actions a {
  font-family: var(--caps);
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink);
}
.doc-actions a:hover { color: var(--wine); text-decoration: none; }

@media (max-width: 840px) {
  .cols { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .facts > div { flex-direction: column; gap: 2px; }
  .facts dd { text-align: left; }
  .foot { flex-direction: column; }
}
