@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Manrope:wght@300;400;500;600&display=swap");

:root {
  --ink: #070708;
  --panel: #0c0c0e;
  --panel-2: #121115;
  --line: rgba(255, 255, 255, 0.12);
  --muted: #8e8a93;
  --paper: #eee9e2;
  --violet: #7f5b9d;
  --violet-light: #ad83ce;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body [hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  --scroll-progress: 0;
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 18%, rgba(100, 58, 130, 0.08), transparent 28%),
    radial-gradient(circle at 82% 58%, rgba(100, 58, 130, 0.06), transparent 30%),
    var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
}

.page-thread {
  position: fixed;
  z-index: 75;
  right: 15px;
  top: 118px;
  bottom: 28px;
  width: 18px;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

body.site-scrolled .page-thread {
  opacity: 1;
}

.page-thread-track {
  position: relative;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, rgba(173, 131, 206, 0.16) 8% 92%, transparent);
}

.page-thread-track i,
.page-thread-track b {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  transform-origin: top;
}

.page-thread-track i {
  height: 100%;
  background: linear-gradient(#a578c1, #644379);
  box-shadow: 0 0 12px rgba(165, 120, 193, 0.75);
  transform: scaleY(var(--scroll-progress));
}

.page-thread-track b {
  top: calc(var(--scroll-progress) * 100%);
  width: 5px;
  height: 5px;
  border: 1px solid #cdb3db;
  background: #0b080d;
  box-shadow: 0 0 16px #8b5bae;
  transform: translate(-2px, -50%) rotate(45deg);
}

.page-thread small {
  position: absolute;
  right: -1px;
  top: 50%;
  color: rgba(184, 150, 204, 0.34);
  font-size: 5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(45%, -50%) rotate(90deg);
}

body.cart-open,
body.checkout-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.announcement {
  height: 26px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  color: #a6a2aa;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 74px;
  padding: 0 clamp(22px, 4vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 4, 5, 0.96);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

body.site-scrolled .site-header {
  background: rgba(4, 4, 5, 0.88);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.brand-mark {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-self: center;
}

.brand-mark img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(128, 87, 161, 0.38));
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.8) 48%, transparent 65%);
  background-size: 260% 100%;
  -webkit-mask: url("../img/saint-russia-metal-monogram-cutout.png") center / contain no-repeat;
  mask: url("../img/saint-russia-metal-monogram-cutout.png") center / contain no-repeat;
  opacity: 0.45;
  animation: metal-sheen 5.8s ease-in-out infinite 1.8s;
  pointer-events: none;
}

.nav {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 38px);
}

.nav a {
  position: relative;
  color: #c8c4ca;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 1px;
  background: var(--violet-light);
  transition: right 0.25s ease;
}

.nav a:hover::after,
.nav a.active::after {
  right: 0;
}

.nav a.active {
  color: var(--paper);
}

.nav-group {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 74px;
}

.nav-dropdown {
  position: absolute;
  left: -20px;
  top: calc(100% - 1px);
  width: 220px;
  padding: 20px;
  display: grid;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-top-color: rgba(173, 131, 206, 0.65);
  background:
    linear-gradient(145deg, rgba(126, 80, 157, 0.1), transparent 54%),
    rgba(7, 7, 8, 0.98);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.nav-group:hover > .nav-dropdown,
.nav-group:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown > span {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: #5e5861;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-dropdown a {
  color: #9c969f;
  font-size: 8px;
  letter-spacing: 0.12em;
  line-height: 1.35;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-dropdown a::after {
  display: none;
}

.nav-dropdown a:hover,
.nav-dropdown a.active {
  color: #eee8f1;
  transform: translateX(4px);
}

.header-actions {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-button,
.menu-button {
  position: relative;
  width: 24px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button {
  display: none;
}

.search-button span {
  position: absolute;
  left: 3px;
  top: 5px;
  width: 13px;
  height: 13px;
  border: 1px solid #d8d4da;
  border-radius: 50%;
}

.search-button span::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 1px;
  background: #d8d4da;
  transform: rotate(45deg);
  right: -5px;
  bottom: -3px;
}

.user-button span {
  position: absolute;
  left: 7px;
  top: 3px;
  width: 9px;
  height: 9px;
  border: 1px solid #d8d4da;
  border-radius: 50%;
}

.user-button span::after {
  content: "";
  position: absolute;
  left: -5px;
  top: 13px;
  width: 17px;
  height: 9px;
  border: 1px solid #d8d4da;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.bag-button span {
  position: absolute;
  left: 4px;
  top: 8px;
  width: 16px;
  height: 16px;
  border: 1px solid #d8d4da;
}

.bag-button span::before {
  content: "";
  position: absolute;
  left: 3px;
  top: -6px;
  width: 8px;
  height: 7px;
  border: 1px solid #d8d4da;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
}

.cart-count {
  position: absolute;
  right: -8px;
  top: -3px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--violet);
  color: white;
  font-size: 8px;
  font-style: normal;
}

.dark-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 100px);
  overflow: hidden;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background: #050506;
}

.hero-texture {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  filter: contrast(1.08) saturate(0.84);
  transform: translate3d(calc(var(--hero-x, 0) * -8px), calc(var(--hero-y, 0) * -6px), 0) scale(1.035);
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.dark-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 4, 5, 0.36), rgba(5, 5, 6, 0.1) 50%, rgba(4, 4, 5, 0.36)),
    linear-gradient(0deg, #050506 0, transparent 37%, rgba(5, 5, 6, 0.25));
}

.hero-aura {
  position: absolute;
  z-index: -2;
  width: min(44vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(98, 54, 128, 0.24), rgba(52, 30, 65, 0.08) 43%, transparent 70%);
  filter: blur(8px);
  transform: translate3d(calc(var(--hero-x, 0) * 18px), calc(var(--hero-y, 0) * 14px), 0);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-atmosphere {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-atmosphere i,
.hero-atmosphere span {
  position: absolute;
  display: block;
  pointer-events: none;
}

.hero-atmosphere i:first-child {
  left: -22%;
  top: 5%;
  width: 72%;
  height: 44%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(113, 88, 127, 0.1), rgba(24, 21, 29, 0.04) 45%, transparent 72%);
  filter: blur(34px);
  animation: hero-fog-drift 18s ease-in-out infinite alternate;
}

.hero-atmosphere i:nth-child(2) {
  right: -16%;
  top: 17%;
  width: 58%;
  height: 38%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(94, 52, 122, 0.12), transparent 70%);
  filter: blur(42px);
  animation: hero-fog-drift-reverse 22s ease-in-out infinite alternate;
}

.hero-atmosphere span {
  left: 7%;
  right: 7%;
  bottom: -4%;
  height: 26%;
  background:
    linear-gradient(100deg, transparent 4%, rgba(112, 61, 143, 0.04) 28%, rgba(198, 165, 216, 0.12) 50%, rgba(105, 57, 136, 0.04) 72%, transparent 96%);
  filter: blur(20px);
  opacity: 0.55;
  transform: skewX(-14deg);
  animation: hero-reflection-pulse 7s ease-in-out infinite;
}

.violet-thread-field {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.violet-thread-field svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.violet-thread-field path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.violet-thread-glow {
  stroke: rgba(133, 76, 168, 0.27);
  stroke-width: 8;
  filter: blur(8px);
  opacity: 0.65;
}

.violet-thread-line {
  stroke: #9365ad;
  stroke-width: 1.15;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 7px rgba(173, 131, 206, 0.9));
  animation: violet-thread-draw 2.6s cubic-bezier(0.22, 0.72, 0.25, 1) 0.3s forwards;
}

.violet-thread-spark {
  stroke: #eee4f4;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 0.012 0.988;
  stroke-dashoffset: 0;
  opacity: 0;
  filter: drop-shadow(0 0 9px #a66aca);
  animation: violet-thread-travel 5.5s linear 2.8s infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(90vw, 960px);
  padding: 70px 20px 58px;
  text-align: center;
}

.hero-emblem {
  position: relative;
  width: clamp(150px, 16vw, 230px);
  margin: 0 auto 10px;
  transform:
    translate3d(calc(var(--hero-x, 0) * 10px), calc(var(--hero-y, 0) * 8px), 0)
    rotateX(calc(var(--hero-y, 0) * -2deg))
    rotateY(calc(var(--hero-x, 0) * 3deg));
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  filter:
    drop-shadow(0 0 22px rgba(255, 255, 255, 0.08))
    drop-shadow(0 0 44px rgba(117, 63, 158, 0.42));
  animation: reveal 0.9s ease both;
}

.hero-logo-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.92) 49%, transparent 64%);
  background-position: 140% 0;
  background-size: 280% 100%;
  -webkit-mask: url("../img/saint-russia-metal-monogram-cutout.png") center / contain no-repeat;
  mask: url("../img/saint-russia-metal-monogram-cutout.png") center / contain no-repeat;
  mix-blend-mode: screen;
  opacity: 0.72;
  animation: metal-sheen 4.8s ease-in-out infinite 1s;
  pointer-events: none;
}

.hero-kicker,
.section-label {
  margin: 16px 0 14px;
  color: var(--violet-light);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 7vw, 102px);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 0 #fff, 0 0 34px rgba(115, 82, 139, 0.22);
}

.hero-line {
  width: min(580px, 70vw);
  margin: 22px auto 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
}

.hero-line i {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet));
}

.hero-line i:last-child {
  background: linear-gradient(90deg, var(--violet), transparent);
}

.hero-line span {
  color: #968b9e;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.42em;
}

.outline-button {
  min-width: 250px;
  height: 49px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(163, 115, 198, 0.65);
  background: rgba(6, 5, 8, 0.58);
  backdrop-filter: blur(10px);
  color: #e8e3ea;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: 0.25s ease;
}

.outline-button:hover {
  background: linear-gradient(90deg, #76518f, #9468ad);
  border-color: #8b61a8;
  color: white;
  box-shadow: 0 12px 40px rgba(118, 74, 149, 0.35);
}

.hero-side-note {
  position: absolute;
  left: 34px;
  bottom: 40px;
  color: #625d66;
  font-size: 7px;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-scroll {
  position: absolute;
  right: 34px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #77727a;
  font-size: 7px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: right bottom;
}

.hero-scroll i {
  width: 42px;
  height: 1px;
  background: #77727a;
}

.home-page .site-header {
  height: 66px;
  padding: 0 clamp(24px, 2.1vw, 38px);
  background: #050506;
  backdrop-filter: none;
}

.home-page.site-scrolled .site-header {
  background: rgba(5, 5, 6, 0.93);
  backdrop-filter: blur(18px);
}

.home-page .brand-mark img {
  width: 60px;
  height: 60px;
  filter:
    saturate(0.82)
    brightness(0.92)
    drop-shadow(0 0 12px rgba(116, 75, 148, 0.38));
}

.home-page .brand-mark {
  z-index: 4;
  transform: none;
}

.home-page .brand-mark::after {
  inset: 6px;
  opacity: 0.32;
}

.home-page .nav {
  gap: clamp(24px, 2.6vw, 42px);
}

.home-page .nav-group {
  min-height: 66px;
}

.home-page .nav-primary {
  color: #c5c0c7;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.075em;
}

.home-page .nav-primary::after {
  bottom: -8px;
  background: rgba(150, 104, 178, 0.78);
}

.home-page .header-actions {
  gap: 17px;
}

.home-page .dark-hero {
  min-height: 0;
  height: clamp(500px, 62svh, 700px);
  place-items: center;
  background: #030304;
}

.home-page .hero-texture {
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0.96;
  object-fit: cover;
  object-position: center 62%;
  filter: contrast(1.08) saturate(0.8) brightness(0.78);
  transform: translate3d(calc(var(--hero-x, 0) * -7px), calc(var(--hero-y, 0) * -5px), 0) scale(1.025);
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-page .dark-hero::after {
  display: block;
  background:
    linear-gradient(90deg, rgba(2, 2, 3, 0.32), transparent 24% 76%, rgba(2, 2, 3, 0.36)),
    linear-gradient(0deg, rgba(2, 2, 3, 0.56), transparent 38%, rgba(3, 3, 4, 0.12));
}

.home-page .hero-aura {
  display: block;
  width: min(38vw, 520px);
  background: radial-gradient(circle, rgba(90, 46, 118, 0.16), transparent 68%);
}

.home-page .violet-thread-field {
  display: block;
  opacity: 0.2;
}

.home-page .hero-content {
  position: relative;
  z-index: 4;
  inset: auto;
  width: min(92vw, 840px);
  padding: 45px 20px 28px;
  transform: translateY(5%);
  pointer-events: auto;
}

.home-page .hero-content h1,
.home-page .hero-kicker,
.home-page .hero-line {
  visibility: visible;
}

.home-page .hero-content h1 {
  font-size: clamp(52px, 5.5vw, 78px);
  line-height: 0.9;
  letter-spacing: 0.075em;
  color: #d4cfd3;
  text-shadow:
    0 1px rgba(255, 255, 255, 0.32),
    0 0 28px rgba(116, 83, 139, 0.16);
}

.home-page .hero-kicker {
  margin: 18px 0 12px;
  color: #aaa0af;
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.38em;
}

.home-page .hero-line {
  width: min(390px, 66vw);
  margin: 13px auto 24px;
  gap: 18px;
}

.home-page .hero-line span {
  color: #8d659f;
}

.home-page .outline-button {
  position: static;
  min-width: 178px;
  height: 42px;
  justify-content: center;
  gap: 22px;
  border-color: rgba(137, 103, 154, 0.55);
  background: rgba(4, 4, 5, 0.42);
  color: #c9c3ca;
  box-shadow: none;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.catalog {
  padding: 110px clamp(18px, 4vw, 64px) 130px;
  background:
    radial-gradient(circle at 50% 0%, rgba(108, 64, 139, 0.1), transparent 28%),
    var(--ink);
}

.section-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.section-title > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title p,
.catalog-count {
  margin: 0;
  color: #77727a;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.star {
  color: var(--violet-light);
  font-size: 16px;
}

.section-title h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 62px);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.catalog-count {
  justify-self: end;
}

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 42px;
}

.filters button {
  min-width: 92px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: #76717a;
  cursor: pointer;
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: 0.2s;
}

.filters button:hover,
.filters button.active {
  border-color: var(--violet);
  color: #e7ddeb;
  background: rgba(121, 81, 150, 0.1);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.34);
}

.product-card {
  position: relative;
  min-width: 0;
  background: var(--ink);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  z-index: 2;
  background: #0b090d;
  box-shadow:
    0 0 0 1px rgba(151, 102, 183, 0.38),
    0 28px 70px rgba(0, 0, 0, 0.48);
}

.product-card[hidden] {
  display: none;
}

.product-image {
  --product-light-x: 50%;
  --product-light-y: 25%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 50% 33%, rgba(102, 66, 128, 0.24), transparent 43%),
    #101012;
}

.product-image::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: radial-gradient(circle at var(--product-light-x) var(--product-light-y), rgba(211, 178, 229, 0.15), transparent 32%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.product-card:hover .product-image::after {
  opacity: 1;
}

.product-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.product-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 3, 4, 0.45), transparent 32%);
  pointer-events: none;
}

.badge {
  position: absolute;
  left: 15px;
  top: 15px;
  padding: 6px 8px;
  border: 1px solid rgba(174, 138, 198, 0.45);
  background: rgba(8, 8, 9, 0.78);
  color: #c7a9d8;
  font-size: 7px;
  letter-spacing: 0.18em;
}

.favorite {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 0;
  background: transparent;
  color: #aaa4ad;
  cursor: pointer;
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
}

.favorite.active {
  color: var(--violet-light);
}

.quick-add {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  height: 43px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(178, 139, 202, 0.42);
  background:
    linear-gradient(90deg, rgba(65, 40, 78, 0.92), rgba(13, 11, 15, 0.92));
  backdrop-filter: blur(12px);
  cursor: pointer;
  color: #eee9f0;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.94;
  transform: none;
  transition: 0.25s ease;
}

.product-card:hover .quick-add,
.quick-add:focus-visible {
  opacity: 1;
  transform: none;
}

.quick-add:hover {
  background: linear-gradient(90deg, #76518f, #986bb2);
  border-color: var(--violet);
  box-shadow: 0 10px 32px rgba(118, 74, 149, 0.42);
}

.product-info {
  min-height: 105px;
  padding: 18px 17px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(102, 59, 130, 0.05), transparent 55%),
    #080809;
}

.product-info h3 {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-info strong {
  font-size: 10px;
  font-weight: 400;
}

.product-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  color: #68636c;
  font-size: 7px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: right;
}

.empty-collection {
  padding: 70px 20px;
  text-align: center;
}

.empty-collection img {
  width: 80px;
  margin: 0 auto 16px;
  opacity: 0.35;
}

.brand-manifesto {
  min-height: 900px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.manifesto-mark {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(105, 65, 135, 0.32), transparent 45%),
    linear-gradient(145deg, #0d0c0f, #060607);
}

.manifesto-mark::before,
.manifesto-mark::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transform: rotate(45deg);
}

.manifesto-mark::after {
  inset: 22%;
  border-color: rgba(132, 86, 165, 0.16);
}

.manifesto-mark img {
  position: relative;
  z-index: 1;
  width: min(43vw, 520px);
  height: auto;
  filter:
    drop-shadow(0 0 24px rgba(255, 255, 255, 0.08))
    drop-shadow(0 0 70px rgba(137, 89, 171, 0.55));
  animation: monogram-breathe 6s ease-in-out infinite;
}

.manifesto-copy {
  padding: clamp(58px, 6vw, 104px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #09090a;
}

.manifesto-copy h2 {
  margin: 10px 0 30px;
  font-family: var(--serif);
  font-size: clamp(43px, 5.2vw, 76px);
  font-weight: 400;
  line-height: 0.96;
  text-transform: uppercase;
}

.manifesto-copy h2 em {
  color: #8f6aa7;
  font-weight: 400;
}

.manifesto-copy > p:not(.section-label) {
  max-width: 600px;
  margin: 0 0 24px;
  color: #a39da6;
  font-size: 12px;
  line-height: 1.9;
}

.brand-story {
  position: relative;
  max-width: 600px;
  margin: 2px 0 28px;
  padding: 22px 0 0 24px;
  display: grid;
  gap: 16px;
  border-top: 1px solid rgba(178, 139, 202, 0.2);
  border-left: 1px solid rgba(178, 139, 202, 0.48);
}

.brand-story::before {
  content: "✦";
  position: absolute;
  left: -5px;
  top: -6px;
  color: var(--violet-light);
  font-size: 10px;
  text-shadow: 0 0 14px rgba(178, 139, 202, 0.85);
}

.brand-story p {
  margin: 0;
  color: #817b84;
  font-size: 10px;
  line-height: 1.85;
}

.brand-creed {
  position: relative;
  max-width: 600px;
  margin: 0 0 34px;
  padding: 22px 26px 20px;
  border: 1px solid rgba(178, 139, 202, 0.22);
  background:
    radial-gradient(circle at 0 0, rgba(139, 91, 174, 0.18), transparent 47%),
    rgba(255, 255, 255, 0.014);
}

.brand-creed::after {
  content: "SR";
  position: absolute;
  right: 18px;
  top: 14px;
  color: rgba(178, 139, 202, 0.08);
  font-family: var(--serif);
  font-size: 54px;
  line-height: 1;
}

.brand-creed p {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: #ddd4e1;
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 27px);
  line-height: 1.25;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.brand-creed cite {
  color: #8d8490;
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.manifesto-copy > a {
  width: max-content;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--violet);
  color: #d7d0da;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.manifesto-copy > a span {
  margin-left: 20px;
}

.service-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.service-row article {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 55px clamp(28px, 4vw, 70px);
  border-right: 1px solid var(--line);
  transition: background 0.35s ease;
}

.service-row article::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #9c6ab8, transparent);
  box-shadow: 0 0 18px rgba(156, 106, 184, 0.8);
  transition: right 0.55s cubic-bezier(0.22, 0.72, 0.25, 1);
}

.service-row article:hover {
  background: linear-gradient(145deg, rgba(127, 91, 157, 0.1), transparent 60%);
}

.service-row article:hover::after {
  right: 0;
}

.service-row article:last-child {
  border-right: 0;
}

.service-row span {
  color: var(--violet);
  font-family: var(--serif);
  font-size: 20px;
}

.service-row h3 {
  margin: 34px 0 14px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  text-transform: uppercase;
}

.service-row p {
  margin: 0;
  color: #77727a;
  font-size: 10px;
  line-height: 1.7;
}

.inner-circle {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 73% 49%, rgba(102, 57, 132, 0.2), transparent 26%),
    linear-gradient(125deg, #09090a 0 48%, #070708 48% 100%);
}

.inner-circle::before {
  content: "PRIVATE";
  position: absolute;
  left: -22px;
  bottom: -45px;
  color: rgba(255, 255, 255, 0.018);
  font-family: var(--serif);
  font-size: clamp(150px, 18vw, 280px);
  line-height: 0.72;
  letter-spacing: -0.04em;
  pointer-events: none;
}

.inner-circle-thread {
  position: absolute;
  z-index: 3;
  left: 52.5%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(transparent, rgba(178, 139, 202, 0.2) 12%, #9b6db7 50%, rgba(178, 139, 202, 0.2) 88%, transparent);
  box-shadow: 0 0 22px rgba(139, 91, 174, 0.55);
}

.inner-circle-thread i,
.inner-circle-thread span {
  position: absolute;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.inner-circle-thread i {
  top: 31%;
  width: 7px;
  height: 7px;
  background: #d7c4e2;
  box-shadow: 0 0 0 6px rgba(139, 91, 174, 0.1), 0 0 30px #8b5bae;
  animation: thread-travel 5s ease-in-out infinite;
}

.inner-circle-thread span {
  top: 72%;
  width: 3px;
  height: 3px;
  background: #8b5bae;
  box-shadow: 0 0 18px #8b5bae;
}

.inner-circle-copy {
  position: relative;
  z-index: 4;
  align-self: center;
  padding: clamp(80px, 9vw, 145px) clamp(48px, 7.5vw, 120px);
}

.inner-circle-copy h2 {
  max-width: 700px;
  margin: 10px 0 30px;
  font-family: var(--serif);
  font-size: clamp(54px, 5.2vw, 82px);
  font-weight: 400;
  line-height: 0.86;
  text-transform: uppercase;
}

.inner-circle-copy h2 em {
  color: #9570ac;
  font-weight: 400;
  text-shadow: 0 0 42px rgba(139, 91, 174, 0.18);
}

.inner-circle-lead {
  max-width: 520px;
  margin: 0 0 42px;
  color: #87818a;
  font-size: 11px;
  line-height: 1.9;
}

.newsletter-form {
  width: min(560px, 100%);
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 1px solid #6b6570;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.newsletter-form:focus-within {
  border-color: var(--violet-light);
  box-shadow: 0 12px 30px -25px rgba(178, 139, 202, 0.85);
}

.newsletter-form input {
  min-width: 0;
  height: 60px;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.newsletter-form input::placeholder {
  color: #5e5962;
}

.newsletter-form button {
  height: 42px;
  padding: 0 2px 0 22px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  cursor: pointer;
  color: #cfb9dc;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.2s, padding 0.2s;
}

.newsletter-form button:hover {
  padding-right: 6px;
  color: white;
}

.newsletter-form button span {
  margin-left: 16px;
}

.inner-circle-note {
  margin: 18px 0 0;
  color: #514c55;
  font-size: 7px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.inner-circle-note span {
  margin-right: 8px;
  color: #8b5bae;
}

.inner-circle-visual {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.access-orbit {
  position: absolute;
  width: min(42vw, 580px);
  aspect-ratio: 1;
  border: 1px solid rgba(178, 139, 202, 0.12);
  transform: rotate(45deg);
  animation: orbit-breathe 7s ease-in-out infinite;
}

.access-orbit::before,
.access-orbit::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(255, 255, 255, 0.035);
}

.access-orbit::after {
  inset: 31%;
  border-color: rgba(139, 91, 174, 0.14);
}

.access-card {
  --card-rotate-x: 0deg;
  --card-rotate-y: -7deg;
  --card-shine-x: 50%;
  --card-shine-y: 35%;
  position: relative;
  z-index: 2;
  width: min(32vw, 455px);
  aspect-ratio: 1.58;
  overflow: hidden;
  padding: clamp(22px, 2.4vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(220, 197, 233, 0.3);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 20% 70%, rgba(150, 92, 186, 0.13)),
    linear-gradient(145deg, #1a141e, #0c0b0e 58%, #17101c);
  box-shadow:
    0 45px 90px rgba(0, 0, 0, 0.52),
    0 0 60px rgba(103, 57, 132, 0.16),
    inset 0 1px rgba(255, 255, 255, 0.08);
  transform: rotateX(var(--card-rotate-x)) rotateY(var(--card-rotate-y)) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, box-shadow 0.3s;
}

.access-card:hover {
  box-shadow:
    0 55px 110px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(116, 66, 149, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.11);
}

.access-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  pointer-events: none;
}

.access-card::after {
  content: "SAINT RUSSIA · PRIVATE CIRCLE · THE VIOLET THREAD";
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 16px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.045);
  font-size: 5px;
  letter-spacing: 0.42em;
  white-space: nowrap;
}

.access-card-shine {
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at var(--card-shine-x) var(--card-shine-y), rgba(255, 255, 255, 0.17), transparent 27%);
  pointer-events: none;
}

.access-card-top,
.access-card-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: #8f8893;
  font-size: 6px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.access-card-top i {
  color: #b493c7;
  font-style: normal;
}

.access-card > img {
  position: relative;
  z-index: 2;
  width: min(78%, 285px);
  height: auto;
  align-self: center;
  filter:
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.07))
    drop-shadow(0 0 24px rgba(139, 91, 174, 0.25));
}

.access-card-thread {
  position: relative;
  z-index: 2;
  height: 1px;
  margin: 0 0 3px;
  background: linear-gradient(90deg, transparent, #8b5bae 12% 88%, transparent);
  box-shadow: 0 0 12px rgba(139, 91, 174, 0.7);
}

.access-card-thread span {
  position: absolute;
  left: 70%;
  top: 50%;
  width: 5px;
  height: 5px;
  border: 1px solid #cab1d8;
  background: #1a121e;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 15px #8b5bae;
}

.access-card-bottom {
  padding-top: 4px;
}

.access-card-bottom div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.access-card-bottom div:last-child {
  align-items: flex-end;
}

.access-card-bottom small {
  color: #5f5963;
  font-size: 5px;
}

.access-card-bottom strong {
  color: #d9d2dc;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.access-caption {
  position: absolute;
  bottom: 74px;
  width: min(32vw, 455px);
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  color: #5b555f;
  font-size: 6px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.access-caption i {
  height: 1px;
  background: linear-gradient(90deg, #48364f, transparent);
}

.access-caption b {
  color: #80678e;
  font-weight: 500;
}

@keyframes thread-travel {
  0%, 100% { top: 23%; opacity: 0.45; }
  50% { top: 78%; opacity: 1; }
}

@keyframes orbit-breathe {
  0%, 100% { opacity: 0.55; transform: rotate(45deg) scale(0.96); }
  50% { opacity: 1; transform: rotate(45deg) scale(1.02); }
}

footer {
  padding: 65px clamp(24px, 5vw, 72px) 24px;
  border-top: 1px solid var(--line);
  background: #050506;
}

.footer-top {
  padding-bottom: 65px;
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-logo img {
  width: min(170px, 46vw);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.06))
    drop-shadow(0 0 34px rgba(128, 87, 161, 0.3));
}

.footer-logo span {
  color: #c9c2cc;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.24em;
}

.footer-logo small {
  color: #77717b;
  font-size: 7px;
  letter-spacing: 0.19em;
  text-align: center;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 55px;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links strong {
  margin-bottom: 7px;
  color: #a5a0a8;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links a {
  color: #6f6a72;
  font-size: 9px;
}

.footer-links a:hover {
  color: var(--paper);
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #4c484f;
  font-size: 7px;
  letter-spacing: 0.15em;
}

.cart-drawer {
  position: fixed;
  z-index: 101;
  right: 0;
  top: 0;
  width: min(460px, 100%);
  height: 100dvh;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 15%, rgba(107, 62, 136, 0.16), transparent 32%),
    #0b0b0d;
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cart-open .cart-drawer {
  transform: none;
}

.overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
}

.cart-head {
  padding-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 400;
  text-transform: uppercase;
}

.cart-head h2 span {
  color: var(--violet-light);
  font-family: var(--sans);
  font-size: 9px;
  vertical-align: top;
}

.cart-close {
  border: 0;
  background: transparent;
  color: #aaa5ad;
  cursor: pointer;
  font-size: 30px;
  font-weight: 200;
}

.cart-items {
  flex: 1;
  overflow: auto;
}

.cart-item {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 84px;
  height: 104px;
  object-fit: cover;
  background: #131316;
}

.cart-item h3 {
  margin: 8px 0 8px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-item p {
  margin: 0 0 14px;
  color: #77727a;
  font-size: 8px;
}

.quantity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quantity button,
.remove-item {
  border: 1px solid var(--line);
  background: transparent;
  color: #aaa5ad;
  cursor: pointer;
}

.quantity button {
  width: 25px;
  height: 25px;
}

.remove-item {
  align-self: start;
  margin-top: 6px;
  border: 0;
  font-size: 18px;
}

.cart-empty {
  flex: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  text-align: center;
}

.cart-empty[hidden],
.cart-total[hidden] {
  display: none !important;
}

.cart-empty img {
  width: 118px;
  opacity: 0.7;
  filter: drop-shadow(0 0 30px rgba(131, 80, 164, 0.35));
}

.cart-empty h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  text-transform: uppercase;
}

.cart-continue {
  padding: 12px 18px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cart-total {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.cart-total > div {
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  font-family: var(--serif);
  font-size: 24px;
  text-transform: uppercase;
}

.checkout-button {
  width: 100%;
  height: 50px;
  border: 0;
  background: linear-gradient(90deg, #76518f, #986bb2);
  color: white;
  cursor: pointer;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.checkout-button:hover,
.checkout-submit:hover {
  box-shadow: 0 12px 36px rgba(118, 74, 149, 0.38);
  filter: brightness(1.08);
}

.checkout-button:disabled,
.checkout-submit:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.cart-payment-note {
  margin: 11px 0 0;
  color: #6f6a72;
  font-size: 7px;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.checkout-modal {
  position: fixed;
  z-index: 103;
  left: 50%;
  top: 50%;
  width: min(720px, calc(100% - 30px));
  max-height: calc(100dvh - 30px);
  padding: clamp(24px, 4vw, 42px);
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 50% 0%, rgba(111, 67, 141, 0.18), transparent 42%),
    #0b0b0d;
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.7);
  transform: translate(-50%, -50%);
}

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

.checkout-head {
  padding-bottom: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.checkout-head p {
  margin: 0 0 7px;
  color: var(--violet-light);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.checkout-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.checkout-close {
  padding: 0;
  border: 0;
  background: transparent;
  color: #aaa5ad;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.checkout-demo-note {
  margin: 20px 0;
  padding: 12px 14px;
  border: 1px solid rgba(178, 139, 202, 0.35);
  background: rgba(128, 91, 156, 0.08);
  color: #b9aebe;
  font-size: 9px;
  line-height: 1.65;
}

.checkout-form {
  display: grid;
  gap: 16px;
}

.checkout-fields-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 16px;
}

.checkout-field {
  display: grid;
  gap: 7px;
}

.checkout-field > span {
  color: #aaa4ad;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.checkout-field input,
.checkout-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  outline: 0;
  background: #08080a;
  color: var(--paper);
  transition: border-color 0.2s;
}

.checkout-field input {
  min-height: 46px;
  padding: 0 13px;
}

.checkout-field textarea {
  min-height: 82px;
  padding: 13px;
  resize: vertical;
}

.checkout-field input:focus,
.checkout-field textarea:focus {
  border-color: var(--violet);
}

.checkout-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.checkout-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #8f8992;
  font-size: 9px;
  line-height: 1.55;
}

.checkout-check input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--violet);
}

.checkout-summary {
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 23px;
  text-transform: uppercase;
}

.checkout-error {
  margin: 0;
  padding: 11px 13px;
  border: 1px solid rgba(184, 92, 104, 0.45);
  background: rgba(184, 92, 104, 0.08);
  color: #e2a0aa;
  font-size: 9px;
  line-height: 1.55;
}

.checkout-submit {
  min-height: 50px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: var(--violet);
  color: #fff;
  cursor: pointer;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 28px;
  max-width: calc(100% - 30px);
  padding: 13px 20px;
  border: 1px solid rgba(165, 119, 196, 0.5);
  background: rgba(17, 13, 20, 0.96);
  color: #eee8f1;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.45);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.motion-magnetic {
  --magnetic-x: 0px;
  --magnetic-y: 0px;
  transform: translate3d(var(--magnetic-x), var(--magnetic-y), 0);
  transition:
    transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  will-change: transform;
}

body.motion-ready .motion-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 0.72, 0.25, 1) var(--reveal-delay, 0ms),
    transform 0.85s cubic-bezier(0.22, 0.72, 0.25, 1) var(--reveal-delay, 0ms);
}

body.motion-ready .motion-reveal.motion-reveal-left {
  transform: translateX(-38px);
}

body.motion-ready .motion-reveal.motion-reveal-right {
  transform: translateX(38px);
}

body.motion-ready .motion-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

body.motion-ready .hero-content h1 {
  animation: hero-rise 1s cubic-bezier(0.22, 0.72, 0.25, 1) 0.34s both;
}

body.motion-ready .hero-kicker {
  animation: hero-rise 0.9s cubic-bezier(0.22, 0.72, 0.25, 1) 0.48s both;
}

body.motion-ready .hero-line {
  animation: hero-line-open 1.05s cubic-bezier(0.22, 0.72, 0.25, 1) 0.62s both;
}

body.motion-ready .hero-content .outline-button {
  animation: hero-rise 0.85s cubic-bezier(0.22, 0.72, 0.25, 1) 0.78s both;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.97);
  }
}

@keyframes violet-thread-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes violet-thread-travel {
  0% { opacity: 0; stroke-dashoffset: 0.08; }
  8%, 90% { opacity: 1; }
  100% { opacity: 0; stroke-dashoffset: -0.92; }
}

@keyframes metal-sheen {
  0%, 24% {
    background-position: 150% 0;
    opacity: 0;
  }
  43% {
    opacity: 0.72;
  }
  62%, 100% {
    background-position: -150% 0;
    opacity: 0;
  }
}

@keyframes monogram-breathe {
  0%, 100% {
    transform: translateY(0) scale(0.985);
    filter:
      drop-shadow(0 0 24px rgba(255, 255, 255, 0.07))
      drop-shadow(0 0 58px rgba(137, 89, 171, 0.42));
  }
  50% {
    transform: translateY(-8px) scale(1.015);
    filter:
      drop-shadow(0 0 28px rgba(255, 255, 255, 0.11))
      drop-shadow(0 0 82px rgba(137, 89, 171, 0.62));
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes hero-line-open {
  from {
    opacity: 0;
    transform: scaleX(0.18);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes hero-fog-drift {
  from {
    opacity: 0.35;
    transform: translate3d(-3%, -2%, 0) scale(0.96);
  }
  to {
    opacity: 0.72;
    transform: translate3d(22%, 7%, 0) scale(1.08);
  }
}

@keyframes hero-fog-drift-reverse {
  from {
    opacity: 0.25;
    transform: translate3d(6%, 0, 0) scale(1.02);
  }
  to {
    opacity: 0.62;
    transform: translate3d(-19%, 9%, 0) scale(0.94);
  }
}

@keyframes hero-reflection-pulse {
  0%, 100% {
    opacity: 0.28;
    transform: translateX(-3%) skewX(-14deg) scaleX(0.92);
  }
  50% {
    opacity: 0.72;
    transform: translateX(3%) skewX(-14deg) scaleX(1.04);
  }
}

@media (max-width: 900px) {
  .page-thread {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto 1fr;
    height: 66px;
  }

  .menu-button {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    display: block;
  }

  .menu-button span {
    position: absolute;
    left: 0;
    width: 19px;
    height: 1px;
    background: #d8d4da;
    transition: 0.2s;
  }

  .menu-button span:first-child {
    top: 10px;
  }

  .menu-button span:last-child {
    top: 17px;
  }

  .site-header.menu-open .menu-button span:first-child {
    top: 14px;
    transform: rotate(45deg);
  }

  .site-header.menu-open .menu-button span:last-child {
    top: 14px;
    transform: rotate(-45deg);
  }

  .brand-mark {
    justify-self: center;
  }

  .brand-mark img {
    width: 54px;
    height: 54px;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 66px;
    max-height: calc(100dvh - 90px);
    padding: 16px 28px 28px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: #09090a;
  }

  .site-header.menu-open .nav {
    display: flex;
  }

  .nav-group {
    min-height: 0;
    display: block;
    border-bottom: 1px solid var(--line);
  }

  .nav-primary {
    padding: 18px 0;
    display: block;
  }

  .nav-primary::after {
    bottom: 11px;
  }

  .nav-dropdown {
    position: static;
    width: auto;
    padding: 3px 0 18px 18px;
    gap: 11px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown > span {
    width: fit-content;
    padding: 0 0 7px;
  }

  .search-button,
  .user-button {
    display: none;
  }

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

  .brand-manifesto {
    grid-template-columns: 1fr;
  }

  .manifesto-mark {
    min-height: 520px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .manifesto-mark img {
    width: min(72vw, 460px);
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .service-row article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .footer-top {
    flex-direction: column;
  }

  .inner-circle {
    grid-template-columns: 1fr;
    background:
      radial-gradient(circle at 50% 72%, rgba(102, 57, 132, 0.2), transparent 26%),
      #080809;
  }

  .inner-circle-thread {
    left: 28px;
    opacity: 0.55;
  }

  .inner-circle-copy {
    padding: 90px 72px 45px;
  }

  .inner-circle-visual {
    min-height: 590px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .access-orbit {
    width: min(72vw, 540px);
  }

  .access-card,
  .access-caption {
    width: min(68vw, 455px);
  }
}

@media (max-width: 700px) {
  .home-page .brand-mark {
    transform: none;
  }

  .home-page .brand-mark img {
    width: 52px;
    height: 52px;
  }

  .home-page .brand-mark::after {
    inset: 5px;
  }

  .home-page .dark-hero {
    min-height: calc(100svh - 66px);
    height: auto;
  }

  .home-page .hero-texture {
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: contrast(1.05) saturate(0.78) brightness(0.72);
  }

  .home-page .dark-hero::after {
    display: block;
    background:
      linear-gradient(90deg, rgba(2, 2, 3, 0.36), transparent 22% 78%, rgba(2, 2, 3, 0.4)),
      linear-gradient(0deg, rgba(2, 2, 3, 0.7), transparent 42%, rgba(3, 3, 4, 0.28));
  }

  .home-page .hero-aura,
  .home-page .violet-thread-field {
    display: block;
  }

  .home-page .violet-thread-field {
    opacity: 0.28;
  }

  .home-page .hero-content {
    position: relative;
    inset: auto;
    width: min(92vw, 620px);
    padding: 65px 18px 42px;
    pointer-events: auto;
  }

  .home-page .hero-content h1,
  .home-page .hero-kicker,
  .home-page .hero-line {
    visibility: visible;
  }

  .home-page .outline-button {
    position: static;
    min-width: 220px;
    height: 46px;
    border-color: rgba(137, 103, 154, 0.58);
    background: rgba(4, 4, 5, 0.5);
    color: #d8d1da;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 600px) {
  .announcement {
    height: 24px;
    font-size: 7px;
  }

  .site-header {
    padding: 0 18px;
  }

  .dark-hero {
    min-height: calc(100svh - 90px);
  }

  .hero-emblem {
    width: min(42vw, 170px);
  }

  .hero-logo {
    width: 100%;
    height: auto;
  }

  .brand-mark img {
    width: 50px;
    height: 50px;
  }

  .hero-content h1 {
    font-size: clamp(44px, 13vw, 64px);
    letter-spacing: 0.04em;
  }

  .hero-line {
    width: 84vw;
    gap: 12px;
  }

  .outline-button {
    min-width: 220px;
  }

  .hero-side-note,
  .hero-scroll {
    display: none;
  }

  .catalog {
    padding: 75px 12px 90px;
  }

  .section-title {
    grid-template-columns: 1fr auto;
  }

  .section-title > div {
    display: none;
  }

  .section-title h2 {
    font-size: 38px;
  }

  .filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .quick-add {
    opacity: 1;
    transform: none;
  }

  .manifesto-mark {
    min-height: 430px;
  }

  .manifesto-mark img {
    width: min(84vw, 350px);
  }

  .manifesto-copy {
    padding: 65px 28px;
  }

  .brand-story {
    padding-left: 18px;
  }

  .brand-creed {
    padding: 20px;
  }

  .service-row article {
    padding: 42px 28px;
  }

  .inner-circle-copy {
    padding: 78px 24px 38px 42px;
  }

  .inner-circle-copy h2 {
    font-size: clamp(50px, 16vw, 68px);
  }

  .inner-circle-lead {
    margin-bottom: 30px;
  }

  .newsletter-form button {
    padding-left: 14px;
    letter-spacing: 0.1em;
  }

  .newsletter-form button span {
    margin-left: 8px;
  }

  .inner-circle-visual {
    min-height: 500px;
  }

  .access-orbit {
    width: min(92vw, 440px);
  }

  .access-card {
    width: calc(100vw - 52px);
    padding: 22px;
    transform: none;
  }

  .access-card > img {
    width: min(78%, 245px);
  }

  .access-caption {
    bottom: 46px;
    width: calc(100vw - 52px);
  }

  footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .footer-bottom {
    gap: 20px;
  }

  .cart-drawer {
    padding: 22px;
  }

  .checkout-modal {
    width: calc(100% - 18px);
    max-height: calc(100dvh - 18px);
    padding: 22px 18px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .hero-texture,
  .hero-aura,
  .hero-emblem,
  .motion-magnetic,
  body.motion-ready .motion-reveal,
  body.motion-ready .motion-reveal.motion-reveal-left,
  body.motion-ready .motion-reveal.motion-reveal-right {
    transform: none !important;
  }

  body.motion-ready .motion-reveal {
    opacity: 1 !important;
  }

  .violet-thread-line {
    stroke-dashoffset: 0;
  }

  .violet-thread-spark,
  .hero-logo-sheen,
  .brand-mark::after {
    display: none;
  }
}
