/* Dugout Brothers Collectibles: site styles */

/* Self-hosted fonts (Barlow and Barlow Condensed, SIL Open Font License) */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-600.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/barlow-400.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-600.woff2") format("woff2");
}

:root {
  --navy: #021a3e;
  --navy-deep: #010917;
  --royal: #003fa8;
  --royal-mid: #0a4fbf;
  --red: #e21228;
  --red-dark: #b50e20;
  --red-on-dark: #ffb3bb;
  --white: #ffffff;
  --cream: #f8f0e3;
  --cream-dark: #efe4d0;
  --ink: #142033;
  --muted: #4b5568;
  --line: rgba(2, 26, 62, 0.12);
  --shadow: 0 16px 40px rgba(2, 26, 62, 0.18);
  --radius: 14px;
  --header-h: 76px;
  --wrap: 1120px;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", sans-serif;
}

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

html {
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

strong,
b {
  font-weight: 600;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--royal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red-dark);
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.site-header :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.bg-navy :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--white);
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--white);
  color: var(--navy);
  padding: 0.5rem 0.8rem;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(calc(100% - 2.5rem), var(--wrap));
  margin-inline: auto;
}

/* External link cue: a small drawn arrow, not a text glyph */
a.ext::after {
  content: "";
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  margin-left: 0.32em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7h-2V4.4L2.4 11 1 9.6 7.6 3H4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7h-2V4.4L2.4 11 1 9.6 7.6 3H4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--white);
  border-bottom: 3px solid var(--red);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
  min-width: 0;
  min-height: 44px;
}

.brand:hover {
  color: var(--white);
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 2px var(--white);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-sub {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffd9dc;
  margin-top: 0.2rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 76px;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  gap: 0.15rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  box-shadow: inset 0 -2px 0 var(--red);
}

.site-nav .nav-cta {
  background: var(--red-dark);
  box-shadow: none;
  padding: 0 1rem;
  border-radius: 999px;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  background: var(--red);
  box-shadow: none;
}

/* Home hero */
.hero {
  position: relative;
  min-height: clamp(400px, 60vh, 560px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--navy-deep);
  isolation: isolate;
  overflow: hidden;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -2;
}

.hero-media img {
  object-fit: cover;
  object-position: 62% 60%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(1, 9, 23, 0.2) 0%, rgba(1, 9, 23, 0.5) 45%, rgba(1, 9, 23, 0.9) 100%),
    linear-gradient(90deg, rgba(1, 9, 23, 0.78) 0%, rgba(1, 9, 23, 0.45) 45%, rgba(1, 9, 23, 0.05) 80%);
  z-index: -1;
}

.hero-inner {
  padding: 3rem 0 2.6rem;
}

.hero-inner > *,
.page-hero .wrap > * {
  max-width: 44rem;
}

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--red-dark);
  margin: 0 0 0.7rem;
}

.hero .eyebrow,
.page-hero .eyebrow,
.bg-navy .eyebrow {
  color: var(--red-on-dark);
}

.hero h1,
.page-hero h1,
.section h2,
.section-tight h2,
.card h3,
.event-card h3,
.panel h2 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.7rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.2rem);
  text-transform: uppercase;
}

.lede {
  font-size: 1.2rem;
  margin: 0 0 1.6rem;
}

.hero .lede {
  color: #f3f6fb;
  max-width: 36rem;
}

.page-hero .lede {
  margin-bottom: 0;
}

.page-hero .lede + .actions {
  margin-top: 1.4rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1;
}

.btn-red {
  background: var(--red-dark);
  color: var(--white);
}

.btn-red:hover {
  background: var(--red);
  color: var(--white);
}

.btn-lg {
  font-size: 1.2rem;
  padding: 0.95rem 1.6rem;
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--royal);
  color: var(--white);
}

.btn-ghost {
  background: rgba(1, 9, 23, 0.35);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* Page hero (interior) */
.page-hero {
  background-color: var(--navy);
  background-image: url("assets/hero-interior.jpg");
  background-image: image-set(url("assets/hero-interior.webp") type("image/webp"), url("assets/hero-interior.jpg") type("image/jpeg"));
  background-position: center 60%;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  position: relative;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(1, 9, 23, 0.1) 0%, rgba(1, 9, 23, 0.35) 100%),
    linear-gradient(90deg, rgba(2, 26, 62, 0.8) 0%, rgba(2, 26, 62, 0.66) 45%, rgba(2, 26, 62, 0.55) 100%);
  z-index: -1;
}

.page-hero .wrap {
  padding: 4rem 0 3.75rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  text-transform: uppercase;
}

/* Trust strip */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

.trust .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 2rem;
  padding: 0.85rem 0;
}

.trust ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust li {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  color: var(--ink);
}

.trust strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--navy);
}

.trust-source {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-source a {
  display: inline-block;
  padding: 0.55rem 0;
  font-weight: 600;
}

/* Sections */
.section {
  padding: 3.6rem 0;
}

.section-tight {
  padding: 2.4rem 0;
}

.bg-white {
  background: var(--white);
}

.bg-cream {
  background: var(--cream);
}

.bg-navy {
  background: var(--navy);
  color: var(--white);
}

.bg-navy a:not(.btn) {
  color: #cfe0ff;
}

.section-head,
.measure {
  max-width: 44rem;
}

.section-head {
  margin-bottom: 1.8rem;
}

.section h2,
.section-tight h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-transform: uppercase;
  color: var(--navy);
}

.bg-navy h2 {
  color: var(--white);
}

.kicker {
  color: var(--muted);
  margin: 0 0 1rem;
}

.stack > * + * {
  margin-top: 2.6rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 1.6rem;
}

.mb-0 {
  margin-bottom: 0;
}

/* Cards and grids */
.grid-3,
.grid-2,
.grid-stats,
.event-grid {
  display: grid;
  gap: 1.15rem;
}

.grid-3,
.event-grid,
.grid-stats {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.card,
.panel,
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.bg-white .card,
.bg-white .panel {
  background: #fdfaf4;
}

.card,
.event-card,
.panel {
  padding: 1.4rem 1.35rem 1.5rem;
}

.card,
.event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card .btn,
.event-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.card .card-links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.1rem;
}

.card .card-links .btn {
  margin-top: 0;
}

.card h3,
.event-card h3 {
  font-size: 1.55rem;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 0.45rem;
}

.card p,
.event-card p {
  margin: 0 0 1rem;
}

.card > p:last-child,
.event-card > p:last-child {
  margin-bottom: 0;
}

.grid-stats {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stat {
  padding: 1.2rem 1rem;
  text-align: center;
  background: var(--cream);
  border-radius: var(--radius);
}

.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.event-card time,
.meta {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-dark);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.split-top {
  align-items: start;
}

.split-form {
  grid-template-columns: 1.25fr 0.75fr;
  align-items: start;
}

/* Photo placeholder, sized for future card photos */
.photo-slot {
  margin: 0;
}

.photo-slot-frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #0b2a5c 0%, var(--navy) 55%, #0d2f2a 130%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.photo-slot-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 8px;
}

.photo-slot-frame svg {
  width: 62%;
}

.photo-slot figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  position: relative;
  padding-left: 3rem;
  min-height: 2.1rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.25;
}

/* FAQ */
.faq {
  border-top: 1px solid var(--line);
  max-width: 44rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 0.7rem 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 0.3rem;
  border-right: 2px solid var(--red-dark);
  border-bottom: 2px solid var(--red-dark);
  transform: rotate(45deg) translate(-2px, -2px);
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.faq details > p {
  margin: 0 0 1rem;
  max-width: 44rem;
}

/* Example calculations */
.examples {
  display: grid;
  gap: 1.15rem;
  margin-top: 1rem;
}

.example {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.35rem 1.4rem;
}

.example h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.7rem;
}

.example table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.example th,
.example td {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
}

.example td {
  text-align: right;
  white-space: nowrap;
  padding-left: 1rem;
}

.example tr.total th,
.example tr.total td {
  font-weight: 600;
  color: var(--navy);
  border-bottom: 0;
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
}

.form-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.3rem;
  align-content: start;
}

.field label {
  font-weight: 600;
  font-size: 0.98rem;
}

.req {
  color: var(--red-dark);
  font-weight: 600;
}

.opt {
  color: var(--muted);
  font-weight: 400;
}

.hint {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

input,
select,
textarea {
  font: inherit;
  min-height: 46px;
  padding: 0.65rem 0.8rem;
  border: 1px solid #8d8776;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  width: 100%;
}

input[type="file"] {
  padding: 0.5rem;
  background: var(--cream);
  border-style: dashed;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* Honeypot: off screen, not tabbable, hidden from assistive tech */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--navy);
  background: var(--cream);
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  border-left-color: #1a7a3c;
  background: #e9f5ec;
}

.form-status.is-error {
  border-left-color: var(--red-dark);
  background: #fdecee;
}

.contact-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.contact-list a {
  display: inline-block;
  padding: 0.5rem 0;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #d7dde8;
  padding: 3rem 0 2.4rem;
  border-top: 3px solid var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 2px var(--white);
}

.site-footer h2 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--white);
  margin: 0 0 0.7rem;
}

.footer-brand h2 {
  margin: 0;
}

.site-footer p {
  margin: 0 0 0.7rem;
}

.site-footer a {
  color: var(--white);
}

.site-footer a:hover {
  color: var(--red-on-dark);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1rem;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.2rem;
  font-size: 0.88rem;
  color: #aab4c4;
}

.legal p {
  margin: 0 0 0.5rem;
}

/* Utility */
.prose p {
  margin: 0 0 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.rule {
  height: 3px;
  width: 3.2rem;
  background: var(--red);
  border: 0;
  margin: 0 0 1rem;
}

.notice {
  background: var(--cream);
  border-left: 4px solid var(--red-dark);
  padding: 1rem 1.1rem;
  margin: 1.2rem 0 0;
}

.bg-cream .notice {
  background: var(--white);
}

.notice p {
  margin: 0;
}

/* Tablet and below: menu button, single-column card grids */
@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy);
    border-bottom: 3px solid var(--red);
    padding: 0.4rem 1.25rem 1rem;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a {
    display: flex;
    min-height: 48px;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
  }

  .site-nav .nav-cta {
    justify-content: center;
    margin-top: 0.8rem;
  }

  .grid-3,
  .event-grid,
  .split,
  .split-form {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .photo-slot {
    max-width: 30rem;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(calc(100% - 2rem), var(--wrap));
  }

  .grid-2,
  .grid-stats,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: clamp(400px, 62vh, 520px);
  }

  .hero-media img {
    object-position: 78% 50%;
  }

  .hero-inner {
    padding: 2.4rem 0 2rem;
  }

  .hero .actions .btn {
    flex: 1 1 100%;
  }

  .trust .wrap {
    padding: 0.7rem 0;
  }

  .trust ul {
    gap: 0.1rem 1.2rem;
  }

  .trust strong {
    font-size: 1.25rem;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .section {
    padding: 2.6rem 0;
  }
}

/* ---- DRAFT (Nov 14): free value check offer ---- */
.offer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 1.75rem;
  border: 2px solid var(--navy);
  border-left-width: 8px;
  border-radius: 12px;
  background: var(--cream);
}

.offer h2 {
  margin: 0 0 0.5rem;
}

.offer p {
  margin: 0 0 0.6rem;
  max-width: 62ch;
}

.offer .offer-next {
  font-weight: 600;
}

.offer .hint {
  margin: 0;
}

@media (max-width: 700px) {
  .offer {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }
  .offer-cta .btn {
    width: 100%;
    text-align: center;
  }
}

.form-status.is-sending {
  border-left-color: var(--navy);
}

.form .cf-turnstile {
  margin: 0 0 1rem;
}

.card-lookup-box {
  max-width: 40rem;
  padding: 1.5rem 1.75rem;
  border: 2px solid var(--navy);
  border-radius: 12px;
  background: var(--white, #fff);
}

.card-lookup-box h2 {
  margin: 0 0 0.5rem;
}

.card-lookup-box > p {
  margin: 0 0 1rem;
}

.card-lookup-actions {
  margin: 0.75rem 0 0.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.card-lookup-human {
  margin: 0.85rem 0 0;
}

@media (max-width: 700px) {
  .card-lookup-box {
    padding: 1.25rem;
  }
  .card-lookup-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ---- Round 1 design fixes (Nov 15, 2026) ---- */

/* Inner hero: buttons and a short note under them */
.page-hero .lede {
  color: #f3f6fb;
  max-width: 38rem;
  text-shadow: 0 1px 2px rgba(1, 9, 23, 0.45);
}

.page-hero h1 {
  text-shadow: 0 2px 6px rgba(1, 9, 23, 0.4);
}

.page-hero .actions {
  margin-top: 1.5rem;
}

.hero-note {
  margin: 0.8rem 0 0;
  font-size: 0.95rem;
  color: #dfe6f2;
}

/* Outline button for light backgrounds (replaces .btn-ghost on white) */
.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.panel h2 {
  font-size: 1.5rem;
}

.muted {
  color: var(--muted);
}

.mt-3 {
  margin-top: 3rem;
}

/* Fact tiles: 4 across */
.grid-facts {
  grid-template-columns: repeat(4, 1fr);
}

.grid-facts .stat strong {
  font-size: 2rem;
}

.bg-white .stat {
  background: var(--cream);
}

.facts-note {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 48rem;
}

/* Steps laid out in a row */
.steps-row {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.steps-row.steps-5 {
  grid-template-columns: repeat(5, 1fr);
}

.steps-row li {
  padding: 3.4rem 1.1rem 1.2rem;
  background: var(--cream);
  border-radius: var(--radius);
  min-height: 0;
}

.bg-cream .steps-row li {
  background: var(--white);
}

.steps-row li::before {
  left: 1.1rem;
  top: 1.1rem;
}

.steps-row strong {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.steps-compact {
  gap: 0.9rem;
  margin: 0.4rem 0 1.2rem;
}

.steps-compact strong {
  font-size: 1.1rem;
}

/* Consign path cards and sample sales */
.best-for {
  margin-top: auto !important;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.examples-2 {
  grid-template-columns: 1fr 1fr;
  margin-top: 0;
}

.example-big {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 0.8rem;
}

.example-big strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--red-dark);
}

.example-big span {
  color: var(--muted);
  font-weight: 600;
}

/* Closing band */
.closing-band .measure > p {
  font-size: 1.15rem;
  margin: 0 0 1.4rem;
}

.closing-band .hint {
  margin: 1rem 0 0;
  color: #cbd5e4;
  font-size: 0.95rem;
}

/* Sell-or-grade pick tiles */
.pick-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 1.2rem;
  margin-bottom: 1rem;
}

.pick-head .eyebrow {
  margin: 0;
}

.pick-tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pick {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  padding: 1.1rem 1.2rem 1.15rem;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pick:hover {
  color: var(--ink);
  border-color: var(--navy);
}

.pick.is-picked {
  border-color: var(--red-dark);
  box-shadow: 0 0 0 3px rgba(226, 18, 40, 0.15);
}

.pick-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.1;
}

.pick-title::after {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-left: 0.55rem;
  border-right: 2px solid var(--red-dark);
  border-bottom: 2px solid var(--red-dark);
  transform: rotate(-45deg) translateY(-3px);
}

.pick-note {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Form: file picker, optional details, side panel */
.field-label {
  font-weight: 600;
  font-size: 0.98rem;
}

.file-pick {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  min-height: 0;
  padding: 0;
  border: 0;
}

.file-input:focus-visible + .file-btn {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.file-btn::before {
  content: "+";
  font-size: 1.35rem;
  line-height: 0;
  margin-right: 0.45rem;
}

.file-count {
  color: var(--muted);
  font-size: 0.95rem;
}

.more-detail {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(248, 240, 227, 0.5);
}

.bg-cream .more-detail {
  background: var(--white);
}

.more-detail summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
}

.more-detail summary::-webkit-details-marker {
  display: none;
}

.more-detail summary::before {
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  color: var(--red-dark);
  width: 1rem;
}

.more-detail[open] summary::before {
  content: "\2212";
}

.more-detail-body {
  display: grid;
  gap: 1rem;
  padding: 0.2rem 1rem 1.1rem;
}

.next-panel {
  position: sticky;
  top: calc(var(--header-h) + 1.2rem);
}

.bg-cream .next-panel {
  background: var(--white);
}

.next-email {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

/* Events and about */
.checked-line,
.small-note {
  margin: 1.4rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Illustration frame (stands in until real photos arrive) */
.photo-art .photo-slot-frame {
  background:
    radial-gradient(circle at 50% 120%, rgba(226, 18, 40, 0.35) 0%, rgba(226, 18, 40, 0) 55%),
    linear-gradient(160deg, #0b2a5c 0%, var(--navy) 60%, var(--navy-deep) 100%);
  box-shadow: var(--shadow);
}

.photo-art .photo-slot-frame::after {
  display: none;
}

.photo-art-badge {
  position: absolute;
  left: 50%;
  bottom: 9%;
  transform: translateX(-50%);
}

.photo-art-badge img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 3px var(--white), 0 8px 20px rgba(1, 9, 23, 0.45);
}

.photo-art svg {
  margin-top: -14%;
}

@media (max-width: 1000px) {
  .steps-row.steps-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .grid-facts,
  .steps-row {
    grid-template-columns: 1fr 1fr;
  }

  .pick-tiles {
    grid-template-columns: 1fr;
  }

  .next-panel {
    position: static;
  }

  .steps-row.steps-5 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .page-hero .wrap {
    padding: 2.4rem 0 2.2rem;
  }

  .page-hero .lede {
    font-size: 1.1rem;
  }

  /* Primary buttons full width on phones */
  main .btn-red,
  .page-hero .actions .btn,
  .closing-band .actions .btn {
    width: 100%;
  }

  .page-hero .actions,
  .closing-band .actions {
    gap: 0.65rem;
  }

  .grid-facts {
    grid-template-columns: 1fr 1fr;
  }

  .grid-facts .stat strong {
    font-size: 1.6rem;
  }

  .examples-2,
  .steps-row,
  .steps-row.steps-5 {
    grid-template-columns: 1fr;
  }

  .steps-row li {
    padding: 1rem 1rem 1rem 3.6rem;
  }

  .steps-row li::before {
    left: 1rem;
    top: 1rem;
  }

  /* Proof strip: even 3 columns */
  .trust ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    width: 100%;
  }

  .trust li {
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.25;
  }

  .trust strong {
    font-size: 1.15rem;
  }

  .trust-source {
    width: 100%;
    text-align: center;
  }

  /* Footer socials: two columns */
  .footer-social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
  }

  .file-btn {
    width: 100%;
  }
}
