:root {
  --ink: #101014;
  --copy: #4b4b4e;
  --muted: #6f6f73;
  --line: #e9e7e1;
  --purple: #7c3aed;
  --purple-dark: #5420a3;
  --cream: #fffef5;
  --nav-height: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--copy);
  font: 400 16px/1.5 "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; }
a { color: inherit; }
.container { width: min(1130px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(16, 16, 20, .06);
  background: rgba(255, 254, 245, .94);
  backdrop-filter: blur(18px);
}
.nav { min-height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; }
.brand, .brand img { display: block; width: 64px; height: 36px; object-fit: contain; }
.nav-links, .nav-actions { display: flex; align-items: center; gap: 34px; }
.nav-links a, .login { color: #363638; text-decoration: none; font-size: .95rem; }
.nav-links a:hover, .login:hover { color: var(--purple); }
.nav-actions { justify-content: flex-end; gap: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 650;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 10px 24px rgba(124, 58, 237, .2); }
.btn-primary:hover { background: #6d28d9; }
.btn-light { background: #fff; color: var(--purple-dark); }
.btn-light:hover { background: #f0e9ff; }
.eyebrow { margin: 0 0 12px; color: var(--purple); font-size: .82rem; font-weight: 750; letter-spacing: .075em; text-transform: uppercase; }
h1, h2, h3 { color: var(--ink); }
.intro { padding-top: 64px; }
.intro-row { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: end; }
.intro h1 { max-width: 780px; margin: 0; font-size: clamp(3.25rem, 5.5vw, 5.2rem); line-height: .98; letter-spacing: -.065em; font-weight: 750; }
.intro-row > p { max-width: 400px; margin: 0 0 4px; font-size: 1.12rem; line-height: 1.55; }
.catalog-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding: 21px 0 24px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; }
.filter { min-height: 42px; padding: 9px 18px; border: 1px solid #e5e3de; border-radius: 999px; background: #fff; color: #444348; font-weight: 650; cursor: pointer; transition: .2s; }
.filter:hover { border-color: var(--purple); color: var(--purple); }
.filter.active { border-color: var(--purple); background: var(--purple); color: #fff; }
.result-count { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.product-stack { padding-bottom: 54px; }
.product { margin: 0 auto 30px; scroll-margin-top: 80px; }
.product[hidden] { display: none; }
.rotator-track { height: calc(100svh - var(--nav-height) + var(--turn-distance)); }
.horizontal { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); align-items: start; background: #291646; }
.horizontal-track { min-width: 0; }
.horizontal-gallery { position: sticky; top: var(--nav-height); width: 100%; height: calc(100svh - var(--nav-height)); overflow: hidden; background: #e6e3ea; }
.rotator-frame { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; pointer-events: none; transition: opacity .24s ease; }
.rotator-frame.is-active { z-index: 1; opacity: 1; }
.rotator-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.horizontal--render .rotator-frame--hero::before { content: ""; position: absolute; inset: -24px; background: var(--frame-image) center / cover no-repeat; filter: blur(32px) brightness(.42); }
.horizontal--render .rotator-frame--hero img { position: relative; object-fit: contain; }
.horizontal--feature .rotator-frame img { object-position: 20% center; }
#p7 .rotator-frame img { object-position: center bottom; }
.horizontal--split:not(.horizontal--render) .rotator-frame img { transform: scale(1.08); }
.horizontal--render .horizontal-gallery { background: #1b1125; }
.horizontal-info {
  position: sticky;
  top: var(--nav-height);
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: calc(100svh - var(--nav-height));
  padding: clamp(27px, 3.5vw, 54px);
  color: #fff;
  overflow-y: auto;
  background-color: #2b1547;
  background-image:
    repeating-radial-gradient(circle at 50% 155%, transparent 0 112px, rgba(255, 255, 255, .085) 113px 114px, transparent 115px 225px),
    radial-gradient(140% 155% at 0% 0%, #7225cf 0%, #542096 47%, #281440 100%);
}
.horizontal-info .eyebrow { color: #e8d6ff; }
.horizontal-info h2 { margin: 0; color: #fff; font-size: clamp(2.3rem, 3.35vw, 4rem); line-height: 1; letter-spacing: -.055em; }
.horizontal-heading > p:last-child { max-width: 42ch; margin: 18px 0 0; color: #f0e9f7; font-size: 1.03rem; line-height: 1.55; }
.horizontal-specs { display: grid; gap: 0; margin: clamp(22px, 4vh, 42px) 0 0; border-top: 1px solid rgba(255,255,255,.2); }
.horizontal-specs div { display: grid; grid-template-columns: minmax(140px, .42fr) minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.horizontal-specs dt { color: #dfc9f5; font-size: .73rem; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.horizontal-specs dd { margin: 0; color: #fff; font-size: .94rem; font-weight: 650; line-height: 1.35; }
.horizontal-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: auto; padding-top: 22px; }
.horizontal-price { width: 100%; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); }
.horizontal-price strong { display: block; color: #fff; font-size: 1rem; }
.horizontal-price span { color: #e5d9f3; font-size: .84rem; }
.source-link { color: #d4c6ef; font-size: .83rem; text-underline-offset: 4px; }
.source-link:hover { color: #fff; }
.render-note { color: #d8c9e8; font-size: .75rem; line-height: 1.4; }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 48px; margin-bottom: 84px; padding: 56px; border-radius: 30px; background: linear-gradient(135deg, #7c3aed, #4d198f); color: #fff; }
.closing .eyebrow { color: #dfd0ff; }
.closing h2 { max-width: 700px; margin: 0 0 12px; color: #fff; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.055em; }
.closing p:not(.eyebrow) { max-width: 660px; margin: 0; color: #eee6ff; }
.closing .btn { background: #fff; color: var(--purple-dark); }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 28px 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.footer-brand { display: flex; align-items: center; gap: 14px; color: var(--ink); font-weight: 650; }
.footer-brand img { width: 52px; height: 30px; object-fit: contain; }
.noscript { padding: 16px; background: var(--purple); color: #fff; text-align: center; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
@media (max-width: 1100px) {
  .nav { grid-template-columns: auto 1fr; }
  .nav-links { display: none; }
  .nav-actions { justify-self: end; }
}
@media (max-width: 760px) {
  .horizontal { grid-template-columns: 1fr; }
  .horizontal-track { height: calc(100svh - var(--nav-height) + var(--turn-mobile-distance)); }
  .horizontal-gallery { background: #fff; }
  .horizontal-gallery .rotator-frame img { object-fit: cover; transform: none; }
  .horizontal--render .rotator-frame--hero img { object-fit: contain; }
  .horizontal--split .horizontal-gallery { background: #858585; }
  .horizontal--render .horizontal-gallery { background: #1b1125; }
  .horizontal-info { position: static; height: auto; overflow: visible; padding: 34px 24px; }
  .horizontal-info h2 { font-size: 2.65rem; }
  .horizontal-actions { margin-top: 26px; }
}
@media (max-width: 700px) {
  :root { --nav-height: 60px; }
  .container { width: min(100% - 28px, 1130px); }
  .nav { min-height: 60px; }
  .login { display: none; }
  .nav-actions .btn { min-height: 40px; padding: 9px 14px; font-size: .82rem; }
  .intro { padding-top: 38px; }
  .intro-row { grid-template-columns: 1fr; gap: 16px; }
  .intro h1 { font-size: clamp(2.75rem, 11vw, 4rem); }
  .intro-row > p { font-size: 1rem; }
  .catalog-controls { align-items: flex-start; flex-direction: column; gap: 12px; margin-top: 30px; }
  .filters { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; }
  .filter:first-child { grid-column: span 2; }
  .product { margin-bottom: 18px; }
  .closing { align-items: flex-start; flex-direction: column; gap: 26px; margin-bottom: 54px; padding: 35px 26px; }
  .footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
