/* Calibre Jewelry. White base, black sections, Calibre crimson as the single accent.
   Light only by brand choice; black bands (.dark) carry the night side of the brand. */
:root {
  --paper: #fbfbfa;
  --paper-2: #f1f1ef;
  --ink: #121214;
  --ink-2: #1d1d20;
  --line: #e2e2df;
  --line-dark: #2e2e33;
  --text: #121214;
  --muted: #5d5d62;
  --muted-dark: #a9a9a6;
  --red: #c8183a;
  --red-deep: #a51230;
  --red-on-dark: #ec3456;
  --tile: #d3d3cf;
  --tile-2: #bdbdb9;
  --danger: #b4142f;
  --display: "Yeseva One", Georgia, serif;
  --body: "League Spartan", "Helvetica Neue", Arial, sans-serif;
  --label: "Anton", "Arial Narrow", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1400px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* black bands */
.dark { background: var(--ink); color: #f3f3f1; --line: var(--line-dark); --muted: var(--muted-dark); }
.dark .btn.ghost { color: #f3f3f1; border-color: #4a4a50; }
.dark .btn.ghost:hover { border-color: #f3f3f1; }
.dark :focus-visible { outline-color: var(--red-on-dark); }

/* type */
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.35rem; }
.label { font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; font-weight: 400; }
.muted { color: var(--muted); }
p { margin: 0; }
.lede { max-width: 44ch; color: var(--muted); font-size: 1.1rem; }
.accent { color: var(--red); }
.dark .accent { color: var(--red-on-dark); }

/* buttons: one primary style (crimson), one ghost */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: 0 1.75rem; border: 1px solid var(--red);
  background: var(--red); color: #fff; text-decoration: none; white-space: nowrap;
  font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; font-size: .95rem;
  cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); border-color: #c9c9c5; }
.btn.ghost:hover { border-color: var(--ink); }
.btn.block { width: 100%; }
.link { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--red); }
.link:hover { color: var(--red); }
.dark .link:hover { color: var(--red-on-dark); }

/* announcement + header */
.announce { background: var(--ink); color: #f3f3f1; text-align: center; font-size: .85rem; padding: .45rem var(--gutter); font-weight: 500; letter-spacing: .02em; }
.announce:empty { display: none; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251,251,250,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 68px; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 1.6rem; }
.nav a { text-decoration: none; font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; color: var(--muted); padding: .3rem 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.bag-link { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
.bag-count { min-width: 22px; height: 22px; display: inline-grid; place-items: center; background: var(--red); color: #fff; font-family: var(--body); font-weight: 700; font-size: .75rem; padding: 0 5px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); width: 44px; height: 44px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4px auto; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 1rem var(--gutter); border-top: 1px solid var(--line); border-bottom: 0; font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); }
}

/* photos: cover-fit with an owner-set focal point */
.photo { position: relative; overflow: hidden; background: var(--paper-2); }
.dark .photo { background: var(--ink-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* hero: black copy panel + photo */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: min(86dvh, 820px); }
.hero-copy { display: grid; align-content: end; gap: 1.4rem; padding: clamp(2rem, 5vw, 4.5rem) var(--gutter) clamp(2.5rem, 6vw, 5rem); padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.hero-copy h1 { max-width: 11ch; }
.hero-copy .bar { width: 56px; height: 4px; background: var(--red-on-dark); }
.hero .photo { min-height: 420px; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero .photo { order: -1; aspect-ratio: 4 / 5; min-height: 0; max-height: 78dvh; }
  .hero-copy { padding: 2rem var(--gutter) 2.6rem; }
}

/* sections */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }

/* product tiles sit on concrete grey, like the catalogue */
.tile {
  position: relative; aspect-ratio: 1; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 35%, var(--tile) 0%, var(--tile-2) 100%);
}
.tile::before { content: ""; position: absolute; inset: 0; opacity: .22; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E"); }
.tile img { position: relative; width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .6s var(--ease), opacity .35s; }
.tile .alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .tile img.main { transform: scale(1.04); }
.card:hover .tile .alt { opacity: 1; }

/* category tiles */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat { text-decoration: none; display: grid; gap: .8rem; }
.cat h3 { font-size: 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.cat h3::after { content: ""; width: 0; height: 3px; background: var(--red); transition: width .35s var(--ease); }
.cat:hover h3::after { width: 32px; }
.cat:hover .tile img { transform: scale(1.05) rotate(-1deg); }
@media (max-width: 900px) { .cats { grid-template-columns: repeat(2, 1fr); } }

/* product grid + cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 14px; }
@media (max-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 10px; } }
.card { text-decoration: none; display: grid; gap: .7rem; }
.card-meta { display: grid; gap: .15rem; }
.card-name { font-size: 1.02rem; font-weight: 500; line-height: 1.25; }
.card:hover .card-name { color: var(--red); }
.card-price { color: var(--muted); font-size: .95rem; }
.card-ribbon { font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--red); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 23%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 720px) { .rail { grid-auto-columns: 62%; } }

/* skeletons */
.sk { background: linear-gradient(90deg, var(--paper-2) 0%, #e7e7e4 50%, var(--paper-2) 100%); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
.dark .sk { background: linear-gradient(90deg, var(--ink-2) 0%, #26262a 50%, var(--ink-2) 100%); background-size: 200% 100%; }
.sk-line { height: .9rem; margin-top: .5rem; width: 70%; }
@keyframes sk { to { background-position: -200% 0; } }

/* story: black band, photo bleeds to the left edge */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.story .photo { min-height: 560px; }
.story-copy { display: grid; gap: 1.4rem; align-content: center; justify-items: start; padding: clamp(3rem, 7vw, 6rem) var(--gutter); max-width: 620px; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story .photo { min-height: 0; aspect-ratio: 4 / 5; } }

/* custom: copy with a tall photo and a crimson block behind it */
.custom { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.custom-copy { display: grid; gap: 1.4rem; justify-items: start; }
.custom-media { position: relative; }
.custom-media::before { content: ""; position: absolute; inset: 8% -18px -18px 12%; background: var(--red); }
.custom-media .photo { position: relative; aspect-ratio: 4 / 5; }
.steps-inline { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--muted); font-size: .95rem; }
.steps-inline span { display: inline-flex; gap: .5rem; align-items: baseline; }
.steps-inline b { font-family: var(--label); font-weight: 400; color: var(--red); }
@media (max-width: 860px) { .custom { grid-template-columns: 1fr; } .custom-media { margin-right: 18px; } }

/* lookbook: three staggered columns */
.looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.look { margin: 0; display: grid; gap: .6rem; }
.look .photo { aspect-ratio: 3 / 4; }
.look:nth-child(3n+2) { margin-top: 4.5rem; }
.look:nth-child(3n) { margin-top: 2rem; }
.look figcaption { font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.look .photo img { transition: transform .8s var(--ease); }
.look:hover .photo img { transform: scale(1.03); }
@media (max-width: 720px) { .looks { grid-template-columns: 1fr 1fr; gap: 10px; } .look:nth-child(n) { margin-top: 0; } .look:nth-child(even) { margin-top: 2.5rem; } }

/* how ordering works: black band */
.how-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.how-wrap .photo { aspect-ratio: 1; }
.how { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.6rem; counter-reset: how; }
.how li { display: grid; grid-template-columns: 3rem 1fr; gap: .2rem 1rem; counter-increment: how; }
.how li::before { content: counter(how); grid-row: span 2; font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--red-on-dark); }
.how h3 { font-size: 1.45rem; }
@media (max-width: 860px) { .how-wrap { grid-template-columns: 1fr; } }

/* shop */
.shop-banner { position: relative; height: clamp(240px, 30vw, 380px); overflow: hidden; display: flex; align-items: flex-end; background: var(--ink); color: #f3f3f1; }
.shop-banner .photo { position: absolute; inset: 0; background: var(--ink); }
.shop-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,18,20,.88) 0%, rgba(18,18,20,.55) 45%, rgba(18,18,20,.1) 85%); }
.shop-banner .wrap { position: relative; z-index: 1; padding-bottom: 2rem; width: 100%; }
.shop-banner .lede { color: #d6d6d3; }
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; }
.tab { text-decoration: none; border: 1px solid var(--line); padding: .55rem 1rem; font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--muted); background: #fff; }
.tab:hover { color: var(--ink); border-color: var(--ink); }
.tab[aria-current="page"] { color: #fff; background: var(--ink); border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--red); }
.select { background: #fff; border: 1px solid #c9c9c5; padding: .6rem .9rem; min-height: 44px; }

/* product page */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 5rem); padding: 2.5rem 0 5rem; align-items: start; }
.gallery { display: grid; gap: 10px; position: sticky; top: 88px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; }
.thumbs button { flex: 0 0 76px; padding: 0; border: 2px solid transparent; cursor: pointer; background: none; }
.thumbs button[aria-pressed="true"] { border-color: var(--red); }
.thumbs .tile img { padding: 8%; }
.info { display: grid; gap: 1.5rem; }
.crumbs { font-size: .9rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.price { font-size: 1.35rem; }
.price s { color: var(--muted); margin-left: .5rem; font-size: 1rem; }
.opt { display: grid; gap: .7rem; border: 0; padding: 0; margin: 0; }
.opt legend { margin-bottom: .7rem; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { border: 1px solid #c9c9c5; background: #fff; padding: .6rem 1rem; min-height: 44px; cursor: pointer; transition: border-color .2s; }
.choice:hover { border-color: var(--ink); }
.choice[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; box-shadow: inset 0 -3px 0 var(--red); }
.choice[disabled] { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.field { display: grid; gap: .45rem; }
.field label, .field .flabel { font-weight: 500; }
.input, textarea.input, select.input { width: 100%; background: #fff; border: 1px solid #c4c4c0; padding: .8rem .95rem; min-height: 48px; }
.input:focus { border-color: var(--ink); outline: 2px solid var(--red); outline-offset: 0; }
.input::placeholder { color: #77777b; }
.input[aria-invalid="true"] { border-color: var(--danger); }
.help { font-size: .88rem; color: var(--muted); }
.err { color: var(--danger); font-size: .9rem; }
.err:empty { display: none; }
.dark .err { color: #ff8a9c; }
.qty { display: inline-flex; border: 1px solid #c4c4c0; background: #fff; }
.qty button { width: 46px; height: 48px; background: none; border: 0; cursor: pointer; font-size: 1.2rem; }
.qty input { width: 48px; text-align: center; background: none; border: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy { display: flex; gap: .75rem; flex-wrap: wrap; align-items: stretch; }
.buy .btn { flex: 1; }
.prose { color: var(--muted); display: grid; gap: .8rem; }
details.acc { border-top: 1px solid var(--line); padding: 1rem 0; }
details.acc:last-of-type { border-bottom: 1px solid var(--line); }
details.acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; color: var(--red); }
details.acc[open] summary::after { content: "-"; }
details.acc > div { padding-top: .8rem; color: var(--muted); }
.note { border-left: 3px solid var(--red); padding: .9rem 1.1rem; background: var(--paper-2); font-size: .95rem; color: var(--muted); }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; padding-top: 1rem; } .gallery { position: static; } }

/* bag */
.cart { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding: 2.5rem 0 5rem; align-items: start; }
.lines { display: grid; }
.line { display: grid; grid-template-columns: 110px 1fr auto; gap: 1.2rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.line:first-child { border-top: 1px solid var(--line); }
.line .tile { width: 110px; }
.line-name { font-weight: 500; text-decoration: none; }
.line-desc { color: var(--muted); font-size: .9rem; }
.line-actions { display: flex; gap: 1rem; align-items: center; margin-top: .8rem; }
.remove { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 0; }
.remove:hover { color: var(--red); }
.summary { position: sticky; top: 88px; display: grid; gap: 1.1rem; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--ink); padding: 1.6rem; }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; }
.sum-row.total { font-size: 1.25rem; border-top: 1px solid var(--line); padding-top: 1rem; font-weight: 500; }
.empty { padding: 5rem 0; display: grid; gap: 1.2rem; justify-items: start; }
@media (max-width: 860px) { .cart { grid-template-columns: 1fr; } .summary { position: static; } .line { grid-template-columns: 84px 1fr; } .line .tile { width: 84px; } .line .line-total { grid-column: 2; } }

/* checkout */
.co { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); padding: 2.5rem 0 5rem; align-items: start; }
.co form { display: grid; gap: 2.6rem; }
.co-block { display: grid; gap: 1.1rem; }
.co-block > h2 { font-size: 1.7rem; display: flex; align-items: baseline; gap: .8rem; }
.co-block > h2 .label { color: var(--red); font-size: .9rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }
.bank { display: grid; gap: 1.1rem; padding: 1.6rem; }
.bank dl { margin: 0; display: grid; gap: 1rem; }
.bank dt { color: var(--muted); font-size: .85rem; }
.bank dd { margin: .15rem 0 0; font-size: 1.15rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.bank .amount { font-family: var(--display); font-size: 1.9rem; }
.copy { background: none; border: 1px solid #4a4a50; color: inherit; padding: .35rem .75rem; font-size: .8rem; cursor: pointer; min-height: 34px; }
.copy:hover { border-color: #f3f3f1; }
.file-drop { position: relative; border: 1.5px dashed #a9a9a5; padding: 1.6rem; display: grid; gap: .5rem; justify-items: start; background: #fff; transition: border-color .2s, background .2s; }
.file-drop:hover, .file-drop.drag { border-color: var(--red); background: #fff7f8; }
.file-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop .pick { font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.file-chosen { display: flex; gap: .9rem; align-items: center; }
.file-chosen img { width: 64px; height: 64px; object-fit: cover; border: 1px solid var(--line); }
.co-items { display: grid; gap: .9rem; }
.co-item { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; align-items: center; font-size: .95rem; }
.co-item .tile { width: 64px; }
.co-item .tile img { padding: 8%; }
.done { display: grid; gap: 1.4rem; justify-items: start; padding: 3rem 0 6rem; max-width: 720px; }
.done .ref { font-family: var(--label); letter-spacing: .08em; font-size: 1.4rem; color: var(--red); }
@media (max-width: 860px) { .co { grid-template-columns: 1fr; } .co aside { order: -1; } }

/* legacy slip page */
.ty { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); padding: 3rem 0 6rem; align-items: start; }
.slip { display: grid; gap: 1.25rem; }
.success { border-left: 4px solid var(--red); padding: 1.6rem 2rem; display: grid; gap: 1rem; background: #fff; }
@media (max-width: 860px) { .ty { grid-template-columns: 1fr; } }

/* footer */
.site-footer { padding: 4rem 0 2.5rem; margin-top: 0; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.foot nav { display: grid; gap: .5rem; align-content: start; }
.foot nav a { text-decoration: none; color: var(--muted); }
.foot nav a:hover { color: #fff; }
.legal { margin-top: 3rem; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: span 2; } }

/* reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .hero .photo img { animation: heroIn 1.4s var(--ease) both; }
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  @keyframes heroIn { from { transform: scale(1.06); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }


/* ===== Hero (the only animated section) ===== */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; }
.reveal { opacity: 1 !important; transform: none !important; }
.hz { position: relative; height: 100dvh; min-height: 560px; max-height: 1100px; overflow: hidden; background: var(--paper); }
.hz-media { position: absolute; inset: 0; background: var(--ink); clip-path: inset(26% 34% 22% 34%); }
.hz-media img { width: 100%; height: 100%; object-fit: cover; }
.hz-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(10,10,12,.7) 0%, rgba(10,10,12,.15) 45%, rgba(10,10,12,0) 70%); opacity: 0; }
.hz-title { position: absolute; inset: 0; z-index: 2; display: grid; align-content: center; justify-items: center; pointer-events: none;
  font-size: clamp(2.6rem, 8.5vw, 8.5rem); line-height: .92; letter-spacing: -.03em; color: #fff; mix-blend-mode: difference; text-align: center; }
.hz-l1, .hz-l2 { display: block; white-space: nowrap; }
.hz-l1 { transform: translateX(-12%); }
.hz-l2 { transform: translateX(10%); }
.hz-end { position: absolute; left: 0; right: 0; bottom: clamp(1.5rem, 6vh, 4rem); z-index: 3; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; color: #fff; }
.hz-end .lede { color: #f1f1ee; font-size: clamp(1.1rem, 1.6vw, 1.4rem); max-width: 30ch; }
.js-motion .hz-end { visibility: hidden; }
html:not(.js-motion) .hz-media { clip-path: none; }
html:not(.js-motion) .hz-shade { opacity: 1; }
html:not(.js-motion) .hz-title { mix-blend-mode: normal; align-content: start; padding-top: 16vh; }
html:not(.js-motion) .hz-l1, html:not(.js-motion) .hz-l2 { transform: none; }
@media (max-width: 759px) {
  .hz-media { clip-path: inset(30% 14% 26% 14%); }
  .hz-title { font-size: clamp(2.4rem, 11vw, 4.2rem); }
  .hz-l1, .hz-l2 { transform: none; }
  .hz-end .btn { width: 100%; }
}

/* promises strip under the hero */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); }
.promise { padding: 1.4rem 1.2rem; border-left: 1px solid var(--line-dark); display: grid; gap: .25rem; }
.promise:first-child { border-left: 0; padding-left: 0; }
.promise b { font-family: var(--label); font-weight: 400; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; color: #f3f3f1; }
.promise span { color: var(--muted-dark); font-size: .92rem; }
@media (max-width: 900px) { .promises { grid-template-columns: 1fr 1fr; } .promise { padding: 1.1rem .9rem; border-left: 0; border-top: 1px solid var(--line-dark); } .promise:nth-child(-n+2) { border-top: 0; } .promise:nth-child(odd) { padding-left: 0; } }

/* categories: photo bento */
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: repeat(2, clamp(220px, 26vw, 360px)); gap: 12px; }
.bento-tile { position: relative; overflow: hidden; text-decoration: none; color: #fff; background: var(--ink-2); display: block; }
.bento-tile:first-child { grid-row: span 2; }
.bento-tile:nth-child(4) { grid-column: span 2; }
.bento-tile .tile { position: absolute; inset: 0; aspect-ratio: auto; }
.bento-tile .tile img { padding: 8%; transition: transform .6s var(--ease); }
.bento-tile:hover .tile img { transform: scale(1.05); }
.bento-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,14,16,.78) 0%, rgba(14,14,16,0) 46%); }
.bento-meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(1rem, 2vw, 1.6rem); display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.bento-meta h3 { font-size: clamp(1.5rem, 2.6vw, 2.4rem); }
.bento-meta p { color: #e3e3e0; font-size: .92rem; margin-top: .25rem; }
.bento-go { font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; background: var(--red); color: #fff; padding: .55rem .9rem; white-space: nowrap; transition: background .2s; }
.bento-tile:hover .bento-go { background: var(--red-deep); }
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 52vw; gap: 8px; }
  .bento-tile:first-child { grid-row: auto; grid-column: span 2; }
  .bento-tile:nth-child(4) { grid-column: span 2; }
  .bento-go { display: none; }
}

/* how ordering works */
.how3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 2.5rem; border-top: 1px solid var(--line-dark); }
.how3 > div { padding: 1.8rem 1.8rem 0 0; display: grid; gap: .6rem; align-content: start; }
.how3 > div + div { padding-left: 1.8rem; border-left: 1px solid var(--line-dark); }
.how3 .n { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--red-on-dark); }
.how3 h3 { font-size: 1.5rem; }
.policy { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.policy > div { background: var(--ink-2); border: 1px solid var(--line-dark); padding: 1.3rem 1.4rem; display: grid; gap: .35rem; }
.policy b { font-family: var(--label); font-weight: 400; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 760px) { .how3 { grid-template-columns: 1fr; } .how3 > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); } .how3 > div { padding: 1.4rem 0; } .policy { grid-template-columns: 1fr; } }

/* custom + lookbook (still) */
.custom-block { position: absolute; inset: 10% -22px -22px 16%; background: var(--red); }
.custom-media .photo { position: relative; aspect-ratio: 4 / 5; }
.custom-media::before { content: none; }
.looks6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.looks6 .look { margin: 0; display: grid; gap: .6rem; }
.looks6 .photo { aspect-ratio: 3 / 4; }
.looks6 figcaption { font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
@media (max-width: 720px) { .looks6 { grid-template-columns: 1fr 1fr; gap: 8px; } }

/* product page: goes well together */
.pairs { padding: 1rem 0 5rem; border-top: 1px solid var(--line); }
.pairs h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 2.5rem 0 .4rem; }
.pairs > .help { margin-bottom: 1.6rem; }
.pair { display: grid; gap: .6rem; align-content: start; }
.pair .btn { min-height: 44px; font-size: .85rem; padding: 0 1rem; }
.pair .btn.ghost { background: #fff; }

/* slide-out bag */
.drawer-scrim { position: fixed; inset: 0; background: rgba(12,12,14,.45); z-index: 70; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--paper); z-index: 71; display: grid; grid-template-rows: auto 1fr; box-shadow: -18px 0 50px rgba(18,18,20,.18); border-left: 4px solid var(--red); }
.drawer[hidden], .drawer-scrim[hidden] { display: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.4rem; }
.drawer-close { background: none; border: 1px solid #c9c9c5; min-height: 40px; padding: 0 .9rem; cursor: pointer; font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.drawer-close:hover { border-color: var(--ink); }
.drawer-body { overflow: auto; display: grid; grid-template-rows: 1fr auto; }
.drawer-lines { display: grid; gap: 1rem; padding: 1.2rem 1.4rem; align-content: start; }
.drawer-foot { display: grid; gap: .8rem; padding: 1.2rem 1.4rem 1.6rem; border-top: 1px solid var(--line); background: #fff; }
.drawer-keep { background: none; border: 0; cursor: pointer; justify-self: center; padding: .4rem; }
html.drawer-open { overflow: hidden; }

/* phones: keep add-to-bag in reach on product pages */
@media (max-width: 860px) {
  .buy-bar { position: sticky; bottom: 0; z-index: 30; background: var(--paper); padding: .8rem 0; border-top: 1px solid var(--line); }
}

/* product tiles on white: the product photos are transparent cut-outs */
.tile:not(.sk) { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.tile::before { content: none; }
.tile img { padding: 7%; }
.bento-tile .tile { box-shadow: none; }
.bento-tile .tile img { padding: 10% 10% 22%; }
.bento-tile::after { background: linear-gradient(0deg, rgba(14,14,16,.82) 0%, rgba(14,14,16,.35) 22%, rgba(14,14,16,0) 38%); }
.bento-tile { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.bento-tile::after { content: none; }
.bento-tile .tile { background: transparent; }
.bento-tile .tile img { padding: 8% 8% 24%; }
.bento-meta p { color: var(--muted); }
.bento-tile:hover h3 { color: var(--red); }
.bento-tile:nth-child(4) .tile img { padding: 5% 8% 17%; }

/* ===== calmer headings ===== */
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }

/* ===== Make it yours: photo + live letter-bead preview ===== */
.mk-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.mk-photo { min-height: 360px; }
.mk-photo img { position: absolute; inset: 0; }
.mk-body { display: grid; gap: 1rem; align-content: center; padding: clamp(2rem, 3.5vw, 3rem) var(--gutter); max-width: 640px; }
.mk-body h2 { margin: 0; }
.mk-body > .muted { margin: 0; }
.mk-body > .muted { max-width: 46ch; }
.mk-try { display: grid; gap: .55rem; background: var(--ink-2); border: 1px solid var(--line-dark); padding: 1rem 1.1rem; }
.mk-try .help { margin: 0; font-size: .85rem; }
.mk-input { min-height: 42px; padding-block: .55rem; }
.mk-try .label { color: var(--red-on-dark); }
.beads { position: relative; display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 52px; padding: 0; overflow: hidden; }
.beads::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #6d6d72; }
.bead { position: relative; flex: none; width: clamp(30px, 3.4vw, 40px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff 0%, #ececea 55%, #c9c9c6 100%); color: var(--ink); font-family: var(--label); font-size: clamp(.95rem, 1.3vw, 1.2rem); letter-spacing: 0; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.bead.pearl { width: clamp(18px, 2vw, 24px); background: radial-gradient(circle at 35% 30%, #fff 0%, #f1ece4 50%, #cfc6b8 100%); }
.bead.heart { width: clamp(22px, 2.4vw, 28px); border-radius: 0; background: var(--red-on-dark); clip-path: path("M12 21s-7.5-4.6-10-9.2C.3 8.6 2 4.5 5.8 4.1 8.2 3.9 10.2 5.4 12 7.4c1.8-2 3.8-3.5 6.2-3.3 3.8.4 5.5 4.5 3.8 7.7-2.5 4.6-10 9.2-10 9.2z"); box-shadow: none; }
.mk-input { background: #fff; color: var(--ink); font-family: var(--label); letter-spacing: .18em; text-transform: uppercase; font-size: 1.1rem; }
.mk-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.mk-pick { display: grid; grid-template-columns: 48px 1fr auto; gap: .75rem; align-items: center; text-decoration: none; border: 1px solid var(--line-dark); padding: .55rem .8rem .55rem .55rem; transition: border-color .2s, background .2s; }
.mk-pick:hover { border-color: var(--red-on-dark); background: var(--ink-2); }
.mk-pick .tile { width: 48px; display: block; }
.mk-pick b { display: block; font-weight: 500; font-size: .95rem; line-height: 1.25; }
.mk-pick .muted { font-size: .85rem; }
.mk-go { font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; background: var(--red); color: #fff; padding: .45rem .7rem; }
@media (max-width: 860px) { .mk-grid { grid-template-columns: 1fr; } .mk-photo { min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 420px) { .beads { gap: 2px; } .bead { width: 27px; font-size: .9rem; } .bead.pearl { width: 14px; } .bead.heart { width: 20px; } }

/* ===== Worn our way: endless, gapless strip ===== */
.looks-band { padding: clamp(3.5rem, 7vw, 5.5rem) 0; overflow: hidden; }
.lb-viewport { overflow: hidden; }
.lb-track { --lb-h: clamp(220px, 24vw, 340px); display: flex; width: max-content; will-change: transform; transform: translate3d(0, 0, 0); }
.lb-item { flex: none; width: calc(var(--lb-h) * 0.75); height: var(--lb-h); overflow: hidden; background: var(--paper-2); }
.lb-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== How ordering works: its own light band ===== */
.how-sec { background: var(--paper-2); padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.how-sec .row-head { margin-bottom: 1.6rem; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.how-steps li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; background: #fff; border: 1px solid var(--line); padding: 1.2rem 1.3rem; }
.how-n { width: 30px; height: 30px; display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--label); font-size: .95rem; }
.how-steps h3 { font-family: var(--body); font-weight: 700; font-size: 1.02rem; letter-spacing: 0; margin-bottom: .25rem; }
.how-steps p { font-size: .93rem; }
.how-policy { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 1.3rem; font-size: .93rem; color: var(--muted); }
.how-policy b { font-family: var(--label); font-weight: 400; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-right: .4rem; }
@media (max-width: 760px) { .how-steps { grid-template-columns: 1fr; } }

/* ===== Product page: letters per bracelet ===== */
.letters-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.letters-in { font-family: var(--label); letter-spacing: .14em; text-transform: uppercase; }
.letters-in::placeholder { font-family: var(--body); letter-spacing: 0; text-transform: none; }
.letters-in[hidden] { display: none; }
.field.letters { margin-bottom: .5rem; }

/* ===== Product page: compact layout ===== */
.pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); padding: 1.5rem 0 4rem; }
.gallery { top: 96px; }
.gallery #main-img { width: min(100%, calc(100vh - 210px), 560px); min-width: 280px; justify-self: center; }
.gallery:has(.thumbs) { grid-template-columns: 64px auto; justify-content: center; align-items: start; }
.gallery:has(.thumbs) .thumbs { order: -1; flex-direction: column; overflow: visible; }
.gallery:has(.thumbs) .thumbs button { flex: none; width: 64px; }
.info { gap: 1.1rem; align-content: start; }
.info > :empty { display: none; }
.pdp-title { font-size: clamp(1.9rem, 2.8vw, 2.6rem); }
.pairs { border: 1px solid var(--line); background: #fff; padding: .9rem 1rem; display: grid; gap: .7rem; }
.pairs h2 { font-size: .85rem; margin: 0; }
.pair-list { display: grid; gap: .6rem; }
.pair-row { display: grid; grid-template-columns: 56px 1fr auto; gap: .8rem; align-items: center; }
.pair-row .tile { width: 56px; display: block; }
.pair-name { text-decoration: none; display: grid; line-height: 1.25; }
.pair-name b { font-weight: 500; font-size: .95rem; }
.pair-name .muted { font-size: .85rem; }
.pair-name:hover b { color: var(--red); }
.pair-add { font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; border: 1px solid var(--ink); background: #fff; color: var(--ink); padding: .5rem .8rem; min-width: 72px; text-align: center; text-decoration: none; cursor: pointer; }
.pair-add:hover { background: var(--ink); color: #fff; }
.pair-add:disabled { opacity: .6; cursor: default; }
@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; padding-top: .75rem; }
  .gallery #main-img { width: min(100%, 62vh); min-width: 0; }
  .gallery:has(.thumbs) { grid-template-columns: 1fr; }
  .gallery:has(.thumbs) .thumbs { order: 0; flex-direction: row; overflow-x: auto; justify-content: center; }
}
.info .prose { font-size: .98rem; }

/* ===== Footer: four columns with headings ===== */
.foot { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.foot-h { font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: #f3f3f1; margin-bottom: .3rem; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } }

/* ===== Shared page pieces ===== */
.kicker { color: var(--red); }
.dark .kicker { color: var(--red-on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.narrow { max-width: 820px; }
.section-tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.page-hero { padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.page-hero-copy { display: grid; gap: 1.1rem; align-content: center; }
.page-hero-copy h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.page-hero-photo { aspect-ratio: 4 / 5; max-height: 72vh; width: 100%; }
.page-hero-photo img, .photo-row .photo img, .split-photo img { position: absolute; inset: 0; }
.prose p + p { margin-top: .9rem; }
.ab-text { color: var(--muted); font-size: 1.05rem; max-width: 52ch; }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.photo-row .photo { aspect-ratio: 1; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.5rem); }
.values > div { display: grid; gap: .5rem; align-content: start; border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.values h3 { font-size: 1.5rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.split-photo { aspect-ratio: 1; background: var(--paper-2); }
.split-copy { display: grid; gap: 1rem; justify-items: start; }
.split-copy .prose { color: var(--muted); max-width: 48ch; }
.cta-band { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
@media (max-width: 860px) {
  .page-hero-grid, .split { grid-template-columns: 1fr; }
  .page-hero-photo { aspect-ratio: 4 / 3; max-height: none; order: -1; }
  .values { grid-template-columns: 1fr; }
  .photo-row { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Make It Yours page ===== */
.mi-try { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.mi-try-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.mi-try-head { display: grid; gap: .8rem; }
.mi-builder { gap: .9rem; }
.mi-row { display: grid; gap: .5rem; }
.mi-set { display: flex; gap: .5rem; }
.dark .choice { background: transparent; color: #f3f3f1; border-color: #4a4a50; }
.dark .choice:hover { border-color: #f3f3f1; }
.dark .choice[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; box-shadow: none; }
.mi-picks { display: grid; gap: .8rem; }
.mi-picks .mk-picks { grid-template-columns: 1fr; }
.steps4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.steps4 li { display: grid; gap: .6rem; align-content: start; background: #fff; border: 1px solid var(--line); padding: 1.2rem; }
.steps4 h3 { font-size: 1.25rem; }
.faq { margin-top: 1.4rem; }
@media (max-width: 1100px) { .mi-try-grid { grid-template-columns: 1fr 1fr; } .mi-try-head { grid-column: 1 / -1; } }
@media (max-width: 760px) { .mi-try-grid { grid-template-columns: 1fr; } .steps4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .steps4 { grid-template-columns: 1fr; } }

/* ===== Help, Privacy, Terms ===== */
.doc-head { padding: clamp(2rem, 4vw, 3rem) 0 1rem; }
.doc-head .wrap { display: grid; gap: 1rem; }
.doc-head h1, .doc h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.help-jump { margin-top: .4rem; }
.help-body { padding-bottom: 4.5rem; display: grid; gap: 2.5rem; }
.help-body section { scroll-margin-top: 100px; }
.help-body h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: .8rem; }
.contact-card { border: 1px solid var(--line); background: #fff; padding: 1.4rem; display: grid; gap: 1rem; }
.doc { padding: clamp(2rem, 4vw, 3rem) var(--gutter) 4.5rem; display: grid; gap: 1rem; }
.doc h2 { font-size: 1.45rem; margin-top: 1.4rem; }
.doc ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; }
.doc p, .doc li { max-width: 68ch; }

/* ===== Not found ===== */
.nf { padding: clamp(2.5rem, 6vw, 4.5rem) 0 4.5rem; display: grid; gap: 3rem; }
.nf-copy { display: grid; gap: 1.1rem; justify-items: start; max-width: 640px; }
.nf-copy h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.nf-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.nf-cats { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; }
.nf-picks { display: grid; gap: 1.2rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.nf-picks h2 { font-size: .95rem; }
.mi-row[hidden] { display: none; }
.nf-kicker { color: var(--red); }
.nf-copy h1, .page-hero-copy h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.help-body { padding-top: 1.5rem; }

/* ===== Header: menu links truly centred ===== */
@media (min-width: 901px) {
  .site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-header .logo { justify-self: start; }
  .header-actions { justify-self: end; }
}

/* ===== Footer: developer's mark ===== */
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1.5rem; }
.dev-mark { color: var(--muted); text-decoration: none; letter-spacing: .02em; }
.dev-mark b { font-weight: 500; color: #f3f3f1; transition: color .2s; }
.dev-mark:hover b { color: var(--red-on-dark); }

/* Bead colour swatches (custom bracelets) */
.swatch-set { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; min-width: 0; }
.swatch-set legend { padding: 0; margin-bottom: .5rem; }
.swatch-name { font-weight: 600; color: var(--ink); margin-left: .25rem; }
.dark .swatch-name { color: #f3f3f1; }
.swatches { display: flex; flex-wrap: wrap; gap: .45rem; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.75) 0%, rgba(255,255,255,0) 45%), var(--sw); cursor: pointer; padding: 0; box-shadow: 0 1px 3px rgba(0,0,0,.18); transition: transform .15s; }
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 3px; }
.dark .swatch[aria-pressed="true"] { outline-color: #fff; }
.swatch:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.colour-pair { display: grid; gap: 1rem; margin-bottom: .6rem; }
.bead.tint { background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.85) 0%, rgba(255,255,255,0) 40%), var(--bc); }
.mi-notes { display: grid; gap: .4rem; }
.mi-notes textarea { min-height: 64px; resize: vertical; }
.dark .mi-notes .input { background: #fff; color: var(--ink); }
.time-note { margin-top: -.3rem; }
