/* ==========================================================================
   EVENTS, ABOUT, RESERVATION (candle-lit), GIFT (black & gold), LOCATION (letter board), FOOTER
   ========================================================================== */
.events { background: linear-gradient(180deg, var(--night), #0d0a08); }
.events__grid { display: grid; gap: clamp(30px, 5vw, 72px); align-items: center; }
.events__copy p { margin: 20px 0 30px; color: var(--muted); max-width: 36em; }

/* plank wall under a warm ceiling light, little chalk slates hanging from nails */
.events__wall {
  position: relative; overflow: hidden; border-radius: 22px;
  padding: clamp(50px, 6vw, 64px) clamp(16px, 3vw, 34px) clamp(30px, 4vw, 44px);
  background:
    radial-gradient(85% 55% at 50% -8%, rgba(255, 196, 130, .22), transparent 70%),
    repeating-linear-gradient(180deg, transparent 0 62px, rgba(0, 0, 0, .55) 62px 64px, rgba(255, 214, 170, .08) 64px 65px),
    repeating-linear-gradient(90deg, rgba(255, 224, 190, .028) 0 1px, transparent 1px 9px, rgba(0, 0, 0, .06) 9px 11px, transparent 11px 23px),
    linear-gradient(90deg, rgba(0, 0, 0, .3), transparent 20%, transparent 80%, rgba(0, 0, 0, .3)),
    linear-gradient(180deg, #4b2d17, #2c1a0d 60%, #1f1208);
  box-shadow: 0 0 0 1px rgba(200, 164, 90, .3), inset 0 0 70px rgba(0, 0, 0, .6), 0 40px 80px -36px rgba(0, 0, 0, .95);
}
.events__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(46px, 5vw, 58px) clamp(14px, 2.4vw, 26px); }
.slate { position: relative; display: flex; transform: rotate(var(--rot, 0deg)); transform-origin: 50% -34px; transition: transform .9s var(--ease); }
.slate:hover { transform: rotate(calc(var(--rot, 0deg) * -1.3)); }
.slate::before { /* the nail */
  content: ""; position: absolute; z-index: 1; left: 50%; top: -39px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fbe9b6, #a07a34 55%, #4a3410); box-shadow: 0 2px 3px rgba(0, 0, 0, .75);
}
.slate__hang { position: absolute; left: 22%; bottom: calc(100% - 7px); width: 56%; height: 36px; overflow: visible; }
.slate__hang path { fill: none; stroke: rgba(230, 210, 176, .75); stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.slate__frame {
  flex: 1; display: flex; padding: 7px; border-radius: 8px;
  background: linear-gradient(135deg, #cfa068, #8d5d2e 42%, #b7864d 68%, #7a4f26);
  box-shadow: inset 0 1px 0 rgba(255, 232, 196, .5), inset 0 -1px 0 rgba(0, 0, 0, .4), 0 24px 30px -14px rgba(0, 0, 0, .9);
}
.slate__in {
  position: relative; flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px 15px 12px; border-radius: 4px;
  background:
    radial-gradient(60% 40% at 28% 26%, rgba(255, 255, 255, .07), transparent 70%),
    radial-gradient(50% 30% at 76% 82%, rgba(255, 255, 255, .05), transparent 70%),
    linear-gradient(160deg, #27322c, #1b231f 60%, #151b18);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6), inset 0 0 24px rgba(0, 0, 0, .5);
}
.slate__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.slate__n { font: italic 500 1.02rem/1 var(--ff-d); color: rgba(242, 238, 230, .8); }
.slate__ic { width: 30px; height: 30px; color: #f2eee6; stroke-width: 1.6; }
.slate__t { font: italic 500 clamp(1.08rem, 1.5vw, 1.26rem)/1.24 var(--ff-d); color: #f2eee6; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
/* chalk: the letters show a grainy, slightly broken white */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .slate__t, .slate__n {
    color: transparent; -webkit-text-fill-color: transparent;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='c' x='0' y='0'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .96 0 0 0 0 .94 0 0 0 0 .9 0 0 0 -2.4 2.05'/></filter><rect width='100%25' height='100%25' filter='url(%23c)'/></svg>") 0 0 / 120px 120px;
    -webkit-background-clip: text; background-clip: text;
  }
}
.slate__u { width: 72%; height: 9px; margin-top: auto; overflow: visible; }
.slate__u path { fill: none; stroke: rgba(244, 169, 34, .9); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
/* hung one after the other: each slate swings and settles at its own angle */
.motion .events__wall.is-in .slate { animation: swing 2.4s cubic-bezier(.3, .7, .3, 1) backwards; animation-delay: calc(var(--i, 0) * 140ms + 150ms); }
@keyframes swing {
  0% { transform: rotate(calc(var(--rot, 0deg) - 14deg)); }
  28% { transform: rotate(calc(var(--rot, 0deg) + 8deg)); }
  50% { transform: rotate(calc(var(--rot, 0deg) - 4.5deg)); }
  70% { transform: rotate(calc(var(--rot, 0deg) + 2deg)); }
  86% { transform: rotate(calc(var(--rot, 0deg) - .7deg)); }
  100% { transform: rotate(var(--rot, 0deg)); }
}
@media (max-width: 479.98px) {
  .events__list { grid-template-columns: minmax(0, 1fr); row-gap: 42px; }
  .slate:nth-child(odd) { margin-right: 13%; }
  .slate:nth-child(even) { margin-left: 13%; }
  .slate__in { gap: 6px; padding: 11px 14px 10px; }
}
@media (min-width: 960px) { .events__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ---------- ABOUT ---------- */
.about { padding-top: clamp(24px, 4vw, 64px); background: radial-gradient(40% 50% at 15% 50%, rgba(244, 169, 34, .08), transparent 70%), #0d0a08; }
.about__grid { display: grid; gap: clamp(32px, 5vw, 76px); align-items: center; }
.about__mark { display: grid; justify-items: center; gap: 30px; }
/* station clock: ticks on the dial, brass hands emerging from under the logo cap, a red second hand
   trailing a light sweep (58.5 s round then a short stop at 12, like a railway clock) */
.about__clock { position: relative; isolation: isolate; display: grid; place-items: center; width: min(70vw, 360px, 100%); aspect-ratio: 1 / 1; border-radius: 50%; background: radial-gradient(circle, rgba(244, 169, 34, .06), transparent 70%); }
.about__clock::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(from -1deg, rgba(241, 215, 150, .75) 0 2deg, transparent 2deg 30deg), repeating-conic-gradient(from -.25deg, rgba(241, 215, 150, .28) 0 .5deg, transparent .5deg 6deg);
  -webkit-mask-image: radial-gradient(circle, transparent 62%, #000 63%, #000 69%, transparent 70%);
  mask-image: radial-gradient(circle, transparent 62%, #000 63%, #000 69%, transparent 70%);
}
.about__clock::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 1px rgba(200, 164, 90, .45), inset 0 0 0 1px rgba(200, 164, 90, .2), 0 0 100px rgba(244, 169, 34, .2); pointer-events: none; }
.clock__sweep {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0deg 285deg, rgba(244, 169, 34, .05) 300deg, rgba(244, 169, 34, .2) 345deg, rgba(255, 226, 170, .5) 359.5deg, transparent 360deg);
  -webkit-mask-image: radial-gradient(circle, transparent 40%, #000 41.5%, #000 70%, transparent 71%);
  mask-image: radial-gradient(circle, transparent 40%, #000 41.5%, #000 70%, transparent 71%);
}
.hand { --w: 6px; position: absolute; left: 50%; bottom: 50%; width: var(--w); margin-left: calc(var(--w) * -.5); border-radius: 4px 4px 2px 2px; transform-origin: 50% 100%; pointer-events: none; }
.hand--h { --w: 9px; height: 39%; background: linear-gradient(90deg, #7d5d24, #f6dfa2 45%, #c8a45a 62%, #6d4f1c); box-shadow: 0 0 12px rgba(244, 169, 34, .45), 0 2px 6px rgba(0, 0, 0, .7); }
.hand--m { --w: 6px; height: 46.5%; background: linear-gradient(90deg, #7d5d24, #f6dfa2 45%, #c8a45a 62%, #6d4f1c); box-shadow: 0 0 12px rgba(244, 169, 34, .45), 0 2px 6px rgba(0, 0, 0, .7); }
.hand--s { --w: 2px; height: 47%; border-radius: 1px; background: #e8452f; box-shadow: 0 0 8px rgba(255, 90, 60, .9); }
.hand--s::after { content: ""; position: absolute; left: 50%; top: 15%; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: #e8452f; box-shadow: 0 0 12px rgba(255, 90, 60, .9); }
.hand--s, .clock__sweep { display: none; }
.motion .hand--s, .motion .clock__sweep { display: block; animation: secs 60s linear infinite; }
.motion .hand--h, .motion .hand--m { transition: transform .45s cubic-bezier(.4, 2.1, .55, .85); }
@keyframes secs { 0% { transform: rotate(0deg); } 97.5%, 100% { transform: rotate(360deg); } }
.about__badge { position: relative; z-index: 1; width: 58%; aspect-ratio: 1 / 1; box-shadow: 0 0 0 3px var(--brass), 0 0 0 11px rgba(200, 164, 90, .1), 0 0 80px rgba(244, 169, 34, .35); }
/* enamel street plate of the square in front of the station */
.plate {
  display: inline-grid; grid-template-columns: auto auto; align-items: center; gap: 4px 14px; padding: 11px 12px 10px 20px; border-radius: 9px;
  background: linear-gradient(180deg, #1f3d2e, #10241a); color: #f1e6cf;
  box-shadow: 0 0 0 2px #c8a45a, 0 0 0 4px #1a120a, 0 0 0 5px rgba(200, 164, 90, .45), 0 16px 28px -12px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.plate__st { font: 600 1.08rem/1 var(--ff-b); letter-spacing: .14em; text-transform: uppercase; }
.plate__no { grid-row: span 2; display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 6px; border-radius: 6px; background: #f1e6cf; color: #10241a; font: 700 1.4rem/1 var(--ff-b); }
.plate__city { font: 500 .75rem/1 var(--ff-b); letter-spacing: .2em; text-transform: uppercase; color: rgba(241, 230, 207, .8); }
.about__copy p { margin-top: 18px; max-width: 42em; color: var(--muted); }
.dropcap::first-letter { float: left; margin: .06em .12em 0 0; font: 600 4.1em/.8 var(--ff-d); color: var(--amber); text-shadow: 0 0 22px rgba(244, 169, 34, .5); }
@media (min-width: 900px) { .about__grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); } }

/* ---------- RESERVATION ---------- */
.reserve { overflow: hidden; overflow: clip; background: radial-gradient(42% 52% at 16% 74%, rgba(255, 170, 80, .17), transparent 72%), linear-gradient(180deg, #0b0806, #0d0906); }
.reserve__mood { position: absolute; inset: 0; pointer-events: none; }
@keyframes candleGlow {
  0%, 100% { opacity: .82; transform: scale(1); }
  18% { opacity: 1; transform: scale(1.03); }
  36% { opacity: .72; transform: scale(.99); }
  52% { opacity: .95; transform: scale(1.02); }
  74% { opacity: .8; transform: scale(.98); }
}
@keyframes candleSoft { 0%, 100% { opacity: .85; } 18% { opacity: 1; } 36% { opacity: .7; } 52% { opacity: .95; } 74% { opacity: .78; } }
.reserve__table {
  position: absolute; left: 0; right: 0; bottom: 0; height: 150px;
  background:
    repeating-linear-gradient(178.5deg, rgba(0, 0, 0, .28) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(181deg, rgba(255, 200, 140, .05) 0 1px, transparent 1px 15px),
    linear-gradient(180deg, #2c180c, #160b05);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%);
  mask-image: linear-gradient(180deg, transparent, #000 70%);
}
.reserve__grid { position: relative; display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
.reserve__text { margin-top: 18px; color: var(--muted); max-width: 34em; }
.contacts { display: grid; gap: 10px; margin-top: 28px; }
.contact {
  display: flex; align-items: center; gap: 14px; min-height: 66px; padding: 12px 18px 12px 12px; border-radius: 18px;
  border: 1px solid rgba(200, 164, 90, .24); background: rgba(15, 11, 8, .72); text-decoration: none;
  transition: border-color .3s, transform .4s var(--ease), background-color .3s;
}
.contact:hover { border-color: rgba(244, 169, 34, .6); transform: translateX(4px); background: rgba(30, 20, 12, .8); }
.motion .contacts.is-in > li > .contact:hover { transform: translateX(4px); }
.contact__ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: rgba(244, 169, 34, .12); color: var(--amber); }
.contact__txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.contact__lbl { font: 600 .75rem/1.2 var(--ff-b); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.contact__val { font-weight: 700; color: var(--cream-2); overflow-wrap: anywhere; }
.takeaway { display: flex; gap: 14px; margin-top: 18px; padding: 18px; border-radius: 18px; border: 1px dashed rgba(141, 190, 69, .55); background: rgba(141, 190, 69, .06); }
.takeaway > .ic { width: 28px; height: 28px; color: var(--green); margin-top: 2px; }
.takeaway h3 { font-size: 1.12rem; color: var(--cream-2); }
.takeaway p { margin-top: 6px; color: var(--muted); font-size: .94rem; }
.takeaway__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px; color: var(--brass-hi); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(241, 215, 150, .45); }
.takeaway__link:hover { color: var(--amber); }
.takeaway__link .ic { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.takeaway__link:hover .ic { transform: translateX(3px); }

/* the candle stands on the "table" next to the form; --k scales the whole object (real box size, no overlap) */
.candle { --k: 1; position: relative; z-index: 2; flex: none; width: calc(64px * var(--k)); height: calc(176px * var(--k)); pointer-events: none; }
/* its light falls on the wall, the info column and the edge of the form */
.candle__pool {
  position: absolute; left: 50%; bottom: calc(139px * var(--k)); width: calc(560px * var(--k)); height: calc(480px * var(--k));
  margin: 0 0 calc(-240px * var(--k)) calc(-280px * var(--k)); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 190, 110, .36), rgba(255, 160, 70, .16) 34%, rgba(255, 140, 50, .06) 64%, transparent);
}
.motion .candle__pool { animation: candleGlow 3.4s ease-in-out infinite; }
.candle__flame { position: absolute; left: calc(21px * var(--k)); bottom: calc(116px * var(--k)); width: calc(22px * var(--k)); height: calc(46px * var(--k)); transform-origin: 50% 100%; }
.candle__flame span {
  display: block; width: 100%; height: 100%; border-radius: 50% 50% 46% 46% / 64% 64% 36% 36%;
  background: radial-gradient(ellipse at 50% 76%, #fff 0 12%, #ffefb8 24%, #ffbd5c 48%, rgba(255, 124, 40, .65) 68%, transparent 76%);
  box-shadow: 0 0 22px 8px rgba(255, 172, 82, .45), 0 0 70px 26px rgba(255, 150, 60, .2);
}
.motion .candle__flame { animation: flame 2.1s ease-in-out infinite; }
.motion .candle__flame span { animation: flameFlick 3.3s steps(1) infinite; }
@keyframes flame {
  0%, 100% { transform: scale(1, 1) rotate(-1deg); }
  25% { transform: scale(1.06, .93) rotate(2.5deg); }
  50% { transform: scale(.95, 1.07) rotate(-2deg); }
  75% { transform: scale(1.03, .96) rotate(1deg); }
}
@keyframes flameFlick { 0%, 100% { opacity: 1; } 31% { opacity: .82; } 33% { opacity: 1; } 67% { opacity: .9; } 69% { opacity: 1; } }
.candle__wick { position: absolute; left: calc(31px * var(--k)); bottom: calc(110px * var(--k)); width: calc(2px * var(--k)); height: calc(10px * var(--k)); border-radius: 1px; background: #2a1d12; }
.candle__wax { position: absolute; left: calc(13px * var(--k)); bottom: calc(18px * var(--k)); width: calc(38px * var(--k)); height: calc(94px * var(--k)); border-radius: 6px 6px 4px 4px; background: linear-gradient(90deg, #d4c3a0, #f7eed9 38%, #e4d4b3 70%, #b9a785); box-shadow: inset 0 8px 10px rgba(255, 196, 110, .4), 0 0 34px rgba(255, 170, 80, .3); }
.candle__wax::before { content: ""; position: absolute; top: calc(-4px * var(--k)); left: 0; right: 0; height: calc(10px * var(--k)); border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, #fffaf0, #e8d7b4); }
.candle__holder { position: absolute; left: 0; bottom: calc(4px * var(--k)); width: 100%; height: calc(20px * var(--k)); border-radius: 50%; background: radial-gradient(ellipse at 50% 30%, #f1d796, #8a6a2c 58%, #46330f); box-shadow: 0 8px 16px rgba(0, 0, 0, .7); }
.reserve__info { position: relative; display: flex; flex-direction: column; }
/* phones / tablets: the candle stands on the top edge of the form, at its right */
.candle { --k: .9; align-self: flex-end; margin: 8px 9% calc(-1 * clamp(32px, 5vw, 64px) - 8px) 0; }
@media (min-width: 980px) {
  .reserve__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  /* desktop: a big candle on the table between the cards and the form, its base level with the form's */
  .reserve__info { align-self: stretch; }
  .reserve__info .contacts, .reserve__info .takeaway { margin-right: 112px; }
  .candle { --k: 1.5; position: absolute; right: -14px; bottom: 0; margin: 0; }
}

.glass {
  position: relative; padding: clamp(22px, 3.4vw, 40px); border-radius: var(--r-lg);
  border: 1px solid rgba(200, 164, 90, .3);
  background: linear-gradient(160deg, rgba(28, 20, 14, .92), rgba(10, 8, 6, .94));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .05);
}
/* candlelight on the form: from the top-right corner on phones, from the left edge on desktop */
.rform::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(60% 40% at 86% 0%, rgba(255, 168, 78, .2), transparent 72%);
}
.motion .rform::before { animation: candleSoft 3.4s ease-in-out infinite; }
@media (min-width: 980px) { .rform::before { background: radial-gradient(60% 55% at 0% 82%, rgba(255, 168, 78, .22), rgba(255, 150, 60, .07) 55%, transparent 76%); } }

/* ---------- GIFT ---------- */
.gift { overflow: hidden; overflow: clip; background: radial-gradient(50% 36% at 50% 0%, rgba(200, 164, 90, .13), transparent 72%), linear-gradient(180deg, #0b0907, #080706); }
.gift__how { margin-bottom: clamp(36px, 5vw, 64px); }
.gift__how-title { margin-bottom: 22px; text-align: center; font-size: clamp(1.2rem, 2vw, 1.5rem); font-style: italic; color: var(--brass-hi); }
.steps { display: grid; gap: 14px; }
.step { position: relative; padding: 26px 24px; border-radius: 20px; border: 1px solid rgba(200, 164, 90, .24); background: linear-gradient(160deg, #110d09, #0b0907); }
.step__n { position: absolute; top: 14px; right: 18px; font: italic 600 3rem/1 var(--ff-d); color: transparent; -webkit-text-stroke: 1px rgba(200, 164, 90, .55); }
.step__t { margin-bottom: 8px; padding-right: 2.6em; font-size: 1.18rem; color: var(--cream-2); }
.step p { color: var(--muted); font-size: .94rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.gift__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
.gift__preview { min-width: 0; }
.gstage { padding: 8px; perspective: 1100px; }
.gcard {
  --goldtxt: linear-gradient(135deg, #fbe7ad 0%, #caa24f 32%, #f6df9c 52%, #a77c33 76%, #f1d796 100%);
  position: relative; container-type: inline-size; aspect-ratio: 1.66 / 1; border-radius: 20px; overflow: hidden; transform-style: preserve-3d; will-change: transform;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(241, 215, 150, .13), transparent 52%),
    radial-gradient(90% 80% at 100% 100%, rgba(244, 169, 34, .1), transparent 56%),
    linear-gradient(145deg, #141311, #050505 60%, #0e0d0b);
  box-shadow: 0 0 0 1px rgba(241, 215, 150, .5), inset 0 0 0 7px #0a0a09, inset 0 0 0 8px rgba(241, 215, 150, .38), 0 46px 80px -32px rgba(0, 0, 0, .95), 0 0 80px -24px rgba(200, 164, 90, .5);
}
.gcard__guilloche {
  position: absolute; inset: 0; opacity: .5;
  background:
    repeating-radial-gradient(circle at 88% 125%, transparent 0 9px, rgba(241, 215, 150, .11) 9px 10px),
    repeating-radial-gradient(circle at 8% -25%, transparent 0 13px, rgba(241, 215, 150, .07) 13px 14px);
}
.gcard__holo {
  position: absolute; inset: -60%; pointer-events: none; mix-blend-mode: color-dodge; opacity: .7; transform: translate3d(-22%, -4%, 0);
  background: linear-gradient(112deg, transparent 40%, rgba(255, 226, 160, .2) 45.5%, rgba(150, 255, 225, .12) 48.5%, rgba(255, 160, 220, .12) 51.5%, rgba(255, 236, 190, .22) 54.5%, transparent 60%);
}
.motion .gcard--idle .gcard__holo { animation: holoIdle 6s ease-in-out infinite alternate; }
@keyframes holoIdle { from { transform: translate3d(-24%, -6%, 0); } to { transform: translate3d(24%, 6%, 0); } }
.gcard__in { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; padding: 22px 26px; padding: 6.4cqi 7cqi 5.6cqi; }
.gcard__top { display: flex; align-items: center; gap: 12px; gap: 3cqi; }
.gcard__badge { width: 44px; height: 44px; width: 11cqi; height: 11cqi; box-shadow: 0 0 0 2px #c9a24f; }
.gcard__brand { display: flex; flex-direction: column; line-height: 1.05; }
.gcard__brand span:first-child { font: italic 600 1.1rem/1 var(--ff-d); font-size: 4.4cqi; color: var(--cream-2); }
.gcard__brand span:last-child { margin-top: 3px; font: 600 .75rem/1 var(--ff-b); font-size: max(12px, 2.3cqi); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; color: var(--brass); }
.gcard__kind { margin-left: auto; font: 600 .75rem/1.2 var(--ff-b); font-size: max(12px, 2.7cqi); letter-spacing: .2em; text-transform: uppercase; text-align: right; color: var(--brass-hi); }
.gcard__amount {
  margin: auto 0 0; padding-top: 2cqi; font: 600 2.8rem/1 var(--ff-d); font-size: 13.5cqi; letter-spacing: -.01em; white-space: nowrap;
  color: transparent; background: var(--goldtxt); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .28)) drop-shadow(0 -1px 0 rgba(0, 0, 0, .85)) drop-shadow(0 8px 12px rgba(0, 0, 0, .55));
}
.gcard__rows { display: flex; flex-wrap: wrap; gap: 4px 28px; gap: 1cqi 7cqi; margin-top: 10px; margin-top: 2.6cqi; }
.gcard__rows p { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.gcard__lbl { font: 600 .75rem/1 var(--ff-b); font-size: max(12px, 2.3cqi); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.gcard__val { font: italic 500 1rem/1.2 var(--ff-d); font-size: max(12px, 4.1cqi); color: var(--cream-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 56cqi; }
.gcard__msg { margin-top: 6px; margin-top: 1.6cqi; font: italic 400 .85rem/1.35 var(--ff-d); font-size: max(12px, 3.3cqi); color: rgba(239, 224, 198, .8); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.gcard__addr { margin-top: 6px; margin-top: 1.4cqi; font: 500 .75rem/1.2 var(--ff-b); font-size: max(12px, 2.1cqi); letter-spacing: .14em; text-transform: uppercase; color: rgba(214, 180, 108, .88); }
/* phones: a taller card so the readable minimum sizes (12px) still fit */
@media (max-width: 459.98px) { .gcard { aspect-ratio: 1.3 / 1; } .gcard__in { padding: 5.4cqi 6cqi 5cqi; } }
.gift__photo { margin: 20px 8px 0; }
.gift__photo img, .gift__photo .ph { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; box-shadow: 0 0 0 1px rgba(200, 164, 90, .35), 0 30px 60px -30px rgba(0, 0, 0, .9); background: #15110b; }
.gift__photo figcaption { margin-top: 10px; font: 600 .75rem/1.4 var(--ff-b); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); text-align: center; }
/* phones and tablets: the live card sits right above the form (the photo of the printed cheque comes
   after the form), so what is typed shows up on the card while typing */
@media (max-width: 979.98px) {
  .gift__preview { display: contents; }
  .gstage { order: 1; }
  .gform { order: 2; }
  .gift__photo { order: 3; margin-top: 0; }
}
.gform__title { margin-bottom: 18px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-style: italic; color: var(--brass-hi); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 78px; min-height: 48px; padding: 0 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background: rgba(239, 224, 198, .03); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap;
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.chip:hover span { border-color: var(--brass); }
.chip input:checked + span { color: var(--ink); border-color: transparent; background: linear-gradient(160deg, #f8e3a6, #c99f4c 60%, #a87d34); box-shadow: 0 8px 22px -10px rgba(200, 164, 90, .8); }
.chip input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 3px; }
.g-custom { position: relative; margin-top: 12px; max-width: 240px; }
.g-custom input { padding-right: 44px; }
.g-custom__cur { position: absolute; right: 16px; top: 14px; color: var(--brass); font-weight: 800; pointer-events: none; }
.g-addr { margin-top: 16px; }
.g-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 18px 0 20px; padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(200, 164, 90, .28); background: rgba(200, 164, 90, .07); font-weight: 700; }
.g-total output { font: 600 1.5rem/1 var(--ff-d); color: var(--brass-hi); font-variant-numeric: tabular-nums; }
@media (min-width: 980px) {
  .gift__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .gift__preview { position: sticky; top: calc(var(--hdr) + 24px); }
}

/* ---------- LOCATION ---------- */
.loc { background: radial-gradient(46% 40% at 86% 18%, rgba(244, 169, 34, .07), transparent 72%), var(--night); }
.loc__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
/* one line of text ("Fermé maintenant · Ouvre vendredi à 11:00") that wraps, if needed, at the dot */
.status { display: inline-block; min-height: 48px; padding: 11px 20px 11px 16px; border-radius: 24px; border: 1px solid var(--line-2); font-weight: 800; line-height: 1.6; }
.status__dot { position: relative; display: inline-block; width: 11px; height: 11px; margin-right: 9px; vertical-align: 0; border-radius: 50%; background: var(--green); }
.status strong, .status__sub { white-space: nowrap; }
.status__sep { margin: 0 3px; color: var(--muted); font-weight: 500; }
.status__sub { font-weight: 500; color: var(--muted); }
.status.is-open { border-color: rgba(141, 190, 69, .55); background: rgba(141, 190, 69, .08); }
.status.is-closed { border-color: rgba(255, 130, 110, .45); background: rgba(201, 69, 58, .1); }
.status.is-closed .status__dot { background: #ff7a66; box-shadow: 0 0 10px rgba(255, 122, 102, .8); }
/* "open now" ping: a ring that grows and fades (transform + opacity), paused off-screen (data-loop) */
.status.is-open .status__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(141, 190, 69, .8); opacity: 0; }
.motion .status.is-open .status__dot::after { animation: ping 1.9s ease-out infinite; }
@keyframes ping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
.loc__addr { display: flex; gap: 14px; margin: 26px 0 14px; font: 500 clamp(1.3rem, 2.1vw, 1.65rem)/1.3 var(--ff-d); color: var(--cream-2); }
.loc__addr .ic { width: 28px; height: 28px; margin-top: 4px; color: var(--amber); }
.loc__text { color: var(--muted); max-width: 36em; }
.notice { display: flex; gap: 12px; margin-top: 20px; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(244, 169, 34, .55); background: rgba(244, 169, 34, .08); }
.notice .ic { color: var(--amber); margin-top: 2px; }
.notice strong { display: block; color: var(--cream-2); }
.loc__park { display: flex; gap: 14px; margin: 24px 0 28px; }
.loc__park > .ic { width: 28px; height: 28px; color: var(--amber); margin-top: 2px; }
.loc__park h3 { font-size: 1.15rem; color: var(--cream-2); }
.loc__park p { margin-top: 6px; color: var(--muted); }

.board { position: relative; padding: 14px; border-radius: 20px; background: linear-gradient(145deg, #3b2a18, #1c130a 42%, #2c1e10); box-shadow: 0 0 0 1px rgba(241, 215, 150, .25), 0 40px 80px -32px rgba(0, 0, 0, .95), 0 0 90px -18px rgba(255, 236, 205, .22); }
.board__in {
  position: relative; overflow: hidden; padding: clamp(18px, 3vw, 30px) clamp(12px, 3vw, 30px); border-radius: 9px;
  background: radial-gradient(90% 70% at 50% 0%, rgba(255, 244, 228, .07), transparent 70%), repeating-linear-gradient(180deg, #0c0c0c 0 7px, #161616 7px 8px, #050505 8px 10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 0 50px rgba(0, 0, 0, .9);
}
.board__title { display: flex; justify-content: center; margin-bottom: 14px; }
.board__table { width: 100%; border-collapse: collapse; }
.board__table th, .board__table td { padding: 6px 2px; font-weight: 400; vertical-align: middle; }
.board__table th { text-align: left; }
.board__table td { text-align: right; }
.lb { display: inline-flex; flex-wrap: nowrap; gap: .1em; }
.lb__c { display: inline-block; min-width: .5em; text-align: center; font: 500 clamp(.92rem, 2.2vw, 1.28rem)/1 var(--ff-b); text-transform: uppercase; color: #f5f2ec; text-shadow: 0 1px 0 #000, 0 2px 4px rgba(0, 0, 0, .7); transform: rotate(var(--r, 0deg)) translateY(var(--y, 0)); }
.lb__sp { display: inline-block; width: .42em; }
.lb--title .lb__c { font-size: clamp(1.05rem, 2.6vw, 1.5rem); color: #fff; }
.board__table tr.is-today .lb__c { color: #ffc95e; text-shadow: 0 0 8px rgba(244, 169, 34, .85), 0 1px 0 #000; }
.board__mark { display: inline-block; width: 0; height: 0; margin-right: 8px; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent var(--amber); filter: drop-shadow(0 0 5px var(--amber)); vertical-align: middle; }
.board__plate { margin-top: 12px; padding: 10px 16px; border-radius: 10px; background: linear-gradient(180deg, #c9a24f, #8a6a2c); color: #1b1307; font-weight: 700; font-size: .88rem; text-align: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 6px 14px rgba(0, 0, 0, .5); }
.loc__map { position: relative; margin-top: clamp(32px, 4vw, 52px); height: clamp(300px, 40vw, 540px); border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(200, 164, 90, .32); background: radial-gradient(circle, #1b1712, #0e0c09); }
.loc__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.75) brightness(.95) contrast(.92); }
.loc__map::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 70px rgba(0, 0, 0, .65); }
@media (min-width: 980px) { .loc__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 699.98px) { .loc__map { height: 300px; } }

/* ---------- FOOTER ---------- */
.foot { --fpad: clamp(40px, 5vw, 64px); position: relative; padding: var(--fpad) 0 28px; border-top: 1px solid rgba(200, 164, 90, .25); background: radial-gradient(50% 60% at 50% 0%, rgba(244, 169, 34, .08), transparent 72%), #060807; }

/* finale: the last train on the platform, under a neon "Terminus" sign hung from the footer's edge.
   Decorative (aria-hidden); it leaves once per visit of the platform (fx.js), parked when still. */
.foot__station { position: relative; margin-bottom: clamp(40px, 6vw, 72px); text-align: center; }
.foot__sign {
  position: relative; display: inline-block; max-width: calc(100% - 2 * var(--gut)); padding: 11px 22px 12px; border-radius: 10px;
  border: 1px solid rgba(200, 164, 90, .55); background: linear-gradient(180deg, #100c08, #070504);
  box-shadow: 0 0 0 4px rgba(200, 164, 90, .07), 0 18px 40px -20px rgba(0, 0, 0, .9), inset 0 0 24px rgba(244, 169, 34, .1);
}
.foot__sign::before, .foot__sign::after { content: ""; position: absolute; bottom: 100%; width: 2px; height: var(--fpad); background: linear-gradient(180deg, rgba(200, 164, 90, .15), rgba(200, 164, 90, .75)); }
.foot__sign::before { left: 18%; }
.foot__sign::after { right: 18%; }
.foot__sign-in {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 400 clamp(1.2rem, 3.4vw, 1.8rem)/1.15 var(--ff-n); letter-spacing: .05em; color: #fff4e2;
  text-shadow: 0 0 1px #fff8ee, 0 0 5px #ffe3b8, 0 0 11px #ff8a3d, 0 0 22px #ff8a3d, 0 0 44px #ff4a14;
}
.foot__track { --tw: min(88vw, 520px); position: relative; height: calc(var(--tw) * 148 / 520 + 22px); margin-top: 8px; overflow: hidden; }
.foot__rails {
  position: absolute; left: 0; right: 0; bottom: 8px; height: 12px;
  background:
    linear-gradient(var(--brass) 0 0) top / 100% 2px no-repeat,
    linear-gradient(rgba(200, 164, 90, .5) 0 0) bottom / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, rgba(200, 164, 90, .32) 0 6px, transparent 6px 22px);
  box-shadow: 0 -2px 14px rgba(244, 169, 34, .22);
}
/* wheels (y = 120 of the drawing) stand on the top rail */
.foot__train { position: absolute; left: 50%; bottom: calc(20px - var(--tw) * 4 / 520); width: var(--tw); transform: translate3d(-50%, 0, 0); transition: transform 3.4s cubic-bezier(.55, 0, .85, .35); will-change: transform; }
.foot__station.is-gone .foot__train { transform: translate3d(calc(50vw + 60%), 0, 0); }
.foot__station.no-tr .foot__train { transition: none; }
.train { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 1.5px rgba(255, 200, 130, .9)) drop-shadow(0 0 9px rgba(244, 169, 34, .45)); }
.train .t-body, .train .t-line, .train .t-rod { fill: none; stroke: #ffd9a6; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.train .t-body { fill: rgba(255, 196, 120, .05); }
.train .t-stripe { fill: none; stroke: var(--amber); stroke-width: 2.4; stroke-dasharray: 1 7; stroke-linecap: round; }
.train .t-win { fill: #ffc56e; stroke: #ffe2ad; stroke-width: 1.4; }
.train .t-bun { fill: rgba(217, 130, 54, .16); stroke: #ff9a4a; stroke-width: 2.8; stroke-linejoin: round; }
.train .t-seed { fill: none; stroke: #fff3df; stroke-width: 4.5; stroke-linecap: round; }
.train .t-let { fill: none; stroke: #b9ef6e; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.train .t-pat { fill: rgba(201, 69, 58, .18); stroke: #ff7a5c; stroke-width: 2.6; }
.train .t-lamp { fill: #fff1c9; stroke: #ffd38a; stroke-width: 1.5; }
.train .t-wheel { fill: #0a0806; stroke: var(--brass-hi); stroke-width: 2.4; }
.train .t-cloud { fill: none; stroke: rgba(239, 224, 198, .6); stroke-width: 2.2; stroke-linecap: round; }
.t-puffs circle { fill: rgba(255, 240, 220, .45); stroke: rgba(255, 236, 205, .7); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; }
.motion .foot__station.is-gone .t-chug { animation: chug .34s ease-in-out 9; }
.motion .foot__station.is-gone .t-puffs circle { animation: tpuff 1.15s ease-out 3; }
.motion .foot__station.is-gone .t-puffs circle:nth-child(2) { animation-delay: .38s; }
.motion .foot__station.is-gone .t-puffs circle:nth-child(3) { animation-delay: .76s; }
@keyframes chug { 50% { transform: translateY(-2.5px); } }
@keyframes tpuff { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 18% { opacity: .95; } 100% { opacity: 0; transform: translate(-58px, -30px) scale(2.6); } }
.foot__grid { display: grid; gap: 36px; }
.foot__badge { width: 86px; height: 86px; box-shadow: 0 0 0 2px var(--brass), 0 0 44px rgba(244, 169, 34, .3); }
.foot__name { margin-top: 16px; font: italic 600 1.6rem/1.1 var(--ff-d); color: var(--cream-2); }
.foot__tag { margin-top: 8px; max-width: 30em; color: var(--muted); }
.foot__slogan { margin-top: 18px; font: 400 1.2rem/1.2 var(--ff-n); color: #fff3df; text-shadow: 0 0 5px #ffcf7a, 0 0 16px rgba(244, 169, 34, .8); }
.foot__h { margin-bottom: 12px; font: 600 .78rem/1.2 var(--ff-b); letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
.foot__list a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; color: var(--cream); text-decoration: none; overflow-wrap: anywhere; transition: color .25s; }
.foot__list a:hover { color: var(--amber); }
.foot__contact .ic { color: var(--amber); }
.foot__hours { color: var(--cream); line-height: 1.9; }
.foot__reviews { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 14px; color: var(--cream); font-weight: 700; text-decoration: none; }
.foot__reviews .ic { color: var(--amber); width: 16px; height: 16px; }
.foot__reviews[href]:hover { color: var(--amber); }
.foot__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.foot__end { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.foot__top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--cream); text-decoration: none; font-weight: 700; }
.foot__top .ic { transform: rotate(-90deg); color: var(--amber); }
@media (min-width: 720px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .foot__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr) minmax(0, 1.2fr) minmax(0, 1.1fr); } }
