/*
Theme Name: BMT Couture
Template: twentytwentyfive
Description: Break My Track child theme - black, white and gold couture look.
Version: 1.0.0
Text Domain: bmt-couture
*/

/* ---------- base ---------- */
body { font-feature-settings: "kern" 1; -webkit-font-smoothing: antialiased; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.wp-site-blocks { padding-top: 0 !important; }
a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
::selection { background: var(--wp--preset--color--gold); color: #000; }

/* ---------- header ---------- */
.bmt-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.12); }
.bmt-header .wp-block-site-logo img { width: 64px; height: auto; }
.bmt-header .wp-block-navigation { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.bmt-header .wp-block-navigation a:hover { color: var(--wp--preset--color--gold); }
.bmt-header .wp-block-navigation__submenu-container { background: #000 !important; border: 1px solid rgba(255,255,255,.15) !important; }
.bmt-header .wp-block-button__link { padding: .7em 1.3em; font-size: .72rem; }
.admin-bar .bmt-header { top: 32px; }

/* ---------- sections ---------- */
.bmt-sec { padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3rem); margin: 0 !important; }
.bmt-sec:nth-child(even of .bmt-sec) { background: var(--wp--preset--color--stone); }
.bmt-sec > * { margin-left: auto; margin-right: auto; }
.bmt-sec h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.02; letter-spacing: -.01em; margin-bottom: .4em; }
.bmt-sec h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.08; margin-bottom: .6em; }
.bmt-sec h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.bmt-sec h4 { font-size: 1.35rem; margin-bottom: .35em; }
.bmt-sec p { max-width: var(--wp--style--global--content-size); }
.bmt-sec .wp-block-buttons { margin-top: 1.6rem; }
.bmt-sec-code { background: #000 !important; padding: 0 !important; }
.bmt-sec-code > * { max-width: none !important; }

/* gold hairline under section h2 */
.bmt-sec > h2.wp-block-heading::after { content: ""; display: block; width: 56px; height: 1px; margin-top: .45em; background: var(--wp--preset--color--gold); }
.has-text-align-center.wp-block-heading::after, .bmt-center h2::after { margin-left: auto; margin-right: auto; }

/* ---------- card grids ---------- */
.bmt-grid { gap: clamp(1.25rem, 2.5vw, 2.25rem) !important; max-width: var(--wp--style--global--wide-size) !important; margin-top: 2.5rem !important; }
.bmt-card { background: #fff; border: 1px solid rgba(0,0,0,.14); padding: 0 0 1.75rem !important; display: flex; flex-direction: column; }
.bmt-card > * { padding-left: 1.5rem; padding-right: 1.5rem; max-width: none !important; }
.bmt-card .wp-block-image { padding: 0; margin: 0 0 1.4rem; }
.bmt-card .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; filter: grayscale(.15) contrast(1.04); }
.bmt-card .wp-block-buttons { margin-top: auto; padding-top: 1rem; }
.bmt-card p { font-size: .98rem; }

/* ---------- buttons ---------- */
.wp-element-button, .wp-block-button__link { border-radius: 0 !important; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 500; transition: background .2s, color .2s; }
.wp-block-button__link:hover { background: var(--wp--preset--color--gold) !important; color: #000 !important; }
.bmt-sec .wp-block-buttons .wp-block-button + .wp-block-button .wp-block-button__link { background: transparent; color: currentColor; box-shadow: inset 0 0 0 1px currentColor; }

/* ---------- media / embeds ---------- */
.bmt-video { position: relative; aspect-ratio: 16 / 9; max-width: var(--wp--style--global--wide-size); margin: 1.5rem auto; background: #000; }
.bmt-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
iframe.bmt-frame { display: block; width: 100%; border: 0; min-height: 320px; background: #000; }
.bmt-sec .wp-block-image img { height: auto; }

/* home hero with the logo video */
.bmt-hero { position: relative; background: #000; overflow: hidden; height: min(82vh, 56.25vw); min-height: 320px; margin: 0 !important; max-width: none !important; }
.bmt-hero iframe { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.bmt-hero-cta { position: absolute; left: 0; right: 0; bottom: clamp(1.5rem, 5vh, 3.5rem); display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; z-index: 2; }
.bmt-hero-cta a { background: #000; color: #fff; border: 1px solid #fff; padding: .95em 1.8em; text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; text-decoration: none; }
.bmt-hero-cta a:first-child { background: #fff; color: #000; }
.bmt-hero-cta a:hover { background: var(--wp--preset--color--gold); color: #000; border-color: var(--wp--preset--color--gold); }

/* ---------- forms (WPForms) ---------- */
.wpforms-container .wpforms-field input, .wpforms-container .wpforms-field textarea { border-radius: 0 !important; border: 1px solid rgba(0,0,0,.35) !important; font-family: inherit !important; }
.wpforms-container button[type=submit] { border-radius: 0 !important; background: #000 !important; color: #fff !important; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem !important; padding: 1em 2em !important; height: auto !important; }
.wpforms-container button[type=submit]:hover { background: var(--wp--preset--color--gold) !important; color: #000 !important; }

/* ---------- footer ---------- */
.bmt-footer a { color: inherit; text-decoration: none; }
.bmt-footer a:hover { color: var(--wp--preset--color--gold); }
.bmt-footer .bmt-foot-links { columns: 2; column-gap: 2rem; list-style: none; padding: 0; margin: 0; font-size: .86rem; line-height: 2; }
.bmt-footer h2 { font-size: 1.05rem !important; letter-spacing: .02em; }
.bmt-footer .wpforms-container input { background: transparent !important; color: #fff !important; border-color: rgba(255,255,255,.5) !important; }
.bmt-footer .wpforms-container button[type=submit] { background: #fff !important; color: #000 !important; }
.bmt-ad-slot { max-width: 970px; margin: 0 auto; min-height: 0; }

@media (max-width: 781px) {
  .bmt-header .wp-block-buttons { display: none; }
  .bmt-footer .bmt-foot-links { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { .bmt-hero iframe { display: none; } }

/* ---------- full-bleed sections (page-no-title template) ---------- */
.wp-block-post-content > .bmt-sec { max-width: none; width: 100%; }
.wp-block-post-content > .bmt-hero { width: 100%; }
.bmt-hero { background: #000 url("https://i.vimeocdn.com/video/1667001664-25e18c83dfc0cd6edeab43778a523b5626064308b77e0327dae83e272270f0b7-d_1280") center / cover no-repeat; }
.bmt-sec > .bmt-grid.alignwide { max-width: var(--wp--style--global--wide-size) !important; }
.bmt-card:not(:has(.wp-block-image))::before { content: ""; display: block; aspect-ratio: 4 / 3; margin-bottom: 1.4rem; background: #000 url("/wp-content/uploads/bmt-mark.png") center / 34% no-repeat; }
.bmt-price { font-family: var(--wp--preset--font-family--display); font-size: 1.3rem !important; color: var(--wp--preset--color--ink); margin-top: -.2rem !important; }
.bmt-price s { color: var(--wp--preset--color--graphite); font-size: .85em; margin-right: .35em; }
.bmt-card h4 { text-align: left; }
