/* Heli Akiva · direction B "פנינה": quiet luxury. Pearl white, ink and one thin gold; the kit's split opening with the
   ring (a pearl) that opens onto the photos; a mother-of-pearl surface that shifts with the scroll (shared/foil.css,
   adapted from 21st.dev); photos uncovered by mask frames. Bellefair for headings, Assistant for text. */
:root {
  --bg: #FBF8F3;
  --card: #FFFEFC;
  --ink: #2A2521;
  --soft: #6B5E54;
  --line: #E4DACD;
  --gold: #80623A;          /* gold as text: dark enough to read on pearl */
  --accent: #2A2521;        /* ink buttons only */
  --on-accent: #FBF8F3;
  --radius: 16px;
  --font-display: "Bellefair", "Frank Ruhl Libre", Georgia, serif;
  --font-latin: "Cormorant Garamond", Georgia, serif;
  --font-body: "Assistant", system-ui, sans-serif;
  --hdr-h: 64px;
  --hdr-bg: var(--bg);
  --hdr-over: var(--ink);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --m-dur: 1.3s;
  --m-y: clamp(28px, 4vw, 56px);
  --fly-toast-bg: var(--ink);
  --cart-title: 400 32px/1.1 var(--font-display);
}
body { font: 400 18px/1.65 var(--font-body); }

.hdr__brand { font: 500 16px/1 var(--font-latin); text-transform: uppercase; letter-spacing: .3em; }
.hdr__nav a { font-size: 17px; opacity: .86; transition: opacity .3s ease; }
.hdr__nav a:hover, .hdr__nav a:focus-visible { opacity: 1; }

.btn {
  position: relative; display: inline-grid; place-items: center; min-height: 54px; padding: 0 40px;
  border: 0; border-radius: 99px; background: var(--accent); color: var(--on-accent);
  font: 500 18px/1 var(--font-body); text-decoration: none; overflow: hidden;
  transition: transform .5s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 214, 240, .3) 40%, rgba(190, 240, 255, .34) 52%, rgba(214, 255, 226, .26) 64%, transparent 82%); transform: translate3d(-110%, 0, 0); transition: transform 1s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translate3d(110%, 0, 0); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn > span { position: relative; }

/* ---------- opening: the kit's split hero, tuned for jewellery lying low in the frame ---------- */
.sh { --sh-ground: var(--bg); --sh-gold: #B8956A; --sh-name-font: var(--font-latin); min-height: calc(100svh - var(--bd-switch-h, 0px)); }
.sh-media { -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 99%); mask-image: linear-gradient(180deg, #000 74%, transparent 99%); }
.sh-scrim { -webkit-mask-image: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .62) 66%, rgba(0, 0, 0, .94) 74%, #000 82%); mask-image: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .62) 66%, rgba(0, 0, 0, .94) 74%, #000 82%); }
/* phones get a crop of each photo (its lower part, where the bracelet lies), so the jewellery sits in the clear upper
   part of the screen; desktop enlarges the whole photo from its bottom edge for the same reason */
.sh-par picture { display: contents; }
.sh-pane-a img, .sh-pane-b img { object-position: 50% 0; }
.sh-veil { position: absolute; z-index: 1; top: 0; inset-inline: 0; height: 24%; pointer-events: none; background: linear-gradient(180deg, rgba(251, 248, 243, .92), rgba(251, 248, 243, .55) 45%, transparent); }
.sh-copy { padding-bottom: 30px; }
.sh-kicker { font: 500 14px/1 var(--font-latin); text-transform: uppercase; letter-spacing: .34em; margin-inline-start: .34em; color: var(--gold); }
.sh h1 { margin: 14px 0 22px; font: 400 clamp(36px, 9.6vw, 60px)/1.08 var(--font-display); }
@media (max-height: 720px) { .sh h1 { font-size: clamp(32px, 8.6vw, 50px); margin-bottom: 16px; } }
@media (min-width: 880px) {
  .sh-media { -webkit-mask-image: linear-gradient(180deg, #000 66%, transparent 95%); mask-image: linear-gradient(180deg, #000 66%, transparent 95%); }
  .sh-scrim { -webkit-mask-image: linear-gradient(180deg, transparent 56%, rgba(0, 0, 0, .6) 68%, #000 84%); mask-image: linear-gradient(180deg, transparent 56%, rgba(0, 0, 0, .6) 68%, #000 84%); }
  .sh-pane-a img, .sh-pane-b img { object-position: 50% 100%; transform: scale(1.3); transform-origin: 50% 100%; }
  .sh h1 { font-size: clamp(54px, 5vw, 84px); }
  .sh-veil { height: 18%; }
}

/* ---------- the seal and the first line ---------- */
.intro { display: grid; justify-items: center; gap: 30px; padding: clamp(40px, 7vw, 90px) 24px clamp(20px, 4vw, 50px); text-align: center; }
.seal { width: 132px; height: 132px; border-radius: 50%; box-shadow: 0 0 0 1px #C9AE87, 0 0 0 8px var(--bg), 0 0 0 9px rgba(184, 149, 106, .45), 0 18px 40px -22px rgba(42, 37, 33, .5); }
.seal .if-content { position: absolute; inset: 0; display: grid; place-items: center; }
.seal span[dir] { font: 500 46px/1 var(--font-latin); letter-spacing: .04em; color: #4A4038; }
.intro__line { max-width: 12em; font: 400 clamp(44px, 8vw, 96px)/1.05 var(--font-display); text-wrap: balance; }
.intro__sub { max-width: 24em; margin-top: -8px; font-size: clamp(18px, 2vw, 21px); color: var(--soft); text-wrap: balance; }

.sec { padding-block: clamp(56px, 8vw, 120px); }
.sec__head { text-align: center; margin-bottom: clamp(34px, 6vw, 80px); }
.kicker { font: 500 14px/1 var(--font-latin); text-transform: uppercase; letter-spacing: .34em; margin-inline-start: .34em; color: var(--gold); }
h2 { margin-top: 12px; font: 400 clamp(46px, 7.4vw, 92px)/1.02 var(--font-display); }

/* ---------- categories: three big rows ---------- */
.rows { border-bottom: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: clamp(14px, 3vw, 40px); padding: clamp(16px, 2.6vw, 30px) 4px; border-top: 1px solid var(--line); text-decoration: none; }
.rows__n { font: 500 16px/1 var(--font-latin); letter-spacing: .1em; color: var(--gold); }
.rows__t { font: 400 clamp(44px, 9.5vw, 104px)/1 var(--font-display); transition: transform .8s var(--ease); }
.rows__a { font-size: clamp(24px, 3.4vw, 40px); line-height: 1; color: var(--gold); transition: transform .8s var(--ease); }
.rows a:hover .rows__t, .rows a:focus-visible .rows__t { transform: translate3d(-14px, 0, 0); }
.rows a:hover .rows__a, .rows a:focus-visible .rows__a { transform: translate3d(-10px, 0, 0); }

/* ---------- the collection: big plates, uncovered by a mask ---------- */
.plates { display: grid; gap: clamp(46px, 7vw, 110px) clamp(30px, 6vw, 96px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plate:nth-child(even) { margin-top: clamp(70px, 9vw, 150px); }
}
.plate__photo { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--line); }
.plate__photo img { transition: transform 1.4s var(--ease); }
.plate__cap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 2px 0; }
.plate__n { font: 500 15px/1 var(--font-latin); letter-spacing: .1em; color: var(--gold); align-self: start; padding-top: 7px; }
.plate h3 { font: 400 clamp(24px, 2.6vw, 30px)/1.15 var(--font-display); }
.meta { margin-top: 3px; font-size: 15px; color: var(--gold); }
.price { color: var(--soft); font-size: 17px; }
.add { min-height: 46px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 99px; background: none; font: 500 16px/1 var(--font-body); white-space: nowrap; transition: background-color .35s ease, color .35s ease, transform .4s var(--ease); }
.add:hover, .add:focus-visible { background: var(--ink); color: var(--bg); }
.add:active { transform: scale(.95); }
@media (max-width: 380px) { .add { padding: 0 14px; font-size: 15px; } }

/* ---------- about, on mother-of-pearl ---------- */
.about__card { border-radius: 28px; box-shadow: 0 0 0 1px rgba(184, 149, 106, .35), 0 30px 60px -40px rgba(42, 37, 33, .45); }
.about__in { padding: clamp(40px, 8vw, 110px) clamp(24px, 6vw, 80px); text-align: center; }
.about__card h2 { font-size: clamp(38px, 6vw, 76px); line-height: 1.08; }
.about__p { margin: 24px auto 0; max-width: 20em; font: 400 clamp(22px, 2.8vw, 30px)/1.35 var(--font-display); color: #3C332C; text-wrap: balance; }
.about__small { margin: 22px auto 18px; max-width: 26em; font-size: 17px; color: #4F453D; }
.about__btn { position: relative; }
.tag { display: inline-block; margin-top: 20px; padding: 5px 14px; border: 1px dashed var(--gold); border-radius: 99px; color: #6E5330; font-size: 14px; }

.ftr { margin-top: clamp(20px, 4vw, 60px); border-top: 1px solid var(--line); }
.ftr__in { padding-block: 44px 52px; text-align: center; }
.ftr__brand { font: 500 20px/1 var(--font-latin); text-transform: uppercase; letter-spacing: .34em; margin-inline-start: .34em; }
.ftr__sub { margin-top: 10px; font: 500 13px/1 var(--font-latin); text-transform: uppercase; letter-spacing: .34em; margin-inline-start: .34em; color: var(--gold); }
.ftr__line { margin-top: 18px; font-size: 16px; color: var(--soft); }
.ftr__line a { color: var(--ink); text-underline-offset: 4px; }
.ftr__note { margin-top: 8px; font-size: 14px; color: var(--soft); }
@media (min-width: 900px) { .ftr__in { padding-bottom: 88px; } }
