:root {
  --red: #cc0000;
  --red-dark: #a80000;
  --ink: #1d1d1f;
  --muted: #5f6368;
  --paper: #ffffff;
  --paper-alt: #f6f6f7;
  --dark: #17130f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

h1, h2, h3, .wordmark {
  font-family: "Baloo 2", "Rubik", sans-serif;
}

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

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  padding: 18px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand span {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.nav { display: flex; gap: 34px; }
.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 15.5px;
  padding-bottom: 6px;
  border-bottom: 3px solid transparent;
  transition: border-color .2s;
}
.nav a:hover, .nav a.active { border-bottom-color: var(--red); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(28, 22, 17, 0.78), rgba(28, 22, 17, 0.78)),
    url("hero.jpg") center 40% / cover no-repeat;
}
.hero-inner { padding: 120px 24px; }
.hero-inner .hero-logo { width: 150px; height: 150px; object-fit: contain; margin: 0 auto 6px; }
.hero h1.wordmark {
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 800;
  letter-spacing: 8px;
  text-transform: uppercase;
  line-height: 1.1;
}
.hero p {
  margin-top: 14px;
  font-size: clamp(16px, 2.2vw, 21px);
  font-weight: 300;
  letter-spacing: 1px;
  color: #eee;
}
.btn {
  display: inline-block;
  margin-top: 34px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  padding: 13px 34px;
  border-radius: 3px;
  transition: background .2s;
}
.btn:hover { background: var(--red-dark); }

/* ---------- sections ---------- */
section { padding: 90px 0; }
.section-title {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 28px;
  text-align: center;
}
.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--red);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* about */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.about-grid p + p { margin-top: 18px; }
.stats {
  display: grid;
  gap: 18px;
}
.stat {
  background: var(--paper-alt);
  border-left: 4px solid var(--red);
  border-radius: 6px;
  padding: 22px 26px;
}
.stat b {
  display: block;
  font-family: "Baloo 2", sans-serif;
  font-size: 26px;
  color: var(--red);
  line-height: 1.2;
}
.stat span { color: var(--muted); font-size: 15px; }

/* brands */
.brands {
  background:
    linear-gradient(rgba(23, 19, 15, 0.94), rgba(23, 19, 15, 0.94)),
    url("hero.jpg") center 50% / cover no-repeat fixed;
  color: #fff;
}
.brands .section-title { color: #fff; }
.brand-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 40px;
}
.brand-logo {
  flex: 0 1 calc(25% - 22px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 22px 26px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: background .2s, border-color .2s, transform .2s;
}
.brand-logo:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
}
.brand-logo img {
  max-height: 46px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  /* normalise every logo to a uniform white silhouette */
  filter: brightness(0) invert(1);
  opacity: 0.82;
  transition: opacity .2s;
}
.brand-logo:hover img { opacity: 1; }
/* A1 wordmark is wide - give it room */
.brand-logo img[alt="A1 Tech Deals"],
.brand-logo img[alt="Western Digital"] { max-height: 40px; }
.brands-note {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 34px;
  font-size: 15px;
}

/* feedback */
.feedback p.lede {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
}

/* contact */
.contact {
  background:
    linear-gradient(rgba(23, 19, 15, 0.92), rgba(23, 19, 15, 0.92)),
    url("hero.jpg") center 60% / cover no-repeat;
  color: #fff;
  text-align: center;
}
.contact .section-title { color: #fff; }
.contact .sub { font-size: 20px; font-weight: 300; margin-bottom: 34px; color: #ddd; }
.contact-lines { font-size: 19px; line-height: 2.1; }
.contact-lines a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.contact-lines a:hover { border-bottom-color: var(--red); }

/* footer */
.site-footer { background: var(--dark); color: #cfcac5; padding: 64px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 48px;
}
.site-footer h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 14px;
}
.site-footer p { font-size: 14.5px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #cfcac5; text-decoration: none; font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 44px;
  padding-top: 22px;
  font-size: 13px;
  color: #8f8a85;
  text-align: center;
}

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .nav { display: none; }
  .about-grid, .footer-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .brand-logo { flex: 0 1 calc(50% - 22px); }
  /* fixed background attachment is janky on mobile */
  .brands { background-attachment: scroll; }
}
@media (max-width: 460px) {
  .brand-logo { flex: 0 1 100%; }
}
