:root {
  --ink: #0a0a0a;
  --paper: #f3f1eb;
  --acid: #d8ff35;
  --line: #cbc8bf;
  --muted: #6f6d66;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select { font: inherit; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(20px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); text-decoration: none; font-size: clamp(22px, 3vw, 34px); font-weight: 950; letter-spacing: -1.5px; }
.brand span { -webkit-text-stroke: 1px var(--ink); color: transparent; }
.tagline, .eyebrow, .step { font-size: 12px; font-weight: 850; letter-spacing: 1.8px; }
.hero { min-height: 440px; padding: clamp(48px, 9vw, 120px) clamp(20px, 7vw, 100px) 32px; display: grid; align-content: space-between; background: var(--ink); color: white; }
.hero h1 { margin: 12px 0 20px; font-size: clamp(62px, 11vw, 150px); line-height: .78; letter-spacing: -7px; text-transform: uppercase; }
.hero-copy { max-width: 680px; font-size: clamp(18px, 2vw, 26px); color: #c7c7c2; }
.proof-strip { display: flex; flex-wrap: wrap; gap: 14px 32px; padding-top: 30px; border-top: 1px solid #363636; color: var(--acid); font-size: 12px; font-weight: 800; letter-spacing: 1px; }
.builder { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); border-bottom: 1px solid var(--line); }
.preview-panel, .controls-panel { padding: clamp(28px, 5vw, 72px); }
.preview-panel { border-right: 1px solid var(--line); }
.section-heading h2, .race-proof h2, .modal-card h2 { font-size: clamp(32px, 4vw, 60px); line-height: .95; margin: 7px 0 30px; letter-spacing: -2.5px; }
.step { color: #67655f; margin: 0; }
.model-stage { position: relative; width: min(100%, 650px); aspect-ratio: 4/5; overflow: hidden; margin: 0 auto; background: #d8d5cc; }
.model-stage > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tattoo-overlay { position: absolute; left: 34%; top: 28%; transform: translate(-50%, -50%) rotate(-3deg); color: #151515; font-weight: 950; font-style: italic; font-size: clamp(20px, 4vw, 48px); letter-spacing: 2px; mix-blend-mode: multiply; opacity: .84; filter: blur(.15px); white-space: nowrap; user-select: none; cursor: grab; touch-action: none; }
.tattoo-overlay:active { cursor: grabbing; }
.tattoo-overlay.dragging { opacity: .6; }
.drag-hint { text-align: center; font-size: 13px; color: #6b6b6b; margin-top: 8px; }
.tattoo-overlay img { display: block; width: 110px; max-height: 65px; object-fit: contain; filter: grayscale(1) contrast(2); }
.upload-model { margin-top: 12px; display: flex; align-items: center; justify-content: center; padding: 13px; border: 1px dashed #8c8980; cursor: pointer; font-weight: 750; }
.upload-model input { display: none; }
.controls-panel { background: #fbfaf6; }
fieldset { border: 0; padding: 0; margin: 0 0 24px; }
legend, label:not(.consent):not(.upload-model) { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.segmented label { margin: 0 !important; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; padding: 13px; text-align: center; cursor: pointer; }
.segmented input:checked + span { background: var(--ink); color: white; }
.product-selector { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--ink); }
.product-selector label { margin: 0 !important; }
.product-selector input { position: absolute; opacity: 0; }
.product-selector span { display: grid; place-items: center; min-height: 48px; padding: 10px; text-align: center; cursor: pointer; font-size: 12px; font-weight: 900; text-transform: uppercase; border: 1px solid transparent; }
.product-selector input:checked + span { background: var(--ink); color: white; }
.map-preview-copy { margin: 0 0 24px; padding: 14px; border-left: 4px solid var(--acid); background: #efeee8; color: var(--muted); line-height: 1.45; }
.input-with-count { position: relative; }
input[type="text"], select, .file-input { width: 100%; border: 1px solid #a9a69d; background: white; padding: 15px; margin-bottom: 24px; }
.input-with-count input { padding-right: 58px; }
.input-with-count span { position: absolute; top: 16px; right: 14px; color: var(--muted); font-size: 13px; }
input[type="range"] { width: 100%; accent-color: var(--ink); margin-bottom: 24px; }
.microcopy { color: var(--muted); font-size: 12px; line-height: 1.5; }
.product-card { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; margin-top: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-card p { margin: 3px 0; color: var(--muted); }
.product-card .product-name { color: var(--ink); font-weight: 850; }
.product-card strong { font-size: 24px; }
.shipping-note { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; font-size: 13px; }
.primary-button, .secondary-button { width: 100%; padding: 16px; border: 1px solid var(--ink); font-weight: 900; letter-spacing: .8px; cursor: pointer; }
.primary-button { background: var(--acid); color: var(--ink); }
.primary-button:hover { background: var(--ink); color: white; }
.secondary-button { margin-top: 10px; background: transparent; }
.form-message { min-height: 20px; font-size: 13px; font-weight: 700; }
.race-proof { padding: clamp(56px, 8vw, 110px) clamp(20px, 7vw, 100px); }
.race-proof > h2 { max-width: 850px; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.benefits article { background: var(--paper); padding: 30px; }
.benefits strong { color: var(--muted); }
.benefits h3 { font-size: 22px; margin: 50px 0 8px; }
.benefits p { color: var(--muted); line-height: 1.5; }
footer { display: flex; justify-content: space-between; padding: 30px clamp(20px, 5vw, 72px); background: var(--ink); color: white; font-weight: 850; }
.checkout-modal { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 20px; background: rgb(0 0 0 / 72%); }
.checkout-modal[hidden] { display: none; }
.modal-card { position: relative; width: min(520px, 100%); padding: 34px; background: var(--paper); }
.modal-close { position: absolute; top: 12px; right: 15px; border: 0; background: none; font-size: 30px; cursor: pointer; }
.modal-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.modal-card dt { color: var(--muted); }.modal-card dd { margin: 0; font-weight: 800; text-align: right; }
.modal-note { color: var(--muted); font-size: 13px; }

@media (max-width: 800px) {
  .tagline { display: none; }
  .builder { grid-template-columns: 1fr; }
  .preview-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .benefits { grid-template-columns: 1fr; }
  .hero h1 { letter-spacing: -4px; }
}


/* RACEINKED HERO SLIDER */
.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.96) 0%,
    rgba(0,0,0,.78) 38%,
    rgba(0,0,0,.18) 75%,
    rgba(0,0,0,.08) 100%
  );
}

.hero-content,
.proof-strip {
  position: relative;
  z-index: 2;
}

@media (max-width: 700px) {
  .hero {
    min-height: 620px;
  }

  .hero-slide {
    object-position: 65% center;
  }

  .hero::after {
    background: rgba(0,0,0,.62);
  }
}

/* FIX HERO IMAGE CROPPING */
.hero-slides {
  background: #050505;
}

.hero-slide {
  object-fit: contain;
  object-position: right center;
}

/* Keep full banner images visible */
.hero-slides {
  background: #050505;
}

.hero-slide {
  object-fit: contain !important;
  object-position: right center !important;
}


/* TATTOO POSITIONING CONTROLS */
.tattoo-overlay {
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.tattoo-overlay.dragging {
  cursor: grabbing;
}

.model-stage {
  overflow: hidden;
}

.body-view-toggle {
  margin-bottom: 14px;
}

.drag-instruction {
  margin: 4px 0 18px;
  font-weight: 800;
}

#placementNotes {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  border: 1px solid #999;
  border-radius: 0;
  padding: 12px;
  font: inherit;
  background: #fff;
}

.optional {
  color: #777;
  font-weight: 500;
}


/* TATTOO ORIENTATION */
.orientation-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 14px;
}

.orientation-button {
  appearance: none;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  min-height: 42px;
  padding: 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.orientation-button + .orientation-button {
  border-left: 0;
}

.orientation-button.active {
  background: #111;
  color: #fff;
}

.rotation-control {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

#rotationValue {
  font-weight: 900;
}

#tattooRotation {
  width: 100%;
  margin: 8px 0 18px;
}


/* FULL-SIZE CAMPAIGN TILES */
.campaign-tiles {
  width: 100%;
  background: #050505;
}

.campaign-tile {
  position: relative;
  width: 100%;
  min-height: 78vh;
  overflow: hidden;
  background: #050505;
}

.campaign-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.campaign-tile-speed img {
  object-fit: cover;
  object-position: center;
}

.campaign-tile-stations img {
  object-fit: contain;
  object-position: right center;
}

.campaign-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.92) 0%,
    rgba(0,0,0,.62) 35%,
    rgba(0,0,0,.08) 72%
  );
}

.campaign-caption {
  position: absolute;
  z-index: 2;
  left: clamp(28px, 6vw, 110px);
  bottom: clamp(40px, 9vh, 110px);
  color: #fff;
}

.campaign-caption h2 {
  max-width: 750px;
  margin: 8px 0 0;
  font-size: clamp(54px, 8vw, 140px);
  line-height: .84;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.campaign-caption .step {
  color: #caff1a;
}

@media (max-width: 700px) {
  .campaign-tile {
    min-height: 72vh;
  }

  .campaign-tile-stations img {
    object-position: center;
  }

  .campaign-tile::after {
    background: linear-gradient(
      0deg,
      rgba(0,0,0,.9) 0%,
      rgba(0,0,0,.08) 70%
    );
  }

  .campaign-caption h2 {
    font-size: clamp(46px, 15vw, 76px);
  }
}

/* TIGHTEN STATION CAMPAIGN TILE */
.campaign-tile-stations img {
  left: auto;
  right: 0;
  width: 52%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.campaign-tile-stations .campaign-caption {
  width: 44%;
  max-width: none;
}

.campaign-tile-stations .campaign-caption h2 {
  max-width: none;
  font-size: clamp(54px, 4.5vw, 92px);
  line-height: .88;
}

@media (max-width: 700px) {
  .campaign-tile-stations img {
    width: 100%;
  }

  .campaign-tile-stations .campaign-caption {
    width: calc(100% - 56px);
  }

  .campaign-tile-stations .campaign-caption h2 {
    font-size: clamp(46px, 13vw, 70px);
  }
}

.brand img{display:block;width:clamp(165px,15vw,240px);height:auto}
