@font-face { font-family: "Saira"; font-style: normal; font-weight: 400 700; font-stretch: 100% 112%; font-display: swap; src: url(fonts/saira-text.woff2) format("woff2"); }
@font-face { font-family: "Saira"; font-style: italic; font-weight: 700; font-stretch: 125%; font-display: swap; src: url(fonts/saira-italic-wide-700.woff2) format("woff2"); }
/* Velocity Vending. Rebuilt 2026-11-14 on farmersfridge.com: centred wordmark header, split colour-block hero,
   rounded colour tiles for the product range with small uppercase names, edge-to-edge photo band, four short
   step columns, boxed form, dark footer. Colours from their machine wrap (indigo + electric blue). */
:root {
  --ink: #0e1726;
  --ink-2: #3d4757;
  --muted: #667085;
  --paper: #ffffff;
  --soft: #f4f4f7;
  --indigo: #1c1456;
  --blue: #1557e8;
  --blue-dark: #0f44b8;
  --electric: #5b8cff;
  --rule: rgba(14, 23, 38, .11);
  --font: "Saira", "Arial Narrow", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); font-variation-settings: "wdth" 100; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3 { font-weight: 600; line-height: 1.12; margin: 0; font-stretch: 112%; font-variation-settings: "wdth" 112; }
h2 { font-size: 34px; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
figure { margin: 0; }

/* FF buttons: rounded-rect outline, uppercase label, fills on hover */
.btn {
  display: inline-block; padding: 14px 22px; border: 2px solid var(--ink); border-radius: 8px;
  background: transparent; color: var(--ink); font: 600 14px/1 var(--font); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-small { padding: 10px 16px; font-size: 13px; }
.btn-solid { background: var(--electric); border-color: var(--electric); color: var(--indigo); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn:active { transform: translateY(1px); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* header: nav left, wordmark centred, button right */
.top { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: 72px; padding: 0 32px; background: #fff; border-bottom: 1px solid var(--rule); }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.top .btn { justify-self: end; }
.mark { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); line-height: 1; }
.mark-name { font-style: italic; font-weight: 700; font-size: 26px; font-variation-settings: "wdth" 125; font-stretch: 125%; letter-spacing: .01em; text-transform: uppercase; }
.mark-sub { font-size: 12px; font-weight: 500; color: var(--blue); margin-top: 3px; letter-spacing: .02em; }

/* hero: indigo block + tall machine photo */
.hero { display: grid; grid-template-columns: 1.08fr .92fr; background: var(--indigo); color: #fff; min-height: min(82vh, 760px); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 64px clamp(32px, 6vw, 96px); }
.hero h1 { font-size: clamp(38px, 4vw, 54px); max-width: 11em; }
.hero-copy p { color: #c9cdf2; margin: 20px 0 32px; max-width: 30em; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { position: relative; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-photo figcaption { position: absolute; left: 16px; bottom: 16px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 500; padding: 5px 10px; border-radius: 6px; }

/* machine tiles */
.machines { padding: 96px 32px 80px; text-align: center; max-width: 1240px; margin: 0 auto; }
.machines h2 { margin-bottom: 40px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-align: center; }
.tile-img { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1.08; border-radius: 16px; overflow: hidden; padding: 14px; transition: box-shadow .2s ease; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.t-pokemon .tile-img { background: #e4dbff; }
.t-smart .tile-img { background: #d9e5ff; }
.t-charge .tile-img { background: #d5f2dc; }
.t-snack .tile-img { background: #ffe2c7; }
.tile-type { display: flex !important; align-items: center; justify-content: center; }
.tile-type span { font: 600 24px/1.3 var(--font); font-variation-settings: "wdth" 112; color: #8a4a12; }
.tile-img::after { content: "Added"; position: absolute; top: 24px; right: 24px; background: var(--indigo); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 4px 9px; border-radius: 6px; opacity: 0; transform: translateY(-4px); transition: opacity .2s ease, transform .2s ease; }
.tile.on .tile-img { box-shadow: inset 0 0 0 3px var(--indigo); }
.tile.on .tile-img::after { opacity: 1; transform: none; }
.tile-name { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.tile-line { font-size: 15px; color: var(--ink-2); max-width: 17em; line-height: 1.45; }
.tile:active .tile-img { transform: scale(.985); }
.tiles-note { margin: 30px 0 0; font-size: 14px; color: var(--muted); }

/* edge-to-edge photo band */
.band { display: grid; grid-template-columns: repeat(4, 1fr); }
.band figure { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band figcaption { position: absolute; left: 12px; bottom: 12px; background: #fff; font-size: 13px; font-weight: 500; padding: 4px 9px; border-radius: 6px; }

/* steps */
.how { padding: 96px 32px 80px; max-width: 1240px; margin: 0 auto; text-align: center; }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); text-align: left; }
.steps li { padding: 0 26px; border-left: 1px solid var(--rule); }
.steps li:first-child { border-left: 0; padding-left: 0; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 16px; margin: 0; }
.stock { margin: 56px auto 0; max-width: 46em; color: var(--ink-2); }
.stock strong { color: var(--ink); }

/* request */
.request { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; padding: 88px 32px; max-width: 1240px; margin: 0 auto; border-top: 1px solid var(--rule); }
.request h2 { margin-bottom: 28px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 18px; }
.field > label, legend { display: block; font-size: 15px; font-weight: 500; margin-bottom: 6px; padding: 0; }
form input:not([type=checkbox]):not([type=radio]), form select, form textarea {
  width: 100%; font: 400 16px/1.4 var(--font); color: var(--ink); background: #fff; border: 2px solid rgba(14, 23, 38, .2); border-radius: 8px; padding: 11px 13px; min-height: 48px;
}
form textarea { resize: vertical; }
form input::placeholder, form textarea::placeholder { color: #98a2b3; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--blue); }
fieldset.field { border: 0; padding: 0; margin: 4px 0 18px; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.check { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 13px; border: 2px solid rgba(14, 23, 38, .16); border-radius: 8px; background: #fff; font-size: 15px; cursor: pointer; transition: border-color .15s, color .15s; }
.check:has(input:checked) { border-color: var(--blue); color: var(--blue); }
.check:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 1px; }
.check input { accent-color: var(--blue); margin: 0; }
.msg { display: none; color: #b42318; font-size: 14px; margin: 6px 0 0; }
.bad .msg { display: block; }
.bad input:not([type=checkbox]):not([type=radio]), .bad select { border-color: #d92d20; }
.bad .check { border-color: rgba(217, 45, 32, .45); }
.request form .btn { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.sent { scroll-margin-top: 96px; border: 2px solid var(--indigo); border-radius: 12px; padding: 32px; outline: none; }
.sent h3 { font-size: 26px; margin-bottom: 12px; }
.sent p { color: var(--ink-2); }
.opt { color: var(--muted); font-weight: 400; }
.small { font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.request-contact { align-self: start; background: var(--soft); border-radius: 16px; padding: 32px; }
.request-contact h3 { font-size: 24px; margin-bottom: 18px; }
.person { padding: 14px 0; border-top: 1px solid var(--rule); }
.person p { margin: 0; }
.who { font-weight: 600; }
.who span { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.person a { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.social { display: flex; gap: 18px; padding-top: 16px; border-top: 1px solid var(--rule); margin: 0; }
.social a { color: var(--blue); font-weight: 500; }

/* footer */
.foot { background: var(--indigo); color: #c9cdf2; padding: 56px 32px 40px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; font-size: 14px; }
.foot p { margin: 0; }
.foot a { color: #fff; }
.mark-foot { align-items: flex-start; color: #fff; margin-right: auto; }
.mark-foot .mark-name { font-size: 40px; }
.mark-foot .mark-sub { color: var(--electric); font-size: 14px; }

@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--blue-dark); }
  .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
  .btn-solid:hover { background: #fff; border-color: #fff; color: var(--indigo); }
  .btn-ghost:hover { background: #fff; border-color: #fff; color: var(--indigo); }
  .request form .btn:hover { background: var(--blue); border-color: var(--blue); }
  .nav a:hover { border-color: var(--blue); color: var(--ink); }
  .tile:hover .tile-img { box-shadow: inset 0 0 0 3px rgba(28, 20, 86, .35); }
  .tile.on:hover .tile-img { box-shadow: inset 0 0 0 3px var(--indigo); }
  .check:hover { border-color: rgba(14, 23, 38, .4); }
  .foot a:hover { color: var(--electric); }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .top { grid-template-columns: auto 1fr; }
  .mark { align-items: flex-start; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .band { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .request { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .top { padding: 0 16px; height: 64px; }
  .mark-name { font-size: 21px; }
  .mark-sub { font-size: 11px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; height: 58svh; min-height: 380px; }
  .hero-copy { padding: 34px 16px 40px; }
  .hero h1 { font-size: 34px; }
  .hero-copy p { margin: 14px 0 24px; }
  .hero-btns .btn { flex: 1 1 auto; text-align: center; }
  h2 { font-size: 27px; }
  .machines, .how { padding: 64px 16px 56px; }
  .machines h2 { margin-bottom: 28px; }
  .tile-img { padding: 10px; border-radius: 14px; }
  .tile-type span { font-size: 18px; }
  .tile-line { font-size: 14px; }
  .tile-img::after { top: 16px; right: 16px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li, .steps li:first-child, .steps li:nth-child(3) { border-left: 0; padding: 18px 0; border-top: 1px solid var(--rule); }
  .stock { margin-top: 32px; text-align: left; }
  .request { padding: 64px 16px; }
  .row2 { grid-template-columns: 1fr; }
  .request-contact { padding: 24px 20px; }
  .foot { padding: 44px 16px 32px; flex-direction: column; align-items: flex-start; }
  .mark-foot .mark-name { font-size: 32px; }
}
