/* EVENT WEBSITES. Archetype: Place, with the Tool (the sample) one tap away.
   Metaphor: the festival itself. The hero is Chris's own footage of a real event in natural color, and every
   feature below is shown by the flagship sample doing it. The one bold thing is the hero; the rest stays in the
   site's own quiet navy and yellow. */
:root {
  color-scheme: dark;
  --navy: #00030f; --deep: #010c26; --text: #eef3ff; --muted: rgba(214, 226, 255, 0.74);
  --yellow: #ffee00; --sky: #7fd0ff; --line: rgba(127, 208, 255, 0.16); --plate: rgba(10, 22, 56, 0.72);
}
* { box-sizing: border-box; }
html { background: var(--navy); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--text); font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.6;
  background: linear-gradient(180deg, var(--navy) 0%, var(--deep) 50%, var(--navy) 100%); isolation: isolate; overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .6;
  background-image: radial-gradient(rgba(127, 208, 255, 0.05) 1px, transparent 1.2px); background-size: 22px 22px; }
a { color: var(--sky); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: "Archivo", system-ui, sans-serif; font-stretch: 75%; line-height: .95; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 850; }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 800; }
.tag { font-family: "Pixelify Sans", monospace; color: var(--yellow); margin: 0 0 .6rem; font-size: 1rem; }

/* the site menu (same as the tool pages; site-nav.css supplies the links), sitting over the hero */
.top { position: relative; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 1180px; margin: 0 auto; padding: 16px; }
.home { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: "Pixelify Sans", monospace; font-size: 1.05rem; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.home img { width: 34px; height: auto; transition: transform 0.25s ease; }
.home:hover img { transform: rotate(-12deg) scale(1.08); }
.home:hover { color: var(--yellow); }
.start { color: var(--navy); background: var(--yellow); text-decoration: none; font-weight: 600; font-size: 0.92rem; padding: 0.6em 1.1em; border-radius: 999px; transition: box-shadow 0.2s ease, transform 0.2s ease; white-space: nowrap; }
.start:hover { box-shadow: 0 0 0 4px rgba(255, 238, 0, 0.25), 0 0 24px rgba(255, 238, 0, 0.35); transform: translateY(-1px); }
.sitenav a { color: rgba(238, 243, 255, 0.86); text-shadow: 0 1px 6px rgba(0,0,0,.5); }
@media (max-width: 560px) { .start { display: none; } }

/* ---------- hero: the event itself ---------- */
.hero { position: relative; isolation: isolate; min-height: min(86vh, 820px); margin-top: -80px; padding: 120px 16px clamp(2.4rem, 7vh, 4.5rem);
  display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--deep); }
.hero__video { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 160px; z-index: 0; background: linear-gradient(rgba(0, 3, 15, .7), transparent); pointer-events: none; }
.hero__words { position: relative; max-width: 1180px; width: 100%; margin: 0 auto; text-shadow: 0 2px 8px rgba(0,0,0,.4), 0 8px 40px rgba(0,0,0,.5); }
.hero .tag { color: var(--yellow); }
.hero h1 { font-size: clamp(3rem, 9vw, 7.4rem); font-weight: 900; max-width: 12ch; color: #fff; }
.hero .lede { font-size: clamp(1.08rem, 1.7vw, 1.3rem); max-width: 40ch; margin: 1.1rem 0 1.6rem; font-weight: 600; color: #fff; }
.hero .price { margin: -0.6rem 0 1.4rem; font-family: "Archivo", system-ui, sans-serif; font-stretch: 85%; font-weight: 800; font-size: 1.4rem; letter-spacing: .01em; color: var(--yellow); text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.hero__go { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__credit { position: relative; max-width: 1180px; width: 100%; margin: 1.4rem auto 0; font-size: .85rem; color: rgba(255,255,255,.82); text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 800; text-decoration: none; text-shadow: none; transition: transform .15s, background .15s, color .15s, box-shadow .15s; }
.btn--lit { background: var(--yellow); color: #0a0a12; box-shadow: 0 0 0 0 rgba(255, 238, 0, .5), 0 6px 22px rgba(255, 238, 0, .25); }
.btn--lit:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(255, 238, 0, .14), 0 10px 30px rgba(255, 238, 0, .32); }
.btn--plain { color: #fff; border: 2px solid rgba(255,255,255,.75); background: rgba(0, 3, 15, .35); backdrop-filter: blur(6px); }
.btn--plain:hover { background: #fff; color: #0a0a12; }

main { max-width: 1180px; margin: 0 auto; padding: 0 16px clamp(3rem, 8vh, 5rem); }
section { padding: clamp(3rem, 9vh, 6rem) 0 0; }

/* ---------- the flagship ---------- */
.flagship { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.4rem, 4vw, 3.4rem); align-items: center; }
.flagship p { color: var(--muted); max-width: 52ch; }
.flagship h2 { margin-bottom: 1rem; }
.flagship .fine { font-size: .9rem; border-left: 3px solid var(--yellow); padding-left: 12px; }
.flagship__shot { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,.45); transition: transform .3s, box-shadow .3s; }
.flagship__shot:hover { transform: translateY(-4px) rotate(-.3deg); box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 2px var(--yellow); }

/* ---------- what it does: alternating rows, picture and words ---------- */
.does h2 { margin-bottom: 1.6rem; }
.does__list { display: grid; gap: clamp(1.6rem, 4vw, 2.6rem); }
.feat { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1rem, 3vw, 2.4rem); align-items: center; }
.feat:nth-child(even) > .loop { order: 2; }
.feat img { border-radius: 14px; border: 1px solid var(--line); background: var(--plate); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .4s; }
.feat img.tall { aspect-ratio: 16 / 10; object-position: center 30%; }
.feat:hover img { transform: scale(1.015); }
.feat p { color: var(--muted); margin: .6rem 0 0; max-width: 46ch; }

/* ---------- who it is for ---------- */
.who__list { list-style: none; padding: 0; margin: 1.4rem 0 1rem; display: flex; flex-wrap: wrap; gap: 10px; }
.who__list li { padding: 10px 16px; border-radius: 999px; background: var(--plate); border: 1px solid var(--line); font-weight: 700; transition: border-color .15s, color .15s; }
.who__list li:hover { border-color: var(--yellow); color: var(--yellow); }
.who p { color: var(--muted); }

/* ---------- how it comes together (a real sequence) ---------- */
.how__steps { counter-reset: s; list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.how__steps li { counter-increment: s; position: relative; padding: 52px 18px 20px; border-radius: 14px; background: var(--plate); border: 1px solid var(--line); color: var(--muted); }
.how__steps li::before { content: counter(s); position: absolute; left: 18px; top: 12px; font: 900 1.9rem/1 "Archivo", sans-serif; font-stretch: 75%; color: var(--yellow); }
.how__steps b { display: block; color: var(--text); margin-bottom: .3rem; }

/* ---------- questions ---------- */
.faq h2 { margin-bottom: 1rem; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 800; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--yellow); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin: .6rem 0 0; max-width: 64ch; }

/* ---------- the close ---------- */
.go { text-align: center; }
.go h2 { margin-bottom: .6rem; }
.go p { color: var(--muted); margin: 0 0 1.4rem; }
.go .hero__go { justify-content: center; }
.go .btn--plain { color: var(--text); }
.foot { margin-top: clamp(3rem, 8vh, 5rem); padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.foot a { margin-left: .8rem; }

@media (max-width: 820px) {
  .flagship, .feat { grid-template-columns: minmax(0, 1fr); }
  .feat:nth-child(even) > .loop { order: 0; }
  .hero { min-height: 88vh; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* the moving pictures: every feature and the flagship are short loops recorded from the sample itself */
.loop { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); background: #2a0c18; transition: transform .4s; }
.loop.fit { object-fit: contain; }
.feat:hover .loop { transform: scale(1.015); }
.flagship__shot .loop { border: 0; border-radius: 0; }

/* ---------- the launch panel in the hero: the biggest thing after the headline ---------- */
.launch { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; gap: clamp(14px, 2vw, 26px);
  max-width: 1180px; width: 100%; margin: clamp(1.6rem, 4vh, 2.6rem) auto 0; padding: 12px; border-radius: 22px; text-decoration: none; color: #fff;
  background: rgba(0, 3, 15, .72); backdrop-filter: blur(10px); box-shadow: 0 0 0 2px var(--yellow), 0 24px 60px rgba(0,0,0,.55);
  transition: transform .2s, box-shadow .2s; }
.launch:hover { transform: translateY(-3px); box-shadow: 0 0 0 3px var(--yellow), 0 0 40px rgba(255, 238, 0, .35), 0 30px 70px rgba(0,0,0,.6); }
.launch__screen { display: block; border-radius: 14px; overflow: hidden; }
.launch__vid { border: 0; border-radius: 0; aspect-ratio: 16 / 9; }
.launch__words { display: grid; gap: 6px; }
.launch__kicker { font-family: "Pixelify Sans", monospace; color: var(--yellow); font-size: 1rem; }
.launch__title { font-family: "Archivo", system-ui, sans-serif; font-stretch: 75%; font-weight: 900; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: .92; }
.launch__line { color: rgba(238, 243, 255, .85); font-weight: 600; max-width: 32ch; }
.launch__go { width: clamp(64px, 7vw, 92px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; margin-right: clamp(4px, 1.4vw, 18px);
  background: var(--yellow); color: #0a0a12; box-shadow: 0 0 0 0 rgba(255, 238, 0, .55); animation: launch-pulse 2.2s ease-out infinite; }
.launch__go svg { width: 46%; height: 46%; margin-left: 6%; }
@keyframes launch-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 238, 0, .55); } 80%, 100% { box-shadow: 0 0 0 22px rgba(255, 238, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .launch__go { animation: none; } }
@media (max-width: 820px) {
  .launch { grid-template-columns: minmax(0, 1fr) auto; }
  .launch__screen { grid-column: 1 / -1; }
  .launch__words { padding: 0 4px 6px; }
}

/* WIDE SCREENS: the launch panel sits beside the headline, so it is on the first screen (Chris, 2026-11-12:
   "right up front ... a really big invitation to launch the Event Website example") */
@media (min-width: 1000px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); column-gap: clamp(24px, 3vw, 48px); align-content: end; padding-left: max(16px, calc((100vw - 1240px) / 2)); padding-right: max(16px, calc((100vw - 1240px) / 2)); }
  .hero__words { grid-column: 1; margin: 0; }
  .hero h1 { font-size: clamp(3rem, 6.2vw, 6rem); }
  .launch { grid-column: 2; grid-row: 1; align-self: end; margin: 0; grid-template-columns: minmax(0, 1fr) auto; }
  .launch__screen { grid-column: 1 / -1; }
  .launch__words { padding: 4px 6px 8px; }
  .launch__title { font-size: clamp(2rem, 3vw, 2.8rem); }
  .hero__credit { grid-column: 1 / -1; margin: 1.4rem 0 0; }
}

/* the second sample: picture first, so the two samples zig-zag down the page */
.flagship--second { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); margin-top: clamp(2.4rem, 6vw, 4.5rem); }
@media (max-width: 820px) { .flagship--second { grid-template-columns: minmax(0, 1fr); } }

/* THE TWO SAMPLES READ AS A PAIR (Chris, 2026-11-12, on a phone: "there should be a separator between these or they
   should follow the same format"). Both show the website in use, a rule and space separate them at every size, and
   on a phone both put the picture first, then the words. */
.flagship--second { border-top: 1px solid var(--line); padding-top: clamp(2.4rem, 6vw, 4.5rem); }
@media (max-width: 820px) {
  .flagship .flagship__shot { order: -1; }
}

/* with the festival flagship gone, the record ride is the first section under the hero: no rule above it */
.flagship--second { border-top: 0; padding-top: 0; margin-top: 0; }
.flagship--second { margin-top: clamp(3rem, 7vw, 5.5rem); }
