/* Pearls & Plates · site styles. Mobile first. */

:root {
  --paper: #F6F4EF;
  --paper-2: #EEEAE1;
  --paper-3: #E7E2D6;
  --card: #FBFAF6;
  --ink: #2B3A30;
  --ink-2: #1F2B23;
  --ink-soft: #4A5A4E;
  --muted: #6E766B;
  --sage: #A0B08E;
  --sage-2: #8C9E79;
  --sage-light: #E8ECE3;
  --champagne: #E3D5BA;
  --champagne-2: #EFE6D3;
  --rule: #D8D3C6;
  --serif: "Cormorant Garamond", Baskerville, "Libre Baskerville", Georgia, serif;
  --sans: "Jost", "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  --script: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;
  --gut: clamp(20px, 5vw, 64px);
  --max: 1320px;
  --nav: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-plate: 0 18px 30px -12px rgba(43, 58, 48, .28), 0 4px 10px -4px rgba(43, 58, 48, .18);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 300 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
b { font-weight: 500; }
em { font-style: italic; }
::selection { background: var(--champagne); color: var(--ink); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--sage-2); outline-offset: 3px; }

.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; line-height: 1.1; }
.kicker {
  font: 500 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: 0 28px; border: 1px solid var(--ink); border-radius: 0;
  font: 500 12.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
  background: transparent; color: var(--ink);
}
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--wide { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40; height: var(--nav);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gut);
  background: rgba(246, 244, 239, .86); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--rule); }
.nav__logo img { height: 44px; width: auto; }
.nav__links { display: none; gap: 30px; }
.nav__links a { font-size: 14px; letter-spacing: .06em; text-decoration: none; position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__cta { display: none; min-height: 42px; padding: 0 20px; }
.tablebtn {
  display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 14px 0 10px;
  border: 1px solid var(--rule); background: var(--card); cursor: pointer; font-size: 14px; letter-spacing: .04em;
  transition: border-color .3s;
}
.tablebtn:hover { border-color: var(--ink); }
.tablebtn__plate { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--ink); box-shadow: inset 0 0 0 3px var(--card), inset 0 0 0 4px var(--sage); flex: none; }
.tablebtn__count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ink); color: var(--paper); font-size: 12px; display: inline-grid; place-items: center; transition: transform .3s var(--ease); }
.tablebtn__count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.tablebtn__label { display: none; }
.nav__menu { width: 42px; height: 42px; border: 0; background: none; display: grid; place-content: center; gap: 7px; cursor: pointer; }
.nav__menu span { display: block; width: 22px; height: 1px; background: var(--ink); transition: transform .3s var(--ease); }
.nav__menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: var(--nav) 0 0; z-index: 39; background: var(--paper);
  display: flex; flex-direction: column; padding: 32px var(--gut); gap: 6px;
}
.mobile-menu a { font: 500 2.1rem/1.3 var(--serif); text-decoration: none; border-bottom: 1px solid var(--rule); padding: 10px 0; }

@media (min-width: 640px) { .tablebtn__label { display: inline; } }
@media (min-width: 1040px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__menu { display: none; }
  .nav__logo img { height: 50px; }
}

/* ---------- hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto; padding: clamp(28px, 6vw, 72px) var(--gut) clamp(48px, 7vw, 96px);
  display: grid; gap: clamp(24px, 4vw, 56px); align-items: center;
  min-height: calc(100svh - var(--nav));
}
.hero__title { font-size: clamp(3.1rem, 9.6vw, 6.6rem); line-height: .94; margin: 0 0 28px; font-weight: 500; letter-spacing: -.02em; }
.hero__title em { font-weight: 400; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(108%); transition: transform 1.2s var(--ease); }
.hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .hero__title .line > span { transform: none; }
.hero__lede { font-size: clamp(1.02rem, 1.5vw, 1.18rem); max-width: 34em; color: var(--ink-soft); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__stage { margin: 0; display: grid; gap: 14px; justify-items: center; }

.stage { position: relative; width: min(100%, 620px); aspect-ratio: 1; touch-action: pan-y; cursor: grab; }
.stage:active { cursor: grabbing; }
.stage::before { /* soft paper glow behind the plate */
  content: ""; position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(227, 213, 186, .55), rgba(227, 213, 186, 0) 72%);
}
.stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s var(--ease); }
.stage.is-3d .stage__canvas { opacity: 1; }
.stage__fallback {
  position: absolute; inset: 15%; width: 70%; height: 70%; border-radius: 50%; object-fit: cover;
  box-shadow: var(--shadow-plate); transform: rotateX(48deg); animation: spin 60s linear infinite;
  transition: opacity .8s var(--ease);
}
.stage.is-3d .stage__fallback { opacity: 0; }
@keyframes spin { to { transform: rotateX(48deg) rotate(360deg); } }
.stage__hint { position: absolute; bottom: 6%; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); opacity: 0; transition: opacity .6s; }
.stage.is-3d .stage__hint { opacity: .8; }
.stage__caption { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.stage__caption .script { font-size: 2.2rem; min-height: 1.2em; transition: opacity .3s; }
.stage__swatches { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.swatch {
  width: 38px; height: 38px; padding: 0; border-radius: 50%; border: 0; cursor: pointer; background: var(--card) center/cover;
  box-shadow: 0 0 0 1px var(--rule), 0 4px 8px -4px rgba(43, 58, 48, .3); transition: transform .3s var(--ease), box-shadow .3s;
}
.swatch:hover { transform: translateY(-2px); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.08fr 1fr; }
  .hero__title { font-size: clamp(3.6rem, 6.4vw, 6.6rem); }
  .hero__stage { justify-items: end; }
  .stage__caption { width: min(100%, 620px); }
}

/* ---------- ribbon ---------- */
.ribbon { border-block: 1px solid var(--rule); overflow: hidden; padding: 18px 0; background: var(--paper); }
.ribbon__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 60s linear infinite; }
.ribbon span { font: italic 400 clamp(1.3rem, 2.4vw, 1.75rem)/1 var(--serif); white-space: nowrap; color: var(--ink-soft); }
.ribbon i { width: 9px; height: 9px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #fff, #efe6d6 45%, #cbbd9f 100%); box-shadow: 0 1px 2px rgba(0,0,0,.15); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 11vw, 150px) var(--gut) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head h2 { margin-bottom: 18px; }
.section__lede { color: var(--ink-soft); font-size: 1.06rem; max-width: 40em; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- collection ---------- */
.tabs { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--rule); margin-bottom: 18px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; background: none; border: 0; padding: 12px 0 14px; cursor: pointer; position: relative;
  font: 400 1.35rem/1 var(--serif); color: var(--muted); transition: color .3s;
}
.tab sup { font: 400 11px var(--sans); letter-spacing: .05em; margin-left: 3px; color: var(--muted); }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .45s var(--ease); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tabnote { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 18px; min-height: 1.6em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters:empty { display: none; }
.filter {
  border: 1px solid var(--rule); background: transparent; padding: 7px 14px; cursor: pointer; font-size: 13px; letter-spacing: .04em;
  transition: background .3s, color .3s, border-color .3s;
}
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 30px) clamp(12px, 2vw, 26px); }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid.is-swapping { opacity: 0; transform: translateY(8px); }
.grid { transition: opacity .35s var(--ease), transform .35s var(--ease); }

.card { position: relative; animation: cardIn .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }
.card__tile {
  position: relative; aspect-ratio: 1; background: var(--paper-2); display: grid; place-items: center; overflow: hidden;
  transform-style: preserve-3d; transition: transform .6s var(--ease), background .4s;
}
.card--tall .card__tile { aspect-ratio: 3 / 4; }
.card__tile::after { /* glare */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 55%);
}
.card:hover .card__tile::after { opacity: 1; }
.card__plate { width: 78%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow-plate); transform: translateZ(28px); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.card__plate img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card__plate { transform: translateZ(40px) rotate(-8deg); box-shadow: 0 26px 40px -14px rgba(43, 58, 48, .34), 0 6px 12px -6px rgba(43, 58, 48, .2); }
.card__napkin { width: 40%; aspect-ratio: 1 / 1.8; background: center/cover; box-shadow: 0 16px 24px -12px rgba(43, 58, 48, .32), 0 2px 4px rgba(43, 58, 48, .08); transform: rotate(-4deg) translateZ(24px); transition: transform .6s var(--ease); position: relative; }
.card__napkin::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,255,255,.18), rgba(255,255,255,0) 40%, rgba(0,0,0,.05)); }
.card:hover .card__napkin { transform: rotate(0deg) translateZ(36px) translateY(-4px); }
.card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: transform 1s var(--ease); }
.card:hover .card__photo { transform: scale(1.05); }
.card__photo--contain { object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.card__art { width: 70%; height: 70%; color: var(--ink); transform: translateZ(20px); }
.card--art .card__tile { background: var(--champagne-2); }
.card__badge { position: absolute; left: 10px; top: 10px; font: 500 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; background: var(--paper); padding: 6px 8px; transform: translateZ(30px); }
.card__add {
  position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink);
  background: var(--paper); cursor: pointer; display: grid; place-items: center; transform: translateZ(40px);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.card__add::before, .card__add::after { content: ""; position: absolute; width: 14px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), width .35s var(--ease); }
.card__add::after { transform: rotate(90deg); }
.card__add:hover { transform: translateZ(40px) scale(1.08); }
.card__add[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.card__add[aria-pressed="true"]::before { width: 7px; transform: translate(-4px, 2px) rotate(45deg); }
.card__add[aria-pressed="true"]::after { width: 13px; transform: translate(2px, -1px) rotate(-50deg); }
.card__meta { padding: 14px 2px 0; }
.card__name { font: 400 1.75rem/1.1 var(--script); margin: 0 0 4px; }
.card__name--serif { font: 500 1.3rem/1.15 var(--serif); }
.card__line { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.45; }
.card__price { font-size: 13px; letter-spacing: .04em; margin-top: 4px; color: var(--ink-soft); }

/* ---------- build a setting ---------- */
.build__wrap { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 980px) { .build__wrap { grid-template-columns: 1.25fr 1fr; } }
.scene {
  position: relative; aspect-ratio: 1 / .92; background: radial-gradient(120% 90% at 50% 35%, #F3F0E8 0%, #E9E4D8 70%, #E2DCCD 100%);
  display: grid; place-items: center; perspective: 1200px; perspective-origin: 50% 20%; overflow: hidden; cursor: grab; touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
}
.scene:active { cursor: grabbing; }
.scene__drag { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0; }
.scene__table {
  --rx: 54deg; --rz: -10deg;
  position: relative; width: 76%; aspect-ratio: 1.12; transform-style: preserve-3d;
  transform: translateY(0%) rotateX(var(--rx)) rotateZ(var(--rz));
  transition: transform .9s var(--ease);
}
.scene.is-dragging .scene__table { transition: none; }
.scene__cloth {
  position: absolute; inset: 0; border-radius: 1px;
  background-color: #FCFBF8;
  background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.018) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0,0,0,.015) 0 1px, transparent 1px 4px);
  box-shadow: 0 0 0 1px rgba(43, 58, 48, .04);
  transition: background .6s var(--ease);
}
.scene__cloth.is-toile { background-color: #fff; background-image: url("../assets/img/linens/print-1.jpg"); background-size: 24% auto; }
.scene__cloth.is-wood {
  background-color: #b48f68;
  background-image:
    repeating-linear-gradient(90deg, rgba(60, 35, 15, .18) 0 1px, transparent 1px 22%),
    repeating-linear-gradient(0deg, rgba(255, 240, 220, .07) 0 2px, rgba(80, 45, 20, .06) 2px 5px, transparent 5px 9px),
    linear-gradient(180deg, #bf9a73, #a98058);
}
.scene__edge { position: absolute; background: #ECEAE4; }
.scene__edge--f { left: 0; right: 0; top: 100%; height: 22%; transform-origin: 50% 0; transform: rotateX(-90deg); background: linear-gradient(180deg, #EFEDE7, #E3E0D8 70%, rgba(227, 224, 216, 0)); }
.scene__edge--l { top: 0; bottom: 0; left: 0; width: 25%; transform-origin: 0 50%; transform: rotateY(90deg); background: linear-gradient(270deg, #E2DFD7, #D9D5CC 70%, rgba(217, 213, 204, 0)); }
.scene__edge--r { top: 0; bottom: 0; right: 0; width: 25%; transform-origin: 100% 50%; transform: rotateY(-90deg); background: linear-gradient(90deg, #E2DFD7, #D9D5CC 70%, rgba(217, 213, 204, 0)); }
[data-surface="toile"] .scene__edge { background-image: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.1)), url("../assets/img/linens/print-1.jpg"); background-size: auto, 24% auto; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
[data-surface="toile"] .scene__edge--l { -webkit-mask-image: linear-gradient(270deg, #000 55%, transparent); mask-image: linear-gradient(270deg, #000 55%, transparent); }
[data-surface="toile"] .scene__edge--r { -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent); mask-image: linear-gradient(90deg, #000 55%, transparent); }
[data-surface="wood"] .scene__edge--f { height: 5%; background: linear-gradient(180deg, #8f6a45, #7a5838); }
[data-surface="wood"] .scene__edge--l, [data-surface="wood"] .scene__edge--r { width: 5%; background: #73532f; }
.scene__runner { position: absolute; left: 0; right: 0; top: 4%; height: 26%; background: var(--sage) url("../assets/img/linens/solid-10.jpg") center/cover; opacity: 0; transform: translateZ(.5px); transition: opacity .5s; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
[data-surface="wood"] .scene__runner { opacity: 1; }
.scene__plate {
  position: absolute; left: 50%; top: 62%; width: 46%; aspect-ratio: 1; margin: -23% 0 0 -23%; border-radius: 50%; overflow: hidden;
  transform: translateZ(1px); box-shadow: 0 10px 16px -6px rgba(43, 58, 48, .35), 0 1px 2px rgba(43, 58, 48, .2);
}
.scene__plate img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.scene__napkin {
  position: absolute; left: 50%; top: 62%; width: 14%; aspect-ratio: 1 / 2.15; margin: calc(-14% * 1.075) 0 0 -7%;
  background: #e8ece3 center/cover; transform: translateZ(3px) rotate(0deg);
  box-shadow: 0 6px 10px -4px rgba(43, 58, 48, .35); transition: background-image .3s;
}
.scene__napkin::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(255,255,255,.22), rgba(255,255,255,0) 45%, rgba(0,0,0,.06)); }
.scene__menu {
  position: absolute; left: 50%; top: 62%; width: 9.6%; aspect-ratio: 1 / 1.75; margin: calc(-9.6% * .875) 0 0 -4.8%;
  background: #FFFEFB; transform: translateZ(5px); box-shadow: 0 4px 8px -3px rgba(43, 58, 48, .35);
  display: flex; flex-direction: column; align-items: center; padding-top: 12%; gap: 7%; transition: opacity .4s, transform .4s var(--ease);
}
.scene__menu .script { font-size: clamp(9px, 1.25vw, 15px); line-height: 1; }
.scene__menu i { display: block; width: 60%; height: 1px; background: rgba(43, 58, 48, .35); }
.scene__menu i:nth-of-type(2) { width: 46%; }
.scene__menu.is-off { opacity: 0; transform: translateZ(12px); }
.scene__fork, .scene__knife, .scene__spoon { position: absolute; top: 62%; width: 3%; aspect-ratio: 24 / 200; margin-top: -12.5%; background: center/contain no-repeat; transform: translateZ(1px); filter: drop-shadow(0 2px 1.5px rgba(0,0,0,.18)); }
.scene__fork { left: 22%; background-image: url("../assets/svg/fork.svg"); }
.scene__knife { left: 75%; background-image: url("../assets/svg/knife.svg"); }
.scene__spoon { left: 79.5%; background-image: url("../assets/svg/spoon.svg"); }
.scene__stand { position: absolute; inset: 0; transform-style: preserve-3d; }
.thing { position: absolute; transform-origin: 50% 100%; transform: translate(-50%, -100%) rotateZ(calc(var(--rz) * -1)) rotateX(-90deg); animation: rise .7s var(--ease) both; }
@keyframes rise { from { opacity: 0; } }
.thing svg { display: block; width: 100%; height: auto; overflow: visible; }
.glow { position: absolute; width: 26%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%) translateZ(.6px); background: radial-gradient(closest-side, rgba(255, 196, 120, .38), rgba(255, 196, 120, 0)); pointer-events: none; animation: glow 3.2s ease-in-out infinite alternate; }
@keyframes glow { to { opacity: .7; transform: translate(-50%, -50%) translateZ(.6px) scale(.92); } }
.flame { transform-box: fill-box; transform-origin: 50% 90%; animation: flicker 1.6s ease-in-out infinite alternate; }
@keyframes flicker { 0% { transform: scaleY(1) skewX(0); } 35% { transform: scaleY(1.08) skewX(-3deg); } 70% { transform: scaleY(.94) skewX(2deg); } 100% { transform: scaleY(1.04) skewX(-1deg); } }

.build__controls { display: grid; gap: 22px; }
.ctl { border: 0; margin: 0; padding: 0; min-width: 0; }
.ctl legend { font: 500 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; padding: 0; }
.ctl legend span { text-transform: none; letter-spacing: 0; font: italic 400 1.05rem var(--serif); color: var(--ink); margin-left: 6px; }
.ctl--row { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
.ctl--row legend { width: 100%; float: left; }
.chips { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.chips .swatch { flex: none; width: 46px; height: 46px; scroll-snap-align: start; }
.chip-napkin { flex: none; width: 30px; height: 50px; border: 0; padding: 0; cursor: pointer; background: center/cover; box-shadow: 0 0 0 1px var(--rule), 0 4px 8px -5px rgba(0,0,0,.35); transition: transform .3s var(--ease), box-shadow .3s; scroll-snap-align: start; }
.chip-napkin:hover { transform: translateY(-2px); }
.chip-napkin[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); }
.seg { display: inline-flex; border: 1px solid var(--rule); }
.seg button { border: 0; background: transparent; padding: 10px 14px; font-size: 13.5px; cursor: pointer; transition: background .3s, color .3s; }
.seg button + button { border-left: 1px solid var(--rule); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.check input { accent-color: var(--ink); width: 16px; height: 16px; }
.build__note { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- how ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { border-top: 1px solid var(--rule); padding: 22px 0 26px; display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; }
.steps li > :not(.steps__n) { grid-column: 2; }
.steps__n { font: italic 400 2.2rem/1 var(--serif); color: var(--sage-2); grid-row: span 2; }
.steps h3 { font-size: 1.5rem; margin: 2px 0 8px; }
.steps p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }
@media (min-width: 980px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .steps li { display: block; padding-top: 26px; position: relative; }
  .steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #efe6d6 45%, #cbbd9f); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
  .steps__n { display: block; margin-bottom: 18px; font-size: 2.8rem; }
}

/* ---------- story ---------- */
.story {
  margin-top: clamp(90px, 12vw, 160px); display: grid; position: relative;
  max-width: var(--max); margin-inline: auto; padding: 0 var(--gut);
}
.story__panel { background: var(--sage); color: var(--ink); padding: clamp(36px, 6vw, 84px); position: relative; }
.story__script { font-size: clamp(3rem, 7vw, 5.4rem); color: #fff; margin: 0 0 4px; line-height: 1; }
.story__panel h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 24px; }
.story__text { max-width: 36em; }
.story__text p { font-size: 1.04rem; }
.story__pull { font: italic 400 clamp(1.4rem, 2.4vw, 1.8rem)/1.3 var(--serif); margin-top: 1.3em; }
.story__sig { display: flex; align-items: baseline; gap: 14px; margin: 26px 0 0; }
.story__sig .script { font-size: 2.4rem; color: #fff; }
.story__sig .kicker { margin: 0; color: var(--ink); }
.story__photo { padding: 0 8%; margin-top: -40px; position: relative; z-index: 2; perspective: 900px; }
.arch { border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 30px 60px -30px rgba(43,58,48,.5); border: 10px solid var(--paper); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .story { grid-template-columns: 1.35fr 1fr; align-items: center; }
  .story__panel { padding-right: 14%; }
  .story__photo { margin: 0 0 0 -10%; padding: 0; }
}

/* ---------- gallery ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gallery__item { position: relative; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.gallery__img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); flex: 1; }
.gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.gallery__cap { font: 400 1.35rem/1.15 var(--script); color: var(--ink); }
.gallery__credit { font-size: 11px; letter-spacing: .08em; color: var(--muted); white-space: nowrap; }
@media (min-width: 900px) {
  .gallery__grid { grid-template-columns: 1.25fr 1fr 1fr; gap: 22px; }
  .gallery__item--tall { grid-row: span 2; }
  .gallery__item--tall .gallery__img { aspect-ratio: auto; }
}
.gallery__cta { margin-top: 28px; }
.lookbook { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2vw, 28px); align-items: end; padding: clamp(28px, 4vw, 56px) clamp(16px, 4vw, 56px) clamp(52px, 6vw, 80px); background: var(--sage-light); }
.lookbook__card { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper); border: 8px solid var(--paper); box-shadow: 0 24px 40px -24px rgba(43, 58, 48, .45); transition: transform .6s var(--ease); }
.lookbook__card:nth-child(1) { rotate: -3deg; }
.lookbook__card:nth-child(2) { rotate: 1.5deg; translate: 0 -18px; }
.lookbook__card:nth-child(3) { rotate: 4deg; }
.lookbook__card img { width: 100%; height: 100%; object-fit: cover; }
.lookbook__label { position: absolute; right: clamp(16px, 4vw, 56px); bottom: 10px; margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--sage-2); }

/* ---------- reviews ---------- */
.reviews__head { display: grid; gap: 6px; }
.rating { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; margin-top: 8px; justify-self: start; border-bottom: 1px solid transparent; transition: border-color .3s; }
.rating:hover { border-color: var(--ink); }
.rating__num { font: 500 2.4rem/1 var(--serif); }
.rating__stars, .review__stars { color: #C2A46A; letter-spacing: .12em; font-size: 15px; }
.rating__txt { font-size: 14px; color: var(--ink-soft); letter-spacing: .03em; }
.reviews__grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
@media (min-width: 980px) { .reviews__grid { grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto auto; } .review--feature { grid-row: span 2; } .reviews__more { grid-column: 1 / -1; } }
.review { margin: 0; background: var(--card); border: 1px solid var(--rule); display: grid; }
.review--feature { grid-template-columns: 1fr; background: var(--sage-light); border-color: transparent; }
@media (min-width: 700px) { .review--feature { grid-template-columns: .9fr 1.1fr; } }
.review__photo { position: relative; min-height: 320px; overflow: hidden; }
.review__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.review__photo .gallery__credit { position: absolute; left: 10px; bottom: 8px; background: rgba(246, 244, 239, .85); padding: 3px 7px; }
.review__body { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.review blockquote { margin: 0; font: 400 clamp(1.25rem, 1.9vw, 1.55rem)/1.35 var(--serif); }
.review--feature blockquote { font-size: clamp(1.45rem, 2.3vw, 1.95rem); font-style: italic; }
.review figcaption { display: grid; gap: 0; }
.review__name { font: 400 1.9rem/1 var(--script); }
.review__ctx { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.reviews__more { margin: 0; font-size: 14px; }
.reviews__more a { text-underline-offset: 4px; }
.places__far { font-family: var(--script) !important; font-style: normal !important; font-size: 1.6rem !important; color: var(--sage-2); }

/* ---------- faq ---------- */
.faq__grid { display: grid; gap: clamp(36px, 6vw, 90px); }
@media (min-width: 980px) { .faq__grid { grid-template-columns: 1fr 1.25fr; } }
.faq__delivery h2 { margin-bottom: 18px; }
.places { list-style: none; padding: 0; margin: 22px 0 30px; display: flex; flex-wrap: wrap; gap: 6px 0; }
.places li { font: italic 400 1.3rem/1.4 var(--serif); }
.places li:not(:last-child)::after { content: "·"; margin: 0 12px; color: var(--sage-2); font-style: normal; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.facts div { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 2px; }
.facts div:nth-child(odd) { border-right: 1px solid var(--rule); }
.facts div:nth-child(even) { padding-left: 16px; }
.facts b { font: 500 11.5px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.facts span { font: 500 1.2rem/1.3 var(--serif); }
.qa { border-bottom: 1px solid var(--rule); }
.qa:first-child { border-top: 1px solid var(--rule); }
.qa summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font: 500 1.35rem/1.3 var(--serif); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.2px; background: var(--ink); transition: transform .4s var(--ease); }
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0deg); }
.qa__a { color: var(--ink-soft); padding: 0 40px 22px 0; margin: 0; }

/* ---------- inquire ---------- */
.inquire { padding-bottom: clamp(90px, 11vw, 150px); }
.inquire__grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 980px) { .inquire__grid { grid-template-columns: 1fr 1.6fr; } }
.mytable { background: var(--card); border: 1px solid var(--rule); padding: 26px; }
@media (min-width: 980px) { .mytable { position: sticky; top: calc(var(--nav) + 24px); } }
.mytable h3 { font-size: 1.6rem; margin-bottom: 14px; }
.mytable__empty { color: var(--muted); font-size: 15px; }
.mytable__browse { font-size: 14px; letter-spacing: .04em; }
.row { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.row:last-of-type { border-bottom: 0; }
.row__img { width: 46px; height: 46px; background: var(--paper-2) center/cover; }
.row__img--plate { border-radius: 50%; box-shadow: 0 4px 8px -4px rgba(0,0,0,.3); }
.row__img--napkin { width: 26px; height: 46px; margin-left: 10px; }
.row__img--art { display: grid; place-items: center; background: var(--champagne-2); }
.row__img--art svg { width: 80%; height: 80%; }
.row__name { font: 500 1.08rem/1.2 var(--serif); }
.row__kind { display: block; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.row__x { border: 0; background: none; cursor: pointer; font-size: 20px; line-height: 1; color: var(--muted); width: 32px; height: 32px; }
.row__x:hover { color: var(--ink); }

.form { display: grid; gap: 22px; }
.form__row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font: 500 11.5px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 0; }
.field em { text-transform: none; letter-spacing: 0; font-style: italic; font-family: var(--serif); font-size: 14px; margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--rule); background: transparent; border-radius: 0;
  font: 400 1.18rem/1.4 var(--serif); color: var(--ink); padding: 8px 0 10px; transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232B3A30' stroke-width='1.2'/%3E%3C/svg%3E") right 4px center/11px no-repeat; padding-right: 24px; }
.field textarea { resize: vertical; min-height: 110px; border: 1px solid var(--rule); padding: 12px 14px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #a7ab9f; font-style: italic; }
.field.is-invalid input { border-color: #a5523f; }
.field--radios { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.field--radios legend { width: 100%; margin-bottom: 10px; }
.field--radios label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.field--radios input { accent-color: var(--ink); width: 16px; height: 16px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.form__alt { margin: 0; font-size: 14.5px; color: var(--muted); }
.form__error { color: #8f4535; margin: 0; }
.hp { position: absolute; left: -5000px; }
.thanks { background: var(--card); border: 1px solid var(--rule); padding: clamp(28px, 5vw, 56px); outline: none; }
.thanks .script { font-size: 3.4rem; color: var(--sage-2); margin: 0; line-height: 1; }
.thanks h3 { font-size: 2rem; margin: 8px 0 14px; }
.thanks__preview { font-size: 13px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 12px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--rule); padding: 48px var(--gut) 36px; display: grid; gap: 26px; max-width: var(--max); margin: 0 auto; }
.footer__brand img { height: 72px; width: auto; margin-bottom: 10px; }
.footer__brand p { color: var(--muted); font-size: 14px; margin: 0; }
.footer__contact { display: grid; gap: 4px; font: 400 1.2rem/1.5 var(--serif); }
.footer__contact a { text-decoration: none; }
.footer__contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__small { font-size: 12px; color: var(--muted); margin: 0; grid-column: 1 / -1; }
@media (min-width: 760px) { .footer { grid-template-columns: 1fr auto; align-items: end; } .footer__contact { text-align: right; } }

/* ---------- character: notes in the margin, looks, petals ---------- */
.hero__script { font-family: var(--script); font-style: normal; font-weight: 400; font-size: 1.18em; letter-spacing: 0; color: var(--sage-2); padding: 0 .08em; }
.hero__title .line:nth-child(2) { padding-bottom: .16em; margin-bottom: -.1em; }

.note { position: absolute; margin: 0; font: 400 1.65rem/1.1 var(--script); color: var(--sage-2); pointer-events: none; display: none; align-items: flex-start; gap: 4px; }
.note__arrow { width: 70px; height: 38px; flex: none; fill: none; stroke: var(--sage-2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.note__arrow path { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1.2s var(--ease) .5s; }
.note.in .note__arrow path, .is-loaded .note--spin .note__arrow path { stroke-dashoffset: 0; }
.note span { opacity: 0; transform: translateY(6px) rotate(-4deg); transition: opacity .8s var(--ease) .2s, transform .8s var(--ease) .2s; display: inline-block; }
.note.in span, .is-loaded .note--spin span { opacity: 1; transform: rotate(-4deg); }
@media (min-width: 1040px) {
  .note { display: flex; }
  .note--spin { top: 2%; left: -6%; transform: rotate(-6deg); }
  .note--spin .note__arrow { margin-top: 18px; }
  .collection { position: relative; }
  .note--plus { right: var(--gut); top: calc(clamp(80px, 11vw, 150px) + 160px); flex-direction: row; }
  .note--plus .note__arrow { transform: scaleX(-1) rotate(8deg); margin-top: 22px; width: 50px; height: 50px; }
  .stage .stage__hint { display: none; }
}

.looks-head { display: flex; align-items: flex-end; gap: 18px; position: relative; }
.looks-head .kicker { margin-bottom: 12px; }
.looks-head .note { position: static; transform: rotate(-3deg) translateY(4px); font-size: 1.5rem; }
.looks-head .note__arrow { width: 40px; height: 40px; }
.looks { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 14px; overflow-x: auto; padding: 4px 2px 18px; margin-bottom: clamp(28px, 4vw, 44px); scroll-snap-type: x mandatory; scrollbar-width: thin; }
@media (min-width: 1100px) { .looks { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; } }
.look { scroll-snap-align: start; text-align: left; border: 1px solid var(--rule); background: var(--card); padding: 14px 14px 16px; cursor: pointer; display: grid; gap: 6px; align-content: start; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.look:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 18px 30px -20px rgba(43, 58, 48, .45); }
.look.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.look__vignette { position: relative; aspect-ratio: 1.25; display: grid; place-items: center; margin-bottom: 8px; background: #FBFAF7; overflow: hidden; }
.look__vignette--toile { background: #fff url("../assets/img/linens/print-1.jpg") center/60% auto; }
.look__vignette--wood { background: linear-gradient(90deg, rgba(60,35,15,.12) 1px, transparent 1px) 0 0/22% 100%, linear-gradient(180deg, #bf9a73, #a98058); }
.look__plate { width: 62%; aspect-ratio: 1; border-radius: 50%; background: center/cover; box-shadow: var(--shadow-plate); transition: transform .8s var(--ease); }
.look:hover .look__plate { transform: rotate(-25deg); }
.look__napkin { position: absolute; width: 15%; aspect-ratio: 1 / 2.2; background: center/cover; box-shadow: 0 6px 10px -4px rgba(43,58,48,.4); transform: rotate(-6deg); transition: transform .6s var(--ease); }
.look:hover .look__napkin { transform: rotate(4deg) translateY(-3px); }
.look__name { font: 400 1.7rem/1.05 var(--script); }
.look__line { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.scene.is-settling .scene__table { animation: settle .9s var(--ease); }
@keyframes settle { 0% { transform: translateY(-2%) rotateX(var(--rx)) rotateZ(var(--rz)) scale(.97); } 60% { transform: translateY(1%) rotateX(var(--rx)) rotateZ(var(--rz)) scale(1.01); } 100% { transform: translateY(0) rotateX(var(--rx)) rotateZ(var(--rz)); } }

.petal { position: fixed; z-index: 90; width: 11px; height: 15px; border-radius: 70% 0 70% 0; pointer-events: none; box-shadow: inset -2px -2px 3px rgba(0,0,0,.06); }

.countdown { font: 400 1.3rem/1 var(--script); color: var(--sage-2); text-transform: none; letter-spacing: 0; margin-left: 8px; }
.thanks { position: relative; overflow: hidden; }
.thanks__date { display: inline-flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--champagne); background: var(--champagne-2); margin: 0 0 18px; }
.thanks__date span { padding: 8px 14px; font: 500 1.05rem/1.2 var(--serif); }
.thanks__date span + span { border-left: 1px solid var(--champagne); font: 400 1.35rem/1 var(--script); color: var(--ink); display: grid; place-items: center; }
.thanks__again { margin-top: 8px; }

/* ---------- drawer, fab, toast ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(31, 43, 35, .32); opacity: 0; transition: opacity .4s var(--ease); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper);
  display: grid; grid-template-rows: auto 1fr auto; transform: translateX(100%); transition: transform .5s var(--ease);
  box-shadow: -30px 0 60px -30px rgba(31, 43, 35, .4);
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--rule); }
.drawer__head h2 { font-size: 2rem; }
.drawer__mood { margin: 2px 0 0; font: 400 1.3rem/1.1 var(--script); color: var(--sage-2); }
.drawer__close { border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; width: 40px; height: 40px; }
.drawer__list { overflow-y: auto; padding: 8px 26px; }
.drawer__foot { padding: 20px 26px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); display: grid; gap: 12px; }
.drawer__foot p { font-size: 13.5px; color: var(--muted); margin: 0; }
.drawer__clear { border: 0; background: none; font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer; justify-self: center; }

.fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30; display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--paper); border: 0; padding: 12px 14px 12px 12px; font-size: 14px; letter-spacing: .04em; cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(31, 43, 35, .6); transition: transform .4s var(--ease), opacity .4s;
}
.fab .tablebtn__plate { border-color: var(--paper); box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px var(--sage); }
.fab .tablebtn__count { background: var(--paper); color: var(--ink); }
@media (min-width: 1040px) { .fab { display: none !important; } }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translate(-50%, 140%); opacity: 0;
  background: var(--ink); color: var(--paper); padding: 12px 18px; font-size: 14px; letter-spacing: .02em; max-width: calc(100% - 32px);
  transition: transform .5s var(--ease), opacity .5s; pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
@media (max-width: 1039px) { .toast { bottom: 84px; } }

.flyer { position: fixed; z-index: 80; pointer-events: none; border-radius: 50%; background: center/cover; box-shadow: var(--shadow-plate); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .ribbon__track { animation: none; }
}
