@font-face {
  font-family: Source;
  src: url("./source-sans3.ttf") format("truetype");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: Wide;
  src: url("./inter-wide.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
:root {
  --navy: #10212b;
  --orange: #ff784b;
  --cream: #f8edce;
  --ink: #151c19;
  --line: #583b2c;
  --display: Wide, Arial, sans-serif;
  --body: Source, Arial, sans-serif;
  --ease: cubic-bezier(.18,.84,.24,1);
}
* { box-sizing: border-box; }
body { margin: 0; font: 400 17px/1.35 var(--body); }
h1, h2, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.shell { width: min(1320px, 92%); margin-inline: auto; }
.spotlight { background: var(--surface); color: var(--text); }
.masthead { background: var(--navy); color: var(--cream); }
.masthead .shell { min-height: 77px; display: flex; align-items: center; }
.masthead img { display: block; width: clamp(200px, 25vw, 300px); height: auto; }
.stage {
  display: grid;
  isolation: isolate;
  align-items: center;
  gap: clamp(26px, 5vw, 84px);
  min-height: min(690px, calc(100svh - 130px));
}
.portrait { position: relative; overflow: hidden; }
.portrait img { display: block; width: 100%; height: auto; }
.pitch { position: relative; min-width: 0; }
h1, h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.08em;
}
h1 { font-size: clamp(58px, 7.2vw, 117px); line-height: .91; }
h2 { font-size: clamp(27px, 3vw, 42px); line-height: 1; }
.offer-block { margin-block: 22px; }
.offer { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 12px; }
.offer strong {
  font: 800 clamp(35px, 4vw, 62px)/.95 var(--display);
  letter-spacing: -.08em;
  text-transform: uppercase;
}
.offer span { font-weight: 700; font-size: clamp(16px, 1.5vw, 22px); }
.terms { font-size: 14px; margin-top: 7px; max-width: 48ch; }
.claim { padding: 19px 0 0; border-top: 1px solid var(--rule); }
.claim p { margin-bottom: 12px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
label { display: grid; gap: 4px; font-size: 14px; font-weight: 700; }
input {
  height: 46px;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--navy);
  border-radius: 0;
  width: 100%;
  padding: 0 10px;
}
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  margin-top: 14px;
  padding: 9px 19px;
  color: var(--button-text);
  background: var(--button);
  border: 1px solid var(--button-border, transparent);
  border-radius: 0;
  text-decoration: none;
  font-weight: 800;
  transition: box-shadow .2s var(--ease);
}
.action:hover { box-shadow: 0 0 0 2px var(--text); }
.action:focus-visible { outline-color: var(--text); }
.primary { width: 100%; }
.invitation, .sample { font-size: 14px; }
.invitation { margin-top: 10px; overflow-wrap: anywhere; }
.claim .invitation, .claim .feedback { margin-bottom: 0; }
.feedback { margin-top: 8px; font-weight: 700; }
.feedback:empty { display: none; }
.result { min-height: 220px; }
.result h2 { margin-bottom: 8px; overflow-wrap: anywhere; }
.code {
  display: block;
  padding: 12px;
  border: 1px dashed currentColor;
  font: 700 19px/1.2 ui-monospace, Menlo, monospace;
  overflow-wrap: anywhere;
}
.result .sample { margin-top: 8px; }
.result .action { margin-top: 0; }
.footer .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  border-top: 1px solid var(--rule);
  min-height: 45px;
  padding-block: 10px;
  font-size: 13px;
}
.full-flex {
  --surface: var(--orange);
  --text: var(--ink);
  --rule: var(--line);
  --button: var(--navy);
  --button-text: var(--cream);
  background-image: radial-gradient(#6a352122 .65px, transparent .9px);
  background-size: 4px 4px;
}
.full-flex .stage { grid-template-columns: .97fr 1.03fr; padding-block: 24px; }
.full-flex .portrait { grid-column: 2; grid-row: 1; justify-self: stretch; background: var(--navy); }
.full-flex .portrait img { width: min(100%, 400px); margin-inline: auto; }
.full-flex .pitch { grid-column: 1; grid-row: 1; max-width: 525px; }
.full-flex .portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #f8edce28, transparent);
  transform: translateX(-100%);
  animation: perforation-sweep .75s var(--ease) .2s both;
}
.full-flex .claim { border-top-style: dashed; }
.full-flex .result { animation: claim-reveal .4s var(--ease) both; }
.lights-up {
  --orange: #ff5c29;
  --surface: var(--navy);
  --text: var(--cream);
  --rule: #52606a;
  --button: var(--orange);
  --button-text: var(--ink);
}
.lights-up .stage { grid-template-columns: 1.03fr .97fr; padding-block: 18px 25px; }
.lights-up .portrait { justify-self: center; width: min(100%, 460px); }
.lights-up .portrait img { animation: lights-on .85s var(--ease) both; }
.lights-up .portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 49% 32%, transparent 29%, var(--navy) 86%);
  opacity: .68;
  transform-origin: 49% 32%;
  transition: transform .55s var(--ease), opacity .55s var(--ease);
}
.lights-up .stage:has(.fields input:focus) .portrait::after {
  opacity: .06;
  transform: scale(1.55);
}
.lights-up h1 { color: var(--orange); }
.lights-up .pitch { max-width: 510px; }
.nameplate {
  --surface: var(--cream);
  --text: var(--ink);
  --rule: var(--line);
  --button: var(--orange);
  --button-text: var(--ink);
  --button-border: var(--ink);
}
.nameplate .stage { gap: 0; grid-template-columns: 1.05fr .95fr; align-items: stretch; padding-block: 26px; }
.nameplate .pitch {
  max-width: none;
  padding: clamp(24px, 4vw, 56px);
  border: 3px double var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.nameplate .portrait {
  background: var(--navy);
  display: grid;
  place-items: center;
  border-block: 3px solid var(--navy);
}
.nameplate .portrait img { width: min(100%, 390px); }
.nameplate h1 { font-size: clamp(43px, 5.1vw, 80px); }
.nameplate .claim { border-top: 3px double var(--ink); }
.nameplate .result h2, .nameplate .code { animation: print-in .48s var(--ease) both; }
.nameplate .code { animation-delay: .08s; }
.nameplate .code { border: 3px double var(--ink); }
@keyframes perforation-sweep { to { transform: translateX(100%); } }
@keyframes lights-on { from { opacity: .6; } to { opacity: 1; } }
@keyframes print-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes claim-reveal { from { opacity: .55; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1000px) {
  .stage { gap: 26px; }
  h1 { font-size: clamp(49px, 7.6vw, 78px); }
}
@media (max-width: 680px) {
  .masthead .shell { min-height: 60px; }
  .stage, .full-flex .stage, .lights-up .stage, .nameplate .stage {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    padding-block: 0 20px;
    gap: 0;
  }
  .full-flex .portrait, .lights-up .portrait, .nameplate .portrait {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
  }
  .full-flex .pitch, .lights-up .pitch, .nameplate .pitch {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
    padding-top: 18px;
  }
  .portrait img, .full-flex .portrait img, .nameplate .portrait img {
    width: auto;
    height: clamp(230px, 62vw, 300px);
    margin-inline: auto;
  }
  .nameplate .pitch { padding: 16px; }
  h1, .nameplate h1 { font-size: clamp(39px, 10vw, 64px); }
  .offer-block { margin-block: 13px; }
  .claim { padding-top: 12px; }
  .lights-up .masthead .shell { min-height: 54px; }
  .lights-up .portrait img { height: clamp(235px, calc(100svh - 440px), 320px); }
  .lights-up .pitch { padding-top: 12px; }
  .lights-up .offer-block { margin-block: 10px; }
  .lights-up .claim { padding-top: 9px; }
  .lights-up .claim form > p:first-child { margin-bottom: 8px; }
  .lights-up .primary { margin-top: 10px; }
  .lights-up .invitation { margin-top: 8px; }
}
@media (max-width: 680px) and (max-height: 740px) {
  .lights-up .masthead .shell { min-height: 48px; }
  .lights-up .pitch { padding-top: 8px; }
  .lights-up .offer-block { margin-block: 7px; }
}
@media (max-width: 680px) and (max-height: 650px) {
  .lights-up .stage {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    column-gap: 12px;
  }
  .lights-up .portrait img { height: clamp(125px, 29svh, 185px); }
  .lights-up .pitch { display: contents; }
  .lights-up h1 {
    grid-column: 2;
    grid-row: 1;
    font-size: clamp(34px, 8.5vw, 52px);
  }
  .lights-up .offer-block, .lights-up .claim { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
