/* Liquid glass theme shared by the catalogue and the admin panel. */
:root {
  /* Palette taken from the H.G. & Co. logo: antique gold on warm ivory, with espresso for contrast. */
  color-scheme: light;
  --bg: #f3f0e8;
  --ink: #2a221a;
  --ink-soft: #6d6152;
  --gold: #b3925f;
  --gold-deep: #8a6a3b;
  --gold-soft: #dccaa4;
  --espresso: #2a221a;
  --ivory: #f6f1e4;
  --glass: linear-gradient(135deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .28));
  --glass-strong: linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .6));
  --edge: rgba(255, 255, 255, .85);
  --shade: rgba(122, 96, 50, .15);
  --field: rgba(255, 255, 255, .55);
  --orb1: #e4d0a3; --orb2: #efe3c8; --orb3: #fffdf6; --orb4: #cdb382;
  --ok: #3c7a52; --warn: #96691a; --bad: #a8402f;
  --ink-fill: linear-gradient(135deg, #3d3226, #201912);
  --band: var(--ink-fill); --band-ink: #f6f1e4; --band-soft: #e6dcc8; --band-eyebrow: #cdb382;
  --art: radial-gradient(circle at 50% 38%, #fffdf6, #eadfc6 70%, #dccaa4);
  /* The logo rests in its own solid gold; the sheen is a narrow highlight that passes across it. */
  --logo: #b3925f; --sheen: #f3e6c4; --glow: rgba(205, 179, 130, .5);
  --gold-fill: linear-gradient(110deg, var(--logo) 0 40%, var(--sheen) 50%, var(--logo) 60% 100%);
  --display: Didot, 'Bodoni 72', 'Bodoni MT', 'Playfair Display', 'Cormorant Garamond', 'Times New Roman', serif;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
}

/* Colour schemes. Ivory is the logo's own. The others keep the logo gold and change what sits around it.
   Preview any of them by adding ?theme=name to the address; choose the saved one in the admin panel (Website). */
[data-theme="emerald"] { --espresso: #0f3a30; --ink-fill: linear-gradient(135deg, #17544a, #0a2c25); --orb2: #dfe8d8; }
[data-theme="maroon"] { --espresso: #4a1220; --ink-fill: linear-gradient(135deg, #71202f, #3c0d18); --orb2: #f0dcd5; }
[data-theme="navy"] { --espresso: #14233f; --ink-fill: linear-gradient(135deg, #20355c, #0e1930); --orb2: #dbe1ee; }
[data-theme="noir"] {
  color-scheme: dark;
  --bg: #100d09; --ink: #f4ecdc; --ink-soft: #b5a78e; --gold-deep: #d8bd8a; --gold-soft: #6b5a38; --espresso: #d8bd8a;
  --glass: linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  --glass-strong: linear-gradient(135deg, rgba(48, 39, 27, .9), rgba(26, 21, 14, .84));
  --edge: rgba(216, 189, 138, .22); --shade: rgba(0, 0, 0, .5); --field: rgba(255, 255, 255, .06);
  --orb1: #5d4718; --orb2: #2f2412; --orb3: #1d160b; --orb4: #7a5f25;
  --ok: #7fd3a2; --warn: #efc06a; --bad: #ff9486;
  --ink-fill: linear-gradient(135deg, #dcc188, #b3925f 60%, #96763f); --ivory: #1a140d;
  --band: linear-gradient(135deg, #241c12, #15100a); --band-ink: #f4ecdc; --band-soft: #cfc3ab; --band-eyebrow: #d8bd8a;
  --art: radial-gradient(circle at 50% 38%, #3a2e1b, #1f180e 70%, #15100a);
  --logo: #d9bc82; --sheen: #fff6dc; --glow: rgba(216, 189, 138, .1);
}
/* On black the logo sits on a plain dark disc, so nothing brighter than the logo shows through behind it. */
[data-theme="noir"] .crest { background: radial-gradient(circle at 50% 36%, #2b2216, #130f0a 72%); -webkit-backdrop-filter: none; backdrop-filter: none; }
[data-theme="noir"] .crest::before { opacity: .4; }
[data-theme="noir"] .btn.gold { box-shadow: 0 8px 22px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .4); }
[data-theme="noir"] .menu-btn i { background: var(--ink); }
[data-theme="noir"] dialog::backdrop { background: rgba(0, 0, 0, .6); }

/* The hidden field on enquiry forms that only bots fill in, and the privacy note under the button. */
.trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.privacy { margin: 0; font-size: 12px; text-align: center; color: var(--ink-soft); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .005em; margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

/* Drifting light behind the glass */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.backdrop i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .8; animation: drift 26s ease-in-out infinite alternate; }
.backdrop i:nth-child(1) { width: 46vmax; height: 46vmax; left: -12vmax; top: -14vmax; background: var(--orb1); }
.backdrop i:nth-child(2) { width: 38vmax; height: 38vmax; right: -10vmax; top: 12vh; background: var(--orb2); animation-delay: -8s; }
.backdrop i:nth-child(3) { width: 50vmax; height: 50vmax; left: 22vw; bottom: -26vmax; background: var(--orb3); animation-delay: -15s; }
.backdrop i:nth-child(4) { width: 22vmax; height: 22vmax; right: 18vw; bottom: 6vh; background: var(--orb4); opacity: .45; animation-delay: -4s; }
@keyframes drift { to { transform: translate3d(5vmax, 4vmax, 0) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .backdrop i { animation: none; } * { transition: none !important; } }

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid var(--edge); border-radius: 28px;
  box-shadow: 0 14px 44px var(--shade), inset 0 1px 0 var(--edge), inset 0 -1px 0 rgba(255, 255, 255, .08);
}
.glass.strong { background: var(--glass-strong); -webkit-backdrop-filter: blur(40px) saturate(200%); backdrop-filter: blur(40px) saturate(200%); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 1px solid var(--edge);
  background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  font-weight: 600; white-space: nowrap; transition: transform .15s, box-shadow .2s, filter .2s;
  box-shadow: 0 4px 14px var(--shade), inset 0 1px 0 var(--edge);
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn.gold {
  color: var(--ivory); border-color: var(--gold); letter-spacing: .04em;
  background: var(--ink-fill);
  box-shadow: 0 8px 22px rgba(42, 34, 26, .28), inset 0 1px 0 rgba(236, 220, 182, .35);
}
.btn.small { padding: 7px 14px; font-size: 13px; }
.btn.danger { color: var(--bad); }
.btn.block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea, .input {
  width: 100%; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--edge);
  background: var(--field); color: var(--ink); font-size: 15px; font-weight: 400; outline: none;
  box-shadow: inset 0 1px 3px var(--shade);
}
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }
.error { color: var(--bad); font-size: 13px; font-weight: 600; min-height: 20px; margin: 0; }
.muted { color: var(--ink-soft); }
.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--edge); background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); font-weight: 600; font-size: 13px; }
.chip[aria-pressed="true"] { background: var(--ink-fill); color: var(--ivory); border-color: var(--gold); }

.badge { display: inline-block; white-space: nowrap; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--field); border: 1px solid var(--edge); }
.badge.ok { color: var(--ok); } .badge.warn { color: var(--warn); } .badge.bad { color: var(--bad); }

/* Top bar */
.topbar { position: sticky; top: 12px; z-index: 20; margin: 12px auto 0; width: min(1240px, calc(100% - 24px)); display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 22px; border-radius: 999px; }
.brand { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.brand { align-items: center; }
.brand b { font-family: var(--display); font-weight: 400; font-size: 19px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.brand span { font-size: 12px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .spacer { flex: 1; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ok); }
.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2s infinite; }
.live.off { color: var(--ink-soft); } .live.off::before { animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

main { width: min(1240px, calc(100% - 24px)); margin: 0 auto; padding: 22px 0 140px; }

/* Sign in */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: min(440px, 100%); padding: 34px 30px; display: grid; gap: 16px; }
.auth-card h1 { font-size: 30px; line-height: 1.1; letter-spacing: .12em; text-transform: uppercase; }
.auth-card { text-align: center; } .auth-card .field { text-align: left; }
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 999px; background: var(--field); border: 1px solid var(--edge); }
.tabs button { border: 0; background: none; padding: 9px; border-radius: 999px; font-weight: 600; color: var(--ink-soft); }
.tabs button[aria-selected="true"] { background: var(--glass-strong); color: var(--ink); box-shadow: 0 2px 10px var(--shade), inset 0 1px 0 var(--edge); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }

/* Catalogue */
.hero { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; margin: 18px 4px 14px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.05; }
.hero .search { width: min(320px, 100%); border-radius: 999px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.card { position: relative; padding: 10px; border-radius: 26px; display: grid; gap: 10px; transition: transform .25s, box-shadow .25s; animation: rise .45s both; }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 54px var(--shade), inset 0 1px 0 var(--edge); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.card .photo { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--field); border: 0; padding: 0; width: 100%; }
.card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .photo img { transform: scale(1.05); }
.card .tag { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--ivory); background: var(--ink-fill); border: 1px solid var(--gold); }
.card .count { position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.card .info { display: flex; align-items: center; gap: 8px; padding: 0 6px 6px; }
.card .info > div { flex: 1; min-width: 0; }
.card .dno { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--gold-deep); }
.card .name { font-family: var(--serif); font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .wt { font-size: 12.5px; color: var(--ink-soft); }
.pick { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--edge); background: var(--glass-strong); font-size: 20px; line-height: 1; display: grid; place-items: center; box-shadow: 0 4px 12px var(--shade), inset 0 1px 0 var(--edge); transition: transform .15s; }
.pick:active { transform: scale(.9); }
.pick[aria-pressed="true"] { background: var(--ink-fill); color: var(--ivory); border-color: var(--gold); }
.empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; }
.empty h2 { font-size: 24px; margin-bottom: 6px; }

/* Floating selection bar */
.dock { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 30; display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 24px; border-radius: 999px; max-width: calc(100% - 24px); animation: rise .35s both; }
.dock b { font-family: var(--serif); font-size: 17px; }
.dock span { font-size: 12.5px; color: var(--ink-soft); white-space: nowrap; }

/* Sheets and dialogs */
dialog { border: 0; padding: 0; color: var(--ink); background: none; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(20, 12, 0, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog[open] { animation: rise .3s both; }
.sheet { width: min(960px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto; padding: 22px; }
.sheet.narrow { width: min(520px, calc(100vw - 24px)); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sheet-head h2 { font-size: 26px; }
.close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--edge); background: var(--field); font-size: 18px; flex: none; }
.detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; }
.detail .big { aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--field); }
.detail .big img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { flex: none; width: 62px; height: 62px; padding: 0; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: var(--field); }
.thumbs button[aria-current="true"] { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.spec { padding: 12px 14px; border-radius: 18px; background: var(--field); border: 1px solid var(--edge); }
.spec small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.spec b { font-family: var(--serif); font-size: 20px; }
.lines { display: grid; gap: 10px; }
.line { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 20px; background: var(--field); border: 1px solid var(--edge); }
.line img, .line .ph { width: 58px; height: 58px; border-radius: 14px; object-fit: cover; flex: none; background: var(--field); }
.line > div { flex: 1; min-width: 0; }
.line .name { font-family: var(--serif); font-weight: 600; font-size: 16px; }
.setline { width: 100%; text-align: left; cursor: pointer; } .setline[aria-current="true"] { border-color: var(--gold); }
.totals { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 4px; }
.totals b { font-family: var(--serif); font-size: 22px; }
.order { padding: 16px; border-radius: 22px; background: var(--field); border: 1px solid var(--edge); margin-bottom: 14px; }
.order-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.strip { display: flex; gap: 8px; overflow-x: auto; }
.strip figure { margin: 0; flex: none; width: 78px; font-size: 11px; text-align: center; color: var(--ink-soft); }
.strip img { width: 78px; height: 78px; border-radius: 14px; object-fit: cover; margin-bottom: 4px; }

.toast { position: fixed; left: 50%; top: 84px; transform: translateX(-50%); z-index: 100; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; animation: rise .3s both; max-width: calc(100% - 24px); text-align: center; }

/* Admin */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 18px 0; }
.stat { padding: 18px 20px; border-radius: 24px; }
.stat small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.2; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.toolbar .input { width: min(280px, 100%); border-radius: 999px; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); padding: 10px 12px; }
.table td { padding: 10px 12px; border-top: 1px solid var(--edge); vertical-align: middle; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.table .actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.panel { padding: 8px; overflow-x: auto; }
.previews { display: flex; flex-wrap: wrap; gap: 8px; }
.previews figure { position: relative; margin: 0; }
.previews img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; }
.previews button { position: absolute; right: -6px; top: -6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--bad); color: #fff; font-size: 13px; line-height: 1; }
.form { display: grid; gap: 14px; }
.tq { display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: var(--field); border: 1px solid var(--edge); }
.bulkbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 14px; margin: 0 8px 8px; border-radius: 18px; background: var(--field); border: 1px solid var(--gold); }
.bulkbar .input { width: auto; padding: 7px 12px; border-radius: 999px; font-size: 13px; }
.implog { max-height: 150px; overflow: auto; font-size: 12.5px; display: grid; gap: 4px; }
.table input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--gold-deep); }
progress { accent-color: var(--gold-deep); height: 8px; }

/* Homepage: rate strip, collections carousel, signature pieces, category pills */
.ratestrip { margin-top: 34px !important; padding: 14px 24px; border-radius: 999px; display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline; justify-content: center; text-align: center; }
.ratestrip b { font-family: var(--display); font-weight: 400; font-size: 22px; margin-right: 4px; }
.carousel { position: relative; }
/* Slides are stacked on top of each other and dissolve from one to the next. */
.slides { display: grid; border-radius: 40px; outline: none; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 1.4s ease-in-out, visibility 0s 1.4s; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 5vw, 64px); align-items: center; padding: clamp(16px, 3vw, 34px); border-radius: 40px; box-shadow: none; }
.slide-art { aspect-ratio: 4 / 5; max-height: 520px; width: 100%; justify-self: center; border-radius: 999px 999px 28px 28px; overflow: hidden; display: grid; place-items: center; background: var(--art); border: 1px solid rgba(179, 146, 95, .35); }
.slide.on { opacity: 1; visibility: visible; transition: opacity 1.4s ease-in-out, visibility 0s; z-index: 1; }
.slide-text > *, .slide-art { transition: transform 1.6s cubic-bezier(.2, .7, .2, 1), opacity 1.2s ease; }
.slide:not(.on) .slide-text > * { transform: translateY(10px); opacity: 0; }
.slide:not(.on) .slide-art { transform: scale(.975); }
.slide.on .slide-text > *:nth-child(2) { transition-delay: .12s; } .slide.on .slide-text > *:nth-child(3) { transition-delay: .22s; } .slide.on .slide-text > *:nth-child(4) { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .slide, .slide-text > *, .slide-art { transition: none !important; } }
.slide-art img { width: 100%; height: 100%; object-fit: cover; }
.slide-art .mono { width: 24%; opacity: .55; }
.slide-text h3 { font-size: clamp(32px, 5vw, 58px); line-height: 1.05; margin: 10px 0 14px; }
.slide-text p { font-size: 17px; color: var(--ink-soft); max-width: 40ch; margin: 0 0 24px; }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 1px solid var(--gold); background: transparent; transition: width .3s, background .3s; }
.dots button[aria-current="true"] { width: 30px; background: var(--gold); }
.showcase { grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; }
.showcase .card { padding: 12px 12px 14px; }
.showcase .name { white-space: normal; font-size: 19px; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin-inline: auto; }
.pills span { padding: 11px 22px; border-radius: 999px; font-family: var(--serif); font-size: 16px; box-shadow: 0 4px 14px var(--shade), inset 0 1px 0 var(--edge); }
@media (max-width: 760px) { .slide { grid-template-columns: 1fr; text-align: center; } .slide-art { max-height: 340px; max-width: 280px; } .slide-text p { margin-inline: auto; } .ratestrip { border-radius: 26px; } }

/* About Us and Contact Us pages, and their short versions on the homepage */
.btn.onink { margin-top: 10px; color: var(--band-ink); border-color: var(--gold); background: rgba(255, 255, 255, .06); box-shadow: none; text-decoration: none; }
.touch { padding: clamp(24px, 4vw, 44px); border-radius: 36px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.touch h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; margin: 6px 0 6px; } .touch p { margin: 0; }
.touch-links { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; } .touch-links .contact { margin: 0 !important; }
.story { max-width: 760px; margin-inline: auto; }
.story .eyebrow { margin-bottom: 16px; text-align: center; }
.story p { font-size: 18px; line-height: 1.85; margin: 0 0 20px; }
.story p:first-of-type::first-letter { font-family: var(--display); font-size: 3.4em; float: left; line-height: .9; padding: 6px 10px 0 0; color: var(--gold-deep); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--gold); }
.timeline li { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 0 0 26px 28px; align-items: baseline; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 10px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(179, 146, 95, .2); }
.timeline b { font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--gold-deep); }
.timeline span { font-size: 17px; line-height: 1.6; }
.maplink { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--gold-deep); }
.public .spec b a { color: inherit; text-decoration: none; } .public .spec b { font-size: 19px; }
@media (max-width: 600px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }

/* Founder and testimonials */
.public > section.founder { margin-top: 26px; padding: clamp(26px, 5vw, 60px); display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(24px, 5vw, 60px); border-radius: 36px; }
.founder h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; margin: 8px 0 6px; }
.founder p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.75; }
.quotes { columns: 3 300px; column-gap: 20px; }
.quote { break-inside: avoid; margin: 0 0 20px; padding: 30px 28px 26px; border-radius: 30px; position: relative; animation: rise .7s both; }
.quote .mark { position: absolute; top: 6px; left: 22px; font-family: var(--display); font-size: 90px; line-height: 1; color: var(--gold); opacity: .45; }
.quote blockquote { margin: 34px 0 20px; font-family: var(--serif); font-size: 18px; line-height: 1.6; }
.quote figcaption { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid rgba(179, 146, 95, .35); }
.quote figcaption b { font-family: var(--display); font-weight: 400; font-size: 19px; letter-spacing: .04em; }
.quote figcaption span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
@media (max-width: 860px) { .public > section.founder { grid-template-columns: 1fr; } }

/* Catalogue cards on the homepage */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.4vw, 28px); }
.cat { padding: 12px 12px 30px; border-radius: 999px 999px 34px 34px; display: grid; justify-items: center; text-align: center; gap: 8px; animation: rise .8s both; transition: transform .35s, box-shadow .35s; }
.cat:hover { transform: translateY(-6px); box-shadow: 0 30px 70px var(--shade), inset 0 1px 0 var(--edge); }
.cat-art { width: 100%; aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px; overflow: hidden; display: grid; place-items: center; background: var(--art); border: 1px solid rgba(179, 146, 95, .35); margin-bottom: 14px; }
.cat-art img { width: 100%; height: 100%; object-fit: cover; }
.cat-art .mono { width: 26%; opacity: .55; }
.cat-no { font-size: 11px; font-weight: 700; letter-spacing: .3em; color: var(--gold-deep); }
.cat h3 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; }
.cat p { margin: 0 14px 10px; color: var(--ink-soft); max-width: 30ch; }
@media (max-width: 860px) { .cats { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* Public site */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); margin-right: 10px; }
.nav a { position: relative; display: inline-flex; align-items: center; padding: 6px 0; white-space: nowrap; line-height: 1.5; }
.drop { display: flex; align-items: center; }
.nav a[aria-current="page"] { color: var(--gold-deep); }
.nav a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); }
.brand { text-decoration: none; color: inherit; }
.avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-fill); color: var(--ivory); border: 1px solid var(--gold); font-family: var(--display); font-size: 17px; text-decoration: none; box-shadow: 0 4px 12px rgba(42, 34, 26, .25); }
.avatar[aria-current="page"] { outline: 2px solid var(--gold); outline-offset: 2px; }
.menu-btn { display: none; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--edge); background: var(--field); place-items: center; align-content: center; gap: 4px; }
.menu-btn i { display: block; width: 16px; height: 1.5px; background: var(--ink); }
@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .topbar { flex-wrap: wrap; }
  .topbar.open { border-radius: 28px; }
  .topbar .nav { display: none; order: 10; flex-basis: 100%; flex-direction: column; gap: 0; margin: 6px 0 4px; }
  .topbar.open .nav { display: flex; }
  .topbar .nav a { padding: 13px 6px; border-top: 1px solid rgba(179, 146, 95, .25); font-size: 15px; }
  .topbar .nav a[aria-current="page"]::after { display: none; }
}
/* Header dropdown (Collections) */
.drop { position: relative; }
.caret { display: inline-block; width: 6px; height: 6px; margin: -3px 0 0 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.drop .menu { position: absolute; top: 100%; left: 50%; translate: -50% 0; padding-top: 16px; min-width: 240px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 30; }
.drop .menu::before { content: ''; position: absolute; inset: 16px 0 0; border-radius: 22px; background: var(--glass-strong); -webkit-backdrop-filter: blur(40px) saturate(200%); backdrop-filter: blur(40px) saturate(200%); border: 1px solid var(--edge); box-shadow: 0 18px 44px var(--shade), inset 0 1px 0 var(--edge); z-index: -1; }
.drop:hover .menu, .drop:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.drop .menu a { display: flex; padding: 12px 22px; font-family: var(--serif); font-size: 16px; font-weight: 500; border-radius: 14px; }
.drop .menu a:first-child { margin-top: 8px; } .drop .menu a:last-child { margin-bottom: 8px; }
.drop .menu a:hover { color: var(--gold-deep); background: rgba(179, 146, 95, .12); }
.drop .menu a[aria-current="page"]::after { display: none; }
@media (max-width: 900px) {
  .topbar .nav .drop { display: grid; }
  .drop .menu { position: static; translate: none; opacity: 1; visibility: visible; transform: none; padding: 0 0 6px 16px; min-width: 0; }
  .drop .menu::before { display: none; }
  .topbar .nav .drop .menu a { border-top: 0; padding: 9px 6px; font-size: 14.5px; margin: 0; }
}
.otherc { text-align: center; } .otherc .eyebrow { margin-bottom: 16px; }
.pills a { padding: 11px 22px; border-radius: 999px; font-family: var(--serif); font-size: 16px; color: inherit; text-decoration: none; box-shadow: 0 4px 14px var(--shade), inset 0 1px 0 var(--edge); }
.pills a:hover { color: var(--gold-deep); }
.showcase .wt { font-size: 13.5px; margin-top: 3px; font-variant-numeric: tabular-nums; }

/* Order progress */
.track { list-style: none; display: flex; margin: 14px 0 6px; padding: 6px 0 2px; overflow-x: auto; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track li { position: relative; flex: 1 0 78px; display: grid; justify-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; color: var(--ink-soft); text-align: center; }
.track li::before { content: ''; position: absolute; top: 8px; right: 50%; width: 100%; height: 2px; background: rgba(179, 146, 95, .25); }
.track li:first-child::before { display: none; }
.track i { position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 2px solid rgba(179, 146, 95, .45); }
.track li.done::before, .track li.now::before { background: var(--gold); }
.track li.done i { background: var(--gold); border-color: var(--gold); }
.track li.now i { background: var(--espresso); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(179, 146, 95, .25); }
.track li.now, .track li.done { color: var(--ink); }
.order.glass { border-radius: 24px; padding: 18px; background: var(--glass); }
.chips.sub { padding-top: 0; } .chips.sub .chip { font-size: 12px; padding: 6px 13px; font-weight: 500; }
.cats.small { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.cats.small .cat { border-radius: 26px; padding: 10px 10px 18px; text-decoration: none; color: inherit; gap: 2px; }
.cats.small .cat-art { aspect-ratio: 16 / 10; border-radius: 18px; margin-bottom: 10px; }
.cats.small .cat-art .mono { width: 16%; }
.cats.small h3 { font-size: 20px; } .cats.small p { margin: 0; font-size: 13px; }
a.stat { text-decoration: none; color: inherit; transition: transform .2s; } a.stat:hover { transform: translateY(-3px); }
.empty .btn { margin-top: 12px; }
#view > .hero:first-child { margin-top: 26px; }
#view > .about { margin-top: 26px; }

.nav a, .footer a, .contact a { color: inherit; text-decoration: none; font-weight: 600; font-size: 14px; }
.nav a:hover { color: var(--gold-deep); }
a.btn { text-decoration: none; color: inherit; } a.btn.gold { color: var(--ivory); }
.public > section { margin-top: 90px; }
/* The monogram is drawn through a mask so it can carry a moving gold sheen. */
.mono { display: inline-block; flex: none; width: 26px; aspect-ratio: 640 / 810; background: var(--gold-fill) 100% 0 / 300% 100%; -webkit-mask: url(/brand/monogram.png) center / contain no-repeat; mask: url(/brand/monogram.png) center / contain no-repeat; }
.mono.sheen { animation: sheen 7s ease-in-out infinite; }
@keyframes sheen { 0%, 20% { background-position: 100% 0; } 70%, 100% { background-position: 0 0; } }
.public .lead { margin-top: 26px; padding: clamp(30px, 6vw, 70px) 0 10px; text-align: center; display: grid; justify-items: center; }
.crest { width: clamp(170px, 24vw, 230px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; position: relative; animation: rise .9s both; }
.crest::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; border: 1px solid var(--gold); opacity: .55; }
.crest::after { content: ''; position: absolute; inset: -34px; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 65%); z-index: -1; }
.crest .mono { width: 43%; }
.wordmark { font-family: var(--display); font-size: clamp(26px, 3.6vw, 38px); letter-spacing: .2em; margin: 26px 0 8px; padding-left: .2em; animation: rise .9s .1s both; }
.since { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .34em; color: var(--gold-deep); animation: rise .9s .2s both; }
.since i { width: 44px; height: 1px; background: var(--gold); }
.lead h1 { font-size: clamp(36px, 5.6vw, 68px); line-height: 1.08; margin: 40px 0 18px; max-width: 17ch; animation: rise .9s .3s both; }
.lead h1 em { font-style: italic; color: var(--gold-deep); }
.lead p { font-size: 17px; color: var(--ink-soft); max-width: 54ch; margin: 0 0 28px; animation: rise .9s .4s both; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; animation: rise .9s .5s both; }
.public > section.gallery { margin-top: 56px; display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: clamp(12px, 3vw, 30px); align-items: end; max-width: 980px; margin-inline: auto; }
.frame { padding: 10px; border-radius: 999px 999px 28px 28px; aspect-ratio: 3 / 4; animation: float 9s ease-in-out infinite alternate; }
.frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 20px 20px; }
.frame:nth-child(2) { animation-delay: -3s; } .frame:nth-child(3) { animation-delay: -6s; }
@keyframes float { to { transform: translateY(-12px); } }
.orn { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 80px auto -40px; color: var(--gold); }
.orn::before, .orn::after { content: ''; width: min(160px, 22vw); height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.orn::after { transform: scaleX(-1); }
.orn svg { width: 16px; height: 22px; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.point { padding: 24px; display: grid; gap: 8px; align-content: start; }
.point { text-align: center; justify-items: center; padding: 30px 24px; }
.point svg { width: 14px; height: 20px; color: var(--gold); }
.point b { font-family: var(--display); font-weight: 400; font-size: 23px; }
.point span { color: var(--ink-soft); }
.section-head { margin: 0 4px 22px; max-width: 60ch; }
.section-head.center { margin-inline: auto; text-align: center; margin-bottom: 30px; }
.section-head h2, .about h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.1; margin: 6px 0 8px; }
.section-head p { margin: 0; }
.public .card .info { padding-top: 2px; }
.public .card .btn { margin-top: -2px; }
.about { position: relative; overflow: hidden; padding: clamp(30px, 6vw, 72px); display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(24px, 5vw, 60px); align-items: center; border-radius: 36px; background: var(--band); color: var(--band-ink); border: 1px solid var(--gold); box-shadow: 0 30px 70px rgba(42, 34, 26, .3); }
.about::after { content: ''; position: absolute; right: -4%; top: 50%; translate: 0 -50%; height: 130%; aspect-ratio: 640 / 810; background: var(--gold); opacity: .07; -webkit-mask: url(/brand/monogram.png) center / contain no-repeat; mask: url(/brand/monogram.png) center / contain no-repeat; pointer-events: none; }
.about > * { position: relative; z-index: 1; }
.about .year { font-family: var(--display); font-size: clamp(70px, 11vw, 132px); line-height: .9; background: var(--gold-fill) 50% / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.about .eyebrow { color: var(--band-eyebrow); }
.about h2 { color: var(--band-ink); margin-top: 14px; }
.about p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.75; color: var(--band-soft); }
.about p:last-child { margin-bottom: 0; }
.enquire { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: start; }
.enquiry { padding: 26px; }
.contact { margin-top: 18px !important; line-height: 2; }
.footer { width: min(1240px, calc(100% - 24px)); margin: 0 auto; padding: 10px 4px 46px; display: grid; justify-items: center; gap: 10px; text-align: center; color: var(--ink-soft); font-size: 13px; }
.footer img { width: 132px; height: auto; margin-bottom: 6px; }
.public { padding-bottom: 70px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--edge); background: var(--field); font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
.checks input { accent-color: var(--gold); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; } .check input { width: 18px; height: 18px; accent-color: var(--gold); }

@media (max-width: 860px) {
  .about, .enquire { grid-template-columns: 1fr; }
    .points { grid-template-columns: 1fr; }
  .public > section { margin-top: 60px; }
}
@media (max-width: 720px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .detail { grid-template-columns: 1fr; }
  .brand span:not(.mono), .hide-sm { display: none; }
  .brand b { font-size: 16px; letter-spacing: .12em; }
  .topbar { padding-left: 18px; gap: 8px; }
  .card .name { font-size: 15px; }
  .row2 { grid-template-columns: 1fr; }
  .sheet { padding: 16px; }
}

/* =====================================================================================
   Calm, flat look. Everything above still defines the layout; this section replaces the
   frosted glass, drifting light and rounded shapes with plain surfaces, thin lines and
   squarer corners, so photographs carry the page.
   ===================================================================================== */
:root {
  --r: 3px;                               /* corner radius used everywhere */
  --surface: #fbf9f4;                     /* panels and cards */
  --surface-2: #ffffff;                   /* fields and inner tiles */
  --line: rgba(138, 106, 59, .26);        /* thin gold-brown lines */
  --header: rgba(243, 240, 232, .94);
  --glass: var(--surface); --glass-strong: var(--surface); --edge: var(--line); --field: var(--surface-2);
  --shade: rgba(60, 45, 20, .08);
  --art: linear-gradient(160deg, #efe8d8, #e2d6bc);
}
[data-theme="noir"] {
  --surface: #1a150e; --surface-2: #231c13; --line: rgba(216, 189, 138, .22); --header: rgba(16, 13, 9, .94);
  --glass: var(--surface); --glass-strong: var(--surface); --edge: var(--line); --field: var(--surface-2);
  --art: linear-gradient(160deg, #2a2115, #17120b);
}
.backdrop { display: none; }
.glass, .glass.strong { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid var(--line); border-radius: var(--r); box-shadow: none; }

/* Header: a plain bar across the top */
.topbar { top: 0; margin: 0; width: 100%; border-radius: 0; border-width: 0 0 1px; padding: 14px clamp(16px, 4vw, 48px); background: var(--header); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.topbar.open { border-radius: 0; }
.nav a { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.drop .menu::before { border-radius: var(--r); background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 14px 34px rgba(40, 30, 10, .12); }
.drop .menu a { border-radius: 0; letter-spacing: .04em; text-transform: none; font-size: 15.5px; }
.menu-btn { border-radius: var(--r); background: transparent; }
main { padding-top: 10px; }

/* Buttons: rectangles with spaced capitals; the secondary one is an outline */
.btn { border-radius: var(--r); padding: 13px 26px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; background: transparent; border: 1px solid var(--ink); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn:hover { transform: none; filter: none; background: var(--ink); color: var(--bg); }
.btn.gold { border-color: transparent; box-shadow: none; letter-spacing: .16em; }
.btn.gold:hover { background: var(--ink-fill); color: var(--ivory); filter: brightness(1.18); }
.btn.small { padding: 9px 16px; font-size: 11px; }
.btn.danger { border-color: var(--bad); } .btn.danger:hover { background: var(--bad); color: #fff; }
.btn.onink { border-color: var(--band-eyebrow); background: transparent; } .btn.onink:hover { background: var(--band-ink); color: #201912; }
[data-theme="noir"] .btn.gold { box-shadow: none; }
.chip { border-radius: var(--r); background: transparent; border: 1px solid var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; letter-spacing: .04em; }
a.chip { text-decoration: none; color: inherit; }
.badge { border-radius: var(--r); background: transparent; border: 1px solid currentColor; }
.tabs, .tabs button { border-radius: var(--r); }
.field input, .field select, .field textarea, .input { border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); box-shadow: none; }
.hero .search, .toolbar .input, .bulkbar .input { border-radius: var(--r); }
.close { border-radius: var(--r); background: transparent; border: 1px solid var(--line); }

/* Cards, tiles and panels */
.card { border-radius: var(--r); padding: 0; gap: 0; overflow: hidden; }
.card:hover { transform: none; box-shadow: 0 14px 34px var(--shade); }
.card .photo { border-radius: 0; background: var(--surface-2); }
.card .info { padding: 14px 14px 12px; }
.card > .btn { margin: 0 14px 14px; width: auto; }
.showcase .card { padding: 0; }
.card .tag { border-radius: 0; left: 0; top: 12px; }
.card .count { border-radius: 0; right: 0; bottom: 12px; }
.spec, .line, .order, .order.glass, .stat, .tq, .bulkbar, .empty, .point, .quote, .slot { border-radius: var(--r); }
.line img, .line .ph, .strip img, .table img, .thumbs button, .detail .big, .previews img { border-radius: 2px; }
.sheet, dialog .sheet { border-radius: var(--r); }
.dock { border-radius: var(--r); box-shadow: 0 14px 40px rgba(40, 30, 10, .18); }
.toast { border-radius: var(--r); box-shadow: 0 10px 30px rgba(40, 30, 10, .16); }
.auth-card { border-radius: var(--r); }
.ratestrip { border-radius: var(--r) !important; background: transparent; border-width: 1px 0; padding: 16px 10px; }
.pills span, .pills a { border-radius: var(--r); box-shadow: none; font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding: 12px 20px; }
.checks label { border-radius: var(--r); }
.avatar { box-shadow: none; }

/* Opening screen: one wide photograph, then the words */
.hero-photo { width: 100vw; margin-left: calc(50% - 50vw); margin-top: -10px !important; height: clamp(300px, 62vh, 680px); background: var(--art); display: grid; place-items: center; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; animation: settle 1.6s cubic-bezier(.2, .7, .2, 1) both; }
.hero-photo .mono { width: clamp(70px, 9vw, 120px); opacity: .5; }
@keyframes settle { from { transform: scale(1.04); opacity: 0; } }
.public .lead { margin-top: 0; padding: clamp(34px, 5vw, 60px) 0 0; }
.public .lead > .mono { margin-bottom: 18px; }
.lead h1 { margin-top: 26px; font-size: clamp(32px, 4.6vw, 56px); max-width: 20ch; }
.section-head h2, .visit h2, .touch h2, .founder h2, .about h2 { text-transform: uppercase; letter-spacing: .1em; font-size: clamp(24px, 3.2vw, 36px); }
.orn { margin: 70px auto -30px; }

/* Collections carousel, signature pieces */
.slides, .slide { border-radius: var(--r); }
.slide { padding: 0; gap: 0; grid-template-columns: 1.05fr 1fr; overflow: hidden; }
.slide-art { border-radius: 0; border: 0; max-height: none; height: 100%; min-height: clamp(300px, 46vw, 520px); aspect-ratio: auto; }
.slide-text { padding: clamp(24px, 5vw, 64px); }
.slide-text h3 { text-transform: uppercase; letter-spacing: .08em; font-size: clamp(26px, 3.6vw, 42px); }
.dots button { border-radius: 0; height: 2px; width: 22px; border: 0; background: var(--line); }
.dots button[aria-current="true"] { width: 44px; background: var(--gold-deep); }
.cat, .cats.small .cat { border-radius: var(--r); }
.cat-art, .cats.small .cat-art { border-radius: 2px; border: 0; }

/* Story band, founder, visit us */
.about { border-radius: var(--r); box-shadow: none; }
.public > section.founder { border-radius: var(--r); }
.founder-photo { width: min(240px, 100%); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; margin-bottom: 20px; }
.visit { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.visit-art { min-height: clamp(260px, 36vw, 460px); background: var(--art); display: grid; place-items: center; }
.visit-art img { width: 100%; height: 100%; object-fit: cover; }
.visit-art .mono { width: 76px; opacity: .5; }
.visit-text { padding: clamp(26px, 5vw, 60px); display: grid; align-content: center; gap: 12px; }
.visit-text p { margin: 0; }
.visit-text .cta { margin-top: 10px; }
.touch { border-radius: var(--r); }
.crest { width: auto; aspect-ratio: auto; } .crest::before, .crest::after { display: none; } .crest .mono { width: 64px; }
[data-theme="noir"] .crest { background: none; }
.quote .mark { opacity: .6; }

/* Admin: website photo slots */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.slot { display: grid; gap: 8px; justify-items: start; padding: 10px; border: 1px solid var(--line); background: var(--surface-2); }
.slot-pic { width: 100%; aspect-ratio: 4 / 3; background: var(--art); display: grid; place-items: center; overflow: hidden; }
.slot-pic img { width: 100%; height: 100%; object-fit: cover; } .slot-pic .mono { width: 26px; opacity: .5; }
.slot label.btn { cursor: pointer; }
.panel { border-radius: var(--r); }

@media (max-width: 900px) {
  .topbar .nav a { letter-spacing: .14em; }
  .drop .menu a { text-transform: none; }
}
@media (max-width: 760px) {
  .slide { grid-template-columns: 1fr; }
  .slide-art { min-height: 260px; max-width: none; }
  .visit { grid-template-columns: 1fr; }
  .hero-photo { height: clamp(260px, 48vh, 460px); }
}

/* A piece's "worn" photo: fades in over the plain shot on hover, or with the button on a phone. */
.photo.has-worn { position: relative; }
.card .photo .worn { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease, transform .5s; }
@media (hover: hover) { .card:hover .photo.has-worn .worn { opacity: 1; } }
.photo.show-worn .worn { opacity: 1; }
.wornbtn { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 7px 12px; border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .5); background: rgba(20, 15, 10, .6); color: #f6f1e4; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wornslot { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.wornslot .slot-pic { width: 96px; aspect-ratio: 4 / 5; flex: none; }

/* Opening photo, two kinds. A normal photograph fills the space and may be cropped at the edges.
   A cut-out piece (a PNG with a clear background) is always shown whole, on a warm dark backdrop that fills the space. */
.hero-photo.piece { background: radial-gradient(ellipse at 50% 52%, #3a2c1c 0%, #1c150e 55%, #0c0906 100%); }
.hero-photo.piece img { object-fit: contain; padding: clamp(22px, 5vh, 54px) clamp(18px, 6vw, 90px); filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .6)); }
/* The opening image is pinned to the edges of its space, so its size never depends on the picture's own dimensions. */
.hero-photo { position: relative; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Gold rate: the strip on the homepage is a link, and the rates table is roomy and easy to read. */
a.ratestrip { text-decoration: none; color: inherit; }
a.ratestrip:hover { background: var(--surface); }
.table.rates td, .table.rates th { padding: 16px 18px; font-size: 16px; }
.table.rates td.num { font-family: var(--display); font-size: 21px; }
.story a { color: var(--gold-deep); }
@media (max-width: 720px) {
  .table.rates td, .table.rates th { padding: 13px 8px; font-size: 13.5px; }
  .table.rates th { letter-spacing: .04em; font-size: 10.5px; }
  .table.rates td.num { font-size: 16.5px; }
}

/* Phone menu: links are left-aligned with full-width dividers, and the Collections list stays closed until tapped. */
@media (max-width: 900px) {
  .topbar .nav { align-items: stretch; }
  .topbar .nav > a, .topbar .nav .drop > a { justify-content: space-between; }
  .topbar .nav .drop { display: block; border-top: 1px solid rgba(179, 146, 95, .25); }
  .topbar .nav .drop > a { border-top: 0; display: flex; width: 100%; }
  .drop .menu { display: none; }
  .drop.open .menu { display: block; }
  .drop .caret { transition: transform .25s; margin-right: 6px; }
  .drop.open .caret { transform: rotate(225deg); }
  .topbar .nav .drop .menu a { display: block; padding: 10px 6px 10px 2px; }
}

/* Newsletter sign-up and the full footer on public pages */
.news { width: min(760px, calc(100% - 32px)); margin: 90px auto 70px; text-align: center; }
.news h2 { font-size: clamp(26px, 3.6vw, 40px); text-transform: uppercase; letter-spacing: .1em; margin: 8px 0 10px; }
.news p { margin: 0 0 22px; }
.news-form { display: flex; gap: 10px; justify-content: center; position: relative; }
.news-form .input { flex: 1 1 auto; max-width: 420px; }
.news-done { font-family: var(--serif); font-size: 19px; margin: 0; }
.news .error { margin-top: 10px; min-height: 0; }
.foot { background: var(--band); color: var(--band-soft); border-top: 1px solid var(--gold); }
.foot-main { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 64px 0 46px; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand img { width: 118px; height: auto; margin-bottom: 18px; }
.foot-brand p { margin: 0 0 14px; max-width: 38ch; line-height: 1.7; }
.foot-contact { font-size: 14px; }
.foot h3 { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--band-eyebrow); margin-bottom: 16px; }
.foot nav { display: grid; gap: 11px; align-content: start; }
.foot a { color: var(--band-soft); text-decoration: none; font-size: 14.5px; transition: color .2s; }
.foot a:hover { color: var(--band-ink); }
.foot-bar { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 20px 0 26px; border-top: 1px solid rgba(205, 179, 130, .22); display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; font-size: 12.5px; letter-spacing: .04em; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(205, 179, 130, .4); border-radius: var(--r); color: var(--band-eyebrow); }
.foot-social a:hover { border-color: var(--band-ink); color: var(--band-ink); }
.foot-social svg { width: 19px; height: 19px; }
.public { padding-bottom: 0; }
.story.plain { margin-top: 40px; }
.story.plain h3 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin: 30px 0 10px; }
.story.plain p { font-size: 16.5px; line-height: 1.75; margin: 0; }
.story.plain p:first-of-type::first-letter { font: inherit; float: none; padding: 0; color: inherit; }
@media (max-width: 860px) { .foot-main { grid-template-columns: 1fr 1fr; gap: 34px 24px; padding: 48px 0 34px; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .news-form { flex-direction: column; } .news-form .input { max-width: none; } .foot-bar { justify-content: center; text-align: center; } }
.sublist { display: flex; flex-wrap: wrap; gap: 8px; } .sublist .chip { font-weight: 500; }

/* Google map in the Visit us block and on the Contact Us page */
.map { display: block; width: 100%; height: 100%; min-height: clamp(280px, 36vw, 460px); border: 0; }
.visit-art:has(.map) { display: block; }
.mapwide { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; height: clamp(300px, 42vw, 480px); margin-top: 40px !important; }
.mapwide .map { min-height: 0; }
/* With a map, the words come first and the map sits on the right (below them on a phone). */
.visit:has(.map) { grid-template-columns: 1fr 1.1fr; }
.visit:has(.map) .visit-art { order: 2; }
@media (max-width: 760px) { .visit:has(.map) { grid-template-columns: 1fr; } .visit .map { min-height: 300px; } }

/* Footer bottom line: social icons, then copyright with the small links beside it */
.foot-legal i { font-style: normal; opacity: .5; margin: 0 4px; }
.foot-legal a { font-size: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(205, 179, 130, .45); }
.foot-social .off { width: 38px; height: 38px; display: grid; place-items: center; border: 1px dashed rgba(205, 179, 130, .28); border-radius: var(--r); color: var(--band-eyebrow); opacity: .38; cursor: default; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 400px)); justify-content: center; gap: 22px; }
.post { display: flex; flex-direction: column; color: inherit; text-decoration: none; overflow: hidden; animation: rise .7s both; }
.post-photo { aspect-ratio: 4 / 3; background: var(--surface, rgba(0,0,0,.04)); display: grid; place-items: center; overflow: hidden; }
.post-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.post:hover .post-photo img { transform: scale(1.03); }
.post-photo .mono { width: 54px; opacity: .55; }
.post-text { padding: 20px 22px 22px; display: grid; gap: 8px; }
.post-text time { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.post-text h3 { font-family: var(--display); font-size: 24px; line-height: 1.2; font-weight: 400; margin: 0; }
.post-text p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-text .more { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-top: 4px; }
.post:hover .more { color: var(--gold-deep); }
.post-hero { max-width: 980px; margin: 34px auto 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); }
.post-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story.plain.article p { font-size: 17.5px; line-height: 1.85; margin: 0 0 18px; }
.postrow { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-top: 1px solid var(--edge); }
.postrow:first-child { border-top: 0; }
.postrow img, .postrow .noimg { width: 72px; height: 48px; object-fit: cover; border-radius: var(--r); background: rgba(0,0,0,.06); flex: none; }
.postrow .grow { flex: 1; min-width: 0; }
.postrow b { display: block; }
.lead p.byline { font-size: 14px; letter-spacing: .04em; margin: -4px 0 0; }
.story.plain.article p.credit { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--edge); font-size: 14.5px; color: var(--ink-soft); }

/* Homepage About: the first emblem on a dark tile with a piece overlapping it, text beside. */
.heritage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.heritage-art { position: relative; padding: 0 22% 9% 0; }
.heritage-art .tile { aspect-ratio: 1; background: #0d0c0b; border-radius: var(--r); display: flex; align-items: center; overflow: hidden; }
.heritage-art .tile img { width: 52%; margin-left: 4%; }
.heritage-art .shot { position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); box-shadow: 0 18px 40px rgba(30, 22, 12, .28); }
.heritage-text h2 { font-size: clamp(24px, 3.2vw, 36px); text-transform: uppercase; letter-spacing: .1em; margin: 8px 0 16px; }
.heritage-text p { font-size: 17px; line-height: 1.8; color: var(--ink-soft); margin: 0 0 24px; max-width: 52ch; }
@media (max-width: 760px) { .heritage { grid-template-columns: 1fr; } .heritage-art { max-width: 460px; } }
/* About page: the firm's emblems through the years. */
.marks-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 980px; margin-inline: auto; }
.marks-row figure { margin: 0; }
.mark-tile { aspect-ratio: 1; border-radius: var(--r); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--edge); }
.mark-tile.dark { background: #0d0c0b; }
.mark-tile.light { background: #fffdf8; }
.mark-tile img { width: 100%; height: 100%; object-fit: contain; }
.mark-tile.dark img { padding: 6%; }
.mark-tile.light img { object-fit: contain; padding: 9%; }
.marks-row figcaption { display: grid; gap: 4px; padding-top: 14px; text-align: center; }
.marks-row figcaption b { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.marks-row figcaption span { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 700px) { .marks-row { grid-template-columns: 1fr; max-width: 340px; } }
.heritage-art .tile img, .mark-tile.dark img { mix-blend-mode: lighten; }
.story p.named:first-of-type::first-letter { font: inherit; float: none; padding: 0; color: inherit; }
.story .lead-in { font-family: var(--display); font-size: 1.9em; line-height: 1; color: var(--gold-deep); letter-spacing: .04em; margin-right: .12em; }

/* Homepage: trust strip, figures, process steps, appointment note */
.trust { list-style: none; margin: 34px auto 0; padding: 16px 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; border-block: 1px solid var(--line, var(--edge)); max-width: 1000px; }
.trust li { font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); padding: 0 22px; }
.trust li + li { border-left: 1px solid var(--line, var(--edge)); }
.figures { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 0 0 26px; }
.figures dt { font-family: var(--display); font-size: clamp(38px, 4.6vw, 54px); line-height: 1; color: var(--gold-deep); }
.figures dd { margin: 6px 0 0; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line, var(--edge)); }
.steps li { padding: 26px 20px 6px; border-left: 1px solid var(--line, var(--edge)); }
.steps li:first-child { border-left: 0; padding-left: 0; }
.steps .num { font-family: var(--display); font-size: 30px; color: var(--gold-deep); }
.steps h3 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin: 12px 0 8px; }
.steps p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.visit-text p.appoint { font-size: 15px; line-height: 1.6; padding: 12px 14px; border-left: 2px solid var(--gold); background: rgba(160, 120, 50, .06); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps li { border-left: 0; padding: 22px 16px 6px 0; border-top: 1px solid var(--line, var(--edge)); } .steps { border-top: 0; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .trust li { padding: 0 12px; font-size: 10.5px; } .trust li + li { border-left: 0; } .trust { flex-direction: column; align-items: center; } }

/* Homepage About without pictures: centred text and figures. Visit-us buttons: one wide, two half-width. */
.heritage { display: block; text-align: center; max-width: 820px; margin-inline: auto; }
.heritage-text p { margin-inline: auto; max-width: 60ch; }
.heritage .figures { justify-content: center; gap: 14px 64px; margin: 6px 0 30px; }
.visit-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; max-width: 420px; }
.visit-cta .btn { text-align: center; justify-content: center; margin: 0; }
.visit-cta .btn:first-child:nth-last-child(3) { grid-column: 1 / -1; }
.visit-cta .btn { padding-inline: 8px; }
.founder p.signed { margin-top: 22px; font-family: var(--display); font-size: 21px; color: var(--gold-deep); }

/* About page: personal messages from the people who run the firm */
.voices-intro { max-width: 720px; margin: 0 auto 28px; text-align: center; }
.voices-intro p { font-size: 17px; line-height: 1.8; margin: 0 0 14px; }
.voices-intro p.signed { font-family: var(--display); font-size: 21px; color: var(--gold-deep); }
.voices-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; max-width: 1080px; margin-inline: auto; }
.voice { margin: 0; padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 12px; }
.voice .mark { font-family: var(--display); font-size: 54px; line-height: .6; color: var(--gold); height: 22px; }
.voice blockquote { margin: 0; font-size: 16.5px; line-height: 1.75; flex: 1; }
.voice figcaption { font-family: var(--display); font-size: 20px; color: var(--gold-deep); padding-top: 12px; border-top: 1px solid var(--line, var(--edge)); }

/* Gold Rate page: the firm's own rates, live when the feed is connected */
.liverates { margin-top: 30px; }
.live-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; margin-bottom: 16px; }
.live-head b { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.live-head .muted { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.livedot { width: 9px; height: 9px; border-radius: 50%; background: #2e9e5b; box-shadow: 0 0 0 0 rgba(46, 158, 91, .55); animation: livepulse 2s infinite; }
.livedot.off { background: var(--gold); animation: none; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 9px rgba(46, 158, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 158, 91, 0); } }
.liverates .stats { justify-content: center; }
.liverates .stat b { font-variant-numeric: tabular-nums; }
.liverates .arrow { font-style: normal; font-size: .38em; margin-left: 8px; vertical-align: middle; }
.liverates .arrow.up { color: #2e9e5b; } .liverates .arrow.down { color: #c0453a; }
.liverates .stat.tick-up { animation: tickup 1.2s ease-out; } .liverates .stat.tick-down { animation: tickdown 1.2s ease-out; }
@keyframes tickup { 0% { background: rgba(46, 158, 91, .2); } } @keyframes tickdown { 0% { background: rgba(192, 69, 58, .18); } }
@media (prefers-reduced-motion: reduce) { .livedot, .liverates .stat { animation: none !important; } }

/* Photos placed inside a blog article */
.story.plain.article figure.inpost { margin: 30px auto; max-width: 520px; }
.story.plain.article figure.inpost img { display: block; width: 100%; height: auto; border-radius: var(--r); }
.story.plain.article figure.inpost.wide { max-width: none; }
/* Blog cards: every photo fills the same 4:3 frame, whatever its own shape (a tall photo used to push past the frame) */
.post-photo { position: relative; }
.post-photo img { position: absolute; inset: 0; }

/* Homepage lookbook: photos of the jewellery being worn */
.looks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 18px); }
.look { margin: 0; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--r); background: var(--art); }
.look img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s ease; }
.look:hover img { transform: scale(1.03); }
@media (max-width: 760px) { .looks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* A photographed opening picture keeps faces in view when the wide frame trims its top and bottom */
.hero-photo:not(.piece) img { object-position: 50% 30%; }

/* ===== Homepage, modern layout: large photos edge to edge, big left-set headings, no ornaments ===== */
.home .orn { display: none; }
.home > section { margin-top: clamp(70px, 9vw, 130px); }
.home .section-head, .home .section-head.center { margin: 0 0 clamp(22px, 3vw, 40px); max-width: none; text-align: left; }
.home .section-head h2 { text-transform: none; letter-spacing: -.005em; font-size: clamp(34px, 5.4vw, 68px); line-height: 1.02; margin: 10px 0 0; }
.home .section-head p { margin-top: 14px; max-width: 56ch; }
.home .eyebrow { letter-spacing: .28em; }

/* Opening: one photo filling the screen, with the heading set on it */
.hero-photo.full { height: min(92vh, 940px); min-height: 520px; margin-top: -10px !important; display: block; }
.hero-photo.full:not(.piece) img { object-position: 72% 28%; }
.hero-photo.full::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 7, 4, 0) 38%, rgba(10, 7, 4, .78) 100%), linear-gradient(90deg, rgba(10, 7, 4, .5) 0%, rgba(10, 7, 4, 0) 58%); pointer-events: none; }
.hero-copy { position: absolute; z-index: 1; left: clamp(20px, 6vw, 96px); right: clamp(20px, 6vw, 96px); bottom: clamp(34px, 8vh, 96px); color: #fbf6ea; text-align: left; animation: rise 1s .25s both; }
.hero-kicker { font-size: 12px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: #e3cf9f; }
.hero-copy h1 { font-family: var(--display); font-weight: 400; color: #fbf6ea; font-size: clamp(40px, 7.2vw, 104px); line-height: .98; letter-spacing: -.01em; margin: 16px 0 18px; max-width: 13ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero-copy p { font-size: clamp(15px, 1.35vw, 19px); line-height: 1.6; max-width: 46ch; margin: 0; color: rgba(251, 246, 234, .88); }
.home .trust { margin-top: 0; max-width: none; border-top: 0; padding-block: 20px; }

/* Collections: large photo tiles */
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(6px, .9vw, 14px); width: 100vw; margin-left: calc(50% - 50vw); padding-inline: clamp(6px, .9vw, 14px); box-sizing: border-box; }
.tile { position: relative; grid-column: span 2; aspect-ratio: 4 / 5; overflow: hidden; display: block; background: var(--art); color: #fbf6ea; text-decoration: none; }
.tiles.n2 .tile:nth-child(-n+2) { grid-column: span 3; aspect-ratio: 5 / 4; }
.tiles.n1 .tile:first-child { grid-column: span 6; aspect-ratio: 21 / 9; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.045); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 7, 4, 0) 45%, rgba(10, 7, 4, .78) 100%); }
.tile .mono { position: absolute; inset: 0; margin: auto; width: 18%; opacity: .5; }
.tile-text { position: absolute; z-index: 1; left: clamp(16px, 2.4vw, 36px); right: 16px; bottom: clamp(16px, 2.4vw, 34px); display: grid; gap: 6px; }
.tile-text small { font-size: 11px; font-weight: 700; letter-spacing: .28em; color: #e3cf9f; }
.tile-text b { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.9vw, 44px); line-height: 1.05; }
.tile-text em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; opacity: .85; padding-bottom: 4px; border-bottom: 1px solid rgba(251, 246, 234, .55); justify-self: start; margin-top: 6px; }

/* Lookbook: an edge-to-edge mosaic */
.home .looks { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; width: 100vw; margin-left: calc(50% - 50vw); }
.home .look { border-radius: 0; }

/* Our story: a dark band across the page */
.home > section.heritage.band { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); box-sizing: border-box; padding: clamp(64px, 10vw, 140px) clamp(20px, 6vw, 96px); background: var(--band); color: var(--band-ink); text-align: left; display: block; }
.heritage.band .heritage-text { max-width: 1180px; margin-inline: auto; }
.heritage.band .eyebrow { color: var(--band-eyebrow); }
.heritage.band h2 { text-transform: none; letter-spacing: -.005em; font-size: clamp(34px, 5.4vw, 68px); line-height: 1.02; color: var(--band-ink); margin: 10px 0 22px; }
.heritage.band p { color: var(--band-soft); margin-inline: 0; max-width: 58ch; font-size: clamp(16px, 1.3vw, 19px); }
.heritage.band .figures { justify-content: flex-start; gap: 18px clamp(36px, 7vw, 110px); margin: 34px 0 38px; }
.heritage.band .figures dt { color: #e3cf9f; font-size: clamp(48px, 6.4vw, 92px); }
.heritage.band .figures dd { color: var(--band-soft); }

/* How a piece is made: plain numbers */
.home .steps .num { font-family: var(--display); font-size: clamp(30px, 3vw, 44px); letter-spacing: 0; }

@media (max-width: 900px) {
  .home .looks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero-photo.full { height: 86vh; min-height: 480px; }
  .hero-photo.full::after { background: linear-gradient(180deg, rgba(10, 7, 4, 0) 30%, rgba(10, 7, 4, .86) 100%); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tiles.n2 .tile:nth-child(-n+2) { grid-column: span 1; aspect-ratio: 3 / 4; }
  .tiles.n2 .tile:first-child, .tiles.n1 .tile:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
  .home .looks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
}
.hero-copy h1 { font-size: clamp(38px, 6.2vw, 88px); max-width: 12ch; }
.heritage.band .btn { background: #e3cf9f; color: #201912; border-color: transparent; box-shadow: none; }

/* ===== Modern layout on every public page: large left-set headings, no ornaments, text on one left edge ===== */
.public .orn { display: none; }
.public > section.lead { display: block; text-align: left; padding-top: clamp(44px, 7vw, 104px); }
.public .lead > .mono { display: none; }
.public .lead .since { justify-content: flex-start; letter-spacing: .3em; }
.public .lead .since i:first-child { display: none; }
.public .lead h1 { text-transform: none; letter-spacing: -.01em; font-size: clamp(38px, 6.2vw, 88px); line-height: 1; max-width: 16ch; margin-inline: 0; }
.public .lead p { margin-inline: 0; max-width: 58ch; font-size: clamp(16px, 1.3vw, 19px); }
.public .section-head, .public .section-head.center { margin: 0 0 clamp(22px, 3vw, 40px); max-width: none; text-align: left; }
.public .section-head h2, .public .visit h2, .public .touch h2 { text-transform: none; letter-spacing: -.005em; font-size: clamp(32px, 4.8vw, 60px); line-height: 1.04; }
.public .section-head p { margin-top: 14px; max-width: 56ch; }
.public .eyebrow { letter-spacing: .28em; }
.public .story { margin-inline: 0; max-width: 800px; }
.public .story .eyebrow { text-align: left; }
.public .voices-intro { margin-inline: 0; text-align: left; }
.public .voices-row, .public .marks-row { max-width: none; margin-inline: 0; }
.public .posts { justify-content: start; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.public .post-hero { max-width: none; margin-inline: 0; border-radius: 0; }
.public .post, .public .visit, .public .touch { border-radius: 0; }
.public > section.lead { justify-items: start; }
.public .grid.showcase { justify-content: start; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.public .otherc { text-align: left; }
.public .otherc .pills, .public #categories .pills { justify-content: flex-start; }
.public .story p.muted:first-of-type::first-letter { font: inherit; float: none; padding: 0; color: inherit; }
/* Collections on the homepage: the slider, with its heading centred as before */
.home #collections .section-head { text-align: center; margin-inline: auto; max-width: 60ch; }
.home #collections .section-head h2 { text-transform: uppercase; letter-spacing: .1em; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.1; }
/* Signature pieces and jewellery categories on the homepage: centred, as before */
.home #pieces .section-head, .home #categories .section-head { text-align: center; margin-inline: auto; max-width: 60ch; }
.home #pieces .section-head h2, .home #categories .section-head h2 { text-transform: uppercase; letter-spacing: .1em; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.1; }
.home #pieces .section-head p { margin-inline: auto; }
.home #pieces .grid.showcase { grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; }
.home #categories .pills { justify-content: center; }
/* Our story band: centred, with the monogram as a faint watermark behind the text */
.home > section.heritage.band { text-align: center; position: relative; overflow: hidden; }
.heritage.band::before { content: ''; position: absolute; left: 50%; top: 50%; translate: -50% -50%; height: 118%; aspect-ratio: 640 / 810; background: #e3cf9f; opacity: .07; pointer-events: none; -webkit-mask: url(/brand/monogram.png) center / contain no-repeat; mask: url(/brand/monogram.png) center / contain no-repeat; }
.heritage.band .heritage-text { position: relative; }
.heritage.band p { margin-inline: auto; }
.heritage.band .figures { justify-content: center; }
/* Our story watermark: small, at the right side of the band */
.heritage.band::before { left: auto; right: clamp(20px, 6vw, 96px); translate: 0 -50%; height: 46%; opacity: .14; }
@media (max-width: 900px) { .heritage.band::before { top: auto; bottom: 18px; right: 18px; translate: none; height: 84px; } }
/* Our story watermark: in the top right corner, running partly off the top and right edges */
.heritage.band::before { top: 0; bottom: auto; right: 0; left: auto; height: 72%; translate: 22% -26%; opacity: .14; }
@media (max-width: 900px) { .heritage.band::before { top: 0; bottom: auto; right: 0; height: 190px; translate: 24% -28%; } }

/* ===== Decode the look ===== */
.home #looks .section-head { text-align: center; margin-inline: auto; max-width: 60ch; }
.home #looks .section-head h2 { text-transform: uppercase; letter-spacing: .1em; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.1; }
.home #looks .section-head p { margin-inline: auto; }
.lookcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: clamp(8px, 1.2vw, 16px); }
.lookcard { position: relative; aspect-ratio: 2 / 3; overflow: hidden; display: block; color: #fbf6ea; text-decoration: none; background: var(--art); }
.lookcard img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.lookcard:hover img { transform: scale(1.04); }
.lookcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 7, 4, 0) 52%, rgba(10, 7, 4, .82) 100%); }
.lookcard-text { position: absolute; z-index: 1; left: 16px; right: 14px; bottom: 16px; display: grid; gap: 6px; }
.lookcard-text b { font-family: var(--display); font-weight: 400; font-size: clamp(19px, 1.8vw, 25px); line-height: 1.1; }
.lookcard-text em { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #e3cf9f; }

.lookpage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 60px); align-items: start; }
.lookphoto { position: relative; line-height: 0; }
.lookphoto img { width: 100%; height: auto; display: block; }
.dot { position: absolute; translate: -50% -50%; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; background: #b3925f; color: #fff; font: 700 12px/1 var(--sans); display: grid; place-items: center; padding: 0; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .45), 0 0 0 0 rgba(227, 207, 159, .7); animation: dotpulse 2.4s ease-out infinite; }
.dot.on, .dot:hover { background: #2a221a; scale: 1.18; animation: none; }
@keyframes dotpulse { 0% { box-shadow: 0 2px 10px rgba(0, 0, 0, .45), 0 0 0 0 rgba(227, 207, 159, .75); } 100% { box-shadow: 0 2px 10px rgba(0, 0, 0, .45), 0 0 0 16px rgba(227, 207, 159, 0); } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
.lookside { position: sticky; top: 96px; }
.lookhint { margin: 0 0 14px; font-size: 14px; }
.lookpieces { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line, rgba(120, 96, 50, .25)); }
.lookpieces li { display: flex; align-items: center; gap: 14px; padding: 14px 10px; border-bottom: 1px solid var(--line, rgba(120, 96, 50, .25)); cursor: pointer; transition: background .25s; }
.lookpieces li.on { background: rgba(179, 146, 95, .16); }
.lookpieces .n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #b3925f; color: #fff; font: 700 12px/1 var(--sans); display: grid; place-items: center; }
.lookpieces li.on .n { background: #2a221a; }
.lookpieces img { flex: none; width: 64px; height: 64px; object-fit: cover; background: #14100b; }
.lookpieces .grow { flex: 1; min-width: 0; display: grid; gap: 3px; }
.lookpieces b { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.15; }
.lookpieces .muted { font-size: 13px; }
@media (max-width: 860px) { .lookpage { grid-template-columns: 1fr; } .lookside { position: static; } }

/* Admin: placing dots on a look */
.lookedit { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 6px; }
.lookstage { position: relative; line-height: 0; min-height: 120px; background: rgba(0, 0, 0, .06); cursor: crosshair; }
.lookstage img { width: 100%; height: auto; display: block; }
.edot { position: absolute; translate: -50% -50%; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; background: #b3925f; color: #fff; font: 700 11px/1 var(--sans); display: grid; place-items: center; pointer-events: none; box-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.edot.still { position: static; translate: none; flex: none; border: 0; box-shadow: none; }
.spotrow { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.spotrow input, .spotrow select { min-width: 0; width: 100%; }
@media (max-width: 700px) { .lookedit { grid-template-columns: 1fr; } .spotrow { grid-template-columns: auto 1fr auto; } .spotrow select { grid-column: 2 / -1; } }

/* Decode the look: several angles of one look */
.lookphoto { position: static; }
.lookview { position: relative; line-height: 0; }
.lookview[hidden] { display: none; }
.lookangles { display: flex; gap: 8px; margin-top: 10px; }
.lookangles button { padding: 0; width: 76px; aspect-ratio: 2 / 3; overflow: hidden; border: 2px solid transparent; background: none; cursor: pointer; opacity: .7; }
.lookangles button[aria-pressed="true"] { border-color: #b3925f; opacity: 1; }
.lookangles img { width: 100%; height: 100%; object-fit: cover; display: block; }
.angles { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 6px; }
.spotrow { grid-template-columns: auto auto minmax(0, 1fr) minmax(0, 1.2fr) auto; }
.spotrow .ang { font-size: 11.5px; white-space: nowrap; }
.spotrow.off { opacity: .6; }
@media (max-width: 700px) { .spotrow { grid-template-columns: auto auto 1fr auto; } .spotrow select { grid-column: 3 / -1; } }
/* Decode the look: small plain dots instead of numbered ones (a wider invisible area keeps them easy to tap) */
.dot { width: 14px; height: 14px; font-size: 0; border-width: 2px; }
.dot::before { content: ''; position: absolute; inset: -13px; border-radius: 50%; }
.dot.on, .dot:hover { scale: 1.5; background: #fff; border-color: #b3925f; }
.lookpieces .n { width: 10px; height: 10px; font-size: 0; }
.lookpieces li.on .n { background: #2a221a; scale: 1.3; }
/* Page headings (Gold Rate, Blogs, Contact, About and the rest): centred */
.public > section.lead { text-align: center; justify-items: center; }
.public .lead .since { justify-content: center; }
.public .lead .since i:first-child { display: block; }
.public .lead h1, .public .lead p { margin-inline: auto; }
.public .story { margin-inline: auto; }
.public .story .eyebrow { text-align: center; }
.public > .section-head.center { text-align: center; margin-inline: auto; }
.public > .section-head.center p { margin-inline: auto; }

/* Appointment page: the three steps beside the form */
.visit-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line, rgba(120, 96, 50, .25)); }
.visit-steps li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line, rgba(120, 96, 50, .25)); }
.visit-steps span { flex: none; font-family: var(--display); font-size: 34px; line-height: 1; color: var(--gold-deep); width: 48px; }
.visit-steps b { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.visit-steps p { margin: 6px 0 0; color: var(--ink-soft); line-height: 1.6; }

/* Appointment form: the fixed +91 in front of the mobile number */
.tel91 { display: flex; align-items: stretch; }
.tel91 b { display: grid; place-items: center; padding: 0 12px; font-weight: 600; border: 1px solid var(--line, rgba(120, 96, 50, .25)); border-right: 0; background: rgba(179, 146, 95, .12); border-radius: var(--r) 0 0 var(--r); }
.tel91 input { flex: 1; min-width: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }
main.public > .section-head.center p { max-width: none; margin-left: auto; margin-right: auto; text-align: center; }
/* Decode the look: a closer look at one piece */
.sheet.pieceview { position: relative; width: min(880px, calc(100vw - 24px)); padding: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); overflow: hidden; }
.pieceview .close { position: absolute; top: 10px; right: 10px; z-index: 1; }
.pieceview-photo { background: #14100b; line-height: 0; }
.pieceview-photo img { width: 100%; height: 100%; max-height: calc(100vh - 24px); object-fit: cover; display: block; }
.pieceview-text { padding: clamp(22px, 4vw, 44px); display: grid; align-content: center; gap: 14px; }
.pieceview-text h2 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; margin: 0; }
.pieceview-text dl { display: flex; gap: 34px; margin: 6px 0 10px; }
.pieceview-text dt { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.pieceview-text dd { margin: 4px 0 0; font-family: var(--display); font-size: 26px; color: var(--gold-deep); }
.lookpieces li { cursor: pointer; }
@media (max-width: 700px) { .sheet.pieceview { grid-template-columns: 1fr; } .pieceview-photo img { max-height: 58vh; } }
/* Closer look: zoom buttons and a draggable zoomed photo */
.pieceview-photo { position: relative; overflow: hidden; touch-action: none; }
.pieceview-photo img { transition: transform .18s ease-out; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.pieceview-photo.zoomed img { cursor: grab; transition: none; }
.zoomctl { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; line-height: 1; }
.zoomctl button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); background: rgba(20, 16, 11, .6); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.zoomctl button:disabled { opacity: .35; cursor: default; }
.pieceview-photo.still img { cursor: default; }
/* Homepage look cards: the photo only, no words over it */
.home .lookcard-text { display: none; }
.home .lookcard::after { display: none; }
/* Our signatures: a row that glides from one edge of the screen to the other */
.sigrow { width: 100vw; margin-left: calc(50% - 50vw); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-block: 6px 14px; }
.sigrow::-webkit-scrollbar { display: none; }
.sigtrack, .sigset { display: flex; gap: clamp(12px, 1.4vw, 22px); width: max-content; }
.sigset .card { flex: none; width: clamp(230px, 21vw, 310px); animation: none; }
@media (max-width: 600px) { .sigset .card { width: 68vw; } }
.sigset .card .photo { flex: none; aspect-ratio: 4 / 5; }
.sigset .card .photo img { width: 100%; height: 100%; object-fit: cover; }
.sigset .card { grid-template-rows: auto 1fr; align-content: start; }
.sigset .card { grid-template-columns: minmax(0, 1fr); }   /* a long name must not widen the card */
.sigset .card .info, .sigset .card .info * { min-width: 0; white-space: normal; }
/* Our signatures, second form: side by side, the middle piece larger, moving on one piece at a time */
.sigrow { position: relative; scroll-snap-type: x mandatory; padding-block: 34px 44px; }
.sigtrack, .sigset { gap: clamp(8px, 1vw, 16px); }
.sigset .card { width: clamp(240px, 22vw, 320px); scroll-snap-align: center; transform: scale(.86); opacity: .55; transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .6s, box-shadow .6s; }
.sigset .card:hover { transform: scale(.86); }
.sigset .card.mid, .sigset .card.mid:hover { transform: scale(1.1); opacity: 1; z-index: 1; box-shadow: 0 22px 46px rgba(40, 28, 12, .28); }
@media (max-width: 600px) { .sigset .card { width: 62vw; } .sigset .card.mid, .sigset .card.mid:hover { transform: scale(1.06); } }
.sigset .card { opacity: .78; }
/* The size and brightness of each piece now follow the slide itself, frame by frame, so no timed change is needed */
.sigset .card, .sigset .card:hover, .sigset .card.mid, .sigset .card.mid:hover { transition: box-shadow .9s ease; will-change: transform; }
.hero-copy p + p { margin-top: 10px; }
.hero-copy p { max-width: 52ch; }
@media (max-width: 760px) { .hero-copy h1 { font-size: clamp(32px, 9vw, 44px); margin: 12px 0 14px; } .hero-copy p { font-size: 14.5px; line-height: 1.5; } }
/* Homepage looks as a row of tall panels, edge to edge: the one under the mouse opens wide and the others narrow.
   Before any panel is touched the first one stands open. On a phone it is a row to swipe. */
.home .lookcards { display: flex; gap: clamp(6px, .7vw, 12px); height: clamp(420px, 46vw, 660px); width: 100vw; margin-left: calc(50% - 50vw); padding-inline: clamp(8px, 1.2vw, 18px); box-sizing: border-box; }
.home .lookcard { flex: 1 1 0; min-width: 0; aspect-ratio: auto; filter: brightness(.78) saturate(.85); transition: flex-grow .8s cubic-bezier(.2, .7, .2, 1), filter .8s ease; }
.home .lookcard img { object-position: 50% 22%; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.home .lookcard:hover img { transform: scale(1.03); }
.home .lookcard.open { flex-grow: 2.6; filter: none; }
.home .lookcard::before { content: 'Decode the look  +'; position: absolute; z-index: 1; left: 16px; bottom: 16px; padding: 10px 14px; background: rgba(20, 16, 11, .62); color: #f3e6c4; border: 1px solid rgba(227, 207, 159, .55); font: 700 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; opacity: 0; translate: 0 8px; transition: opacity .5s ease .15s, translate .5s ease .15s; }
.home .lookcard.open::before { opacity: 1; translate: 0 0; }
@media (max-width: 760px) {
  .home .lookcards { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: 14px; gap: 10px; }
  .home .lookcards::-webkit-scrollbar { display: none; }
  .home .lookcard, .home .lookcard.open { flex: none; width: 74vw; aspect-ratio: 3 / 4; filter: none; scroll-snap-align: center; }
  .home .lookcard::before { opacity: 1; translate: 0 0; left: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { .home .lookcard, .home .lookcard img { transition: none; } }
/* Collections slider on a phone: a shorter photo, tighter text, and two equal buttons side by side in the middle */
@media (max-width: 760px) {
  .slide-art { min-height: 0; height: auto; aspect-ratio: 5 / 4; }
  .slide-text { padding: 22px 18px 24px; }
  .slide-text h3 { font-size: 24px; margin: 8px 0 10px; }
  .slide-text p { font-size: 15px; line-height: 1.55; margin: 0 auto 18px; }
  .slide-text .cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; justify-content: stretch !important; }
  .slide-text .cta .btn { margin: 0; padding-inline: 6px; text-align: center; justify-content: center; font-size: 11px; letter-spacing: .14em; white-space: nowrap; }
}
/* How a piece is made, on a phone: centred */
@media (max-width: 760px) {
  .home #process .section-head { text-align: center; margin-inline: auto; }
  .home #process .steps li, .home #process .steps li:first-child { text-align: center; padding-inline: 8px; }
  .home #process .steps p { margin-inline: auto; max-width: 34ch; }
}
/* Collection pages on a phone: two smaller pieces to a row instead of one large one */
@media (max-width: 600px) {
  .public .grid.showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .public .grid.showcase .card { grid-template-columns: minmax(0, 1fr); }
  .public .grid.showcase .card .info { padding: 10px 10px 8px; display: block; }
  .public .grid.showcase .card .info * { min-width: 0; }
  .public .grid.showcase .card .name { font-size: 14px; line-height: 1.25; white-space: normal; }
  .public .grid.showcase .card .info .muted, .public .grid.showcase .card .info small { font-size: 11.5px; }
  .public .grid.showcase .card .btn { font-size: 10px; letter-spacing: .12em; padding: 10px 4px; margin: 0 10px 10px; width: auto; }
}
.wt i { font-style: normal; }
.wt span { white-space: nowrap; }
@media (max-width: 600px) {
  .public .grid.showcase .card .wt { font-size: 11.5px; line-height: 1.5; }
  .public .grid.showcase .card .wt i { display: none; }
  .public .grid.showcase .card .wt span { display: block; }
}
/* Gold rate boxes on a phone: centred */
@media (max-width: 760px) { .public .stats .stat { text-align: center; justify-items: center; align-items: center; } }
/* The closing box on a page ("Ask us for today's price" and the like), on a phone: centred, with two equal buttons */
@media (max-width: 760px) {
  .public .touch { flex-direction: column; align-items: center; text-align: center; }
  .public .touch p { margin-inline: auto; }
  .public .touch .touch-links { justify-content: center; width: 100%; }
  .public .touch .touch-links .btn { flex: 1 1 0; min-width: 0; max-width: 200px; padding-inline: 6px; text-align: center; justify-content: center; font-size: 11px; letter-spacing: .14em; white-space: nowrap; }
}
/* The three emblems on a phone: small, side by side in one row */
@media (max-width: 700px) {
  .public .marks-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .public .marks-row figcaption { padding-top: 8px; gap: 3px; }
  .public .marks-row figcaption b { font-size: 9px; letter-spacing: .1em; line-height: 1.3; }
  .public .marks-row figcaption span { font-size: 11px; line-height: 1.35; }
  .public .marks .section-head { text-align: center; }
}
/* Signatures row: the scrollbar must never show. Some browsers ignore the usual ways of hiding it, so the row is made
   a little taller than its frame and the frame cuts off the strip where the bar is drawn. */
.sigclip { width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; }
.sigclip .sigrow { width: 100%; margin-left: 0; padding-bottom: 74px; margin-bottom: -30px; scrollbar-width: none; -ms-overflow-style: none; }
.sigclip .sigrow::-webkit-scrollbar { display: none; width: 0; height: 0; }
/* The four trust points on a phone: a tidy two-by-two block with fine lines between, instead of four loose lines */
@media (max-width: 760px) {
  .home .trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 0; margin-inline: 14px; border: 1px solid var(--line, rgba(120, 96, 50, .25)); border-top: 0; }
  .home .trust li { display: grid; place-items: center; text-align: center; padding: 14px 8px; font-size: 10px; letter-spacing: .16em; line-height: 1.5; border: 0; }
  .home .trust li + li { border-left: 0; }
  .home .trust li:nth-child(even) { border-left: 1px solid var(--line, rgba(120, 96, 50, .25)); }
  .home .trust li:nth-child(n+3) { border-top: 1px solid var(--line, rgba(120, 96, 50, .25)); }
}
@media (max-width: 760px) {
  .home .trust { width: 100vw; margin-left: calc(50% - 50vw); margin-right: 0; box-sizing: border-box; border-left: 0; border-right: 0; }
}
/* Footer on a phone: shorter and centred. The brand block sits in the middle, Company and Collections stand side by
   side, and the three Information links run in one line. */
@media (max-width: 600px) {
  .foot-main { width: calc(100% - 36px); padding: 34px 0 22px; gap: 24px 16px; text-align: center; }
  .foot-brand img { width: 84px; margin: 0 auto 12px; display: block; }
  .foot-brand p { margin: 0 auto 8px; font-size: 13.5px; line-height: 1.6; max-width: 34ch; }
  .foot-contact { font-size: 13px; }
  .foot h3 { margin-bottom: 10px; font-size: 10.5px; }
  .foot nav { gap: 8px; justify-items: center; }
  .foot a { font-size: 13.5px; }
  .foot nav[aria-label="Information"] { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; padding-top: 18px; border-top: 1px solid rgba(205, 179, 130, .18); }
  .foot nav[aria-label="Information"] h3 { flex-basis: 100%; margin-bottom: 4px; }
  .foot-bar { width: calc(100% - 36px); padding: 16px 0 22px; gap: 12px; flex-direction: column; }
}
/* Collections slider: a small arrow on each side to step back and forward */
.car-arrow { position: absolute; z-index: 2; top: calc(50% - 20px); translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer; background: rgba(251, 249, 243, .92); color: #2a221a; border: 1px solid rgba(120, 96, 50, .35); box-shadow: 0 4px 14px rgba(40, 28, 12, .18); transition: background .25s, color .25s, border-color .25s; }
.car-arrow svg { width: 18px; height: 18px; }
.car-arrow.prev { left: -20px; }
.car-arrow.next { right: -20px; }
.car-arrow:hover, .car-arrow:focus-visible { background: #2a221a; color: #f3e6c4; border-color: #2a221a; }
@media (max-width: 1320px) { .car-arrow.prev { left: 10px; } .car-arrow.next { right: 10px; } }
@media (max-width: 760px) { .car-arrow { width: 34px; height: 34px; top: 0; translate: 0 0; margin-top: calc((100vw - 28px) * .4 - 17px); } .car-arrow.prev { left: 8px; } .car-arrow.next { right: 8px; } .car-arrow svg { width: 15px; height: 15px; } }
/* Slider arrows, transparent: only the arrow itself shows, with no circle behind it. Its colour follows what it sits on:
   dark on the ivory page, light on a photo. */
.car-arrow, .car-arrow:hover, .car-arrow:focus-visible { background: none; border: 0; box-shadow: none; color: #2a221a; opacity: .7; transition: opacity .25s, translate .25s; }
.car-arrow:hover, .car-arrow:focus-visible { opacity: 1; }
.car-arrow svg { width: 26px; height: 26px; }
.car-arrow.prev { left: -46px; }
.car-arrow.next { right: -46px; }
@media (max-width: 1360px) {
  .car-arrow.prev { left: 6px; color: #f6ecd2; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .7)); }
  .car-arrow.next { right: 6px; }
}
@media (max-width: 760px) {
  .car-arrow.prev { left: 4px; } .car-arrow.next { right: 4px; }
  .car-arrow.next { color: #f6ecd2; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .7)); }
  .car-arrow svg { width: 22px; height: 22px; }
}
/* "More collections" under a collection page: centred */
.public .otherc { text-align: center; }
.public .otherc .pills { justify-content: center; margin-inline: auto; }

/* ---------- trade account: filters, made-to-order designs, name over the large photo (added 30 Nov 2026) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 0 2px 14px; }
.wtrange { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.wtrange .input { width: 96px; padding: 7px 10px; font-size: 14px; }
.card .tag.make { background: var(--ivory); color: var(--ink, #1d1814); }
.detail .big { position: relative; }
.wm { position: absolute; inset: -20%; display: grid; grid-template-columns: repeat(3, 1fr); place-items: center; gap: 30px; transform: rotate(-28deg); pointer-events: none; user-select: none; -webkit-user-select: none; }
.wm span { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; opacity: .2; mix-blend-mode: difference; white-space: nowrap; }
.login-icon { flex: none; width: 36px; height: 36px; margin-left: 22px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold); color: inherit; text-decoration: none; transition: background .2s, color .2s; }
.login-icon:hover { background: var(--ink-fill); color: var(--ivory); }
@media (max-width: 900px) { .login-icon { margin-left: 0; margin-right: 10px; } }
/* Stock cards in the trade account: a long name must not push the card's contents wider than the card (which cut photos and buttons off). */
#grid .card { grid-template-columns: minmax(0, 1fr); align-content: start; }
#grid .card .name { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; line-height: 1.25; }
#grid .card .info { align-items: start; }
/* Order details in the trade account: a piece's photo shown large. */
.orderbig { display: block; width: 100%; margin-top: 14px; padding: 0; border: 0; background: var(--field); cursor: zoom-out; }
.orderbig img { width: 100%; max-height: 60vh; object-fit: contain; }
.order[data-action="order"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
/* Profile page in the trade account. */
.profile { max-width: 520px; margin: 34px auto 60px; }
.phead { text-align: center; margin-bottom: 22px; }
.phead h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.1; margin: 4px 0; overflow-wrap: anywhere; }
.avatar.big { width: 76px; height: 76px; font-size: 34px; margin: 0 auto 14px; }
.pcard { padding: 6px 20px; }
.prow { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line, rgba(0, 0, 0, .1)); }
.prow:last-child { border-bottom: 0; }
.prow span { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.prow b { font-family: var(--serif); font-size: 18px; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
details.pcard { padding: 16px 20px; }
details.pcard summary { cursor: pointer; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.pcard summary::-webkit-details-marker { display: none; }
details.pcard summary::after { content: '+'; font-size: 20px; font-weight: 400; }
details.pcard[open] summary::after { content: '–'; }
/* Mobile number box with a fixed +91 in front. */
.telbox { display: flex; align-items: stretch; }
.telbox > span { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line, rgba(0, 0, 0, .18)); border-right: 0; background: var(--field); font-weight: 600; }
.telbox > input { flex: 1; min-width: 0; }
/* Two-step sign-in: the notice shown only in test mode. */
.testcode { margin: 0; padding: 10px 12px; border: 1px dashed #b3261e; color: #b3261e; font-size: 13px; text-align: center; }
.testcode b { font-size: 18px; letter-spacing: .2em; }

/* ----- two-step sign-in without SMS: waiting for approval, fingerprint / Face ID ----- */
.waitdots { display: flex; justify-content: center; gap: 8px; padding: 6px 0; }
.waitdots i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); opacity: .25; animation: waitdot 1.4s ease-in-out infinite; }
.waitdots i:nth-child(2) { animation-delay: .2s; } .waitdots i:nth-child(3) { animation-delay: .4s; }
@keyframes waitdot { 0%, 80%, 100% { opacity: .25; transform: scale(1); } 40% { opacity: 1; transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .waitdots i { animation: none; opacity: .6; } }
.lockrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; }
.lockrow .btn { flex: none; }
#lockcard { margin-top: 14px; } #lockcard .error:empty { display: none; }
.devreqs { margin: 0 0 22px; padding: 16px 18px; border: 1px solid var(--gold); border-radius: var(--r); background: rgba(176, 141, 87, .08); }
.devreqs h3 { margin: 0 0 4px; } .devreqs > p { margin: 0 0 12px; font-size: 13px; }
.devreq { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(0, 0, 0, .08); line-height: 1.7; }
.devreq .badge { margin-top: 4px; }
@media (max-width: 640px) { .devreq { flex-direction: column; align-items: stretch; } .lockrow { flex-direction: column; align-items: stretch; } }
#confirm .error:empty { display: none; }

/* ----- fingerprint / Face ID for the stock manager ----- */
#lock .error:empty { display: none; }
.lockask { position: fixed; left: 50%; top: 14px; transform: translateX(-50%); z-index: 90; width: min(560px, calc(100% - 24px)); padding: 16px 18px; border: 1px solid #b3261e; border-radius: var(--r); display: grid; gap: 12px; line-height: 1.6; box-shadow: 0 18px 50px rgba(0, 0, 0, .22); }
.lockask + .lockask { top: 150px; }
.locksec { margin-top: 26px; }
.recovery { display: grid; gap: 8px; padding: 14px; border: 1px dashed var(--gold-deep); border-radius: var(--r); }
.recovery code { font-size: 20px; letter-spacing: .08em; user-select: all; word-break: break-all; }
.lockdevs { display: grid; } .lockdevs > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(0, 0, 0, .08); line-height: 1.6; }

/* ----- selection links (admin, Orders tab) ----- */
.linklist { margin: 0 0 24px; padding: 16px 18px; border: 1px solid var(--gold); border-radius: var(--r); background: rgba(176, 141, 87, .07); }
.linklist h3 { margin: 0 0 4px; } .linklist > p { margin: 0 0 10px; font-size: 13px; }
.linkrow { border-top: 1px solid rgba(0, 0, 0, .1); padding: 12px 0; display: grid; gap: 8px; }
.linkhead, .linksel { display: flex; align-items: center; justify-content: space-between; gap: 14px; line-height: 1.7; }
.linksel { padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .6); }
.linksel .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; } .linksel code { font-size: 12.5px; padding: 2px 6px; border-radius: 6px; background: rgba(0, 0, 0, .06); }
@media (max-width: 640px) { .linkhead, .linksel { flex-direction: column; align-items: stretch; } }

/* Copy guards (see the end of app.js). `guard` is set only by app.js, so the stock manager and job slips still print. */
html.guard img { -webkit-touch-callout: none; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
@media print {
  html.guard body > *:not(#estimate-print) { display: none !important; }
}


/* ---------- Stock manager, tidied (2 December 2026): one summary line, plain tabs, one row of tools, a calm list ---------- */
main.adm { padding-top: 26px; }
.adm-sum { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 4px 2px 22px; }



.adm-alerts { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.adm-alert { padding: 7px 14px; border: 1px solid var(--gold); border-radius: 999px; background: transparent; font-size: 13px; color: var(--ink); }
.adm-alert b { color: var(--gold-deep); margin-right: 3px; }
.adm-alert:hover { background: var(--field); }
.adm-tabs { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.adm-tabs::-webkit-scrollbar { display: none; }
.adm-tabs button { flex: none; padding: 0 0 12px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; font-size: 14px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.adm-tabs button:hover { color: var(--ink); }
.adm-tabs button[aria-pressed="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--gold-deep); }
.adm-tabs i, .adm-seg i { font-style: normal; font-variant-numeric: tabular-nums; }
.adm-tabs i { display: inline-block; min-width: 18px; margin-left: 7px; padding: 1px 6px; border-radius: 999px; background: var(--gold-deep); color: var(--bg); font-size: 11px; font-weight: 700; text-align: center; }
.adm-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; min-height: 0; }
.adm-bar:empty, .adm-bar:has(> .spacer:only-child) { display: none; }
.adm-bar .spacer { flex: 1; }
.adm-bar .input { width: auto; padding: 9px 14px; border-radius: var(--r); font-size: 14px; }
.adm-bar #q { flex: 1 1 240px; max-width: 340px; }
.adm-quiet { padding: 9px 12px; background: none; border: 0; border-radius: var(--r); font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.adm-quiet:hover { color: var(--ink); background: var(--field); }
.adm .panel { padding: 6px 18px 12px; }
.adm-seg { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; padding: 14px 2px 12px; }
.adm-seg::-webkit-scrollbar { display: none; }
.adm-seg button { flex: none; padding: 0; background: none; border: 0; font-size: 13px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.adm-seg button[aria-pressed="true"] { color: var(--ink); font-weight: 700; }
.adm-seg i { margin-left: 6px; font-size: 12px; opacity: .7; }
.adm-stock th { padding: 8px 10px; font-size: 10.5px; border-top: 1px solid var(--line); }
.adm-stock td { padding: 8px 10px; font-size: 14px; border-top: 1px solid var(--line); }
.adm-stock tr:hover td { background: var(--field); }
.adm-stock th:first-child, .adm-stock td:first-child { width: 30px; padding-left: 2px; padding-right: 0; }
.adm-stock td:nth-child(2) { width: 54px; padding-right: 4px; }
.adm-stock img { width: 42px; min-width: 42px; height: 42px; border-radius: var(--r); display: block; }
.adm-stock td small { display: block; margin-top: 1px; font-size: 12px; color: var(--ink-soft); }
.adm-stock td.num b { font-weight: 600; }
.adm-stock .st { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; white-space: nowrap; color: var(--ink-soft); }
.adm-stock .st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .55; }
.adm-stock .st.ok { color: var(--ok); } .adm-stock .st.warn { color: var(--warn); }
.adm-stock .st.ok::before, .adm-stock .st.warn::before { opacity: 1; }
.adm-stock small.bad { color: var(--bad); }
.adm-stock .actions { gap: 16px; flex-wrap: nowrap; }
.adm-link { padding: 4px 0; background: none; border: 0; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.adm-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.adm-link.bad { color: var(--bad); }
.adm .bulkbar { margin: 0 0 10px; border-radius: var(--r); }
@media (max-width: 720px) {
  .adm-tabs { gap: 20px; }
  .adm .panel { padding: 4px 10px 10px; }
  .adm-bar #q { max-width: none; flex-basis: 100%; }
  .adm-bar .spacer { display: none; }
  .adm-stock .actions { flex-direction: column; gap: 2px; align-items: flex-end; }
}


/* ---------- Dashboard: the page the stock manager opens on ---------- */
.adm-home { display: grid; gap: 22px; }
.dash-hello { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 6px 2px 0; }
.dash-hello h1 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; margin: 0; }
.dash-hello p { margin: 6px 0 0; color: var(--ink-soft); font-size: 14px; }
.dash-do { display: flex; flex-wrap: wrap; gap: 8px; }
.dash-figs { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface, var(--glass)); }
.dash-figs > * { display: block; padding: 20px 18px; text-align: left; background: none; border: 0; border-left: 1px solid var(--line); color: inherit; font: inherit; min-width: 0; }
.dash-figs > *:first-child { border-left: 0; }
.dash-figs b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dash-figs > * > span { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-soft); }
.dash-figs button:hover { background: var(--field); }
.dash-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.dash-side { display: grid; gap: 22px; }
.dash-card { padding: 20px 22px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface, var(--glass)); }
.dash-card h2 { margin: 0 0 14px; font-family: inherit; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.dash-card h2 .adm-link { letter-spacing: 0; text-transform: none; font-size: 13px; padding: 0; margin-top: -2px; }
.dash-cats { display: grid; }
.dash-cats button { position: relative; display: grid; grid-template-columns: 1fr 52px 120px; align-items: baseline; gap: 10px; padding: 11px 0 13px; background: none; border: 0; border-top: 1px solid var(--line); text-align: left; color: inherit; font: inherit; font-size: 14px; }
.dash-cats button:first-child { border-top: 0; }
.dash-cats button:hover .n { text-decoration: underline; text-underline-offset: 3px; }
.dash-cats .n { font-weight: 600; }
.dash-cats .c, .dash-cats .w { text-align: right; font-variant-numeric: tabular-nums; }
.dash-cats .c { color: var(--ink-soft); }
.dash-cats i { position: absolute; left: 0; bottom: 5px; height: 2px; background: var(--gold-deep); opacity: .55; border-radius: 2px; }
.dash-wait { display: grid; }
.dash-wait button { display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; gap: 8px; padding: 10px 0; background: none; border: 0; border-top: 1px solid var(--line); text-align: left; color: inherit; font: inherit; font-size: 14px; }
.dash-wait button:first-child { border-top: 0; padding-top: 0; }
.dash-wait b { font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--gold-deep); }
.dash-wait em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.dash-wait button:hover em { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.dash-rates { display: grid; gap: 10px; }
.dash-rates div { display: flex; align-items: baseline; gap: 10px; font-size: 14px; }
.dash-rates span { flex: 1; } .dash-rates b { font-family: var(--display); font-weight: 400; font-size: 20px; } .dash-rates small { color: var(--ink-soft); }
.dash-latest { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 12px; }
.dash-latest button { display: block; padding: 0; background: none; border: 0; text-align: left; color: inherit; font: inherit; min-width: 0; }
.dash-latest img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); display: block; background: #000; }
.dash-latest b { display: block; margin-top: 8px; font-size: 13px; }
.dash-latest span { display: block; font-size: 12px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-latest button:hover b { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .dash-figs { grid-template-columns: repeat(3, 1fr); }
  .dash-figs > *:nth-child(4) { border-left: 0; }
  .dash-figs > *:nth-child(n+4) { border-top: 1px solid var(--line); }
  .dash-cols { grid-template-columns: 1fr; }
  .dash-latest { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .dash-figs { grid-template-columns: repeat(2, 1fr); }
  .dash-figs > * { border-left: 0; padding: 16px 14px; }
  .dash-figs > *:nth-child(even) { border-left: 1px solid var(--line); }
  .dash-figs > *:nth-child(n+3) { border-top: 1px solid var(--line); }
  .dash-card { padding: 18px 16px; }
  .dash-cats button { grid-template-columns: 1fr 36px 104px; font-size: 13.5px; }
  .dash-do .btn { flex: 1 1 auto; }
}


/* Covered stock figures, each with its own eye: closed while covered, open while shown */
.veil { letter-spacing: .12em; color: var(--ink-soft); opacity: .55; font-family: inherit; }
.dash-figs b .veil { font-size: .7em; }
.adm-eye { display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink-soft); vertical-align: middle; }
.adm-eye svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.adm-eye:hover { color: var(--ink); background: var(--field); }
.adm-eye[aria-pressed="true"] { color: var(--gold-deep); }
.dash-veil { position: relative; }
.dash-veil .adm-eye { position: absolute; top: 10px; right: 10px; }


/* Summary line above the tabs: two figures built the same way, each with its eye beside the number and its label under it */
.adm-fig { display: flex; align-items: flex-start; gap: 0; }
.adm-fig > div { padding: 0 28px; border-left: 1px solid var(--line); }
.adm-fig > div:first-child { padding-left: 0; border-left: 0; }
.adm-fig p { display: flex; align-items: center; gap: 8px; margin: 0; min-height: 34px; }
.adm-fig b { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.adm-fig b .veil { font-size: .7em; }
.adm-fig > div > span { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-soft); }
.adm-fig .adm-eye { width: 28px; height: 28px; }
.adm-fig .adm-eye svg { width: 18px; height: 18px; }
@media (max-width: 520px) { .adm-fig > div { padding: 0 18px; } .adm-fig b { font-size: 26px; } }


/* Activity list in the stock manager: days and people that open like drawers */
.log-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 30px 2px 12px; }
.log-head h3 { margin: 0; font-size: 22px; } .log-head p { margin: 4px 0 0; font-size: 13px; }
.log-list { display: grid; gap: 8px; margin-bottom: 8px; }
.log-box { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface, transparent); }
.log-box > summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 14px; padding: 13px 16px 13px 38px; cursor: pointer; list-style: none; position: relative; font-size: 14.5px; }
.log-box > summary::-webkit-details-marker { display: none; }
.log-box > summary::before { content: ""; position: absolute; left: 16px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border-right: 1.6px solid var(--ink-soft); border-bottom: 1.6px solid var(--ink-soft); transform: rotate(-45deg); transition: transform .15s; }
.log-box[open] > summary::before { transform: rotate(45deg); margin-top: -6px; }
.log-box > summary:hover { background: var(--field); }
.log-t { font-weight: 600; } .log-t b { font-weight: 600; } .log-t .badge { margin-left: 6px; font-size: 10px; padding: 2px 8px; vertical-align: 1px; }
.log-n { font-size: 12.5px; color: var(--ink-soft); }
.log-in { padding: 4px 12px 12px; display: grid; gap: 6px; }
.log-box.sub { border-color: transparent; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.log-box.sub:first-child { border-top: 0; }
.log-box.sub > summary { padding: 10px 8px 10px 30px; font-size: 14px; }
.log-box.sub > summary::before { left: 10px; }
.log-box.sub .log-in { padding: 0 0 8px 30px; }
.log-rows { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.log-rows td { padding: 7px 8px; border-top: 1px solid var(--line); vertical-align: top; }
.log-rows td:first-child { width: 92px; white-space: nowrap; color: var(--ink-soft); font-variant-numeric: tabular-nums; }


/* Stock list folded into one drawer per category */
.stock-groups { display: grid; gap: 8px; padding: 4px 0 8px; }
.stock-groups .group-in { padding: 0 12px 8px; }
.stock-groups .log-box > summary { font-size: 15px; }


/* ---------- Staff home: greeting, one box to start from tag numbers, a list of actions, and their own recent work ---------- */
.sh { width: min(1080px, 100%); margin: 0 auto; padding: 18px 0 40px; display: grid; gap: 26px; }
.sh-hello h1 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; margin: 8px 0 0; }
.sh-hello p { margin: 8px 0 0; color: var(--ink-soft); font-size: 14px; }
.sh-start { padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface, var(--glass)); }
.sh-start label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.sh-row { display: flex; gap: 10px; }
.sh-row .input { flex: 1; min-width: 0; font-size: 17px; padding: 14px 16px; border-radius: var(--r); letter-spacing: .02em; }
.sh-row .btn { flex: none; }
.sh-start p { margin: 12px 0 0; font-size: 13px; color: var(--ink-soft); }
.sh-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.sh-card { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface, var(--glass)); padding: 22px 26px 12px; }
.sh-card h2 { margin: 0 0 6px; font-family: inherit; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.sh-item { display: grid; grid-template-columns: 44px 1fr 14px; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.sh-item:first-child { border-top: 0; }
.sh-ico { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold-deep); transition: background .15s, color .15s; }
.sh-ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sh-txt b { display: block; font-size: 16px; font-weight: 600; }
.sh-txt small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--ink-soft); }
.sh-item i { width: 8px; height: 8px; border-right: 1.6px solid var(--ink-soft); border-bottom: 1.6px solid var(--ink-soft); transform: rotate(-45deg); transition: transform .15s; }
.sh-item:hover .sh-ico { background: var(--ink-fill, var(--ink)); color: var(--ivory, #fff); border-color: transparent; }
.sh-item:hover i { transform: translateX(3px) rotate(-45deg); }
.sh-item:hover b { text-decoration: underline; text-underline-offset: 3px; }
.sh-log { padding-bottom: 10px; }
.sh-log > div { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.45; }
.sh-log > div:first-child { border-top: 0; }
.sh-log time { font-size: 12px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.sh-log p { margin: 8px 0 6px; font-size: 13.5px; line-height: 1.5; }
@media (max-width: 820px) {
  .sh { gap: 18px; padding-top: 6px; }
  .sh-cols { grid-template-columns: 1fr; gap: 18px; }
  .sh-start, .sh-card { padding-left: 18px; padding-right: 18px; }
  .sh-row { flex-wrap: wrap; }
  .sh-row .input { flex-basis: 100%; }
  .sh-row .btn { flex: 1; }
}


/* Piece view in the trade account: the whole photo fits in its frame, and can be enlarged */
.detail .big.zoombox { background: #0b0907; touch-action: none; }
.detail .big.zoombox img { object-fit: contain; transition: transform .18s ease-out; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.detail .big.zoombox.zoomed img { cursor: grab; transition: none; }
.detail .big.zoombox .zoomctl { z-index: 2; }


/* ---------- Party home ---------- */
.ph { width: min(1180px, 100%); gap: 34px; }
.ph-hello { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.ph-rates { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface, var(--glass)); }
.ph-rates a { padding: 20px 24px; border-left: 1px solid var(--line); text-decoration: none; color: inherit; display: block; }
.ph-rates a:first-child { border-left: 0; }
.ph-rates small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.ph-rates b { display: block; margin: 6px 0 2px; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.ph-rates span { font-size: 12.5px; color: var(--ink-soft); }
.ph-rates a:hover { background: var(--field); }
.ph-h { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 16px; font-family: var(--display); font-weight: 400; font-size: 26px; }
.ph-h .link { font-family: var(--sans, inherit); font-size: 13px; }
.ph-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: #0b0907; }
.ph-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ph-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 16px; }
.ph-cats a { text-decoration: none; color: inherit; text-align: center; }
.ph-cats b { display: block; margin-top: 10px; font-family: var(--display); font-weight: 400; font-size: 19px; }
.ph-cats a:hover img, .ph-new button:hover img { transform: scale(1.05); }
.ph-cats a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.ph-new { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 16px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.ph-new::-webkit-scrollbar { display: none; }
.ph-new button { padding: 0; border: 0; background: none; text-align: left; color: inherit; font: inherit; min-width: 0; }
.ph-new b { display: block; margin-top: 9px; font-size: 13px; letter-spacing: .08em; color: var(--gold-deep); }
.ph-new small { display: block; font-size: 12.5px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-none { margin: 10px 0 14px; font-size: 14px; line-height: 1.5; }
.ph-orders { display: grid; gap: 10px; margin: 8px 0 12px; }
@media (max-width: 820px) { .ph { gap: 26px; } .ph-rates { grid-template-columns: 1fr; } .ph-rates a { border-left: 0; border-top: 1px solid var(--line); } .ph-rates a:first-child { border-top: 0; } .ph-cats { grid-template-columns: repeat(2, 1fr); } .ph-new { grid-auto-columns: 42%; } .ph-hello .btn { width: 100%; text-align: center; } }
.ph > *, .ph section { min-width: 0; }
.ph { grid-template-columns: minmax(0, 1fr); }

/* Tick boxes inside a form field (the categories a login can see): the box must not take the wide text-box styling of `.field input` */
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.checks label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field .checks input[type=checkbox], .checks input[type=checkbox] { flex: none; width: 17px; height: 17px; min-width: 0; padding: 0; margin: 0; border-radius: 3px; box-shadow: none; accent-color: var(--gold-deep); }


/* View-only (partner) mode in the stock manager: the buttons that change things are hidden; the server refuses them anyway */
.vo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 10px 16px; margin-bottom: 18px; border: 1px solid var(--gold); border-radius: var(--r); font-size: 13.5px; background: var(--surface, transparent); }
.viewonly [data-action="add"], .viewonly [data-action="import"], .viewonly [data-action="sold"], .viewonly [data-action="restock"], .viewonly [data-action="edit"],
.viewonly [data-action="estimate-new"], .viewonly [data-action="estimate-checked"], .viewonly [data-action="estimate-order"], .viewonly [data-action="link-estimate"],
.viewonly [data-action="bulk"], .viewonly [data-bulk], .viewonly [data-action="add-party"], .viewonly [data-action="add-staff"], .viewonly [data-action="edit-party"],
.viewonly [data-action="add-look"], .viewonly [data-action="add-post"], .viewonly [data-action="add-order"], .viewonly [data-action="confirm"], .viewonly [data-action="cancel"],
.viewonly [data-action="device"], .viewonly [data-action="link-off"], .viewonly [data-action="link-delete"], .viewonly [data-action="partner-reset"], .viewonly [data-action="partner-block"],
.viewonly [data-action^="lock"], .viewonly [data-stage], .viewonly form button, .viewonly input[type=file], .viewonly [data-check], .viewonly .dash-do [data-action="add"] { display: none !important; }

/* Fixes from the screen-by-screen check (2 December 2026) */
.stock-groups { grid-template-columns: minmax(0, 1fr); }
.stock-groups .group-in { overflow-x: auto; }
.stock-groups .log-box > summary { flex-wrap: nowrap; }
.stock-groups .log-n { flex: none; }
@media (max-width: 720px) {
  /* A request waiting for the owner sits at the bottom of a phone screen, so it does not cover the menu and tabs */
  .lockask { top: auto !important; bottom: 10px; left: 10px; right: 10px; width: auto; max-height: 46vh; overflow: auto; }
}
@media (max-width: 720px) { .lockask { transform: none; } .lockask + .lockask { top: auto !important; bottom: 10px; } }
/* View only: nothing that edits or deletes is offered, and boxes on the settings pages cannot be typed into */
.viewonly [data-action^="edit"], .viewonly [data-action^="delete"], .viewonly [data-action^="remove"], .viewonly [data-action="publish"], .viewonly [data-action="spot"] { display: none !important; }
.viewonly .panel form :is(input, select, textarea) { pointer-events: none; opacity: .8; }
/* Phone: the weight row wraps, so the "With their earrings" button does not push the page wider than the screen */
.filters { min-width: 0; max-width: 100%; }
.wtrange { flex-wrap: wrap; row-gap: 8px; max-width: 100%; }
@media (max-width: 720px) { .wtrange .chip { flex: 1 1 100%; } .wtrange .input { flex: 1 1 90px; min-width: 0; } }
