:root {
  color-scheme: dark;
  --orange: #ff4f00;
  --ink: #090909;
  --muted: #aaa;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: #fff;
  font-family: Inter, "Noto Sans JP", sans-serif;
}

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

.hero {
  min-height: 58vh;
  padding: 28px clamp(24px, 6vw, 88px) 64px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.3) 70%),
    url("pureJP_SummerCampaign2026/assets/images/hero_campaign.jpg") center 48% / cover;
}

nav, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { font-weight: 800; letter-spacing: -.04em; font-size: 1.4rem; }
.brand span { font-weight: 400; }
.official-link { font-size: .8rem; letter-spacing: .04em; border-bottom: 1px solid #fff; padding-bottom: 4px; }

.hero-copy { margin-top: auto; max-width: 900px; }
.eyebrow, .section-heading p { color: var(--orange); font-size: .72rem; font-weight: 800; letter-spacing: .22em; }
h1 { font-size: clamp(3rem, 8vw, 7rem); line-height: .98; margin: 16px 0 24px; letter-spacing: -.07em; }
.hero-copy > p:last-child { max-width: 560px; color: #ddd; line-height: 1.8; }

main { padding: 72px clamp(24px, 6vw, 88px) 100px; }
.section-heading h2 { margin: 8px 0 32px; font-size: clamp(1.8rem, 3vw, 3rem); }
.cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }

.card {
  grid-column: span 4;
  min-height: 390px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-position: center;
  background-size: cover;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 25%, rgba(0,0,0,.92));
  transition: background .25s ease;
}

.card:hover::before { background: linear-gradient(180deg, rgba(255,79,0,.12), rgba(0,0,0,.92)); }
.card-summer { background-image: url("pureJP_SummerCampaign2026/assets/images/PURE ELECTRIC JAPAN サマーキャンペーン2026.png"); }
.card-mclaren { background-image: url("pure_mclaren_lp/images/uploaded_image_1768275666257.png"); }
.card-affiliate { background-image: url("PureAffiliateProgramInfo/images/hero-bg.jpg"); }
.tag { font-size: .65rem; font-weight: 800; letter-spacing: .18em; }
.card-copy { display: flex; flex-direction: column; gap: 9px; margin-top: auto; }
.card-copy strong { font-size: 1.5rem; }
.card-copy > span { color: #ccc; font-size: .83rem; line-height: 1.6; }
.arrow { position: absolute; right: 22px; bottom: 22px; font-size: 1.5rem; transform: translateX(0); transition: transform .2s; }
.card:hover .arrow { transform: translateX(5px); }

footer { padding: 28px clamp(24px, 6vw, 88px); border-top: 1px solid #222; color: #777; font-size: .7rem; }

@media (max-width: 820px) {
  .hero { min-height: 64vh; }
  .card { grid-column: span 12; min-height: 330px; }
}

@media (max-width: 480px) {
  .official-link { font-size: 0; }
  .official-link span { font-size: 1rem; }
  footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
