/* ==========================================================================
   Buzz Vending — site stylesheet
   Brand: black / honey yellow / white
   ========================================================================== */

:root {
  --ink:        #0b0b0c;
  --ink-2:      #16161a;
  --ink-3:      #24242a;
  --honey:      #f7b500;
  --honey-dk:   #d99a00;
  --honey-lt:   #ffd968;
  --paper:      #ffffff;
  --paper-2:    #faf9f5;
  --paper-3:    #f2efe6;
  --body:       #4e4e56;
  --line:       rgba(11, 11, 12, .12);
  --line-dk:    rgba(255, 255, 255, .14);

  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --radius: 18px;
  --radius-sm: 12px;

  --shadow: 0 18px 50px rgba(11, 11, 12, .10);
  --shadow-lg: 0 30px 80px rgba(11, 11, 12, .18);
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin-bottom: .5em; }

strong { color: var(--ink); font-weight: 700; }

/* ------------------------------------------------------------- layout --- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap--narrow { max-width: 820px; }

section { position: relative; }

.pad     { padding: clamp(60px, 8vw, 110px) 0; }
.pad-sm  { padding: clamp(44px, 5vw, 70px) 0; }
.pad-top-0 { padding-top: 0; }

.dark {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
}
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark strong { color: #fff; }

.tint { background: var(--paper-2); }

.grid { display: grid; gap: 28px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--wide-left { grid-template-columns: 1.15fr 1fr; }
.split--wide-right { grid-template-columns: 1fr 1.15fr; }

.center { text-align: center; }
.center .lede, .center .eyebrow { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------- type --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--honey-dk);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 18px;
  background: var(--honey);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex: none;
}
.dark .eyebrow { color: var(--honey); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  max-width: 58ch;
}

.section-head { max-width: 720px; margin-bottom: clamp(34px, 4vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; }

/* Marker-pen highlight. `isolation: isolate` creates a stacking context on the
   span itself, so the z-index:-1 bar lands behind the glyphs but still in
   front of the section background — the ordering breaks without it. */
.hl {
  position: relative;
  isolation: isolate;
  white-space: nowrap;
  padding: 0 .1em;
}
.hl::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.02em;
  width: 100%;
  height: .32em;
  background: var(--honey);
  border-radius: 3px;
  z-index: -1;
  transform-origin: left center;
  animation: hl-sweep .9s cubic-bezier(.25, 1, .5, 1) .3s both;
}

@keyframes hl-sweep {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* -------------------------------------------------------------- button -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: .97rem;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--honey);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(247, 181, 0, .34);
}
.btn--primary:hover { background: var(--honey-lt); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--ink); }

/* Any dark surface — .dark sections, the hero, showcase panels and the CTA
   block — needs the light-on-dark ghost button, not the default dark-on-light. */
.dark .btn--ghost,
.hero .btn--ghost,
.showcase .btn--ghost,
.cta .btn--ghost,
.site-footer .btn--ghost,
.mobile-cta .btn--ghost {
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}
.dark .btn--ghost:hover,
.hero .btn--ghost:hover,
.showcase .btn--ghost:hover,
.cta .btn--ghost:hover,
.site-footer .btn--ghost:hover,
.mobile-cta .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.center .btn-row { justify-content: center; }

/* -------------------------------------------------------------- header -- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}
.site-header.is-solid,
.site-header.is-light {
  background: var(--ink);
  box-shadow: 0 6px 30px rgba(0, 0, 0, .25);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: block; flex: none; }
.logo img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
  position: relative;
  padding: 10px 15px;
  color: rgba(255, 255, 255, .82);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: color .18s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 2px;
  background: var(--honey);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav .btn { margin-left: 12px; padding: 12px 24px; }
.nav .btn::after { display: none; }

/* `.nav a` is more specific than `.btn--primary`, so the button colour has to
   be restated or the CTA renders white-on-yellow. */
.nav a.btn--primary,
.nav a.btn--primary:hover { color: var(--ink); }
.nav a.btn--dark, .nav a.btn--dark:hover { color: #fff; }

/* dropdown */
.has-sub { position: relative; }
.has-sub > a::before {
  content: "";
  position: absolute;
  right: 2px; top: 50%;
  width: 5px; height: 5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  opacity: .6;
}
.has-sub > a { padding-right: 22px; }

.sub {
  position: absolute;
  top: 100%; left: 0;
  min-width: 268px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  list-style: none;
  margin: 8px 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sub li { margin: 0; }
.sub a {
  display: block;
  padding: 11px 14px;
  color: var(--ink);
  border-radius: 9px;
  font-size: .93rem;
}
.sub a::after { display: none; }
.sub a:hover { background: var(--paper-3); color: var(--ink); }

/* mobile toggle — must sit above the slide-in panel so it becomes the X */
.burger {
  display: none;
  width: 46px; height: 46px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 110;
  flex: none;
}
.burger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  padding: clamp(140px, 20vh, 220px) 0 clamp(70px, 9vw, 120px);
  overflow: hidden;
}
.hero h1 { color: #fff; }
.hero--home { padding-top: clamp(170px, 26vh, 260px); }

.hero-inner { position: relative; z-index: 2; max-width: 780px; }
.hero .lede { font-size: clamp(1.1rem, 1.9vw, 1.35rem); color: rgba(255, 255, 255, .78); }

/* honeycomb backdrop */
.comb {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .5;
  background-image:
    radial-gradient(circle at 78% 18%, rgba(247, 181, 0, .22), transparent 46%),
    radial-gradient(circle at 12% 88%, rgba(247, 181, 0, .10), transparent 50%);
}
.comb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16.17v32.33L28 64.67 0 48.5V16.17z' fill='none' stroke='%23ffffff' stroke-opacity='.055' stroke-width='1.4'/%3E%3Cpath d='M28 64.67l28 16.16V113L28 129.17 0 113V80.83z' fill='none' stroke='%23ffffff' stroke-opacity='.055' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 56px 97px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
}

/* strip of stats under hero */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}
.hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px 9px 14px;
  border: 1px solid var(--line-dk);
  border-radius: 999px;
  font-size: .87rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .04);
}
.hero-stats span::before {
  content: "";
  width: 12px; height: 14px;
  background: var(--honey);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex: none;
}

/* --------------------------------------------------------------- cards -- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(11, 11, 12, .2); }
.card h3 { margin-bottom: .45em; }
.card p { font-size: .96rem; }

.card--link { text-decoration: none; }
.card--link .more {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 800;
  font-size: .9rem;
  color: var(--honey-dk);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.card--link .more::after {
  content: "→";
  transition: transform .2s ease;
}
.card--link:hover .more::after { transform: translateX(4px); }

.dark .card {
  background: var(--ink-2);
  border-color: var(--line-dk);
}
.dark .card:hover { border-color: rgba(247, 181, 0, .5); }
.dark .card p { color: rgba(255, 255, 255, .7); }

/* icon tile */
.icon {
  width: 52px; height: 58px;
  display: grid;
  place-items: center;
  background: var(--honey);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  margin-bottom: 22px;
  flex: none;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ink);
}
.icon svg { width: 24px; height: 24px; }

/* numbered steps */
.step { position: relative; padding-left: 74px; }
.step::before {
  content: attr(data-n);
  position: absolute;
  left: 0; top: 0;
  width: 50px; height: 56px;
  display: grid;
  place-items: center;
  background: var(--honey);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--ink);
}
.step h3 { margin-bottom: .35em; }
.step p { font-size: .96rem; }

/* ---------------------------------------------------------------- list -- */
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.ticks li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  font-size: 1rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .34em;
  width: 18px; height: 20px;
  background: var(--honey);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 5px; top: .72em;
  width: 8px; height: 4px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}

/* pill list of products / areas */
.pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.pills li {
  margin: 0;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
}
.dark .pills li { background: rgba(255, 255, 255, .05); border-color: var(--line-dk); color: rgba(255, 255, 255, .88); }

/* ------------------------------------------------------------ showcase -- */
.showcase {
  position: relative;
  border-radius: var(--radius);
  background: var(--ink);
  padding: 44px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}
.showcase .comb { opacity: .8; }
.showcase-body { position: relative; z-index: 2; }
.showcase h3 { color: #fff; font-size: 1.6rem; }
.showcase p { color: rgba(255, 255, 255, .74); font-size: .97rem; margin: 0; }

/* machine illustration (pure CSS, no stock photos) */
.machine {
  position: relative;
  width: min(340px, 82%);
  aspect-ratio: 3 / 5;
  margin: 0 auto;
  border-radius: 20px;
  background: linear-gradient(160deg, #1d1d22, #0b0b0c 60%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .07);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.machine::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(115deg, rgba(255, 255, 255, .14), transparent 42%);
  pointer-events: none;
}
.machine-glass {
  flex: 1;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .12);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;       /* rows stretch to fill the glass */
  gap: 8px 7px;
  padding: 12px 11px;
}
/* glass reflection */
.machine-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, rgba(255, 255, 255, .13) 0 26%, transparent 42%);
  pointer-events: none;
}

/* each <i> is a product facing sitting on a shelf */
.machine-glass i {
  display: block;
  position: relative;
  border-radius: 5px 5px 3px 3px;
  background: rgba(255, 255, 255, .2);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .35);
  align-self: end;
  height: 68%;
}
/* shelf edge under each row */
.machine-glass i::after {
  content: "";
  position: absolute;
  left: -3px; right: -3px; bottom: -5px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .12);
}

/* varied "packet" colours so it reads as a stocked machine */
.machine-glass i:nth-child(8n+1) { background: var(--honey); height: 74%; }
.machine-glass i:nth-child(8n+2) { background: rgba(255, 255, 255, .34); height: 62%; }
.machine-glass i:nth-child(8n+3) { background: rgba(217, 154, 0, .78); height: 70%; }
.machine-glass i:nth-child(8n+4) { background: rgba(255, 255, 255, .17); height: 58%; }
.machine-glass i:nth-child(8n+5) { background: rgba(255, 217, 104, .72); height: 66%; }
.machine-glass i:nth-child(8n+6) { background: rgba(255, 255, 255, .26); height: 72%; }
.machine-glass i:nth-child(8n+7) { background: rgba(255, 255, 255, .14); height: 60%; }
.machine-glass i:nth-child(8n+8) { background: var(--honey); opacity: .62; height: 68%; }
.machine-panel {
  height: 74px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}
.machine-reader {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--honey);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--ink);
  font-weight: 900;
  font-size: .7rem;
}
.machine-lines { flex: 1; display: grid; gap: 7px; }
.machine-lines b { display: block; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .22); }
.machine-lines b:last-child { width: 55%; background: rgba(255, 255, 255, .13); }

/* Homepage Concept 1 machine photograph */
.machine-concept {
  width: min(520px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 19, .1);
  border-radius: 24px;
  background: #171717;
  box-shadow: var(--shadow-lg);
}
.machine-concept img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ---------------------------------------------------------------- FAQ --- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 44px 22px 0;
  font-weight: 800;
  font-size: 1.06rem;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2.5px solid var(--honey-dk);
  border-bottom: 2.5px solid var(--honey-dk);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq-body { padding: 0 40px 24px 0; font-size: .98rem; }

/* ---------------------------------------------------------------- CTA --- */
.cta {
  position: relative;
  background: var(--ink);
  border-radius: var(--radius);
  padding: clamp(38px, 5vw, 66px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 32px;
  align-items: center;
}
.cta > * { position: relative; z-index: 2; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: rgba(255, 255, 255, .74); margin: 0; max-width: 52ch; }

/* --------------------------------------------------------------- form --- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow);
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: .85rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: .01em;
}
.field .hint { font-weight: 500; color: var(--body); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper-2);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--honey);
  box-shadow: 0 0 0 4px rgba(247, 181, 0, .18);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .88rem;
  margin-bottom: 22px;
}
.consent input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--honey-dk); }

.form-note { font-size: .84rem; margin-top: 18px; }

.form-success {
  text-align: center;
  padding: 20px 0;
}
.form-success h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin-bottom: 10px;
}
.form-success p { color: var(--body); margin: 0; }

/* honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* contact detail blocks */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dk);
  margin: 0;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { margin-bottom: 0; width: 44px; height: 50px; font-size: 1.05rem; }
.contact-list b { display: block; color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.contact-list a { color: var(--honey); text-decoration: none; font-size: 1.12rem; font-weight: 700; }
.contact-list a:hover { text-decoration: underline; }

/* --------------------------------------------------------------- table -- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  min-width: 520px;
}
th, td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); }
th { color: var(--ink); font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .09em; }
tbody tr:hover { background: var(--paper-2); }

/* -------------------------------------------------------------- footer -- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .6);
  padding: clamp(52px, 6vw, 80px) 0 0;
  font-size: .94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-grid h4 {
  color: #fff;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 11px; }
.footer-grid a { color: rgba(255, 255, 255, .62); text-decoration: none; transition: color .18s ease; }
.footer-grid a:hover { color: var(--honey); }
.footer-logo img { height: 52px; width: auto; margin-bottom: 20px; }
.footer-grid p { font-size: .92rem; max-width: 34ch; }

.footer-bar {
  border-top: 1px solid var(--line-dk);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: .85rem;
  color: rgba(255, 255, 255, .45);
}
.footer-bar a { color: rgba(255, 255, 255, .55); text-decoration: none; }
.footer-bar a:hover { color: var(--honey); }

/* ------------------------------------------------------------- reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.25, 1, .5, 1), transform .7s cubic-bezier(.25, 1, .5, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--honey);
  color: var(--ink);
  padding: 12px 20px;
  z-index: 999;
  font-weight: 800;
  border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 4px; }

/* ---------------------------------------------------------- responsive -- */
@media (max-width: 1040px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 900px) {
  .burger { display: block; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 88vw);
    background: var(--ink-2);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 100px 24px 40px;
    transform: translateX(105%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
    box-shadow: -20px 0 60px rgba(0, 0, 0, .4);
  }
  .nav-open .nav { transform: none; }
  .nav a { padding: 15px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line-dk); border-radius: 0; }
  /* keep the logo visible and the header bar above the open panel */
  .nav-open .site-header { z-index: 105; }
  .nav-open .logo { position: relative; z-index: 110; }
  .nav a::after { display: none; }
  .nav .btn { margin: 22px 0 0; justify-content: center; border-bottom: 0; }
  .has-sub > a::before { display: none; }
  .sub {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    background: transparent;
    box-shadow: none;
    padding: 0 0 6px 14px;
    margin: 0;
  }
  .sub a { color: rgba(255, 255, 255, .7); font-size: .95rem; padding: 12px 4px; }
  .sub a:hover { background: transparent; color: var(--honey); }

  .site-header { background: var(--ink); padding: 12px 0; }

  .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; }
  .g-3 { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; }
  .order-first { order: -1; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .hero-stats span { font-size: .82rem; }
  .logo img { height: 38px; }
  .showcase { padding: 30px; min-height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .cta, .burger, .mobile-cta { display: none; }
  body { color: #000; }
}

/* ==========================================================================
   POLISH LAYER
   Depth, motion and the small details that separate a template from a brand.
   ========================================================================== */

/* --------------------------------------------------- hero atmosphere ---- */
.hero::before {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 70vw; height: 70vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(247, 181, 0, .16), transparent 62%);
  filter: blur(30px);
  z-index: 1;
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 181, 0, .55), transparent);
  z-index: 3;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-6%, 5%, 0) scale(1.12); }
}

/* hero copy lifts in on load */
.hero-inner > * { animation: rise .85s cubic-bezier(.25, 1, .5, 1) both; }
.hero-inner > .eyebrow  { animation-delay: .04s; }
.hero-inner > h1        { animation-delay: .12s; }
.hero-inner > .lede     { animation-delay: .22s; }
.hero-inner > .btn-row  { animation-delay: .32s; }
.hero-inner > .hero-stats { animation-delay: .42s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.hero-stats span { transition: border-color .2s ease, background .2s ease; }
.hero-stats span:hover { border-color: rgba(247, 181, 0, .55); background: rgba(247, 181, 0, .07); }

/* ------------------------------------------------------ header depth --- */
.site-header.is-solid {
  background: rgba(11, 11, 12, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}

/* ------------------------------------------------------- card polish --- */
.card {
  position: relative;
  overflow: hidden;
  background-clip: padding-box;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--honey), var(--honey-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.25, 1, .5, 1);
}
.card:hover::before { transform: scaleX(1); }
.card:hover .icon { transform: translateY(-3px) rotate(-4deg); }
.icon { transition: transform .35s cubic-bezier(.34, 1.4, .5, 1); }

.card--link:focus-visible { outline-offset: 4px; }

/* dark cards get a warm inner glow rather than a flat panel */
.dark .card {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, 0) 55%),
    var(--ink-2);
}

/* ------------------------------------------------------ button shine --- */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-18deg);
  transition: left .6s cubic-bezier(.25, 1, .5, 1);
}
.btn--primary:hover::after { left: 130%; }
.btn--primary:active { transform: translateY(0); }

/* ------------------------------------------------------ trust ribbon --- */
.ribbon {
  background: var(--honey);
  color: var(--ink);
  padding: 0;
  overflow: hidden;
  position: relative;
}
.ribbon-track {
  display: flex;
  width: max-content;
  animation: slide 46s linear infinite;
}
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-track > div { display: flex; flex: none; }
.ribbon span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  margin-right: 44px;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .01em;
  white-space: nowrap;
}
.ribbon span::before {
  content: "";
  width: 13px; height: 15px;
  background: var(--ink);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex: none;
}

@keyframes slide {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* --------------------------------------------------------- machine ----- */
.machine { animation: hover-float 7s ease-in-out infinite; }
@keyframes hover-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.machine-reader {
  box-shadow: 0 0 0 0 rgba(247, 181, 0, .6);
  animation: tap-pulse 3s ease-out infinite;
}
@keyframes tap-pulse {
  0%       { box-shadow: 0 0 0 0 rgba(247, 181, 0, .55); }
  55%, 100%{ box-shadow: 0 0 0 20px rgba(247, 181, 0, 0); }
}

/* ------------------------------------------------------- step polish --- */
.step::after {
  content: "";
  position: absolute;
  left: 50px; top: 27px;
  right: -28px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 5px, transparent 5px 11px);
}
.dark .step::after { background: repeating-linear-gradient(90deg, rgba(255,255,255,.2) 0 5px, transparent 5px 11px); }
.grid > .step:last-child::after { display: none; }
@media (max-width: 900px) { .step::after { display: none; } }

/* --------------------------------------------------------- FAQ hover --- */
.faq summary { transition: color .2s ease; }
.faq summary:hover { color: var(--honey-dk); }
.faq details[open] summary { color: var(--ink); }

/* --------------------------------------------------------- CTA glow ---- */
.cta::before {
  content: "";
  position: absolute;
  bottom: -60%; left: 20%;
  width: 60%; height: 160%;
  background: radial-gradient(circle, rgba(247, 181, 0, .22), transparent 60%);
  filter: blur(20px);
  z-index: 1;
}

/* ---------------------------------------------- showcase interaction --- */
.showcase { transition: transform .4s cubic-bezier(.25, 1, .5, 1); }
.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(247, 181, 0, .18);
  z-index: 3;
  pointer-events: none;
}

/* --------------------------------------------------- pills / footer ---- */
.pills li { transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.pills li:hover { border-color: var(--honey); transform: translateY(-2px); background: rgba(247, 181, 0, .08); }

.footer-grid a { position: relative; }
.footer-grid a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--honey);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s cubic-bezier(.25, 1, .5, 1);
}
.footer-grid a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ----------------------------------------------- sticky mobile CTA ----- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 11, 12, .93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, .1);
  transform: translateY(110%);
  transition: transform .35s cubic-bezier(.25, 1, .5, 1);
}
.mobile-cta.show { transform: none; }
.mobile-cta .btn { flex: 1; padding: 13px 16px; font-size: .92rem; }

@media (max-width: 900px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 70px; }
  .nav-open .mobile-cta { transform: translateY(110%); }
}

/* ------------------------------------------------------ text select ---- */
::selection { background: var(--honey); color: var(--ink); }

/* ---------------------------------------------------- reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .machine,
  .machine-reader,
  .ribbon-track,
  .hl,
  .hero-inner > * { animation: none !important; }
  .hl { background-size: 100% .34em; }
}
