/* Sansar — design tokens, reset, typography, buttons, forms */
:root {
  --bordeaux: #541f2f;
  --bordeaux-deep: #3a1520;
  --velvet: #8e1c22;
  --velvet-bright: #b0262c;
  --cream: #f4eee4;
  --cream-2: #ebe3d6;
  --stone: #eaeae5;
  --sand: #d9cbb6;
  --gold: #b08d57;
  --ink: #1d1517;
  --ink-2: #4a3d40;
  --muted: #85777a;
  --line: rgba(84, 31, 47, .14);
  --line-strong: rgba(84, 31, 47, .3);
  --white: #fffdf9;
  --ok: #3f6b4a;
  --danger: #a3262c;

  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --radius: 2px;
  --radius-lg: 18px;
  --shadow: 0 30px 60px -30px rgba(58, 21, 32, .35);
  --shadow-sm: 0 10px 30px -18px rgba(58, 21, 32, .4);
  --ease: cubic-bezier(.22, .9, .3, 1);
  --container: 1440px;
  --gutter: clamp(18px, 4vw, 56px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.locked { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }
::selection { background: var(--bordeaux); color: var(--cream); }
:focus-visible { outline: 2px solid var(--velvet); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Typography */
.display, h1, h2, h3 { font-family: var(--f-display); font-weight: 400; letter-spacing: -.01em; line-height: 1.02; }
.h-xxl { font-size: clamp(56px, 9.5vw, 156px); line-height: .9; letter-spacing: -.025em; }
.h-xl { font-size: clamp(44px, 6.4vw, 104px); line-height: .95; letter-spacing: -.02em; }
.h-lg { font-size: clamp(36px, 4.4vw, 68px); }
.h-md { font-size: clamp(28px, 3vw, 44px); }
.h-sm { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
.italic, em.i { font-style: italic; }
.eyebrow {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--bordeaux);
}
.eyebrow.light { color: var(--sand); }
.lead { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.7; color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 11px; letter-spacing: .08em; }
.upper { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 500; }
.center { text-align: center; }
.price { font-family: var(--f-sans); font-weight: 500; letter-spacing: .02em; }

/* Buttons */
.btn {
  --bg: var(--bordeaux); --fg: var(--cream);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 34px;
  background: var(--bg); color: var(--fg);
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  border: 1px solid var(--bg); border-radius: var(--radius);
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--velvet);
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--velvet); }
.btn:active { transform: scale(.985); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-light { --bg: var(--cream); --fg: var(--bordeaux); }
.btn-light:hover { color: var(--cream); }
.btn-ghost { --bg: transparent; --fg: var(--bordeaux); border-color: var(--bordeaux); }
.btn-ghost:hover { color: var(--cream); }
.btn-ghost.light { --fg: var(--cream); border-color: rgba(244, 238, 228, .6); }
.btn-ghost.light::before { background: var(--cream); }
.btn-ghost.light:hover { color: var(--bordeaux); border-color: var(--cream); }
.btn-block { width: 100%; }
.btn-sm { min-height: 42px; padding: 0 22px; font-size: 11px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.link {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  padding-bottom: 6px;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: right; transition: transform .6s var(--ease);
}
.link:hover::after { transform: scaleX(0); transform-origin: right; animation: link-in .6s .25s var(--ease) forwards; }
@keyframes link-in { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }
.link .arrow { transition: transform .4s var(--ease); }
.link:hover .arrow { transform: translateX(5px); }

.icon-btn {
  position: relative; width: 42px; height: 42px;
  display: inline-grid; place-items: center; border-radius: 50%;
  transition: background .3s;
}
.icon-btn:hover { background: rgba(84, 31, 47, .07); }
.icon-btn svg { width: 21px; height: 21px; }

/* Forms */
.field { position: relative; display: block; }
.field + .field { margin-top: 14px; }
.field label, .label {
  display: block; margin-bottom: 7px;
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 15px; outline: none; transition: border-color .3s, box-shadow .3s;
  appearance: none;
}
.textarea { min-height: 140px; resize: vertical; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23541f2f' stroke-width='1.4'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--bordeaux); box-shadow: 0 0 0 3px rgba(84, 31, 47, .1); }
.input.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(163, 38, 44, .1); }
.input::placeholder { color: #a99c9c; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2 .field + .field, .grid-3 .field + .field { margin-top: 0; }

.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; line-height: 1.5; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box {
  flex: none; width: 20px; height: 20px; margin-top: 1px;
  border: 1px solid var(--line-strong); background: var(--white); border-radius: 2px;
  display: grid; place-items: center; transition: all .25s;
}
.check .box::after {
  content: ""; width: 10px; height: 6px; border: 1.6px solid var(--cream);
  border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .25s var(--ease);
}
.check input:checked + .box { background: var(--bordeaux); border-color: var(--bordeaux); }
.check input:checked + .box::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input:focus-visible + .box { outline: 2px solid var(--velvet); outline-offset: 2px; }

.qty {
  display: inline-flex; align-items: center; height: 44px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white);
}
.qty button { width: 40px; height: 100%; display: grid; place-items: center; font-size: 18px; color: var(--bordeaux); }
.qty button:hover { background: var(--cream-2); }
.qty span { min-width: 30px; text-align: center; font-weight: 500; }
.qty.sm { height: 36px; }
.qty.sm button { width: 32px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px;
  font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  background: var(--cream); color: var(--bordeaux); border-radius: 30px;
}
.tag.dark { background: var(--bordeaux); color: var(--cream); }
.tag.red { background: var(--velvet); color: var(--cream); }
.tag.out { background: var(--ink); color: var(--cream); }

hr.rule { border: 0; height: 1px; background: var(--line); margin: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }
.img-reveal { overflow: hidden; }
.img-reveal img { transform: scale(1.15); transition: transform 1.8s var(--ease); }
.img-reveal.in img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  body { font-size: 14px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-2.keep { grid-template-columns: 1fr 1fr; }
  .btn { min-height: 52px; padding: 10px 22px; white-space: normal; text-align: center; line-height: 1.4; letter-spacing: .16em; }
}
