/* FishAngler · Holiday Gear Giveaway — shared styles
   Fonts: Instrument Serif loads from Google Fonts. Chromatic Pro, ABC Diatype Semi-Mono and
   Basis Grotesque are licensed: drop their webfont files into /fonts (names below) and they
   take over automatically. Until then the closest Google Fonts stand in. */

@font-face { font-family: "Chromatic Pro"; src: url("../fonts/ChromaticPro-GrotesqueRegular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Chromatic Pro"; src: url("../fonts/ChromaticPro-GrotesqueMedium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "ABC Diatype Semi-Mono"; src: url("../fonts/ABCDiatypeSemi-Mono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Basis Grotesque"; src: url("../fonts/BasisGrotesquePro-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-sans: "Chromatic Pro", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "ABC Diatype Semi-Mono", "DM Mono", ui-monospace, monospace;
  --font-display: "Basis Grotesque", "Inter", system-ui, sans-serif;

  --green-900: #071f07;
  --green-800: #23403e;
  --mint: #a9dbc1;
  --cream: #fffefa;
  --cream-2: #fbf8f3;
  --sand: #f5f2ed;
  --ink: #27241f;
  --gray: #646b6c;
  --line: #e1e3e3;
  --teal: #07819e;
  --teal-dark: #066b84;
  --link: #077f9b;
  --cyan: #3fd9ff;
  --error: #b3261e;

  --radius-card: 16px;
  --radius-btn: 12px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); color: var(--ink); background: #fff; line-height: 1.5; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap--wide { max-width: 1440px; padding: 0 73px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 24px;
  border: 0; border-radius: var(--radius-btn); background: var(--teal); color: #fff; font: 500 16px/1 var(--font-sans);
  text-decoration: none; cursor: pointer; transition: background .15s ease; }
.btn:hover { background: var(--teal-dark); }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--cream); background: linear-gradient(160deg, var(--green-800) 0%, var(--mint) 100%); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__inner { position: relative; display: flex; flex-direction: column; min-height: 751px; max-width: 1440px; padding: 40px 60px; }
.hero__logo { display: block; width: 185px; margin: 0 auto 40px; color: #fff; }
.hero__grid { flex: 1; display: grid; grid-template-columns: minmax(0, 704fr) minmax(0, 596fr); gap: 20px; align-items: center; }
.eyebrow { margin: 0 0 23px; font: 400 15px/20.5px var(--font-mono); letter-spacing: -0.003em; text-transform: uppercase; }
.hero__prizes { width: 244px; height: auto; margin-bottom: 23px; }
.hero h1 { max-width: 676px; margin: 0 0 20px; font: 400 64px/68px var(--font-serif); letter-spacing: -0.005em; }
.hero__dates { margin: 0 0 20px; font-size: 20px; line-height: 30px; }
.hero__brands { width: 454px; height: auto; }

/* Form card */
.form-card { background: #fff; color: var(--ink); border-radius: var(--radius-card); padding: 40px; box-shadow: 0 20px 60px rgba(7, 31, 7, .18); scroll-margin-top: 24px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; line-height: 18px; font-weight: 400; color: var(--gray); }
.field input { width: 100%; height: 56px; padding: 0 16px; border: 1px solid #e3e6e7; border-radius: 12px; font: 400 16px var(--font-sans); color: var(--ink); background: #fff; }
.field input::placeholder { color: #959c9e; }
.field input[aria-invalid="true"] { border-color: var(--error); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 20px; font-size: 14px; line-height: 20px; }
.check a { color: inherit; }
.check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--teal); }
.form-links { margin: 0 0 20px; font-size: 14px; line-height: 20px; }
.form-links a { text-decoration: none; }
.form-links a:hover { text-decoration: underline; }
.form-error { margin: 0 0 16px; color: var(--error); font-size: 14px; }
.form-card .btn { font-size: 18px; line-height: 28px; }
.hp { position: absolute; left: -9999px; }
.form-state h2 { margin: 0 0 12px; font: 400 40px/1.05 var(--font-serif); color: var(--green-900); }
.form-state p { margin: 0 0 12px; color: var(--gray); }

.banner { padding: 14px 24px; text-align: center; font-weight: 500; background: var(--cyan); color: var(--green-900); }
.banner--warn { background: #fde7b0; }

/* ---------- Prizes ---------- */
.prizes { padding: 112px 0; background: #fff; }
.section-title { margin: 0 0 40px; font: 700 40px/1.1 var(--font-display); color: var(--green-900); letter-spacing: -0.01em; }
.prizes .section-title { font: 500 40px/44px var(--font-sans); letter-spacing: -0.005em; }
.prize-grid { list-style: none; margin: 0; padding: 0; max-width: 1248px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.prize { position: relative; min-height: 420px; padding: 24px; display: flex; flex-direction: column; background: var(--sand); border-radius: var(--radius-card); }
/* Brand logos sit over the top-left of the product area, as in the design */
.prize__brand { position: absolute; z-index: 2; height: auto; }
.prize__brand--yeti { top: 23.5px; left: 15px; width: 54px; }
.prize__brand--rapala { top: 15px; left: 24.4px; width: 60.4px; }
.prize__brand--yamamoto { top: 19px; left: 20px; width: 95px; }
.prize__brand--catch-co { top: 19px; left: 20px; width: 92px; }
/* Product composition: a 247.5 × 220 box; every product shot is placed in % of it, so it scales with the card */
.prize__media { position: relative; aspect-ratio: 247.5 / 220; margin-bottom: 16px; }
.prize__clip { position: absolute; inset: 0; overflow: hidden; }
.prize__shot { position: absolute; max-width: none; }
.shot--yeti-cooler { left: 7.01%; top: 11.36%; width: 85.98%; height: 92.33%; }
.shot--rapala-kit { left: 2.27%; top: 23.25%; width: 53.7%; height: 66%; }
.shot--rapala-rippin { left: 57.98%; top: 28.64%; width: 29.9%; height: 19.09%; object-fit: cover; }
.shot--rapala-dives { left: 57.98%; top: 50%; width: 30.3%; height: 19.09%; object-fit: cover; }
.shot--rapala-shad { left: 56.77%; top: 70.91%; width: 32.32%; height: 19.09%; object-fit: cover; }
.shot--yamamoto-ika { left: -3.01%; top: 10.86%; width: 53.17%; height: 60.95%; }
.shot--yamamoto-senko { left: 49.7%; top: 14.09%; width: 50.02%; height: 56.2%; object-fit: cover; }
.shot--yamamoto-wacky { left: 31.92%; top: 42.27%; width: 58.62%; height: 64.84%; object-fit: cover; }
.shot--catch-co-box { left: 6.56%; top: 8.06%; width: 86.87%; height: 94.24%; }
.prize__label { margin: 0 0 4px; font: 400 12px/16px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.prize__text { margin: 0; font-size: 16px; line-height: 24px; }

/* ---------- FAQ ---------- */
.faq { padding: 112px 0; background: #fff; }
.faq .section-title { text-align: center; margin-bottom: 40px; }
.faq__list { max-width: 1294px; margin: 0 auto; }
.faq details + details { margin-top: 8px; padding-top: 8px; border-top: 0.5px solid #000; }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 32px; align-items: center; padding: 24px; cursor: pointer;
  font: 500 18px/28px var(--font-sans); color: var(--green-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 24px; height: 24px; background: url("../assets/icon-plus.svg") center / 24px 24px no-repeat; }
.faq details[open] summary::after { background-image: url("../assets/icon-minus.svg"); }
.faq .answer { padding: 0 24px 24px; margin: 0; color: var(--gray); font-size: 16px; line-height: 24px; }

/* ---------- Footer ---------- */
.footer { background: var(--green-800); color: var(--cream-2); padding: 64px 0 40px; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(251, 248, 243, .4); }
.footer__brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer__logo { width: 180px; color: var(--cream-2); }
.footer__tagline { margin: 0 0 24px; font-size: 17px; }
.footer__links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col h2 { margin: 0 0 16px; font: 400 13px/18px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__col a { color: var(--cream-2); text-decoration: none; font-size: 14px; }
.footer__col a:hover { text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 24px; }
.footer__legal { margin: 0; font-size: 14px; }
.badges { display: flex; gap: 16px; }
.badges img { height: 44px; width: auto; }

/* ---------- Rules page ---------- */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .wrap { padding-top: 28px; padding-bottom: 28px; }
.site-header__logo { display: inline-block; width: 180px; color: var(--green-800); }
.rules { padding: 96px 0 120px; }
.rules__col { max-width: 880px; }
.rules h1 { margin: 0 0 12px; font: 800 40px/1.1 var(--font-display); letter-spacing: .01em; color: var(--green-900); }
.rules__subtitle { margin: 0 0 12px; font: 500 22px/28px var(--font-sans); color: var(--green-900); }
.rules__date { margin: 0 0 40px; font-size: 14px; color: var(--gray); }
.rules hr { border: 0; border-top: 1px solid var(--line); margin: 0 0 40px; }
.rules__lead { margin: 0 0 40px; font: 500 20px/30px var(--font-sans); color: var(--green-900); }
.rules section { margin-bottom: 40px; }
.rules h2 { margin: 0 0 12px; font: 500 22px/28px var(--font-sans); color: var(--green-900); }
.rules section p { margin: 0; font-size: 16px; line-height: 24px; color: var(--gray); }
.rules__list { margin: 0; padding: 0; list-style: none; font-size: 16px; line-height: 24px; color: var(--gray); }
.rules__list li::before { content: "• "; }
.rules section .rules__list + p { margin-top: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .prize-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wrap--wide { padding: 0 40px; }
}
@media (max-width: 960px) {
  .hero__inner { min-height: 0; padding: 40px 24px 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 48px; line-height: 52px; }
}
@media (max-width: 720px) {
  .wrap--wide { padding: 0 24px; }
  .prize-grid { gap: 16px; }
  .prizes, .faq { padding: 64px 0; }
  .section-title, .prizes .section-title { font-size: 30px; line-height: 36px; margin-bottom: 28px; }
  .hero h1 { font-size: 40px; line-height: 44px; }
  .hero__inner { padding: 32px 20px 48px; }
  .form-card { padding: 28px 20px; }
  .faq summary { padding: 20px 4px; font-size: 17px; }
  .faq .answer { padding: 0 4px 20px; }
  .footer__links { gap: 40px; }
  .rules { padding: 56px 0 80px; }
  .rules h1 { font-size: 32px; }
}
@media (max-width: 560px) {
  .prize-grid { grid-template-columns: 1fr; }
  .prize { min-height: 0; }
  .hero__brands { width: 100%; max-width: 454px; }
}

.todo { background: #ffe2b8; color: #8a3b00; padding: 0 3px; border-radius: 3px; }
