/* ---- Brand font, self-hosted (Poppins Regular and Medium, the brand's permitted weights).
        latin preloads from the page head; latin-ext loads on demand via unicode-range. swap keeps
        text visible while the files arrive. ---- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/poppins-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/poppins-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/poppins-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/poppins-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Encore marketing landing page. Brand: Encore 2026 identity, Poppins (Light/Regular/Medium).
   Pulse Blue #86CFF3 (accent), Midnight Blue #071428 (primary), Pure White #FFFFFF, Carbon Wing #101418.
   The legacy palette variable NAMES are kept and repointed to the Encore palette so the whole sheet
   recolours from here; Midnight is the workhorse and Pulse is the accent (never text on white). */

:root {
  --brunswick: #071428;   /* Midnight: primary (headings, buttons, nav, chrome) */
  --cambridge: #86CFF3;   /* Pulse: accent */
  --celadon: #C7E8FB;     /* light Pulse tint */
  --sea-salt: #F4F7FB;    /* near-white canvas and on-dark text */
  --carbon: #101418;      /* body text */
  --mimosa: #86CFF3;      /* accent (CTAs, tags) -> Pulse */
  --gunmetal: #071428;    /* deep surface -> Midnight */
  --mint: #DCE6F2;        /* light cool (borders, on-dark subtext) */
  --pulse: #86CFF3;
  --midnight: #071428;
  --max: 1320px;
  --shadow: 0 10px 30px rgba(7, 20, 40, 0.10);
  --shadow-lg: 0 18px 48px rgba(7, 20, 40, 0.18);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Anchor targets clear the sticky header (min-height 76px + border) with breathing room. */
  scroll-padding-top: 96px;
  /* Belt-and-braces against any horizontal overflow; clip (not hidden) so the sticky header still works. */
  overflow-x: clip;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400;
  color: var(--carbon);
  background: var(--sea-salt);
  line-height: 1.6;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-weight: 500; line-height: 1.2; color: var(--brunswick); }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin: 0 0 16px; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 0 0 16px; }
h3 { font-size: 1.2rem; margin: 0 0 8px; }
h4 { font-size: 1.05rem; margin: 0 0 6px; }
p { margin: 0 0 16px; }

a { color: var(--brunswick); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 3px solid var(--brunswick); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brunswick); color: var(--sea-salt); padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--pulse); color: var(--midnight); }
.btn--primary:hover { filter: brightness(1.05); }
.btn--accent { background: var(--pulse); color: var(--midnight); }
.btn--accent:hover { filter: brightness(1.05); }
.btn--ghost { border-color: var(--midnight); color: var(--midnight); background: transparent; }
.btn--ghost:hover { background: var(--mint); }

/* Header (dark Midnight bar carrying the Encore wordmark, matching the hero) */
.site-header { background: var(--midnight); border-bottom: 1px solid rgba(255, 255, 255, 0.10); position: sticky; top: 0; z-index: 30; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { display: inline-flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand__logo { height: 30px; width: auto; display: block; }
.wordmark { font-weight: 500; font-size: 1.5rem; color: var(--midnight); letter-spacing: 0.5px; }
.wordmark:hover { text-decoration: none; }
.wordmark--sm { font-size: 1.25rem; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) { color: #F4F7FB; }
/* On the dark header, the ghost button uses a light outline. */
.site-header .btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: #F4F7FB; }
.site-header .btn--ghost:hover { background: rgba(255, 255, 255, 0.10); }

.nav-toggle { display: none; }

/* Hero (dark Midnight, Pulse accent headline word, on-brand dashboard mock) */
.hero { background: radial-gradient(circle at 82% 20%, rgba(134, 207, 243, 0.18), transparent 55%), var(--midnight); color: var(--sea-salt); padding: 84px 0 92px; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.hero__copy { max-width: 640px; }
.hero h1 { color: #F4F7FB; font-size: clamp(2.2rem, 5.2vw, 3.6rem); letter-spacing: -0.01em; }
.hero h1 .acc { color: var(--pulse); }
.eyebrow { color: var(--pulse); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 12px; }
.hero .lead { font-size: 1.2rem; font-weight: 400; color: var(--celadon); }
.lead { font-size: 1.2rem; color: var(--gunmetal); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 16px; }
.hero .btn--ghost { border-color: rgba(134, 207, 243, 0.6); color: #F4F7FB; }
.hero .btn--ghost:hover { background: rgba(134, 207, 243, 0.12); }
.hero__note { color: #9fb2c9; font-size: 0.95rem; }
.hero__art { display: flex; justify-content: center; }
.art-svg { width: 100%; max-width: 480px; height: auto; filter: drop-shadow(var(--shadow-lg)); }
/* Looping brand video: sized like the old mock, rounded, and non-interactive (cannot be clicked/scrubbed). */
.hero__video {
  width: 100%;
  max-width: 600px;
  height: auto;
  aspect-ratio: 1166 / 680; /* the video's own ratio, so the box reserves height before it loads */
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  display: block;
}

/* Trust bar */
.trust { background: var(--brunswick); color: var(--sea-salt); padding: 22px 0; }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; justify-content: center; }
.trust__lead { margin: 0; font-weight: 500; color: var(--celadon); }
.trust__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.trust__list li { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; }
.trust__badge { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--cambridge); color: var(--gunmetal); font-size: 0.8rem; font-weight: 700; }

/* Sections */
section { padding: 64px 0; }
.section-lead { max-width: 760px; font-size: 1.1rem; color: var(--gunmetal); }
.who { background: var(--sea-salt); }

/* Feature showcase */
.features { background: var(--mint); }
.feature-group { margin-top: 40px; }
.feature-group__title { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; margin-bottom: 18px; }
.feature-group__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--brunswick); color: var(--sea-salt); flex: 0 0 40px; }
.feature-group__icon svg { width: 22px; height: 22px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.card { background: var(--sea-salt); border: 1px solid var(--celadon); border-radius: 12px; padding: 26px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--gunmetal); }

/* Showcase band */
.showcase { background: var(--sea-salt); }
.showcase__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ticklist { list-style: none; padding: 0; margin: 16px 0 0; }
.ticklist li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--gunmetal); }
.ticklist li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--brunswick); font-weight: 700; width: 22px; height: 22px; }
.showcase__art .art-svg { max-width: 100%; }

/* ---- Contact form ---- */
.contact-form { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  font-family: inherit; font-size: 1.05rem; padding: 12px 14px;
  border: 2px solid var(--celadon); border-radius: 8px;
  background: var(--sea-salt); color: var(--carbon); width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--brunswick); outline: none;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form__submit { align-self: flex-start; min-width: 180px; }
.contact-form__note { color: var(--gunmetal); font-size: 0.9rem; margin: 0; }
.contact-error {
  background: #fdecea; border: 2px solid #b3261e; color: #6d1a14;
  border-radius: 8px; padding: 12px 16px; margin-top: 24px;
}
/* Honeypot: visually removed but present in the DOM so bots fill it; not display:none, which
   some bots skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Interactive kiosk preview ---- */
.preview { background: var(--mint); }
.preview__controls { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 24px; margin: 28px 0 32px; align-items: start; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-weight: 500; color: var(--brunswick); font-size: 0.95rem; }
#venue-name { font-family: inherit; font-size: 1.05rem; padding: 12px 14px; border: 2px solid var(--celadon); border-radius: 8px; background: var(--sea-salt); color: var(--carbon); width: 100%; }
#venue-name:focus { border-color: var(--brunswick); outline: none; }
.templates { display: flex; flex-direction: column; gap: 8px; }
.templates__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.template-btn { font-family: inherit; font-size: 0.95rem; padding: 10px 16px; border: 2px solid var(--cambridge); border-radius: 999px; background: var(--sea-salt); color: var(--brunswick); cursor: pointer; }
.template-btn:hover { background: var(--celadon); }
.template-btn.is-active { background: var(--brunswick); color: var(--sea-salt); border-color: var(--brunswick); }

.device { display: flex; flex-direction: column; align-items: center; }
/* A tablet bezel around the live preview; landscape, matching the real kiosk's primary layout. */
.device__frame {
  width: 100%; max-width: 880px; aspect-ratio: 16 / 10;
  background: var(--carbon); border-radius: 26px; padding: 16px;
  box-shadow: var(--shadow-lg);
}
.device__hint { margin-top: 16px; color: var(--gunmetal); font-size: 0.95rem; }
.preview__cta-note { text-align: center; margin-top: 24px; font-size: 1.05rem; }

/* The kiosk mock itself. Each template theme sets the --km-* variables; the structure mirrors the real
   kiosk (centred stage, brand-coloured title and primary button, semantic smiley discs, 2x2 radio). */
.kioskmock {
  --km-brand: #1C4E4F;
  --km-bg: #ffffff;
  --km-text: #101418;
  --km-font: "Poppins", system-ui, sans-serif;
  width: 100%; height: 100%; border-radius: 14px; overflow: hidden;
  background: var(--km-bg); color: var(--km-text); font-family: var(--km-font);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: clamp(16px, 4%, 40px); position: relative; container-type: inline-size;
}
.km-theme-sport { --km-brand: #1565C0; --km-bg: #EEF4FB; --km-text: #14253a; --km-font: "Arial Narrow", "Helvetica Neue", system-ui, sans-serif; }
.km-theme-retail { --km-brand: #00695C; --km-bg: #F4FAF8; --km-text: #102a26; --km-font: "Poppins", system-ui, sans-serif; }
.km-theme-finedining { --km-brand: #8C6D5B; --km-bg: #FBF8F4; --km-text: #2E2A26; --km-font: Georgia, "Times New Roman", serif; }
.km-theme-hotel { --km-brand: #1C4E4F; --km-bg: #F1F6F4; --km-text: #14201f; --km-font: "Rockwell", "Roboto Slab", Georgia, serif; }
.km-theme-airport { --km-brand: #0D47A1; --km-bg: #EEF2F8; --km-text: #122036; --km-font: system-ui, "Segoe UI", Arial, sans-serif; }

.km-stage { width: 100%; max-width: 760px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.km-title { font-size: clamp(1.4rem, 5cqi, 2.6rem); font-weight: 700; color: var(--km-brand); margin: 0; line-height: 1.1; }
.km-welcome { font-size: clamp(1rem, 3cqi, 1.5rem); margin: 0; color: var(--km-text); }
.km-question { font-size: clamp(1.1rem, 3.4cqi, 1.9rem); font-weight: 600; color: var(--km-brand); margin: 0 0 6px; }
.km-begin, .km-action {
  font-family: inherit; cursor: pointer; border: none; border-radius: 12px;
  background: var(--km-brand); color: #fff; font-weight: 600;
  padding: clamp(12px, 2.4cqi, 20px) clamp(28px, 6cqi, 56px); font-size: clamp(1rem, 3cqi, 1.5rem);
  box-shadow: 0 6px 16px rgba(16, 20, 24, 0.18);
}
.km-action--ghost { background: transparent; color: var(--km-brand); border: 2px solid var(--km-brand); box-shadow: none; }
.km-begin { animation: km-pulse 2.4s ease-in-out infinite; }

.km-smileys { display: flex; gap: clamp(6px, 2.5cqi, 22px); justify-content: center; flex-wrap: nowrap; width: 100%; }
.km-smiley-cell { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1 1 0; min-width: 0; max-width: 132px; }
.km-smiley {
  width: 100%; max-width: 112px; aspect-ratio: 1/1; min-width: 44px; border-radius: 50%; border: 3px solid transparent;
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.km-smiley:hover { transform: scale(1.06); }
.km-smiley.is-selected { border-color: var(--km-text); transform: scale(1.12); box-shadow: 0 6px 18px rgba(16, 20, 24, 0.25); }
.km-smiley-1 { background: #E24B4A; }
.km-smiley-2 { background: #EF9F27; }
.km-smiley-3 { background: #888780; }
.km-smiley-4 { background: #639922; }
.km-smiley-5 { background: #1D9E75; }
.km-smiley-face { width: 68%; height: 68%; }
.km-smiley-caption { font-size: clamp(0.6rem, 1.6cqi, 0.95rem); color: var(--km-text); opacity: 0.8; line-height: 1.15; }

.km-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(8px, 1.6cqi, 16px); width: 100%; max-width: 620px; text-align: left; }
.km-option {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 16px; cursor: pointer;
  border: 2px solid #cdd6d2; border-radius: 12px; background: #fff; font-family: inherit; font-size: clamp(0.9rem, 2.4cqi, 1.2rem); color: var(--km-text);
}
.km-option:hover { border-color: var(--km-brand); }
.km-option.is-selected { border-color: var(--km-brand); background: color-mix(in srgb, var(--km-brand) 10%, #fff); }
.km-option__dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--km-brand); flex: 0 0 18px; }
.km-option.is-selected .km-option__dot { background: var(--km-brand); box-shadow: inset 0 0 0 3px #fff; }

.km-comment { width: 100%; max-width: 620px; min-height: 80px; padding: 14px; border: 2px solid #cdd6d2; border-radius: 12px; font-family: inherit; font-size: clamp(0.9rem, 2.4cqi, 1.15rem); color: var(--km-text); resize: none; }
.km-comment:focus { border-color: var(--km-brand); outline: none; }

.km-progress { width: 100%; max-width: 620px; height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--km-brand) 18%, #fff); overflow: hidden; }
.km-progress__fill { height: 100%; background: var(--km-brand); border-radius: 999px; transition: width 0.3s ease; }
.km-actions { display: flex; gap: 16px; justify-content: center; margin-top: 6px; flex-wrap: wrap; }
.km-tick { width: clamp(48px, 12cqi, 84px); height: clamp(48px, 12cqi, 84px); border-radius: 50%; background: var(--km-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: clamp(1.6rem, 6cqi, 3rem); }

/* Steps */
.how { background: var(--sea-salt); }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.step__n {
  flex: 0 0 40px; height: 40px; border-radius: 50%;
  background: var(--brunswick); color: var(--sea-salt);
  display: flex; align-items: center; justify-content: center; font-weight: 500;
}
.steps p { margin: 0; color: var(--gunmetal); }

/* Pricing */
.pricing { background: var(--mint); }
.currency { display: flex; align-items: center; gap: 14px; margin: 24px 0; flex-wrap: wrap; }
.currency__label { font-weight: 500; color: var(--brunswick); }
.currency__buttons { display: inline-flex; border: 2px solid var(--cambridge); border-radius: 999px; overflow: hidden; }
.currency__btn { font-family: inherit; font-size: 0.95rem; padding: 8px 16px; border: none; background: var(--sea-salt); color: var(--brunswick); cursor: pointer; }
.currency__btn + .currency__btn { border-left: 2px solid var(--cambridge); }
.currency__btn.is-active { background: var(--brunswick); color: var(--sea-salt); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.plan { background: var(--sea-salt); border: 1px solid var(--celadon); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; position: relative; }
.plan--featured { border: 2px solid var(--brunswick); box-shadow: var(--shadow); }
.plan__tag { position: absolute; top: -13px; left: 28px; background: var(--mimosa); color: var(--gunmetal); font-weight: 500; font-size: 0.8rem; padding: 4px 12px; border-radius: 999px; margin: 0; }
.plan__name { margin: 0 0 4px; }
.plan__for { color: var(--gunmetal); font-size: 0.95rem; margin: 0 0 16px; }
.plan__price { margin: 0; }
.plan__from { font-size: 0.95rem; color: var(--gunmetal); }
.money { font-size: 2.4rem; font-weight: 500; color: var(--brunswick); }
.money--sm { font-size: 1rem; font-weight: 500; }
.plan__poa { font-size: 2.4rem; font-weight: 500; color: var(--brunswick); }
.plan__unit { color: var(--gunmetal); font-size: 0.95rem; margin: 4px 0 18px; }
.plan__features { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan__features li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--gunmetal); }
.plan__features li::before { content: "\2713"; position: absolute; left: 0; color: var(--brunswick); font-weight: 700; }
.plan__cta { text-align: center; }
.pricing__note { margin-top: 22px; font-size: 0.9rem; color: #4A5A6E; max-width: 820px; }
.baseline { margin-top: 28px; background: var(--brunswick); color: var(--sea-salt); border-radius: 14px; padding: 24px 28px; }
.baseline h3 { color: var(--sea-salt); }
.baseline p { margin: 0; color: var(--mint); }

/* CTA */
.cta { background: var(--brunswick); }
.cta__inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta h2 { color: var(--sea-salt); }
.cta p { color: var(--mint); font-size: 1.1rem; }

/* Footer (mirrors the MCR Systems footer: brand, registered details, links, assurance) */
.site-footer { background: var(--gunmetal); color: var(--mint); padding: 56px 0 28px; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .wordmark { color: var(--sea-salt); }
.site-footer h4 { color: var(--celadon); margin-bottom: 14px; }
.site-footer__col { display: flex; flex-direction: column; gap: 8px; }
.site-footer__col a { color: var(--mint); }
.muted { color: var(--celadon); font-size: 0.9rem; margin: 8px 0 0; }
.site-footer__brand .muted a { color: var(--mint); }
.site-footer__base { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 32px; padding-top: 20px; }
.site-footer__base .muted { margin: 0; }

/* Reveal-on-scroll (progressive enhancement; only applied when JS adds .reveal) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes km-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

/* Responsive */
@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .showcase__inner { grid-template-columns: 1fr; }
  .preview__controls { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; padding: 8px;
  }
  .nav-toggle__bar { display: block; height: 3px; width: 26px; background: #F4F7FB; border-radius: 2px; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--midnight); border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding: 8px 24px 16px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; }
  .nav .btn { text-align: center; margin-top: 8px; }
}

@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .trust__inner { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .km-smiley, .km-progress__fill, .reveal { transition: none !important; }
  .km-begin { animation: none !important; }
}

/* ---- TUCO 2026 competition page (event-only, unlinked; mobile first on Midnight) ---- */
/* Column layout with main growing, so the footer sits at the bottom of the viewport even on the
   short thank-you page rather than floating mid-screen. */
body.comp-page { background: var(--midnight); color: var(--sea-salt); display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body.comp-page main { flex: 1 1 auto; }
.comp-page .site-header { position: static; }
.comp-return { color: var(--pulse); font-size: 0.95rem; }
/* Partner logos in the header: the MCR Sea Salt logo sits straight on Midnight; the TUCO logo
   is dark lettering for light backgrounds, so it sits in a white chip. */
.comp-partners { display: inline-flex; align-items: center; gap: 14px; }
.comp-partners__mcr { height: 34px; width: auto; display: block; }
.display-overlay__mcr { height: 7vmin; min-height: 34px; width: auto; }
.tuco-chip { display: inline-flex; align-items: center; background: #fff; border-radius: 8px; padding: 6px 10px; }
.tuco-chip__logo { height: 24px; width: auto; display: block; }
.tuco-chip--display { border-radius: 1vmin; padding: 1.2vmin 1.8vmin; }
.tuco-chip--display .tuco-chip__logo { height: 4vmin; min-height: 24px; }
.display-overlay__brands { display: flex; align-items: center; justify-content: center; gap: 3vmin; flex-wrap: wrap; }
.comp-container { max-width: 720px; }
.comp-hero { padding: 40px 0 8px; }
.comp-hero h1 { color: #F4F7FB; font-size: clamp(2rem, 8vw, 3.2rem); letter-spacing: -0.01em; }
.comp-hero h1 .acc, .comp-page .acc { color: var(--pulse); }
.comp-lead { color: var(--celadon); font-size: 1.1rem; }

.comp-prizes { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.comp-prize {
  display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 16px;
  align-items: center; background: rgba(134, 207, 243, 0.08); border: 1px solid rgba(134, 207, 243, 0.25);
  border-radius: 12px; padding: 14px 18px;
}
.comp-prize__place {
  grid-row: 1 / 3; display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; background: var(--pulse); color: var(--midnight);
  font-weight: 500; font-size: 1.05rem;
}
.comp-prize__what { margin: 0; font-weight: 500; color: #F4F7FB; font-size: 1.05rem; }
.comp-prize__detail { margin: 0; color: var(--celadon); font-size: 0.95rem; }

.comp-entry { padding: 28px 0 56px; }
.comp-form { background: var(--sea-salt); color: var(--carbon); border-radius: 16px; padding: 24px 20px 28px; display: flex; flex-direction: column; gap: 20px; }
.comp-form input[type="text"],
.comp-form input[type="email"] {
  font-family: inherit; font-size: 1.05rem; padding: 14px;
  border: 2px solid var(--mint); border-radius: 8px;
  background: #fff; color: var(--carbon); width: 100%; min-height: 44px;
}
.comp-form input:focus { border-color: var(--brunswick); outline: none; }
#comp-details { display: flex; flex-direction: column; gap: 20px; }
#comp-details[hidden] { display: none; }

.comp-enter { border: 0; margin: 0; padding: 0; }
.comp-enter legend { padding: 0; margin-bottom: 10px; font-size: 1.05rem; }
.comp-enter__choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* The radio stays visible (and focusable) inside a large tappable pill. */
.comp-enter__choice {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px;
  border: 2px solid var(--mint); border-radius: 10px; background: #fff; cursor: pointer;
  font-size: 1.1rem; font-weight: 500; color: var(--brunswick);
}
.comp-enter__choice input { width: 20px; height: 20px; accent-color: var(--brunswick); margin: 0; }
.comp-enter__choice:has(input:checked) { border-color: var(--brunswick); background: var(--celadon); }
.comp-enter__choice:has(input:focus-visible) { outline: 3px solid var(--brunswick); outline-offset: 2px; }

.comp-declined { margin: 0; background: var(--celadon); color: var(--midnight); border-radius: 10px; padding: 14px 16px; }
.comp-form[hidden] { display: none; }
/* The marketing opt-in: a large tappable row, visibly unticked until the entrant ticks it. */
.comp-optin {
  display: flex; align-items: flex-start; gap: 12px; min-height: 44px; cursor: pointer;
  font-size: 0.95rem; color: var(--carbon);
}
.comp-optin input {
  width: 22px; height: 22px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--brunswick);
}
.comp-optin input:focus-visible { outline: 3px solid var(--brunswick); outline-offset: 2px; }
.comp-form__submit { width: 100%; min-height: 52px; font-size: 1.1rem; }
.comp-form__note { color: var(--gunmetal); font-size: 0.85rem; }
.comp-form__note p { margin: 0 0 8px; }
.comp-form__note p:last-child { margin-bottom: 0; }

/* The full terms and conditions page: readable long-form text on Midnight. */
.comp-terms { background: var(--sea-salt); color: var(--carbon); border-radius: 16px; padding: 24px 20px 28px; }
.comp-terms h2 { color: var(--brunswick); font-size: 1.15rem; font-weight: 500; margin: 24px 0 8px; }
.comp-terms h2:first-child { margin-top: 0; }
.comp-terms p { margin: 0 0 12px; font-size: 0.95rem; line-height: 1.6; }
.comp-terms ul { margin: 0 0 12px; padding-left: 22px; font-size: 0.95rem; line-height: 1.6; }
.comp-terms li { margin-bottom: 4px; }
.comp-terms a { color: var(--brunswick); }
.comp-terms__back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }

.comp-footer .site-footer__base { border-top: none; margin-top: 0; padding-top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
/* For the stand team only: quiet on purpose, but still real focusable controls (the event
   display button and the poster PDF links share the one style). */
.display-tools { display: inline-flex; align-items: center; gap: 18px; }
.display-launch {
  background: none; border: none; cursor: pointer; font-family: inherit;
  color: var(--mint); opacity: 0.45; font-size: 0.8rem; padding: 10px 0;
  text-decoration: none;
}
.display-launch:hover, .display-launch:focus-visible { opacity: 1; }

/* The big-screen scan-to-enter takeover. Sized in vmin so it fills a landscape TV or a
   portrait laptop equally well. */
.display-overlay {
  position: fixed; inset: 0; z-index: 100; background: var(--midnight); color: var(--sea-salt);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3.2vmin; text-align: center; padding: 5vmin;
}
.display-overlay[hidden] { display: none; }
body.display-open { overflow: hidden; }
.display-overlay__logo { height: 6vmin; min-height: 28px; width: auto; }
.display-overlay__headline { margin: 0; font-weight: 500; color: #F4F7FB; font-size: 7vmin; line-height: 1.15; }
.display-overlay__qr { width: min(52vmin, 70vw); height: auto; border-radius: 2vmin; background: #fff; }
.display-overlay__cta { margin: 0; color: var(--pulse); font-weight: 500; font-size: 5vmin; }
.display-overlay__prizes { margin: 0; color: var(--celadon); font-size: 2.4vmin; max-width: 90vw; }
.display-overlay__close {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px;
  background: none; border: none; cursor: pointer; color: var(--mint); opacity: 0.5;
  font-size: 1.8rem; line-height: 1;
}
.display-overlay__close:hover, .display-overlay__close:focus-visible { opacity: 1; }

/* The two print poster designs rebuilt as HTML takeovers (same shell as the QR display),
   so they are sharp at any screen size. Sized in vmin like the QR display. */
.poster-a2, .poster-a3 { align-items: flex-start; text-align: left; padding: 6vmin 8vmin; }
.poster-mark { position: absolute; right: 5vmin; bottom: 9vmin; width: 22vmin; height: auto; }
.poster-mark--a3 { width: 28vmin; bottom: 8vmin; }
.poster-smallprint { margin: 0; color: rgba(244, 247, 251, 0.75); font-size: 1.8vmin; max-width: 80%; }

.poster-a2 { gap: 4vmin; }
.poster-a2__headline { margin: 0; font-weight: 500; color: #F4F7FB; font-size: 6vmin; line-height: 1.35; max-width: 24ch; }
.poster-a2__logo { height: 12vmin; width: auto; }
.poster-a2__pill {
  margin: 0; background: var(--pulse); color: var(--midnight);
  font-weight: 500; font-size: 4vmin; padding: 2vmin 5vmin; border-radius: 10vmin;
}
.poster-a2__strap { margin: 2vmin 0 0; font-weight: 500; color: #F4F7FB; font-size: 4.2vmin; line-height: 1.35; }
.poster-a2__blurb { margin: 0; color: #F4F7FB; font-size: 2.6vmin; line-height: 1.5; max-width: 44ch; }

.poster-a3 { gap: 3vmin; }
.poster-a3__headline { margin: 0; font-weight: 500; font-size: 7vmin; line-height: 1.15; }
.poster-a3__logo { height: 13vmin; width: auto; }
.poster-a3__prizes { list-style: none; margin: 2vmin 0 0; padding: 0; display: grid; gap: 2.2vmin; width: min(88vmin, 70vw); }
.poster-a3__prize {
  display: grid; grid-template-columns: 8vmin 1fr; column-gap: 3vmin; align-items: center;
  background: rgba(134, 207, 243, 0.08); border: 1px solid rgba(134, 207, 243, 0.25);
  border-radius: 2vmin; padding: 2.4vmin 3.2vmin;
}
.poster-a3__place {
  display: flex; align-items: center; justify-content: center;
  width: 8vmin; height: 8vmin; border-radius: 50%; background: var(--pulse); color: var(--midnight);
  font-weight: 500; font-size: 2.6vmin;
}
.poster-a3__text { display: grid; }
.poster-a3__what { font-weight: 500; color: #F4F7FB; font-size: 3.4vmin; }
.poster-a3__detail { color: var(--celadon); font-size: 2.5vmin; }

/* Cookie consent banner (Google Analytics, opt-in). Encore palette: Midnight, Pulse. */
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2000;
  max-width: 720px;
  margin: 0 auto;
  background: #071428;
  color: #F4F7FB;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 8px 30px -10px rgba(7, 20, 40, .6);
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-consent__text { flex: 1 1 280px; margin: 0; font-size: 14px; line-height: 1.5; }
.cookie-consent__accept,
.cookie-consent__decline {
  border-radius: 8px;
  padding: 9px 16px;
  cursor: pointer;
  font: inherit;
}
.cookie-consent__accept { background: #86CFF3; color: #071428; border: 0; font-weight: 600; }
.cookie-consent__decline { background: transparent; color: #F4F7FB; border: 1px solid rgba(244, 247, 251, .5); }
