/* ========================================================================== Brandenberg Block — Redesigned Homepage Styles Drop this file in /assets/ and reference with ========================================================================== */ /* ---------- Design tokens ---------- */ :root { --bb-bg-dark: #2C1810; --bb-bg-darker: #1A1310; --bb-bg-cream: #FAF6F0; --bb-bg-tan: #F4EDE0; --bb-text-dark: #2C1810; --bb-text-mid: #4A3826; --bb-text-muted: #7A6849; --bb-text-label: #8B6F47; --bb-text-light: #C9B89C; --bb-accent-gold: #D4A574; --bb-border: #E5DCC9; --bb-success: #1D9E75; --bb-font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif; --bb-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; } /* ---------- Base ---------- */ .bb-page { font-family: var(--bb-font-sans); color: var(--bb-text-dark); line-height: 1.6; } .bb-page * { box-sizing: border-box; } .bb-page img { max-width: 100%; height: auto; display: block; } .bb-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; } .bb-eyebrow { font-size: 11px; letter-spacing: 2px; color: var(--bb-text-label); margin-bottom: 12px; text-transform: uppercase; } .bb-h1 { font-family: var(--bb-font-serif); font-size: clamp(32px, 5vw, 56px); line-height: 1.1; font-weight: 500; margin: 0 0 20px; color: var(--bb-bg-cream); } .bb-h2 { font-family: var(--bb-font-serif); font-size: clamp(26px, 3.2vw, 36px); line-height: 1.2; font-weight: 500; margin: 0 0 12px; color: var(--bb-text-dark); } .bb-h3 { font-family: var(--bb-font-serif); font-size: 22px; line-height: 1.25; font-weight: 500; margin: 0 0 12px; color: var(--bb-text-dark); } /* ---------- Buttons ---------- */ .bb-btn { display: inline-block; padding: 14px 28px; font-size: 14px; font-weight: 500; text-decoration: none; border-radius: 4px; transition: all 0.2s ease; border: 1px solid transparent; cursor: pointer; letter-spacing: 0.3px; } .bb-btn-primary { background: var(--bb-accent-gold); color: var(--bb-text-dark); } .bb-btn-primary:hover { background: #C49560; transform: translateY(-1px); } .bb-btn-ghost { background: transparent; border-color: var(--bb-text-light); color: var(--bb-bg-cream); } .bb-btn-ghost:hover { background: rgba(250,246,240,0.1); } /* ---------- Announcement bar ---------- */ .bb-announce { background: var(--bb-bg-darker); color: var(--bb-text-light); text-align: center; padding: 10px 16px; font-size: 12px; letter-spacing: 0.5px; } /* ---------- Hero ---------- */ .bb-hero { position: relative; background: var(--bb-bg-dark); padding: 80px 24px 96px; color: var(--bb-bg-cream); overflow: hidden; } .bb-hero-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; } .bb-hero-copy { max-width: 580px; } .bb-hero-eyebrow { font-size: 11px; letter-spacing: 2px; color: var(--bb-accent-gold); margin-bottom: 20px; text-transform: uppercase; } .bb-hero-sub { font-size: 17px; line-height: 1.6; color: var(--bb-text-light); margin: 0 0 32px; } .bb-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; } .bb-hero-image { width: 100%; height: 480px; object-fit: cover; border-radius: 8px; } .bb-hero-image-placeholder { width: 100%; height: 480px; background: #3D2818; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--bb-text-light); font-size: 13px; letter-spacing: 1px; } /* ---------- Trust strip ---------- */ .bb-trust { background: var(--bb-bg-cream); padding: 24px; border-bottom: 0.5px solid var(--bb-border); } .bb-trust-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .bb-trust-item { text-align: center; } .bb-trust-item + .bb-trust-item { border-left: 0.5px solid var(--bb-border); } .bb-trust-title { font-size: 14px; font-weight: 500; color: var(--bb-text-dark); margin-bottom: 2px; } .bb-trust-sub { font-size: 12px; color: var(--bb-text-muted); } /* ---------- Wood picker ---------- */ .bb-section { padding: 80px 24px; } .bb-section-tan { background: var(--bb-bg-tan); } .bb-section-cream { background: var(--bb-bg-cream); } .bb-section-dark { background: var(--bb-bg-dark); color: var(--bb-bg-cream); } .bb-section-darker { background: var(--bb-bg-darker); color: var(--bb-text-light); } .bb-section-header { text-align: center; margin-bottom: 48px; } .bb-section-header p { font-size: 15px; color: var(--bb-text-muted); margin: 0; } .bb-wood-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .bb-wood-card { background: var(--bb-bg-cream); border-radius: 8px; overflow: hidden; border: 0.5px solid var(--bb-border); text-decoration: none; color: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease; display: block; } .bb-wood-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(44,24,16,0.12); } .bb-wood-card-img { height: 160px; overflow: hidden; } .bb-wood-card-img img { width: 100%; height: 100%; object-fit: cover; } .bb-wood-card-body { padding: 16px 18px; } .bb-wood-card-name { font-weight: 500; font-size: 16px; color: var(--bb-text-dark); margin-bottom: 4px; } .bb-wood-card-meta { font-size: 12px; color: var(--bb-text-muted); } /* ---------- Story / End-grain explainer ---------- */ .bb-story { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } .bb-story-link { color: var(--bb-text-dark); font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--bb-text-dark); text-decoration: none; display: inline-block; padding-bottom: 2px; } .bb-story-card { background: #FFFFFF; border-radius: 8px; padding: 32px; border: 0.5px solid var(--bb-border); } /* ---------- Featured products ---------- */ .bb-products-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; } .bb-product-card { background: var(--bb-bg-cream); border-radius: 8px; overflow: hidden; border: 0.5px solid var(--bb-border); text-decoration: none; color: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease; display: block; position: relative; } .bb-product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(44,24,16,0.12); } .bb-product-img { height: 280px; background: #3D2818; position: relative; overflow: hidden; } .bb-product-img img { width: 100%; height: 100%; object-fit: cover; } .bb-product-badge { position: absolute; top: 14px; left: 14px; background: var(--bb-accent-gold); color: var(--bb-text-dark); padding: 5px 12px; font-size: 11px; font-weight: 500; border-radius: 3px; letter-spacing: 0.5px; } .bb-product-body { padding: 18px 20px; } .bb-product-wood { font-size: 11px; color: var(--bb-text-label); letter-spacing: 1.5px; margin-bottom: 6px; text-transform: uppercase; } .bb-product-name { font-weight: 500; font-size: 16px; color: var(--bb-text-dark); line-height: 1.3; margin-bottom: 8px; } .bb-product-meta { font-size: 12px; color: var(--bb-text-muted); margin-bottom: 12px; } .bb-product-foot { display: flex; align-items: baseline; justify-content: space-between; } .bb-product-price { font-size: 18px; font-weight: 500; color: var(--bb-text-dark); } .bb-product-price-compare { font-size: 13px; color: var(--bb-text-muted); text-decoration: line-through; margin-right: 6px; } .bb-product-stock { font-size: 12px; color: var(--bb-success); } .bb-product-stock-out { color: #C44; } /* ---------- Testimonial ---------- */ .bb-testimonial { max-width: 720px; margin: 0 auto; text-align: center; padding: 24px; } .bb-testimonial-stars { font-size: 22px; color: var(--bb-accent-gold); margin-bottom: 16px; letter-spacing: 4px; } .bb-testimonial-quote { font-family: var(--bb-font-serif); font-size: 24px; line-height: 1.5; font-style: italic; color: var(--bb-bg-cream); margin: 0 0 20px; } .bb-testimonial-cite { font-size: 13px; color: var(--bb-text-light); } /* ---------- Blog / education teaser ---------- */ .bb-blog-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; } .bb-blog-card { background: #FFFFFF; border-radius: 8px; padding: 24px; border: 0.5px solid var(--bb-border); text-decoration: none; color: inherit; transition: transform 0.2s ease; display: block; } .bb-blog-card:hover { transform: translateY(-2px); } .bb-blog-card-tag { font-size: 11px; color: var(--bb-text-label); letter-spacing: 1.5px; margin-bottom: 10px; text-transform: uppercase; } .bb-blog-card-title { font-weight: 500; font-size: 16px; color: var(--bb-text-dark); line-height: 1.35; margin-bottom: 10px; } .bb-blog-card-excerpt { font-size: 13px; color: var(--bb-text-muted); line-height: 1.55; } /* ---------- Newsletter ---------- */ .bb-news { max-width: 540px; margin: 0 auto; text-align: center; padding: 0 24px; } .bb-news-form { display: flex; gap: 8px; margin-top: 24px; } .bb-news-input { flex: 1; padding: 14px 16px; border: 1px solid var(--bb-border); border-radius: 4px; background: var(--bb-bg-cream); font-size: 14px; font-family: inherit; color: var(--bb-text-dark); } .bb-news-input:focus { outline: none; border-color: var(--bb-accent-gold); } /* ---------- Responsive ---------- */ @media (max-width: 900px) { .bb-hero-grid { grid-template-columns: 1fr; gap: 32px; } .bb-hero-image, .bb-hero-image-placeholder { height: 320px; } .bb-hero { padding: 56px 24px 64px; } .bb-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } .bb-trust-item:nth-child(3) { border-left: none; } .bb-wood-grid { grid-template-columns: repeat(2, 1fr); } .bb-story { grid-template-columns: 1fr; gap: 32px; } .bb-products-grid { grid-template-columns: 1fr; } .bb-blog-grid { grid-template-columns: 1fr; } .bb-section { padding: 56px 24px; } } @media (max-width: 540px) { .bb-trust-grid { grid-template-columns: 1fr; } .bb-trust-item + .bb-trust-item { border-left: none; border-top: 0.5px solid var(--bb-border); padding-top: 16px; } .bb-news-form { flex-direction: column; } }
Skip to content