:root,
[data-theme="light"] {
  --font-display: "Cabinet Grotesk", "Arial Black", sans-serif;
  --font-body: "Satoshi", Arial, sans-serif;
  --color-bg: #f4f0e7;
  --color-surface: #fffdf7;
  --color-surface-raised: #ebe5d9;
  --color-text: #171817;
  --color-muted: #686762;
  --color-border: rgba(23, 24, 23, 0.14);
  --color-accent: #b9362f;
  --color-accent-hover: #8f2521;
  --color-accent-ink: #fffaf3;
  --color-header: rgba(244, 240, 231, 0.88);
  --shadow-card: 0 1px 2px rgba(61, 43, 30, 0.05), 0 12px 32px rgba(61, 43, 30, 0.08);
  --text-xs: clamp(0.75rem, 0.72rem + 0.16vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.82rem + 0.25vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.02rem + 0.5vw, 1.4rem);
  --text-xl: clamp(1.5rem, 1.24rem + 1vw, 2.1rem);
  --text-2xl: clamp(2.2rem, 1.65rem + 2.2vw, 3.7rem);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.65rem;
  --radius-lg: 0.9rem;
  --radius-xl: 1.25rem;
  --radius-full: 999px;
  --transition-interactive: 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --color-bg: #0a0b0b;
  --color-surface: #151717;
  --color-surface-raised: #202222;
  --color-text: #f2efe8;
  --color-muted: #aaa8a2;
  --color-border: rgba(242, 239, 232, 0.14);
  --color-accent: #ce453b;
  --color-accent-hover: #e45a50;
  --color-accent-ink: #fff8f2;
  --color-header: rgba(10, 11, 11, 0.87);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.22), 0 16px 42px rgba(0, 0, 0, 0.25);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0a0b0b;
    --color-surface: #151717;
    --color-surface-raised: #202222;
    --color-text: #f2efe8;
    --color-muted: #aaa8a2;
    --color-border: rgba(242, 239, 232, 0.14);
    --color-accent: #ce453b;
    --color-accent-hover: #e45a50;
    --color-accent-ink: #fff8f2;
    --color-header: rgba(10, 11, 11, 0.87);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.22), 0 16px 42px rgba(0, 0, 0, 0.25);
  }
}

html {
  color-scheme: light dark;
  background: var(--color-bg);
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 4rem, color-mix(in srgb, var(--color-accent) 19%, transparent), transparent 26rem),
    linear-gradient(color-mix(in srgb, var(--color-text) 2%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--color-text) 2%, transparent) 1px, transparent 1px),
    var(--color-bg);
  background-size: auto, 32px 32px, 32px 32px, auto;
}

img {
  background: var(--color-surface-raised);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-3) var(--space-4);
  color: var(--color-accent-ink);
  background: var(--color-accent);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.utility-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-header);
  backdrop-filter: blur(18px);
}

.utility-inner {
  display: grid;
  width: min(calc(100% - var(--space-6) * 2), 900px);
  min-height: 74px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: var(--space-4);
  margin-inline: auto;
}

.mini-brand {
  display: inline-flex;
  width: 116px;
  grid-column: 2;
  align-items: center;
  justify-self: center;
}

.mini-brand img {
  width: 100%;
  height: 56px;
  object-fit: contain;
  background: transparent;
}

.utility-actions {
  display: flex;
  grid-column: 3;
  align-items: center;
  justify-self: end;
  gap: var(--space-2);
}

.theme-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text);
  background: var(--color-surface);
}

.theme-toggle:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.brand-inquiry {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  color: var(--color-accent-ink);
  background: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-inquiry:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
}

.links-shell {
  width: min(calc(100% - var(--space-6) * 2), 900px);
  margin-inline: auto;
  padding-bottom: var(--space-12);
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(var(--space-10), 8vw, var(--space-16)) 0 var(--space-8);
  text-align: center;
}

.profile-photo {
  width: 112px;
  height: 112px;
  margin-bottom: var(--space-6);
  overflow: hidden;
  border: 4px solid var(--color-bg);
  border-radius: 50%;
  outline: 1px solid var(--color-border);
  box-shadow: 0 0 0 9px color-mix(in srgb, var(--color-accent) 14%, transparent), var(--shadow-card);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-kicker,
.eyebrow {
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.profile h1 {
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.profile-bio {
  margin-top: var(--space-2);
  color: var(--color-muted);
  font-size: var(--text-base);
}

.social-icons {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.social-icons a {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text);
  background: var(--color-surface);
}

.social-icons a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-3px);
}

.social-icons a:active,
.theme-toggle:active,
.brand-inquiry:active,
.link-card:active,
.product-card:active,
.collection-card:active {
  transform: translateY(1px);
}

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-icons .fill {
  fill: currentColor;
  stroke: none;
}

.view-switcher {
  position: sticky;
  z-index: 15;
  top: 86px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 440px;
  margin: 0 auto var(--space-8);
  padding: var(--space-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.view-switcher button {
  min-height: 46px;
  border-radius: var(--radius-full);
  color: var(--color-muted);
  font-size: var(--text-sm);
  font-weight: 800;
}

.view-switcher button[aria-selected="true"] {
  color: var(--color-accent-ink);
  background: var(--color-accent);
}

.view-switcher span {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  margin-left: var(--space-1);
  place-items: center;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, currentColor 14%, transparent);
  font-size: var(--text-xs);
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel {
  animation: panel-in 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(var(--space-2));
  }
}

.collection-card {
  display: grid;
  width: 100%;
  min-height: 190px;
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--color-accent) 54%, transparent);
  border-radius: var(--radius-xl);
  color: var(--color-text);
  background: color-mix(in srgb, var(--color-accent) 12%, var(--color-surface));
  box-shadow: var(--shadow-card);
  text-align: left;
}

.collection-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.collection-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-6);
}

.collection-copy small {
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.collection-copy strong {
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.08;
}

.collection-copy > span {
  margin-top: var(--space-3);
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.collection-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-1);
  overflow: hidden;
}

.collection-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-mosaic img:first-child {
  grid-row: 1 / 3;
}

.link-group {
  margin-top: clamp(var(--space-10), 7vw, var(--space-16));
}

.section-heading {
  margin-bottom: var(--space-4);
}

.section-heading h2,
.shop-intro h2 {
  margin-top: var(--space-1);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  letter-spacing: -0.025em;
}

.link-card {
  position: relative;
  display: grid;
  min-height: 84px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  background: var(--color-surface);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--color-text) 5%, transparent);
  text-decoration: none;
}

.link-card:hover {
  border-color: var(--color-accent);
  background: var(--color-surface-raised);
  transform: translateY(-3px);
}

.link-card-featured {
  min-height: 96px;
  border-color: color-mix(in srgb, var(--color-accent) 60%, transparent);
}

.link-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: var(--radius-md);
  color: #171817;
  background: #f4f0e7;
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1;
}

.amazon-mark {
  font-family: Georgia, serif;
}

.offer-badge,
.platform-name {
  display: grid;
  min-width: 76px;
  min-height: 38px;
  place-items: center;
  padding-inline: var(--space-3);
  border-radius: var(--radius-full);
  color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  font-size: var(--text-xs);
  font-weight: 800;
  white-space: nowrap;
}

.platform-name {
  min-width: 86px;
  color: var(--color-muted);
  background: var(--color-surface-raised);
}

.link-copy {
  display: grid;
  gap: var(--space-1);
}

.link-copy strong {
  font-family: var(--font-display);
  font-size: var(--text-base);
  line-height: 1.18;
}

.link-copy small {
  color: var(--color-muted);
  font-size: var(--text-xs);
}

.link-copy b {
  color: var(--color-text);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.arrow {
  color: var(--color-accent);
  font-size: var(--text-lg);
  font-weight: 700;
}

.shop-intro {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 0.65fr);
  align-items: end;
  gap: var(--space-8);
  margin-bottom: var(--space-6);
}

.shop-intro > p {
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  background: var(--color-surface);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--color-text) 5%, transparent);
  text-decoration: none;
}

.product-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.product-image {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f3ef;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f5f3ef;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-copy {
  display: flex;
  min-height: 148px;
  flex: 1;
  flex-direction: column;
  padding: var(--space-4);
}

.product-copy small {
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-copy strong {
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-base);
  line-height: 1.2;
}

.product-copy > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--space-4);
  color: var(--color-muted);
  font-size: var(--text-xs);
  font-weight: 700;
}

.product-copy b {
  color: var(--color-accent);
}

.product-card-wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.product-card-wide .product-copy {
  min-height: 100%;
  justify-content: center;
  padding: clamp(var(--space-6), 5vw, var(--space-10));
}

.product-card-wide .product-copy strong {
  font-size: var(--text-xl);
}

.amazon-cta {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-lg);
  color: var(--color-accent-ink);
  background: var(--color-accent);
  text-decoration: none;
}

.amazon-cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-3px);
}

.amazon-cta > span:first-child {
  display: grid;
}

.amazon-cta small {
  opacity: 0.78;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
}

.amazon-cta strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
}

.disclosure {
  margin-top: clamp(var(--space-10), 7vw, var(--space-16));
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-muted);
}

.disclosure summary {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.disclosure summary span {
  color: var(--color-accent);
  font-size: var(--text-lg);
  transition: transform var(--transition-interactive);
}

.disclosure[open] summary span {
  transform: rotate(45deg);
}

.disclosure p {
  max-width: 70ch;
  padding: 0 0 var(--space-5);
  font-size: var(--text-sm);
}

.links-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-10) 0 0;
  color: var(--color-muted);
  font-size: var(--text-xs);
}

.links-footer a {
  color: inherit;
  text-underline-offset: 4px;
}

@media (max-width: 720px) {
  .utility-inner,
  .links-shell {
    width: min(calc(100% - var(--space-4) * 2), 900px);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .product-card-wide {
    grid-column: span 2;
  }

  .shop-intro {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
}

@media (max-width: 520px) {
  .utility-inner {
    min-height: 66px;
  }

  .mini-brand {
    width: 94px;
  }

  .mini-brand img {
    height: 50px;
  }

  .theme-toggle {
    display: none;
  }

  .brand-inquiry {
    padding-inline: var(--space-3);
  }

  .profile {
    padding-top: var(--space-10);
  }

  .profile-photo {
    width: 102px;
    height: 102px;
  }

  .view-switcher {
    top: 76px;
    margin-bottom: var(--space-6);
  }

  .collection-card {
    min-height: 220px;
    grid-template-columns: 1fr;
  }

  .collection-copy {
    min-height: 138px;
    padding: var(--space-5);
  }

  .collection-mosaic {
    height: 122px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
  }

  .collection-mosaic img:first-child {
    grid-row: auto;
  }

  .link-card {
    gap: var(--space-3);
    padding: var(--space-4);
  }

  .offer-badge,
  .platform-name {
    min-width: 70px;
    padding-inline: var(--space-2);
  }

  .product-copy {
    min-height: 172px;
    padding: var(--space-3);
  }

  .product-copy strong {
    font-size: var(--text-sm);
  }

  .product-card-wide {
    display: flex;
  }

  .product-card-wide .product-copy {
    min-height: 172px;
    padding: var(--space-4);
  }

  .product-card-wide .product-copy strong {
    font-size: var(--text-base);
  }
}

@media (max-width: 380px) {
  .brand-inquiry {
    font-size: 0.75rem;
  }

  .link-card.compact {
    grid-template-columns: 1fr auto;
  }

  .link-card.compact .platform-name {
    grid-column: 1 / -1;
    width: fit-content;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tab-panel {
    animation: none;
  }
}
