:root {
  --ink: #17141d;
  --muted: #665f72;
  --surface: #ffffff;
  --soft: #f6f2ea;
  --royal: #4b116c;
  --plum: #2b083f;
  --gold: #dca92f;
  --coral: #e7503f;
  --teal: #147b78;
  --line: rgba(23, 20, 29, 0.14);
  --shadow: 0 24px 70px rgba(43, 8, 63, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.netlify-hidden {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 14px 34px rgba(23, 20, 29, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand > span:last-child {
  min-width: 0;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.mobile-brand-break {
  display: none;
}

.site-nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a,
.nav-cta,
.button,
.product-card a {
  text-decoration: none;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

.nav-cta,
.button-primary {
  background: var(--gold);
  color: #1d1505;
  box-shadow: 0 14px 32px rgba(220, 169, 47, 0.24);
}

.button-secondary {
  background: #ffffff;
  color: var(--plum);
  border: 1px solid rgba(75, 17, 108, 0.22);
}

.hero {
  position: relative;
  display: grid;
  aspect-ratio: 1672 / 941;
  min-height: auto;
  margin-bottom: clamp(58px, 9vw, 128px);
  overflow: visible;
  background: #fffaf1;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-banner {
  width: 100%;
  height: 100%;
  background-image: url("assets/hero-background-final.png");
  background-position: center top;
  background-size: contain;
  background-repeat: no-repeat;
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(710px, calc(100% - 36px));
  align-self: center;
  margin-left: clamp(18px, 7vw, 94px);
  padding: 32px 0 clamp(130px, 13vw, 190px);
  color: var(--ink);
  transform: translateY(22px);
  display: none;
}

.hero-promo-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: auto;
  padding: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  transform: translateY(100%);
}

.hero-promo-strip img {
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

.promo-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(118px, 1fr)) minmax(260px, 1.35fr);
  gap: clamp(10px, 1.4vw, 22px);
  align-items: center;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.promo-item,
.promo-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 72px;
  color: #ffffff;
  text-decoration: none;
}

.promo-item {
  border-right: 1px solid rgba(220, 169, 47, 0.42);
}

.promo-icon,
.promo-cart {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(145deg, #f7d76c, #c78310);
  color: #2b083f;
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 10px 22px rgba(0, 0, 0, 0.24);
}

.promo-icon svg,
.promo-cart svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.promo-crown svg {
  fill: rgba(43, 8, 63, 0.12);
}

.promo-item strong,
.promo-item small,
.promo-cta strong,
.promo-cta small {
  display: block;
  line-height: 1.15;
  text-transform: uppercase;
}

.promo-item strong,
.promo-cta strong {
  font-size: clamp(0.84rem, 1vw, 1rem);
  font-weight: 900;
}

.promo-item small,
.promo-cta small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.68rem, 0.78vw, 0.78rem);
  font-weight: 800;
}

.promo-cta {
  min-height: 78px;
  padding: 10px 16px;
  border: 2px solid rgba(220, 169, 47, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent),
    rgba(25, 2, 35, 0.38);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 28px rgba(0, 0, 0, 0.2);
}

.promo-cta small {
  color: #f7d76c;
  text-transform: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.08;
}

h1 {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 4.5vw, 4.05rem);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  line-height: 1.18;
}

.hero-copy {
  max-width: 680px;
  color: #2c2632;
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.55;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-proof {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-proof span {
  padding: 10px 12px;
  border: 1px solid rgba(75, 17, 108, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--plum);
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(43, 8, 63, 0.08);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.quick-links a {
  min-height: 148px;
  padding: 28px;
  border-right: 1px solid var(--line);
  text-decoration: none;
}

.quick-links span,
.category,
.hot-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-links strong,
.hot-card strong {
  display: block;
  line-height: 1.35;
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 34px;
}

.section-heading p,
.feature-card p,
.blog-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(360px, 40vw, 618px);
  gap: clamp(20px, 2vw, 30px);
  align-items: start;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.blog-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(360px, 40vw, 618px);
  gap: clamp(20px, 2vw, 30px);
  align-items: start;
}

.blog-article,
.blog-preview {
  min-width: 0;
}

.feature .feature-grid {
  align-items: start;
}

.feature-card,
.blog-card,
.blog-aside {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card,
.blog-card {
  padding: clamp(28px, 3.2vw, 42px);
}

.feature-article {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-bottom: clamp(20px, 2vw, 28px);
}

.feature-article h4 {
  margin: 26px 0 12px;
  color: var(--plum);
  font-size: 1.06rem;
  line-height: 1.25;
}

.blog-article h4 {
  margin: 24px 0 12px;
  color: var(--plum);
  font-size: 1.08rem;
  line-height: 1.3;
}

.feature-article a:not(.button) {
  color: var(--royal);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.blog-article a:not(.button) {
  color: var(--royal);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.feature-article p:last-of-type {
  margin-bottom: 0;
}

.feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  padding-top: 0;
}

.article-open,
.button-share {
  border: 1px solid rgba(75, 17, 108, 0.22);
  cursor: pointer;
  font: inherit;
}

.button-share {
  background: #ffffff;
  color: var(--plum);
}

.feature-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding-left: 20px;
  color: var(--ink);
  line-height: 1.45;
  font-weight: 700;
}

.tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(20, 123, 120, 0.12);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.banner-preview {
  display: grid;
  align-items: center;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  background: #1d1322;
  box-shadow: var(--shadow);
}

.banner-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-preview {
  position: relative;
  align-self: start;
  align-items: start;
  justify-items: center;
  min-height: 0;
  width: 100%;
  max-width: 566px;
  padding: 8px;
  background: #06122d;
}

.product-preview-link {
  display: block;
  width: 100%;
  height: auto;
  line-height: 0;
}

.product-preview img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  padding: 0;
  border-radius: 6px;
}

.blog-preview {
  align-self: start;
  align-items: start;
  justify-items: center;
  min-height: 0;
  width: 100%;
  max-width: 566px;
  padding: 8px;
  background: #130d08;
}

.blog-preview-link {
  display: block;
  width: 100%;
  height: auto;
  line-height: 0;
}

.blog-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
  object-position: center top;
}

.article-modal {
  width: min(980px, calc(100% - 32px));
  max-height: min(86vh, 920px);
  max-height: min(86dvh, 920px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(23, 20, 29, 0.34);
}

.article-modal::backdrop {
  background: rgba(23, 20, 29, 0.62);
  backdrop-filter: blur(4px);
}

.article-modal-shell {
  display: grid;
  max-height: min(86vh, 920px);
  max-height: min(86dvh, 920px);
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.article-modal-header,
.article-modal-footer {
  padding: 24px clamp(20px, 4vw, 38px);
  background: #ffffff;
}

.article-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.article-modal-header h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.modal-close {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.article-modal-body {
  overflow: auto;
  padding: 28px clamp(20px, 4vw, 38px);
}

.article-modal-body h3 {
  margin-top: 30px;
  color: var(--plum);
  font-size: 1.45rem;
}

.article-modal-body p,
.article-modal-body li {
  color: var(--muted);
  line-height: 1.75;
}

.article-modal-body a {
  color: var(--royal);
  font-weight: 900;
}

.article-modal-body ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.article-modal-footer {
  border-top: 1px solid var(--line);
}

.newsletter-modal {
  width: min(560px, calc(100% - 32px));
  max-height: min(88vh, 920px);
  max-height: min(88dvh, 920px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #ffffff;
}

.newsletter-modal::backdrop {
  background: rgba(23, 20, 29, 0.66);
  backdrop-filter: blur(5px);
}

.newsletter-frame {
  position: relative;
  overflow-y: auto;
  max-height: min(88vh, 920px);
  max-height: min(88dvh, 920px);
  padding: clamp(28px, 4vw, 42px);
  border: 2px solid rgba(220, 169, 47, 0.84);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%),
    radial-gradient(circle at 50% 0%, rgba(220, 169, 47, 0.22), transparent 34%),
    linear-gradient(145deg, #21052d 0%, #090f26 58%, #180323 100%);
  box-shadow: 0 32px 90px rgba(7, 5, 18, 0.46);
}

.newsletter-frame::before,
.newsletter-frame::after {
  position: absolute;
  right: 18px;
  left: 18px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, #f7d76c, #b97718, transparent);
}

.newsletter-frame::before {
  top: 14px;
}

.newsletter-frame::after {
  bottom: 14px;
}

.newsletter-close {
  position: sticky;
  top: 18px;
  z-index: 2;
  margin-left: auto;
  margin-bottom: -42px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.newsletter-top-image {
  display: grid;
  place-items: center;
  max-width: calc(100% - 58px);
  margin: 0 auto 18px;
}

.newsletter-top-image img {
  display: block;
  width: clamp(132px, 32vw, 188px);
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.28));
}

.newsletter-frame .eyebrow {
  color: #f7d76c;
}

.newsletter-frame h2 {
  max-width: 460px;
  margin-bottom: 14px;
  font-size: clamp(1.85rem, 5vw, 3.05rem);
}

.newsletter-copy,
.newsletter-note {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.newsletter-form {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.newsletter-form label {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
  font-weight: 900;
}

.newsletter-form input,
.newsletter-field input {
  min-height: 48px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
}

.newsletter-form .button {
  width: 100%;
  margin-top: 4px;
}

.newsletter-field input:focus {
  outline: 3px solid rgba(247, 215, 108, 0.36);
  outline-offset: 2px;
}

.newsletter-form input:focus {
  outline: 3px solid rgba(247, 215, 108, 0.36);
  outline-offset: 2px;
}

.newsletter-note {
  margin: 14px 0 0;
  font-size: 0.88rem;
}

.gift-confirmation {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.gift-confirmation[hidden] {
  display: none;
}

.shop-section {
  background: #ffffff;
}

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

.product-card,
.hot-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 18px;
}

.product-card:hover,
.hot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(220, 169, 47, 0.7);
  box-shadow: 0 18px 42px rgba(23, 20, 29, 0.12);
}

.product-art {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.72;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 3rem;
  font-weight: 900;
}

.product-media {
  display: block;
  aspect-ratio: 1 / 1;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid rgba(14, 23, 52, 0.08);
  border-radius: 8px;
  background: #f6f8ff;
  line-height: 0;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.crown-art {
  background: linear-gradient(135deg, var(--plum), var(--royal) 58%, var(--gold));
}

.cb-art {
  background: linear-gradient(135deg, var(--teal), #2aa8a3);
}

.amazon-art {
  background: linear-gradient(135deg, #232f3e, #ff9900);
}

.service-art {
  background: linear-gradient(135deg, #111111, var(--coral));
}

.product-card p {
  color: var(--muted);
  line-height: 1.65;
}

.product-card a {
  display: inline-flex;
  margin-top: auto;
  color: var(--royal);
  font-weight: 900;
}

.product-card .product-media {
  margin-top: 0;
  color: inherit;
}

.product-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  margin-top: auto;
}

.product-card .product-actions a {
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 42px;
  margin-top: 0;
  border: 1px solid rgba(75, 17, 108, 0.16);
  border-radius: 8px;
  padding: 0 14px;
  text-decoration: none;
}

.product-share {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(75, 17, 108, 0.16);
  border-radius: 8px;
  padding: 0 14px;
  background: #ffffff;
  color: var(--royal);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.product-card .product-actions a:hover,
.product-card .product-actions a:focus-visible,
.product-share:hover,
.product-share:focus-visible {
  border-color: rgba(220, 169, 47, 0.72);
  color: var(--plum);
  outline: 0;
}

.blog-section {
  background:
    linear-gradient(120deg, rgba(75, 17, 108, 0.08), rgba(20, 123, 120, 0.1)),
    var(--soft);
}

.blog-layout {
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: center;
}

.blog-aside {
  padding: 30px;
}

.blog-aside ol {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 700;
}

.hot-products {
  background: #ffffff;
}

.hot-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: visible;
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: none;
}

.hot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 3;
  margin: 0;
  object-fit: cover;
  object-position: center center;
  background: #ffffff;
  border: 0;
  border-radius: 8px 8px 0 0;
}

.hot-card span,
.hot-card strong {
  display: block;
  margin-right: 0;
  margin-left: 0;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #ffffff;
}

.hot-card span {
  min-height: 62px;
  margin-top: 0;
  padding: 22px 24px 6px;
  border-top: 1px solid var(--line);
}

.hot-card strong {
  min-height: 94px;
  padding: 0 24px 24px;
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
  padding: clamp(42px, 6vw, 72px) clamp(18px, 4vw, 56px);
  background: var(--plum);
  color: #ffffff;
}

.cta-band h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.signup-band {
  align-items: stretch;
  justify-content: center;
  background:
    radial-gradient(circle at 72% 24%, rgba(220, 169, 47, 0.22), transparent 26%),
    linear-gradient(135deg, #2c063d 0%, #16041f 100%);
}

.signup-band > div {
  display: grid;
  align-content: center;
  flex: 0 1 820px;
  max-width: 820px;
}

.signup-band p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 16px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.signup-form {
  display: grid;
  align-content: center;
  gap: 14px;
  flex: 0 1 520px;
  width: min(100%, 520px);
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(247, 215, 108, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 54px rgba(7, 5, 18, 0.26);
}

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

.signup-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 900;
}

.signup-form input {
  min-height: 48px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
}

.signup-form input:focus {
  outline: 3px solid rgba(247, 215, 108, 0.36);
  outline-offset: 2px;
}

.signup-form .button {
  width: 100%;
}

.signup-form p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  line-height: 1.5;
}

.site-footer {
  display: grid;
  gap: 14px;
  padding: 32px clamp(18px, 4vw, 56px);
  background: #17141d;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-legal button,
.footer-legal a {
  border: 0;
  padding: 0;
  background: transparent;
  color: #f7d76c;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-legal button:hover,
.footer-legal button:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer p {
  max-width: 980px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.contact-modal,
.legal-modal {
  width: min(620px, calc(100% - 32px));
  max-height: min(86vh, 920px);
  max-height: min(86dvh, 920px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #ffffff;
}

.contact-modal::backdrop,
.legal-modal::backdrop {
  background: rgba(23, 20, 29, 0.66);
  backdrop-filter: blur(5px);
}

.contact-frame,
.legal-frame {
  position: relative;
  overflow-y: auto;
  max-height: min(86vh, 920px);
  max-height: min(86dvh, 920px);
  padding: clamp(28px, 4vw, 42px);
  border: 2px solid rgba(220, 169, 47, 0.84);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%),
    radial-gradient(circle at 50% 0%, rgba(220, 169, 47, 0.2), transparent 34%),
    linear-gradient(145deg, #21052d 0%, #090f26 58%, #180323 100%);
  box-shadow: 0 32px 90px rgba(7, 5, 18, 0.46);
}

.contact-frame .eyebrow,
.legal-frame .eyebrow {
  color: #f7d76c;
}

.contact-frame h2,
.legal-frame h2 {
  margin-bottom: 12px;
  font-size: clamp(1.85rem, 5vw, 3rem);
}

.contact-frame p,
.legal-copy {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.contact-close,
.legal-close {
  position: sticky;
  top: 18px;
  z-index: 2;
  margin-left: auto;
  margin-bottom: -42px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(247, 215, 108, 0.36);
  outline-offset: 2px;
}

.contact-status {
  margin: 0;
  color: #f7d76c;
  font-weight: 800;
}

.legal-copy {
  display: grid;
  gap: 12px;
}

.legal-copy p {
  margin: 0;
}

.cookie-disclosure {
  position: fixed;
  left: clamp(16px, 2vw, 30px);
  bottom: 104px;
  z-index: 18;
  width: min(360px, calc(100% - 32px));
  padding: 18px;
  border: 1px solid rgba(247, 215, 108, 0.68);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(145deg, #21052d 0%, #090f26 100%);
  color: #ffffff;
  box-shadow: 0 22px 54px rgba(7, 5, 18, 0.32);
}

.cookie-disclosure[hidden] {
  display: none;
}

.cookie-disclosure p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.cookie-actions button {
  min-height: 38px;
  border: 1px solid rgba(247, 215, 108, 0.5);
  border-radius: 8px;
  padding: 0 14px;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
}

.cookie-actions [data-cookie-accept] {
  background: var(--gold);
  color: #1d1505;
}

.cookie-actions [data-legal-open] {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.back-to-top {
  position: fixed;
  right: clamp(16px, 2vw, 30px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 19;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(247, 215, 108, 0.68);
  border-radius: 999px;
  background: linear-gradient(145deg, #2b083f, #090f26);
  color: #f7d76c;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  box-shadow: 0 18px 38px rgba(7, 5, 18, 0.26);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.back-to-top::before {
  margin-right: 4px;
  content: "^";
  font-size: 0.95rem;
  line-height: 1;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: #f7d76c;
  color: #ffffff;
  outline: 0;
}

@media (max-width: 1050px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .quick-links,
  .product-grid,
  .hot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .blog-layout,
  .blog-feature-grid {
    grid-template-columns: 1fr;
  }

  .product-preview {
    align-self: start;
    width: min(100%, 420px);
    max-width: 420px;
    margin-inline: auto;
    padding: 8px;
  }

  .product-preview-link {
    width: min(100%, 360px);
    height: auto;
  }

  .product-preview img {
    height: auto;
    object-fit: contain;
  }

  .blog-preview {
    align-self: start;
    width: min(100%, 420px);
    max-width: 420px;
    margin-inline: auto;
  }

  .blog-preview-link {
    height: auto;
  }

  .blog-preview img {
    height: auto;
    object-fit: contain;
  }

  .signup-band {
    align-items: stretch;
    flex-direction: column;
  }

  .signup-band > div,
  .signup-form {
    flex-basis: auto;
  }

  .signup-form {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    gap: 14px;
    padding: 14px 20px 18px;
  }

  .brand {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    width: 100%;
    align-items: flex-start;
    min-width: 0;
  }

  .brand-mark {
    flex: 0 0 56px;
  }

  .brand > span:last-child {
    width: 100%;
    max-width: 100%;
  }

  .brand strong,
  .brand small {
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .mobile-brand-break {
    display: block;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    padding-bottom: 0;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 40px;
    min-width: 0;
    max-width: 100%;
    padding: 8px 10px;
    border: 1px solid rgba(75, 17, 108, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
    line-height: 1.18;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  .nav-cta {
    width: 100%;
  }

  .hero {
    aspect-ratio: 4 / 3;
    min-height: auto;
    margin-bottom: 64px;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding: 58px 0 82px;
  }

  .hero-banner {
    background-position: 24% top;
    background-size: cover;
    opacity: 1;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .quick-links,
  .product-grid,
  .hot-grid {
    grid-template-columns: 1fr;
  }

  .quick-links a {
    min-height: 118px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .banner-preview {
    min-height: 260px;
  }

  .product-preview {
    padding: 8px;
  }

  .blog-preview {
    width: 100%;
    max-width: 100%;
    padding: 8px;
  }

  .product-preview-link {
    width: min(100%, 300px);
  }

  .feature-actions .button {
    width: 100%;
  }

  .newsletter-field {
    grid-template-columns: 1fr;
  }

  .newsletter-field .button {
    width: 100%;
  }

  .cta-band {
    align-items: stretch;
    flex-direction: column;
  }

  .signup-band > div,
  .signup-form {
    flex-basis: auto;
  }

  .cookie-disclosure {
    left: 18px;
    bottom: 92px;
  }

  .signup-form {
    width: 100%;
  }

  .signup-fields {
    grid-template-columns: 1fr;
  }

  .article-modal,
  .newsletter-modal,
  .contact-modal,
  .legal-modal {
    width: calc(100% - 24px);
    max-height: 90vh;
    max-height: 90dvh;
  }

  .article-modal-shell,
  .newsletter-frame,
  .contact-frame,
  .legal-frame {
    max-height: 90vh;
    max-height: 90dvh;
  }

  .article-modal-header,
  .article-modal-footer,
  .article-modal-body {
    padding-right: 18px;
    padding-left: 18px;
  }

  .newsletter-frame,
  .contact-frame,
  .legal-frame {
    padding: 26px 18px;
  }

  .newsletter-top-image {
    max-width: calc(100% - 46px);
  }

  .modal-close {
    width: 38px;
    height: 38px;
  }

  .contact-close,
  .legal-close,
  .newsletter-close {
    top: 12px;
    margin-bottom: -38px;
  }

  .contact-form input,
  .contact-form textarea,
  .newsletter-form input,
  .signup-form input {
    font-size: 16px;
  }
}

@media (max-width: 430px) {
  .site-nav {
    grid-template-columns: 1fr;
  }
}
