/* BidsList sign-up page
   Palette taken from the logo and the Facebook ad so the click feels continuous. */
:root {
  --navy: #02224a;
  --navy-deep: #011631;
  --red: #d52b1e;
  --red-dark: #b32217;
  --yellow: #ffc72c;
  --kraft: #efe7d8;
  --kraft-line: #d9cdb6;
  --ink: #14202e;
  --muted: #5b6573;
  --white: #ffffff;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 48px);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: var(--navy) url("https://images.unsplash.com/photo-1724204408341-adb2e4538a73?w=2000&q=75&auto=format&fit=crop") center 40% / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(1, 22, 49, 0.96) 0%, rgba(2, 34, 74, 0.9) 42%, rgba(2, 34, 74, 0.55) 72%, rgba(2, 34, 74, 0.35) 100%);
}
.hero > * { position: relative; }

.topbar { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.125rem; }
.brand img { width: 40px; height: 40px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px var(--white); }
.topbar .contact { font-size: 0.9375rem; opacity: 0.85; text-decoration: none; }
.topbar .contact:hover { opacity: 1; text-decoration: underline; }

.hero-body { padding: clamp(48px, 9vw, 112px) 0 clamp(56px, 9vw, 104px); max-width: 680px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 7px 14px 7px 0;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  font-size: clamp(0.8125rem, 1.6vw, 0.9375rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  border-radius: 3px;
  overflow: hidden;
}
.eyebrow::before {
  /* hazard stripes, like a site barricade */
  content: "";
  align-self: stretch;
  width: 22px;
  margin: -7px 0;
  background: repeating-linear-gradient(-45deg, var(--navy) 0 5px, var(--yellow) 5px 10px);
}
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.75rem, 8.4vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  margin: 0 0 20px;
  text-transform: uppercase;
}
.hero h1 .count {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  padding: 0 0.12em;
  margin-right: 0.08em;
  transform: rotate(-2deg);
}
.hero .lede { font-size: clamp(1.0625rem, 2.2vw, 1.25rem); line-height: 1.5; margin: 0 0 28px; max-width: 34em; color: #e6ebf2; }
.updated { margin: 16px 0 0; font-size: 0.875rem; color: #b8c4d4; }

/* ---------- Signup form ---------- */
.signup { display: flex; gap: 8px; background: var(--white); padding: 6px; border-radius: 10px; max-width: 520px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.signup input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  font: inherit;
  font-size: 1.0625rem;
  padding: 14px 14px;
  color: var(--ink);
  background: transparent;
  border-radius: 6px;
}
.signup input[type="email"]::placeholder { color: #7c8694; }
.signup input[type="email"]:focus { outline: none; }
.signup:focus-within { box-shadow: 0 0 0 3px var(--yellow), 0 10px 30px rgba(0, 0, 0, 0.25); }
.signup button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 7px;
  background: var(--red);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  font-size: 1.0625rem;
  padding: 14px 22px;
  cursor: pointer;
  white-space: nowrap;
}
.signup button:hover { background: var(--red-dark); }
.signup button[disabled] { opacity: 0.7; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fineprint { margin: 12px 0 0; font-size: 0.875rem; color: #c9d3e0; }
.form-msg { margin: 12px 0 0; font-size: 0.9375rem; min-height: 1.4em; }
.form-msg.error { color: #ffd2cc; }

.done {
  max-width: 520px;
  background: var(--white);
  color: var(--ink);
  border-radius: 10px;
  padding: 20px 22px;
  border-left: 6px solid var(--yellow);
}
.done h3 { margin: 0 0 6px; font-size: 1.25rem; }
.done p { margin: 0; color: var(--muted); }

@media (max-width: 480px) {
  .signup { flex-direction: column; padding: 8px; }
  .signup button { width: 100%; padding: 15px; }
}

/* ---------- Bid board ---------- */
.board-section { background: var(--kraft); padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.02;
  margin: 0 0 10px;
  color: var(--navy);
}
.section-head p { margin: 0; color: #4a4336; }

.board {
  position: relative;
  background: var(--white);
  border: 1px solid var(--kraft-line);
  border-radius: 4px;
  box-shadow: 0 2px 0 var(--kraft-line), 0 18px 40px rgba(74, 60, 30, 0.12);
  padding: 28px 0 8px;
}
.board::before {
  /* strip of tape holding the notice up */
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 140px;
  height: 28px;
  margin-left: -70px;
  background: rgba(255, 199, 44, 0.85);
  transform: rotate(-3deg);
}
.board-head, .bid {
  display: grid;
  grid-template-columns: 9.5rem 1fr 6.5rem;
  gap: 16px;
  align-items: baseline;
  padding: 14px 28px;
}
.board-head { font-size: 0.8125rem; font-weight: 700; color: var(--muted); padding-top: 0; padding-bottom: 10px; border-bottom: 2px solid var(--navy); }
.bid { border-bottom: 1px solid #ece4d4; }
.bid:last-child { border-bottom: 0; }
.bid .where { font-family: var(--display); text-transform: uppercase; font-size: 1.25rem; color: var(--navy); letter-spacing: 0.01em; }
.bid .what { font-weight: 600; }
.bid .what small { display: block; font-weight: 400; color: var(--muted); font-size: 0.9375rem; margin-top: 2px; }
.bid .closes { text-align: right; font-weight: 700; color: var(--red); white-space: nowrap; }
.board-foot { padding: 14px 28px 18px; font-size: 0.9375rem; color: var(--muted); }

@media (max-width: 640px) {
  .board-head { display: none; }
  .bid { grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 18px; }
  .bid .where { grid-column: 1; font-size: 1.0625rem; }
  .bid .closes { grid-column: 2; grid-row: 1; }
  .bid .closes::before { content: "Closes in "; font-weight: 400; color: var(--muted); }
  .bid .what { grid-column: 1 / -1; }
  .board-foot { padding: 12px 18px 16px; }
}

/* ---------- What's in it ---------- */
.inside { padding: clamp(56px, 8vw, 96px) 0; }
.inside-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.inside-photo { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; background: #ccc; }
.inside-photo img { width: 100%; height: 100%; object-fit: cover; }
.inside h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.02;
  margin: 0 0 22px;
  color: var(--navy);
}
.inside dl { margin: 0; }
.inside dt { font-weight: 700; font-size: 1.125rem; color: var(--navy); padding-left: 18px; position: relative; }
.inside dt::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 8px; height: 8px; background: var(--red); }
.inside dd { margin: 4px 0 20px 18px; color: var(--muted); }
.inside dd:last-child { margin-bottom: 0; }

@media (max-width: 820px) {
  .inside-grid { grid-template-columns: 1fr; }
  .inside-photo { order: 2; }
}

/* ---------- Closing CTA ---------- */
.closer { display: grid; grid-template-columns: 1.1fr 0.9fr; background: var(--navy); color: var(--white); }
.closer-body { padding: clamp(48px, 8vw, 96px) var(--gutter); max-width: 640px; justify-self: end; width: 100%; }
.closer h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  line-height: 1;
  margin: 0 0 14px;
}
.closer p.sub { margin: 0 0 24px; color: #d3dbe6; }
.closer-photo { min-height: 320px; background: #0b2c57 url("https://images.unsplash.com/photo-1760662733242-948e05a510e3?w=1200&q=75&auto=format&fit=crop") center 30% / cover no-repeat; }

@media (max-width: 820px) {
  .closer { grid-template-columns: 1fr; }
  .closer-photo { min-height: 220px; order: -1; }
  .closer-body { justify-self: stretch; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #9fb0c6; font-size: 0.875rem; padding: 32px 0 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
.site-footer p { margin: 0; max-width: 46em; }
.site-footer a { color: #d3dbe6; }

@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow, .hero h1, .hero .lede, .hero .signup-area { animation: rise 0.6s ease-out both; }
  .hero .lede { animation-delay: 0.08s; }
  .hero .signup-area { animation-delay: 0.16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
