:root {
  color-scheme: dark;
  --background: #060807;
  --surface: #121514;
  --border: #2c302f;
  --text: #f7f7f5;
  --muted: #929594;
  --gold: #f6b916;
  --header-height: 104px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 1024px;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
}

.site-header {
  width: 100%;
  min-height: var(--header-height);
  background:
    radial-gradient(circle at 12% -80%, rgba(246, 185, 22, 0.07), transparent 38%),
    rgba(4, 7, 6, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
}

.header-inner {
  width: min(100% - 48px, 1540px);
  min-height: var(--header-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px minmax(500px, 1fr) minmax(390px, 470px);
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  width: 220px;
  height: 62px;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  object-fit: cover;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  color: #f5f5f3;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -1.8px;
  line-height: 1;
  white-space: nowrap;
}

.brand-wordmark strong {
  color: var(--gold);
  font: inherit;
}

.main-nav {
  height: var(--header-height);
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(28px, 3vw, 54px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #f0f0ed;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

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

.search {
  width: min(330px, 24vw);
  height: 48px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search:focus-within {
  border-color: rgba(246, 185, 22, 0.68);
  box-shadow: 0 0 0 3px rgba(246, 185, 22, 0.1);
}

.search svg,
.icon-button svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.search svg {
  width: 22px;
  flex: 0 0 22px;
  color: #d9dcdb;
}

.search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  background: transparent;
  border: 0;
  outline: 0;
}

.search input::placeholder {
  color: var(--muted);
}

.icon-button {
  position: relative;
  display: grid;
  width: 34px;
  height: 44px;
  place-items: center;
  color: #f3f4f2;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  color: var(--gold);
  transform: translateY(-1px);
}

.icon-button svg {
  width: 29px;
  height: 29px;
}

.cart-button {
  margin-left: 3px;
}

.cart-count {
  position: absolute;
  top: 1px;
  right: -8px;
  display: grid;
  min-width: 23px;
  height: 23px;
  padding: 0 6px;
  place-items: center;
  color: #14130e;
  background: var(--gold);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 0 0 3px var(--background);
}

main {
  min-height: calc(100vh - var(--header-height));
}

.hero {
  position: relative;
  height: calc(100vh - var(--header-height));
  min-height: 600px;
  max-height: 720px;
  isolation: isolate;
  overflow: hidden;
  background-color: #050706;
  background-image:
    linear-gradient(90deg, rgba(3, 5, 4, 0.38) 0%, rgba(3, 5, 4, 0.04) 51%, rgba(3, 5, 4, 0.06) 100%),
    image-set(
      url("https://ovugmysxygqhcexzaacp.supabase.co/storage/v1/object/public/brand-assets/hero/hero-cases-1600.webp") 1x,
      url("https://ovugmysxygqhcexzaacp.supabase.co/storage/v1/object/public/brand-assets/hero/hero-cases-2560.webp") 2x
    );
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.58) 100%);
}

.hero-content {
  width: min(100% - 96px, 1440px);
  margin: 0 auto;
  padding-top: 76px;
}

.hero-eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 4.6vw, 72px);
  font-weight: 700;
  letter-spacing: -3.8px;
  line-height: 0.96;
  text-wrap: balance;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.5);
}

.hero-description {
  max-width: 510px;
  margin: 22px 0 27px;
  color: #d0d2cf;
  font-size: 17px;
  line-height: 1.5;
}

.hero-cta {
  display: inline-flex;
  min-width: 174px;
  height: 51px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 25px;
  color: #151308;
  background: linear-gradient(135deg, #ffc83d, #f0a70e);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(246, 185, 22, 0.2);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(246, 185, 22, 0.33);
}

.hero-cta svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-features {
  display: flex;
  gap: 39px;
  margin-top: 48px;
}

.hero-feature,
.trust-item {
  display: flex;
  align-items: center;
  gap: 13px;
}

.hero-feature svg,
.trust-item svg {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.hero-feature svg {
  width: 31px;
  height: 31px;
  color: #fff;
}

.hero-feature div,
.trust-item div {
  display: grid;
  gap: 4px;
}

.hero-feature strong,
.trust-item strong {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.hero-feature span,
.trust-item span {
  color: #aeb1ae;
  font-size: 10px;
}

.hero-side-note {
  position: absolute;
  top: 165px;
  right: max(44px, calc((100% - 1440px) / 2));
  margin: 0;
  color: #d7d8d5;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  line-height: 1.65;
  text-transform: uppercase;
}

.hero-side-note span {
  display: block;
  width: 35px;
  height: 2px;
  margin-top: 13px;
  background: var(--gold);
}

.trust-bar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 92px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  padding: 0 max(48px, calc((100% - 1440px) / 2));
  background: rgba(8, 11, 10, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.trust-item {
  min-height: 44px;
  padding-left: 55px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.trust-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.trust-item svg {
  width: 30px;
  height: 30px;
  color: #f6c21f;
}

.featured-products {
  padding: 58px max(48px, calc((100% - 1440px) / 2)) 76px;
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 185, 22, 0.04), transparent 38%),
    #060807;
}

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

.section-heading h2 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  letter-spacing: -1.2px;
}

.section-heading a {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.section-heading a span {
  display: inline-block;
  margin-left: 6px;
  transition: transform 160ms ease;
}

.section-heading a:hover span {
  transform: translateX(4px);
}

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

.product-card {
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #111412, #0b0e0c);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  border-color: rgba(246, 185, 22, 0.42);
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.32);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #1a1e1b, #080a09 68%);
}

.product-image-wrap::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(5, 7, 6, 0.35));
  pointer-events: none;
}

.product-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 240ms ease;
}

.product-card:hover .product-image {
  transform: scale(1.035);
}

.product-body {
  padding: 13px 13px 12px;
}

.product-category {
  margin: 0 0 5px;
  color: #8f938f;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.product-name {
  min-height: 32px;
  margin: 0;
  color: #f1f2f0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.product-price {
  display: block;
  margin: 8px 0 11px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.product-button {
  width: 100%;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #f7f7f4;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.product-button:hover,
.product-button:focus-visible {
  color: #111308;
  background: var(--gold);
  border-color: var(--gold);
}

.product-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.products-status {
  grid-column: 1 / -1;
  min-height: 240px;
  display: grid;
  place-items: center;
  color: #999d99;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  border-radius: 8px;
}

.brand-values {
  background: #080b09;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-values-inner {
  width: min(100% - 64px, 1440px);
  min-height: 112px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 180px;
  align-items: center;
}

.brand-value {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.brand-value:first-child {
  padding-left: 0;
  border-left: 0;
}

.brand-value svg {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  fill: none;
  stroke: #f5f6f3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.brand-value div {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.brand-value strong {
  color: #f2f3f0;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.brand-value span {
  color: #a3a7a3;
  font-size: 9px;
  white-space: nowrap;
}

.rating-stars {
  color: var(--gold) !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 2px;
}

.rating-stars em {
  margin-left: 7px;
  color: #c9ccc8;
  font-size: 9px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
}

.brand-signature {
  justify-self: end;
  margin: 0;
  color: #e4e5e1;
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: 15px;
  font-style: italic;
  line-height: 1.05;
  transform: rotate(-6deg);
}

.brand-signature strong {
  color: #fff;
  font-weight: 600;
}

@media (max-width: 1240px) {
  .hero-content {
    width: calc(100% - 64px);
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero-description {
    max-width: 430px;
  }

  .hero-features {
    gap: 24px;
  }

  .hero-side-note {
    right: 30px;
  }

  .trust-bar {
    padding: 0 32px;
  }

  .trust-item {
    padding-left: 30px;
  }

  .featured-products {
    padding-right: 32px;
    padding-left: 32px;
  }

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

  .brand-values-inner {
    width: calc(100% - 48px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .brand-value {
    padding: 0 18px;
  }

  .brand-value strong,
  .brand-value span {
    white-space: normal;
  }

  .brand-signature {
    display: none;
  }
}

@media (max-width: 1240px) {
  .header-inner {
    grid-template-columns: 190px minmax(470px, 1fr) minmax(300px, 360px);
    gap: 18px;
  }

  .brand {
    width: 175px;
  }

  .brand img {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .brand-wordmark {
    font-size: 24px;
  }

  .main-nav {
    gap: 25px;
  }
}
