:root {
  /* Brand colours, sampled from the logo */
  --black: #000000;
  --ink: #111111;
  --blue: #00BBFE;        /* fills; black text on it is 9.5:1 */
  --blue-hover: #33C9FF;
  --blue-deep: #0087F4;
  --blue-ink: #006DB8;    /* blue text on light backgrounds (5.4:1) */
  --blue-tint: #E6F7FF;
  --cookie: #F9BD6D;
  --text: #1F2937;
  --muted: #555B66;
  --line: #E5E7EB;
  --grey: #F3F4F6;
  --white: #FFFFFF;

  --font: "Alexandria", system-ui, sans-serif;

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 1rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--black); font-weight: 700; letter-spacing: -0.01em; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 3px; border-radius: 6px; }
.topbar :focus-visible, .section--dark :focus-visible, .footer :focus-visible { outline-color: var(--blue); }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 880px; }

.skip-link {
  position: absolute; top: 8px; left: 8px; z-index: 200;
  padding: 10px 16px; border-radius: 999px;
  background: var(--blue); color: var(--black); font-weight: 700; text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px;
  border: 2px solid transparent; border-radius: 999px;
  font: 600 1rem/1 var(--font);
  text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #2B2B2B; }
.btn--blue { background: var(--blue); color: var(--black); }
.btn--blue:hover { background: var(--blue-hover); }
.btn--line { border-color: var(--black); color: var(--black); background: transparent; }
.btn--line:hover { background: var(--black); color: var(--white); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }
.btn--block { width: 100%; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--black); color: #D1D5DB; font-size: 0.8125rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar-contact { display: flex; gap: 24px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; min-height: 40px; }
.topbar a:hover { color: var(--white); }
.topbar svg { width: 15px; height: 15px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.topbar-note { color: var(--blue); font-weight: 600; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 52px; height: 52px; border-radius: 50%; }
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-size: 1.25rem; font-weight: 800; color: var(--black); }
.brand-text small { font-size: 0.75rem; font-weight: 600; color: var(--blue-ink); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 10px 14px; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 600; color: var(--black); text-decoration: none;
}
.nav a:hover { background: var(--grey); }
.menu-btn {
  display: none; margin-left: auto;
  width: 46px; height: 46px; padding: 11px;
  background: var(--black); border: 0; border-radius: 12px;
}
.menu-btn svg { width: 24px; height: 24px; fill: none; stroke: var(--white); stroke-width: 2.2; stroke-linecap: round; }

/* ---------- Hero ---------- */
.hero { padding: 24px 0 8px; }
.hero-panel {
  position: relative;
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 40px;
  padding: 56px 64px 0;
  background: var(--grey);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.hero-copy { padding-bottom: 56px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; max-width: 13ch; }
.hero-sub { margin-top: 20px; font-size: 1.125rem; font-weight: 700; color: var(--black); }
.hero-text { margin-top: 14px; max-width: 34em; color: var(--muted); }
.hero-text strong { color: var(--black); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-media { position: relative; align-self: end; justify-self: center; height: 100%; display: flex; align-items: flex-end; }
.hero-machine { position: relative; z-index: 1; width: auto; max-height: 520px; height: calc(100% - 40px); margin-bottom: 40px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .18)); }

/* HAHA smart cooler: one feature card (photo + copy) */
.haha-feature {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 40px;
  padding: 28px 36px 28px 28px;
  background: var(--white); border: 2px solid var(--blue); border-radius: var(--r-lg);
}
.haha-photo { display: flex; align-items: center; justify-content: center; height: 420px; background: var(--white); border-radius: var(--r-md); overflow: hidden; }
.haha-photo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.haha-copy { display: grid; justify-items: start; gap: 14px; }
.haha-copy h4 { margin: 0; font-size: 1.75rem; font-weight: 800; color: var(--black); }
.haha-copy > p { color: var(--muted); max-width: 46ch; }
.hero-badge {
  position: absolute; z-index: 2; left: -70px; top: 40px;
  width: 132px; height: 132px; border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.hero-points li {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--r-md);
}
.hero-points li > span:last-child { display: grid; font-size: 0.875rem; color: var(--muted); line-height: 1.4; }
.hero-points strong { font-size: 1.0625rem; color: var(--black); }
.pt-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue); }
.pt-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--black); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--grey { background: var(--grey); }
.section--dark { background: var(--black); color: #D1D5DB; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.section-head p { margin-top: 14px; font-size: 1.0625rem; color: var(--muted); }
.section--dark .section-head p { color: #9CA3AF; }

/* Two ways */
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.option {
  display: grid; grid-template-rows: auto 1fr;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--white);
}
/* The photo must stay inside its grey box: flex + max sizes (a % height inside an auto grid row
   can't resolve, which let the image render at full size and cover the text below). */
.option-media { display: flex; align-items: center; justify-content: center; height: 320px; padding: 20px; background: var(--grey); overflow: hidden; }
.option-media img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.option-body { display: grid; align-content: start; justify-items: start; gap: 12px; padding: 30px 32px 34px; }
.option-body h3 { font-size: 1.75rem; font-weight: 800; }
.option-body > p:not(.tag) { color: var(--muted); }
.tag { padding: 5px 12px; border-radius: 999px; background: var(--grey); font-size: 0.8125rem; font-weight: 700; color: var(--black); }
.tag--blue { background: var(--blue); }
.ticks { display: grid; gap: 8px; margin: 4px 0 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 500; color: var(--black); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Machines: classic group + HAHA group */
.group + .group { margin-top: 56px; }
.group-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 20px; }
.group-head h3 { font-size: 1.625rem; font-weight: 800; }
.group-head .tag { background: var(--white); border: 1px solid var(--line); }
.group-head .tag--blue { background: var(--blue); border-color: var(--blue); }
.models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.models--classic { grid-template-columns: repeat(4, 1fr); }
.model.model--machine { gap: 8px; padding: 16px 18px 22px; }
.machine-photo {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 280px; margin-bottom: 8px; padding: 12px;
  background: var(--white); border-radius: 14px; overflow: hidden;
}
.machine-photo img { display: block; width: auto !important; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; margin: 0 !important; aspect-ratio: auto !important; }
.machine-photo--fill { padding: 0; background: var(--grey); }
.machine-photo--fill img { width: 100% !important; height: 100% !important; max-height: none; object-fit: cover; object-position: center 40%; }
.model--machine h4 { font-size: 1.125rem; line-height: 1.3; }
.model--machine .size { margin-top: auto; padding-top: 6px; font-size: 0.8125rem; font-weight: 600; color: var(--black); }
.classic-note {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 20px; padding: 22px 26px;
  background: var(--white); border: 1px dashed #C9CED6; border-radius: var(--r-md);
}
.classic-note h4 { margin: 0; font-size: 1.125rem; color: var(--black); }
.classic-note p { margin-top: 4px; color: var(--muted); font-size: 0.9375rem; }
.model {
  display: grid; justify-items: center; align-content: start; gap: 4px;
  padding: 16px 16px 22px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-md);
  text-align: center;
  transition: border-color .15s;
}
.model:hover { border-color: var(--blue); }
.model img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; margin-bottom: 8px; }
.model h4 { margin: 0; font-size: 1.25rem; font-weight: 700; color: var(--black); }
.model p { font-size: 0.875rem; color: var(--muted); }
.model--note { align-content: center; justify-items: start; gap: 12px; padding: 28px; text-align: left; border-style: dashed; border-color: #C9CED6; }
.model--note p { font-size: 0.9375rem; }
.model--cta { background: var(--black); border-color: var(--black); align-content: center; gap: 10px; }
.model--cta h4 { color: var(--white); }
.model--cta p { color: #9CA3AF; margin-bottom: 6px; }
.model-logo { width: 110px !important; height: 110px; border-radius: 50%; margin-bottom: 4px !important; }

.contact-logo, .footer-name img, .brand-logo, .hero-badge, .model-logo { height: auto; aspect-ratio: 1; }

/* Tap grab go */
.tgg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tgg li { padding: 32px; background: #121417; border: 1px solid #23272E; border-radius: var(--r-md); }
.tgg-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--blue); margin-bottom: 22px; }
.tgg-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--black); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tgg-step { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.tgg h3 { font-size: 1.5rem; }
.tgg p { margin-top: 8px; color: #9CA3AF; }

/* Places */
.scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.scene { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; }
.scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene-name {
  position: absolute; left: 14px; bottom: 14px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--white); color: var(--black);
  font-size: 0.9375rem; font-weight: 700;
}
.scene-type {
  position: absolute; left: 14px; top: 14px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--black); color: var(--white);
  font-size: 0.75rem; font-weight: 600;
}
.scene-type--blue { background: var(--blue); color: var(--black); }

/* How Just 1 Bite works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { padding: 32px; background: var(--white); border-radius: var(--r-md); border: 1px solid var(--line); }
.step-num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--black); color: var(--blue); font-size: 1.25rem; font-weight: 800; margin-bottom: 20px; }
.step h3 { font-size: 1.25rem; }
.step p { margin-top: 8px; color: var(--muted); }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; padding-top: 40px; border-top: 1px solid #D9DDE3; }
.why h3 { font-size: 1.0625rem; }
.why h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--blue); margin-bottom: 12px; }
.why p { margin-top: 6px; font-size: 0.9375rem; color: var(--muted); }

/* Contact / quote */
.contact {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start;
  padding: 48px;
  background: var(--grey); border-radius: var(--r-lg);
}
.contact-logo { width: 150px; height: 150px; border-radius: 50%; margin-bottom: 20px; }
.contact-info h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 800; }
.contact-info > p { margin-top: 12px; color: var(--muted); }
.contact-list { display: grid; gap: 4px; margin-top: 20px; font-weight: 600; color: var(--black); }
.contact-list li { min-height: 36px; display: flex; align-items: center; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--blue-ink); text-decoration: underline; }

.quote-form { display: grid; gap: 16px; padding: 32px; background: var(--white); border-radius: var(--r-md); box-shadow: 0 10px 30px rgba(0, 0, 0, .06); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .choice legend { font-size: 0.875rem; font-weight: 600; color: var(--black); }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 0 16px;
  background: var(--white); color: var(--black);
  border: 1px solid #C9CED6; border-radius: var(--r-sm);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px var(--blue); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #B42318; background: #FEF3F2; }
.field-error { font-size: 0.8125rem; font-weight: 500; color: #B42318; }
.field-error:empty { display: none; }
.choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.choice legend { padding: 0; margin-bottom: 6px; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-opt {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px; border: 1px solid #C9CED6; border-radius: var(--r-sm);
  cursor: pointer;
}
.choice-opt:has(input:checked) { border-color: var(--black); background: var(--blue-tint); box-shadow: inset 0 0 0 1px var(--black); }
.choice[aria-invalid="true"] .choice-opt:has(input:checked) { border-color: #B42318; background: #FEF3F2; box-shadow: inset 0 0 0 1px #B42318; }
.choice-opt input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--black); flex: none; }
.choice-opt span { display: grid; font-size: 0.8125rem; color: var(--muted); line-height: 1.4; }
.choice-opt strong { font-size: 0.9375rem; color: var(--black); }
.quote-form .btn { margin-top: 4px; min-height: 54px; font-size: 1.0625rem; }
.form-note { text-align: center; font-size: 0.8125rem; color: var(--muted); }
.form-note.is-success { color: #067647; font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 68px; padding: 16px 24px;
  font-size: 1.0625rem; font-weight: 600; color: var(--black);
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* Footer */
.footer { background: var(--black); color: #D1D5DB; font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 44px; }
.footer-name { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-size: 1.25rem; font-weight: 800; color: var(--white); }
.footer-name img { width: 64px; height: 64px; border-radius: 50%; }
.footer-brand p:last-child { max-width: 34ch; color: #9CA3AF; }
.footer-title { margin-bottom: 10px; font-size: 0.875rem; font-weight: 700; color: var(--blue); }
.footer li { display: flex; align-items: center; min-height: 36px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: grid; gap: 4px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid #23272E; font-size: 0.8125rem; color: #9CA3AF; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 10px 10px; font-size: 0.875rem; }
}
@media (max-width: 1024px) {
  .hero-panel { padding: 44px 40px 0; }
  .models { grid-template-columns: repeat(3, 1fr); }
  .scenes { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    display: none; flex-direction: column; gap: 0;
    padding: 8px 20px 18px; background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .08);
  }
  .nav a { min-height: 50px; display: flex; align-items: center; font-size: 1.0625rem; }
  .header.is-open .nav { display: flex; }
  .menu-btn { display: block; }
  .header-cta { display: none; }
  .hero-panel { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-bottom: 28px; }
  .hero-media { height: 380px; }
  .hero-badge { left: -34px; top: 16px; width: 88px; height: 88px; }
  .haha-feature { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .haha-photo { height: 320px; }
  .hero-points, .options, .tgg, .steps { grid-template-columns: 1fr; }
  .models--classic { grid-template-columns: 1fr 1fr; }
  .model--note { grid-column: 1 / -1; }
  .machine-photo { height: 240px; }
  .topbar-note { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding-top: 12px; }
  .hero-panel { padding: 32px 22px 0; border-radius: 22px; }
  .section { padding: 72px 0; }
  .models { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .model { padding: 12px 10px 16px; }
  .model h4 { font-size: 1.0625rem; }
  .scenes { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .contact { padding: 24px 16px; }
  .quote-form { padding: 20px; }
  .form-grid, .choice-row { grid-template-columns: 1fr; }
  .option-media { height: 260px; }
  .option-body { padding: 24px 22px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-contact { gap: 14px; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
