/* PokeCrafts website
   Professional palette: navy + white, brand blue only as an accent. Matches the Shopify schemes in website/README.md.
   Font: Inter (also the Shopify theme font). */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --bg-tint: #eef2fb;
  --text: #0e1530;
  --muted: #5b6479;
  --line: #e3e8f2;
  --blue: #3557b7;
  --blue-dark: #27449a;
  --blue-soft: #e8edfa;
  --navy-hover: #1e2b57;
  --soft-blue: #a9b8e4;
  --navy: #0d1738;
  --navy-2: #16224a;
  --navy-line: #26325c;
  --navy-text: #b8c1db;
  --red: #e03028;
  --green: #1e9e63;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 21, 48, 0.06), 0 2px 8px rgba(14, 21, 48, 0.05);
  --shadow: 0 2px 4px rgba(14, 21, 48, 0.04), 0 12px 32px -8px rgba(14, 21, 48, 0.14);
  --shadow-lg: 0 4px 8px rgba(14, 21, 48, 0.05), 0 32px 64px -16px rgba(14, 21, 48, 0.25);
  --wrap: 1200px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.2rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}

h3 {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.85em;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

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

.skip,
.hp {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

:focus-visible {
  outline: 3px solid rgba(53, 87, 183, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34em;
  margin-top: 18px;
}

.muted,
.fine {
  color: var(--muted);
  font-size: 0.9rem;
}

.fine {
  margin-top: 10px;
}

.hl {
  position: relative;
  white-space: nowrap;
  color: var(--blue);
}

.hl::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.06em;
  height: 0.28em;
  background: rgba(53, 87, 183, 0.14);
  border-radius: 4px;
  z-index: -1;
  transform-origin: left;
  animation: grow 0.9s 0.5s var(--ease) both;
}

@keyframes grow {
  from {
    transform: scaleX(0);
  }
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: grid;
  gap: 10px;
}

.ticks li {
  position: relative;
  padding-left: 30px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.3 2.6 2.6L14.2 7' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* Reveal on scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid var(--navy);
  box-shadow: 0 1px 2px rgba(14, 21, 48, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}

.btn:hover {
  background: var(--navy-hover);
  border-color: var(--navy-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -10px rgba(13, 23, 56, 0.55);
}

.btn:active {
  transform: translateY(0);
}

.btn span[aria-hidden] {
  transition: transform 0.2s var(--ease);
}

.btn:hover span[aria-hidden] {
  transform: translateX(3px);
}

.btn-lg {
  padding: 15px 26px;
  font-size: 1.02rem;
  border-radius: 14px;
}

.btn-small {
  padding: 9px 16px;
  font-size: 0.92rem;
  border-radius: 10px;
}

.btn-block {
  width: 100%;
}

.btn-ghost {
  background: var(--bg);
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  background: var(--bg);
  border-color: var(--text);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

/* Soft highlighted button (Request a card in the header) */
.btn-soft {
  background: var(--blue-soft);
  border-color: var(--blue-soft);
  color: var(--blue-dark);
  box-shadow: none;
}

.btn-soft:hover,
.btn-soft[aria-current] {
  background: #dbe3f7;
  border-color: #c9d5f2;
  color: var(--navy);
  box-shadow: none;
}

.btn-light {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}

.btn-light:hover {
  background: #eef1f8;
  border-color: #eef1f8;
  color: var(--navy);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.5);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.btn-outline-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
  box-shadow: none;
}

.link-arrow {
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}

.link-arrow:hover {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font-weight: 600;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Top bar + header ---------- */
.topbar {
  background: var(--navy);
  color: var(--navy-text);
  font-size: 0.84rem;
}

.topbar strong {
  color: #fff;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.topbar-right {
  color: var(--navy-text);
  text-decoration: none;
  transition: color 0.2s;
}

.topbar-right:hover strong,
.topbar-right[aria-current] strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(14, 21, 48, 0.4);
}

.site-header.tucked {
  transform: translateY(-100%);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: 76px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s var(--ease);
}

.wordmark img {
  display: block;
  height: 52px;
  width: auto;
}

.wordmark:hover {
  transform: scale(1.04) rotate(-1.5deg);
}

.nav {
  display: flex;
  justify-content: center;
}

/* Desktop menu: plain text links, the current section gets a short underline */
.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  position: relative;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 18px;
  height: 2px;
  margin-left: -9px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-mobile-extra {
  display: none;
}

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

.menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 12px;
}

.menu-btn span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease), opacity 0.2s;
}

.menu-btn span:nth-child(1) {
  top: 14px;
}

.menu-btn span:nth-child(2) {
  top: 20.5px;
}

.menu-btn span:nth-child(3) {
  top: 27px;
}

.menu-open .menu-btn span:nth-child(1) {
  top: 20.5px;
  transform: rotate(45deg);
}

.menu-open .menu-btn span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-btn span:nth-child(3) {
  top: 20.5px;
  transform: rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(13, 23, 56, 0.45);
  animation: fade 0.25s ease both;
}

.nav-backdrop[hidden] {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 44px 0 40px;
  overflow: hidden;
  background:
    radial-gradient(55% 65% at 85% 30%, rgba(53, 87, 183, 0.07), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  margin-top: 18px;
  isolation: isolate;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 0.86rem;
  font-weight: 600;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(30, 158, 99, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(30, 158, 99, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(30, 158, 99, 0);
  }
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-trust {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust svg,
.point-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
}

.frame {
  position: absolute;
  margin: 0;
  background: #fff;
  padding: 8px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  animation: rise 0.9s var(--ease) both;
}

.frame img {
  border-radius: 14px;
}

.frame-1 {
  width: 60%;
  left: 20%;
  top: 4%;
  z-index: 3;
  animation-delay: 0.1s;
}

.frame-2 {
  width: 40%;
  left: 0;
  top: 46%;
  z-index: 2;
  transform: rotate(-6deg);
  animation-name: rise-tilt;
  animation-delay: 0.25s;
}

.frame-3 {
  width: 40%;
  right: 0;
  top: 42%;
  z-index: 1;
  transform: rotate(6deg);
  animation-name: rise-tilt;
  animation-delay: 0.4s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@keyframes rise-tilt {
  from {
    opacity: 0;
    transform: translateY(36px) rotate(0deg);
  }
}

@media (hover: hover) {
  .frame-2,
  .frame-3 {
    transition: transform 0.6s var(--ease);
  }

  .hero-art:hover .frame-2 {
    transform: rotate(-9deg) translate(-8px, 4px);
  }

  .hero-art:hover .frame-3 {
    transform: rotate(9deg) translate(8px, 4px);
  }
}

/* Partner logos in the hero */
.hero-partners {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 24px;
  text-decoration: none;
}

.hero-partners-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.hp-logo {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 4px;
}

.hp-logo.dark {
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--navy);
}

.hp-logo img {
  height: 100%;
  width: auto;
  max-height: 32px;
}

/* Custom-case banner above the gallery */
.promo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--navy);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.25s;
}

.promo:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.promo-art {
  flex: none;
  display: flex;
}

.promo-art img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--bg);
  margin-left: -14px;
}

.promo-art img:first-child {
  margin-left: 0;
}

.promo-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.promo-text small {
  color: var(--muted);
  font-size: 0.85rem;
}

.promo-go {
  flex: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--blue-dark);
}

/* ---------- Proof bar ---------- */
.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid > div {
  padding: 26px 24px;
  border-left: 1px solid var(--line);
}

.proof-grid > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.proof strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.proof span {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Sections ---------- */
.section {
  padding: 104px 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: 40px;
}

.section-sub {
  color: var(--muted);
  max-width: 28em;
}

/* ---------- Gallery ---------- */
.gallery-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.chip span {
  font-size: 0.75rem;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
}

.chip:hover {
  border-color: var(--text);
  color: var(--text);
}

.chip[aria-selected="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.chip[aria-selected="true"] span {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: min(340px, 100%);
}

.search svg {
  position: absolute;
  left: 15px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
  pointer-events: none;
}

.search input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(53, 87, 183, 0.15);
}

.search.big input {
  padding: 16px 48px;
  font-size: 1.05rem;
  border-radius: 14px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 22px;
  min-height: 300px;
}

.piece {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: var(--radius);
}

.piece-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.piece-img img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.piece-cta {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(13, 23, 56, 0.88);
  backdrop-filter: blur(6px);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s var(--ease);
}

@media (hover: hover) {
  .piece:hover .piece-img {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }

  .piece:hover .piece-img img {
    transform: scale(1.04);
  }

  .piece:hover .piece-cta {
    opacity: 1;
    transform: none;
  }
}

.placard {
  padding: 12px 2px 0;
}

.placard h3 {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
}

.placard-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}

.placard-meta code {
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--bg-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.placard-price {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--text);
  white-space: nowrap;
}

.gallery-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.empty-cta {
  text-decoration: none;
  color: var(--muted);
}

.empty-cta strong {
  color: var(--blue);
}

/* ---------- Video ---------- */
.watch {
  background:
    radial-gradient(50% 60% at 80% 50%, rgba(53, 87, 183, 0.22), transparent 70%),
    var(--navy);
  color: #fff;
  overflow: hidden;
}

.watch .eyebrow {
  color: var(--soft-blue);
}

.watch .lede,
.watch .ticks {
  color: var(--navy-text);
}

.watch .ticks li::before {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.3 2.6 2.6L14.2 7' fill='none' stroke='%230d1738' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

.watch-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.phone {
  position: relative;
  justify-self: center;
  width: min(330px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 36px;
  padding: 9px;
  background: #05091a;
  box-shadow: 0 0 0 1.5px #2b3866, 0 50px 100px -30px rgba(0, 0, 0, 0.7);
}

.phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  background: var(--navy-2);
}

.phone-cap {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(13, 23, 56, 0.7);
  backdrop-filter: blur(6px);
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

/* ---------- Product lines ---------- */
.lines-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.line {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s, background 0.3s;
}

.line:hover {
  transform: translateY(-4px);
  background: var(--bg);
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.line-tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
}

.line h3 {
  margin: 16px 0 6px;
  font-size: 1.2rem;
}

.line p {
  color: var(--muted);
  font-size: 0.94rem;
  flex: 1;
}

.line-go {
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
}

/* ---------- Custom ---------- */
.custom {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.custom-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.price-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  max-width: 440px;
}

.price-card div {
  display: flex;
  flex-direction: column;
}

.price-card span {
  font-size: 0.85rem;
  color: var(--muted);
}

.price-card strong {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.price-card p {
  grid-column: 1 / -1;
  font-size: 0.86rem;
  color: var(--muted);
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.steps li {
  display: flex;
  gap: 18px;
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.step-n {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}

.steps p {
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.95rem;
}

/* ---------- In store (homepage) ---------- */
.instore {
  padding-bottom: 72px;
}

.shop-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 20px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--navy);
  text-decoration: none;
  transition: background 0.2s;
}

.shop-cta:hover {
  background: #dde5f8;
}

.partner-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.badge-instore {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e5f6ee;
  color: #13744a;
  font-size: 0.78rem;
  font-weight: 700;
}

.partner-address {
  margin-top: 6px !important;
  color: var(--text) !important;
  font-weight: 500;
}

.partner-dir {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--blue);
  text-decoration: none;
}

.partner-dir svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.partner-dir:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Partners page ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.benefit {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.benefit:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.benefit h3 {
  margin: 16px 0 6px;
}

.benefit p {
  color: var(--muted);
  font-size: 0.95rem;
}

.apply {
  background:
    radial-gradient(50% 60% at 0% 0%, rgba(53, 87, 183, 0.1), transparent 70%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
}

.apply-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.apply .ticks a {
  color: var(--blue);
  font-weight: 600;
}

/* ---------- Partners ---------- */
.stockists {
  margin-bottom: 48px;
}

.stockists-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.partner-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.partner {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.partner:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.partner-logo {
  height: 64px;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.partner-logo a {
  display: block;
  height: 100%;
}

.partner-logo img {
  height: 100%;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.partner-logo.dark {
  width: fit-content;
  background: var(--navy);
  border-radius: 12px;
  padding: 8px 14px;
}

.mono-logo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
}

.partner p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 2px;
}

.partner-links {
  display: flex;
  gap: 16px;
  margin-top: 14px !important;
}

.partner-links a {
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

.partner-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pitch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.pitch-points {
  display: grid;
  gap: 12px;
}

.point {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-lg);
  transition: background 0.3s;
}

.point:hover {
  background: var(--bg-soft);
}

.point-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
}

.point-icon svg {
  width: 22px;
  height: 22px;
}

.point p {
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.95rem;
}

/* ---------- Forms ---------- */
.card-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}

.card-form > h3 {
  font-size: 1.4rem;
  font-weight: 800;
}

.card-form > .muted {
  margin-top: 4px;
  margin-bottom: 22px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: block;
  margin: 0 0 14px;
  border: 0;
  padding: 0;
  min-width: 0;
}

.field > span,
.field > legend {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 6px;
  padding: 0;
}

.field em {
  color: var(--muted);
  font-weight: 400;
  font-style: normal;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  font: inherit;
  font-size: 0.97rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field input:hover,
.field textarea:hover {
  border-color: #c9d1e3;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--bg);
  box-shadow: 0 0 0 4px rgba(53, 87, 183, 0.15);
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checks label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.checks label:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.checks input {
  accent-color: var(--blue);
}

.form-status {
  min-height: 1.4em;
  margin-top: 12px;
  font-weight: 600;
  color: var(--blue-dark);
}

/* ---------- Events ---------- */
.events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.events li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.3s;
}

.events li:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.events time {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 12px 10px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.events time span {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.events time small {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--soft-blue);
  margin-top: 2px;
}

.events h3 a {
  text-decoration: none;
}

.events h3 a:hover {
  color: var(--blue);
}

.events p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 4px;
}

.empty {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  background: var(--bg-soft);
}

.empty p {
  max-width: 40em;
  color: var(--muted);
}

.empty strong {
  color: var(--text);
}

/* ---------- FAQ ---------- */
.faq-sec {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}

.faq-list details {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-list details[open] {
  border-color: #c9d1e3;
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--navy);
  font-weight: 700;
  transition: transform 0.3s var(--ease);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  margin-top: 10px;
  color: var(--muted);
}

.faq-list a {
  color: var(--blue);
  font-weight: 600;
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: 0 0 104px;
  background: var(--bg-soft);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 48px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(53, 87, 183, 0.35), transparent 60%),
    var(--navy);
  box-shadow: var(--shadow-lg);
}

.cta-inner p {
  margin-top: 8px;
  color: var(--navy-text);
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--navy-text);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--navy-line);
}

.site-footer .wordmark img {
  height: 64px;
}

.site-footer h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer ul a {
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer ul a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  display: grid;
  gap: 10px;
}

.disclaimer {
  font-size: 0.78rem;
  max-width: 70em;
  color: #8792b3;
}

.site-footer .muted {
  color: #8792b3;
}

/* ---------- Request page ---------- */
.request {
  padding: 56px 0 104px;
  background:
    radial-gradient(50% 40% at 10% 0%, rgba(53, 87, 183, 0.1), transparent 70%),
    var(--bg);
}

.request-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.request-intro {
  position: sticky;
  top: 110px;
}

.request-intro h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.4rem);
  isolation: isolate;
}

.price-note {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  max-width: 34em;
  font-size: 0.95rem;
}

.price-note strong {
  color: var(--navy);
}

.preview {
  margin-top: 8px;
}

.preview-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.preview-list li {
  width: 120px;
  animation: rise 0.5s var(--ease) both;
}

.preview-list img,
.preview-list .ph {
  width: 120px;
  aspect-ratio: 63 / 88;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.preview-list .ph {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.3;
}

.preview-list .ph small {
  color: var(--navy-text);
}

.step {
  border: 0;
  margin: 0 0 26px;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.step legend {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding: 0;
  margin-bottom: 14px;
}

.step legend .step-n {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 0.9rem;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.segmented label {
  position: relative;
}

.segmented input,
.option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: block;
  text-align: center;
  padding: 10px 6px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.segmented input:checked + span {
  background: var(--bg);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.segmented input:focus-visible + span,
.option input:focus-visible + span {
  outline: 3px solid rgba(53, 87, 183, 0.45);
  outline-offset: 2px;
}

.combo {
  position: relative;
}

.spinner {
  position: absolute;
  right: 16px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--line);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.combo-list {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 380px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  animation: drop 0.16s var(--ease);
}

@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.combo-item,
.picked li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
}

.combo-item {
  cursor: pointer;
}

.combo-item.active {
  background: var(--blue-soft);
}

.thumb {
  flex: none;
  width: 40px;
  height: 56px;
  border-radius: 5px;
  overflow: hidden;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fade 0.3s ease both;
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

.combo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.combo-text strong {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.combo-text small {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rarity {
  flex: none;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue-dark);
  text-align: right;
  max-width: 130px;
}

.combo-empty {
  padding: 14px;
  color: var(--muted);
}

.picked {
  list-style: none;
  margin: 14px 0 6px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.picked li {
  background: var(--blue-soft);
  border: 1px solid #cbd6f2;
  animation: rise 0.35s var(--ease) both;
}

.remove {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.remove:hover {
  background: var(--red);
  color: #fff;
}

.manual {
  margin-top: 14px;
  padding: 16px;
  border-radius: 12px;
  background: var(--bg-soft);
}

.options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.option {
  position: relative;
}

.option span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.option small {
  color: var(--muted);
  font-size: 0.82rem;
}

.option input:checked + span {
  border-color: var(--blue);
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px var(--blue);
}

/* ---------- Buy flow (request.html) ---------- */
.buy-wrap {
  max-width: 680px;
}

.buy-head {
  text-align: center;
  margin-bottom: 24px;
}

.buy-head h1 {
  font-size: clamp(2.1rem, 5vw, 3rem);
  isolation: isolate;
}

.buy-head .lede {
  margin: 12px auto 0;
}

.buy-hint {
  text-align: center;
}

.game-tag {
  flex: none;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
}

.buy-panel {
  margin-top: 20px;
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  animation: rise 0.35s var(--ease) both;
}

.buy-panel[hidden],
.buy-steps[hidden] {
  display: none;
}

.buy-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.buy-cards li {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Full card details stay readable before paying */
.buy-cards .combo-text strong,
.buy-cards .combo-text small {
  white-space: normal;
}

.buy-cards .art {
  flex: none;
  width: 84px;
  aspect-ratio: 63 / 88;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.buy-cards .art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.buy-more {
  margin: 12px 0 18px;
  font-size: 0.92rem;
}

.segmented.two {
  grid-template-columns: 1fr 1fr;
}

.segmented small {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
}

.buy-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 18px 0 12px;
}

.buy-total strong {
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}

.buy-notes {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.buy-steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.buy-steps li {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.buy-steps .step-n {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.buy-steps p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 2px;
}

.not-found {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.not-found summary {
  cursor: pointer;
  font-weight: 700;
}

.not-found > .muted {
  margin: 8px 0 14px;
}

.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font: inherit;
  font-size: 0.97rem;
  color: var(--text);
}

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1000px) {
  .hero-inner,
  .custom-inner,
  .watch-inner,
  .pitch,
  .request-inner,
  .apply-inner {
    grid-template-columns: 1fr;
  }

  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-art {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .lines-grid,
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-grid > div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .proof-grid > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .request-intro {
    position: static;
  }

  .request-inner {
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto 1fr;
    height: 68px;
    gap: 12px;
  }

  .wordmark img {
    height: 46px;
  }

  .wordmark,
  .header-actions {
    position: relative;
    z-index: 2;
  }

  .header-actions {
    justify-self: end;
  }

  .header-request {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  /* While the menu is open the header must not create a containing block for the fixed panel */
  .menu-open .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--bg);
  }

  .nav {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    max-height: 100dvh;
    overflow-y: auto;
    flex-direction: column;
    justify-content: flex-start;
    padding: 84px 24px 28px;
    background: var(--bg);
    border-radius: 0 0 24px 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), visibility 0.35s;
  }

  .menu-open .nav {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
  }

  .nav-links a {
    padding: 16px 4px;
    font-size: 1.15rem;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a.active {
    color: var(--blue);
  }

  .nav-mobile-extra {
    display: grid;
    gap: 10px;
    margin-top: 22px;
  }

  .nav-partner-m {
    margin-top: 6px;
    text-align: center;
    font-size: 0.92rem;
    color: var(--muted);
    text-decoration: none;
  }

  .nav-partner-m strong {
    color: var(--blue);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding: 0 16px;
  }

  .topbar-right {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .nav {
    padding: 80px 16px 24px;
  }

  .header-shop {
    padding: 9px 14px;
  }

  .hero {
    padding: 36px 0 56px;
  }

  .hero-ctas .btn {
    flex: 1 1 auto;
  }

  .section {
    padding: 72px 0;
  }

  .proof-grid > div {
    padding: 18px 12px 18px 0;
  }

  .proof-grid > div:nth-child(even) {
    padding-left: 14px;
  }

  .proof strong {
    font-size: 1.35rem;
  }

  .proof span {
    font-size: 0.82rem;
  }

  .lines-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .partner-logo img {
    max-width: 170px;
  }

  .line {
    padding: 18px 16px;
  }

  .line h3 {
    font-size: 1.05rem;
  }

  .line p {
    font-size: 0.86rem;
  }

  .gallery {
    gap: 22px 12px;
  }

  .gallery-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: calc(100% + 32px);
    max-width: calc(100% + 32px);
    margin: 0 -16px;
    padding: 0 16px 4px;
    scrollbar-width: none;
  }

  .chips::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: none;
  }

  .piece-cta {
    display: none;
  }

  .placard-meta {
    flex-wrap: wrap;
  }

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

  .events {
    grid-template-columns: 1fr;
  }

  .events li {
    gap: 14px;
    padding: 14px;
  }

  .events time {
    min-width: 96px;
  }

  .card-form {
    padding: 22px 18px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .segmented {
    grid-template-columns: 1fr 1fr;
  }

  .options {
    grid-template-columns: 1fr;
  }

  .rarity {
    display: none;
  }

  .phone {
    width: min(290px, 100%);
  }

  .price-card strong {
    font-size: 1.35rem;
  }

  .cta-band {
    padding-bottom: 72px;
  }

  .cta-inner {
    padding: 30px 22px;
    border-radius: 22px;
  }

  .cta-btns .btn {
    flex: 1 1 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Cases first: on small screens the hero is only a headline, so products show on the first screen */
.cases-first {
  padding-top: 56px;
}

@media (max-width: 900px) {
  .hero .pill {
    display: none;
  }

  /* Compact version of the three cases, so products stay close to the top */
  .hero-art {
    max-width: none;
    aspect-ratio: auto;
    height: 196px;
    margin-top: 6px;
  }

  .frame {
    padding: 5px;
    border-radius: 14px;
  }

  .frame img {
    border-radius: 10px;
  }

  .frame-1 {
    width: 168px;
    left: calc(50% - 84px);
    top: 2px;
  }

  .frame-2 {
    width: 124px;
    left: calc(50% - 166px);
    top: 40px;
  }

  .frame-3 {
    width: 124px;
    right: calc(50% - 166px);
    top: 40px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 18px 0 14px;
  }

  .hero h1 {
    margin-top: 0;
    font-size: 1.95rem;
  }

  .hero .lede {
    margin-top: 8px;
    font-size: 0.98rem;
  }

  .hero-ctas {
    display: none;
  }

  .hero .lede {
    display: none;
  }

  .hero-inner {
    gap: 8px;
  }

  .hero-trust {
    display: none;
  }

  .hero-partners {
    margin-top: 10px;
    gap: 8px 10px;
  }

  .hp-logo {
    height: 34px;
  }

  .hp-logo img {
    max-height: 26px;
  }

  .promo {
    gap: 10px;
    margin-bottom: 12px;
    padding: 9px 12px;
  }

  .promo-art img {
    width: 34px;
    height: 34px;
  }

  .promo-text strong {
    font-size: 0.92rem;
  }

  .promo-text small {
    font-size: 0.76rem;
  }

  .promo-go {
    display: none;
  }

  .hero-trust svg {
    width: 16px;
    height: 16px;
  }

  .cases-first {
    padding-top: 14px;
  }

  .cases-first .section-head {
    display: none;
  }

  .cases-first .gallery-tools {
    gap: 10px;
    margin-bottom: 16px;
  }

  .cases-first .search {
    order: -1;
  }
}

/* Touch screens: no hover state left stuck after a tap, quick press feedback instead */
@media (hover: none) {
  a,
  button,
  summary,
  label {
    touch-action: manipulation;
  }

  /* Below 16px mobile browsers zoom the page when a field is tapped */
  .search input,
  .search.big input,
  .field input,
  .field textarea,
  .field select {
    font-size: 16px;
  }

  .partner-dir,
  .site-footer ul a,
  .topbar-right {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .topbar-inner {
    padding-top: 0;
    padding-bottom: 0;
    min-height: 34px;
  }

  .topbar-right {
    min-height: 34px;
  }

  .faq-list summary,
  .not-found summary {
    min-height: 44px;
    align-items: center;
  }

  .chip {
    min-height: 44px;
  }

  .btn:hover,
  .line:hover,
  .partner:hover,
  .benefit:hover,
  .events li:hover,
  .wordmark:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }

  .btn:hover {
    box-shadow: none;
    background: var(--navy);
    border-color: var(--navy);
  }

  .btn-ghost:hover {
    background: var(--bg);
    border-color: var(--line);
    color: var(--text);
  }

  .btn-soft:hover {
    background: var(--blue-soft);
    border-color: var(--blue-soft);
    color: var(--blue-dark);
  }

  .btn-light:hover {
    background: #fff;
    border-color: #fff;
    color: var(--navy);
  }

  .btn-outline-light:hover {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
  }

  .line:hover,
  .partner:hover,
  .benefit:hover,
  .events li:hover {
    border-color: var(--line);
  }

  .point:hover {
    background: none;
  }

  .chip:hover {
    border-color: var(--line);
    color: var(--muted);
  }

  .chip[aria-selected="true"]:hover {
    border-color: var(--navy);
    color: #fff;
  }

  .btn:active,
  .chip:active,
  .piece:active,
  .line:active,
  .promo:active {
    transform: scale(0.98);
    transition: transform 0.1s;
  }
}

/* Phones (checked at iPhone 14 size) */
@media (max-width: 640px) {
  .search input,
  .search.big input,
  .field input,
  .field textarea,
  .field select {
    font-size: 16px;
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .instore {
    padding-bottom: 40px;
  }

  /* Elements appear at once when scrolling fast */
  .js .reveal {
    transition-delay: 0ms !important;
    transition-duration: 0.35s;
  }

  /* Comfortable tap targets */
  .btn-small,
  .header-shop {
    min-height: 44px;
  }

  .chip {
    min-height: 44px;
    padding: 8px 15px;
  }

  .chips {
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }

  .partner-dir {
    min-height: 44px;
    margin-top: 6px;
  }

  .faq-list {
    gap: 8px;
  }

  .faq-list details {
    padding: 0 16px;
  }

  .faq-list summary {
    min-height: 56px;
    padding: 12px 0;
  }

  .faq-list details p {
    margin-top: 0;
    padding-bottom: 16px;
  }

  .faq-list a,
  .apply .ticks a {
    display: inline-block;
    padding: 12px 0;
    margin: -12px 0;
  }

  .not-found {
    padding: 0 16px;
  }

  .not-found summary {
    display: flex;
    align-items: center;
    min-height: 52px;
  }

  .not-found form {
    padding-bottom: 16px;
  }

  .site-footer ul {
    gap: 0;
  }

  .site-footer ul a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  .events h3 a {
    display: block;
    padding: 12px 0;
    margin: -12px 0;
  }

  /* Readable small text */
  .placard-meta,
  .placard-meta code {
    font-size: 12.5px;
  }

  .events time small {
    font-size: 12px;
  }

  .promo-text small {
    font-size: 13px;
  }

  /* Search list stays above the keyboard */
  .combo-list {
    max-height: 42dvh;
    -webkit-overflow-scrolling: touch;
  }

  .combo-item {
    min-height: 64px;
  }

  .buy-panel {
    scroll-margin-top: 16px;
    padding: 18px;
  }

  .remove {
    width: 44px;
    height: 44px;
  }

  .buy-more {
    min-height: 44px;
    margin: 4px 0 10px;
  }

  .segmented span {
    padding: 12px 6px;
  }

  .cta-band {
    padding-bottom: 56px;
  }
}

@media (max-width: 900px) {
  /* Open menu scrolls on its own, the page behind stays put */
  .nav {
    overscroll-behavior: contain;
  }

  .nav-backdrop {
    touch-action: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
