:root {
  --green-950: #08170f;
  --green-900: #0c2219;
  --green-800: #123326;
  --green-700: #1f4d3a;
  --cream: #f6efe3;
  --cream-2: #ece2cf;
  --paper: #fbf7f0;
  --red: #b3262e;
  --red-dark: #8c1b23;
  --gold: #d4ae62;
  --gold-soft: #ead39f;
  --ink: #15211b;
  --muted: #5e6b63;
  --radius: 22px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream);
  -webkit-font-smoothing: antialiased; line-height: 1.55;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn-gold { background: var(--gold); color: var(--green-950); box-shadow: 0 10px 30px -10px rgba(212,174,98,.7); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border: 1.5px solid rgba(246,239,227,.35); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(246,239,227,.08); }
.btn-dark { background: var(--green-900); color: var(--cream); }
.btn-dark:hover { background: var(--green-700); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-block { width: 100%; }

/* ---------- announcement ---------- */
.announce { background: var(--red); color: #fff; overflow: hidden; font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.announce-track { display: flex; gap: 56px; width: max-content; padding: 9px 0; animation: marquee 32s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(12,34,25,.0); transition: background .3s, box-shadow .3s, backdrop-filter .3s; margin-bottom: -76px; }
.header.scrolled { background: rgba(12,34,25,.82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; color: var(--cream); }
.logo { font-family: var(--serif); font-size: 30px; font-style: italic; font-weight: 600; letter-spacing: -0.03em; display: flex; align-items: center; gap: 8px; }
.logo-flake { width: 20px; color: var(--gold); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.nav { display: flex; gap: 34px; font-size: 14px; font-weight: 500; }
.nav a { opacity: .82; position: relative; }
.nav a:hover { opacity: 1; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.bag-btn { display: flex; align-items: center; gap: 8px; padding: 9px 14px 9px 12px; border-radius: 999px; border: 1px solid rgba(246,239,227,.25); font-size: 14px; font-weight: 500; transition: background .2s; }
.bag-btn:hover { background: rgba(246,239,227,.1); }
.bag-btn svg { width: 20px; }
.bag-count { min-width: 22px; height: 22px; border-radius: 999px; background: var(--gold); color: var(--green-950); font-size: 12px; font-weight: 700; display: grid; place-items: center; padding: 0 6px; }
.bag-btn.bump .bag-count { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--cream);
  background:
    radial-gradient(900px 500px at 80% 20%, rgba(212,174,98,.16), transparent 60%),
    radial-gradient(700px 600px at 10% 90%, rgba(179,38,46,.22), transparent 60%),
    linear-gradient(180deg, var(--green-900), var(--green-950));
  padding: 150px 0 140px;
}
#snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 26px; padding: 8px 14px; border: 1px solid rgba(212,174,98,.3); border-radius: 999px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(179,38,46,.3); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(179,38,46,0); } }
.hero h1 { font-size: clamp(48px, 7vw, 96px); }
.lead { font-size: 18px; max-width: 470px; color: rgba(246,239,227,.75); margin: 26px 0 34px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.countdown { margin-top: 48px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.countdown-label { margin: 0; font-family: var(--serif); font-style: italic; font-size: 18px; color: rgba(246,239,227,.7); }
.countdown-units { display: flex; gap: 10px; }
.countdown-units div { min-width: 64px; padding: 10px 8px; border-radius: 14px; background: rgba(246,239,227,.06); border: 1px solid rgba(246,239,227,.1); text-align: center; }
.countdown-units b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown-units span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }

.hero-visual { position: relative; height: 600px; }
.arch { position: absolute; overflow: hidden; border-radius: 999px 999px 28px 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); border: 6px solid rgba(246,239,227,.08); }
.arch svg { width: 100%; height: 100%; }
.arch-a { width: 58%; height: 86%; left: 0; top: 0; animation: float 7s ease-in-out infinite; }
.arch-b { width: 50%; height: 68%; right: 0; bottom: 0; animation: float 7s ease-in-out -3.5s infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.badge-round { position: absolute; left: 48%; top: 54%; width: 120px; height: 120px; display: grid; place-items: center; color: var(--green-950); background: var(--gold); border-radius: 50%; z-index: 3; box-shadow: 0 20px 40px -15px rgba(0,0,0,.6); }
.badge-round svg { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.badge-round span { font-size: 26px; }
.hero-tag { position: absolute; left: 6%; bottom: 3%; z-index: 3; background: var(--cream); color: var(--ink); border-radius: 16px; padding: 12px 16px; display: flex; flex-direction: column; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); }
.hero-tag-k { font-family: var(--serif); font-style: italic; font-size: 18px; }
.hero-tag-v { font-size: 13px; color: var(--muted); }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 80px; z-index: 2; }

/* ---------- sections ---------- */
.section { padding: 110px 0; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; }
.section h2 { font-size: clamp(36px, 4.6vw, 60px); }
.section h2 em { color: var(--red); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }
.section-sub { max-width: 340px; margin: 0; color: rgba(246,239,227,.65); }

/* tabs */
.tabs { position: relative; display: flex; padding: 4px; background: var(--cream-2); border-radius: 999px; }
.tab { position: relative; z-index: 1; padding: 10px 22px; font-size: 14px; font-weight: 600; color: var(--muted); border-radius: 999px; transition: color .25s; }
.tab.is-active { color: var(--cream); }
.tab-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; background: var(--green-900); border-radius: 999px; transition: transform .4s var(--ease), width .4s var(--ease); }

/* product grid */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 26px; transition: opacity .18s, transform .18s; }
.products.is-swapping { opacity: 0; transform: translateY(8px); }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 20px 40px -30px rgba(12,34,25,.4); transition: transform .4s var(--ease), box-shadow .4s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(12,34,25,.5); }
.card-media { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(160deg, #f1e8d8, #e4d7bf); overflow: hidden; }
.card-media .layer { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.card-media .flat { padding: 12% 10%; }
.card-media .flat svg { width: 100%; height: auto; }
.card-media .model { opacity: 0; transform: scale(1.06); }
.card-media .model svg { width: 100%; height: 100%; }
.card:hover .model, .card.show-model .model { opacity: 1; transform: scale(1); }
.card:hover .flat, .card.show-model .flat { opacity: 0; transform: scale(.96); }
.card-tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.view-toggle { position: absolute; z-index: 2; right: 14px; bottom: 14px; background: rgba(251,247,240,.9); backdrop-filter: blur(6px); font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 999px; }
.card-body { padding: 20px 20px 22px; }
.card-top { display: flex; justify-content: space-between; gap: 12px; }
.card-fit { margin: 0 0 4px; font-size: 12px; color: var(--muted); font-weight: 500; }
.card h3 { font-size: 24px; }
.price { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.swatches { display: flex; align-items: center; gap: 8px; margin: 16px 0 14px; }
.swatch { width: 26px; height: 26px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .2s, transform .2s; }
.swatch:hover { transform: scale(1.1); }
.swatch.is-on { outline-color: var(--ink); }
.swatch-name { font-size: 13px; color: var(--muted); margin-left: 4px; }
.sizes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 16px; }
.size { padding: 8px 0; font-size: 12px; font-weight: 600; border-radius: 10px; border: 1px solid rgba(21,33,27,.15); transition: all .2s; }
.size:hover { border-color: var(--ink); }
.size.is-on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.card.need-size .sizes { animation: shake .45s; }
.card.need-size .size { border-color: var(--red); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* design story */
.designs { background: var(--paper); }
.design-rows { margin-top: 70px; display: grid; gap: 90px; }
.design-row { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.design-row.reverse .design-swatch { order: 2; }
.design-swatch { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; box-shadow: 0 40px 70px -40px rgba(12,34,25,.6); }
.design-swatch svg { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.design-row:hover .design-swatch svg { transform: scale(1.05) rotate(-1deg); }
.design-num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--red); }
.design-text h3 { font-size: clamp(38px, 4vw, 54px); margin: 10px 0 18px; }
.design-text p { font-size: 17px; color: var(--muted); max-width: 460px; }
.chips { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.chips li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--cream-2); }
.link-arrow { font-weight: 600; border-bottom: 1.5px solid var(--ink); padding-bottom: 3px; }
.link-arrow:hover { color: var(--red); border-color: var(--red); }

/* lookbook */
.lookbook { background: var(--green-900); color: var(--cream); position: relative; overflow: hidden; }
.lookbook::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 400px at 90% 0%, rgba(212,174,98,.12), transparent 70%); }
.lookbook .container { position: relative; }
.lookbook h2 em { color: var(--gold); }
.lookbook .kicker { color: var(--gold); }
.looks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.look { margin: 0; }
.look:nth-child(even) { margin-top: 60px; }
.look-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
.look-img svg { width: 100%; height: 100%; transition: transform .9s var(--ease); }
.look:hover .look-img svg { transform: scale(1.06); }
.look figcaption { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 17px; }
.look figcaption span { display: block; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }

/* features */
.features { padding: 70px 0; border-bottom: 1px solid rgba(21,33,27,.08); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature svg { width: 36px; color: var(--red); margin-bottom: 14px; }
.feature h4 { margin: 0 0 4px; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

/* newsletter */
.newsletter { padding: 90px 0; }
.news-inner { background: linear-gradient(120deg, var(--red-dark), var(--red)); color: #fff; border-radius: 32px; padding: 60px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.news-inner::after { content: '✦  ❄  ✦  ❄'; position: absolute; right: 40px; top: 20px; font-size: 22px; letter-spacing: 12px; opacity: .25; }
.news-inner h2 { font-size: clamp(34px, 4vw, 52px); }
.news-inner h2 em { color: var(--gold-soft); }
.news-inner p { opacity: .85; margin: 14px 0 0; max-width: 440px; }
.news-form { display: flex; gap: 8px; background: rgba(255,255,255,.12); padding: 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); }
.news-form input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font: inherit; padding: 0 18px; }
.news-form input::placeholder { color: rgba(255,255,255,.6); }
.news-form .btn { background: var(--cream); color: var(--red-dark); }

/* footer */
.footer { background: var(--green-950); color: rgba(246,239,227,.7); padding: 70px 0 50px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.logo.light { color: var(--cream); }
.footer-note { margin-top: 14px; }
.footer h5 { margin: 0 0 14px; color: var(--cream); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.footer a:not(.logo) { display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--gold); }

/* ---------- drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(8,23,15,.5); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 50; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100%); background: var(--paper); z-index: 60; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: -30px 0 60px -30px rgba(0,0,0,.4); }
.bag-open .overlay { opacity: 1; pointer-events: auto; }
.bag-open .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 24px 26px 12px; }
.drawer-head h3 { font-size: 30px; font-style: italic; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; background: var(--cream-2); }
.ship-progress { padding: 6px 26px 18px; border-bottom: 1px solid rgba(0,0,0,.07); }
.ship-progress p { margin: 0 0 8px; font-size: 13px; }
.bar { height: 6px; border-radius: 99px; background: var(--cream-2); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--gold)); transition: width .5s var(--ease); }
.drawer-items { flex: 1; overflow-y: auto; padding: 10px 26px; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,.06); align-items: center; }
.line-img { background: var(--cream-2); border-radius: 14px; padding: 8px; }
.line-name { margin: 0; font-family: var(--serif); font-size: 18px; }
.line-meta { margin: 2px 0 8px; font-size: 12px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(0,0,0,.12); border-radius: 999px; }
.qty button { width: 30px; height: 30px; font-size: 16px; }
.qty span { min-width: 20px; text-align: center; font-size: 14px; font-weight: 600; }
.line-right { text-align: right; }
.line-right p { margin: 0 0 8px; font-weight: 600; }
.remove { font-size: 12px; color: var(--muted); text-decoration: underline; }
.empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.empty svg { width: 60px; margin: 0 auto 16px; color: var(--green-700); }
.empty .btn { margin-top: 18px; }
.drawer-foot { padding: 20px 26px 26px; border-top: 1px solid rgba(0,0,0,.07); }
.gift-toggle { display: flex; gap: 10px; font-size: 13px; margin-bottom: 16px; align-items: center; }
.gift-toggle input { accent-color: var(--red); width: 16px; height: 16px; }
.subtotal { display: flex; justify-content: space-between; font-size: 17px; margin-bottom: 16px; }
.subtotal b { font-family: var(--serif); font-size: 22px; }
.fine { text-align: center; font-size: 12px; color: var(--muted); margin: 12px 0 0; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--green-900); color: var(--cream); padding: 14px 22px; border-radius: 999px; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: all .4s var(--ease); z-index: 70; box-shadow: 0 20px 40px -15px rgba(0,0,0,.5); max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 520px; max-width: 520px; width: 100%; margin: 0 auto; }
  .looks { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .news-inner { grid-template-columns: 1fr; padding: 44px 32px; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .bag-btn > span:not(.bag-count) { display: none; }
  .hero { padding: 120px 0 110px; }
  .hero-visual { height: 440px; }
  .design-row { grid-template-columns: 1fr; gap: 30px; }
  .design-row.reverse .design-swatch { order: 0; }
  .section { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .look:nth-child(even) { margin-top: 30px; }
  .countdown-units div { min-width: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* overflow guards */
html, body { overflow-x: clip; }
.hero-grid > *, .design-row > *, .news-inner > * { min-width: 0; }
@media (max-width: 760px) {
  .countdown { gap: 12px; }
  .countdown-units { gap: 6px; }
  .countdown-units div { min-width: 0; flex: 1; padding: 8px 10px; }
  .eyebrow { font-size: 11px; letter-spacing: .1em; }
  .section-head { align-items: start; }
}
