:root {
  --aspx-ink: #101416;
  --aspx-ink-soft: #1a2023;
  --aspx-gold: #ffc400;
  --aspx-gold-deep: #dca900;
  --aspx-paper: #f5f5f2;
  --aspx-warm: #fff7dc;
  --aspx-white: #fff;
  --aspx-muted: #5c6468;
  --aspx-line: #d9dcdd;
  --aspx-radius: 14px;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--aspx-ink);
  background: var(--aspx-white);
  font-family: "Raleway", Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.02em;
}
.wp-site-blocks { overflow: hidden; }
body.page .wp-site-blocks > main { margin-block-start: 0 !important; }
body.page .wp-site-blocks > main > .wp-block-group.alignfull { padding-top: 0 !important; padding-bottom: 0 !important; }
body.page .wp-block-post-content { margin-block-start: 0 !important; }
.wp-block-post-content > *:not(.alignfull) {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.wp-block-post-content > section { margin-top: 88px; margin-bottom: 88px; }

.aspx-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  box-sizing: border-box;
  min-height: min(680px, 78vh);
  max-width: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: clamp(110px, 17vw, 220px) max(24px, calc((100vw - 1180px) / 2)) clamp(64px, 9vw, 112px) !important;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--aspx-white);
  background-image:
    linear-gradient(90deg, rgba(16,20,22,.96) 0%, rgba(16,20,22,.82) 38%, rgba(16,20,22,.22) 72%, rgba(16,20,22,.08) 100%),
    linear-gradient(0deg, rgba(16,20,22,.68) 0%, transparent 48%),
    url("../images/autoscreenpro-hero.jpeg");
  background-position: center;
  background-size: cover;
  border-bottom: 5px solid var(--aspx-gold);
}
.aspx-hero > * { position: relative; z-index: 1; }
.aspx-hero--short {
  min-height: 440px;
  padding-top: clamp(88px, 12vw, 150px) !important;
  padding-bottom: clamp(56px, 8vw, 92px) !important;
  background-position: 50% 54%;
}
.aspx-hero h1 {
  max-width: 850px;
  margin: 12px 0 24px;
  color: var(--aspx-white);
  font-size: clamp(46px, 7vw, 88px);
  line-height: .98;
  text-transform: uppercase;
}
.aspx-hero--short h1 { max-width: 900px; font-size: clamp(40px, 6vw, 70px); }
.aspx-lead {
  max-width: 690px;
  margin: 0;
  color: #f1f1ef;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.42;
}
.aspx-eyebrow {
  margin: 0 0 12px;
  color: var(--aspx-gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .2em;
  line-height: 1;
}
.aspx-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.aspx-button,
button.aspx-button,
.wp-element-button.aspx-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 25px;
  border: 2px solid var(--aspx-gold);
  border-radius: 4px;
  background: var(--aspx-gold);
  color: var(--aspx-ink);
  font-family: "Raleway", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: .025em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.aspx-button:hover,
button.aspx-button:hover {
  transform: translateY(-2px);
  background: #ffd23c;
  box-shadow: 0 12px 30px rgba(255,196,0,.22);
}
.aspx-button--ghost { background: rgba(16,20,22,.45); color: var(--aspx-white); border-color: var(--aspx-white); }
.aspx-button--ghost:hover { background: var(--aspx-white); color: var(--aspx-ink); }

.aspx-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(6, auto);
  align-items: center;
  gap: 10px 24px;
  margin-top: -30px !important;
  padding: 28px 36px !important;
  background: var(--aspx-ink);
  border: 1px solid #333a3d;
  border-top: 5px solid var(--aspx-gold);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(16,20,22,.2);
}
.aspx-strip strong { color: var(--aspx-gold); font-size: 20px; }
.aspx-strip span { color: #e6e7e5; }

.aspx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aspx-grid article {
  padding: 32px;
  border: 1px solid var(--aspx-line);
  border-top: 4px solid var(--aspx-gold);
  border-radius: var(--aspx-radius);
  background: var(--aspx-white);
  box-shadow: 0 12px 35px rgba(16,20,22,.05);
}
.aspx-grid h2, .aspx-grid h3 { margin-top: 0; }
.aspx-panel {
  padding: clamp(28px, 5vw, 56px) !important;
  background: var(--aspx-warm);
  border-left: 5px solid var(--aspx-gold);
  border-radius: var(--aspx-radius);
}
.aspx-text-link { color: var(--aspx-ink); font-weight: 900; text-decoration-color: var(--aspx-gold-deep); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.aspx-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.aspx-steps article {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 270px;
  box-sizing: border-box;
  padding: 28px 24px 30px;
  flex-direction: column;
  border: 1px solid var(--aspx-line);
  border-top: 5px solid var(--aspx-gold);
  border-radius: var(--aspx-radius);
  background: linear-gradient(155deg, var(--aspx-white) 58%, var(--aspx-paper));
  box-shadow: 0 14px 38px rgba(16,20,22,.07);
}
.aspx-steps article > p:empty { display: none; }
.aspx-steps span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--aspx-ink);
  color: var(--aspx-gold);
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 0 0 5px var(--aspx-warm);
}
.aspx-steps h2 {
  margin: 26px 0 12px;
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: 1.08;
}
.aspx-steps article > p:not(:empty) {
  margin: 0;
  color: var(--aspx-muted);
  font-size: 16px;
  line-height: 1.55;
}
.aspx-faq details { padding: 24px 0; border-top: 1px solid var(--aspx-line); }
.aspx-faq summary { cursor: pointer; font-size: 22px; font-weight: 800; }
.aspx-faq details p { max-width: 760px; color: var(--aspx-muted); }

.aspx-form,
.aspx-catalogue,
.aspx-login,
.aspx-gate {
  max-width: 980px;
  margin: 56px auto;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--aspx-line);
  border-top: 5px solid var(--aspx-gold);
  border-radius: var(--aspx-radius);
  background: var(--aspx-white);
  box-shadow: 0 20px 70px rgba(16,20,22,.08);
}
.aspx-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.aspx-field { margin: 0; }
.aspx-field--wide { grid-column: 1 / -1; }
.aspx-field label { display: block; margin-bottom: 7px; font-weight: 800; }
.aspx-field input,
.aspx-field select,
.aspx-field textarea,
.aspx-login input:not([type="checkbox"]),
.aspx-kit-fields input,
.aspx-kit-fields textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid #a6abad;
  border-radius: 6px;
  background: var(--aspx-white);
  color: var(--aspx-ink);
  font: inherit;
}
.aspx-field input:focus,
.aspx-field select:focus,
.aspx-field textarea:focus { outline: 3px solid rgba(255,196,0,.3); border-color: var(--aspx-gold-deep); }
.aspx-field textarea, .aspx-kit-fields textarea { min-height: 120px; }
.aspx-form input[type="file"] { padding: 11px; }
.aspx-consent { margin: 24px 0; padding: 18px; background: var(--aspx-warm); border-radius: 8px; }
.aspx-note { color: var(--aspx-muted); }
.aspx-message { max-width: 980px; margin: 28px auto; padding: 16px 20px; border-radius: 8px; background: var(--aspx-paper); }
.aspx-message--success { background: #e5f6ed; border: 1px solid #78bd98; }
.aspx-message--error { background: #fff0ed; border: 1px solid #df9383; }
.aspx-catalogue-result { margin-top: 24px; }
.aspx-template-card { padding: 30px; border-radius: 12px; background: var(--aspx-ink); color: var(--aspx-white); border-top: 5px solid var(--aspx-gold); }
.aspx-template-card h2 { color: var(--aspx-white); margin: 8px 0; }
.aspx-availability { display: inline-block; padding: 8px 12px; border-radius: 999px; background: #fff0b8; color: #4d3c00; font-weight: 800; }
.aspx-availability.is-available { background: #d8f4e7; color: #0a4a36; }
.aspx-protected-price { font-size: 18px; color: var(--aspx-muted); }
.aspx-dealer-price { font-size: 34px; font-weight: 900; }
.aspx-dealer-price small, .aspx-inc-gst { font-size: 16px; color: var(--aspx-muted); font-weight: 600; }
.aspx-kit-fields { margin: 30px 0; padding: 24px; background: var(--aspx-paper); border-radius: 10px; }
.aspx-kit-fields p { margin-bottom: 16px; }
.aspx-kit-fields label { display: block; margin-bottom: 6px; font-weight: 800; }
.aspx-delivery-ribbon {
  position: fixed;
  z-index: 999;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 28px));
  box-sizing: border-box;
  padding: 11px 18px;
  border: 1px solid #d19f00;
  border-radius: 6px;
  background: rgba(255,196,0,.96);
  color: var(--aspx-ink);
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(16,20,22,.24);
  backdrop-filter: blur(10px);
}
.aspx-form--kiosk { font-size: 19px; }
.aspx-form--kiosk .aspx-field input, .aspx-form--kiosk .aspx-field select { min-height: 62px; font-size: 19px; }
.aspx-form--kiosk .aspx-button { min-height: 64px; font-size: 19px; }

header.wp-block-template-part,
footer.wp-block-template-part,
.wp-block-post-title { display: none !important; }
.aspx-site-header { position: relative; z-index: 30; background: var(--aspx-ink); color: var(--aspx-white); border-bottom: 1px solid #303638; }
.aspx-site-header__inner { max-width: 1220px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.aspx-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--aspx-white) !important; text-decoration: none; white-space: nowrap; }
.aspx-brand img { display: block; width: clamp(174px, 20vw, 238px); height: auto; }
.aspx-brand__express { margin-left: -2px; padding: 5px 7px 4px; border: 1px solid var(--aspx-gold); color: var(--aspx-gold); font-size: 10px; font-weight: 900; letter-spacing: .15em; line-height: 1; }
.aspx-site-header nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.aspx-site-header nav a { color: #e7e8e6 !important; text-decoration: none; font-size: .82rem; font-weight: 750; }
.aspx-site-header nav a:hover { color: var(--aspx-gold) !important; }
.aspx-site-header nav a:last-child { border: 1px solid var(--aspx-gold); border-radius: 4px; padding: 8px 13px; color: var(--aspx-gold) !important; }
.aspx-site-footer { margin-top: 72px; padding: 42px max(24px, calc((100vw - 1170px) / 2)) 76px; display: flex; justify-content: space-between; gap: 28px; align-items: flex-start; background: var(--aspx-ink); color: #d8dbda; border-top: 5px solid var(--aspx-gold); }
.aspx-site-footer strong { color: var(--aspx-white); letter-spacing: .05em; }
.aspx-site-footer p { max-width: 560px; margin: .5rem 0 0; }
.aspx-site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.aspx-site-footer a { color: #d8dbda !important; text-decoration: none; }
.aspx-site-footer a:hover { color: var(--aspx-gold) !important; }

@media (max-width: 900px) {
  .aspx-strip { grid-template-columns: repeat(2, 1fr); }
  .aspx-grid { grid-template-columns: repeat(2, 1fr); }
  .aspx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aspx-steps article { min-height: 240px; }
}

@media (max-width: 850px) {
  .aspx-site-header__inner, .aspx-site-footer { align-items: flex-start; flex-direction: column; }
  .aspx-site-header nav { justify-content: flex-start; gap: 11px 16px; }
}

@media (max-width: 620px) {
  .wp-block-post-content > section { margin-top: 56px; margin-bottom: 56px; }
  .aspx-hero { min-height: 610px; padding-top: 90px !important; background-position: 58% center; }
  .aspx-hero h1 { letter-spacing: -.02em; }
  .aspx-strip, .aspx-grid, .aspx-form-grid { grid-template-columns: 1fr; }
  .aspx-steps { grid-template-columns: 1fr; gap: 14px; }
  .aspx-steps article { min-height: 0; padding: 24px; }
  .aspx-steps h2 { margin-top: 22px; }
  .aspx-strip { margin: 16px !important; }
  .aspx-form, .aspx-catalogue, .aspx-login, .aspx-gate { margin: 28px 16px; padding: 22px; }
  .aspx-actions .aspx-button { width: 100%; }
  .aspx-delivery-ribbon { border-radius: 6px; }
  .aspx-brand img { width: 188px; }
}

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