/* Jewels by Chanya — reference build for Wix. Every value here is listed in wix/WIX-BUILD-SHEET.md. */
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/CormorantGaramond-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/CormorantGaramond-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/CormorantGaramond-MediumItalic.ttf) format("truetype"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url(../fonts/Jost-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url(../fonts/Jost-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }

:root {
  /* colour: 60 ink / 30 ivory+paper / 10 marigold */
  --ink: #170e0b;          /* kajal brown-black, warm like the photo shadows */
  --ink-raised: #21150f;
  --paper: #f3e9dc;        /* tussar ivory, the one light section */
  --ivory: #f3e9dc;
  --ivory-muted: #c8b9a7;
  --paper-text: #24170f;
  --paper-muted: #6a5646;
  --line: rgba(243, 233, 220, 0.16);
  --line-paper: rgba(36, 23, 15, 0.18);
  --accent: #f39a3f;       /* marigold, the warm end of the logo gradient: buttons + focus only */
  --accent-hover: #f7b061;
  --accent-ink: #1c0f06;

  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --body: "Jost", "Avenir Next", "Segoe UI", sans-serif;
  --t-xs: 0.8125rem; --t-sm: 0.9375rem; --t-md: 1.0625rem; --t-lg: 1.375rem;
  --t-h3: clamp(1.6rem, 2.2vw, 2rem);
  --t-h2: clamp(2.3rem, 4.4vw, 3.6rem);
  --t-h1: clamp(3rem, 7vw, 6.2rem);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px;
  --s-8: 64px; --s-9: 96px; --s-10: 128px; --s-11: 160px;
  --wrap: 1320px; --gutter: clamp(20px, 4vw, 48px);
  --r: 2px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--ivory); font: 400 var(--t-md)/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; text-wrap: balance; }
h1 { font-size: var(--t-h1); line-height: 0.98; letter-spacing: -0.02em; }
h2 { font-size: var(--t-h2); line-height: 1.04; letter-spacing: -0.015em; }
h3 { font-size: var(--t-h3); line-height: 1.12; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; z-index: 50; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* signature: the "drop" — a silver hairline ending in a ghungroo bead, used on every eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-3); font: 500 var(--t-xs)/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory-muted); }
.eyebrow::before { content: ""; flex: none; width: 36px; height: 6px;
  background: linear-gradient(currentColor, currentColor) 0 50% / 29px 1px no-repeat,
              radial-gradient(circle, var(--accent) 2.6px, transparent 3.1px) 100% 50% / 6px 6px no-repeat; }
.paper .eyebrow { color: var(--paper-muted); }
.paper h2 em { color: #a84b12; }   /* marigold fails 3:1 on paper; burnt marigold passes */

/* buttons: one primary style */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 52px; padding: 0 var(--s-6); border-radius: var(--r); font: 500 var(--t-sm)/1 var(--body); letter-spacing: 0.04em; text-decoration: none; transition: background 160ms, color 160ms, border-color 160ms; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-line { border: 1px solid var(--line); color: var(--ivory); }
.btn-line:hover { border-color: var(--ivory); }
.paper .btn-line { border-color: var(--line-paper); color: var(--paper-text); }
.link { font-size: var(--t-sm); letter-spacing: 0.04em; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; text-decoration-color: var(--line); }
.link:hover { text-decoration-color: currentColor; }
.icon { width: 18px; height: 18px; flex: none; fill: currentColor; }

/* announcement + header */
.ann { background: var(--ink-raised); color: var(--ivory-muted); font-size: var(--t-xs); letter-spacing: 0.12em; text-transform: uppercase; text-align: center; padding: 10px var(--gutter); }
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(23, 14, 11, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: var(--s-6); min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand span { font: 500 1.45rem/1 var(--display); letter-spacing: 0.01em; }
.nav { display: flex; gap: var(--s-6); margin-left: auto; }
.nav a { font-size: var(--t-sm); letter-spacing: 0.05em; text-decoration: none; color: var(--ivory-muted); padding: 12px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ivory); }
.nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--accent); }
.hdr-wa { min-height: 44px; padding: 0 var(--s-4); }
.menu-btn { display: none; margin-left: auto; min-width: 44px; min-height: 44px; padding: 0 var(--s-4); background: none; border: 1px solid var(--line); border-radius: var(--r); color: var(--ivory); font: 500 var(--t-sm)/1 var(--body); letter-spacing: 0.04em; }

/* hero: editorial split, two overlapping photos */
.hero { padding: var(--s-9) 0 var(--s-10); }
.hero .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s-8); align-items: center; }
.hero-copy { display: grid; gap: var(--s-6); max-width: 30rem; }
.hero-copy h1 { max-width: 11ch; }
.hero-copy .lede { font-size: var(--t-lg); line-height: 1.5; color: var(--ivory-muted); max-width: 30ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5); }
.hero-trust { font-size: var(--t-sm); color: var(--ivory-muted); border-top: 1px solid var(--line); padding-top: var(--s-4); }
.hero-trust b { color: var(--ivory); font-weight: 500; }
.hero-art { position: relative; padding: 0 0 var(--s-9) var(--s-9); }
.hero-art .main { width: 100%; aspect-ratio: 1; object-fit: cover; }
.hero-art .inset { position: absolute; left: 0; bottom: 0; width: 38%; aspect-ratio: 1; object-fit: cover; border: 8px solid var(--ink); }
.hero-art figcaption { position: absolute; right: 0; bottom: var(--s-5); font-size: var(--t-sm); color: var(--ivory-muted); text-align: right; }
.hero-art figcaption b { display: block; font: italic 500 1.35rem/1.2 var(--display); color: var(--ivory); }

/* facts band: three ruled facts */
.facts { border-block: 1px solid var(--line); }
.facts ul { list-style: none; margin-block: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.facts li:first-child { padding-left: 0; }
.facts li { padding: var(--s-6) var(--s-5); display: grid; gap: var(--s-1); }
.facts li + li { border-left: 1px solid var(--line); }
.facts b { font: 500 1.9rem/1.1 var(--display); }
.facts span { font-size: var(--t-sm); color: var(--ivory-muted); }

/* section heads */
.sec { padding: var(--s-10) 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-6); margin-bottom: var(--s-8); }
.sec-head > div { display: grid; gap: var(--s-4); }
.sec-head p { color: var(--ivory-muted); max-width: 46ch; }

/* product grid: image + ruled caption, no cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-7) var(--s-5); }
.pc { display: grid; gap: var(--s-3); text-decoration: none; }
.pc-img { position: relative; overflow: hidden; background: var(--ink-raised); }
.pc-img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 600ms var(--ease); }
.pc:hover .pc-img img { transform: scale(1.035); }
.pc-no { position: absolute; left: var(--s-3); top: var(--s-3); font-size: var(--t-xs); letter-spacing: 0.12em; color: var(--ivory); background: rgba(23, 14, 11, 0.6); padding: 4px 8px; }
.pc-cap { display: flex; justify-content: space-between; gap: var(--s-3); border-top: 1px solid var(--line); padding-top: var(--s-3); }
.pc-cap h3 { font-size: 1.3rem; line-height: 1.2; }
.pc-cap span { font-size: var(--t-sm); color: var(--ivory-muted); white-space: nowrap; padding-top: 3px; }
.paper .pc-cap { border-color: var(--line-paper); }
.paper .pc-cap span { color: var(--paper-muted); }

/* details: asymmetric photo strip with captions */
.details .wrap { display: grid; gap: var(--s-8); }
.details h2 { max-width: 16ch; }
.strip { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: var(--s-4); align-items: end; }
.strip figure { margin: 0; display: grid; gap: var(--s-3); }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.strip figure:nth-child(2) img, .strip figure:nth-child(3) img { aspect-ratio: 3 / 5; }
.strip figcaption { font: italic 500 1.25rem/1.2 var(--display); }
.strip figcaption span { display: block; font: 400 var(--t-sm)/1.5 var(--body); color: var(--ivory-muted); }

/* sets: editorial split with ruled price list */
.sets .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-9); align-items: center; }
.sets-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sets-copy { display: grid; gap: var(--s-6); }
.plist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.plist a { display: grid; grid-template-columns: 64px 1fr auto; gap: var(--s-4); align-items: center; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.plist img { width: 64px; height: 64px; object-fit: cover; }
.plist b { font: 500 1.3rem/1.2 var(--display); }
.plist span { font-size: var(--t-sm); color: var(--ivory-muted); }
.plist a:hover b { color: var(--accent); }

/* full-bleed silk band with one statement line */
.band { position: relative; min-height: clamp(360px, 52vw, 640px); display: grid; align-items: center; overflow: hidden; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 14, 11, 0.85) 0%, rgba(23, 14, 11, 0.35) 55%, rgba(23, 14, 11, 0) 80%); }
.band .wrap { position: relative; z-index: 1; }
.band-line { font: 500 clamp(2rem, 4.2vw, 3.6rem)/1.08 var(--display); letter-spacing: -0.015em; max-width: 15ch; }
.band-line em { color: var(--accent); }

/* earrings: copy column + staggered trio */
.earrings .wrap { display: grid; grid-template-columns: 4fr 8fr; gap: var(--s-8); align-items: start; }
.ear-copy { display: grid; gap: var(--s-5); justify-items: start; position: sticky; top: 120px; }
.ear-copy p { color: var(--ivory-muted); max-width: 32ch; }
.grid.stagger { grid-template-columns: repeat(3, 1fr); }
.grid.stagger > :nth-child(2) { margin-top: var(--s-9); }
.grid.stagger > :nth-child(3) { margin-top: var(--s-7); }

/* occasion tiles: photo with caption below a hairline */
.occ { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.occ a { display: grid; gap: var(--s-4); text-decoration: none; }
.occ img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 600ms var(--ease); }
.occ a:hover img { transform: scale(1.02); }
.occ span { display: grid; gap: var(--s-1); border-top: 1px solid var(--line); padding-top: var(--s-3); font-size: var(--t-sm); color: var(--ivory-muted); }
.occ b { font: italic 500 1.6rem/1.15 var(--display); color: var(--ivory); }
.wide-img { margin: 0; }
.wide-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.care-img { width: min(100%, 420px); aspect-ratio: 1; object-fit: cover; }

/* paper section (bangles) */
.paper { background: var(--paper); color: var(--paper-text); }
.paper .sec-head p { color: var(--paper-muted); }
.paper :focus-visible { outline-color: #b4581a; }

/* how to order: numbered steps with rules */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.steps li { counter-increment: s; padding: var(--s-6) var(--s-6) 0 0; display: grid; gap: var(--s-3); align-content: start; }
.steps li + li { padding-left: var(--s-6); border-left: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); font: italic 500 2.6rem/1 var(--display); color: var(--accent); }
.steps h3 { font-size: 1.5rem; }
.steps p { color: var(--ivory-muted); }
.order-cta { margin-top: var(--s-8); display: flex; flex-wrap: wrap; gap: var(--s-5); align-items: center; }

/* instagram band */
.ig { border-top: 1px solid var(--line); }
.ig .wrap { display: grid; grid-template-columns: 4fr 8fr; gap: var(--s-8); align-items: center; }
.ig-handle { font: italic 500 clamp(2rem, 4vw, 3.2rem)/1 var(--display); }
.ig-copy { display: grid; gap: var(--s-5); justify-items: start; }
.ig-copy p { color: var(--ivory-muted); }
.ig-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2); }
.ig-row img { aspect-ratio: 1; object-fit: cover; width: 100%; }

/* footer */
.ftr { background: var(--ink-raised); padding: var(--s-9) 0 var(--s-6); font-size: var(--t-sm); }
.ftr-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-7); padding-bottom: var(--s-8); }
.ftr-top p { color: var(--ivory-muted); max-width: 32ch; margin-top: var(--s-4); }
.ftr h2 { font: 500 var(--t-xs)/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory-muted); margin-bottom: var(--s-4); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-1); }
.ftr li a { display: inline-block; padding: 6px 0; text-decoration: none; }
.ftr li a:hover { color: var(--accent); }
.ftr-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4); border-top: 1px solid var(--line); padding-top: var(--s-5); color: var(--ivory-muted); }
.kz-credit { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; color: var(--ivory-muted); text-decoration: none; }
.kz-credit b { font-weight: 500; color: var(--ivory); }
.kz-mark { width: 30px; height: 30px; color: var(--ivory); flex: none; }

/* inner pages */
.page-head { padding: var(--s-9) 0 var(--s-7); border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; gap: var(--s-4); }
.page-head p { color: var(--ivory-muted); max-width: 52ch; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-7) 0 var(--s-8); }
.chip { min-height: 44px; padding: 0 var(--s-5); border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--ivory-muted); font: 400 var(--t-sm)/1 var(--body); cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--ivory); color: var(--ivory); }
.chip small { color: var(--ivory-muted); margin-left: 4px; }

/* product page */
.pdp { padding: var(--s-8) 0 var(--s-10); }
.pdp .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-9); align-items: start; }
.crumbs { font-size: var(--t-sm); color: var(--ivory-muted); margin-bottom: var(--s-5); }
.crumbs a { text-decoration: none; }
.gallery { display: grid; gap: var(--s-4); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pdp-info { position: sticky; top: 110px; display: grid; gap: var(--s-5); }
.pdp-price { font: 500 2rem/1 var(--display); }
.pdp-price small { font: 400 var(--t-sm)/1 var(--body); color: var(--ivory-muted); margin-left: var(--s-2); }
.pdp-info .desc { color: var(--ivory-muted); max-width: 44ch; }
.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ticks li { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.pdp-buy { display: grid; gap: var(--s-3); }
.pdp-buy .btn { width: 100%; }
.pdp-note { font-size: var(--t-sm); color: var(--ivory-muted); }
details.acc { border-bottom: 1px solid var(--line); }
details.acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; padding: var(--s-4) 0; font-weight: 500; min-height: 44px; }
details.acc summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--ivory-muted); }
details.acc[open] summary::after { content: "–"; }
details.acc > div { padding-bottom: var(--s-4); color: var(--ivory-muted); font-size: var(--t-sm); display: grid; gap: var(--s-3); }

/* prose pages */
.prose { padding: var(--s-9) 0 var(--s-10); }
.prose .wrap { display: grid; grid-template-columns: 4fr 8fr; gap: var(--s-9); }
.prose aside { position: sticky; top: 110px; align-self: start; display: grid; gap: var(--s-3); }
.prose aside a { text-decoration: none; color: var(--ivory-muted); font-size: var(--t-sm); padding: 6px 0; }
.prose aside a:hover { color: var(--ivory); }
.prose article { display: grid; gap: var(--s-9); max-width: 68ch; }
.prose section { display: grid; gap: var(--s-4); scroll-margin-top: 110px; }
.prose section p, .prose li { color: var(--ivory-muted); }
.prose ul { margin: 0; padding-left: 1.1em; display: grid; gap: var(--s-2); }
.statement { font: italic 500 clamp(1.8rem, 3.4vw, 2.8rem)/1.18 var(--display); max-width: 24ch; }
.about-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* mobile bar: WhatsApp + Shop, phones only */
.mbar { display: none; }

@media (max-width: 1040px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: var(--s-5); }
  .sets .wrap { gap: var(--s-8); }
}
@media (max-width: 860px) {
  .nav, .hdr-wa { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .hdr.open .nav { display: grid; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); padding: var(--s-4) var(--gutter) var(--s-6); border-bottom: 1px solid var(--line); gap: 0; }
  .hdr.open .nav a { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); font-size: var(--t-md); }
  .hero { padding: var(--s-7) 0 var(--s-8); }
  .hero .wrap, .sets .wrap, .ig .wrap, .pdp .wrap, .prose .wrap { grid-template-columns: 1fr; }
  .hero-art { padding: 0; display: grid; gap: var(--s-3); }
  .hero-art .inset { display: none; }
  .hero-art figcaption { position: static; text-align: left; }
  .hero .wrap { gap: var(--s-7); }
  .hero-copy h1 { max-width: 12ch; }
  .facts ul { grid-template-columns: 1fr; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line); }
  .facts li { padding: var(--s-5) 0; }
  .sec { padding: var(--s-9) 0; }
  .sec-head { flex-direction: column; align-items: start; margin-bottom: var(--s-7); }
  .grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-4); }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip figure:nth-child(n) img { aspect-ratio: 3 / 4; }
  .sets-img { order: -1; }
  .earrings .wrap { grid-template-columns: 1fr; }
  .ear-copy { position: static; }
  .grid.stagger { grid-template-columns: repeat(2, 1fr); }
  .grid.stagger > :nth-child(n) { margin-top: 0; }
  .occ { grid-template-columns: 1fr; }
  .occ img { aspect-ratio: 16 / 10; }
  .band::after { background: linear-gradient(0deg, rgba(23, 14, 11, 0.9) 0%, rgba(23, 14, 11, 0.2) 70%); }
  .band { align-items: end; padding-bottom: var(--s-7); }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: var(--s-6) 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .ftr-top > div:first-child { grid-column: 1 / -1; }
  .pdp-info, .prose aside { position: static; }
  .prose aside { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--ink-raised); border-top: 1px solid var(--line); padding: var(--s-2) var(--s-3) calc(var(--s-2) + env(safe-area-inset-bottom)); gap: var(--s-2); }
  .mbar .btn { min-height: 48px; padding: 0 var(--s-3); }
  body { padding-bottom: 72px; }
}
@media (max-width: 420px) {
  .pc-cap { flex-direction: column; gap: var(--s-1); }
  .pc-cap h3 { font-size: 1.15rem; }
  .brand span { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
