/* Kids Kicks Contest — Fifth Third Bank x Detroit Lions */
:root {
  /* Fifth Third consumer palette */
  --opal: #0064D1;
  --emerald: #26D07C;
  --marble: #FFFFFF;
  --topaz: #78C8F9;
  --azurite: #1D4094;
  --lapis: #00205B;
  --moonstone: #696969;
  --onyx: #0A0F0F;
  --pearl: #E8E8E8;
  --citrine: #FEE64F;
  --fire-opal: #FF1C1C;
  /* Detroit Lions */
  --honolulu: #0076B6;
  --silver: #B0B7BC;
  /* Semantic */
  --bg: var(--marble);
  --bg-alt: #F4F6F9;
  --ink: #14213D;
  --ink-soft: #4A5568;
  --line: #D9DEE7;
  --accent: var(--opal);
  --accent-hover: var(--azurite);
  --hero-navy: #061B3F;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 32, 91, 0.10);
  --font: "Open Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--marble); color: var(--ink); padding: .5rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Header */
.site-header { background: var(--marble); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand-row { display: flex; align-items: center; gap: 1.25rem; }
.brand-row img { height: 34px; width: auto; }
.brand-row img.lions-mark { height: 40px; }
.brand-row .divider { width: 1px; height: 32px; background: var(--line); }
.site-nav { display: flex; gap: 1.25rem; font-weight: 600; font-size: .95rem; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a:hover { color: var(--accent); }
@media (max-width: 560px) {
  .brand-row img { height: 26px; }
  .brand-row img.lions-mark { height: 30px; }
  .site-nav { display: none; }
}

/* Hero */
.hero {
  position: relative;
  color: var(--marble);
  background: var(--hero-navy);
  overflow: hidden;
  isolation: isolate;
}
.hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(4, 20, 50, .92) 0%, rgba(4, 20, 50, .72) 38%, rgba(4, 20, 50, .15) 62%, rgba(4, 20, 50, 0) 80%);
}
.hero .wrap { min-height: min(82vh, 760px); display: flex; align-items: center; padding-block: 4.5rem; }
.hero-copy { max-width: 36rem; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--topaz); margin-bottom: 1rem; }
.hero p.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #E6EDF7; max-width: 32rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin-top: 1.75rem; }
.hero-meta { margin-top: 1.5rem; font-size: .95rem; color: #C9D6EA; }
@media (max-width: 760px) {
  .hero-img { object-position: 78% 50%; opacity: .55; }
  .hero::after { background: linear-gradient(180deg, rgba(4, 20, 50, .85) 0%, rgba(4, 20, 50, .65) 100%); }
  .hero .wrap { min-height: 0; padding-block: 3.5rem 3rem; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: background .15s, color .15s, border-color .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--marble); }
.btn-primary:hover { background: var(--accent-hover); color: var(--marble); }
.btn-ghost { background: transparent; color: var(--marble); border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { border-color: var(--marble); color: var(--marble); background: rgba(255, 255, 255, .08); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--marble); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* Sections */
section { padding-block: 4.5rem; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 42rem; margin-bottom: 2.25rem; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.step {
  background: var(--marble); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow);
}
.step .num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--lapis); color: var(--marble); font-weight: 800; margin-bottom: 1rem; font-size: 1.1rem;
}
.step p { color: var(--ink-soft); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.about-art { display: grid; place-items: center; }
.about-art img { max-width: 460px; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 32, 91, .25); }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } .about-art img { max-width: 100%; } }

/* Form */
.form-card {
  background: var(--marble); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2.5rem); box-shadow: var(--shadow); max-width: 820px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.grid-initial { display: grid; grid-template-columns: 1fr 140px; gap: 1.1rem; }
@media (max-width: 600px) { .grid-2, .grid-initial { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
.field .hint { color: var(--moonstone); font-size: .85rem; margin: .3rem 0 0; }
.req { color: var(--fire-opal); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--marble);
  border: 1.5px solid #B9C2D0; border-radius: 10px; padding: .75rem .9rem;
}
textarea { min-height: 170px; resize: vertical; }
input:focus, select:focus, textarea:focus, .file-drop:focus-within { outline: 3px solid rgba(0, 100, 209, .35); outline-offset: 1px; border-color: var(--accent); }
.field.invalid input, .field.invalid select, .field.invalid textarea, .field.invalid .file-drop { border-color: var(--fire-opal); }
.error-msg { color: #B80000; font-size: .88rem; margin-top: .35rem; display: none; }
.field.invalid .error-msg { display: block; }
.counter { text-align: right; font-size: .85rem; color: var(--moonstone); margin-top: .3rem; }
.counter.over { color: #B80000; font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; }
legend { font-weight: 700; font-size: 1.05rem; margin-bottom: .75rem; padding: 0; }
.form-section { padding-top: 1.25rem; margin-top: 1.25rem; border-top: 1px solid var(--line); }

.file-drop {
  border: 2px dashed #B9C2D0; border-radius: 12px; padding: 1.25rem; text-align: center;
  background: var(--bg-alt); position: relative; cursor: pointer;
}
.file-drop.dragover { border-color: var(--accent); background: #EAF2FD; }
.file-drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-drop .file-cta { font-weight: 600; color: var(--accent); }
.file-drop .file-hint { color: var(--moonstone); font-size: .88rem; margin: .25rem 0 0; }
.file-preview { display: none; align-items: center; gap: 1rem; margin-top: .9rem; text-align: left; }
.file-preview.show { display: flex; }
.file-preview img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: var(--marble); }
.file-preview .pdf-badge { width: 96px; height: 96px; border-radius: 10px; display: grid; place-items: center; background: var(--lapis); color: var(--marble); font-weight: 800; }
.file-preview .file-meta { font-size: .9rem; color: var(--ink-soft); word-break: break-all; }
.file-preview button { background: none; border: 0; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; padding: 0; }

.check { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .9rem; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin: .15rem 0 0; flex: none; accent-color: var(--accent); }
.check label { font-weight: 500; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.form-status { font-size: .95rem; color: var(--ink-soft); }
.form-status.error { color: #B80000; font-weight: 600; }
.progress { height: 6px; background: var(--pearl); border-radius: 3px; overflow: hidden; margin-top: 1rem; display: none; }
.progress.show { display: block; }
.progress > div { height: 100%; width: 0; background: var(--accent); transition: width .2s; }

.success-card { text-align: center; padding: 2.5rem 1.5rem; }
.success-card .check-icon {
  width: 72px; height: 72px; border-radius: 50%; background: var(--emerald); display: grid; place-items: center; margin: 0 auto 1.25rem;
}
.success-card .check-icon svg { width: 36px; height: 36px; }
.closed-card { text-align: center; padding: 2.5rem 1.5rem; }
.hp { position: absolute; left: -5000px; top: 0; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--lapis); color: #C9D6EA; padding-block: 3rem 2rem; font-size: .9rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.footer-logos { display: flex; align-items: center; gap: 1.5rem; }
.footer-logos img { height: 38px; width: auto; }
.footer-logos img.lions-mark { height: 46px; }
.footer-logos .divider { width: 1px; height: 32px; background: rgba(255, 255, 255, .3); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { color: var(--marble); font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { padding-top: 1.25rem; max-width: 60rem; }
.footer-legal p { margin-bottom: .6em; }

/* Rules page */
.page-hero { background: var(--lapis); color: var(--marble); padding-block: 3.5rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: #C9D6EA; margin: 0; }
.rules { max-width: 52rem; }
.rules h2 { font-size: 1.35rem; margin-top: 2.25rem; }
.rules ol, .rules ul { padding-left: 1.4rem; }
.rules li { margin-bottom: .5rem; }
.rules .tbd { background: var(--citrine); padding: 0 .3em; border-radius: 4px; font-weight: 600; }
.notice { background: #FFF6CC; border: 1px solid #E8D56B; border-radius: 10px; padding: .9rem 1.1rem; margin-bottom: 1.5rem; font-size: .95rem; }
.notice[hidden] { display: none; }
.notice-info { background: #EAF2FD; border: 1px solid #B9D4F7; border-radius: 10px; padding: .9rem 1.1rem; margin-bottom: 1.5rem; font-size: .95rem; }
.notice-info[hidden] { display: none; }

/* Logos page */
.logos { max-width: 72rem; }
.logos-intro { max-width: 52rem; margin-bottom: 2.5rem; }
.logos-intro p:first-child { font-size: 1.1rem; }
.logos h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.logo-card { background: var(--marble); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.logo-preview { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 1.5rem; background-color: #F3F5F9; background-image: linear-gradient(45deg, #E8EBF1 25%, transparent 25%, transparent 75%, #E8EBF1 75%), linear-gradient(45deg, #E8EBF1 25%, transparent 25%, transparent 75%, #E8EBF1 75%); background-size: 20px 20px; background-position: 0 0, 10px 10px; }
.logo-preview img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.logo-meta { padding: 1rem 1.1rem 1.25rem; display: grid; gap: .4rem; }
.logo-meta h3 { font-size: 1.05rem; margin: 0; }
.logo-meta p { margin: 0; color: var(--moonstone); font-size: .88rem; }
.logo-meta .btn { margin-top: .5rem; justify-self: start; padding: .55rem 1.1rem; font-size: .92rem; }
.alt-link { font-size: .85rem; font-weight: 600; margin-top: .25rem; }
.logo-card-soon .logo-preview { background: var(--pearl); color: var(--moonstone); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; }
.logos-note { margin-top: 2.5rem; color: var(--ink-soft); font-size: .9rem; max-width: 52rem; }
