/*
Theme Name: Brarmann Co.
Theme URI: https://brarmanncompany.com/
Description: Block theme for Brarmann Co. Black and equipment yellow, Oswald headings, Inter body.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: brarmann
*/

/* ---------- Base ---------- */
body { -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.wp-site-blocks { padding-top: 0; padding-bottom: 0; }
main { display: block; }
:focus-visible { outline: 3px solid var(--wp--preset--color--yellow); outline-offset: 2px; }

/* ---------- Header ---------- */
.bc-site-header > * { margin-top: 0 !important; }
.bc-utility { font-size: 14px; color: var(--wp--preset--color--muted-dark); }
.bc-utility p { margin: 0; }
.bc-utility a { color: #fff; font-weight: 600; text-decoration: none; }
.bc-utility .bc-util-left { gap: 6px 24px; }
.bc-header { border-bottom: 1px solid #2A2A2A; }
.bc-brand { gap: 12px; }
.bc-brand a { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.bc-logo-mark { width: 48px; height: 48px; flex: 0 0 48px; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--ink); display: flex; align-items: center; justify-content: center; font-family: var(--wp--preset--font-family--oswald); font-size: 32px; border-radius: 3px; line-height: 1; }
.bc-logo { display: block; height: 56px; width: auto; max-width: 62vw; }
@media (max-width: 480px) { .bc-logo { height: 38px; } }
.bc-logo-text { display: flex; flex-direction: column; line-height: 1; }
.bc-logo-text strong { font-family: var(--wp--preset--font-family--oswald); font-weight: 400; font-size: 24px; letter-spacing: 2px; color: #fff; }
.bc-logo-text small { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: #A6A6A6; margin-top: 4px; }
.bc-header .wp-block-navigation { color: #E6E6E6; }
.bc-header .wp-block-navigation .wp-block-navigation-item__content { color: inherit !important; }
.bc-header .wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--yellow) !important; }
.bc-header .wp-block-navigation .current-menu-item > a { color: var(--wp--preset--color--yellow); }
.bc-header .wp-block-navigation__responsive-container-open { color: #fff; border: 1px solid rgba(255,255,255,.6); border-radius: 3px; width: 48px; height: 48px; align-items: center; justify-content: center; }
@media (max-width: 1100px) {
	.bc-header .wp-block-navigation__responsive-container-open { display: flex !important; }
	.bc-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
}
.bc-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--ink) !important; color: #fff !important; padding: 24px; }
.bc-header .wp-block-navigation__responsive-container.is-menu-open a { color: #fff; font-size: 20px; }
/* Phone menu: left-aligned list with dividers, services indented under their heading */
.bc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch !important; padding-top: 56px; }
.bc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: stretch !important; gap: 0 !important; width: 100%; }
.bc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: stretch !important; border-bottom: 1px solid #2A2A2A; padding: 0; }
.bc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { display: block; padding: 16px 4px !important; text-align: left; }
.bc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { padding: 0 0 8px 16px !important; border-left: 3px solid var(--wp--preset--color--yellow) !important; margin-bottom: 12px; }
.bc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border-bottom: 0; }
.bc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 10px 4px !important; }
.bc-header .wp-block-navigation__responsive-container-close { color: #fff; }
.bc-header .wp-block-navigation .wp-block-navigation__submenu-container { background: var(--wp--preset--color--ink) !important; color: #E6E6E6 !important; border: 1px solid #2A2A2A !important; border-top: 3px solid var(--wp--preset--color--yellow) !important; padding: 8px 0; min-width: 250px !important; }
.bc-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 10px 18px; }
.bc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; padding: 4px 0 4px 16px; }
.bc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container a { font-size: 17px; color: #D9D9D9 !important; }

/* ---------- Sections ---------- */
.is-layout-constrained > .bc-lead, .is-layout-constrained > .bc-body { margin-left: max(0px, calc((100% - 1240px) / 2)) !important; margin-right: auto !important; }
.bc-section { padding-left: 24px !important; padding-right: 24px !important; padding-top: var(--wp--preset--spacing--60) !important; padding-bottom: var(--wp--preset--spacing--60) !important; }
.bc-section.bc-tight { padding-top: 56px !important; padding-bottom: 56px !important; }
.bc-white { background: #fff; border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line); }
.bc-dark { background: var(--wp--preset--color--ink); color: #fff; }
.bc-dark p, .bc-dark li { color: var(--wp--preset--color--muted-dark); }
.bc-dark a { color: #fff; }
.bc-dark h1, .bc-dark h2, .bc-dark h3 { color: #fff; }
.bc-dark .bc-card h3, .bc-dark .bc-card-line h3, .bc-dark .bc-card-paper h3 { color: var(--wp--preset--color--ink); }
.bc-x-list { margin-top: 18px !important; }
.bc-yellow-band { background: var(--wp--preset--color--yellow); border-top: 6px solid var(--wp--preset--color--ink); }
.bc-yellow-band p { color: #3A2E00; }
.bc-yellow-band .wp-block-button__link { background: var(--wp--preset--color--ink); color: #fff; }
.bc-yellow-band .is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--ink); border: 1px solid var(--wp--preset--color--ink); }

.bc-eyebrow { font-size: 14px !important; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--wp--preset--color--gold-text); margin-bottom: 0; }
.bc-dark .bc-eyebrow, .bc-hero .bc-eyebrow { color: var(--wp--preset--color--yellow); }
.bc-lead { font-size: 18px; color: var(--wp--preset--color--body); max-width: 620px; }
.bc-dark .bc-lead { color: var(--wp--preset--color--muted-dark); }
.bc-small { font-size: 14px; color: #5F5F5F; }
.bc-dark .bc-small { color: #A6A6A6; }
.bc-arrow-link a, a.bc-arrow-link { font-weight: 600; }
.bc-closing { font-family: var(--wp--preset--font-family--oswald); font-size: 30px !important; color: var(--wp--preset--color--yellow) !important; margin: 0; }

/* Buttons */
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--ink); border: 1px solid var(--wp--preset--color--ink); padding: 14px 26px; }
.bc-dark .wp-block-button.is-style-outline .wp-block-button__link, .bc-hero .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.75); }
.bc-btn-dark .wp-block-button__link { background: var(--wp--preset--color--ink); color: #fff; }

/* Hazard stripe */
.bc-hazard { height: 6px; margin: 0 !important; border: 0; background: repeating-linear-gradient(-45deg, var(--wp--preset--color--yellow) 0 12px, var(--wp--preset--color--ink) 12px 24px); opacity: 1; max-width: none !important; width: 100%; }

/* ---------- Hero ---------- */
.bc-hero { min-height: 620px !important; align-items: flex-end !important; }
.bc-hero .wp-block-cover__inner-container { width: 100% !important; max-width: 1240px; margin: 0 auto !important; padding: 0 0 72px; }
.bc-hero .wp-block-cover__inner-container > * { margin-left: 0 !important; margin-right: auto !important; max-width: 760px; }
.bc-hero h1 { color: #fff; margin: 0; }
.bc-h1-eyebrow { display: block; font-family: var(--wp--preset--font-family--inter); font-size: 14px; font-weight: 600; letter-spacing: 2.5px; color: var(--wp--preset--color--yellow); margin-bottom: 18px; line-height: 1.5; }
.bc-h1-eyebrow::before { content: ""; display: inline-block; width: 30px; height: 2px; background: var(--wp--preset--color--yellow); vertical-align: middle; margin-right: 12px; }
.bc-hero mark, .bc-yellow { background: none !important; color: var(--wp--preset--color--yellow) !important; }
.bc-hero p { color: #D9D9D9; }
.bc-ticks { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; }
.bc-ticks a { color: #fff; font-weight: 600; text-decoration: none; }
.bc-hero .bc-ticks { color: #D9D9D9; }

/* ---------- Stats ---------- */
.bc-stats { gap: 24px !important; }
.bc-stat { border-left: 3px solid var(--wp--preset--color--yellow); padding-left: 16px !important; gap: 4px !important; }
.bc-stat p { margin: 0; }
.bc-stat-num { font-family: var(--wp--preset--font-family--oswald); font-size: 40px; line-height: 1.1; color: var(--wp--preset--color--ink); }
.bc-stat-num a { color: inherit; text-decoration: none; }
.bc-stat-label { font-size: 13px; letter-spacing: 1px; color: #5F5F5F; }
.bc-stat-small { font-family: var(--wp--preset--font-family--inter); font-size: 16px; font-weight: 600; line-height: 1.35; }

/* ---------- Cards ---------- */
.bc-card { background: #fff; border-top: 3px solid var(--wp--preset--color--yellow); padding: 28px !important; }
.bc-card-line { background: #fff; border: 1px solid var(--wp--preset--color--line); padding: 28px !important; }
.bc-card-paper { background: var(--wp--preset--color--paper); padding: 26px !important; }
.bc-card-dark { background: #1F1F1F; border-top: 3px solid var(--wp--preset--color--yellow); padding: 32px !important; color: #fff; }
.bc-card p, .bc-card-line p, .bc-card-paper p { margin: 0; }
.bc-card h3, .bc-card-line h3, .bc-card-paper h3, .bc-card-dark h3 { margin: 0; font-size: 26px; }
.bc-card { gap: 10px !important; }
.bc-num { font-family: var(--wp--preset--font-family--oswald); font-size: 36px !important; color: #8A8A8A; line-height: 1; }
.bc-body { font-size: 16px; color: var(--wp--preset--color--body); }
.bc-dark .bc-body, .bc-card-dark .bc-body { color: var(--wp--preset--color--muted-dark); }

/* Lists */
.bc-steps { list-style: none; padding: 0; margin: 0; counter-reset: bc; display: flex; flex-direction: column; gap: 12px; }
.bc-steps > li { counter-increment: bc; position: relative; background: #fff; border: 1px solid var(--wp--preset--color--line); padding: 20px 22px 20px 80px; min-height: 80px; font-size: 15px; color: var(--wp--preset--color--body); border-radius: 3px; }
.bc-steps > li::before { content: counter(bc); position: absolute; left: 22px; top: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--ink); display: flex; align-items: center; justify-content: center; font-family: var(--wp--preset--font-family--oswald); font-size: 20px; }
.bc-steps > li strong { display: block; font-size: 18px; color: var(--wp--preset--color--ink); font-weight: 600; margin-bottom: 4px; }
.bc-steps.bc-steps-light { gap: 4px; }
.bc-steps.bc-steps-light > li { background: #fff; border: 0; padding: 10px 0 10px 56px; min-height: 0; }
.bc-steps.bc-steps-light > li::before { left: 4px; width: 32px; height: 32px; font-size: 16px; top: 10px; }

.bc-x-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.bc-x-list li { position: relative; padding-left: 34px; color: #BDBDBD; }
.bc-x-list li::before { content: "✕"; position: absolute; left: 0; top: 0; color: #8A8A8A; font-weight: 700; }

.bc-dash-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.bc-dash-list li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--wp--preset--color--line); padding: 14px 16px; font-weight: 500; font-size: 16px; }
.bc-dash-list li::before { content: ""; flex: 0 0 14px; height: 2px; background: var(--wp--preset--color--yellow); }

.bc-dash-plain { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.bc-dash-plain li { position: relative; padding-left: 28px; }
.bc-dash-plain li::before { content: ""; position: absolute; left: 0; top: 13px; width: 14px; height: 2px; background: var(--wp--preset--color--yellow); }
.bc-dash-plain li strong { display: block; color: #fff; font-size: 18px; font-weight: 600; }

.bc-cred { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.bc-cred li { border-bottom: 1px solid #2E2E2E; padding-bottom: 12px; color: #EAEAEA; font-size: 16px; }
.bc-cred li strong { display: block; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--wp--preset--color--yellow); }

.bc-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bc-chips li { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 3px; padding: 7px 12px; font-weight: 500; font-size: 14px; color: var(--wp--preset--color--ink); }
.bc-chips li:has(a) { border-color: var(--wp--preset--color--ink); box-shadow: inset 0 -3px 0 var(--wp--preset--color--yellow); }
.bc-chips li a { color: var(--wp--preset--color--ink); text-decoration: none; font-weight: 600; }
.bc-chips.bc-chips-lg li { font-weight: 600; font-size: 15px; padding: 9px 16px; }
.bc-group-label { font-size: 13px !important; font-weight: 600; letter-spacing: 2px; color: #5F5F5F; margin: 0; font-family: var(--wp--preset--font-family--inter); }

/* Photos */
.bc-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 3px solid var(--wp--preset--color--yellow); display: block; }
.bc-photo figcaption { font-size: 14px; color: var(--wp--preset--color--body); text-align: left; margin-top: 10px; }
.bc-photo figcaption strong { color: var(--wp--preset--color--ink); font-weight: 600; }
.bc-photo figcaption em { font-style: normal; font-size: 12px; color: #6B6B6B; }
.bc-dark .bc-photo figcaption { color: #A6A6A6; }
.bc-photo-tall img { height: 420px; aspect-ratio: auto; }
.bc-photo-plain img { border-bottom: 0; border-radius: 3px; }
.bc-video video { width: 100%; aspect-ratio: 16 / 9; background: var(--wp--preset--color--ink); border-radius: 3px; display: block; }
.bc-grid-photos { gap: 16px !important; }

/* FAQ */
.bc-faq { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 3px; padding: 0 !important; margin: 0 !important; }
.bc-faq + .bc-faq { margin-top: 10px !important; }
.bc-faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 17px; list-style: none; position: relative; padding-right: 52px; }
.bc-faq summary::-webkit-details-marker { display: none; }
.bc-faq summary::after { content: "+"; position: absolute; right: 22px; top: 12px; font-size: 26px; font-weight: 400; color: var(--wp--preset--color--gold-text); }
.bc-faq[open] summary::after { content: "–"; }
.bc-faq > :not(summary) { padding: 0 22px; margin: 0 0 16px; color: var(--wp--preset--color--body); font-size: 16px; }

/* Reviews */
.bc-review { background: #1F1F1F; border-radius: 3px; padding: 28px !important; margin: 0 !important; border: 0 !important; }
.bc-review p { color: #EAEAEA !important; font-size: 18px; line-height: 1.55; margin: 0 0 14px; font-family: var(--wp--preset--font-family--oswald); font-weight: 300; }
.bc-review cite { color: #fff; font-style: normal; font-weight: 600; font-size: 15px; }
.bc-review cite small { display: block; color: #8A8A8A; font-weight: 400; font-size: 13px; }
.bc-stars { color: var(--wp--preset--color--yellow); letter-spacing: 3px; font-size: 16px; margin: 0 0 10px !important; }
.bc-rating { background: #1F1F1F; padding: 24px 28px !important; align-items: center; gap: 20px !important; }
.bc-rating .bc-big { font-family: var(--wp--preset--font-family--oswald); font-size: 56px; color: #fff !important; line-height: 1; margin: 0; }

/* Breadcrumb */
.bc-crumbs { font-size: 14px; color: #5F5F5F; padding-top: 18px; margin: 0; }
.bc-crumbs a { color: #5F5F5F; }

/* ---------- Forms (Contact Form 7) ---------- */
.bc-form { background: #fff; border-top: 3px solid var(--wp--preset--color--yellow); padding: 32px !important; box-shadow: 0 12px 40px rgba(21,21,21,.08); }
.bc-form h2, .bc-form h3 { margin: 0 0 4px; font-size: 30px; }
.wpcf7 form p { margin: 0 0 16px; }
.wpcf7 label { display: block; font-weight: 600; font-size: 14px; color: var(--wp--preset--color--ink); }
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wpcf7 input[type=text], .wpcf7 input[type=tel], .wpcf7 input[type=email], .wpcf7 input[type=date], .wpcf7 select, .wpcf7 textarea { width: 100%; min-width: 0; font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1px solid #CFCBC4; border-radius: 3px; background: #fff; color: var(--wp--preset--color--ink); }
.wpcf7 textarea { height: 120px; resize: vertical; }
.wpcf7 input[type=file] { font-size: 14px; margin-top: 6px; }
.wpcf7 .bc-row { display: flex; flex-wrap: wrap; gap: 0 16px; }
.wpcf7 .bc-row > p { flex: 1 1 200px; }
.wpcf7 input[type=submit] { width: 100%; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--ink); border: 0; border-radius: 3px; font: inherit; font-weight: 600; font-size: 18px; padding: 16px; cursor: pointer; }
.wpcf7 input[type=submit]:hover { background: #FFC81F; }
.wpcf7 .wpcf7-spinner { display: block; margin: 8px auto 0; }

/* ---------- Footer ---------- */
.bc-footer { font-size: 15px; color: #A6A6A6; }
.bc-footer p { margin: 0; }
.bc-footer a { color: #A6A6A6; text-decoration: none; }
.bc-footer a:hover { color: #fff; }
.bc-footer h2 { font-size: 26px; color: #fff; }
.bc-foot-logo { margin-bottom: 16px !important; }
.bc-foot-logo img { display: block; width: 260px; max-width: 100%; height: auto; }
.bc-footer .bc-foot-head { color: #fff; font-weight: 600; }
.bc-footer .bc-copy { border-top: 1px solid #2A2A2A; padding-top: 20px; font-size: 13px; }

/* Back-to-top button (shown after scrolling; see functions.php) */
html { scroll-behavior: smooth; }
.bc-totop { position: fixed; right: 20px; bottom: 24px; z-index: 60; margin: 0 !important; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s, transform .2s; }
.bc-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.bc-totop a { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--ink) !important; font-size: 26px; font-weight: 700; text-decoration: none; box-shadow: 0 6px 18px rgba(21,21,21,.3); }
.bc-totop a:hover { background: #FFC81F; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .bc-totop { transition: none; } }

/* Mobile action bar */
.bc-mbar { display: none !important; }

/* ---------- Mobile ---------- */
@media (max-width: 781px) {
	.bc-util-left { display: none !important; }
	.bc-hdr-quote { display: none !important; }
	.bc-hero { min-height: 540px !important; }
	.bc-hero .wp-block-cover__inner-container { padding-bottom: 48px; }
	.bc-photo-tall img { height: 300px; }
	.bc-steps > li { padding-left: 74px; }
	.bc-mbar { display: flex !important; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; gap: 10px; padding: 10px 16px !important; background: #fff; border-top: 1px solid var(--wp--preset--color--line); box-shadow: 0 -6px 20px rgba(27,29,31,.12); margin: 0 !important; flex-wrap: nowrap !important; }
	.bc-mbar .wp-block-button:first-child { flex: 1 1 auto; }
	.bc-mbar .wp-block-button__link { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: center; padding: 12px 18px; }
	.bc-mbar .bc-btn-dark .wp-block-button__link { background: var(--wp--preset--color--ink); color: #fff; }
	body { padding-bottom: 76px; }
	.bc-totop { right: 16px; bottom: 88px; }
	.bc-totop a { width: 46px; height: 46px; font-size: 22px; }
	.bc-stat-num { font-size: 34px; }
	.bc-stat-num.bc-stat-small { font-size: 18px; }
}
