:root {
  --navy-950: #081420;
  --navy-900: #0c1a2e;
  --navy-800: #132a47;
  --blue-700: #1a5fb4;
  --blue-600: #2270cc;
  --blue-100: #dce8f5;
  --surface: #f2f6fb;
  --surface-2: #e6edf6;
  --surface-card: #f8fafd;
  --ink: #0c1a2e;
  --ink-muted: #5a6d82;
  --line: #c5d3e3;
  --white: #ffffff;
  --max-width: 1120px;
  --header-height: 72px;
  --radius-btn: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
}

::selection {
  background: rgba(34, 112, 204, 0.28);
  color: var(--ink);
}

::-moz-selection {
  background: rgba(34, 112, 204, 0.28);
  color: var(--ink);
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue-600);
}

h1,
h2,
h3 {
  font-family: inherit;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p,
li,
dd {
  max-width: 68ch;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy-900);
  color: var(--white);
  border-bottom: 1px solid var(--navy-800);
}

.site-header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-circle {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
}

.logo-circle--sm {
  width: 44px;
  height: 44px;
}

.logo-circle--lg {
  width: 132px;
  height: 132px;
  border-width: 2px;
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
}

.brand__name {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.brand__tag {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-100);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand__text {
  display: grid;
  gap: 0.1rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--navy-800);
  background: var(--navy-950);
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.cart-link:hover {
  color: var(--white);
  transform: translateY(-2px);
  background: var(--navy-800);
  border-color: #4a6a8f;
}

.cart-link__count {
  min-width: 1.35rem;
  height: 1.35rem;
  display: inline-grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--blue-600);
  color: var(--white);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--navy-800);
  background: var(--navy-950);
  color: inherit;
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-weight: 400;
  border-radius: var(--radius-btn);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-toggle:hover {
  transform: translateY(-2px);
  background: var(--navy-800);
}

.hero {
  background: var(--navy-900);
  color: var(--white);
  border-bottom: 1px solid var(--navy-800);
}

.hero__inner {
  display: grid;
  gap: 1.25rem;
  padding-block: 2rem;
}

.hero__top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: center;
}

.hero__logo.logo-circle--lg {
  width: 88px;
  height: 88px;
}

.hero__headline {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0055ff;
}

.hero__headline .eyebrow {
  color: #ffffff;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  max-width: none;
  line-height: 1.2;
}

.hero__lead {
  margin: 0;
  color: #c8d8ea;
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.promo-ticker {
  background: var(--blue-600);
  color: var(--white);
  overflow: hidden;
  border-bottom: 1px solid var(--navy-800);
}

.promo-ticker__track {
  display: flex;
  width: max-content;
  animation: promo-scroll 22s linear infinite;
}

.promo-ticker__track span {
  flex-shrink: 0;
  padding: 0.6rem 2rem;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes promo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-ticker__track {
    animation: none;
    width: 100%;
    justify-content: center;
  }

  .promo-ticker__track span:not(:first-child) {
    display: none;
  }
}

.section {
  padding-block: 3rem;
}

.section__header {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.section__header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section__header p {
  margin: 0;
  color: var(--ink-muted);
}

.product-grid {
  display: grid;
  gap: 1.25rem;
}

.product-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.product-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #f5f8fc, #edf3fb);
  border-radius: 18px;
  padding: 0;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: none;
}

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

.product-card__title a {
  text-decoration: none;
}

.product-card__summary {
  margin: 0.5rem 0 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.product-card__pricing,
.product-detail__pricing {
  margin-top: 0.75rem;
}

.product-card__pricing__price,
.product-detail__pricing__price,
.product-card__price,
.product-detail__price {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--blue-700);
}

.product-card__pricing__note,
.product-detail__pricing__note {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ink-muted);
  line-height: 1.45;
}

.product-card__actions,
.product-detail__actions,
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.qty-stepper__control {
  display: flex;
  align-items: stretch;
  width: 4.5rem;
  height: 2.65rem;
  border: 1px solid var(--line);
  background: var(--surface-card);
  border-radius: var(--radius-btn);
  overflow: hidden;
}

.product-bulk-note {
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.product-bulk-note a {
  color: var(--blue-700);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 95, 180, 0.3);
}

.product-bulk-note a:hover {
  color: var(--blue-600);
  border-bottom-color: var(--blue-600);
}

.qty-stepper__control input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  text-align: center;
  padding: 0 0.15rem;
  font: inherit;
  font-size: 0.92rem;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty-stepper__control input::-webkit-outer-spin-button,
.qty-stepper__control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-stepper__buttons {
  display: flex;
  flex-direction: column;
  width: 1.4rem;
  flex-shrink: 0;
  border-left: 1px solid var(--line);
}

.qty-stepper__btn {
  flex: 1;
  border: 0;
  background: var(--surface-2);
  padding: 0;
  font-size: 0.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-muted);
}

.qty-stepper__btn + .qty-stepper__btn {
  border-top: 1px solid var(--line);
}

.qty-stepper__btn:hover {
  color: var(--blue-700);
  background: var(--blue-100);
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  padding: 0.72rem 1rem;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
}

.btn-primary:hover {
  color: var(--white);
  background: var(--blue-700);
  box-shadow: 0 4px 14px rgba(34, 112, 204, 0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-800);
}

.btn-secondary:hover {
  color: var(--navy-900);
  background: var(--surface-2);
  box-shadow: 0 4px 14px rgba(12, 26, 46, 0.08);
}

.hero .btn-secondary {
  color: var(--white);
  border-color: #4a6a8f;
}

.hero .btn-secondary:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: #6b88ab;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.about-band {
  background: var(--surface-2);
  border-block: 1px solid var(--line);
}

.about-band__grid {
  display: grid;
  gap: 2rem;
}

.about-band__content {
  max-width: none;
}

.about-highlights {
  padding-top: 0.35rem;
}

.about-highlights__eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-700);
}

.about-highlights__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.about-highlights__list li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.about-highlights__list li:last-child {
  border-bottom: 1px solid var(--line);
}

.about-highlights__index {
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--blue-600);
  opacity: 0.5;
  padding-top: 0.15rem;
}

.about-highlights__text {
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
}

.about-highlights__text a {
  color: var(--blue-700);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 95, 180, 0.35);
}

.about-highlights__text a:hover {
  color: var(--blue-600);
  border-bottom-color: var(--blue-600);
}

.about-band h2 {
  margin: 0 0 1rem;
}

.about-band h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 500;
}

.about-band p {
  margin: 0;
  color: var(--ink-muted);
}

.about-band p + p {
  margin-top: 1rem;
}

.about-band__lead {
  font-size: 1.08rem;
  color: var(--ink);
}

.about-band__lead strong,
.about-band p strong {
  color: var(--ink);
  font-weight: 500;
}

.about-tagline {
  color: var(--blue-700);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.product-detail {
  display: grid;
  gap: 2rem;
  padding-block: 2rem;
}

.product-detail__gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #f5f8fc, #edf3fb);
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.product-detail__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: none;
}

.product-detail__info h1 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.product-detail__summary {
  color: var(--ink-muted);
}

.product-detail__pricing {
  margin: 1rem 0;
}

.product-detail__pricing__price {
  font-size: 1.2rem;
}

.product-specs {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.product-specs h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.product-specs ul {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
}

.product-specs dl {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.product-specs dt {
  font-weight: 500;
}

.product-specs dd {
  margin: 0.2rem 0 0;
  color: var(--ink-muted);
}

.cart-page {
  padding-block: 2rem 3rem;
}

.cart-page h1 {
  margin: 0 0 1.5rem;
}

.cart-list {
  display: grid;
  gap: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--surface-card);
}

.cart-item img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.cart-item h2 {
  margin: 0;
  font-size: 1rem;
}

.cart-item p {
  margin: 0.35rem 0 0;
}

.cart-item__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
}

.cart-item__controls input {
  width: 4.5rem;
  margin-left: 0.35rem;
  padding: 0.35rem 0.45rem;
  border: 1px solid var(--line);
  background: var(--white);
  font: inherit;
}

.text-button {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--blue-600);
  text-decoration: underline;
  cursor: pointer;
}

.cart-panel {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--surface-2);
  display: grid;
  gap: 0.75rem;
}

.cart-notice {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  padding: 0.8rem 1rem;
  background: var(--navy-900);
  color: var(--white);
  border: 1px solid var(--navy-800);
  z-index: 30;
  font-weight: 400;
}

.empty-state {
  padding-block: 3rem;
}

.empty-state h1 {
  margin-top: 0;
}

.legal-page {
  padding-block: 2.5rem 3rem;
}

.legal-page h1 {
  margin-top: 0;
}

.legal-page h2 {
  margin-top: 2rem;
  font-size: 1.15rem;
}

.site-footer {
  background: var(--navy-900);
  color: #c8d8ea;
  border-top: 1px solid var(--navy-800);
  padding-block: 2rem;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer__grid {
  display: grid;
  gap: 1.5rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.site-footer small {
  color: #8fa3ba;
}

@media (min-width: 700px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__inner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    align-items: start;
    column-gap: 1.5rem;
    row-gap: 0.85rem;
    padding-block: 3rem;
  }

  .hero__top {
    display: contents;
  }

  .hero__logo.logo-circle--lg {
    width: 132px;
    height: 132px;
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: center;
  }

  .hero__headline {
    grid-column: 2;
    grid-row: 1;
  }

  .hero h1 {
    max-width: 16ch;
  }

  .hero__lead {
    grid-column: 2;
    grid-row: 2;
  }

  .hero__actions {
    grid-column: 2;
    grid-row: 3;
  }

  .about-band__grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    gap: 2.5rem;
  }

  .about-highlights {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
  }

  .product-detail {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .site-footer__grid {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

@media (min-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-card:nth-child(4),
  .product-card:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--navy-900);
    border-bottom: 1px solid var(--navy-800);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .cart-link {
    width: 100%;
    justify-content: center;
  }

  .site-header__inner {
    position: relative;
  }
}

.cart-item__subtotal {
  margin-top: 0.35rem;
  font-weight: 500;
  color: var(--ink);
}

.cart-panel__total {
  margin: 0;
  font-size: 1.05rem;
}

body.checkout-open {
  overflow: hidden;
}

.checkout-modal[hidden] {
  display: none;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.checkout-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 32, 0.55);
}

.checkout-modal__dialog {
  position: relative;
  width: min(100%, 34rem);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.checkout-modal__dialog h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.checkout-modal__intro {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.checkout-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: 0;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink-muted);
  cursor: pointer;
}

.checkout-summary {
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--surface-card);
  border: 1px solid var(--line);
}

.checkout-summary h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.checkout-summary__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.checkout-summary__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.checkout-summary__list strong {
  color: var(--ink);
  font-weight: 500;
}

.checkout-summary__total {
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}

.checkout-form {
  display: grid;
  gap: 0.9rem;
}

.checkout-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink);
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--surface-card);
  font: inherit;
}

.checkout-payment {
  margin: 0;
  padding: 0;
  border: 0;
}

.checkout-payment legend {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.checkout-payment__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.checkout-payment__option input {
  width: auto;
}

.checkout-form__error {
  margin: 0;
  color: #9b1c1c;
  font-size: 0.9rem;
}

.checkout-form__submit {
  width: 100%;
  margin-top: 0.25rem;
}
