@font-face {
  font-family: Nunito;
  src: url('/assets/nunito.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: Nunito;
  src: url('/assets/nunito-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 700 1000;
  font-display: swap;
}

:root {
  --brand-red: #fd0100;
  --brand-yellow: #fdcb00;
  --red: #a50006;
  --red-dark: #730408;
  --burgundy: #4c0708;
  --cream: #fff8ee;
  --paper: #fffdfa;
  --ink: #451315;
  --muted: #755153;
  --line: #ecdcd3;
  --white: #fff;
  color: var(--ink);
  background: var(--cream);
  font-family: Nunito, 'Trebuchet MS', sans-serif;
  line-height: 1.5;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, dl, dd, figure { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled, fieldset:disabled button { cursor: default; }
:focus-visible { outline: 3px solid #bc4600; outline-offset: 4px; }
.campaign-hero :focus-visible, .prize-strip :focus-visible { outline-color: #fff2c2; }
.container { width: min(100% - 36px, 1100px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: .6rem; left: .6rem; padding: .65rem 1rem; border-radius: 8px; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.button { display: inline-flex; gap: .75rem; min-height: 51px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 100px; padding: .72rem 1.27rem; font-size: .97rem; font-weight: 900; text-align: center; text-decoration: none; line-height: 1.2; }
.button > span { font-size: 1.25em; line-height: 1; }
.button-yellow { color: #580b04; border-color: #ffed96; background: linear-gradient(180deg, #ffe371, var(--brand-yellow) 78%); box-shadow: 0 3px 0 #c57e00; }
.button-yellow:hover { background: #ffe37a; }
.button-red { color: var(--white); background: var(--red); }
.button-red:hover { background: var(--red-dark); }
.button:disabled, fieldset:disabled .button { color: #6c4949; background: #efded7; box-shadow: none; }

.campaign-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: 24px;
  color: var(--cream);
  background:
    radial-gradient(ellipse at 74% 74%, #ed3a1180, transparent 45%),
    radial-gradient(ellipse at 36% 47%, color-mix(in srgb, var(--brand-red) 63%, var(--red-dark)), transparent 71%),
    linear-gradient(117deg, #880307, #a50007 48%, #580503);
}

.campaign-hero::before, .campaign-hero::after { content: ''; position: absolute; z-index: -1; pointer-events: none; width: clamp(98px, 13vw, 196px); height: clamp(112px, 15vw, 213px); background: radial-gradient(ellipse at 58% 37%, #ffe260, var(--brand-yellow) 67%, #ffae00); }
.campaign-hero::before { top: 0; left: 0; border-radius: 0 0 100% 0; transform: translate(-23%, -33%) skewY(-16deg); box-shadow: 0 1px 17px #ffc41855; }
.campaign-hero::after { right: 0; bottom: 0; border-radius: 100% 0 0 0; transform: translate(49%, 59%) skewY(-17deg); }
.hero-brand { position: relative; display: grid; justify-items: center; }
.brand-plaque { display: grid; justify-items: center; align-content: start; width: 173px; padding: 6px 13px 19px; background: #fefdfd; border-radius: 0 0 32px 32px; box-shadow: 0 5px 15px #4202003a; }
.brand-plaque img { width: 104px; }
.unit-pill { z-index: 1; display: flex; align-items: center; gap: .42rem; margin-top: -16px; padding: .24rem .65rem; color: #fff9ee; background: var(--red); border: 1px solid #ffe3b4; border-radius: 100px; font-weight: 850; font-size: .76rem; }
.unit-pill .icon { color: var(--brand-yellow); }
.hero-grid { display: grid; justify-items: center; text-align: center; padding-top: 28px; }
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.hero-copy h1 { font-size: clamp(2.08rem, 7.7vw, 3.4rem); font-style: italic; font-weight: 1000; line-height: 1.03; letter-spacing: -.054em; }
.hero-copy h1 > span { display: block; }
.hero-copy mark { display: inline-block; position: relative; isolation: isolate; color: var(--red-dark); background: transparent; padding: 0 .12em; margin-inline: -.04em .02em; }
.hero-copy mark::before { position: absolute; content: ''; z-index: -1; inset: .10em -.035em .02em; background: var(--brand-yellow); border-radius: 25% 19% 27% 17% / 55% 44% 56% 46%; transform: rotate(-5deg) skewX(-5deg); }
.hero-heart { display: inline-block; color: #ffdc4c; font: 800 .72em/1 Nunito, sans-serif; transform: rotate(-15deg) translateY(-.02em); vertical-align: .05em; }
.hero-copy > p { margin: 15px auto 0; max-width: 36ch; font-size: clamp(.98rem, 3.7vw, 1.22rem); line-height: 1.43; }
.hero-copy strong { color: #ffe064; font-weight: 900; }

.mystery {
  position: relative;
  width: min(100%, 257px);
  aspect-ratio: 490 / 437;
  container-type: inline-size;
  margin: -6px 0 -4px;
  mask-image: linear-gradient(black 84%, transparent 99%);
}
.mystery-glow { position: absolute; inset: 2% 0 -3%; background: radial-gradient(ellipse at 52% 51%, #ffbf43a6, #ff6b20a6 33%, #ee300000 70%); }
.mystery-orbit { position: absolute; inset: 27% 7% 24%; border: 2px solid #ffc7538a; border-top-color: transparent; border-left-color: #ffcd58bd; border-right-color: #ffcd5884; border-radius: 50%; transform: rotate(-15deg); mask-image: linear-gradient(black, transparent 91%); }
.mystery-figure { position: absolute; inset: 0; filter: drop-shadow(0 0 2px #fff8c9) drop-shadow(0 0 5px #ffcd51) drop-shadow(0 0 13px #ff7e11); }
.figure-head, .figure-body { position: absolute; display: block; }
.figure-body { z-index: 1; inset: 61% 16% -15%; background: radial-gradient(ellipse at 50% 22%, #680505, #8d0a0a 52%, #9c1609); border: clamp(2px, .7cqw, 4px) solid #fff4b5; border-bottom: 0; border-radius: 51% 49% 0 0 / 56% 56% 0 0; }
.figure-head { z-index: 2; inset: 12% 23% 33%; border: clamp(2px, .7cqw, 4px) solid #fff4b5; border-radius: 50% 50% 45% 45% / 55% 55% 37% 37%; background: radial-gradient(ellipse at 49% 49%, #740b04 17%, #670603 63%, #9a2405); }
.figure-head::before, .figure-head::after { position: absolute; content: ''; top: 49%; width: 23%; height: 40%; background: linear-gradient(90deg, #ac2c07, #710903 65%); border: inherit; border-right: 0; border-radius: 75% 18% 12% 65%; transform: rotate(12deg); left: -14%; }
.figure-head::after { left: auto; right: -14%; transform: scaleX(-1) rotate(12deg); }
.mystery-question { position: absolute; z-index: 3; top: 14%; left: 0; right: 0; color: #ffe16a; background: linear-gradient(#fff9c5 30%, #ffdf58 59%, #ffbf05 87%); background-clip: text; -webkit-text-fill-color: transparent; font-weight: 1000; font-style: italic; font-size: 45cqw; line-height: 1.24; text-align: center; letter-spacing: -.05em; -webkit-text-stroke: .35cqw #fff0a1; filter: drop-shadow(0 0 1px #ffc121) drop-shadow(0 3px 5px #ffa81388); }
.mystery-rays { position: absolute; inset: 10% 10% auto auto; width: 14%; height: 18%; z-index: 3; transform: rotate(27deg); filter: drop-shadow(0 0 5px #ffae22); }
.mystery-rays i { position: absolute; top: 5%; left: 47%; width: 12%; height: 62%; border-radius: 60% 60% 52% 52%; background: #fff0a5; }
.mystery-rays i:first-child { transform: translate(-175%, 29%) rotate(-27deg); height: 46%; }
.mystery-rays i:last-child { transform: translate(170%, 29%) rotate(29deg); height: 46%; }
.mystery-spark { position: absolute; z-index: 3; width: 5%; aspect-ratio: 1; background: #ffdf6c; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
.spark-left { top: 36%; left: 12%; }
.spark-right { right: 10%; top: 65%; width: 3.4%; }

@supports (clip-path: shape(from 0% 0%, line to 100% 100%, close)) {
  .mystery-figure { background: transparent; }
  .mystery-figure::before, .mystery-figure::after {
    position: absolute;
    content: '';
    inset: 0;
    clip-path: shape(from 9% 100%, curve to 34% 67% with 12% 86% / 20% 73%, curve to 24% 58% with 30% 65% / 26% 62%, curve to 19% 37% with 12% 57% / 12% 46%, curve to 50% 12% with 22% 22% / 36% 12%, curve to 82% 38% with 66% 12% / 80% 22%, curve to 77% 60% with 93% 47% / 92% 57%, curve to 66% 68% with 74% 64% / 70% 67%, curve to 92% 100% with 81% 76% / 90% 87%, close);
  }
  .mystery-figure::before { background: linear-gradient(#fff9d0, #fff2ab 73%, #ffd35e00); }
  .mystery-figure::after { inset: 3.2% 1.4% -.8%; background: radial-gradient(ellipse at 49% 42%, #6f0b03 17%, #500603 44%, #a01508 82%); }
  .figure-head, .figure-body { display: none; }
}

.invitation { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 13px 11px; padding: 15px; border: 1px solid #fff9df; border-radius: 22px; color: var(--red-dark); background: linear-gradient(101deg, #ffe3bb, #fff2db 48%, #ffdfb4); box-shadow: 0 5px 14px #49040046; }
.invitation-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--red-dark); background: #fff9e7; }
.invitation-icon .icon { font-size: 1.45rem; }
.invitation p { line-height: 1.24; font-weight: 750; font-size: .92rem; }
.invitation strong { display: block; margin-top: .15em; font-size: 1.12rem; font-weight: 1000; font-style: italic; }
.invitation .button { grid-column: 1 / -1; }

.prize-strip { padding-block: 23px; color: var(--cream); background: linear-gradient(107deg, #750205, #960308 54%, #730308); border-block: 1px solid #ffba6e5c; }
.prize-inner { display: grid; gap: 17px; }
.prize-main, .prize-deadline { display: flex; align-items: center; gap: 13px; }
.prize-deadline { padding-top: 16px; border-top: 1px solid #ffe59759; }
.prize-icon { display: grid; place-items: center; width: 44px; height: 44px; color: #ffda46; border: 1px solid #f5a4555c; border-radius: 13px; background: #ffb83c12; flex: none; }
.prize-icon .icon { font-size: 1.55rem; }
.prize-main h2 { font-size: clamp(1.22rem, 5vw, 1.75rem); font-weight: 1000; font-style: italic; line-height: 1.15; letter-spacing: -.017em; }
.prize-main mark { display: inline-block; margin-block: .07em; padding-inline: .24em; border-radius: 9px; background: var(--brand-yellow); color: var(--red-dark); }
.prize-main p { margin-top: .3rem; font-size: .9rem; color: #ffe5d2; }
.prize-deadline p, .prize-deadline small { display: block; font-size: .85rem; }
.prize-deadline strong { display: block; color: #ffdb49; font-style: italic; font-weight: 1000; font-size: 2rem; line-height: .99; }

.participation { padding: 50px 0 47px; scroll-margin-top: 1.5rem; background: radial-gradient(ellipse at 8% 11%, #fff0d9, transparent 66%), var(--cream); }
.participation-grid { display: grid; gap: 23px; }
.participation h2, .campaign-info h2 { color: var(--red-dark); font-size: clamp(2.15rem, 8.4vw, 3.55rem); font-style: italic; font-weight: 1000; line-height: .98; letter-spacing: -.055em; }
.participation h2 .title-emphasis { display: inline-block; color: var(--red); }
.title-heart { color: #bf5100; font-size: .6em; display: inline-block; transform: rotate(-14deg); }
.participation-intro > p { max-width: 33ch; margin-top: 13px; color: var(--muted); font-size: 1.04rem; }
.participation-intro .free-entry { display: inline-flex; align-items: center; gap: .43rem; margin-top: .9rem; color: var(--red-dark); font-size: .88rem; font-weight: 900; }
.free-entry .icon { color: var(--red); }
.form-status { margin-top: 16px; max-width: 400px; padding: .68rem .9rem; background: #fff0d1; border: 1px solid #f1d6aa; border-radius: 12px; color: #663a21; font-size: .9rem; }
.form-status strong { color: var(--red-dark); }
.entry-card { min-width: 0; padding: 19px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); box-shadow: 0 10px 32px #662c1010; }
fieldset { margin: 0; border: 0; padding: 0; min-width: 0; }
.field { margin-bottom: .84rem; }
.field label { display: block; margin-bottom: .32rem; font-size: .92rem; font-weight: 850; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 48px; padding: .58rem .72rem; color: var(--ink); background: var(--white); border: 1px solid #decac1; border-radius: 9px; font-size: 1rem; }
.field textarea { resize: vertical; }
.field input::placeholder { color: #826768; }
.field input:disabled { opacity: 1; background: #f9f3ed; color: #6b5353; }
.field [aria-invalid='true'] { border-color: var(--red); }
.agreements { margin: 10px 0 15px; }
.check-row { display: flex; gap: .62rem; align-items: center; min-height: 36px; font-size: .91rem; }
.check-row input { width: 20px; height: 20px; margin: 0; accent-color: var(--red); flex: none; }
.check-row a, .text-link, .legal-page a { color: var(--red-dark); font-weight: 850; text-decoration-thickness: 1px; text-underline-offset: .17em; }
.check-row label { cursor: pointer; padding-block: .28em; }
.submit-button { width: 100%; }
.form-error { margin: .45rem 0 .8rem; padding: .55rem .7rem; border-radius: 7px; background: #fff0ea; color: var(--red-dark); font-weight: 800; }
.success-panel { padding: 12px 0; }
.success-symbol { display: inline-grid; place-items: center; border-radius: 100%; width: 52px; height: 52px; color: var(--red-dark); background: var(--brand-yellow); font-size: 1.8rem; }
.success-panel h3 { margin-top: .65rem; color: var(--red); font-size: clamp(1.55rem, 5vw, 2.25rem); font-style: italic; font-weight: 1000; line-height: 1.08; }
.success-panel p { margin-top: .5rem; }
.success-panel .success-signoff { margin-top: 1rem; }
.success-panel .button { margin-top: 1rem; }

.campaign-info { background: var(--paper); padding-block: 40px 43px; border-top: 1px solid var(--line); }
.campaign-info h2 { font-size: clamp(1.85rem, 5.1vw, 2.8rem); }
.campaign-info dl { display: grid; gap: 18px; margin-block: 21px; }
.campaign-info dt { display: flex; align-items: center; gap: .55rem; font-size: 1.03rem; font-weight: 900; }
.campaign-info dt .icon { color: var(--red); }
.campaign-info dd, .info-deadline { margin-top: .26rem; max-width: 38ch; color: var(--muted); }
.info-deadline { margin-bottom: .9rem; max-width: none; }
.text-link { display: inline-block; }
.site-footer { border-top: 1px solid var(--line); background: #fff1e2; padding: 24px 0; font-size: .91rem; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 13px 16px; align-items: center; }
.footer-logo { display: inline-block; width: 84px; padding: 5px 6px; border-radius: 10px; background: #fefdfd; }
.footer-inner p { color: var(--muted); }
.footer-inner p strong { color: var(--ink); }
.footer-inner nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem 1rem; color: var(--red-dark); font-weight: 800; }
.footer-inner nav a { text-underline-offset: .15em; }

.simple-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.simple-header .container { display: flex; gap: 1rem; align-items: center; justify-content: space-between; min-height: 80px; color: var(--red-dark); font-weight: 850; }
.legal-page { width: min(100% - 36px, 740px); margin: 35px auto 55px; padding: clamp(20px, 5vw, 50px); background: var(--paper); border: 1px solid var(--line); border-radius: 20px; }
.legal-page h1 { color: var(--red-dark); font-weight: 1000; font-style: italic; font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.05; }
.legal-page h2 { margin: 1.4rem 0 .25rem; color: var(--red-dark); font-size: 1.2rem; }
.legal-page p { margin: .55rem 0; }
.legal-page .legal-version { color: var(--muted); margin-top: .8rem; }
.legal-detail { white-space: pre-wrap; overflow-wrap: anywhere; }

.icon { position: relative; display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; flex: none; }
.icon::before, .icon::after, .icon i, .icon i::before, .icon i::after { position: absolute; content: ''; display: block; }
.icon-pin::before { inset: 4% 19% 26%; border: .12em solid currentColor; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.icon-pin::after { inset: 25% 41% 56%; background: currentColor; border-radius: 50%; }
.icon-calendar::before { inset: 18% 5% 6%; border: .085em solid currentColor; border-radius: .14em; }
.icon-calendar::after { inset: 41% 7% auto; border-top: .085em solid currentColor; }
.icon-calendar i { top: 5%; left: 28%; right: 28%; height: .24em; border-inline: .085em solid currentColor; border-radius: .04em; }
.icon-gift::before { inset: 46% 12% 5%; border: .085em solid currentColor; border-radius: 0 0 .12em .12em; }
.icon-gift::after { inset: 33% 4% 46%; border: .085em solid currentColor; border-radius: .08em; }
.icon-gift i { top: 35%; bottom: 6%; width: .085em; left: calc(50% - .042em); background: currentColor; }
.icon-gift i::before, .icon-gift i::after { bottom: 98%; right: 52%; width: .34em; height: .25em; border: .075em solid currentColor; border-radius: 54% 50% 0 45%; transform: rotate(19deg); }
.icon-gift i::after { right: auto; left: 52%; transform: scaleX(-1) rotate(19deg); }
.icon-bulb::before { inset: 5% 20% 24%; border: .09em solid currentColor; border-radius: 52% 48% 44% 44% / 44% 44% 64% 64%; background: #ffe283; }
.icon-bulb::after { inset: 82% 38% 9%; border-block: .085em solid currentColor; border-radius: .03em; transform: rotate(-7deg); }
.icon-check::before { inset: 5%; border: .08em solid currentColor; border-radius: 50%; }
.icon-check::after { inset: 27% 32% 35%; border-right: .09em solid currentColor; border-bottom: .09em solid currentColor; transform: rotate(45deg); }
.icon-spark { background: currentColor; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }

@media (min-width: 640px) {
  .container { width: min(100% - 64px, 1100px); }
  .brand-plaque { width: 208px; padding-top: 7px; }
  .brand-plaque img { width: 115px; }
  .unit-pill { font-size: .86rem; padding-inline: .85rem; }
  .hero-grid { grid-template-columns: 1.12fr .88fr; align-items: center; text-align: left; gap: 8px; padding-top: 17px; }
  .hero-copy { justify-self: stretch; }
  .hero-copy h1 { font-size: clamp(2.17rem, 5.05vw, 4.3rem); }
  .hero-copy > p { margin-inline: 0; }
  .mystery { width: min(100%, 490px); margin: 0; }
  .invitation { grid-template-columns: auto 1fr auto; gap: 15px; padding: 13px 17px; border-radius: 24px; }
  .invitation .button { grid-column: auto; }
  .invitation strong { font-size: 1.2rem; }
  .prize-inner { grid-template-columns: 1fr auto; align-items: center; gap: 26px; }
  .prize-deadline { padding: 2px 0 2px 22px; border-top: 0; border-left: 1px solid #ffe59759; }
  .prize-main p { max-width: 64ch; }
  .participation-grid { grid-template-columns: .83fr 1fr; gap: 29px; }
  .participation h2 { font-size: clamp(2.15rem, 4.2vw, 3.55rem); }
  .participation-intro { padding-top: 12px; }
  .entry-card { padding: 24px; }
  .campaign-info dl { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-inner { grid-template-columns: auto 1fr auto; }
  .footer-inner nav { grid-column: auto; }
}

@media (min-width: 960px) {
  .campaign-hero { padding-bottom: 28px; }
  .brand-plaque { width: 238px; padding-top: 7px; padding-bottom: 22px; }
  .brand-plaque img { width: 133px; }
  .unit-pill { margin-top: -17px; padding: .28rem 1rem; }
  .hero-grid { grid-template-columns: 1.16fr 1fr; gap: 9px; padding-top: 7px; }
  .hero-copy h1 { font-size: clamp(3.1rem, 5.25vw, 4.65rem); }
  .hero-copy > p { margin-top: 25px; }
  .mystery { max-width: 454px; justify-self: end; margin-right: 15px; margin-bottom: -10px; }
  .invitation { gap: 20px; padding: 13px 22px; margin-top: -7px; }
  .invitation-icon { width: 51px; height: 51px; }
  .invitation-icon .icon { font-size: 1.7rem; }
  .invitation p { font-size: 1.08rem; }
  .invitation strong { font-size: 1.48rem; }
  .button-yellow { padding-inline: 1.5rem; }
  .prize-strip { padding-block: 21px; }
  .prize-inner { gap: 50px; }
  .prize-main, .prize-deadline { gap: 17px; }
  .prize-deadline { padding-left: 37px; min-width: 260px; }
  .prize-icon { width: 53px; height: 53px; }
  .prize-icon .icon { font-size: 1.85rem; }
  .prize-deadline strong { font-size: 2.35rem; }
  .participation { padding-block: 64px; }
  .participation-grid { grid-template-columns: 1fr 1.18fr; gap: 75px; }
  .entry-card { padding: 30px; }
  .campaign-info { padding-block: 51px; }
}

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