/* Joyera Jewellery - "Linen & Emerald". Palette from the Instagram media kit (research/MEDIA-KIT.md). */
@property --g1 { syntax: '<color>'; inherits: true; initial-value: #8aa6f4; }
@property --g2 { syntax: '<color>'; inherits: true; initial-value: #2747a8; }
@property --g3 { syntax: '<color>'; inherits: true; initial-value: #0d1d58; }

:root {
  --emerald: #0d2821; --emerald-2: #14382e; --emerald-3: #1d4a3d; --forest: #0a1f19;
  --gold: #c9a45c; --gold-l: #e6cf96; --gold-d: #8f6d32;
  --linen: #f4eee6; --linen-2: #ede4d7; --sand: #e2d3c1; --mocha: #9c7a62; --blush: #e7cfc6; --mint: #d7fae6;
  --ink: #1b1f1c; --muted: #5f625b; --line: rgba(27, 31, 28, .14);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --caps: 'Cinzel', 'Cormorant Garamond', serif;
  --sans: 'Jost', 'Segoe UI', system-ui, sans-serif;
  --script: 'Pinyon Script', 'Cormorant Garamond', cursive;
  --arabic: 'Amiri', 'Times New Roman', serif;
  --gut: clamp(16px, 4vw, 44px);
  --ease: cubic-bezier(.22, .7, .2, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .25 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--linen) var(--grain); color: var(--ink); font: 300 17px/1.7 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.01em; font-variant-numeric: lining-nums; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold-d); }
p { margin: 0 0 1em; }
::selection { background: var(--gold-l); color: var(--emerald); }
.skip { position: absolute; inset-inline-start: 8px; top: 8px; z-index: 200; background: var(--emerald); color: #fff; padding: 10px 16px; transform: translateY(-200%); }
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
.center { text-align: center; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.eyebrow { font: 500 12px/1.4 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 18px; }
.eyebrow.light { color: var(--gold-l); }
.sec { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.sec-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(40px, 6vw, 76px); margin-bottom: 18px; }
.sec-head p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.sec-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; }
.sec-head.split > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hint { font-size: 14px; color: var(--muted); margin: 0; }
.ar { font: 400 clamp(24px, 3.2vw, 34px)/1.5 var(--arabic); color: var(--gold-d); margin-bottom: 10px; }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 26px; border: 1px solid transparent; border-radius: 0; font: 500 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn .ic { width: 18px; height: 18px; }
.btn-gold { background: linear-gradient(135deg, #e3c27f, var(--gold) 45%, #b48b45); color: var(--emerald); }
.btn-emerald { background: var(--emerald); color: var(--linen); }
.btn-emerald:hover { background: var(--emerald-3); }
.btn-ghost { border-color: currentColor; color: var(--emerald); background: transparent; }
.btn-ghost:hover { background: var(--emerald); color: var(--linen); border-color: var(--emerald); }
.btn-ghost.light { color: var(--linen); }
.btn-ghost.light:hover { background: var(--linen); color: var(--emerald); border-color: var(--linen); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.cta-row.center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--emerald); padding-bottom: 6px; border-bottom: 1px solid var(--gold); }
.link-arrow .ic { transition: transform .3s var(--ease); }
.link-arrow:hover .ic { transform: translateX(5px); }

/* ===== logo ===== */
.rings { overflow: visible; }
.rings ellipse { fill: none; stroke: var(--gold); stroke-linecap: round; }
.rings .r1 { stroke-width: 1.7; stroke-dasharray: .9 .1; }
.rings .r2 { stroke-width: .9; stroke-dasharray: .62 .08 .2 .1; opacity: .85; }
.logo-round { position: relative; width: clamp(150px, 19vw, 210px); aspect-ratio: 1; display: grid; place-content: center; text-align: center; color: var(--linen); }
.logo-round .rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.lr-word { font: 500 clamp(28px, 3.6vw, 40px)/1 var(--caps); letter-spacing: .08em; padding-left: .08em; }
.lr-sub { font: 400 clamp(8px, .9vw, 10px)/1 'Jost', sans-serif; letter-spacing: .5em; padding-left: .5em; margin-top: 8px; color: var(--gold-l); }
.logo-round.sm { width: 128px; }
.logo-round.sm .lr-word { font-size: 25px; }
.logo-round.sm .lr-sub { font-size: 7px; }
.rings.draw ellipse { stroke-dashoffset: 1; animation: ring-draw 2.6s var(--ease) .3s forwards; }
.rings.draw .r1 { stroke-dasharray: 1 1; }
.rings.draw .r2 { stroke-dasharray: 1 1; animation-delay: .9s; }
@keyframes ring-draw { to { stroke-dashoffset: .08; } }

/* ===== header ===== */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; color: var(--emerald); transition: background .4s, box-shadow .4s, color .4s, transform .4s; }
.hdr.on-dark { color: var(--linen); }
.hdr.scrolled { background: rgba(244, 238, 230, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--emerald); }
.hdr-in { max-width: 1340px; margin: 0 auto; padding: 14px var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { position: relative; width: 44px; height: 44px; display: grid; place-items: center; }
.brand-mark .rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.brand-mark .rings .r1 { stroke-width: 4; }
.brand-mark .rings .r2 { stroke-width: 2.4; }
.brand-mark i { font: 500 21px/1 var(--caps); font-style: normal; margin-top: 2px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt b { font: 500 22px/1 var(--caps); letter-spacing: .1em; }
.brand-txt small { font: 400 8px/1 'Jost', sans-serif; letter-spacing: .48em; margin-top: 5px; color: var(--gold-d); }
.hdr.on-dark:not(.scrolled) .brand-txt small { color: var(--gold-l); }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav > a:not(.btn) { position: relative; font: 400 14px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 8px 0; }
.nav > a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav > a:not(.btn):hover::after, .nav > a[aria-current]::after { transform: scaleX(1); }
.nav-ig { display: inline-flex; align-items: center; gap: 8px; }
.nav-cta { min-height: 42px; padding: 10px 20px; font-size: 12px; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 27px; }
.menu-open .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ===== hero ===== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.hero-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero-shade { position: absolute; inset: 0; z-index: -2; }
.hero-dark { background: var(--emerald); color: var(--linen); }
.hero-dark .hero-shade { background: radial-gradient(ellipse at 50% 45%, rgba(13, 40, 33, .42), rgba(10, 31, 25, .82) 75%), linear-gradient(to bottom, rgba(10, 31, 25, .2), rgba(10, 31, 25, .65)); }
.hero-light { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 40%), rgba(230, 207, 150, .2), transparent 70%); transition: background .2s; }
.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 110px; padding-bottom: 110px; }
.hero h1 { font-size: clamp(46px, 8.4vw, 118px); max-width: 13ch; margin: 6px 0 22px; }
.hero-dark h1 em { color: var(--gold-l); }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 560px; opacity: .92; }
.hero .cta-row { justify-content: center; }
.hero-logo { margin-bottom: 26px; }
.hero-logo .lr-word, .hero-logo .lr-sub { opacity: 0; animation: fade-up 1.2s var(--ease) 1.4s forwards; }
.say { white-space: nowrap; }
.say b { font-weight: 500; color: #fff; letter-spacing: .2em; }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.glints span { position: absolute; left: var(--x); top: var(--y); width: calc(18px * var(--s)); height: calc(18px * var(--s)); color: var(--gold-l); opacity: 0; animation: twinkle 4.2s ease-in-out var(--d) infinite; }
.glints .ic { width: 100%; height: 100%; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); } 45% { opacity: .9; transform: scale(1) rotate(45deg); } 60% { opacity: .2; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(244, 238, 230, .5); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-l); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.hero.hero-ivory { color: var(--ink); background: var(--linen-2); }
.hero.hero-ivory .hero-shade { background: linear-gradient(90deg, rgba(244, 238, 230, .92) 0%, rgba(244, 238, 230, .72) 48%, rgba(244, 238, 230, .1) 100%); }
.hero.hero-ivory .hero-light { background: radial-gradient(420px circle at var(--mx, 30%) var(--my, 40%), rgba(255, 255, 255, .35), transparent 70%); }
.hero-in.left { align-items: flex-start; text-align: start; max-width: 1240px; }
.hero-in.left h1 { max-width: 12ch; font-size: clamp(44px, 6.4vw, 96px); }
.hero-in.left .cta-row { justify-content: flex-start; }
.hero.hero-ivory h1 em { color: var(--gold-d); }
.hero.hero-ivory .ar { margin: -6px 0 16px; }

/* ===== marquee ===== */
.marquee { overflow: hidden; background: var(--emerald); color: var(--gold-l); border-top: 1px solid rgba(201, 164, 92, .35); border-bottom: 1px solid rgba(201, 164, 92, .35); }
.mq-track { display: flex; align-items: center; width: max-content; padding: 17px 0; animation: mq 40s linear infinite; }
.mq-track span { font: italic 400 clamp(19px, 2vw, 25px)/1 var(--serif); white-space: nowrap; padding: 0 28px; }
.mq-dot { width: 12px; height: 12px; color: var(--gold); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ===== house ===== */
.house-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.house-txt h2 { font-size: clamp(40px, 5.4vw, 70px); margin-bottom: 26px; }
.house-txt > p { font-size: 18px; color: #3d413b; max-width: 540px; }
.promises { list-style: none; margin: 34px 0 38px; padding: 0; display: grid; gap: 4px; }
.promises li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.promises li:last-child { border-bottom: 1px solid var(--line); }
.promises .ic { width: 30px; height: 30px; color: var(--gold-d); margin-top: 2px; }
.promises b { display: block; font: 500 21px/1.2 var(--serif); }
.promises span { font-size: 15px; color: var(--muted); }
.house-media { position: relative; padding-block: 0 70px; padding-inline: 40px 0; }
.hm-main { aspect-ratio: 4 / 5; }
.hm-small { position: absolute; inset-inline-start: -20px; bottom: 0; width: 46%; aspect-ratio: 4 / 5; border: 8px solid var(--linen); box-shadow: 0 30px 60px -30px rgba(13, 40, 33, .5); }

/* loupe photos */
.loupe { position: relative; margin: 0; overflow: hidden; background: var(--sand); }
.loupe img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.loupe:hover img { transform: scale(1.03); }
.loupe figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; font: italic 400 18px/1.3 var(--serif); color: #fff; background: linear-gradient(transparent, rgba(13, 40, 33, .7)); }
.lens { position: absolute; left: 0; top: 0; width: 190px; height: 190px; margin: -95px 0 0 -95px; border-radius: 50%; pointer-events: none; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .3s var(--ease); background-repeat: no-repeat; box-shadow: 0 0 0 3px var(--gold-l), 0 0 0 4px rgba(13, 40, 33, .35), 0 20px 40px -10px rgba(0, 0, 0, .5), inset 0 0 30px rgba(0, 0, 0, .25); z-index: 2; }
.loupe.zooming .lens { opacity: 1; transform: scale(1); }
.loupe.zooming { cursor: none; }

/* ===== stones ===== */
.stones { background: linear-gradient(var(--linen-2), var(--linen)); }
.stone-picker { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "tabs tabs" "gem side"; gap: 34px clamp(30px, 5vw, 70px); align-items: center; transition: --g1 .9s, --g2 .9s, --g3 .9s; }
.stone-tabs { grid-area: tabs; display: flex; flex-wrap: wrap; gap: 10px; }
.stone-tab { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 11px 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .45); border-radius: 999px; font: 400 15px/1 var(--sans); letter-spacing: .06em; cursor: pointer; transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease); }
.stone-tab i { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--g1), var(--g2) 55%, var(--g3)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.stone-tab:hover { transform: translateY(-2px); border-color: var(--gold); }
.stone-tab[aria-pressed="true"] { background: var(--emerald); color: var(--linen); border-color: var(--emerald); }
.gem-stage { grid-area: gem; position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; display: grid; place-items: center; }
.gem-glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--g2) 45%, transparent), transparent 68%); filter: blur(20px); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .8; } }
.gem { position: relative; width: 78%; filter: drop-shadow(0 30px 40px rgba(13, 40, 33, .35)); animation: gem-turn 9s ease-in-out infinite; }
@keyframes gem-turn { 0%, 100% { transform: rotate(-4deg) scale(1); } 50% { transform: rotate(4deg) scale(1.02); } }
.gem-opal { opacity: 0; mix-blend-mode: soft-light; transition: opacity .8s; }
.gem-flecks { opacity: 0; transition: opacity .8s; }
.stone-picker[data-stone="opal"] .gem-opal { opacity: .9; }
.stone-picker[data-stone="lapis"] .gem-flecks { opacity: .9; }
.gem-glint { transform-origin: 70px 62px; animation: glint 3.4s ease-in-out infinite; }
@keyframes glint { 0%, 100% { opacity: 0; transform: scale(.3); } 40% { opacity: 1; transform: scale(1.1); } 55% { opacity: .1; } }
.spark { position: absolute; color: var(--gold); width: 22px; height: 22px; animation: twinkle 3.6s ease-in-out infinite; }
.spark .ic { width: 100%; height: 100%; }
.spark.s1 { top: 10%; right: 16%; } .spark.s2 { bottom: 16%; left: 10%; animation-delay: 1.2s; width: 16px; } .spark.s3 { top: 46%; right: 2%; animation-delay: 2.3s; width: 12px; }
.stone-side { grid-area: side; display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.stone-photos { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.stone-photo { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.04); transition: opacity .7s, transform 1.2s var(--ease); }
.stone-photo.on { opacity: 1; transform: none; }
.stone-photo img, .stone-photo video { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos); }
.stone-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; font: italic 400 16px/1.3 var(--serif); color: #fff; background: linear-gradient(transparent, rgba(13, 40, 33, .75)); }
.stone-info h3 { font-size: clamp(38px, 4vw, 54px); margin-bottom: 14px; }
.stone-tag { font: italic 400 20px/1.2 var(--serif); color: var(--gold-d); margin-bottom: 6px; }
.stone-info p:not(.stone-tag) { font-size: 16px; color: #3d413b; }
.stone-birth { display: flex; align-items: center; gap: 8px; font-size: 13px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d) !important; }
.stone-birth .ic { width: 12px; height: 12px; }
.stone-info .btn { margin-top: 10px; min-height: 46px; padding: 12px 18px; font-size: 11.5px; letter-spacing: .16em; }
.stone-info:not([hidden]) { animation: fade-up .7s var(--ease); }

/* ===== bands with video ===== */
.band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(110px, 16vw, 210px) 0; }
.band-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band-shade { position: absolute; inset: 0; z-index: -1; }
.band-dark { color: var(--linen); background: #050807; }
.band-dark .band-shade { background: linear-gradient(90deg, rgba(5, 8, 7, .88) 0%, rgba(5, 8, 7, .55) 50%, rgba(5, 8, 7, .1) 100%); }
.band-in { max-width: 1240px; }
.band-in h2 { font-size: clamp(42px, 6vw, 82px); max-width: 12ch; margin-bottom: 22px; }
.band-dark h2 em { color: var(--gold-l); }
.band-in > p:not(.eyebrow) { max-width: 470px; font-size: 18px; opacity: .88; }
.band-dark .eyebrow { color: var(--gold-l); }
.band-light { background: var(--sand); color: var(--ink); }
.band-light .band-shade { background: radial-gradient(ellipse at center, rgba(244, 238, 230, .82), rgba(244, 238, 230, .5) 70%); }
.quote blockquote { margin: 0 auto; max-width: 900px; }
.quote blockquote p { font: 400 clamp(38px, 5.6vw, 76px)/1.06 var(--serif); margin-bottom: 18px; }
.quote blockquote em { color: var(--gold-d); }
.quote cite { font: 400 clamp(40px, 5vw, 60px)/1 var(--script); font-style: normal; color: var(--emerald); }

/* ===== metals ===== */
.metal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.metal { position: relative; padding: 40px 32px 34px; background: rgba(255, 255, 255, .5); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, background .5s; }
.metal:hover { transform: translateY(-6px); background: #fff; box-shadow: 0 30px 60px -36px rgba(13, 40, 33, .5); }
.metal h3 { font-size: 34px; margin: 26px 0 12px; }
.metal p { color: var(--muted); font-size: 16px; margin: 0; }
.swatch { position: relative; display: block; width: 74px; height: 74px; border-radius: 50%; overflow: hidden; box-shadow: inset 0 -6px 14px rgba(0, 0, 0, .25), 0 10px 22px -10px rgba(0, 0, 0, .4); }
.swatch::after { content: ''; position: absolute; inset: -50%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .85) 50%, transparent 60%); transform: translateX(-60%); transition: transform 1.1s var(--ease); }
.metal:hover .swatch::after { transform: translateX(60%); }
.sw-gold { background: radial-gradient(circle at 32% 28%, #fff2c6, #e0b85f 35%, #a87b2c 75%, #6f4f18); }
.sw-silver { background: radial-gradient(circle at 32% 28%, #ffffff, #d9dde0 35%, #9aa1a6 75%, #5f666b); }
.sw-plated { background: conic-gradient(from 210deg, #e0b85f 0 50%, #c9ced2 50% 100%); }
.sw-plated::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .8), transparent 45%, rgba(0, 0, 0, .25)); }

/* ===== studio grid ===== */
.studio { background: var(--linen-2); }
.studio-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); height: clamp(560px, 62vw, 820px); }
.studio-grid .loupe { height: 100%; }
.sg-a { grid-row: span 2; }

/* ===== CTA ===== */
.cta { background: var(--emerald) var(--grain); color: var(--linen); overflow: hidden; }
.cta h2 { font-size: clamp(42px, 6.4vw, 88px); max-width: 15ch; margin: 0 auto 22px; }
.cta h2 em { color: var(--gold-l); }
.cta p:not(.eyebrow):not(.ar) { font-size: 18px; opacity: .85; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta .ar { color: var(--gold-l); }
.cta-rings { position: absolute; left: 50%; top: 50%; width: min(980px, 140vw); aspect-ratio: 1; transform: translate(-50%, -50%); opacity: .18; pointer-events: none; animation: spin 80s linear infinite; }
.cta-rings .rings { width: 100%; height: 100%; }
.cta-rings .r1 { stroke-width: .5; } .cta-rings .r2 { stroke-width: .3; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ===== custom: steps ===== */
.steps-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.sec-head.sticky { position: sticky; top: 120px; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; padding-inline-start: 64px; }
.steps-line { position: absolute; inset-inline-start: 21px; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.steps-line i { position: absolute; inset: 0; background: linear-gradient(var(--gold-l), var(--gold-d)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; display: flex; gap: 22px; padding: 6px 0 46px; }
.step:last-child { padding-bottom: 0; }
.step-n { position: absolute; inset-inline-start: -64px; top: 0; width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: var(--linen); border: 1px solid var(--gold); font: 500 15px/1 var(--caps); color: var(--gold-d); }
.step h3 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 480px; margin: 0; }

/* craft */
.craft { background: var(--emerald) var(--grain); color: var(--linen); }
.craft h2 em { color: var(--gold-l); }
.craft .sec-head p:not(.eyebrow) { color: rgba(244, 238, 230, .78); }
.craft .eyebrow { color: var(--gold-l); }
.craft-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); }
.craft-v { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: #050807; }
.craft-v:first-child { aspect-ratio: auto; }
.craft-v video { width: 100%; height: 100%; object-fit: cover; }
.craft-v figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 14px; font: italic 400 21px/1.2 var(--serif); color: #fff; background: linear-gradient(transparent, rgba(5, 8, 7, .62)); }

/* brief builder */
.brief-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.brief fieldset { border: 0; margin: 0 0 30px; padding: 0 0 30px; border-bottom: 1px solid var(--line); min-width: 0; }
.brief legend { display: flex; align-items: center; gap: 12px; font: 500 24px/1.2 var(--serif); margin-bottom: 16px; padding: 0; }
.brief legend span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--emerald); color: var(--gold-l); font: 500 13px/1 var(--caps); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .55); font-size: 15px; line-height: 1.2; transition: background .25s, border-color .25s, color .25s; }
.chip:hover span { border-color: var(--gold); }
.chip input:checked + span { background: var(--emerald); border-color: var(--emerald); color: var(--linen); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.mini-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; color: var(--gold-d); text-decoration: none; border-bottom: 1px solid currentColor; }
.mini-link .ic { width: 14px; height: 14px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 14px; }
.field.wide { grid-column: 1 / -1; }
.field small { color: var(--muted); font-size: 12px; margin-left: 4px; }
.field input, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); background: rgba(255, 255, 255, .7); border-radius: 0; font-size: 16px; resize: vertical; transition: border-color .25s, background .25s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.brief-card-wrap { position: sticky; top: 104px; }
.brief-card { position: relative; padding: 34px 32px 26px; background: #fbf8f3; box-shadow: 0 30px 60px -34px rgba(13, 40, 33, .45); outline: 1px solid rgba(143, 109, 50, .4); outline-offset: -12px; transform: rotate(-1.2deg); transition: transform .5s var(--ease); }
.brief-card:hover { transform: rotate(0deg); }
.bc-script { font: 400 34px/1 var(--script); color: var(--emerald); margin-bottom: 12px; }
.bc-text { margin: 0 0 18px; white-space: pre-wrap; word-break: break-word; font: 400 17px/1.55 var(--serif); color: #2b2e2a; min-height: 160px; }
.bc-sign { font: 400 10px/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: var(--gold-d); text-align: center; margin: 0; }
.brief-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.brief-actions .btn { flex: 1 1 auto; font-size: 12px; letter-spacing: .14em; padding: 12px 16px; }
.brief-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.brief-note.ok { color: var(--emerald-3); font-weight: 400; }

/* birthstones */
.births { background: var(--linen-2); }
.birth-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.birth { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 8px 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .5); cursor: pointer; transition: transform .4s var(--ease), background .3s, box-shadow .4s, border-color .3s; }
.birth i { width: 46px; height: 46px; margin-bottom: 8px; clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); background: linear-gradient(150deg, var(--c2), var(--c1) 60%); position: relative; }
.birth b { font: 500 21px/1 var(--serif); }
.birth span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.birth:hover, .birth.on { transform: translateY(-4px); background: #fff; border-color: var(--gold); box-shadow: 0 22px 40px -28px rgba(13, 40, 33, .5); }

/* gifting cards */
.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.cards-media { position: relative; height: clamp(440px, 50vw, 640px); }
.cards-media .loupe { position: absolute; width: 62%; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(13, 40, 33, .55); }
.cm-a { left: 0; top: 0; transform: rotate(-3deg); }
.cm-b { right: 0; bottom: 0; transform: rotate(4deg); border: 8px solid var(--linen); }
.cards-txt h2 { font-size: clamp(38px, 5vw, 66px); margin-bottom: 22px; }
.cards-txt p:not(.eyebrow) { color: #3d413b; font-size: 18px; }
.script { font: 400 clamp(32px, 3.4vw, 44px)/1.1 var(--script) !important; color: var(--emerald) !important; margin-top: 18px; }

/* faq */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font: 400 clamp(22px, 2.2vw, 28px)/1.2 var(--serif); cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { position: relative; width: 16px; height: 16px; flex: none; }
.faq-item summary span::before, .faq-item summary span::after { content: ''; position: absolute; left: 0; right: 0; top: 7.5px; height: 1px; background: var(--gold-d); transition: transform .35s var(--ease); }
.faq-item summary span::after { transform: rotate(90deg); }
.faq-item[open] summary span::after { transform: rotate(0deg); }
.faq-item p { color: var(--muted); padding: 0 0 24px; padding-inline-end: 40px; margin: 0; }

/* ===== footer ===== */
.ftr { background: var(--forest) var(--grain); color: rgba(244, 238, 230, .8); padding: 80px 0 30px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(201, 164, 92, .22); }
.ftr-brand { display: flex; align-items: center; gap: 24px; }
.ftr-brand p { margin: 0; font: italic 400 20px/1.35 var(--serif); color: var(--linen); }
.ftr h4 { font: 500 12px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-l); margin: 10px 0 18px; }
.ftr-grid a { display: block; text-decoration: none; padding: 5px 0; font-size: 15px; transition: color .25s; }
.ftr-grid a:hover { color: var(--gold-l); }
.ftr-promise { margin-top: 14px; font-size: 13px; letter-spacing: .08em; color: var(--gold); }
.ftr-small { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-top: 24px; font-size: 12.5px; color: rgba(244, 238, 230, .55); }
.ftr-small p { margin: 0; max-width: 760px; }
.ftr .fav-credit { direction: ltr; display: flex; width: max-content; max-width: 100%; align-items: center; gap: 11px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid rgba(222, 125, 88, .35); color: #d9d5cc; font: 500 14px/1.2 var(--sans); text-decoration: none; transition: border-color .25s, background .25s, transform .25s; }
.ftr .fav-credit img { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.ftr .fav-credit b { font: 600 20px/1 var(--serif); color: #de7d58; letter-spacing: .01em; }
.ftr .fav-credit:hover { border-color: #de7d58; background: rgba(222, 125, 88, .08); transform: translateY(-1px); color: #fff; }

/* ===== background music button ===== */
.bgm { position: fixed; inset-inline-start: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80; display: flex; align-items: center; height: 60px; padding: 5px; border-radius: 999px; background: rgba(13, 40, 33, .94); color: var(--linen); box-shadow: 0 0 0 1px rgba(201, 164, 92, .45), 0 16px 36px -12px rgba(5, 15, 12, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bgm-fab { position: relative; width: 50px; height: 50px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e9cd8c, var(--gold) 55%, #9a7434); color: var(--emerald); cursor: pointer; transition: transform .35s var(--ease); }
.bgm-fab:hover { transform: scale(1.06); }
.bgm-fab::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0; }
.bgm:not(.started) .bgm-fab::before { animation: ping 2.6s ease-out infinite; }
@keyframes ping { 0% { opacity: .8; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }
.bgm-play-ic { width: 22px; height: 22px; margin-left: 2px; }
.bgm-eq { display: none; align-items: flex-end; gap: 3px; height: 18px; }
.bgm-eq i { width: 3px; height: 100%; background: currentColor; border-radius: 2px; transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.bgm-eq i:nth-child(2) { animation-delay: -.3s; } .bgm-eq i:nth-child(3) { animation-delay: -.6s; } .bgm-eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.bgm.playing .bgm-eq { display: flex; }
.bgm.playing .bgm-play-ic { display: none; }
.bgm.playing.muted .bgm-eq i { animation-play-state: paused; transform: scaleY(.25); }
.bgm-panel { display: flex; align-items: center; gap: 12px; max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; transition: max-width .5s var(--ease), opacity .35s, padding .5s var(--ease); }
.bgm:hover .bgm-panel, .bgm:focus-within .bgm-panel, .bgm.open .bgm-panel { max-width: 340px; opacity: 1; padding: 0 10px 0 14px; }
.bgm-title { margin: 0; display: flex; flex-direction: column; line-height: 1.15; }
.bgm-title b { font: italic 500 17px/1.1 var(--serif); color: var(--gold-l); }
.bgm-title small { font-size: 11px; letter-spacing: .1em; opacity: .7; }
.bgm-ctrls { display: flex; align-items: center; gap: 4px; }
.bgm-btn { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(244, 238, 230, .08); color: var(--linen); cursor: pointer; transition: background .25s, color .25s; }
.bgm-btn:hover { background: rgba(201, 164, 92, .3); color: #fff; }
.bgm-btn .ic { width: 18px; height: 18px; }
.i-on-playing, .i-muted { display: none; }
.bgm.playing .i-on-playing { display: block; } .bgm.playing .i-on-paused { display: none; }
.bgm.muted .i-muted { display: block; } .bgm.muted .i-unmuted { display: none; }
.bgm-vol { width: 74px; accent-color: var(--gold); cursor: pointer; }

/* ===== language switch + the other-language accent line ===== */
.lang { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 34px; padding: 0 13px; border: 1px solid currentColor; border-radius: 999px; font: 500 12px/1 'Jost', sans-serif; letter-spacing: .14em; text-decoration: none; opacity: .92; transition: background .3s, color .3s, border-color .3s; }
.lang:hover { background: var(--gold); border-color: var(--gold); color: var(--emerald); opacity: 1; }
.lang[lang="ar"] { font: 500 15px/1 'Tajawal', sans-serif; letter-spacing: 0; padding-bottom: 2px; }
.en-accent { font: italic 400 clamp(22px, 2.6vw, 30px)/1.35 'Cormorant Garamond', serif; color: var(--gold-d); margin-bottom: 10px; }
.cta .en-accent { color: var(--gold-l); }
.hero.hero-ivory .en-accent { margin: -4px 0 16px; }

/* ===== Egyptian Arabic pages (dir="rtl") ===== */
[dir="rtl"] { --serif: 'Amiri', 'Cormorant Garamond', serif; --sans: 'Tajawal', 'Jost', 'Segoe UI', sans-serif; --script: 'Aref Ruqaa', 'Amiri', serif; }
[dir="rtl"] body { font-size: 18px; line-height: 1.85; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { line-height: 1.32; letter-spacing: 0; }
[dir="rtl"] .hero h1 { font-size: clamp(40px, 7vw, 96px); max-width: 14ch; }
[dir="rtl"] .hero-in.left h1 { font-size: clamp(40px, 5.6vw, 84px); }
/* Arabic letters must stay joined: no letter-spacing, no fake italics */
[dir="rtl"] .eyebrow, [dir="rtl"] .btn, [dir="rtl"] .nav > a:not(.lang), [dir="rtl"] .stone-tab, [dir="rtl"] .stone-birth,
[dir="rtl"] .birth span, [dir="rtl"] .bc-sign, [dir="rtl"] .ftr h4, [dir="rtl"] .link-arrow, [dir="rtl"] .ftr-promise,
[dir="rtl"] .say b, [dir="rtl"] .chip span, [dir="rtl"] .mq-track span, [dir="rtl"] .bgm-title small { letter-spacing: 0; }
[dir="rtl"] .eyebrow { font-size: 15px; font-weight: 500; }
[dir="rtl"] .btn { font-size: 15px; font-weight: 500; }
[dir="rtl"] .nav > a:not(.btn):not(.lang) { font-size: 16px; }
[dir="rtl"] em, [dir="rtl"] .loupe figcaption, [dir="rtl"] .stone-tag, [dir="rtl"] .stone-photo figcaption, [dir="rtl"] .mq-track span,
[dir="rtl"] .craft-v figcaption, [dir="rtl"] .ftr-brand p, [dir="rtl"] .quote blockquote p { font-style: normal; }
[dir="rtl"] .mq-track span { font-size: clamp(18px, 1.8vw, 23px); }
[dir="rtl"] .bc-script { font-size: 30px; line-height: 1.4; }
[dir="rtl"] .bc-text { font-size: 18px; line-height: 1.75; }
[dir="rtl"] .bc-sign { font-size: 13px; }
[dir="rtl"] .script { line-height: 1.5 !important; }
[dir="rtl"] .quote cite { font-size: clamp(34px, 4vw, 48px); }
[dir="rtl"] .stone-birth { font-size: 15px !important; }
[dir="rtl"] .birth span { font-size: 14px; }
[dir="rtl"] .ic-arrow { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover .ic { transform: scaleX(-1) translateX(5px); }
[dir="rtl"] .nav > a:not(.btn)::after { transform-origin: right; }
[dir="rtl"] .mq-track { animation-name: mq-rtl; }
@keyframes mq-rtl { to { transform: translateX(50%); } }
[dir="rtl"] .band-dark .band-vid { transform: scaleX(-1); }
[dir="rtl"] .band-dark .band-shade { background: linear-gradient(270deg, rgba(5, 8, 7, .88) 0%, rgba(5, 8, 7, .55) 50%, rgba(5, 8, 7, .1) 100%); }
@media (min-width: 901px) {
  [dir="rtl"] .hero.hero-ivory .hero-shade { background: linear-gradient(270deg, rgba(244, 238, 230, .92) 0%, rgba(244, 238, 230, .72) 48%, rgba(244, 238, 230, .1) 100%); }
}
@media (max-width: 640px) {
  [dir="rtl"] body { font-size: 17px; }
  [dir="rtl"] .band-dark .band-shade { background: linear-gradient(180deg, rgba(5, 8, 7, .55), rgba(5, 8, 7, .85)); }
  [dir="rtl"] .hero h1 { font-size: clamp(36px, 10.5vw, 52px); }
}

/* ===== 5-page nav: burger menu below 1180px ===== */
.nav-ig-txt { display: none; }
.nav > a.lang { font: 500 12px/1 'Jost', sans-serif; letter-spacing: .14em; text-transform: none; }
.nav > a.lang[lang="ar"] { font: 500 15px/1 'Tajawal', sans-serif; letter-spacing: 0; }
@media (max-width: 1180px) {
  .burger { display: block; z-index: 2; }
  .nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 20px; background: var(--emerald); color: var(--linen); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .nav > a:not(.btn):not(.lang) { font: 400 32px/1.1 var(--serif); letter-spacing: 0; text-transform: none; }
  [dir="rtl"] .nav > a:not(.btn):not(.lang) { font-size: 30px; }
  .nav-ig-txt { display: inline; }
  .nav-ig .ic { width: 26px; height: 26px; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .hdr { color: var(--linen); background: transparent; box-shadow: none; backdrop-filter: none; }
  .menu-open .brand { position: relative; z-index: 2; }
  .menu-open { overflow: hidden; }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.band-in.center h2 { margin-left: auto; margin-right: auto; }

/* ===== home: gifting tiles + creators strip ===== */
.gifting { background: var(--linen-2); }
.gtiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.gtile { position: relative; display: block; text-decoration: none; color: #fff; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.gtile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gtile:hover .gtile-img img { transform: scale(1.06); }
.gtile-txt { position: absolute; inset: auto 0 0 0; padding: 70px 18px 18px; background: linear-gradient(transparent, rgba(13, 40, 33, .85)); display: flex; flex-direction: column; gap: 4px; }
.gtile-txt b { font: 400 25px/1.15 var(--serif); }
.gtile-txt small { font-size: 13px; letter-spacing: .08em; color: var(--gold-l); }
.strip { background: linear-gradient(90deg, #e9d6a6, var(--gold) 50%, #c39b52); color: var(--emerald); }
.strip-in { display: flex; align-items: center; gap: 18px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.strip-ic { width: 26px; height: 26px; flex: none; }
.strip-ic .ic { width: 100%; height: 100%; }
.strip p { margin: 0; flex: 1 1 320px; font: 400 clamp(19px, 1.8vw, 24px)/1.35 var(--serif); }
.strip p b { font-weight: 600; }
.strip .btn { background: var(--emerald); color: var(--linen); }

/* ===== page hero (Pieces) ===== */
.phero { padding: clamp(130px, 14vw, 180px) 0 clamp(50px, 7vw, 90px); background: linear-gradient(var(--linen-2), var(--linen)); overflow: hidden; }
.phero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.phero h1 { font-size: clamp(44px, 6.4vw, 92px); margin: 4px 0 20px; }
.phero .lead { font-size: clamp(17px, 1.5vw, 20px); color: #3d413b; max-width: 540px; }
.phero-art { position: relative; height: clamp(320px, 36vw, 480px); }
.phero-art .pa { position: absolute; width: 50%; height: auto; border: 7px solid #fff; box-shadow: 0 30px 60px -30px rgba(13, 40, 33, .55); }
.pa1 { inset-inline-start: 2%; top: 2%; transform: rotate(-5deg); z-index: 2; }
.pa2 { inset-inline-end: 0; top: 10%; transform: rotate(4deg); }
.phero-art .pa3 { inset-inline-start: 30%; bottom: 0; width: 40%; transform: rotate(2deg); z-index: 3; }

/* ===== Pieces: filters + grid ===== */
.filters { display: grid; gap: 12px; margin-bottom: 36px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.frow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flabel { font: 500 12px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-d); min-width: 70px; }
.fchip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .5); font: 400 14.5px/1.2 var(--sans); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.fchip i { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--g1), var(--g2) 55%, var(--g3)); }
.fchip:hover { border-color: var(--gold); }
.fchip[aria-pressed="true"] { background: var(--emerald); color: var(--linen); border-color: var(--emerald); }
.piece-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.piece { display: flex; flex-direction: column; background: rgba(255, 255, 255, .55); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, background .5s; }
.piece[hidden] { display: none !important; }
.piece:hover { transform: translateY(-5px); background: #fff; box-shadow: 0 30px 60px -38px rgba(13, 40, 33, .5); }
.piece-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.piece-media img, .piece-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s, transform 1.2s var(--ease); }
.piece-media .alt { opacity: 0; }
.piece-media.has-alt:hover .alt, .piece-media.flip .alt { opacity: 1; }
.piece:hover .piece-media .main { transform: scale(1.04); }
.worn { position: absolute; top: 12px; inset-inline-start: 12px; padding: 6px 11px; border-radius: 999px; background: rgba(13, 40, 33, .8); color: var(--gold-l); font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; z-index: 1; }
.piece-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.piece-meta { font-size: 13px; color: var(--gold-d); letter-spacing: .04em; margin-bottom: 6px; }
.piece h3 { font-size: 27px; margin-bottom: 8px; }
.piece-body > p:not(.piece-meta) { font-size: 15px; color: var(--muted); }
.piece-links { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 6px; }
.piece-links .link-arrow { font-size: 11.5px; letter-spacing: .16em; }
.piece-links .mini-link { margin-top: 0; }
.piece-empty { text-align: center; padding: 30px; font-size: 18px; }
.piece-empty a { color: var(--gold-d); display: inline-flex; gap: 6px; align-items: center; }
.lookbook { padding-top: clamp(30px, 4vw, 50px); }
.piece-note { margin-top: 26px; font-size: 14px; color: var(--muted); text-align: center; }

/* ===== Gifts ===== */
.gifts-hero .hero-in h1 { max-width: 11ch; }
.finder-sec { background: var(--linen-2); }
.finder { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(26px, 4vw, 60px); align-items: start; }
.gf-q { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.gf-l { display: flex; align-items: center; gap: 12px; font: 500 24px/1.2 var(--serif); margin-bottom: 14px; }
.gf-l span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--emerald); color: var(--gold-l); font: 500 13px/1 var(--caps); }
.gchip { padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .55); font: 400 15px/1.2 var(--sans); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.gchip:hover { border-color: var(--gold); }
.gchip[aria-pressed="true"] { background: var(--emerald); color: var(--linen); border-color: var(--emerald); }
.gf-result { position: sticky; top: 104px; padding: 34px 30px; background: var(--emerald) var(--grain); color: var(--linen); box-shadow: 0 30px 60px -30px rgba(13, 40, 33, .6); }
.gf-result .eyebrow { color: var(--gold-l); }
.gf-idea { font: 400 clamp(26px, 2.6vw, 34px)/1.25 var(--serif); margin-bottom: 18px; }
.gf-card { border-top: 1px solid rgba(201, 164, 92, .35); padding-top: 14px; }
.gf-card span { display: block; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 6px; }
.gf-card q { font: italic 400 21px/1.4 var(--serif); }
.gf-result .btn-row { margin-top: 22px; }
.gf-result .btn-ghost { color: var(--linen); }
.gf-go[aria-disabled="true"] { opacity: .5; }
.occ-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.occ { position: relative; padding: 28px 26px 26px; background: rgba(255, 255, 255, .55); border: 1px solid var(--line); display: flex; flex-direction: column; scroll-margin-top: 110px; transition: transform .5s var(--ease), background .5s, box-shadow .5s, border-color .5s; }
.occ:hover, .occ:target { background: #fff; transform: translateY(-4px); box-shadow: 0 26px 50px -34px rgba(13, 40, 33, .5); }
.occ:target, .occ.soon { border-color: var(--gold); }
.occ.soon { background: #fff; }
.occ-date { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 8px; }
.occ h3 { font-size: 30px; margin-bottom: 10px; }
.occ > p:not(.occ-date) { color: var(--muted); font-size: 15.5px; }
.occ .link-arrow { margin-top: auto; align-self: flex-start; font-size: 11.5px; }
.occ-badge { position: absolute; top: -12px; inset-inline-end: 18px; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--emerald); font: 500 12px/1 var(--sans); letter-spacing: .04em; }
.lines { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 4px; }
.line { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.line q { font: italic 400 19px/1.35 var(--serif); }
.line .mini-link { margin: 0; white-space: nowrap; }
.delivery { background: var(--linen-2); }
.cities { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(26px, 4vw, 60px); }
.cities h3 { font-size: 28px; margin-bottom: 16px; }
.cities ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cities li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .5); font-size: 14.5px; }

/* ===== Our story ===== */
.about-hero h1 { max-width: 14ch; }
.story-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.story-txt h2 { font-size: clamp(40px, 5.2vw, 68px); margin-bottom: 24px; }
.story-txt p:not(.eyebrow) { font-size: 17.5px; color: #3d413b; }
.story-media { position: relative; padding-block: 0 70px; padding-inline: 0 40px; }
.st-a { aspect-ratio: 1; }
.st-b { position: absolute; inset-inline-end: -10px; bottom: 0; width: 44%; aspect-ratio: 4 / 5; border: 8px solid var(--linen); box-shadow: 0 30px 60px -30px rgba(13, 40, 33, .5); }
.promise { background: var(--linen-2); }
.promises.four { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin: 0; }
.promises.four li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
.reviews-note { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 30px; font-size: 16px; color: #3d413b; }
.reviews-note .ic { width: 20px; height: 20px; color: var(--gold-d); }
.reviews-note .mini-link { margin: 0; }
.mtable-wrap { overflow-x: auto; }
.mtable { width: 100%; border-collapse: collapse; min-width: 640px; background: rgba(255, 255, 255, .5); }
.mtable th, .mtable td { padding: 18px 20px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15.5px; }
.mtable thead th { font: 400 24px/1.2 var(--serif); background: var(--emerald); color: var(--linen); }
.mtable tbody th { font: 500 12px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-d); width: 16%; }
.care { background: var(--linen-2); }
.care-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.care-item { padding: 24px 22px; background: rgba(255, 255, 255, .55); border: 1px solid var(--line); }
.care-item h3 { font-size: 24px; margin-bottom: 8px; }
.care-item p { font-size: 15px; color: var(--muted); margin: 0; }
.rs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.rs-grid h2 { font-size: clamp(38px, 5vw, 64px); margin-bottom: 22px; }
.rs-steps { margin: 0 0 18px; padding-inline-start: 22px; display: grid; gap: 10px; font-size: 17px; }
.rs-tip { color: var(--muted); font-size: 15px; }
.rs-card { padding: 30px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(13, 40, 33, .45); display: grid; gap: 16px; }
.rs-out { font: 400 26px/1.3 var(--serif); color: var(--emerald); margin: 0; min-height: 1.3em; }
.rs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rs-table th, .rs-table td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: center; }
.rs-table th { font-weight: 500; color: var(--gold-d); }
.creators { background: var(--emerald) var(--grain); color: var(--linen); }
.creators .eyebrow { color: var(--gold-l); }
.creators h2 em { color: var(--gold-l); }
.creators .sec-head p:not(.eyebrow) { color: rgba(244, 238, 230, .82); }
.benefits { list-style: none; margin: 0 0 50px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefits li { padding: 26px 24px; border: 1px solid rgba(201, 164, 92, .35); background: rgba(255, 255, 255, .04); }
.benefits span { font: 500 14px/1 var(--caps); color: var(--gold); }
.benefits b { display: block; font: 400 26px/1.2 var(--serif); margin: 12px 0 6px; color: #fff; }
.benefits p { margin: 0; color: rgba(244, 238, 230, .75); font-size: 15px; }
.creator-grid .brief legend { color: var(--linen); }
.creator-grid .brief legend span { background: var(--gold); color: var(--emerald); }
.creator-grid .brief fieldset { border-bottom-color: rgba(244, 238, 230, .18); }
.creator-grid .chip span { background: rgba(255, 255, 255, .08); border-color: rgba(244, 238, 230, .25); color: var(--linen); }
.creator-grid .chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--emerald); }
.creator-grid .field { color: rgba(244, 238, 230, .85); }
.creator-grid .field small { color: rgba(244, 238, 230, .6); }
.creator-grid .field input, .creator-grid .field textarea { background: rgba(255, 255, 255, .94); color: var(--ink); }
.creator-grid .brief-note { color: rgba(244, 238, 230, .72); }
.creator-grid .btn-ghost { color: var(--linen); }
.creator-grid .btn-emerald { background: var(--gold); color: var(--emerald); }
.ftr-brand .ftr-loc { margin-top: 10px; font: 400 14px/1.45 var(--sans); font-style: normal; color: var(--gold-l); }

/* ===== Arabic tweaks for the new parts ===== */
[dir="rtl"] .flabel, [dir="rtl"] .worn, [dir="rtl"] .occ-date, [dir="rtl"] .gf-card span, [dir="rtl"] .mtable tbody th,
[dir="rtl"] .piece-meta, [dir="rtl"] .gtile-txt small, [dir="rtl"] .piece-links .link-arrow, [dir="rtl"] .occ .link-arrow { letter-spacing: 0; }
[dir="rtl"] .flabel { font-size: 15px; }
[dir="rtl"] .mtable tbody th { font-size: 15px; }
[dir="rtl"] .gf-card q, [dir="rtl"] .line q { font-style: normal; }
[dir="rtl"] .phero h1 { line-height: 1.3; }

/* ===== responsive (new parts) ===== */
@media (max-width: 1080px) {
  .gtiles, .piece-grid, .occ-grid, .care-grid { grid-template-columns: repeat(2, 1fr); }
  .finder { grid-template-columns: 1fr; }
  .gf-result { position: static; }
}
@media (max-width: 900px) {
  .phero-grid, .story-grid, .rs-grid, .cities { grid-template-columns: 1fr; }
  .phero-art { height: 300px; max-width: 460px; }
  .benefits, .promises.four { grid-template-columns: 1fr; }
  .promises.four li:nth-last-child(2) { border-bottom: 0; }
  .story-media { max-width: 520px; }
}
@media (max-width: 640px) {
  .gtiles { gap: 8px; }
  .gtile-txt { padding: 50px 12px 12px; }
  .gtile-txt b { font-size: 20px; }
  .piece-grid, .occ-grid, .care-grid { grid-template-columns: 1fr; }
  .line { flex-direction: column; align-items: flex-start; gap: 6px; }
  .strip-in { justify-content: center; text-align: center; }
  .phero-art { height: 250px; }
  .rs-card { padding: 22px; }
}

/* ===== reveal + page transition ===== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].in, .no-js [data-reveal] { opacity: 1; transform: none; }
#app { transition: opacity .35s; }
.pjax-out #app { opacity: 0; }

/* ===== responsive ===== */
@media (max-width: 1080px) {
  .stone-picker { grid-template-columns: 1fr; grid-template-areas: "tabs" "gem" "side"; }
  .gem-stage { max-width: 360px; }
  .studio-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .studio-grid .loupe { aspect-ratio: 4 / 5; height: auto; }
  .sg-a { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 11 !important; }
  .birth-grid { grid-template-columns: repeat(4, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .burger { display: block; z-index: 2; }
  .nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 22px; background: var(--emerald); color: var(--linen); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .nav > a:not(.btn) { font: 400 34px/1 var(--serif); letter-spacing: 0; text-transform: none; }
  .nav-ig .ic { width: 26px; height: 26px; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .hdr { color: var(--linen); background: transparent; box-shadow: none; backdrop-filter: none; }
  .menu-open .brand { position: relative; z-index: 2; }
  .menu-open { overflow: hidden; }
  .house-grid, .steps-grid, .brief-grid, .cards-grid, .faq-grid { grid-template-columns: 1fr; }
  .house-media { padding-block: 0 60px; padding-inline: 30px 0; max-width: 520px; }
  .sec-head.sticky, .brief-card-wrap { position: static; }
  .craft-grid { grid-template-columns: 1fr 1fr; }
  .craft-v:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .metal-grid { grid-template-columns: 1fr; }
  .metal { display: grid; grid-template-columns: auto 1fr; column-gap: 24px; align-items: center; padding: 26px; }
  .metal h3 { margin: 0 0 6px; font-size: 30px; }
  .metal .swatch { grid-row: span 2; width: 64px; height: 64px; }
  .hero.hero-ivory .hero-shade { background: linear-gradient(180deg, rgba(244, 238, 230, .86), rgba(244, 238, 230, .72)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .stone-side { grid-template-columns: 1fr; }
  .stone-photos { aspect-ratio: 5 / 4; }
  .gem-stage { max-width: 270px; }
  .stone-picker { gap: 22px; }
  .studio-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .loupe figcaption { font-size: 15px; padding: 30px 10px 10px; }
  .birth-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .birth { padding: 16px 4px 14px; }
  .birth b { font-size: 18px; }
  .birth span { font-size: 11px; letter-spacing: .06em; }
  .fields { grid-template-columns: 1fr; }
  .brief-card { padding: 28px 22px 22px; }
  .ftr-grid { grid-template-columns: 1fr; }
  .ftr-brand { flex-direction: column; align-items: flex-start; }
  .cards-media { height: 420px; }
  .hero h1 { font-size: clamp(42px, 12vw, 60px); }
  .hero-in { padding-top: 96px; padding-bottom: 96px; }
  .band-dark .band-shade { background: linear-gradient(180deg, rgba(5, 8, 7, .55), rgba(5, 8, 7, .85)); }
  .steps { padding-inline-start: 56px; }
  .step-n { inset-inline-start: -56px; width: 38px; height: 38px; }
  .steps-line { inset-inline-start: 18px; }
  .mq-track span { padding: 0 18px; }
  .bgm { height: 56px; }
  .bgm-fab { width: 46px; height: 46px; }
  .bgm-vol { display: none; }
  .ftr { padding-bottom: 96px; }
  .craft-v figcaption { font-size: 17px; padding: 36px 12px 10px; }
}
@media (hover: none) { .hint { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .rings.draw ellipse { stroke-dashoffset: .08; }
  .hero-logo .lr-word, .hero-logo .lr-sub { opacity: 1; }
}
