:root {
  --ink: #080a0d;
  --charcoal: #151719;
  --paper: #f5f5f2;
  --white: #ffffff;
  --muted: #6f7478;
  --line: #d9dddc;
  --accent: #d71920;
  --accent-dark: #a70f15;
  --green: #0b463a;
  --steel: #c7cece;
  --header-height: 58px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 7vw;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(8, 10, 13, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 24px;
  color: var(--white);
  background: var(--ink);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 0.8rem;
  line-height: 1;
  transform: skewX(-12deg);
}

.brand-text {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.site-nav a {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 0;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(82svh - var(--header-height));
  overflow: hidden;
  color: var(--white);
  background:
    var(--ink)
    url("assets/video/ontario-customs-engraving-poster.jpg")
    center / cover
    no-repeat;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  display: block;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.34) 48%, rgba(0, 0, 0, 0.08)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.02) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(980px, 86vw);
  min-height: calc(82svh - var(--header-height));
  padding: 92px 0 70px;
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.feature-copy h2,
.process-inner h2 {
  max-width: 760px;
  margin: 0;
  font-family: Impact, "Arial Black", "Arial Narrow", sans-serif;
  font-size: 5.2rem;
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-primary {
  color: var(--white);
  background: var(--accent);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--ink);
  background: var(--white);
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  min-height: 72px;
  background: var(--ink);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.intro-strip span {
  display: grid;
  place-items: center;
  padding: 18px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.section {
  padding: 76px 7vw;
}

.section-light {
  background: var(--paper);
}

.section-white {
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1fr);
  gap: 32px;
  align-items: end;
  max-width: 1120px;
  margin: 0 auto 30px;
}

.section-heading h2 {
  grid-column: 1;
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.05;
}

.section-heading p:last-child {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading-compact {
  align-items: start;
  margin-bottom: 34px;
}

.service-rail {
  display: grid;
  grid-auto-columns: minmax(250px, 1fr);
  grid-auto-flow: column;
  gap: 10px;
  max-width: 1120px;
  padding-bottom: 10px;
  margin: 0 auto;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.service-tile {
  min-height: 260px;
  padding: 22px;
  border-radius: 6px;
  color: var(--white);
  scroll-snap-align: start;
}

.service-tile h3 {
  max-width: 210px;
  margin: 42px 0 12px;
  font-family: Impact, "Arial Black", "Arial Narrow", sans-serif;
  font-size: 2rem;
  line-height: 0.94;
  text-transform: uppercase;
}

.service-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  line-height: 1.5;
}

.service-tile-dark {
  background: var(--charcoal);
}

.service-tile-red {
  background: var(--accent);
}

.service-tile-steel {
  background: #879292;
}

.service-tile-green {
  background: var(--green);
}

.tile-number {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
}

.feature-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 560px;
  background: var(--ink);
  color: var(--white);
}

.feature-image {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 58%, rgba(8, 10, 13, 0.88));
  pointer-events: none;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 7vw 72px 40px;
}

.feature-copy h2 {
  font-size: 4.2rem;
}

.feature-copy p:not(.section-kicker) {
  max-width: 520px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.comparison-card {
  min-width: 0;
}

.comparison-card h3 {
  margin: 16px 0 6px;
  font-size: 1rem;
}

.comparison-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.comparison-slider {
  --split: 52%;
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--charcoal);
  aspect-ratio: 4 / 5;
}

.comparison-pane {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.comparison-pane span {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 34px;
  padding: 0 18px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.after-pane span {
  right: 14px;
  left: auto;
}

.comparison-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-pane {
  background:
    linear-gradient(135deg, rgba(8, 10, 13, 0.86), rgba(81, 88, 91, 0.88)),
    repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(255, 255, 255, 0.08) 8px, rgba(255, 255, 255, 0.08) 10px);
}

.before-pane-dark {
  background:
    linear-gradient(135deg, rgba(7, 7, 8, 0.92), rgba(40, 43, 45, 0.9)),
    repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(255, 255, 255, 0.08) 8px, rgba(255, 255, 255, 0.08) 10px);
}

.before-pane-green {
  background:
    linear-gradient(135deg, rgba(7, 39, 33, 0.92), rgba(91, 102, 71, 0.84)),
    repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(255, 255, 255, 0.08) 8px, rgba(255, 255, 255, 0.08) 10px);
}

.after-pane {
  clip-path: inset(0 0 0 var(--split));
  background:
    linear-gradient(135deg, rgba(221, 225, 224, 0.96), rgba(95, 104, 106, 0.9)),
    repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(255, 255, 255, 0.1) 8px, rgba(255, 255, 255, 0.1) 10px);
}

.after-pane-red {
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.92), rgba(30, 33, 35, 0.88)),
    repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(255, 255, 255, 0.12) 8px, rgba(255, 255, 255, 0.12) 10px);
}

.after-pane-steel {
  background:
    linear-gradient(135deg, rgba(232, 234, 231, 0.98), rgba(19, 68, 56, 0.9)),
    repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(255, 255, 255, 0.14) 8px, rgba(255, 255, 255, 0.14) 10px);
}

.comparison-slider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  z-index: 2;
  width: 2px;
  background: var(--white);
  transform: translateX(-1px);
}

.comparison-slider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--split);
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.comparison-slider input[type="range"] {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.process-band {
  background:
    linear-gradient(90deg, rgba(8, 10, 13, 0.94), rgba(11, 70, 58, 0.92)),
    url("assets/images/hero-club-refinishing.png") center / cover;
  color: var(--white);
}

.process-inner {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 44px;
  max-width: 1120px;
  padding: 82px 7vw;
  margin: 0 auto;
}

.process-inner h2 {
  font-size: 3.8rem;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  min-height: 180px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.process-list span {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
}

.process-list strong {
  display: block;
  margin-top: 24px;
  font-size: 1rem;
  text-transform: uppercase;
}

.process-list p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1120px;
  margin: 0 auto;
}

.package-card {
  min-height: 260px;
  padding: 22px;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid var(--line);
}

.package-card span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.package-card h3 {
  margin: 90px 0 12px;
  font-family: Impact, "Arial Black", "Arial Narrow", sans-serif;
  font-size: 2rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.package-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.quote-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  padding: 82px 7vw;
  background: var(--white);
}

.quote-copy h2 {
  max-width: 480px;
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.05;
}

.quote-copy p:not(.section-kicker) {
  max-width: 500px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
  padding: 36px;
  border-left: 4px solid var(--accent);
  background: var(--paper);
}

.contact-panel p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-panel a {
  font-family: Impact, "Arial Black", "Arial Narrow", sans-serif;
  font-size: 2.8rem;
  line-height: 1;
  text-transform: uppercase;
}

.contact-panel a:hover,
.contact-panel a:focus-visible {
  color: var(--accent);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 7vw;
  background: #dededb;
  color: var(--ink);
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: #464a4d;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 24px;
  }

  .hero h1,
  .feature-copy h2,
  .process-inner h2 {
    font-size: 3.8rem;
  }

  .intro-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-heading,
  .feature-band,
  .process-inner,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .feature-copy {
    padding: 54px 7vw 64px;
  }

  .comparison-grid,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .comparison-slider {
    aspect-ratio: 16 / 10;
    min-height: 260px;
  }
}

@media (max-width: 760px) {
  .brand-text {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px 24px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(8, 10, 13, 0.08);
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .site-header.is-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(8, 10, 13, 0.08);
    font-size: 0.86rem;
  }

  .hero,
  .hero-content {
    min-height: calc(76svh - var(--header-height));
  }

  .hero-content {
    width: min(100% - 38px, 720px);
    padding: 70px 0 48px;
  }

  .hero h1,
  .feature-copy h2,
  .process-inner h2 {
    font-size: 3rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .section {
    padding: 58px 24px;
  }

  .section-heading h2,
  .section-heading p:last-child {
    grid-column: auto;
  }

  .service-rail {
    margin-right: -24px;
    padding-right: 24px;
  }

  .service-tile {
    min-height: 240px;
  }

  .process-inner,
  .quote-section {
    padding: 58px 24px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    min-height: 180px;
    padding: 28px;
  }

  .contact-panel a {
    font-size: 2.15rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 24px;
  }
}

@media (max-width: 460px) {
  .intro-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .comparison-slider {
    aspect-ratio: 4 / 5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media {
    display: none;
  }
}
