/*
Theme Name: Vektor All Tread
Theme URI: https://vektoralltread.com.au/
Author: Vektor All Tread
Description: Accessible, conversion-focused launch theme for the Vektor All Tread wheelchair-accessible treadmill.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: vektor-all-tread
*/

:root {
  --ink: #111417;
  --muted: #66717a;
  --paper: #f4f6f7;
  --white: #fff;
  --green: #0888c8;
  --green-dark: #050607;
  --lime: #21a7e8;
  --orange: #b7bdc4;
  --line: rgba(17, 20, 23, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  --radius: 28px;
  --font-display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.screen-reader-text {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--green-dark);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-shell { overflow: clip; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 110px 0; }
.section--tight { padding: 72px 0; }
.section--dark { color: var(--white); background: var(--green-dark); }
.section--white { background: var(--white); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 24px;
  height: 3px;
  background: var(--orange);
  content: "";
}
.section--dark .eyebrow { color: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
h1 { max-width: 820px; margin-bottom: 25px; font-size: clamp(3.5rem, 8vw, 7.5rem); }
h2 { max-width: 780px; margin-bottom: 24px; font-size: clamp(2.5rem, 5.2vw, 5rem); }
h3 { margin-bottom: 14px; font-size: clamp(1.45rem, 2.2vw, 2rem); }
.lead { max-width: 720px; color: var(--muted); font-size: clamp(1.12rem, 2vw, 1.35rem); }
.section--dark .lead { color: rgba(255,255,255,.72); }
.accent { color: var(--orange); }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  padding: 24px 0;
  color: var(--white);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo {
  display: block;
  width: clamp(210px, 24vw, 360px);
  max-height: 54px;
  object-fit: contain;
}
.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--green-dark);
  background: var(--lime);
  border-radius: 50%;
  font-weight: 900;
}
.brand__name { font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { font-size: .92rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--lime); }
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
}

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  color: var(--white);
  background: var(--green);
  border: 2px solid var(--green);
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover, .btn:focus-visible { box-shadow: 0 12px 28px rgba(7,55,42,.2); transform: translateY(-2px); }
.btn--lime { color: var(--green-dark); background: var(--lime); border-color: var(--lime); }
.btn--outline { color: var(--white); background: transparent; border-color: rgba(255,255,255,.48); }
.btn--small { min-height: 44px; padding: 10px 19px; font-size: .9rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero {
  position: relative;
  min-height: 900px;
  padding: 180px 0 100px;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(5, 6, 7, .98) 0%, rgba(5, 6, 7, .9) 45%, rgba(6, 18, 26, .78) 100%),
    radial-gradient(circle at 76% 28%, rgba(33,167,232,.22), transparent 30%),
    var(--green-dark);
}
.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33,167,232,.18), transparent 38%);
  background-size: auto, 54px 54px;
  content: "";
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 40px; }
.hero__copy { position: relative; z-index: 2; }
.hero .eyebrow { color: var(--lime); }
.hero .lead { max-width: 650px; color: rgba(255,255,255,.76); }
.hero__visual { position: relative; min-height: 570px; }
.hero__photo-card {
  position: absolute;
  z-index: 2;
  inset: 38px -7% 35px -4%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #eef4f8);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 34px;
  box-shadow: 0 40px 90px rgba(0,0,0,.34);
}
.product-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-showcase {
  position: relative;
  inset: auto;
  min-height: 430px;
}
.hero__halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  background: var(--lime);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.product-art { position: absolute; z-index: 2; inset: 5% -8% 0 -12%; width: 120%; height: 100%; filter: drop-shadow(0 35px 28px rgba(0,0,0,.23)); }
.hero__note {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 30px;
  width: 210px;
  padding: 20px;
  color: var(--white);
  background: linear-gradient(145deg, #111417, #23282d);
  border: 1px solid rgba(33,167,232,.35);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}
.hero__note strong { display: block; font-size: 1.2rem; line-height: 1.2; }
.hero__note span { color: var(--muted); font-size: .82rem; }
.hero__note span { color: rgba(255,255,255,.68); }

.trust-strip { position: relative; z-index: 3; margin-top: -44px; }
.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.trust-item { padding: 25px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--green); font-size: 1.05rem; }
.trust-item span { color: var(--muted); font-size: .86rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.feature-stack { display: grid; gap: 14px; }
.feature-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.feature-row__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 14px;
  font-weight: 900;
}
.feature-row p { margin: 0; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.card {
  min-height: 320px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card__number { display: block; margin-bottom: 70px; color: var(--orange); font-size: .85rem; font-weight: 900; }
.card p { color: var(--muted); }
.card--green { color: var(--white); background: var(--green); }
.card--green p { color: rgba(255,255,255,.72); }
.card--lime { background: var(--lime); }
.card--lime p { color: rgba(17,20,23,.72); }

.legal-panel {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  padding: 70px;
  background:
    radial-gradient(circle at top right, rgba(33,167,232,.24), transparent 34%),
    var(--green-dark);
  border-radius: 38px;
}
.legal-panel__quote {
  padding: 28px;
  color: var(--white);
  background: linear-gradient(145deg, #111417, #27313a);
  border: 1px solid rgba(33,167,232,.36);
  border-radius: 22px;
  transform: rotate(-2deg);
}
.legal-panel__quote strong { display: block; margin-bottom: 8px; font-size: 1.4rem; line-height: 1.2; }
.legal-panel__copy p { color: rgba(255,255,255,.72); }
.legal-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.legal-links a { color: var(--lime); font-size: .88rem; font-weight: 800; }
.legal-disclaimer { margin-top: 24px; color: rgba(255,255,255,.55) !important; font-size: .76rem; }

.gallery-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; grid-auto-rows: 280px; gap: 16px; margin-top: 48px; }
.gallery-item { position: relative; overflow: hidden; background: #dfe6dc; border-radius: 24px; }
.gallery-item:first-child { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:first-child img,
.gallery-item:nth-child(2) img {
  object-fit: contain;
  padding: 18px;
  background: #fff;
}
.gallery-item:hover img { transform: scale(1.035); }
.gallery-fallback { display: grid; width: 100%; height: 100%; place-items: center; background: linear-gradient(145deg, #dbe4d9, #aebfb3); }
.gallery-fallback svg { width: 78%; max-height: 82%; }
.gallery-fallback .product-art { position: static; width: 78%; height: 82%; filter: none; }
.gallery-caption { position: absolute; right: 14px; bottom: 14px; left: 14px; padding: 11px 14px; color: var(--white); background: rgba(7,55,42,.86); border-radius: 12px; font-size: .84rem; font-weight: 700; }

.offer { display: grid; grid-template-columns: 1fr .95fr; overflow: hidden; color: var(--white); background: linear-gradient(145deg, #050607, #0c2534); border-radius: 38px; }
.offer__copy { padding: 70px; }
.offer__price { display: block; margin: 20px 0 6px; color: var(--lime); font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5.7rem); font-weight: 900; line-height: .95; letter-spacing: -.055em; }
.offer__fine { color: rgba(255,255,255,.64); font-size: .82rem; }
.offer__features { display: grid; align-content: center; gap: 0; padding: 50px 60px; color: var(--white); background: #111417; }
.offer__feature { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-weight: 800; }
.offer__feature::before { margin-right: 10px; content: "✓"; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.contact-list { display: grid; gap: 20px; margin-top: 35px; }
.contact-list a, .contact-list span { display: block; }
.contact-list small { color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-list strong { font-size: 1.12rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 34px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.field { display: grid; gap: 7px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 800; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: #fafaf7;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); outline: 3px solid rgba(13,80,61,.12); }
.field textarea { min-height: 130px; resize: vertical; }
.form-honeypot { position: absolute; left: -9999px; }
.form-status { grid-column: 1 / -1; padding: 13px 16px; border-radius: 10px; font-weight: 700; }
.form-status--success { color: #16492c; background: #d8f3df; }
.form-status--error { color: #7c2525; background: #f8dddd; }

.page-hero { padding: 190px 0 100px; color: var(--white); background: radial-gradient(circle at 80% 20%, rgba(33,167,232,.24), transparent 30%), var(--green-dark); }
.page-hero h1 { max-width: 920px; font-size: clamp(3.3rem, 7vw, 6.7rem); }
.content-page { max-width: 840px; padding: 80px 0; }

.site-footer { padding: 64px 0 30px; color: var(--white); background: #050607; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 60px; }
.footer-title { max-width: 430px; margin: 24px 0; color: rgba(255,255,255,.7); font-size: 1.05rem; }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links strong { margin-bottom: 8px; color: var(--lime); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 55px; padding-top: 24px; color: rgba(255,255,255,.45); border-top: 1px solid rgba(255,255,255,.12); font-size: .76rem; }

@media (max-width: 980px) {
  .section { padding: 84px 0; }
  .site-nav {
    position: fixed;
    z-index: 30;
    inset: 0;
    display: none;
    align-content: center;
    justify-items: center;
    padding: 100px 30px;
    background: var(--green-dark);
  }
  .site-nav.is-open { display: grid; }
  .site-nav a { font-size: 1.35rem; }
  .nav-toggle { position: relative; z-index: 40; display: block; }
  .hero { min-height: auto; }
  .hero__grid, .split, .legal-panel, .offer, .contact-grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 500px; }
  .hero__photo-card { inset: 10px 0 40px; }
  .hero__halo { width: min(70vw, 500px); }
  .trust-strip__inner { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-row: auto; }
  .offer__copy, .offer__features { padding: 50px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 68px 0; }
  .hero { padding-top: 145px; }
  .hero__visual { min-height: 360px; }
  .brand__logo { width: 190px; max-height: 44px; }
  .site-header__inner { gap: 14px; }
  .hero__photo-card { inset: 5px -4px 45px; border-radius: 24px; }
  .product-art { inset: 4% -15% 0 -17%; width: 130%; }
  .hero__note { right: 4px; bottom: 5px; width: 170px; padding: 15px; }
  .trust-strip { margin-top: -24px; }
  .trust-strip__inner, .cards, .gallery-grid, .contact-form { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .card { min-height: 270px; }
  .card__number { margin-bottom: 42px; }
  .legal-panel { gap: 40px; padding: 34px 24px; border-radius: 26px; }
  .gallery-grid { grid-auto-rows: 260px; }
  .offer { border-radius: 26px; }
  .offer__copy, .offer__features { padding: 36px 25px; }
  .contact-grid { gap: 45px; }
  .contact-form { padding: 22px; }
  .field--wide { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
