/* =========================================================
   SUPER MOBILITY CERTIFIED SHOP PORTAL
   base / tokens / layout / common parts
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Noto+Sans+JP:wght@300;400;500;700;900&family=Oswald:wght@400;500;600;700&display=swap');

:root {
  --black: #08090a;
  --black-2: #0d0f11;
  --black-3: #14171a;
  --ink: #e9e6df;
  --muted: #9a978f;
  --muted-2: #6f6d68;
  --line: rgba(212, 175, 55, 0.22);
  --line-soft: rgba(255, 255, 255, 0.09);
  --gold: #d4af37;
  --gold-light: #f6e29a;
  --gold-deep: #9a7620;
  --gold-grad: linear-gradient(135deg, #8d6b19 0%, #d8b64b 22%, #f7e8ae 48%, #d3ac3b 72%, #8a6716 100%);
  --gold-text: linear-gradient(180deg, #f9edb8 0%, #d9b856 55%, #a5822a 100%);
  --silver-grad: linear-gradient(135deg, #6f7579 0%, #cfd4d7 24%, #f4f6f7 48%, #c2c7ca 72%, #6b7074 100%);
  --shadow-lg: 0 30px 80px -40px rgba(0, 0, 0, 0.95);
  --shadow-gold: 0 0 0 1px rgba(212, 175, 55, 0.28), 0 24px 60px -32px rgba(212, 175, 55, 0.28);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: 'Noto Sans JP', system-ui, -apple-system, 'Hiragino Sans', 'Yu Gothic', sans-serif;
  font-size: 15px;
  line-height: 1.85;
  font-weight: 400;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(1100px 600px at 50% -10%, rgba(212, 175, 55, 0.11), transparent 70%),
    radial-gradient(900px 500px at 100% 20%, rgba(212, 175, 55, 0.05), transparent 70%);
  background-repeat: no-repeat;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

p {
  margin: 0 0 1em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(212, 175, 55, 0.35);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
}

.icon {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  display: inline-block;
  vertical-align: -0.12em;
}

/* ------------------------------- latin type ------------------------------ */

.latin {
  font-family: 'Oswald', 'Barlow Condensed', sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gold-text {
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------- buttons ------------------------------ */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 13px 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--gold {
  border: none;
  background: var(--gold-grad);
  color: #1a1405;
  font-weight: 700;
  box-shadow: 0 10px 30px -14px rgba(212, 175, 55, 0.7);
}

.btn--gold:hover {
  box-shadow: 0 18px 42px -16px rgba(212, 175, 55, 0.85);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.07);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 12px;
}

.btn--block {
  width: 100%;
}

/* ---------------------------------- header ------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(8, 9, 10, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
}

.site-header::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.55), transparent);
  opacity: 0.7;
}

.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px clamp(18px, 4vw, 40px);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand__mark {
  width: 34px;
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.35));
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__latin {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.16em;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand__jp {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  position: relative;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #cfccc5;
  border-radius: 6px;
  transition: color 0.25s var(--ease);
}

.nav__link:hover {
  color: var(--gold-light);
}

.nav__link.is-active {
  color: var(--gold-light);
}

.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 1px;
  background: var(--gold-grad);
}

.nav__cta {
  margin-left: 10px;
}

.nav-toggle,
.nav-burger {
  display: none;
}

/* ---------------------------------- footer ------------------------------- */

.site-footer {
  margin-top: clamp(70px, 10vw, 130px);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(212, 175, 55, 0.08), transparent 70%),
    #060708;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-top: 56px;
  padding-bottom: 44px;
}

.site-footer__brand img {
  width: 58px;
  margin-bottom: 18px;
  opacity: 0.95;
}

.site-footer__catch {
  font-size: 12.5px;
  line-height: 2.1;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__col h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 500;
}

.site-footer__col a {
  font-size: 12.5px;
  color: #b9b6ae;
  transition: color 0.2s var(--ease);
}

.site-footer__col a:hover {
  color: var(--gold-light);
}

.site-footer__small {
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--muted-2);
}

.site-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__bar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
  font-family: 'Oswald', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
}

/* ----------------------------------- badges ------------------------------ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.4;
  border: 1px solid;
  white-space: nowrap;
}

.badge__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  font-size: 11px;
}

.badge--z-gard {
  color: #a8d8ff;
  border-color: rgba(96, 165, 220, 0.42);
  background: rgba(56, 122, 180, 0.13);
}

.badge--z-gard .badge__icon {
  background: rgba(96, 165, 220, 0.2);
  color: #bfe3ff;
}

.badge--panthera {
  color: #f3c68d;
  border-color: rgba(214, 145, 60, 0.42);
  background: rgba(190, 110, 30, 0.13);
}

.badge--panthera .badge__icon {
  background: rgba(214, 145, 60, 0.2);
  color: #ffdaa8;
}

.badge--gorgo {
  color: #e0b6ff;
  border-color: rgba(160, 100, 210, 0.42);
  background: rgba(120, 70, 170, 0.14);
}

.badge--gorgo .badge__icon {
  background: rgba(160, 100, 210, 0.2);
  color: #eed2ff;
}

.type-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Oswald', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  padding: 3px 10px;
  border-radius: 3px;
  border: 1px solid;
}

.type-chip--meister {
  color: #1a1405;
  border-color: transparent;
  background: var(--gold-grad);
}

.type-chip--geselle {
  color: #20262b;
  border-color: transparent;
  background: var(--silver-grad);
}

.featured-flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  opacity: 0.9;
}

.seal {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

/* ----------------------------------- misc -------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold-grad);
}

.section {
  padding: clamp(52px, 8vw, 96px) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}

.section-head__title {
  font-size: clamp(23px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 12px;
}

.section-head__lead {
  max-width: 46ch;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.95;
}

.hr-gold {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.45), transparent);
}

.empty {
  padding: 60px 24px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: var(--r);
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* -------------------------------- responsive ----------------------------- */

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 860px) {
  .nav-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    cursor: pointer;
    color: var(--ink);
    font-size: 20px;
  }

  .nav-burger__close,
  .nav-toggle:checked ~ .nav-burger .nav-burger__open {
    display: none;
  }

  .nav-toggle:checked ~ .nav-burger .nav-burger__close {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 63px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 22px;
    background: rgba(7, 8, 9, 0.98);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
    max-height: calc(100vh - 63px);
    overflow: auto;
  }

  .nav-toggle:checked ~ .nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav__link {
    padding: 14px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 14px;
  }

  .nav__link.is-active::after {
    display: none;
  }

  .nav__cta {
    margin: 16px 0 0;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

  .brand__latin {
    font-size: 13px;
  }

  .brand__jp {
    font-size: 9px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bar-inner {
    flex-direction: column;
    gap: 6px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
