:root {
  --ink: #111111;
  --paper: #f4f1e8;
  --snow: #f8fbff;
  --acid: #d9ff2f;
  --signal: #ff4b2f;
  --blue: #145dff;
  --pine: #123b2a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, sans-serif;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--snow);
  background: rgba(17, 17, 17, 0.72);
  border-bottom: 1px solid rgba(248, 251, 255, 0.18);
  backdrop-filter: blur(14px);
}

.brand,
h2 {
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(66px, 6.5vw, 92px);
  line-height: 0;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 42px);
  font-weight: 900;
  text-transform: uppercase;
}

.shop-link {
  border: 2px solid currentColor;
  padding: 10px 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.lang-link {
  min-width: 44px;
  border: 2px solid currentColor;
  padding: 10px 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0d1112;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 44%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.28) 52%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 150px clamp(20px, 5vw, 72px) 110px;
  color: var(--snow);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--acid);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(50px, 9.4vw, 132px);
  font-weight: 900;
  line-height: 1.02;
}

.hero-copy {
  max-width: 560px;
  margin: 26px 0 0;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 2px solid currentColor;
  font-weight: 900;
}

.button.primary {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--ink);
}

.button.secondary {
  color: var(--snow);
}

.button.dark {
  align-self: center;
}

.drop-card {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 38px;
  z-index: 3;
  width: min(340px, calc(100% - 36px));
  padding: 18px;
  border: 2px solid var(--snow);
  background: rgba(17, 17, 17, 0.72);
  color: var(--snow);
  backdrop-filter: blur(12px);
}

.drop-card span,
.drop-card a {
  display: block;
  color: var(--acid);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.drop-card strong {
  display: block;
  margin: 8px 0 14px;
  font-size: 20px;
  line-height: 1.25;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.quick-links a {
  min-height: 156px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 3px solid var(--ink);
  background: var(--snow);
}

.quick-links a:nth-child(2) {
  background: var(--acid);
}

.quick-links a:nth-child(3) {
  border-right: 0;
  background: var(--signal);
  color: var(--snow);
}

.quick-links span {
  display: block;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
}

.quick-links strong {
  display: block;
  margin-top: 12px;
  font-size: 15px;
}

.gear-section {
  padding: clamp(56px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.section-heading.compact {
  margin-bottom: 20px;
}

.text-link {
  border-bottom: 3px solid currentColor;
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(44px, 8vw, 98px);
  line-height: 0.95;
}

.gear-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gear-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  color: var(--snow);
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.12)),
    url("assets/photos/product-2nagi.jpg") center 34% / cover;
}

.gear-card.park {
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.12)),
    url("assets/photos/product-hikepants.jpg");
  background-position: 52% 50%;
}

.gear-card.spring {
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.12)),
    url("assets/photos/product-origin.jpg");
  background-position: 50% 46%;
}

.gear-card p {
  margin: 0 0 8px;
  color: var(--acid);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.gear-card h3 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 0.98;
  text-transform: uppercase;
}

.gear-card a {
  width: max-content;
  border: 2px solid currentColor;
  padding: 10px 18px;
  font-weight: 900;
}

.drop-section {
  padding: clamp(50px, 7vw, 90px) clamp(18px, 5vw, 72px);
  border-top: 3px solid var(--ink);
  background: var(--snow);
}

.product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 3px solid var(--ink);
}

.product-card {
  display: grid;
  grid-template-rows: 260px 1fr;
  min-height: 540px;
  border-right: 3px solid var(--ink);
  background: var(--paper);
}

.product-card:last-child {
  border-right: 0;
}

.product-media {
  background:
    linear-gradient(135deg, rgba(217, 255, 47, 0.08), rgba(255, 75, 47, 0.08)),
    url("assets/photos/product-2nagi.jpg") center 34% / cover;
  border-bottom: 3px solid var(--ink);
}

.product-media.hike {
  background:
    linear-gradient(135deg, rgba(20, 93, 255, 0.08), rgba(17, 17, 17, 0.08)),
    url("assets/photos/product-hikepants.jpg") 52% 50% / cover;
}

.product-media.origin {
  background:
    linear-gradient(135deg, rgba(18, 59, 42, 0.06), rgba(217, 255, 47, 0.08)),
    url("assets/photos/product-origin.jpg") 50% 46% / cover;
}

.product-body {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.product-body span,
.journal-grid span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-body h3,
.journal-grid h3,
.contact-columns h3 {
  margin: 10px 0 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.product-body p,
.journal-grid p,
.contact-columns p {
  margin: 18px 0 0;
  font-weight: 700;
  line-height: 1.8;
}

.product-body a {
  width: max-content;
  margin-top: auto;
  padding-top: 28px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.story-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(26px, 6vw, 80px);
  align-items: center;
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px);
  background: var(--pine);
  color: var(--snow);
}

.story-copy p:last-child {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.9;
}

.story-stats {
  display: grid;
  border: 2px solid var(--snow);
}

.story-stats div {
  padding: 22px;
  border-bottom: 2px solid var(--snow);
}

.story-stats div:last-child {
  border-bottom: 0;
}

.story-stats strong {
  display: block;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
}

.story-stats span {
  display: block;
  margin-top: 8px;
  color: var(--acid);
  font-weight: 900;
  text-transform: uppercase;
}

.photo-strip {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1.2fr 0.95fr;
  min-height: 380px;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--ink);
}

.photo-strip img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  border-right: 3px solid var(--ink);
  filter: saturate(1.08) contrast(1.04);
}

.photo-strip img:first-child {
  object-position: 50% 50%;
}

.photo-strip img:last-child {
  border-right: 0;
}

.reserve-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: clamp(54px, 7vw, 90px) clamp(18px, 5vw, 72px);
  background: var(--acid);
}

.reserve-section p:last-child {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.85;
}

.journal-section {
  padding: clamp(56px, 8vw, 110px) clamp(18px, 5vw, 72px);
  background: var(--paper);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 3px solid var(--ink);
  border-left: 3px solid var(--ink);
}

.journal-grid article {
  min-height: 260px;
  padding: 24px;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--snow);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1.55fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: clamp(56px, 8vw, 110px) clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: var(--snow);
}

.contact-actions {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 14px;
  border: 2px solid currentColor;
  color: var(--snow);
  font-family: "Anton", Impact, sans-serif;
  font-size: 24px;
  line-height: 1;
  text-decoration: none;
}

.contact-actions a::after {
  content: "MAIL";
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.contact-actions a:hover {
  background: var(--snow);
  color: var(--ink);
}

.dealer-panel {
  display: grid;
  gap: 16px;
}

.dealer-search {
  display: grid;
  gap: 8px;
}

.dealer-search span,
.dealer-count {
  color: var(--acid);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dealer-search input {
  width: 100%;
  min-height: 54px;
  border: 2px solid var(--snow);
  background: transparent;
  color: var(--snow);
  font: inherit;
  font-weight: 800;
  padding: 12px 14px;
}

.dealer-search input::placeholder {
  color: rgba(248, 251, 255, 0.65);
}

.dealer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: 430px;
  overflow: auto;
  border-top: 2px solid var(--snow);
  border-left: 2px solid var(--snow);
}

.dealer-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-right: 2px solid var(--snow);
  border-bottom: 2px solid var(--snow);
}

.dealer-card h3 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.dealer-card p {
  margin: 14px 0 18px;
  font-weight: 700;
  line-height: 1.75;
}

.dealer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.dealer-links a {
  border: 2px solid var(--snow);
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dealer-links a:last-child {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--ink);
}

.dealer-list::-webkit-scrollbar {
  width: 12px;
}

.dealer-list::-webkit-scrollbar-track {
  border: 2px solid var(--snow);
}

.dealer-list::-webkit-scrollbar-thumb {
  background: var(--acid);
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(48px, 7vw, 96px) clamp(18px, 5vw, 72px);
  background: var(--snow);
  border-top: 3px solid var(--ink);
}

.privacy-heading {
  position: sticky;
  top: 96px;
  align-self: start;
}

.privacy-heading h1,
.privacy-heading h2 {
  max-width: 7em;
  font-size: clamp(42px, 6vw, 86px);
}

.privacy-content {
  max-width: 900px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
}

.privacy-content h3 {
  margin: 34px 0 0;
  font-size: 17px;
  font-weight: 900;
}

.privacy-content p {
  margin: 12px 0 0;
}

.privacy-content ol {
  margin: 12px 0 0;
  padding-left: 1.4em;
}

.privacy-content a {
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.legal-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(48px, 7vw, 96px) clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: var(--snow);
  border-top: 3px solid var(--ink);
}

.legal-heading {
  position: sticky;
  top: 96px;
  align-self: start;
}

.legal-heading h2 {
  max-width: 7em;
  font-size: clamp(42px, 6vw, 86px);
}

.legal-list {
  display: grid;
  max-width: 980px;
  margin: 0;
  border-top: 2px solid var(--snow);
  border-left: 2px solid var(--snow);
}

.legal-list div {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
  border-right: 2px solid var(--snow);
  border-bottom: 2px solid var(--snow);
}

.legal-list dt,
.legal-list dd {
  margin: 0;
  padding: 15px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.75;
}

.legal-list dt {
  color: var(--acid);
  text-transform: uppercase;
}

.legal-list dd {
  border-left: 2px solid var(--snow);
}

.legal-list a {
  color: var(--snow);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.riders-page {
  min-height: 100vh;
  padding-top: 88px;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.72), rgba(17, 17, 17, 0.96)),
    url("assets/photos/slope-wide.jpg") center / cover fixed;
  color: var(--snow);
}

.riders-hero {
  padding: clamp(52px, 10vw, 120px) clamp(18px, 5vw, 72px) clamp(24px, 6vw, 70px);
}

.riders-hero h1 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(72px, 18vw, 220px);
  font-weight: 400;
  line-height: 0.86;
  text-transform: uppercase;
}

.riders-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(248, 251, 255, 0.84);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 900;
  line-height: 1.7;
}

.rider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(64px, 10vw, 120px);
}

.rider-card {
  min-height: 136px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 28px);
  color: var(--snow);
  background: rgba(248, 251, 255, 0.1);
  border: 2px solid rgba(248, 251, 255, 0.16);
  text-decoration: none;
  backdrop-filter: blur(14px);
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.rider-card:hover,
.rider-card:focus-visible {
  color: var(--ink);
  background: var(--acid);
  transform: translateY(-2px);
  outline: 0;
}

.rider-card strong {
  display: block;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.rider-card small {
  display: block;
  margin-top: 8px;
  color: currentColor;
  font-size: 14px;
  font-weight: 900;
}

.instagram-badge {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 13px;
  background:
    radial-gradient(circle at 30% 108%, #feda75 0 22%, transparent 23%),
    radial-gradient(circle at 6% 92%, #fa7e1e 0 28%, transparent 29%),
    radial-gradient(circle at 96% 10%, #4f5bd5 0 25%, transparent 26%),
    linear-gradient(135deg, #833ab4, #c13584 42%, #fd1d1d 68%, #fcb045);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.instagram-badge img {
  position: absolute;
  inset: 11px;
  display: block;
  width: calc(100% - 22px);
  height: calc(100% - 22px);
  filter: brightness(0) invert(1);
}

.rider-card:hover .instagram-badge,
.rider-card:focus-visible .instagram-badge {
  transform: rotate(-5deg) scale(1.05);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 72px);
  background: var(--snow);
  border-top: 3px solid var(--ink);
}

.site-footer strong {
  font-family: "Anton", Impact, sans-serif;
  font-size: 42px;
  font-weight: 400;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 850px;
  }

  .hero-image {
    object-position: 54% 44%;
  }

  .hero-content {
    padding-top: 120px;
    padding-bottom: 230px;
  }

  .drop-card {
    left: 18px;
    right: 18px;
    bottom: 24px;
    width: auto;
  }

  .quick-links,
  .gear-grid,
  .product-list,
  .journal-grid,
  .photo-strip,
  .rider-grid,
  .story-band,
  .reserve-section,
  .contact-section,
  .privacy-section,
  .legal-section {
    grid-template-columns: 1fr;
  }

  .privacy-heading,
  .legal-heading {
    position: static;
  }

  .legal-list div {
    grid-template-columns: 1fr;
  }

  .legal-list dd {
    border-top: 2px solid var(--snow);
    border-left: 0;
  }

  .quick-links a,
  .quick-links a:nth-child(3) {
    min-height: 120px;
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }

  .quick-links a:nth-child(3) {
    border-bottom: 0;
  }

  .gear-card {
    min-height: 330px;
  }

  .product-card {
    min-height: 0;
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }

  .product-card:last-child {
    border-bottom: 0;
  }

  .photo-strip img {
    min-height: 260px;
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }

  .photo-strip img:last-child {
    border-bottom: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .dealer-list {
    grid-template-columns: 1fr;
    max-height: 430px;
  }

  .riders-page {
    background-attachment: scroll;
  }
}

@media (max-width: 520px) {
  .header-actions {
    gap: 6px;
  }

  .lang-link,
  .shop-link {
    padding: 9px 12px;
  }

  .hero-actions .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(44px, 12vw, 58px);
  }
}
