/* Presentation only. Site access remains controlled by the existing gate. */
#siteGate {
  --reveal-red: #f20210;
  --reveal-muted: #b2b3b8;
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: block;
  overflow: auto;
  overscroll-behavior: contain;
  background: #08090b;
  color: #f7f7f5;
  font-family: Inter, Arial, sans-serif;
  isolation: isolate;
  color-scheme: dark;
}
#siteGate.unlocked { display: none; }
#siteGate *, #siteGate *::before, #siteGate *::after { box-sizing: border-box; }
#siteGate .gate-backdrop {
  position: absolute;
  inset: 0;
  min-height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
#siteGate .gate-backdrop::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://res.cloudinary.com/g38ldwuf/video/upload/so_2/v1790531276/automotive-solutions/homepage-cinematic-desktop-20260927.jpg') 70% center / cover no-repeat;
  opacity: .66;
  filter: saturate(.48);
  animation: gate-image-arrive 1.2s ease-out both;
}
#siteGate .gate-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #08090b 2%, rgba(8,9,11,.94) 28%, rgba(8,9,11,.28) 78%), linear-gradient(0deg, #08090b 0%, transparent 46%, rgba(8,9,11,.24) 100%);
}
#siteGate .gate-shell {
  width: min(1440px, 100%);
  min-height: 100%;
  margin: 0 auto;
  padding: 28px clamp(24px, 6vw, 88px) 24px;
  display: flex;
  flex-direction: column;
}
#siteGate .gate-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
#siteGate .gate-brand { width: 144px; height: 100px; object-fit: contain; display: block; }
#siteGate .gate-location { color: #c0c0c3; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-align: right; }
#siteGate .gate-location span { display: block; margin-top: 9px; color: #8e9096; font-size: 9px; letter-spacing: .12em; }
#siteGate .gate-content { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 28px 0 24px; }
#siteGate .gate-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; font-size: 11px; font-weight: 700; letter-spacing: .22em; line-height: 1.4; text-transform: uppercase; }
#siteGate .gate-eyebrow::before { content: ''; width: 7px; height: 7px; background: var(--reveal-red); box-shadow: 0 0 18px rgba(242,2,16,.55); }
#siteGate .gate-title { margin: 0; max-width: 900px; font-family: 'Space Grotesk', Inter, Arial, sans-serif; font-size: clamp(64px, 8.2vw, 116px); font-weight: 700; line-height: .94; letter-spacing: -.065em; text-transform: uppercase; }
#siteGate .gate-title span { display: block; color: transparent; -webkit-text-stroke: 1px #bbbcc0; }
#siteGate .gate-title b { font-weight: inherit; color: var(--reveal-red); -webkit-text-stroke: 0; }
#siteGate .gate-copy { margin: 27px 0 0; max-width: 380px; color: #babcc1; font-size: 14px; line-height: 1.75; }
#siteGate .gate-launch { margin-top: 35px; }
#siteGate .gate-date { margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 10px; font-weight: 700; letter-spacing: .16em; line-height: 1.6; text-transform: uppercase; }
#siteGate .gate-date::before { content: ''; width: 25px; height: 2px; background: var(--reveal-red); }
#siteGate .gate-date time { color: #fff; }
#siteGate .gate-date span { color: #b2b3b8; font-size: 9px; letter-spacing: .09em; }
#siteGate .gate-countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 352px; max-width: 100%; margin: 0; }
#siteGate .gate-unit { display: flex; flex-direction: column; position: relative; align-items: center; text-align: center; padding: 0 12px; border-left: 1px solid #36373b; }
#siteGate .gate-unit:first-child { border-left: 0; }
#siteGate .gate-unit dt { order: 2; margin-top: 8px; color: #aaacb2; font-size: 8px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
#siteGate .gate-unit dd { margin: 0; font-family: 'Space Grotesk', Inter, Arial, sans-serif; font-size: 38px; font-weight: 600; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
#siteGate .gate-clock-status { min-height: 17px; margin: 16px 0 0; color: #aeb0b6; font-size: 11px; line-height: 1.5; }
#siteGate .gate-clock-status:empty { display: none; }
#siteGate .gate-reveal-mark { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 16px; color: #e2e2e5; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; writing-mode: vertical-rl; }
#siteGate .gate-reveal-mark::before { content: ''; width: 1px; height: 84px; background: linear-gradient(transparent, var(--reveal-red)); }
#siteGate .gate-access { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(280px, 456px); align-items: center; gap: 20px 32px; border-top: 1px solid #36373b; padding: 24px 0 0; }
#siteGate .gate-access-heading { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
#siteGate .gate-access-note { margin: 0; color: #a1a3aa; font-size: 11px; line-height: 1.5; }
#siteGate .gate-card { width: 100%; margin: 0; }
#siteGate .gate-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 8px; }
#siteGate .gate-card input { min-width: 0; width: 100%; height: 48px; padding: 0 16px; border: 1px solid #45464b; border-radius: 2px; background: rgba(15,16,19,.84); color: #fff; font: inherit; font-size: 16px; }
#siteGate .gate-card input::placeholder { color: #94969c; font-size: 11px; letter-spacing: .04em; }
#siteGate .gate-card button { flex-shrink: 0; display: flex; align-items: center; justify-content: center; gap: 12px; height: 48px; padding: 0 19px; border: 1px solid #6c6e75; border-radius: 2px; background: #e60010 !important; border-color: #e60010 !important; color: #fff; font-family: inherit; font-size: 10px; font-weight: 700; letter-spacing: .1em; cursor: pointer; transition: background .18s, border-color .18s; }
#siteGate .gate-card button:hover { background: #c9000e !important; border-color: #c9000e !important; }
#siteGate .gate-card button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
#siteGate .gate-card :focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
#siteGate .gate-error { visibility: hidden; min-height: 16px; margin: 8px 0 0; color: #ff7c83 !important; font-size: 10px; font-weight: 600; letter-spacing: .03em; line-height: 1.5; }
#siteGate .gate-error.show { visibility: visible; }
#siteGate .gate-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; }
@keyframes gate-image-arrive { from { opacity: 0; transform: scale(1.025); } to { opacity: .66; transform: scale(1); } }
@media (min-width: 1600px) { #siteGate .gate-backdrop::before { background-position: center; } }
@media (max-width: 700px) {
  #siteGate .gate-shell { padding: 18px 24px max(18px, env(safe-area-inset-bottom)); }
  #siteGate .gate-header { gap: 16px; }
  #siteGate .gate-brand { width: 112px; height: 77px; }
  #siteGate .gate-location { font-size: 8px; letter-spacing: .12em; }
  #siteGate .gate-location span { font-size: 8px; letter-spacing: .06em; }
  #siteGate .gate-backdrop::before { background-position: 64% top; background-size: auto 72%; opacity: .54; }
  #siteGate .gate-backdrop::after { background: linear-gradient(90deg, rgba(8,9,11,.93), rgba(8,9,11,.35)), linear-gradient(0deg, #08090b 5%, #08090b 23%, transparent 76%); }
  #siteGate .gate-content { justify-content: flex-end; padding: 36px 0 22px; }
  #siteGate .gate-eyebrow { margin-bottom: 21px; font-size: 9px; }
  #siteGate .gate-title { font-size: clamp(48px, 11.8vw, 78px); letter-spacing: -.06em; }
  #siteGate .gate-copy { max-width: 270px; margin-top: 22px; font-size: 12px; line-height: 1.7; }
  #siteGate .gate-launch { width: 100%; margin-top: 30px; }
  #siteGate .gate-date { font-size: 9px; letter-spacing: .12em; gap: 6px 9px; }
  #siteGate .gate-date span { font-size: 8px; }
  #siteGate .gate-countdown { width: 320px; }
  #siteGate .gate-unit { padding: 0 10px; }
  #siteGate .gate-unit dd { font-size: 34px; }
  #siteGate .gate-unit dt { font-size: 7px; }
  #siteGate .gate-clock-status { margin-top: 13px; font-size: 10px; }
  #siteGate .gate-reveal-mark { display: none; }
  #siteGate .gate-access { grid-template-columns: 1fr; gap: 14px; padding-top: 20px; }
  #siteGate .gate-access-heading { font-size: 11px; }
  #siteGate .gate-access-note { font-size: 10px; }
  #siteGate .gate-card button { padding: 0 15px; font-size: 9px; }
}
@media (max-width: 360px) {
  #siteGate .gate-shell { padding-left: 18px; padding-right: 18px; }
  #siteGate .gate-title { font-size: 47px; }
  #siteGate .gate-unit { padding: 0 6px; }
  #siteGate .gate-unit dd { font-size: 31px; }
}
@media (max-width: 700px) and (max-height: 700px) {
  #siteGate .gate-brand { width: 96px; height: 66px; }
  #siteGate .gate-content { padding-top: 25px; padding-bottom: 10px; }
  #siteGate .gate-eyebrow { margin-bottom: 16px; }
  #siteGate .gate-copy { margin-top: 18px; }
  #siteGate .gate-launch { margin-top: 22px; }
  #siteGate .gate-access { padding-top: 16px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  #siteGate *, #siteGate *::before, #siteGate *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  #siteGate .gate-title span { color: CanvasText; -webkit-text-stroke: 0; }
  #siteGate .gate-title b { color: CanvasText; }
  #siteGate .gate-backdrop { display: none; }
}

/* The same homepage footage, behind the existing overlays; truck still is the fallback. */
#siteGate .gate-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% center;opacity:.66;filter:saturate(.48);pointer-events:none}
#siteGate .gate-video[hidden]{display:none}
#siteGate .gate-backdrop.is-video-playing::before{opacity:0;animation:none}
@media(min-width:1600px){#siteGate .gate-video{object-position:center}}
@media(max-width:700px){#siteGate .gate-video{height:72%;object-position:64% top;opacity:.54}}
@media(prefers-reduced-motion:reduce){#siteGate .gate-video{display:none}}

/* Requested alignment: headline nearer the logo, timer across the available viewport. */
#siteGate .gate-shell { width: 100%; }
#siteGate .gate-content { flex: 0 0 auto; justify-content: flex-start; padding-top: clamp(24px, 5vh, 48px); }
#siteGate .gate-launch { width: 100%; margin-top: clamp(28px, 6vh, 56px); }
#siteGate .gate-date { justify-content: center; text-align: center; }
#siteGate .gate-countdown { width: 100%; }
#siteGate .gate-clock-status { text-align: center; }
@media (max-width: 700px) {
  #siteGate .gate-content { padding-top: 28px; }
  #siteGate .gate-launch { margin-top: 28px; }
}
@media (max-width: 700px) and (max-height: 700px) {
  #siteGate .gate-content { padding-top: 24px; }
  #siteGate .gate-launch { margin-top: 24px; }
}

/* Requested balance: matching date rules and a lower, short-screen-safe access block. */
#siteGate .gate-date { position: relative; width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; padding-inline: 37px; }
#siteGate .gate-date::before,
#siteGate .gate-date::after { content: ''; position: absolute; top: 50%; width: 25px; height: 2px; background: var(--reveal-red); transform: translateY(-50%); }
#siteGate .gate-date::before { left: 0; }
#siteGate .gate-date::after { right: 0; }
#siteGate .gate-access { margin-top: clamp(0px, calc(20dvh - 144px), 48px); }
@media (max-width: 700px) {
  #siteGate .gate-access { margin-top: clamp(0px, calc(40dvh - 256px), 104px); }
}

/* Requested bottom placement: remaining viewport space belongs above private access. */
#siteGate .gate-shell { min-height: 100vh; min-height: 100dvh; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
#siteGate .gate-header { flex-shrink: 0; }
#siteGate .gate-access { margin-top: auto; flex-shrink: 0; }

/* Requested input-only focus: quiet inset cue instead of an external white halo. */
#siteGate .gate-card input:focus-visible { outline: none; outline-offset: 0; box-shadow: inset 0 -2px 0 #9698a0; }
@media (forced-colors: active) {
  #siteGate .gate-card input:focus-visible { box-shadow: none; outline: 1px solid Highlight; outline-offset: -2px; }
}

/* Requested timer placement: use spare height, without moving headline or bottom access. */
@media (min-height: 701px) {
  #siteGate .gate-content { flex-grow: 1; }
  #siteGate .gate-launch { margin-top: auto; padding-top: clamp(28px, 6vh, 56px); padding-bottom: clamp(24px, 6vh, 64px); }
}
@media (max-width: 700px) and (min-height: 701px) {
  #siteGate .gate-launch { padding-top: 28px; }
}

/* Requested red-only password focus: remove the pale inset line. */
#siteGate .gate-card input:focus-visible { box-shadow: none; border-color: var(--reveal-red); }
