:root {
  --bg-900: #071a2f;
  --bg-850: #09223a;
  --bg-800: #0d2742;
  --panel: rgba(8, 30, 50, 0.78);
  --panel-strong: rgba(7, 25, 42, 0.92);
  --line: rgba(125, 227, 255, 0.18);
  --line-strong: rgba(125, 227, 255, 0.28);
  --cyan: #7de3ff;
  --aqua: #43b6e8;
  --gold: #ffd27f;
  --coral: #ff745a;
  --text: #f4f8ff;
  --muted: #9ab7cf;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(67, 182, 232, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 116, 90, 0.12), transparent 24%),
    linear-gradient(180deg, #041222 0%, #081e34 40%, #071a2f 100%);
}

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

button,
a {
  color: inherit;
}

button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.page-shell {
  width: min(1360px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 56px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px 18px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px);
  background: rgba(4, 18, 34, 0.7);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img,
.story-card img {
  border-radius: 50%;
  border: 2px solid rgba(255, 210, 127, 0.72);
  box-shadow: 0 0 0 3px rgba(125, 227, 255, 0.12);
}

.brand img {
  width: 54px;
  height: 54px;
}

.brand-kicker,
.eyebrow,
.standards-grid span,
.story-notes span,
.bundle-chip,
.hero-card span,
.site-footer p:first-child,
.lane-card strong {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  font-size: 0.72rem;
}

.brand strong {
  display: block;
  font-family: "Fraunces", "Noto Serif SC", serif;
  font-size: 1.3rem;
  line-height: 1.05;
}

.top-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.top-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--text);
}

.glass-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(10, 32, 54, 0.88), rgba(7, 25, 42, 0.82));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.cart-toggle,
.button,
.filter-chip,
.product-card,
.product-card footer button,
.qty-controls button {
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.cart-toggle:hover,
.cart-toggle:focus-visible,
.button:hover,
.button:focus-visible,
.filter-chip:hover,
.filter-chip:focus-visible,
.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-2px);
}

.cart-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text);
  background: linear-gradient(135deg, rgba(255, 116, 90, 0.94), rgba(255, 210, 127, 0.92));
  box-shadow: 0 18px 30px rgba(255, 116, 90, 0.28);
}

.cart-toggle span {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  background: rgba(7, 26, 47, 0.82);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.button-primary {
  color: #071a2f;
  background: linear-gradient(135deg, var(--gold), #ffb15f);
  box-shadow: 0 16px 28px rgba(255, 210, 127, 0.22);
}

.button-secondary {
  color: var(--text);
  background: rgba(125, 227, 255, 0.1);
  border: 1px solid rgba(125, 227, 255, 0.26);
}

.hero,
.catalog-section,
.bundle-section,
.ops-section,
.story-section {
  display: grid;
  gap: 28px;
}

.hero {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: stretch;
}

.hero-copy,
.catalog-sidebar,
.bundle-copy,
.story-card {
  padding: 40px;
}

.hero-copy h1,
.lane-card h2,
.section-heading h2,
.catalog-sidebar h2,
.bundle-copy h2,
.story-card h2,
.cart-header h2 {
  margin: 10px 0 16px;
  font-family: "Fraunces", "Noto Serif SC", serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(3.1rem, 7vw, 5rem);
  line-height: 0.96;
}

.hero-copy p,
.lane-card p,
.section-heading p,
.catalog-sidebar p,
.bundle-copy p,
.standards-grid p,
.story-card p,
.story-notes p,
.cart-note,
.hero-card p,
.receipt-preview {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions,
.hero-metrics,
.bundle-cta,
.spotlight-meta,
.subtotal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.hero-metrics li,
.lane-card,
.standards-grid article,
.story-notes article {
  padding: 18px;
  border: 1px solid rgba(125, 227, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
}

.hero-metrics strong {
  display: block;
  font-size: 1.15rem;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  padding: 22px;
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  min-height: 536px;
  object-fit: cover;
  border-radius: 26px;
}

.hero-card {
  position: absolute;
  left: 40px;
  bottom: 36px;
  width: min(320px, calc(100% - 80px));
  padding: 20px 22px;
  border: 1px solid rgba(125, 227, 255, 0.22);
  border-radius: 24px;
  background: rgba(5, 21, 37, 0.84);
  backdrop-filter: blur(16px);
}

.hero-card strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 1.2rem;
}

.lane-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.lane-card h2 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.catalog-section {
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  margin-top: 32px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 108px;
}

.spotlight-media {
  margin: 24px 0 18px;
  padding: 18px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top, rgba(125, 227, 255, 0.18), transparent 48%),
    rgba(255, 255, 255, 0.02);
}

.spotlight-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.spotlight-specs {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.spotlight-specs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid rgba(125, 227, 255, 0.14);
}

.spotlight-specs dt {
  color: var(--muted);
}

.spotlight-specs dd {
  margin: 0;
  text-align: right;
}

.spotlight-meta {
  justify-content: space-between;
  margin-bottom: 22px;
}

.spotlight-meta strong,
.bundle-cta strong {
  font-size: 1.8rem;
  font-family: "Fraunces", "Noto Serif SC", serif;
}

.catalog-main {
  display: grid;
  gap: 18px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.8fr);
  gap: 20px;
  align-items: end;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

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

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(125, 227, 255, 0.18);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.filter-chip strong {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-sm);
  background: rgba(7, 25, 42, 0.8);
  color: var(--cyan);
  font-size: 0.76rem;
}

.filter-chip.is-active {
  color: #071a2f;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(125, 227, 255, 0.2);
}

.filter-chip.is-active strong {
  background: rgba(7, 25, 42, 0.18);
  color: #071a2f;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(125, 227, 255, 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(8, 29, 49, 0.86), rgba(7, 24, 40, 0.95));
  box-shadow: var(--shadow);
  cursor: pointer;
}

.product-card.is-featured {
  border-color: rgba(255, 210, 127, 0.46);
  box-shadow: 0 26px 60px rgba(255, 210, 127, 0.14);
}

.product-card > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.03);
}

.product-card-body {
  padding: 20px 20px 16px;
}

.product-card header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 0 10px;
}

.product-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.product-spec {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.category-pill,
.stock-pill {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
}

.category-pill {
  padding: 7px 12px;
  background: rgba(125, 227, 255, 0.1);
  color: var(--cyan);
  font-size: 0.82rem;
}

.product-price {
  white-space: nowrap;
  font-size: 1.15rem;
  color: var(--gold);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.stock-pill {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.76rem;
}

.product-card footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 20px 20px;
}

.product-card footer button,
.qty-controls button,
.cart-close {
  border: 1px solid rgba(125, 227, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.product-card footer button {
  padding: 12px 14px;
}

.product-card footer button:last-child {
  background: linear-gradient(135deg, rgba(255, 116, 90, 0.92), rgba(255, 210, 127, 0.92));
  color: #071a2f;
  border-color: transparent;
}

.bundle-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  margin-top: 32px;
}

.bundle-list {
  padding-left: 18px;
  line-height: 1.9;
}

.bundle-visual {
  position: relative;
  overflow: hidden;
  min-height: 330px;
}

.bundle-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.bundle-chip {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 10px 14px;
  border: 1px solid rgba(125, 227, 255, 0.24);
  border-radius: var(--radius-sm);
  background: rgba(5, 21, 37, 0.8);
}

.standards-section {
  margin-top: 32px;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.ops-section {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  margin-top: 32px;
}

.ops-lede {
  padding: 36px 40px;
}

.ops-list {
  margin: 24px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.85;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ops-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.ops-card code,
.store-link {
  display: inline-flex;
  width: 100%;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(125, 227, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.story-section {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  margin-top: 32px;
}

.story-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.story-card img {
  width: 120px;
  height: 120px;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 0 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(440px, 100%);
  height: 100vh;
  padding: 28px 22px 22px;
  border-left: 1px solid rgba(125, 227, 255, 0.18);
  background: rgba(5, 18, 31, 0.96);
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.3);
  transform: translateX(104%);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-scrim {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.42);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(125, 227, 255, 0.14);
}

.cart-close {
  width: 42px;
  height: 42px;
  font-size: 1.4rem;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px 0;
  overflow-y: auto;
}

.cart-empty,
.cart-item,
.receipt-preview {
  border-radius: 22px;
  border: 1px solid rgba(125, 227, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.cart-empty {
  padding: 18px;
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
}

.cart-item img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 18px;
}

.cart-item-main {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.cart-item-main h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.cart-item-main span {
  color: var(--muted);
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button {
  width: 30px;
  height: 30px;
}

.cart-footer {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(125, 227, 255, 0.14);
}

.subtotal-row {
  justify-content: space-between;
}

.subtotal-row strong {
  font-size: 1.35rem;
}

.checkout-button {
  width: 100%;
}

.receipt-preview {
  margin: 0;
  padding: 14px 16px;
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  white-space: pre-wrap;
}

@media (max-width: 1180px) {
  .hero,
  .catalog-section,
  .bundle-section,
  .ops-section,
  .story-section {
    grid-template-columns: 1fr;
  }

  .lane-section,
  .standards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-sidebar {
    position: static;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .story-notes {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .page-shell {
    width: min(100%, calc(100% - 20px));
    padding-top: 12px;
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .top-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero-copy,
  .catalog-sidebar,
  .bundle-copy,
  .ops-lede,
  .story-card {
    padding: 28px;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual > img {
    min-height: 420px;
  }

  .hero-card {
    left: 20px;
    right: 20px;
    bottom: 20px;
    width: auto;
  }

  .hero-metrics,
  .lane-section,
  .standards-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .story-card {
    grid-template-columns: 1fr;
  }

  .story-card img {
    width: 96px;
    height: 96px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: calc(100% - 16px);
  }

  .hero-copy h1 {
    font-size: 2.6rem;
  }

  .brand strong {
    font-size: 1.1rem;
  }

  .product-card header,
  .cart-item-main,
  .spotlight-specs div,
  .spotlight-meta {
    grid-template-columns: 1fr;
    display: grid;
  }

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

  .cart-drawer {
    width: 100%;
    padding: 22px 16px 16px;
  }
}
