/* Contact Me and Size Guide - built by scripts/pages/build_pages.py. Loaded only on those two pages. */

/* The pages carry their own heading (h1), so the template's title steps aside. */
html body .wp-block-post-title:has(+ .entry-content .bcp),
html body main:has(.bcp) > .wp-block-post-title { display: none !important; }
/* Use the theme's wide width (1180px), not the 760px text column. */
html body main > .entry-content:has(.bcp) { max-width: var(--wp--style--global--wide-size, 1180px) !important; }
html body .entry-content > .alignwide:has(> .bcp) { max-width: none !important; width: 100% !important; }

.bcp { --bcp-gap: 56px; color: var(--bc-charcoal); font-family: Urbanist, Arial, sans-serif; font-size: 16px; line-height: 1.65; }
.bcp *, .bcp *::before, .bcp *::after { box-sizing: border-box; }
.bcp p { margin: 0 0 14px; }
.bcp a:not([class]) { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.bcp > section + section { margin-top: var(--bcp-gap); }

.bcp-eyebrow { margin: 0 0 12px !important; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bc-bronze); }
.bcp-display { margin: 0 0 18px; font-family: "Tenor Sans", Arial, sans-serif; font-size: clamp(38px, 5vw, 56px); font-weight: 400; line-height: 1.12; color: var(--bc-charcoal); }
.bcp-h2 { margin: 0 0 24px; font-family: "Tenor Sans", Arial, sans-serif; font-size: clamp(26px, 3vw, 32px); font-weight: 400; line-height: 1.2; }
.bcp-lede { font-size: 18px; line-height: 1.6; }
.bcp-panel { padding: 48px; background: #F3EDDF; }

.bcp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.bcp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 22px; border: 1px solid var(--bc-gold); background: var(--bc-gold); color: var(--bc-charcoal) !important; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none !important; transition: background .15s, border-color .15s; }
.bcp-btn:hover { background: #C38C22; border-color: #C38C22; }
.bcp-btn--ghost { background: transparent; border-color: rgba(46, 46, 46, .45); }
.bcp-btn--ghost:hover { background: transparent; border-color: var(--bc-charcoal); }
.bcp a:focus-visible, .bcp button:focus-visible { outline: 2px solid var(--bc-charcoal); outline-offset: 3px; }

/* ---------- Contact Me ---------- */
.bcp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.bcp-channels { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bcp-channel { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid rgba(46, 46, 46, .16); background: #fff; color: var(--bc-charcoal) !important; text-decoration: none !important; transition: border-color .15s, transform .15s; }
.bcp-channel:hover { border-color: var(--bc-charcoal); }
.bcp-channel__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; height: 44px; border-radius: 50%; background: #F3EDDF; color: var(--bc-bronze); }
.bcp-channel__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.bcp-channel__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.bcp-channel__value { font-size: 16px; overflow-wrap: anywhere; color: #5c5c5c; }
.bcp-channel__arrow { display: flex; color: #8a8a8a; transition: transform .15s, color .15s; }
.bcp-channel:hover .bcp-channel__arrow { transform: translateX(3px); color: var(--bc-charcoal); }

.bcp-answers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bcp-answer { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #fff; border: 1px solid transparent; color: var(--bc-charcoal) !important; text-decoration: none !important; transition: border-color .15s; }
.bcp-answer:hover { border-color: var(--bc-charcoal); }
.bcp-answer__icon { color: var(--bc-bronze); margin-bottom: 4px; }
.bcp-answer__title { font-family: "Tenor Sans", Arial, sans-serif; font-size: 20px; }
.bcp-answer__text { font-size: 14.5px; line-height: 1.55; color: #5c5c5c; }

/* ---------- Size Guide ---------- */
.bcp-hero { text-align: center; padding: 56px 48px; }
.bcp-hero .bcp-lede { max-width: 560px; margin: 0 auto 28px; }
.sg-toggle { display: inline-flex; border: 1px solid var(--bc-charcoal); }
.sg-toggle button { min-width: 132px; min-height: 46px; margin: 0; padding: 0 22px; border: 0; background: transparent; color: var(--bc-charcoal); font: 700 13px/1 Urbanist, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.sg-toggle button.is-on { background: var(--bc-gold); }
.sg-pane[hidden] { display: none !important; }
.sg-pane > .sg-step { margin-top: var(--bcp-gap); }

.sg-step__title { display: flex; align-items: baseline; gap: 14px; margin: 0 0 8px; font-family: "Tenor Sans", Arial, sans-serif; font-size: clamp(26px, 3vw, 32px); font-weight: 400; line-height: 1.2; }
.sg-step__num { font-size: .7em; color: var(--bc-bronze); letter-spacing: .04em; }
.sg-step__sub { margin-bottom: 28px !important; color: #5c5c5c; }

.sg-necklace, .sg-bracelet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.sg-figure-wrap { display: flex; align-items: center; justify-content: center; padding: 24px; background: #fff; border: 1px solid rgba(46, 46, 46, .1); }
.sg-figure { display: block; width: 100%; max-width: 380px; height: auto; }
.sg-neck__chain { fill: none; stroke: #CFC5B5; stroke-width: 1.6; stroke-dasharray: 1 4.5; stroke-linecap: round; transition: stroke .25s, stroke-width .25s; }
.sg-neck__drop, .sg-neck__lead, .sg-neck__label { opacity: 0; transition: opacity .25s; }
.sg-neck__drop { fill: var(--bc-gold); stroke: var(--bc-gold); stroke-width: 2; }
.sg-neck__lead { stroke: var(--bc-charcoal); stroke-width: 1; stroke-dasharray: 2 3; fill: none; }
.sg-neck__label { font: 700 15px Urbanist, Arial, sans-serif; fill: var(--bc-charcoal); }
.sg-neck.is-on .sg-neck__chain { stroke: var(--bc-gold); stroke-width: 3.2; stroke-dasharray: none; }
.sg-neck.is-on .sg-neck__drop, .sg-neck.is-on .sg-neck__lead, .sg-neck.is-on .sg-neck__label { opacity: 1; }

.sg-chosen { margin-bottom: 20px; padding: 22px 24px; border-left: 3px solid var(--bc-gold); background: #F3EDDF; }
.sg-chosen p { margin: 0 !important; }
.sg-chosen__name { font-family: "Tenor Sans", Arial, sans-serif; font-size: 28px; line-height: 1.2; }
.sg-chosen__cm { margin: 2px 0 8px !important; font-size: 18px; font-weight: 700; color: var(--bc-bronze); }
.sg-chosen__desc { color: #5c5c5c; }
.sg-lens { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sg-len, .sg-size { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; margin: 0; padding: 0 16px; border: 1px solid rgba(46, 46, 46, .35); background: #fff; color: var(--bc-charcoal); font: 400 16px Urbanist, Arial, sans-serif; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.sg-len:hover, .sg-size:hover { border-color: var(--bc-charcoal); }
.sg-len.is-on, .sg-size[aria-pressed="true"] { background: var(--bc-gold); border-color: var(--bc-gold); font-weight: 700; }
.sg-len__cm { font-size: 13px; color: #5c5c5c; }
.sg-len.is-on .sg-len__cm { color: var(--bc-charcoal); }

.sg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.sg-card { position: relative; padding: 24px; background: #fff; }
.sg-card__num { position: absolute; top: 18px; left: 22px; font-family: "Tenor Sans", Arial, sans-serif; font-size: 15px; color: var(--bc-bronze); }
.sg-card__art { display: block; width: 100%; max-width: 180px; height: auto; margin: 4px auto 14px; }
.sg-card__title { margin: 0 0 6px; font-family: "Tenor Sans", Arial, sans-serif; font-size: 19px; font-weight: 400; line-height: 1.3; }
.sg-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #5c5c5c; }
.sg-tip { margin: 24px 0 0 !important; padding: 16px 20px; border-left: 3px solid var(--bc-gold); background: #fff; font-size: 14.5px; }
.sg-bracelet .sg-tip { background: #F3EDDF; }

.sg-figure-wrap--wrist { padding: 32px 16px; }
.sg-wrist { display: block; width: 100%; max-width: 420px; height: auto; }
.sg-wrist__k { font: 700 11px Urbanist, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; fill: #5c5c5c; }
.sg-wrist__v { font: 400 20px "Tenor Sans", Arial, sans-serif; fill: var(--bc-charcoal); }
.sg-wrist__note { font: 400 12px Urbanist, Arial, sans-serif; fill: #5c5c5c; }
.sg-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sg-table th { padding: 0 8px 10px 0; border-bottom: 1px solid var(--bc-charcoal); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.sg-table td { padding: 8px 8px 8px 0; border-bottom: 1px solid rgba(46, 46, 46, .14); }
.sg-table tr.is-on td { background: rgba(212, 154, 42, .08); }
.sg-size { min-width: 64px; min-height: 40px; justify-content: center; }

@media (max-width: 900px) {
	.bcp-answers { grid-template-columns: 1fr 1fr; }
	.bcp-split { gap: 40px; }
}
@media (max-width: 781px) {
	.bcp { --bcp-gap: 40px; }
	.bcp-split, .sg-necklace, .sg-bracelet { grid-template-columns: 1fr; gap: 28px; }
	.bcp-panel, .bcp-hero { padding: 32px 20px; }
	.sg-cards { grid-template-columns: 1fr; }
	.sg-figure { max-width: 300px; }
	.sg-toggle button { min-width: 0; flex: 1; }
	.sg-toggle { display: flex; max-width: 320px; margin: 0 auto; }
}
@media (max-width: 480px) {
	.bcp-answers { grid-template-columns: 1fr; }
	.bcp-actions .bcp-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.bcp *, .bcp *::before, .bcp *::after { transition: none !important; }
}

/* ---------- Markets (list rendered by [bc_markets], bc-markets.php) ---------- */
.bcm-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.bcm-card { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 28px; background: #fff; border: 1px solid rgba(46, 46, 46, .12); }
.bcm-date { display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: stretch; min-height: 120px; padding: 16px 8px; background: #F3EDDF; text-align: center; }
.bcm-date__big { font-family: "Tenor Sans", Arial, sans-serif; font-size: 34px; line-height: 1.1; color: var(--bc-charcoal); }
.bcm-date__dash { margin: 0 .08em; font-size: .6em; vertical-align: .22em; }
.bcm-date__small { margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bc-bronze); }
.bcm-name { margin: 0 0 4px; font-family: "Tenor Sans", Arial, sans-serif; font-size: clamp(24px, 2.6vw, 30px); font-weight: 400; line-height: 1.2; }
.bcm-note { margin: 0 0 12px !important; color: #5c5c5c; }
.bcm-where { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px !important; font-weight: 700; }
.bcm-where svg { flex: none; margin-top: 3px; color: var(--bc-bronze); }
.bcm-days { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bcm-days li { display: flex; flex-wrap: wrap; gap: 4px 14px; padding-top: 6px; border-top: 1px solid rgba(46, 46, 46, .1); }
.bcm-day { min-width: 200px; }
.bcm-hours { font-weight: 700; color: var(--bc-bronze); }
.bcm-actions { display: flex; flex-direction: column; gap: 10px; }
.bcm-empty { padding: 40px; background: #F3EDDF; text-align: center; }
.bcm-empty .bcp-lede { max-width: 560px; margin: 0 auto !important; }
@media (max-width: 781px) {
	.bcm-card { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
	.bcm-date { flex-direction: row; gap: 10px; min-height: 0; padding: 12px 16px; align-self: auto; justify-content: flex-start; }
	.bcm-date__big { font-size: 26px; }
	.bcm-date__small { margin-top: 0; }
	.bcm-day { min-width: 0; }
	.bcm-actions { flex-direction: row; flex-wrap: wrap; }
	.bcm-actions .bcp-btn { flex: 1 1 auto; }
}
.bcm-card--photo { grid-template-columns: 220px minmax(0, 1fr) auto; }
.bcm-media { position: relative; align-self: stretch; margin: 0; }
.bcm-photo { display: block; width: 100%; height: 100%; min-height: 220px; max-height: 280px; object-fit: cover; }
.bcm-media .bcm-date { position: absolute; left: 10px; bottom: 10px; min-height: 0; padding: 8px 12px; align-self: auto; box-shadow: 0 6px 18px rgba(46, 46, 46, .18); }
.bcm-media .bcm-date__big { font-size: 26px; }
.bcm-media .bcm-date__small { margin-top: 2px; }
.bcm-credit { position: absolute; right: 0; bottom: 0; max-width: 100%; padding: 2px 6px; background: rgba(46, 46, 46, .6); color: #fff; font-size: 10.5px; line-height: 1.4; }
.bcm-credit a { color: inherit !important; }
@media (max-width: 781px) {
	.bcm-card--photo { grid-template-columns: 1fr; }
	.bcm-photo { min-height: 0; max-height: none; aspect-ratio: 16 / 10; }
	.bcm-media .bcm-date { flex-direction: column; gap: 0; padding: 8px 12px; }
}
