/*
Theme Name: GP Motorsports
Theme URI: https://gpmotorsports.uk
Author: Grand Prix Motorsports Ltd
Description: Bespoke holding-page theme for GP Motorsports.
Version: 1.0.5
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: gp-motorsports
*/

:root {
  --gp-ink: #1d1e20;
  --gp-muted: #72777d;
  --gp-line: #dce0e3;
  --gp-paper: #f8f9f9;
  --gp-white: #ffffff;
  --gp-blue: #00a5df;
  --gp-blue-deep: #087da8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--gp-paper);
  color: var(--gp-ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
.gp-basic-page { width: min(100% - 42px, 980px); margin: 0 auto; padding: 70px 0; }
.gp-basic-page h1 { font-size: clamp(38px, 5vw, 68px); letter-spacing: -.04em; }
.gp-basic-page-content { color: #555a60; font-size: 17px; line-height: 1.65; }
.gp-legal { max-width: 820px; }
.gp-legal h2 { margin: 46px 0 14px; color: var(--gp-ink); font-size: 25px; letter-spacing: -.025em; }
.gp-legal h3 { margin: 28px 0 10px; color: var(--gp-ink); font-size: 18px; }
.gp-legal p, .gp-legal li { color: #555a60; font-size: 16px; line-height: 1.7; }
.gp-legal ul { padding-left: 22px; }
.gp-legal a { color: var(--gp-blue-deep); text-decoration: underline; text-underline-offset: 3px; }
.gp-legal-details { margin: 0 0 36px; padding: 24px 26px; border-left: 3px solid var(--gp-blue); background: #fff; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; padding: 12px;
  clip: auto; background: #fff; color: #111;
}
.gp-shell {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background: linear-gradient(90deg, transparent 0 49.95%, rgba(29,30,32,.035) 50%, transparent 50.05%), var(--gp-paper);
}
.gp-header {
  position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  width: min(100% - 80px, 1560px); margin: 0 auto; padding: 28px 0 22px; border-bottom: 1px solid var(--gp-line);
}
.gp-brand img { display: block; width: 160px; height: 74px; object-fit: contain; object-position: left center; }
.gp-access-link {
  display: inline-flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 2px solid var(--gp-blue);
  color: #474b50; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  transition: color 160ms ease;
}
.gp-access-link:hover, .gp-access-link:focus-visible { color: var(--gp-blue-deep); }
.gp-hero {
  display: grid;
  grid-template-columns: minmax(0,.88fr) minmax(480px,1.12fr);
  grid-template-rows: 1fr auto;
  grid-template-areas: "heading bike" "details bike";
  align-items: stretch;
  width: min(100% - 80px, 1560px); min-height: 620px; margin: 0 auto;
}
.gp-hero-heading { grid-area: heading; position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 70px 6vw 0 0; }
.gp-hero-details { grid-area: details; position: relative; z-index: 2; padding: 0 6vw 70px 0; }
.gp-eyebrow { margin: 0 0 30px; color: var(--gp-blue-deep); font-size: 11px; font-weight: 800; letter-spacing: .24em; }
.gp-hero h1 { max-width: 790px; margin: 0; font-size: clamp(46px,5vw,86px); font-weight: 700; letter-spacing: -.05em; line-height: .98; }
.gp-intro { max-width: 670px; margin: 35px 0 0; color: #555a60; font-size: clamp(16px,1.25vw,20px); line-height: 1.55; }
.gp-actions { display: flex; align-items: center; gap: 32px; margin-top: 46px; }
.gp-primary {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 54px;
  padding: 0 22px; background: var(--gp-ink); color: var(--gp-white); font-size: 11px; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase; transition: background 160ms ease, transform 160ms ease;
}
.gp-primary:hover, .gp-primary:focus-visible { background: var(--gp-blue-deep); transform: translateY(-2px); }
.gp-confidential { max-width: 245px; color: var(--gp-muted); font-size: 11px; line-height: 1.55; }
.gp-bike-stage { grid-area: bike; position: relative; min-width: 0; overflow: hidden; background: linear-gradient(135deg,rgba(0,165,223,.05),transparent 42%),var(--gp-white); }
.gp-bike-stage::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(to bottom,transparent 10%,var(--gp-blue) 35% 70%,transparent 92%); }
.gp-bike { position: absolute; z-index: 2; left: -1%; bottom: 1.5%; width: 126%; max-width: none; height: auto; mix-blend-mode: multiply; }
.gp-watermark { position: absolute; z-index: 1; top: 3%; right: -7%; width: 74%; height: auto; opacity: .065; filter: grayscale(1); user-select: none; }
.gp-stage-line { position: absolute; z-index: 3; right: 0; bottom: 16%; width: 38%; height: 3px; background: var(--gp-blue); }
.gp-footer {
  display: grid; grid-template-columns: 1.25fr auto auto 1fr; align-items: center; gap: 24px; width: min(100% - 80px,1560px);
  margin: 0 auto; padding: 18px 0 24px; border-top: 1px solid var(--gp-line); color: #6a6f74;
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.gp-footer p { margin: 0; }
.gp-footer a { color: var(--gp-blue-deep); }
.gp-footer-legal { white-space: nowrap; }
.gp-copyright { text-align: right; }

@media (max-width: 980px) {
  .gp-header,.gp-hero,.gp-footer { width: min(100% - 42px,760px); }
  .gp-footer { grid-template-columns: 1fr auto; }
  .gp-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 470px auto;
    grid-template-areas: "heading" "bike" "details";
    min-height: auto;
  }
  .gp-hero-heading { padding: 58px 0 42px; }
  .gp-hero-details { padding: 0 0 54px; }
  .gp-intro { margin-top: 38px; }
  .gp-bike-stage { min-height: 470px; }
  .gp-bike { left: -2%; width: 124%; }
  .gp-watermark { top: 4%; right: -5%; width: 70%; }
}
@media (max-width: 620px) {
  .gp-header,.gp-hero,.gp-footer { width: calc(100% - 34px); }
  .gp-header { padding: 14px 0 13px; }
  .gp-brand img { width: 112px; height: 52px; }
  .gp-access-link { gap: 7px; font-size: 9px; letter-spacing: .1em; }
  .gp-hero { grid-template-rows: auto 285px auto; }
  .gp-hero-heading { padding: 38px 0 30px; }
  .gp-hero-details { padding: 0 0 44px; }
  .gp-eyebrow { margin-bottom: 18px; font-size: 8px; line-height: 1.45; }
  .gp-hero h1 { max-width: 430px; font-size: clamp(38px,11vw,46px); line-height: .96; }
  .gp-intro { margin-top: 30px; font-size: 16px; line-height: 1.55; }
  .gp-actions { align-items: flex-start; flex-direction: column; gap: 18px; margin-top: 34px; }
  .gp-primary { width: 100%; }
  .gp-bike-stage { min-height: 285px; }
  .gp-bike { left: -7%; bottom: -2%; width: 136%; }
  .gp-watermark { top: 2%; right: -8%; width: 76%; }
  .gp-stage-line { bottom: 12%; width: 34%; }
  .gp-footer { grid-template-columns: 1fr; gap: 10px; }
  .gp-copyright { text-align: left; }
}
