/* Bridger the Beaver — draft preview site
   FordFinds brand palette from the locked 2026-09-22 logo */

:root {
  --navy: #102B52;
  --blue: #123A70;
  --green: #217A30;
  --green-deep: #1A6428;
  --green-mid: #2D8735;
  --green-bright: #4AAB37;
  --lime: #73D844;
  --green-wash: #f1f8ee;
  --blue-soft: #e9eff7;
  --blue-wash: #f4f7fb;
  --white: #ffffff;
  --ink: #1a1a1a;
  --muted: #4a5560;
  --shadow: 0 8px 28px rgba(16, 43, 82, 0.10);
  --shadow-sm: 0 2px 10px rgba(16, 43, 82, 0.06);
  --radius: 16px;
  --header-h: 3.75rem;
  --draft-h: 2.25rem;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--navy);
  line-height: 1.55;
  padding-top: calc(var(--draft-h) + var(--header-h));
}

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

a { color: var(--blue); }

/* ----- Draft banner ----- */
.draft-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #8a1c1c;
  color: var(--white);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.45rem 0.75rem;
  min-height: var(--draft-h);
  line-height: 1.3;
}

/* ----- Header ----- */
.site-header {
  position: fixed;
  top: var(--draft-h);
  left: 0;
  right: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 1rem;
  min-height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--navy);
  min-width: 0;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.7rem;
}

.nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--green);
  outline: none;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  margin: 0;
  background: var(--navy);
}

.hero-art {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.hero-copy {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 1.15rem 1.15rem 1.5rem;
  position: relative;
}
.hero-copy::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 100%;
  height: 2.4rem;
  background: linear-gradient(180deg, rgba(16, 43, 82, 0) 0%, rgba(16, 43, 82, 0.55) 100%);
  pointer-events: none;
}

.hero-copy h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 7vw, 2.6rem);
  font-weight: 700;
  margin: 0 0 0.35rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 8px rgba(16, 43, 82, 0.35);
}

.hero-copy p {
  margin: 0;
  font-size: clamp(0.95rem, 3vw, 1.15rem);
  color: rgba(255, 255, 255, 0.92);
}

/* ----- Page backdrop (light, so the Christmas scene still reads) ----- */
.page {
  position: relative;
  background-color: #152a4a;
  background-image:
    linear-gradient(180deg, rgba(16, 43, 82, 0.55) 0%, rgba(16, 43, 82, 0.72) 100%),
    url("assets/christmas-downtown-canton.jpg");
  background-size: cover;
  background-position: center 40%;
  background-attachment: scroll;
  padding: 1.5rem 1rem 3rem;
}

@media (min-width: 800px) {
  .page {
    background-attachment: fixed;
    padding: 2.25rem 1.25rem 4rem;
  }
}

.wrap {
  max-width: 58rem;
  margin: 0 auto;
}

/* ----- Cards ----- */
.card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.55);
  margin-bottom: 1.15rem;
}

@media (min-width: 700px) {
  .card { padding: 1.75rem 1.7rem 1.85rem; }
}

.card h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: clamp(1.25rem, 3.5vw, 1.6rem);
  margin: 0 0 0.7rem;
  line-height: 1.25;
}

.card p {
  margin: 0 0 0.85rem;
  color: var(--ink);
}

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

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

/* ----- Video ----- */
.video-wrap {
  position: relative;
  width: min(100%, 22.5rem);
  margin: 1rem auto 0;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
  aspect-ratio: 9 / 16;
}

.video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

/* ----- Two forms side by side ----- */
.forms {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  margin-bottom: 1.15rem;
}

@media (min-width: 800px) {
  .forms { grid-template-columns: 1fr 1fr; }
  .forms .card { margin-bottom: 0; }
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--navy);
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 16px; /* prevents iOS zoom */
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(18, 58, 112, 0.22);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: var(--green);
}

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

.hint {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0.15rem 0 0;
}

.form-note {
  margin: 0.15rem 0 0;
  padding: 0.65rem 0.75rem;
  background: var(--green-wash);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--navy);
}

button[disabled],
.btn-disabled {
  display: inline-block;
  align-self: flex-start;
  margin-top: 0.2rem;
  padding: 0.75rem 1.15rem;
  border: 0;
  border-radius: 8px;
  background: #9aa5b1;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 650;
  cursor: not-allowed;
  min-height: 2.75rem;
}

/* ----- Calendar ----- */
.cal-intro { margin-bottom: 1rem; }

.events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.event {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.9rem;
  align-items: start;
  background: var(--blue-wash);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  border: 1px dashed rgba(18, 58, 112, 0.28);
}

.event-date {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.82rem;
  min-width: 6.5rem;
  line-height: 1.3;
}

.event-body { min-width: 0; }

.event-title {
  margin: 0 0 0.15rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.98rem;
}

.event-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.badge {
  display: inline-block;
  margin-right: 0.4rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #f3e3b0;
  color: #5a3d00;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  vertical-align: 0.08em;
  text-transform: uppercase;
}

/* ----- Footer ----- */
.site-footer {
  background: var(--white);
  color: var(--ink);
  padding: 2rem 1.15rem 2.4rem;
  text-align: center;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2.25rem;
  margin: 0 auto 1rem;
}

.footer-logo-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--navy);
}

.footer-logo {
  width: auto;
  object-fit: contain;
}

.footer-logo.ff {
  height: 4.75rem;
  max-width: min(240px, 70vw);
}

.footer-logo.hq {
  height: 2.85rem;
  max-width: min(200px, 55vw);
}

.logo-si {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.site-footer p {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.15rem;
  margin: 1rem 0 0.85rem;
}

.footer-links a {
  color: var(--navy);
  font-weight: 650;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--green);
  text-decoration: underline;
  outline: none;
}

.fineprint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* ----- A11y ----- */
.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 0.5rem;
  top: calc(var(--draft-h) + var(--header-h) + 0.4rem);
  z-index: 300;
  background: var(--white);
  color: var(--navy);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
