/* The STRUCTURE every designed site shares (page rules 3k), from
   scrollcraft/starter. It sets how things work, not how the business looks:
   every value marked CHANGE is the brand, chosen fresh for each business from
   its own logo, photos and menu, and checked with
   `node scripts/check-fingerprints.mjs <build>` so no two sites look alike.
   Never start a look from another site's tokens. */
:root {
  /* CHANGE: the brand. Ground, surface, ink, soft text, the accent, the line. */
  --ground: #FFFFFF; --surface: #F5F1EC; --ink: #1F1B1A; --soft: #5F5752; --accent: #6F0D0C; --accent-ink: #FFFFFF; --line: #E6DFD7;
  /* CHANGE: three faces at most, none the same as another site's heading face. */
  --font-head: 'David Libre', Georgia, serif; --font-body: 'Alef', system-ui, sans-serif;
  /* CHANGE: one radius for images and buttons. */
  --r: 6px;
  /* one type scale and one spacing scale (rules 3x.13): every size on the site is one of these, nothing in between.
     Ratio 1.25 from a 17 px body; the display steps grow with the screen. */
  --t-1: .8125rem; --t0: 1.0625rem; --t1: 1.3125rem; --t2: 1.625rem; --t3: clamp(1.75rem, 1.4rem + 1.6vw, 2.25rem);
  --t4: clamp(2.1rem, 1.5rem + 3vw, 3.25rem); --t5: clamp(2.6rem, 1.6rem + 5vw, 4.75rem);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --gutter: clamp(18px, 4vw, 44px); --bar-h: 64px; --top-h: 68px; --out: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--t0)/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.04; }
.wrap { max-width: 74rem; margin: 0 auto; padding-inline: var(--gutter); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
/* the first Tab stop (rules 3x.8): hidden until a keyboard reaches it */
.skip { position: absolute; left: -999px; top: .6rem; z-index: 100; padding: .6rem 1rem; background: var(--ink); color: var(--ground); border-radius: 6px; font-weight: 700; }
.skip:focus { left: .6rem; }
[hidden] { display: none !important; }
.sym { font-family: var(--font-body); font-weight: 500; font-size: .62em; margin-right: .08em; vertical-align: .18em; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* the one solid button and the outline one; every button reacts when pressed */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 54px; padding: 0 1.7rem; border-radius: 999px; border: 0;
  background: var(--accent); color: var(--accent-ink); font: 600 var(--t0)/1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform 160ms var(--out), filter 160ms; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
/* CHANGE: the button's hover and press (effects.button in fingerprints.json),
   found by a fresh 21st search for this business, never copied from the last
   site. The starter used to hold a lift, press and travelling arrow here, and
   every site built from it came out with the same button (rules 3p.4). */
.btn-line { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.15rem; border-radius: 999px; border: 2px solid var(--ink);
  color: var(--ink); font: 600 var(--t0)/1 var(--font-body); text-decoration: none; background: transparent; cursor: pointer; transition: background 160ms, color 160ms, transform 140ms; }
/* CHANGE: the outline button's hover and press, chosen with the main one */

/* the menu bar: the same on every page; on a phone the pages fold into Menu */
.top { position: fixed; inset: 0 0 auto; z-index: 30; height: var(--top-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-inline: var(--gutter);
  background: color-mix(in srgb, var(--ground) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color 240ms; }
.top.solid { border-bottom-color: var(--line); }
.mark { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font: 700 var(--t0)/1 var(--font-head); }
.mark img { width: 36px; height: auto; }
.nav { display: flex; gap: .2rem; }
.nav a { padding: .55rem .9rem; border-radius: 999px; color: var(--soft); font: 600 var(--t0)/1 var(--font-body); text-decoration: none; transition: color 160ms, background 160ms; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--surface); }
.top-r { display: flex; align-items: center; gap: .6rem; }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: .45rem; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 800 var(--t-1)/1 var(--font-body); }
.menu-btn { display: none; min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); font: 600 var(--t0)/1 var(--font-body); cursor: pointer; }
@media (max-width: 800px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .top .btn-line { display: none; }
  .nav { position: fixed; inset: var(--top-h) 0 auto; flex-direction: column; gap: 0; padding: .4rem var(--gutter) 1.2rem; background: var(--ground); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 200ms var(--out), transform 200ms var(--out), visibility 0s 200ms; }
  .nav.shown { transform: none; opacity: 1; visibility: visible; transition: opacity 200ms var(--out), transform 200ms var(--out); }
  .nav a { padding: 1rem .4rem; border-radius: 0; border-bottom: 1px solid var(--line); font-size: var(--t0); }
}

/* sections, reveals and inner page heads */
section.sec { padding-block: clamp(4.5rem, 10vw, 7.5rem); }
.sec h2 { font-size: var(--t4); }
.sec .lede { color: var(--soft); font-size: var(--t0); max-width: 36rem; margin: .9rem 0 0; }
/* CHANGE: how sections appear (effects.reveal). site.js adds .in to each .rev
   as it comes into view; the look is chosen per site (fade up was on all nine
   live pages, 20 Oct 2026). Write .rev and .rev.in below the marked line, and
   keep .no-js .rev and reduced motion visible. */
.no-js .rev { opacity: 1; transform: none; }
.page-head { padding: calc(var(--top-h) + clamp(3rem, 8vw, 5rem)) 0 0; }
.page-head h1 { font-size: var(--t5); }
.page-head .lede { color: var(--soft); font-size: var(--t0); max-width: 38rem; margin: 1rem 0 0; }

/* owner-filled places (3m): gallery and questions */
.gal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin-top: clamp(2rem, 4vw, 3rem); }
.gal-grid[data-count="1"] { grid-template-columns: minmax(0, 46rem); }
.gal-grid[data-count="2"], .gal-grid[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gal-ph { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.gal-ph img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .gal-grid { grid-template-columns: 1fr 1fr; } }
.faq-list { margin-top: clamp(1.5rem, 3vw, 2.2rem); max-width: 50rem; }
.faq-q { border-top: 1px solid var(--line); } .faq-q:last-child { border-bottom: 1px solid var(--line); }
.faq-q summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font: 600 var(--t0)/1.35 var(--font-body); }
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q summary::after { content: '+'; color: var(--accent); font-size: var(--t1); line-height: 1; transition: transform 200ms var(--out); }
.faq-q[open] summary::after { transform: rotate(45deg); }
.faq-q p { margin: 0 0 1.2rem; color: var(--soft); }

/* forms (order or book) */
.form { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(1.5rem, 3vw, 2.4rem); align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.2rem, 3vw, 1.7rem); }
.card + .card { margin-top: 1.1rem; }
label.f { display: block; font-weight: 600; font-size: var(--t0); margin: .9rem 0 .35rem; }
.fld { width: 100%; min-height: 48px; padding: .7rem .9rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--ground); color: var(--ink); font: 400 var(--t0)/1.4 var(--font-body); }
textarea.fld { min-height: 88px; resize: vertical; }
.fld:focus { outline: 3px solid var(--accent); outline-offset: 1px; }
.bad .fld { border-color: #B3261E; }
.err { color: #A3221B; font-size: var(--t-1); margin: .3rem 0 0; min-height: 1.1em; }
.sum { position: sticky; top: calc(var(--top-h) + 20px); }
@media (max-width: 860px) { .form { grid-template-columns: 1fr; } .sum { position: static; } }

/* the closing band, footer and phone bar */
.close { padding-top: clamp(3.5rem, 8vw, 6rem); overflow: hidden; background: var(--ink); color: var(--ground); }
.close .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.2rem; align-items: center; }
.close h2 { font-size: var(--t4); }
.close p { margin: .5rem 0 0; line-height: 1.8; opacity: .9; }
.close p a { color: inherit; font-weight: 700; white-space: nowrap; }
.giant { font: 700 min(11vw, 34svh)/1 var(--font-head); white-space: nowrap; text-align: center; margin: clamp(2rem, 5vw, 3rem) 0 0; padding-bottom: .08em; opacity: .9; }
.foot { background: var(--ink); color: var(--ground); opacity: .95; font-size: var(--t-1); text-align: center; padding: 1.1rem var(--gutter) calc(1.1rem + var(--pad-bar, 0px)); }
.foot a { color: inherit; } .foot nav { margin-bottom: .55rem; font-weight: 600; } .foot nav a { margin: 0 .35rem; }
/* the full footer (rules 3v.1): parts with a small heading, two to a row on a phone, then the base line */
.foot.full { text-align: start; font-size: var(--t-1); padding: clamp(2.6rem, 6vw, 4rem) var(--gutter) calc(1.4rem + var(--pad-bar, 0px)); }
.foot .fgrid { max-width: 74rem; margin: 0 auto; display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 2rem clamp(1.5rem, 4vw, 3.5rem); }
.foot.full h4, .foot.full h2 { margin: 0 0 .9rem; font: 600 var(--t-1)/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.foot.full nav { margin: 0; font-weight: 400; } .foot.full nav a { margin: 0 0 .55rem; }
.foot .fgrid a, .foot .fgrid p { display: block; width: fit-content; margin: 0 0 .55rem; }
.foot .fgrid a[href^="https://wa.me"], .foot .fgrid a[href^="tel:"] { white-space: nowrap; }
.foot .fgrid a.fname { font: 700 var(--t2)/1 var(--font-head); margin-bottom: .9rem; }
.foot .fbrand p { max-width: 30ch; opacity: .8; line-height: 1.55; }
.foot .fgrid a.fcta { display: inline-flex; align-items: center; gap: .5rem; margin-top: .4rem; font-weight: 700; }
.foot .fbase { max-width: 74rem; margin: clamp(2rem, 5vw, 3rem) auto 0; padding-top: 1.2rem; border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: var(--t-1); opacity: .85; }
@media (max-width: 760px) { .foot .fgrid { grid-template-columns: 1fr 1fr; } .foot .fbrand { grid-column: 1 / -1; } }
.bar { position: fixed; inset: auto 0 0; z-index: 25; display: none; align-items: center; justify-content: space-between; gap: .8rem; height: calc(var(--bar-h) + env(safe-area-inset-bottom));
  padding: 0 var(--gutter) env(safe-area-inset-bottom); background: var(--surface); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 300ms var(--out); }
.bar.on { transform: none; }
.bar .p { font-size: var(--t-1); line-height: 1.25; margin: 0; color: var(--soft); }
.bar .p b { color: var(--ink); font: 700 var(--t1)/1 var(--font-head); display: block; }
.bar .btn { min-height: 46px; padding: 0 1.2rem; }
@media (max-width: 760px) { .bar { display: flex; } body { --pad-bar: var(--bar-h); } }
@media (prefers-reduced-motion: reduce) { .rev, .rev.in { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; transition: none !important; } }

/* ── BELOW HERE: this business only. Its opening, its signature moment, its
   sections. Nothing here is copied from another site. ── */

/* Gifted Israel (BRAND.md, CONCEPT.md). One radius, cut corners like their Lucite, never pills. */
h1, h2, h3 { font-weight: 400; letter-spacing: .005em; }
.btn, .btn-line, .nav a, .menu-btn { border-radius: var(--r); }
.btn-line { min-height: 44px; }
.mark { min-height: 44px; }
.keep { display: inline-flex; align-items: center; min-height: 44px; }
.btn { box-shadow: 0 3px 30px rgba(111, 13, 12, .16); }
/* GI-B1: hover draws a thin inner line, pressing sinks the label in like letters cut into metal */
.btn:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 3px 30px rgba(111, 13, 12, .2); }
.btn:active { transform: translateY(1px); text-shadow: 0 -1px 0 rgba(0, 0, 0, .35); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .3); }
.btn-line:hover { background: var(--ink); color: var(--ground); }
.btn-line:active { transform: translateY(1px); }
.btn.idle { opacity: .72; }
/* L3: a link's arrow lifts away */
.lnk { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; transition: text-decoration-color 160ms; }
.lnk:hover { text-decoration-color: var(--ink); }
.arw { display: inline-block; transition: transform 220ms var(--out); }
a:hover > .arw, button:hover > .arw { transform: translate(3px, -3px); }
/* the touch: the basket count sits in a small gift box like their logo's G box */
.count { position: relative; border-radius: 2px 2px 4px 4px; margin-top: 4px; }
.count::before { content: ''; position: absolute; left: 50%; top: -6px; width: 12px; height: 6px; transform: translateX(-50%);
  border: 1.5px solid var(--accent); border-bottom: 0; border-radius: 6px 6px 0 0; }
.mark img { width: 34px; height: auto; }
.mark span { font: 400 var(--t1)/1 var(--font-head); letter-spacing: .02em; }
.caps { font: 700 var(--t-1)/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); margin: 0 0 var(--s4); }
/* GI-R1: blocks settle a few pixels; words fade, pictures never fade */
.rev { transform: translateY(14px); transition: transform 600ms var(--out); }
.rev :is(h2, .lede, .caps) { opacity: 0; transition: opacity 500ms var(--out) 80ms; }
.rev.in { transform: none; } .rev.in :is(h2, .lede, .caps) { opacity: 1; }
.no-js .rev :is(h2, .lede, .caps) { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .rev :is(h2, .lede, .caps) { opacity: 1 !important; transition: none !important; } }
.toast { position: fixed; left: 50%; bottom: calc(var(--pad-bar, 0px) + 20px); width: max-content; max-width: 92vw; z-index: 40; display: flex; gap: var(--s2); align-items: center; padding: var(--s3) var(--s5);
  background: var(--ink); color: var(--ground); border-radius: var(--r); font-weight: 700; transform: translate(-50%, 140%); opacity: 0; transition: transform 300ms var(--out), opacity 300ms; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast .tk::before { content: '\2713'; }

/* the opening: their menorah on its own white, full screen, the words on the white beside it (moto-card hero-2500) */
.btn-facts { display: flex; flex-wrap: nowrap; gap: var(--s4); list-style: none; padding: 0; margin: var(--s5) 0 0; color: var(--soft); font-size: var(--t0); }
.btn-facts li { white-space: nowrap; }
.btn-facts li + li::before { content: '\00B7'; margin-right: var(--s3); } .btn-facts b { color: var(--ink); }
.piece { position: relative; margin: 0; container-type: inline-size; }
.piece img { width: 100%; height: auto; }
/* the engraving (GI-X1): letters cut into the gold base, measured on the photo (gen/look/base-crop.png):
   the base's front face runs 23.6% to 80% across and 71.5% to 76.6% down the 1600 px picture */
.engr { transform: rotate(-3deg); position: absolute; left: 25%; width: 53%; top: 71.6%; height: 4.9%; display: flex; align-items: center; justify-content: center; overflow: hidden;
  font: 400 2.6cqw/1 var(--font-head); letter-spacing: .1em; white-space: nowrap; color: rgba(74, 52, 12, .86);
  text-shadow: 0 .07em 0 rgba(255, 242, 205, .75), 0 -.03em 0 rgba(60, 40, 6, .35); pointer-events: none; }
.engr .ch { white-space: pre; }
.engr.cutting .ch { opacity: 0; }
.engr.cutting .ch.cut { opacity: 1; transition: opacity 120ms ease-out; }
.spark { position: absolute; top: 74%; left: 0; width: 1.6%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle, #fff 0 25%, rgba(255, 236, 180, .9) 45%, rgba(255, 220, 150, 0) 70%); transition: opacity 200ms; }
.spark.on { opacity: 1; }
@media (max-aspect-ratio: 4/3) {
}
/* the first screen arrives in order once (3u.5): bar, headline, line, piece, button */
[data-arrive] { animation: arrive 700ms var(--out) both; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } }
.no-js [data-arrive] { animation: none; }
@media (prefers-reduced-motion: reduce) { [data-arrive] { animation: none; } }

section.sec { padding-block: clamp(3rem, 8svh, 7.5rem); }
.studio .piece { max-width: min(100%, 70svh); justify-self: center; width: 100%; }
/* try your engraving: the same piece, the field beside it */
.studio { border-top: 1px solid var(--line); }
.studio .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--s8); align-items: center; }
.studio .lede { margin-bottom: var(--s5); }
.row-name { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); border-bottom: 1px solid var(--line); padding-bottom: var(--s3); margin-bottom: var(--s4); }
.row-name h3 { font-size: var(--t3); }
.row-name .pr { font-size: var(--t1); }
.pr { font: 700 var(--t2)/1 var(--font-body); color: var(--ink); white-space: nowrap; }
.hint { color: var(--soft); font-size: var(--t-1); margin: var(--s2) 0 0; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
.chip { min-height: 44px; padding: 0 var(--s4); border: 1.5px solid var(--line); background: var(--ground); color: var(--ink); border-radius: var(--r);
  font: 700 var(--t0)/1 var(--font-body); cursor: pointer; transition: border-color 160ms, background 160ms, color 160ms; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--ground); }
label.chip { display: inline-flex; align-items: center; position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.studio .btn { margin-top: var(--s5); }
@media (max-width: 860px) { .studio .wrap { grid-template-columns: 1fr; gap: var(--s6); } }

/* occasions through the year (tedxportland year cards, Mobbin Palmer): tall cards, the coming one open */
.year { display: flex; gap: var(--s3); margin-top: var(--s6); height: min(22rem, 40svh); min-height: 18rem; }
.yc { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--s5); border: 1px solid var(--line);
  border-radius: var(--r); text-decoration: none; color: var(--ink); background: transparent; overflow: hidden;  /* outlined, not filled: the section's white shows through, and it is not a filled order button (rules 3g.19) */ transition: flex-grow 450ms var(--out), border-color 200ms; }
.yc img { position: absolute; left: 50%; top: var(--s3); translate: -50% 0; width: auto; max-width: 86%; height: calc(100% - 11.5rem); object-fit: contain; border-radius: var(--r); }
.yc h3 { font-size: var(--t1); position: relative; }
.yc .yc-m { position: relative; color: var(--soft); font-size: var(--t-1); margin: var(--s2) 0 0; }
.yc .yc-go { position: relative; margin-top: var(--s3); font-weight: 700; opacity: 0; transition: opacity 250ms; }
.yc.on { flex-grow: 3; border-color: var(--ink); }
.yc.on .yc-go { opacity: 1; }
@media (hover: hover) and (min-width: 861px) { .year:hover .yc.on:not(:hover) { flex-grow: 1; border-color: var(--line); } .year:hover .yc.on:not(:hover) .yc-go { opacity: 0; } .yc:hover { flex-grow: 3; border-color: var(--ink); } .yc:hover .yc-go { opacity: 1; } }
@media (max-width: 860px) {
  .year { flex-direction: column; height: auto; gap: 0; border-top: 1px solid var(--line); }
  .yc { flex-direction: row; align-items: center; justify-content: flex-start; gap: var(--s4); padding: var(--s3) 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; min-height: 88px; }
  .yc img { position: static; translate: none; width: 72px; height: 72px; max-width: none; flex: none; }
  .yc .yc-go { display: none; } .yc.on { flex-grow: 1; }
}

/* cards: the piece on its white, name and price on one line (GI-P1), its reflection grows when pointed at (GI-T1) */
.cards { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.pc { min-width: 0; }
.pc-a { display: block; text-decoration: none; color: var(--ink); cursor: pointer; }
.pc-ph { display: block; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: #fff; }
.pc-ph img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 70%; transition: transform 400ms var(--out); }
.pc-ph::after { content: ''; position: absolute; left: 18%; right: 18%; bottom: 3%; height: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(31, 27, 26, .12), transparent); opacity: 0; transition: opacity 400ms var(--out); }
.pc-a:hover .pc-ph img, .pc-a:focus-visible .pc-ph img { transform: scale(1.03); }
.pc-a:hover .pc-ph::after, .pc-a:focus-visible .pc-ph::after { opacity: 1; }
.pc-t { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); margin-top: var(--s3); }
.pc-t b { font-weight: 400; font-size: var(--t0); line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pc-t [data-f="price"] { font-weight: 700; font-size: var(--t0); white-space: nowrap; }
.is-out .pc-ph img { opacity: .45; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s3); } .pc-t { flex-direction: column; gap: var(--s1); } }
.sec-foot { margin-top: var(--s7); }

/* who we are: their own Chanukah clip beside their words */
.who .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s8); align-items: center; }
.who video { width: auto; max-width: 100%; height: min(36rem, 66svh); aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); background: var(--surface); display: block; }
.who .lede { max-width: 34rem; }
@media (max-width: 760px) { .who .wrap { grid-template-columns: 1fr; gap: var(--s6); } .who video { height: auto; width: 100%; max-width: 16rem; } }

/* how ordering works: three facts on hairlines */
.how { background: var(--surface); }
.how ol { list-style: none; counter-reset: n; padding: 0; margin: var(--s6) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
.how li { counter-increment: n; border-top: 1px solid var(--ink); padding-top: var(--s4); }
.how li::before { content: counter(n); display: block; font: 400 var(--t3)/1 var(--font-head); margin-bottom: var(--s3); }
.how li b { display: block; font-size: var(--t1); margin-bottom: var(--s2); font-weight: 700; }
.how li span { color: var(--soft); }
@media (max-width: 760px) { .how ol { grid-template-columns: 1fr; gap: var(--s5); } }

/* the closing band: their red, their line, a giant thin GIFTED */
.close { background: var(--accent); }
.close .btn { background: var(--ground); color: var(--accent); box-shadow: none; }
.close .giant { letter-spacing: .06em; font-weight: 400; opacity: 1; color: rgba(255, 255, 255, .92); }
.close .cardline { text-align: center; margin: 0; padding-bottom: var(--s7); font: 700 var(--t-1)/1 var(--font-body); letter-spacing: .3em; text-transform: uppercase; }
.foot { background: var(--ink); }
.foot .fgrid a.fname { text-decoration: none; }

/* the shop: filter tiles, groups, the product sheet */
.filters { position: sticky; top: var(--top-h); z-index: 5; background: var(--ground); padding: var(--s3) 0; margin-top: var(--s6); border-bottom: 1px solid var(--line); }
.filters .chips { margin: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.filters .chip { white-space: nowrap; flex: none; }
.grp { margin-top: var(--s8); scroll-margin-top: calc(var(--top-h) + 80px); }
.grp > h2 { font-size: var(--t3); border-bottom: 1px solid var(--line); padding-bottom: var(--s3); }
.grp .cards { margin-top: var(--s5); }
.sheet { width: min(64rem, 100vw - 2 * var(--gutter)); max-width: none; max-height: min(92svh, 52rem); padding: 0; border: 0; border-radius: var(--r); background: var(--ground); color: var(--ink); box-shadow: 0 3px 30px rgba(31, 27, 26, .18); overflow: auto; }
.sheet::backdrop { background: rgba(31, 27, 26, .45); }
.sheet[open] { animation: sheet-in 320ms var(--out); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(16px); } }
.sh-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); padding: var(--s6) var(--s6) 0; }
.sh-ph { margin: 0; align-self: start; }
.sh-ph img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.sh-close { position: absolute; top: var(--s3); right: var(--s3); width: 44px; height: 44px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--ground); color: var(--ink); font-size: var(--t1); cursor: pointer; z-index: 2; }
.sh-close:hover { border-color: var(--ink); }
.sheet h2 { font-size: var(--t3); padding-right: var(--s8); }
.sheet .pr { display: block; margin: var(--s3) 0 var(--s4); }
.sheet .desc { color: var(--soft); margin: var(--s4) 0 0; }
.sheet .opt-g:first-child { margin-top: 0; }
.bar.off { transform: translateY(110%); }
.spec { margin: var(--s4) 0 0; display: grid; grid-template-columns: auto 1fr; gap: var(--s1) var(--s4); font-size: var(--t-1); }
.spec dt { font-weight: 700; } .spec dd { margin: 0; color: var(--soft); }
.opt-g { border: 0; padding: 0; margin: var(--s5) 0 0; min-width: 0; }
.opt-g legend, .opt-l { font-weight: 700; padding: 0; display: block; }
.buy { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; margin-top: var(--s4); padding-block: var(--s3); background: var(--ground); border-top: 1px solid var(--line); }
.step { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r); }
.step button { width: 44px; height: 44px; border: 0; background: none; font-size: var(--t1); cursor: pointer; color: var(--ink); }
.step output { min-width: 2ch; text-align: center; font-weight: 700; }
.step.sm button { width: 40px; height: 40px; }
.grab { display: none; }
@media (max-width: 760px) {
  .sheet { width: 100vw; max-height: 90svh; margin: auto 0 0; border-radius: var(--r) var(--r) 0 0; }
  .sheet[open] { animation-name: sheet-up; }
  .sh-in { grid-template-columns: 1fr; padding: var(--s5) var(--gutter) env(safe-area-inset-bottom); gap: var(--s4); }
  .sh-ph img { max-height: 38svh; }
  .grab { display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: var(--s2) auto 0; }
}
@keyframes sheet-up { from { transform: translateY(40%); } }

/* the order, in three steps (from Bake away's tested flow) */
.osteps { list-style: none; padding: 0; margin: 0 0 var(--s5); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.osteps button { border: 0; background: none; padding: var(--s2) 0; font: 700 var(--t0)/1.2 var(--font-body); color: var(--soft); cursor: default; border-bottom: 2px solid transparent; min-height: 40px; }
.osteps .is-now button { color: var(--ink); border-bottom-color: var(--ink); }
.osteps .is-done button { color: var(--ink); cursor: pointer; }
.osteps button { transition: color 100ms, border-color 100ms, transform 100ms; }
.osteps button:hover { color: var(--ink); border-bottom-color: var(--line); }
.osteps .is-now button:hover { border-bottom-color: var(--soft); }
.osteps button:active { transform: translateY(1px); }
.blist, .sum ul { list-style: none; padding: 0; margin: var(--s4) 0 0; }
.bl { display: flex; justify-content: space-between; gap: var(--s3); align-items: center; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.bl > span:first-child { display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
.bl small { color: var(--soft); font-size: var(--t-1); }
.bl-r { display: flex; align-items: center; gap: var(--s2); font-weight: 700; white-space: nowrap; }
.rm { width: 40px; height: 40px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--ground); color: var(--ink); cursor: pointer; }
.rm:hover { border-color: var(--ink); }
.sum h3 { font-size: var(--t2); }
.sum ul li { display: flex; justify-content: space-between; gap: var(--s3); padding: var(--s1) 0; font-size: var(--t-1); }
.total { display: flex; justify-content: space-between; margin: var(--s4) 0; padding-top: var(--s3); border-top: 1px solid var(--line); font: 700 var(--t1)/1 var(--font-body); }
.sum .btn { width: 100%; }
.back { margin-top: var(--s2); width: 100%; min-height: 44px; border: 1.5px solid var(--line); background: var(--ground); border-radius: var(--r); font: 700 var(--t0)/1 var(--font-body); cursor: pointer; color: var(--ink); }
.note, .sent { color: var(--soft); font-size: var(--t-1); margin: var(--s3) 0 0; }
.sent { color: var(--ink); font-weight: 700; }
.keep { margin-top: var(--s3); }
.ful { display: flex; gap: var(--s2); }
.ostep h2 { font-size: var(--t3); }
.sum-where { margin: var(--s3) 0 0; font-size: var(--t-1); color: var(--soft); }

/* contact */
.reach { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.reach li { border-top: 1px solid var(--ink); padding-top: var(--s4); }
.reach b { display: block; font-size: var(--t1); margin-bottom: var(--s2); }
.reach a { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.reach p { color: var(--soft); margin: var(--s2) 0 0; }
@media (max-width: 760px) { .reach { grid-template-columns: 1fr; } }

/* on a phone the smallest step is 14 px, for sentences (3e.8) */
@media (max-width: 760px) { :root { --t-1: .875rem; } }

/* the gift card section (rules 3x.14), from the starter */
.gift-form { display: grid; gap: var(--s5); max-width: 36rem; margin-top: var(--s5); }
.gift-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.gift-form legend { padding: 0; margin-bottom: var(--s3); font-weight: 700; }
.gift-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr)); gap: var(--s2); }
.gift-tile { min-height: 64px; border: 1px solid var(--line); border-radius: var(--r); background: var(--ground); color: var(--ink); font: 700 var(--t1)/1.1 var(--font-body); cursor: pointer; }
.gift-tile[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.gift-switch { display: inline-flex; justify-self: start; padding: var(--s1); border: 1px solid var(--line); border-radius: 999px; }
.gift-switch button { min-height: 44px; padding: 0 var(--s4); border: 0; border-radius: 999px; background: transparent; color: var(--soft); font: 700 var(--t0)/1 var(--font-body); cursor: pointer; }
.gift-switch button[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.gift-to { display: grid; gap: var(--s3); }
.gift-to[hidden] { display: none; }
.gift-field { display: grid; gap: var(--s1); }
.gift-field[hidden] { display: none; }
.gift-field label { font-weight: 700; }
.gift-field input, .gift-field textarea { width: 100%; min-height: 48px; padding: var(--s3); border: 1px solid var(--line); border-radius: 8px; background: var(--ground); color: var(--ink); font: 400 var(--t0)/1.4 var(--font-body); }
.gift-note, .gift-msg { margin: 0; color: var(--soft); font-size: var(--t-1); }
.gift-msg:empty { display: none; }
.gift-msg { color: var(--ink); font-weight: 700; }
.gift-done { display: grid; gap: var(--s3); justify-items: start; max-width: 36rem; margin-top: var(--s5); }
.gift-done h3, .gift-done p { margin: 0; }
.gift-see { font-weight: 700; color: var(--ink); }
#chanukah .pc-ph { aspect-ratio: auto; height: min(18rem, 36svh); }
@media (max-width: 640px) { #chanukah .pc-ph { aspect-ratio: 1; height: auto; } }
@media (max-width: 760px) { .toast { bottom: auto; top: calc(var(--top-h) + var(--s2)); transform: translate(-50%, -140%); } .toast.show { transform: translate(-50%, 0); } }

/* the opening (IDEAS.md idea I): one coloured room per category, their piece on its stone and the category's name huge behind it.
   Without rooms.js the rooms stand one under another; with it (.live) the stage stays while each room wipes in from the right. */
.rooms { position: relative; background: #3a1d12; }
.r-stage { position: relative; }
.r-room { position: relative; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; background: #2a1712; }  /* opaque: a room wiping in covers the one under it, words and all */
.r-room picture, .r-room img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 85%; }
.r-word { position: absolute; left: 0; right: 0; top: 52%; translate: 0 -50%; text-align: center; font: 400 clamp(4.5rem, min(15vw, 150vw / var(--len, 7)), 15rem)/.9 var(--font-head);
  letter-spacing: .02em; color: rgba(255, 255, 255, .34); white-space: nowrap; pointer-events: none; }
.r-cap { position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--s6); z-index: 2; margin: 0 auto; max-width: 74rem; display: flex; flex-wrap: wrap;
  align-items: baseline; gap: var(--s1) var(--s3); font-size: var(--t0); text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.r-cap b { font: 400 var(--t2)/1 var(--font-head); }
.r-cap .lnk { color: #fff; font-weight: 700; }
.r-words { position: absolute; z-index: 3; top: calc(var(--top-h) + var(--s5)); left: 0; right: 0; max-width: 74rem; margin: 0 auto; padding-inline: var(--gutter);
  pointer-events: none; }
/* the words sit on a stone card, the way a price card stands beside a piece in a shop window: they and the red button read in every room */
.r-card { pointer-events: auto; width: max-content; max-width: min(30rem, 100%); padding: var(--s5); background: var(--surface); color: var(--ink); border-radius: var(--r);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45); }
.r-card h1 { font-size: var(--t4); line-height: 1.02; max-width: 12ch; }
.r-card .btn-facts { margin-top: var(--s2); }
.r-card .btn { margin-top: var(--s4); }
/* on arrival the first piece settles onto its stone and its name slides in behind it (transforms only; pictures never fade) */
.rooms .r-room:first-child .r-front { animation: r-rise 1100ms var(--out) both; }
.rooms .r-room:first-child .r-word { animation: r-name 1300ms var(--out) both; }
@keyframes r-rise { from { transform: translateY(4%); } }
@keyframes r-name { from { transform: translateX(-6%); } }
@media (prefers-reduced-motion: reduce) { .rooms .r-room:first-child .r-front, .rooms .r-room:first-child .r-word { animation: none; } }
.r-dots { display: none; }
.rooms.live { height: calc(var(--n) * 100svh); }
.rooms.live .r-stage { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; }
.rooms.live .r-room { position: absolute; inset: 0; clip-path: inset(0 0 0 calc((1 - var(--t, 1)) * 100%)); }
.rooms.live .r-room:not(:first-child) { --t: 0; }
.rooms.live .r-room .r-word { translate: calc((1 - var(--t, 1)) * -12%) -50%; }  /* the name trails the wipe a little, away from the room list */
@media (min-width: 761px) { .rooms.live .r-room .r-word { right: 11rem; font-size: clamp(4rem, min(14vw, (100vw - 11rem) * 1.45 / var(--len, 7)), 15rem); } }  /* clear of the room list at the right */
.rooms.live .r-dots { position: absolute; z-index: 3; right: var(--gutter); top: 50%; translate: 0 -50%; display: flex; flex-direction: column; gap: var(--s2); }
.r-dots a { color: rgba(255, 255, 255, .72); font-size: var(--t-1); text-decoration: none; text-align: right; min-height: 28px; display: flex; align-items: center;
  justify-content: flex-end; gap: var(--s2); text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.r-dots a::after { content: ''; width: 18px; height: 2px; background: currentColor; transition: width 250ms var(--out); }
.r-dots a[aria-current="true"] { color: #fff; font-weight: 700; }
.r-dots a[aria-current="true"]::after { width: 34px; }
@media (max-width: 760px) {
  .r-words { top: calc(var(--top-h) + var(--s3)); }
  .r-card { padding: var(--s4); }
  .r-card h1 { font-size: var(--t3); }
  .r-card .btn-facts { font-size: var(--t-1); gap: var(--s3); }
  .r-card .btn { margin-top: var(--s3); }
  .r-word { top: 50%; font-size: clamp(2.8rem, 15vw, 6rem); white-space: normal; line-height: .86; padding-inline: var(--gutter); }
  .r-cap { bottom: calc(var(--bar-h) + var(--s4)); font-size: var(--t-1); }
  .rooms.live .r-dots { display: none; }
}
html:has(.rooms) { scroll-behavior: auto; }
#who video { height: min(28rem, 50svh); }
