/* 2 Guys and a Genie · Design Kit C ("Local event")
   One stylesheet that dresses Daegan's existing page structure (his class names) in the Design C look.
   Light only. Fonts: Archivo (Google Fonts). Colors: ink, cobalt blue, sunny yellow.
   Font: load Archivo (weights 400-900) from Google Fonts; the README has the exact line. */

:root {
  color-scheme: light;
  --ink: #111827;      /* headlines, borders */
  --body: #374151;     /* paragraphs */
  --muted: #6b7280;    /* small print */
  --blue: #1d3fbf;     /* buttons, accents */
  --blue-dark: #16309a;/* button hover */
  --sun: #ffd23f;      /* highlight, ribbon, button shadow */
  --soft: #eef2ff;     /* pills, alternate bands */
  --line: #e5e7eb;
  --bg: #ffffff;
  --radius: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--body); font-family: Archivo, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }

/* ---------- page frame ---------- */
.wrap { max-width: 680px; margin: 0 auto; padding: 26px 20px 80px; }
.back, .links { display: none; }

/* Top ribbon and header (added above .wrap) */
.ribbon { background: var(--sun); color: var(--ink); text-align: center; font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 9px 12px; padding-top: calc(9px + env(safe-area-inset-top, 0px)); }
.hd { max-width: 680px; margin: 0 auto; padding: 14px 20px 0; display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--ink); font-size: 17px; }
.hd img { height: 34px; width: auto; background: #0f1730; border-radius: 8px; padding: 4px; }

/* ---------- type ---------- */
.kicker { display: inline-block; background: var(--soft); color: var(--blue); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 13px; line-height: 1.4; margin: 0 0 8px; }
h1 { font-weight: 900; color: var(--ink); font-size: clamp(31px, 6vw, 50px); line-height: 1.08; letter-spacing: -.015em; margin: 12px 0 22px; text-wrap: balance; }
h1 .hl, .hl { background: linear-gradient(transparent 58%, var(--sun) 58%); padding: 0 3px; }
h2 { font-weight: 900; color: var(--ink); font-size: clamp(25px, 4.2vw, 33px); line-height: 1.15; letter-spacing: -.01em; margin: 46px 0 18px; text-wrap: balance; }
h2::after { content: ""; display: block; width: 64px; height: 6px; background: var(--sun); border-radius: 3px; margin-top: 12px; }
h3 { font-weight: 800; color: var(--ink); font-size: 21px; line-height: 1.3; margin: 30px 0 10px; }
p { margin: 0 0 16px; }
b, strong { color: var(--ink); }
.sub { font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.45; }
.beats p { margin: 0 0 8px; }
.beats p.gap { margin-top: 22px; }
.lead-in { margin-top: 14px; }

/* ---------- video ---------- */
.video { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border: 4px solid var(--ink); border-radius: var(--radius); overflow: hidden;
  background: #0f1730 url("img/jamon-poster.jpg") center / cover no-repeat; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  font-weight: 800; letter-spacing: .06em; text-align: center; padding: 12px; margin: 6px 0 18px; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.video::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,48,.15), rgba(15,23,48,.55)); }
.video > * { position: relative; }
.video .play { width: 80px; height: 80px; border-radius: 50%; background: var(--sun); border: 4px solid var(--ink); position: relative; flex: none; }
.video .play::after { content: ""; position: absolute; left: 27px; top: 19px; border-left: 24px solid var(--ink); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.video small { font-weight: 500; font-size: 13px; letter-spacing: 0; opacity: .9; max-width: 32ch; }
.under { margin: 0 0 10px; }

/* ---------- buttons ---------- */
.cta, .form button, .btn { display: block; width: 100%; background: var(--blue); color: #fff; border: 0; border-radius: 12px; padding: 17px 18px; font: 800 18px/1.3 Archivo, Arial, sans-serif;
  text-align: center; text-decoration: none; box-shadow: 5px 5px 0 var(--sun); margin: 26px 0 8px; cursor: pointer; }
.cta:hover, .form button:hover, .btn:hover { background: var(--blue-dark); }
.cta:focus-visible, .form button:focus-visible, .btn:focus-visible, a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.cta-note, .exp { font-size: 14px; color: var(--muted); text-align: center; margin: 6px 0 10px; }

/* ---------- testimonial: speech bubble ---------- */
.qhead { margin-top: 48px; }
.qsub { color: var(--blue); font-weight: 800; font-size: 15px; margin: 0 0 14px; }
.quote, blockquote { position: relative; background: var(--blue); color: #fff; border-radius: 22px; padding: 26px 24px; margin: 18px 0 36px; border: 0; }
.quote::after, blockquote::after { content: ""; position: absolute; left: 44px; bottom: -18px; border-top: 20px solid var(--blue); border-right: 22px solid transparent; }
.quote p, blockquote p { margin: 0 0 12px; }
.quote b, blockquote b { color: #fff; }
.quote .who, blockquote .who { color: var(--sun); font-weight: 800; font-size: 15px; margin-top: 10px; }
.who { font-size: 15px; color: var(--muted); }

/* ---------- lists: yellow check dots ---------- */
ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
li { position: relative; padding-left: 44px; min-height: 30px; }
li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); color: var(--ink); font-weight: 900; font-size: 14px; display: grid; place-items: center; line-height: 1; }

/* ---------- the "You're invited" box ---------- */
.callout { background: var(--sun); border: 3px solid var(--ink); border-radius: 20px; padding: 22px 22px 8px; margin: 6px 0 30px; color: var(--ink); }
.callout h2 { margin: 0 0 10px; }
.callout h2::after { display: none; }

/* ---------- forms: ticket style ---------- */
.form { display: flex; flex-direction: column; gap: 6px; border: 3px solid var(--ink); border-radius: 20px; padding: 22px; margin: 14px 0 0; background: #fff; box-shadow: 8px 8px 0 var(--sun); }
.form label { font-weight: 800; color: var(--ink); font-size: 16px; margin-top: 8px; }
.form .why, .why { display: block; font-weight: 400; color: var(--muted); font-size: 15px; margin: 0; }
.form input, .form textarea, .form select { display: block; width: 100%; font: inherit; font-size: 17px; padding: 13px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; color: var(--ink); margin: 0 0 4px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.row > div, .row3 > div { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.wish { font-size: 22px; font-weight: 900; color: var(--ink); line-height: 1.35; margin: 6px 0 4px; }
.done { font-weight: 800; color: var(--blue); margin-top: 12px; }
.details { margin: 28px 0 22px; padding-top: 16px; border-top: 3px dashed var(--ink); }
.details p { margin: 0 0 6px; }
.fine { font-size: 13px; color: var(--muted); text-align: center; margin-top: 22px; }

/* ---------- optional components (add the HTML from the README) ---------- */
.glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; margin: 26px 0 8px; text-align: center; }
.glance div { padding: 12px 6px; border-right: 3px solid var(--ink); }
.glance div:last-child { border-right: 0; }
.glance b { display: block; font-size: 26px; font-weight: 900; color: var(--blue); line-height: 1.1; }
.glance span { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); }
.photo { border: 4px solid var(--ink); border-radius: var(--radius); overflow: hidden; margin: 30px 0; box-shadow: 8px 8px 0 var(--sun); }
.photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.stub { display: flex; align-items: center; justify-content: center; gap: 14px; background: var(--sun); border: 3px solid var(--ink); border-bottom: 3px dashed var(--ink); border-radius: 20px 20px 0 0; padding: 14px; margin: 30px 0 -3px; color: var(--ink); font-weight: 900; }
.stub .d { font-size: 44px; line-height: 1; }
.stub .m { font-size: 14px; letter-spacing: .14em; line-height: 1.2; }
.stub + .form { border-radius: 0 0 20px 20px; margin-top: 0; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .wrap { padding-top: 18px; }
  .row3 { grid-template-columns: 1fr 1fr; }
  .row3 > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 400px) { .row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- site additions (Oct 20) ---------- */
video.video { display: block; width: 100%; padding: 0; background: #000; object-fit: cover; }
video.video::before { display: none; }
h3.q { font-size: 20px; margin: 26px 0 8px; }
.sign { font-weight: 800; color: var(--ink); }
.invited { display: none; }
.invited.show { display: block; }
.ghl iframe, #ghl-slot iframe { width: 100%; border: 0; display: block; }
.stub + .form.ghlwrap { padding: 14px; }
.sms-disclosure { font-size: 13px; line-height: 1.55; color: var(--muted); margin-top: 12px; }
.sms-disclosure a { color: var(--blue); }
.foot { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.foot .fine { margin: 6px 0; }
