@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #251f20;
  --secondary: #655d59;
  --berry: #721e30;
  --paper: #fcf8f1;
  --tint: #f6f5f4;
  --side: clamp(1rem, 2.4vw, 2.5rem);
  --space: clamp(1rem, 2.4vw, 2.5rem);
  --display: "Instrument Sans", Arial, sans-serif;
  --text: "DM Sans", Arial, sans-serif;
  font-family: var(--text);
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; isolation: isolate; background: #812337; }
.snowfall {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 80% 12%, #bd3849 0%, transparent 64%),
    linear-gradient(145deg, #9b263d, #792032 62%, #611b2b);
}
.snowfall::before, .snowfall::after {
  --tile: 420px;
  content: "";
  position: absolute;
  inset: calc(0px - var(--tile) - 12px) -18px -12px;
  background: url("assets/winter/snow-tile.svg") 0 0 / var(--tile) var(--tile) repeat;
  opacity: .62;
}
.snowfall::before {
  --tile: 275px;
  opacity: .29;
  background-position: 65px 44px;
}
@media (prefers-reduced-motion: no-preference) {
  .snowfall::before { animation: snowfall 30s linear -9s infinite; }
  .snowfall::after { animation: snowfall 20s linear -13s infinite; }
  @keyframes snowfall {
    from { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(12px, calc(var(--tile) / 2), 0); }
    to { transform: translate3d(0, var(--tile), 0); }
  }
}
html { scroll-behavior: smooth; scroll-padding-top: 8.5rem; scrollbar-gutter: stable; }
html.dialog-open { overflow: hidden; }
button, input { color: inherit; font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid #435c4a; outline-offset: 3px; }
[hidden] { display: none !important; }
img { display: block; }
h1, h2, h3, .brand { font-family: var(--display); font-weight: 550; }
.wrap { padding-inline: var(--side); }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { width: auto; height: auto; clip-path: none; background: white; padding: .8rem; z-index: 8; }
.mast { position: sticky; top: 0; z-index: 3; background: var(--paper); border-top: 3px solid var(--berry); }
.top { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; min-height: 5.25rem; }
.brand { justify-self: start; font-size: 1.3rem; letter-spacing: -.055em; font-weight: 650; white-space: nowrap; color: var(--berry); }
.bonus { justify-self: end; background: var(--berry); border: 0; border-radius: 2rem; font-size: .94rem; font-weight: 550; color: white; min-height: 2.75rem; padding: .5rem 1.35rem; }
.categories { display: flex; align-items: center; gap: .2rem; overflow-x: auto; scrollbar-width: none; padding-block: .22rem .55rem; }
.categories::-webkit-scrollbar { display: none; }
.categories a { display: flex; align-items: center; justify-content: center; flex: none; font-weight: 500; white-space: nowrap; font-size: .89rem; border-radius: 2rem; padding: .65rem 1.12rem; min-height: 2.5rem; color: #696b68; }
.categories a[aria-current] { color: #651a29; background: #f1e1dc; }
.categories a:focus-visible { outline-offset: -2px; }
.intro { position: relative; isolation: isolate; overflow: hidden; color: #fff8ec; background: linear-gradient(90deg, #6f1e319c, transparent 85%); padding-block: clamp(1.65rem, 3vw, 3rem); padding-right: clamp(9rem, 22vw, 25rem); display: flex; flex-direction: column; align-items: start; gap: .45rem; }
.intro h1 { font-size: clamp(1.85rem, 3vw, 3.25rem); letter-spacing: -.05em; line-height: 1.08; margin: 0; text-wrap: balance; }
.intro p { font-size: .93rem; line-height: 1.5; margin: 0; max-width: 46rem; }
.intro .check-hint { display: flex; align-items: baseline; gap: .42rem; margin-top: .25rem; color: #fae9dc; font-size: .88rem; }
.intro .check-hint::before { content: "✓"; font-weight: 700; }
.intro .save-warning { color: #ffedbe; }
.winter-trim { position: absolute; z-index: -1; right: var(--side); top: 0; width: clamp(8rem, 20vw, 22rem); height: 100%; pointer-events: none; }
.winter-hat { position: absolute; right: 21%; top: 50%; transform: translateY(-51%) rotate(8deg); width: clamp(4.3rem, 7.8vw, 7.2rem); height: auto; }
.flake { position: absolute; background: #f8d9ba; mask: url("assets/winter/snowflake.svg") center / contain no-repeat; }
.flake-a { width: 1.25rem; height: 1.25rem; left: 14%; top: 24%; transform: rotate(16deg); }
.flake-b { width: .8rem; height: .8rem; left: 4%; bottom: 23%; opacity: .7; }
.flake-c { width: 1.65rem; height: 1.65rem; right: 4%; bottom: 23%; transform: rotate(-12deg); }
.board { padding-block: var(--space); min-height: 24vh; }
.collection:not([hidden]) ~ .collection:not([hidden]) { border-top: 1px solid #fff3df55; margin-top: clamp(2rem, 3.2vw, 3.5rem); padding-top: clamp(1.6rem, 2.8vw, 3rem); }
.collection { max-width: 110rem; margin-inline: auto; }
.collection-head { color: #fff8ec; margin-bottom: 1.2rem; }
.collection-head h2 { font-size: clamp(1.35rem, 1.65vw, 1.7rem); line-height: 1.16; letter-spacing: -.035em; margin: 0 0 .4rem; }
.collection-head p { color: #fff1df; font-size: .93rem; line-height: 1.5; margin: 0; max-width: 68rem; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: clamp(1.35rem, 2vw, 2.1rem) var(--space); }
.collection-clothes .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery .tile { border-radius: .55rem; background: var(--paper); }

.gallery .photo { border-radius: .55rem .55rem 0 0; }
.gallery .caption { padding: .65rem .75rem .8rem; }
.tile { min-width: 0; position: relative; }

.photo { display: grid; place-items: center; aspect-ratio: 1.15; overflow: hidden; border-radius: 4px; background: #eeedeb; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: filter .18s ease; }
.clothes .photo { aspect-ratio: 4 / 5; }
.clothes.item-1 .photo img { object-position: center 35%; }
.bonnets .photo, .tech .photo { aspect-ratio: 1.13; }
.tech.item-5 .photo img, .bonnets.item-2 .photo img, .bonnets.item-3 .photo img { object-fit: contain; }
.bonnets.item-1 .photo img { object-position: 50% 33%; }
.bonnets.item-4 .photo img { object-fit: contain; }
.books .photo { aspect-ratio: 1.08; background: #e4ddd6; }
.books .photo img { width: 80%; height: 82%; min-height: 0; object-fit: contain; }
.books.item-2 .photo { background: #dfdfd4; }
.books.item-3 .photo { background: #dce0d8; }
.deco .photo { aspect-ratio: 1.27; }
.pick { position: absolute; top: .12rem; right: .12rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; cursor: pointer; }
.pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.check-box { display: grid; place-items: center; width: 1.55rem; height: 1.55rem; border-radius: .42rem; border: 1.5px solid #797e79; background: #fff; box-shadow: 0 1px 3px #0002; }
.pick input:checked + .check-box { background: #234e39; border-color: #fff; }
.pick input:checked + .check-box::after { content: ""; width: .42rem; height: .76rem; border: solid white; border-width: 0 2.5px 2.5px 0; transform: translateY(-.08rem) rotate(45deg); }
.pick input:focus-visible + .check-box { outline: 3px solid #253f66; outline-offset: 3px; }
@media (forced-colors: active) { .pick input { position: static; inset: auto; opacity: 1; width: 1.5rem; height: 1.5rem; } .check-box { display: none; } }
.caption { padding: .55rem .03rem 0; }
.caption strong, .collection-head strong { font-weight: 750; }
.caption h3 { margin: 0; font-size: .98rem; line-height: 1.25; letter-spacing: -.024em; }
.caption p { color: var(--secondary); font-size: .82rem; line-height: 1.45; margin: .13rem 0 0; overflow-wrap: break-word; }
.feature { margin: 0 auto; max-width: 115rem; padding-block: var(--space); }
.feature .product-body {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  min-height: clamp(13rem, 20vw, 19rem); border-radius: .6rem; background: #241c17; color: #fff9f0;
}
.feature .photo {
  position: absolute; z-index: -1; inset: 0 0 0 auto; height: 100%; width: min(64%, clamp(24rem, 41vw, 39rem));
  aspect-ratio: auto; border-radius: 0; background: #241c17;
}
.feature .photo img { object-position: 50% 25%; min-height: 0; }
.feature .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #241c17 0%, transparent 35%); }
.feature .caption { width: 55%; padding: clamp(1.15rem, 4vw, 4.5rem); }
.feature .caption h2 { margin: 0; font-size: clamp(1.8rem, 4.5vw, 4.3rem); line-height: 1; letter-spacing: -.055em; text-wrap: balance; }
.feature .caption p { color: #e5d9cb; margin-top: .55rem; font-size: clamp(.85rem, 1.2vw, 1.05rem); }
.product-link { display: inline-block; margin-top: .45rem; font-size: .85rem; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: .12rem; }
.feature .product-link { margin-top: 1.05rem; border-color: #d2bdaa; }
.feature .pick { top: .35rem; right: .35rem; }
@media (min-width: 58.01rem) { .collection-books .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.empty { color: #fff8ec; font-size: 1rem; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.8rem; color: #fff5e9; background: var(--berry); font-size: .875rem; }
.signature { display: inline-flex; align-items: center; gap: .65rem; }
.signature img { object-fit: contain; }
footer a { text-decoration: underline; text-underline-offset: .2em; }
dialog { padding: 0; border: 0; max-width: none; max-height: none; width: fit-content; overflow: visible; background: transparent; }
dialog::backdrop { background: #0d1210dc; }
.surprise { position: relative; }
.hand { width: auto; height: auto; max-width: min(91vw, 43rem); max-height: min(88vh, 57rem); max-height: min(88dvh, 57rem); border-radius: .65rem; }
.close { display: grid; place-items: center; position: absolute; right: .7rem; top: .7rem; z-index: 1; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid #ffffff55; background: #12251ce8; color: white; line-height: 1; font-size: 1.65rem; border-radius: 50%; }
@media (hover: hover) {
  .categories a:hover { background: #f4f3f1; color: var(--ink); }
  .tile:not(.is-reserved):has(.product-link:hover) img { filter: brightness(.96); }
  .tile:not(.is-reserved):has(.product-link:hover) h3 { text-decoration: underline; text-underline-offset: .18em; }
  .bonus:hover { background: #551425; }
}
@media (min-width: 75rem) {
  .collection-clothes .gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .collection-tech .gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 58rem) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) {
  :root { --space: .85rem; --side: 1rem; }
  html { scroll-padding-top: 7rem; }
  .top { gap: .65rem; padding-block: .7rem .5rem; min-height: 0; }
  .brand { font-size: 1.18rem; }
  .bonus { min-height: 2.55rem; padding-inline: 1rem; font-size: .89rem; }
  .categories { padding-block: .1rem .4rem; gap: .1rem; }
  .categories a { padding: .5rem .85rem; }
  .intro { padding-block: 1.35rem; padding-right: var(--side); }
  .intro h1 { padding-right: 4.2rem; }
  .winter-trim { width: 4.2rem; height: 3.7rem; top: .38rem; }
  .winter-hat { right: .12rem; width: 2.8rem; }
  .flake-a { left: 2%; top: 18%; width: .7rem; height: .7rem; }
  .flake-b { bottom: 15%; left: 15%; width: .48rem; height: .48rem; }
  .flake-c { display: none; }
  .intro p { font-size: .89rem; }
  .snowfall::after { --tile: 320px; }
  .snowfall::before { --tile: 240px; }
  .gallery .caption { padding: .5rem .55rem .65rem; }
  .gallery, .collection-clothes .gallery, .collection-deco .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-head { margin-bottom: .85rem; }
  .collection-head p { font-size: .875rem; }
  .board { padding-block: 1.1rem; }
  .caption h3 { font-size: .92rem; }
  .caption p { font-size: .79rem; }
  .hand { max-width: 95vw; max-height: 88dvh; }
  .feature .product-body { min-height: 11.5rem; }
  .feature .caption { width: 52%; padding: 1rem; }
  .feature .photo { width: 57%; }
  .feature .photo::after { background: linear-gradient(90deg, #241c17 0%, transparent 32%); }
}
@media (prefers-reduced-motion: no-preference) {
  dialog[open] .hand { animation: unwrap .38s ease-out both; }
  @keyframes unwrap { from { opacity: 0; transform: translateY(.55rem) scale(.97) rotate(-1deg); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

.participation { max-width: 47rem; margin-top: .25rem; color: #fae9dc; }
.participation p { color: inherit; font-size: .92rem; line-height: 1.5; }
.participation a, .participation button { display: inline-block; padding: .4rem 0; background: none; border: 0; font: inherit; font-size: .87rem; font-weight: 600; color: #fff8eb; text-decoration: underline; text-underline-offset: .21em; }
.participation .view-invites, .participation .view-patricia { display: none; }
[data-view="invites"] .view-catalogue, [data-view="patricia"] .view-catalogue { display: none; }
[data-view="invites"] .view-invites, [data-view="patricia"] .view-patricia { display: block; }
#reserve-message:not(:empty), #share-result:not(:empty) { display: block; margin-top: .25rem; font-size: .84rem; }
.pick { z-index: 2; }
.pick input:checked + .check-box { background: #ecf8ee; border-color: #267043; }
.pick input:checked + .check-box::after { border-color: #16723d; }
.pick input:disabled { cursor: default; }

.gallery .tile, .gallery .product-body { display: flex; flex-direction: column; }
.product-body { position: relative; isolation: isolate; }
.gallery .product-body, .gallery .caption { flex: 1 0 auto; }
.gallery .photo { flex: none; }
.product-action {
  padding: .62rem .75rem .68rem;
  border-top: 1px solid #31282020;
}
.tile .product-link { margin-top: 0; }
.feature .tile { background: #241c17; color: #fff9f0; border-radius: .6rem; }
.feature .product-body { border-radius: .6rem .6rem 0 0; }
.feature .product-action {
  padding: .7rem clamp(1.15rem, 4vw, 4.5rem) .8rem;
  border-color: #fff9f033;
}

html:not([data-view="invites"]) .tile .product-link::after,
[data-view="invites"] .tile.is-available .product-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: .55rem;
}

.purchase-cross {
  display: none;
  position: absolute;
  inset: .6rem;
  width: calc(100% - 1.2rem);
  height: calc(100% - 1.2rem);
  pointer-events: none;
  overflow: visible;
}
.purchase-cross path {
  fill: none;
  stroke: #bd303b;
  stroke-width: 2.5px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
[data-view="invites"] .is-reserved .purchase-cross { display: block; }

.reserved-badge {
  position: absolute;
  z-index: 2;
  top: .65rem;
  left: .45rem;
  display: inline-flex;
  align-items: center;
  padding: .32rem .5rem;
  border: 1px solid #dfa3a6;
  border-radius: 2rem;
  background: #fff4f2;
  color: #912633;
  font-size: .76rem;
  font-weight: 650;
  line-height: 1.15;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-3px);
}
[data-view="invites"] .tile.is-reserved .reserved-badge {
  visibility: visible;
  opacity: 1;
  transform: none;
}
[data-view="invites"] .tile.is-reserved .photo img {
  filter: grayscale(.85) contrast(.93);
  opacity: .8;
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes draw-purchase-line {
    from { clip-path: inset(0 0 100% 0); }
    to { clip-path: inset(-2%); }
  }
  .is-reserved.draw-purchase .purchase-cross path {
    animation: draw-purchase-line .2s ease-out backwards;
  }
  .is-reserved.draw-purchase .purchase-cross path + path { animation-delay: .13s; }
  [data-view="invites"] .tile .photo img { transition: filter .3s ease, opacity .3s ease; }
  .reserved-badge { transition: opacity .24s ease, transform .24s ease, visibility 0s linear .24s; }
  .tile.is-reserved .reserved-badge { transition-delay: 0s; }
  .pick .check-box { transition: background-color .18s ease, border-color .18s ease; }
  .pick input:not(:disabled):active + .check-box { transform: scale(.96); }
}
@media (max-width: 40rem) {
  .gallery .product-action { padding: .5rem .55rem .6rem; }
  .feature .product-action { padding-inline: 1rem; }
  .reserved-badge { left: .35rem; padding: .31rem .37rem; font-size: .7rem; }
  [data-view="invites"] .feature .caption { padding-top: 2.65rem; }
}

/* Adaptation only: alternative purchase links, explicit photo fallbacks, and the Christmas surprise. */
.product-action { display:flex; flex-wrap:wrap; align-items:baseline; gap:.3rem .8rem; }
.product-link.alternate { position:relative; z-index:2; color:var(--secondary); font-weight:500; }
.product-link.alternate::after { display:none !important; }
.feature .product-link.alternate { color:#e5d9cb; }
.gallery .photo { position:relative; }
.photo-fallback { padding:1rem; text-align:center; font-size:.8rem; color:#655d59; max-width:100%; overflow-wrap:anywhere; }
.feature .photo-fallback { color:#f5e3d8; }
.photo-example { position:absolute; bottom:.35rem; right:.35rem; color:#493d39; background:#fff9eeeb; padding:.2rem .35rem; border-radius:.25rem; font-size:.62rem; }
.shoes .photo img, .perfumes .photo img, .collectibles .photo img, .watches .photo img, .tech .photo img { object-fit:contain; }
.surprise-card { background:#15131a; color:#fff9ef; padding:clamp(.65rem,2vw,1.3rem); border:2px solid #d5c8ae; border-radius:.85rem; text-align:center; max-width:94vw; }
.surprise-card h2 { margin:.2rem 3rem .6rem 0; font-size:clamp(1.15rem,4vw,2rem); }
.surprise-card h2 span { color:#e85266; }
.surprise-card .hand { width:auto; height:auto; max-width:min(84vw,34rem); max-height:65dvh; margin:auto; object-fit:contain; background:#fff; }
.art-credit { display:block; font-size:.7rem; text-decoration:underline; padding-top:.45rem; color:#d5c8ae; }
#surprise-fallback { padding:2rem .5rem; } #surprise-fallback a { text-decoration:underline; }
