/* joeybruggeman.com, in the AI with Joey cartoon look (paper, ink, one hard shadow). */
@font-face { font-family: "Fraunces"; font-weight: 900; font-display: swap; src: url("/fonts/fraunces-900.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 200 800; font-display: swap; src: url("/fonts/bricolage.woff2") format("woff2"); }
@font-face { font-family: "Luckiest Guy"; font-weight: 400; font-display: swap; src: url("/fonts/luckiest-guy.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-weight: 500; font-display: swap; src: url("/fonts/dm-mono-500.woff2") format("woff2"); }

:root {
  --paper: #F3E9D2; --sand: #E8D9B6; --card: #FBF4E2; --ink: #2A1B14;
  --tomato: #E0452B; --mustard: #F2B33D; --mint: #8ECDB2; --blue: #2D4FC4;
  --f-head: "Fraunces", Georgia, serif;
  --f-toon: "Luckiest Guy", "Arial Black", sans-serif;
  --f-body: "Bricolage Grotesque", system-ui, sans-serif;
  --f-mono: "DM Mono", ui-monospace, monospace;
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --side: clamp(16px, 2.4vw, 32px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font: 400 17px/1.55 var(--f-body); -webkit-font-smoothing: antialiased;
  background-color: var(--paper); background-image: radial-gradient(rgba(42, 27, 20, 0.1) 1px, transparent 1.3px); background-size: 7px 7px;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--side); }
.mono { font-family: var(--f-mono); font-weight: 500; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.h2 { font-family: var(--f-head); font-weight: 900; font-size: clamp(38px, 5.2vw, 68px); line-height: 0.98; letter-spacing: -0.01em; text-wrap: balance; }

/* Top */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.top .logo img { width: 84px; }
.top nav { display: flex; gap: 20px; }
.top nav a { text-decoration: none; padding-block: 8px; }
.top nav a:hover { text-decoration: underline; text-decoration-thickness: 2.5px; text-underline-offset: 4px; }

/* Poster */
.poster {
  position: relative; background-color: var(--mint); border: 4px solid var(--ink); border-radius: 28px;
  background-image: radial-gradient(rgba(42, 27, 20, 0.11) 1px, transparent 1.3px); background-size: 7px 7px;
  box-shadow: inset 0 0 120px rgba(42, 27, 20, 0.3);
  padding: 26px 18px 24px; display: grid; gap: 22px;
}
.headline {
  font-family: var(--f-head); font-weight: 900; font-size: clamp(36px, 10.6vw, 60px); line-height: 0.98; letter-spacing: -0.01em;
  color: var(--paper); -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink); text-wrap: balance;
}
.poster .lede { margin-top: 18px; font-size: 17px; font-weight: 500; line-height: 1.45; max-width: 32em; }
.poster .lede b { font-weight: 700; }

/* The parcel: the form */
.parcel { position: relative; background: var(--card); border: 3.5px solid var(--ink); border-radius: 22px; box-shadow: 6px 7px 0 var(--ink); padding: 18px 16px 16px; }
.parcel-head { display: flex; flex-direction: column; gap: 4px; padding-right: 92px; min-height: 62px; justify-content: center; }
.parcel-head .mono { font-size: 11.5px; line-height: 1.35; }
.parcel-head strong { font-family: var(--f-toon); font-weight: 400; font-size: 24px; line-height: 1; letter-spacing: 0.02em; }
.genie { position: absolute; right: 6px; top: -44px; width: 84px; animation: bob 1.5s ease-in-out infinite; transform-origin: 50% 100%; pointer-events: none; }
.fields { display: grid; gap: 10px; margin-top: 14px; }
.field { display: block; width: 100%; font-size: 17px; background: #fff; border: 3px solid var(--ink); border-radius: 14px; padding: 14px 14px; min-height: 56px; }
.field::placeholder { color: rgba(42, 27, 20, 0.62); opacity: 1; }
.field:focus { outline: 3px solid var(--blue); outline-offset: 2px; }
.field[aria-invalid="true"] { background: #FFF0D2; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 16px 24px 13px; cursor: pointer;
  font-family: var(--f-toon); font-weight: 400; font-size: 22px; line-height: 1; letter-spacing: 0.04em; color: var(--paper); background: var(--tomato);
  border: 3px solid var(--ink); border-radius: 999px; box-shadow: 4px 5px 0 var(--ink); transition: transform 0.18s var(--bounce), box-shadow 0.18s var(--bounce);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 4px); box-shadow: 1px 1px 0 var(--ink); }
.btn[disabled] { cursor: progress; transform: none; opacity: 0.85; }
.small { margin-top: 12px; font-size: 14.5px; line-height: 1.4; }
.msg { font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.msg:empty { display: none; }
.msg a { font-weight: 700; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { margin-top: 12px; }
.done h2 { font-family: var(--f-head); font-weight: 900; font-size: 36px; line-height: 1; letter-spacing: -0.01em; }
.done p { margin-top: 10px; overflow-wrap: anywhere; }
.done:focus { outline: none; }
[hidden] { display: none !important; }

/* Story */
.story { padding-block: clamp(56px, 8vw, 110px) clamp(44px, 6vw, 80px); display: grid; gap: 40px; }
.snap { justify-self: center; width: min(78vw, 320px); transform: rotate(-3deg); position: relative; background: var(--card); border: 4px solid var(--ink); border-radius: 18px; box-shadow: 8px 9px 0 var(--ink); padding: 10px 10px 0; }
.snap::before { content: ""; position: absolute; z-index: 2; top: -13px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--mustard); border: 3px solid var(--ink); }
.snap img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 62%; border-radius: 10px; border: 2.5px solid var(--ink); }
.snap figcaption { text-align: center; padding: 11px 4px 13px; font-family: var(--f-toon); font-size: 18px; letter-spacing: 0.03em; line-height: 1; }
.story-copy { display: flex; flex-direction: column; gap: 18px; }
.story-copy p { font-size: clamp(17px, 1.5vw, 20px); max-width: 33em; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { font-family: var(--f-mono); font-weight: 500; font-size: 12px; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; border: 2.5px solid var(--ink); border-radius: 999px; padding: 7px 12px; }
.brands { display: grid; gap: 14px; margin-top: 4px; }
.brand { display: block; text-decoration: none; border: 3px solid var(--ink); border-radius: 18px; padding: 14px 18px; box-shadow: 4px 5px 0 var(--ink); transition: transform 0.18s var(--bounce), box-shadow 0.18s var(--bounce); }
.brand:hover { transform: translate(-2px, -3px); box-shadow: 6px 8px 0 var(--ink); }
.brand b { display: block; font-family: var(--f-toon); font-weight: 400; font-size: 22px; letter-spacing: 0.03em; line-height: 1.1; }
.brand span { display: block; font-size: 16px; line-height: 1.35; margin-top: 3px; }
.bg-mustard { background: var(--mustard); } .bg-mint { background: var(--mint); } .bg-sand { background: var(--sand); } .bg-blue { background: var(--blue); color: var(--paper); }

/* What to expect */
.expect { padding-block: 0 clamp(52px, 7vw, 96px); }
.expect .h2 { max-width: 9em; }
.notes { display: grid; gap: 18px; margin-top: 26px; counter-reset: n; }
.note { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; border: 3.5px solid var(--ink); border-radius: 20px; box-shadow: 5px 6px 0 var(--ink); padding: 16px 18px; }
.note::before { counter-increment: n; content: counter(n); width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--ink); background: var(--card); color: var(--ink); display: grid; place-items: center; font-family: var(--f-toon); font-size: 19px; line-height: 1; padding-top: 3px; }
.note b { display: block; font-family: var(--f-toon); font-weight: 400; font-size: 22px; letter-spacing: 0.02em; line-height: 1.1; }
.note span { display: block; margin-top: 3px; line-height: 1.4; }

/* Coming soon is dashed */
.soon { border: 3.5px dashed var(--ink); border-radius: 26px; padding: 26px 20px 0; display: grid; gap: 18px; }
.soon .h2 { margin-top: 10px; font-size: clamp(34px, 4.6vw, 58px); }
.soon p { margin-top: 14px; font-size: clamp(17px, 1.4vw, 19px); max-width: 32em; }
.soon .go { display: inline-block; margin-top: 16px; font-family: var(--f-toon); font-size: 19px; letter-spacing: 0.03em; text-underline-offset: 4px; text-decoration-thickness: 2.5px; padding-block: 8px; }
.soon img { width: 190px; justify-self: end; align-self: end; margin-right: 4px; }

/* Fin. */
.foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 26px; padding-block: clamp(40px, 5vw, 64px) 34px; }
.foot .fin { font-family: var(--f-head); font-weight: 900; font-size: 36px; line-height: 1; }
.foot .links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot a { text-decoration: none; padding-block: 6px; } .foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot .mono { font-size: 12px; letter-spacing: 0.08em; }

/* Plain pages */
.plain { max-width: 720px; padding-block: 28px 10px; }
.plain .h2 { margin-bottom: 18px; }
.plain h3 { font-family: var(--f-toon); font-weight: 400; font-size: 22px; letter-spacing: 0.02em; line-height: 1.15; margin: 30px 0 8px; }
.plain p + p { margin-top: 12px; }
.plain ul + p { margin-top: 12px; }
.plain ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; }

@media (min-width: 700px) {
  .fields { grid-template-columns: minmax(0, 1fr); }
  .notes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .note { grid-template-columns: 1fr; align-content: start; gap: 12px; padding: 22px; }
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .soon { grid-template-columns: minmax(0, 1fr) auto; padding: 36px 40px 0; align-items: center; }
  .soon > div { padding-bottom: 36px; }
  .soon img { width: 250px; }
}
@media (min-width: 940px) {
  .top { padding-block: 16px; } .top .logo img { width: 110px; }
  .poster { grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.8fr); gap: 56px; align-items: center; padding: 64px 56px 68px; }
  .headline { font-size: clamp(56px, 6.1vw, 82px); -webkit-text-stroke: 7px var(--ink); text-shadow: 6px 6px 0 var(--ink); }
  .poster .lede { font-size: 20px; margin-top: 26px; }
  .parcel { padding: 26px 26px 24px; margin-top: 96px; }
  .parcel-head { padding-right: 150px; min-height: 84px; }
  .parcel-head strong { font-size: 31px; }
  .genie { width: 166px; top: -150px; right: 14px; }
  .story { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr); gap: 84px; align-items: center; }
  .snap { width: min(100%, 390px); }
}
@keyframes bob { 0%, 100% { transform: translateY(0) scale(1.02, 0.98); } 50% { transform: translateY(-7px) scale(0.99, 1.02); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
