/* ==========================================================================
   Brick Bonds — main stylesheet
   "Quiet Braj": ivory space, one brick-red accent (taken from the logo),
   editorial serif headlines, full-bleed landscape imagery.
   ========================================================================== */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Tiro Devanagari Hindi"; src: url("../fonts/tiro-devanagari-hindi.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0900-097F, U+200C-200D, U+25CC; }

/* ---------- Tokens ---------- */
:root {
	--bb-ivory: #F6F1E8;
	--bb-paper: #FBF8F3;
	--bb-sand: #ECE2D3;
	--bb-sand-deep: #E1D3BE;
	--bb-ink: #292929;      /* logo charcoal */
	--bb-ink-soft: #4A443E;
	--bb-stone: #6F665C;
	--bb-line: #D8CCBA;
	--bb-red: #800201;      /* logo brick red */
	--bb-red-deep: #5C0100;
	--bb-red-soft: #F3E3DE;
	--bb-tulsi: #4E5A43;
	--bb-night: #1E1B18;

	--bb-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
	--bb-sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
	--bb-deva: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;

	--bb-max: 1280px;
	--bb-gutter: clamp(16px, 4vw, 48px);
	--bb-section: clamp(64px, 10vw, 136px);
	--bb-radius: 2px;
	--bb-ease: cubic-bezier(.2, .7, .2, 1);
	--bb-header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bb-ivory);
	color: var(--bb-ink);
	font: 400 17px/1.7 var(--bb-sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
@media (min-width: 768px) { body { font-size: 18px; } }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--bb-red); text-decoration: none; }
a:hover { color: var(--bb-red-deep); }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--bb-red); outline-offset: 3px; }
::selection { background: var(--bb-red); color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px; padding: 12px 18px; background: var(--bb-ink); color: #fff; }

h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 500; color: var(--bb-ink); }
.bb-display, h1 { font-family: var(--bb-serif); font-size: clamp(42px, 7vw, 92px); line-height: 1.02; letter-spacing: -.01em; }
h2, .bb-h2 { font-family: var(--bb-serif); font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -.005em; }
h3, .bb-h3 { font-family: var(--bb-sans); font-size: clamp(18px, 1.6vw, 21px); font-weight: 650; line-height: 1.35; letter-spacing: -.005em; }
h2 em, h1 em { font-style: italic; color: var(--bb-red); }

.bb-eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	margin: 0 0 22px;
	font: 650 12.5px/1 var(--bb-sans); letter-spacing: .18em; text-transform: uppercase;
	color: var(--bb-red);
}
.bb-eyebrow .deva { font-family: var(--bb-deva); font-size: 17px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.bb-eyebrow--light { color: #F7DED6; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.bb-lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.6; color: var(--bb-ink-soft); }
.bb-muted { color: var(--bb-stone); }
.bb-small { font-size: 14px; line-height: 1.6; color: var(--bb-stone); }

/* ---------- Layout ---------- */
.bb-wrap { width: 100%; max-width: calc(var(--bb-max) + 2 * var(--bb-gutter)); margin: 0 auto; padding: 0 var(--bb-gutter); }
.bb-narrow { max-width: 820px; }
.bb-section { padding: var(--bb-section) 0; position: relative; }
.bb-section--sand { background: var(--bb-sand); }
.bb-section--paper { background: var(--bb-paper); }
.bb-section--night { background: var(--bb-night); color: #E9E2D6; }
.bb-section--night h2, .bb-section--night h3 { color: #F6F1E8; }
.bb-section--tight { padding: calc(var(--bb-section) * .6) 0; }
.bb-grid { display: grid; gap: clamp(24px, 4vw, 64px); }
@media (min-width: 900px) {
	.bb-split { grid-template-columns: 5fr 6fr; align-items: start; }
	.bb-split--even { grid-template-columns: 1fr 1fr; align-items: center; }
	.bb-split--wide-left { grid-template-columns: 7fr 5fr; }
}
.bb-stack > * + * { margin-top: 18px; }

/* The bond line: alternating long and short dashes, like a running bond */
.bb-bond {
	height: 6px; border: 0; margin: 0;
	background-image:
		linear-gradient(90deg, var(--bb-red) 0 56px, transparent 56px 66px, var(--bb-red) 66px 90px, transparent 90px 100px);
	background-size: 100px 2px; background-repeat: repeat-x; background-position: 0 50%;
	opacity: .85;
}
.bb-bond--short { width: 200px; }
.bb-bond--muted { opacity: .35; }

/* ---------- Buttons ---------- */
.bb-btn {
	--bg: var(--bb-red); --fg: #fff; --bd: var(--bb-red);
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 52px; padding: 0 28px;
	font: 650 14px/1 var(--bb-sans); letter-spacing: .08em; text-transform: uppercase;
	color: var(--fg); background: var(--bg); border: 1px solid var(--bd); border-radius: var(--bb-radius);
	overflow: hidden; cursor: pointer; isolation: isolate;
	transition: color .25s var(--bb-ease), border-color .25s var(--bb-ease);
}
.bb-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bb-red-deep); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--bb-ease); }
.bb-btn:hover { color: #fff; border-color: var(--bb-red-deep); }
.bb-btn:hover::before { transform: scaleX(1); }
.bb-btn .arrow { transition: transform .25s var(--bb-ease); }
.bb-btn:hover .arrow { transform: translateX(4px); }
.bb-btn--ghost { --bg: transparent; --fg: var(--bb-ink); --bd: var(--bb-ink); }
.bb-btn--ghost::before { background: var(--bb-ink); }
.bb-btn--light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.7); }
.bb-btn--light::before { background: #fff; }
.bb-btn--light:hover { color: var(--bb-ink); border-color: #fff; }
.bb-btn--block { width: 100%; }
.bb-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.bb-link {
	display: inline-flex; align-items: center; gap: 10px;
	font: 650 14px/1.2 var(--bb-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--bb-ink);
	background: linear-gradient(var(--bb-red), var(--bb-red)) 0 100% / 0 1px no-repeat;
	padding-bottom: 6px; transition: background-size .35s var(--bb-ease), color .2s;
}
.bb-link:hover { color: var(--bb-red); background-size: 100% 1px; }
.bb-link .arrow { color: var(--bb-red); }

/* ---------- Header ---------- */
.bb-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bb-header-h);
	display: flex; align-items: center;
	transition: background .35s var(--bb-ease), box-shadow .35s var(--bb-ease), height .35s var(--bb-ease);
}
.admin-bar .bb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bb-header { top: 46px; } }
.bb-header .bb-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bb-logo { display: block; flex: 0 0 auto; }
.bb-logo img { height: 38px; width: auto; }
@media (min-width: 1024px) { .bb-logo img { height: 44px; } }
.bb-logo .logo-dark { display: none; }
.bb-header.is-solid, .bb-header.is-static { background: rgba(246,241,232,.96); backdrop-filter: saturate(1.2) blur(10px); box-shadow: 0 1px 0 var(--bb-line); --bb-header-h: 72px; }
.bb-header.is-solid .logo-light, .bb-header.is-static .logo-light { display: none; }
.bb-header.is-solid .logo-dark, .bb-header.is-static .logo-dark { display: block; }

.bb-nav { display: none; }
@media (min-width: 1024px) {
	.bb-nav { display: flex; align-items: center; gap: 36px; }
	.bb-nav ul { display: flex; gap: 34px; margin: 0; padding: 0; list-style: none; }
	.bb-nav a:not(.bb-btn) { font: 600 14px/1 var(--bb-sans); letter-spacing: .06em; text-transform: uppercase; color: #fff; padding: 10px 0; position: relative; }
	.bb-nav a:not(.bb-btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--bb-ease); }
	.bb-nav a:not(.bb-btn):hover::after, .bb-nav .current-menu-item > a::after, .bb-nav .current_page_item > a::after, .bb-nav .current-menu-parent > a::after { transform: scaleX(1); }
	.bb-header.is-solid .bb-nav a:not(.bb-btn), .bb-header.is-static .bb-nav a:not(.bb-btn) { color: var(--bb-ink); }
	.bb-nav .bb-btn { min-height: 46px; padding: 0 22px; font-size: 13px; }
	.bb-nav li { position: relative; }
	.bb-nav .sub-menu { position: absolute; top: 100%; left: -20px; min-width: 240px; display: block; padding: 12px 0; background: var(--bb-paper); box-shadow: 0 18px 40px -20px rgba(30,27,24,.35); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--bb-ease); }
	.bb-nav li:hover > .sub-menu, .bb-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.bb-nav .sub-menu a { display: block; padding: 10px 20px; color: var(--bb-ink) !important; text-transform: none; letter-spacing: 0; font-size: 15px; }
	.bb-nav .sub-menu a::after { display: none; }
	.bb-nav .sub-menu a:hover { color: var(--bb-red) !important; }
	.bb-menu-toggle { display: none !important; }
}
.bb-menu-toggle {
	display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 10px 0; cursor: pointer;
	font: 650 12px/1 var(--bb-sans); letter-spacing: .16em; text-transform: uppercase; color: #fff;
}
.bb-header.is-solid .bb-menu-toggle, .bb-header.is-static .bb-menu-toggle { color: var(--bb-ink); }
.bb-menu-toggle .bars { width: 26px; height: 10px; position: relative; }
.bb-menu-toggle .bars::before, .bb-menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: .3s var(--bb-ease); }
.bb-menu-toggle .bars::before { top: 0; } .bb-menu-toggle .bars::after { bottom: 0; right: 8px; }

.bb-drawer {
	position: fixed; inset: 0; z-index: 60; background: var(--bb-ivory);
	display: flex; flex-direction: column; padding: 24px var(--bb-gutter) 32px;
	opacity: 0; visibility: hidden; transition: opacity .35s var(--bb-ease), visibility .35s;
}
.bb-drawer.is-open { opacity: 1; visibility: visible; }
.bb-drawer__top { display: flex; justify-content: space-between; align-items: center; }
.bb-drawer__top img { height: 36px; width: auto; }
.bb-drawer__close { background: none; border: 0; font: 650 12px/1 var(--bb-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bb-ink); padding: 12px 0; cursor: pointer; }
.bb-drawer nav { margin: auto 0; }
.bb-drawer ul { list-style: none; margin: 0; padding: 0; }
.bb-drawer li a { display: block; padding: 10px 0; font: 500 clamp(36px, 10vw, 54px)/1.1 var(--bb-serif); color: var(--bb-ink); }
.bb-drawer .sub-menu a { font: 500 18px/1.4 var(--bb-sans); padding: 4px 0 4px 4px; color: var(--bb-stone); }
.bb-drawer__foot { display: grid; gap: 10px; }
body.bb-locked { overflow: hidden; }

/* ---------- Hero ---------- */
.bb-hero {
	position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
	color: #fff; overflow: hidden; background: var(--bb-night);
}
.bb-hero__media { position: absolute; inset: 0; }
.bb-hero__media img, .bb-hero__media svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bb-hero__media img { animation: bb-settle 2.4s var(--bb-ease) both; }
.bb-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(30,27,24,.62) 0%, rgba(30,27,24,.38) 38%, rgba(30,27,24,0) 68%),
		linear-gradient(180deg, rgba(30,27,24,.42) 0%, rgba(30,27,24,0) 22%, rgba(30,27,24,0) 50%, rgba(30,27,24,.72) 100%); }
@media (max-width: 760px) { .bb-hero::after { background: linear-gradient(180deg, rgba(30,27,24,.45) 0%, rgba(30,27,24,.25) 30%, rgba(30,27,24,.55) 60%, rgba(30,27,24,.85) 100%); } }
.bb-hero__content { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(56px, 9vh, 110px); padding-top: calc(var(--bb-header-h) + 40px); }
.bb-hero h1 { color: #fff; max-width: 11ch; margin-bottom: 22px; }
.bb-hero__sub { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.5; max-width: 34ch; color: rgba(255,255,255,.94); margin-bottom: 14px; }
.bb-hero__desc { font-size: 16px; max-width: 54ch; color: rgba(255,255,255,.8); margin-bottom: 34px; }
.bb-hero__meta { position: absolute; right: calc(var(--bb-gutter) + 76px); bottom: clamp(56px, 9vh, 110px); z-index: 2; display: none; text-align: right; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
@media (min-width: 1100px) { .bb-hero__meta { display: block; } }
.bb-hero__meta strong { display: block; font: 500 24px/1.2 var(--bb-serif); letter-spacing: 0; text-transform: none; color: #fff; margin-bottom: 4px; }
.bb-scrollcue { position: absolute; left: 50%; bottom: 24px; z-index: 2; width: 1px; height: 46px; background: rgba(255,255,255,.35); overflow: hidden; }
.bb-scrollcue::after { content: ""; position: absolute; left: 0; top: -46px; width: 1px; height: 46px; background: #fff; animation: bb-cue 2.2s var(--bb-ease) infinite; }
@keyframes bb-cue { to { top: 46px; } }
@keyframes bb-settle { from { transform: scale(1.06); } to { transform: none; } }

/* Interior hero */
.bb-phero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--bb-night); }
.bb-phero .bb-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,27,24,.35), rgba(30,27,24,.1) 40%, rgba(30,27,24,.7)); }
.bb-phero__content { position: relative; z-index: 2; width: 100%; padding: calc(var(--bb-header-h) + 60px) 0 clamp(48px, 8vh, 88px); }
.bb-phero h1 { color: #fff; font-size: clamp(40px, 6vw, 80px); max-width: 16ch; }
.bb-phero p { max-width: 52ch; color: rgba(255,255,255,.88); font-size: clamp(17px, 1.5vw, 20px); }
.bb-crumbs { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 26px; }
.bb-crumbs a { color: rgba(255,255,255,.85); }
.bb-crumbs span[aria-hidden] { margin: 0 8px; }

/* ---------- Intro ---------- */
.bb-intro h2 { max-width: 12ch; }
.bb-intro__body p:first-child { font-size: clamp(20px, 1.9vw, 24px); line-height: 1.55; font-family: var(--bb-serif); color: var(--bb-ink); }

/* ---------- Project cards ---------- */
.bb-cards { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) { .bb-cards { grid-template-columns: 1fr 1fr; } }
.bb-card { display: flex; flex-direction: column; background: var(--bb-paper); transition: transform .45s var(--bb-ease), box-shadow .45s var(--bb-ease); }
@media (hover: hover) { .bb-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(30,27,24,.45); } }
.bb-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bb-sand); }
.bb-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--bb-ease); }
.bb-card:hover .bb-card__media img { transform: scale(1.03); }
.bb-tag {
	position: absolute; left: 16px; top: 16px; z-index: 2;
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px;
	font: 650 11px/1 var(--bb-sans); letter-spacing: .12em; text-transform: uppercase;
	background: rgba(251,248,243,.92); color: var(--bb-ink); border-radius: var(--bb-radius);
}
.bb-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bb-tulsi); }
.bb-tag--pending .dot { background: #B07A2A; }
.bb-tag--right { left: auto; right: 16px; }
.bb-imgnote { position: absolute; right: 12px; bottom: 10px; z-index: 2; font-size: 11px; letter-spacing: .06em; color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.bb-card__body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; flex: 1; }
.bb-card__loc { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--bb-stone); margin-bottom: 10px; }
.bb-card h3 { font-family: var(--bb-serif); font-size: clamp(30px, 3vw, 40px); font-weight: 500; line-height: 1.1; margin-bottom: 6px; }
.bb-card__cat { font-size: 14px; color: var(--bb-red); font-weight: 600; margin-bottom: 16px; }
.bb-card__desc { color: var(--bb-ink-soft); }
.bb-facts { list-style: none; margin: 6px 0 26px; padding: 0; border-top: 1px solid var(--bb-line); }
.bb-facts li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bb-line); font-size: 15px; line-height: 1.5; }
.bb-facts li::before { content: ""; flex: 0 0 14px; height: 2px; margin-top: 11px; background: var(--bb-red); }
.bb-card__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.bb-rera { font-size: 13px; color: var(--bb-stone); }
.bb-rera strong { color: var(--bb-ink); font-weight: 600; }
.bb-source { font-size: 12.5px; color: var(--bb-stone); margin-top: 6px; }

/* ---------- Chapter image ---------- */
.bb-chapter { position: relative; aspect-ratio: 21 / 9; min-height: 340px; max-height: 760px; width: 100%; overflow: hidden; background: var(--bb-night); }
.bb-chapter img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bb-chapter figcaption { position: absolute; left: var(--bb-gutter); bottom: clamp(24px, 4vw, 56px); right: var(--bb-gutter); color: #fff; font: italic 400 clamp(22px, 2.6vw, 36px)/1.25 var(--bb-serif); max-width: 24ch; text-shadow: 0 1px 20px rgba(0,0,0,.25); }

/* ---------- Why Braj ---------- */
.bb-pillars { display: grid; gap: 0; border-top: 1px solid var(--bb-line); margin-top: clamp(40px, 6vw, 72px); }
@media (min-width: 760px) { .bb-pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .bb-pillars { grid-template-columns: repeat(4, 1fr); } }
.bb-pillar { padding: 32px 28px 36px 0; border-bottom: 1px solid var(--bb-line); }
@media (min-width: 760px) and (max-width: 1099px) { .bb-pillar { padding-right: 32px; } .bb-pillar:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--bb-line); } }
@media (min-width: 1100px) { .bb-pillar { border-bottom: 0; border-right: 1px solid var(--bb-line); padding: 36px 32px 8px; } .bb-pillar:first-child { padding-left: 0; } .bb-pillar:last-child { border-right: 0; padding-right: 0; } }
.bb-pillar__n { font: 500 15px/1 var(--bb-serif); color: var(--bb-red); margin-bottom: 18px; display: block; letter-spacing: .04em; }
.bb-pillar p { font-size: 16px; color: var(--bb-ink-soft); }
.bb-note { margin-top: 28px; font-size: 13px; color: var(--bb-stone); }

/* Map plate */
.bb-mapplate { margin-top: clamp(48px, 7vw, 88px); display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .bb-mapplate { grid-template-columns: 7fr 5fr; } }
.bb-mapplate__fig { background: var(--bb-paper); padding: clamp(16px, 2.5vw, 32px); border: 1px solid var(--bb-line); }
.bb-mapplate svg text { font-family: var(--bb-sans); }
.bb-dist { width: 100%; border-collapse: collapse; font-size: 15px; }
.bb-dist caption { text-align: left; font: 650 12.5px/1.2 var(--bb-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bb-red); padding-bottom: 14px; }
.bb-dist th, .bb-dist td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--bb-line); font-weight: 400; }
.bb-dist th { font-weight: 600; }
.bb-dist td { text-align: right; color: var(--bb-ink-soft); font-variant-numeric: tabular-nums; }
.bb-dist tfoot td { text-align: left; font-size: 12.5px; color: var(--bb-stone); border: 0; padding-top: 12px; }

/* ---------- Advantage ---------- */
.bb-adv { display: grid; gap: clamp(28px, 3vw, 40px); margin-top: clamp(40px, 5vw, 64px); counter-reset: adv; }
@media (min-width: 760px) { .bb-adv { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .bb-adv { grid-template-columns: repeat(4, 1fr); } }
.bb-adv article { position: relative; padding-top: 28px; }
.bb-adv article::before { counter-increment: adv; content: "0" counter(adv); position: absolute; top: 0; left: 0; font: 500 15px/1 var(--bb-serif); color: var(--bb-red); }
.bb-adv article::after { content: ""; position: absolute; top: 7px; left: 36px; right: 0; height: 1px; background: var(--bb-line); }
.bb-adv h3 { margin: 14px 0 12px; }
.bb-adv p { font-size: 16px; color: var(--bb-ink-soft); }

/* ---------- Developer panel ---------- */
.bb-devpanel { max-width: 900px; margin: 0 auto; text-align: center; }
.bb-devpanel h2 { margin-bottom: 26px; }
.bb-devpanel p { color: var(--bb-ink-soft); }
.bb-devpanel .bb-bond { margin: 0 auto 36px; }
.bb-devmark { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 30px; padding: 18px 28px; border: 1px solid var(--bb-line); }
.bb-devmark span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--bb-stone); }
.bb-devmark strong { font: 500 26px/1 var(--bb-serif); letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Process ---------- */
.bb-process { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; gap: 34px; position: relative; }
.bb-process::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background-image: linear-gradient(180deg, var(--bb-red) 0 56px, transparent 56px 66px, var(--bb-red) 66px 90px, transparent 90px 100px); background-size: 2px 100px; transform-origin: top; transform: scaleY(var(--bb-progress, 1)); transition: transform 1.4s var(--bb-ease); }
.bb-process li { position: relative; padding-left: 44px; }
.bb-process li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bb-ivory); border: 2px solid var(--bb-red); }
.bb-section--sand .bb-process li::before { background: var(--bb-sand); }
.bb-process__n { display: block; font: 500 14px/1 var(--bb-serif); color: var(--bb-red); margin-bottom: 8px; letter-spacing: .06em; }
.bb-process h3 { font-family: var(--bb-serif); font-size: clamp(28px, 2.4vw, 34px); font-weight: 500; margin-bottom: 8px; }
.bb-process p { font-size: 16px; color: var(--bb-ink-soft); max-width: 34ch; }
@media (min-width: 1000px) {
	.bb-process { grid-template-columns: repeat(5, 1fr); gap: 32px; }
	.bb-process::before { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 2px; background-image: linear-gradient(90deg, var(--bb-red) 0 56px, transparent 56px 66px, var(--bb-red) 66px 90px, transparent 90px 100px); background-size: 100px 2px; transform-origin: left; transform: scaleX(var(--bb-progress, 1)); }
	.bb-process li { padding-left: 0; padding-top: 44px; }
}
.js .bb-process { --bb-progress: 0; }
.js .bb-process.is-in { --bb-progress: 1; }

/* ---------- CTA + forms ---------- */
.bb-cta { display: grid; background: var(--bb-paper); }
@media (min-width: 960px) { .bb-cta { grid-template-columns: 1fr 1fr; } }
.bb-cta__media { position: relative; min-height: 320px; overflow: hidden; }
.bb-cta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bb-cta__body { padding: clamp(32px, 5vw, 72px); }
.bb-cta__body h2 { max-width: 12ch; }

.bb-form { display: grid; gap: 18px; margin-top: 28px; }
.bb-form .row { display: grid; gap: 18px; }
@media (min-width: 640px) { .bb-form .row--2 { grid-template-columns: 1fr 1fr; } }
.bb-field label { display: block; font: 650 12px/1.3 var(--bb-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--bb-ink-soft); margin-bottom: 8px; }
.bb-field label .req { color: var(--bb-red); }
.bb-field input, .bb-field select, .bb-field textarea {
	width: 100%; min-height: 52px; padding: 13px 0; font: 400 17px/1.4 var(--bb-sans); color: var(--bb-ink);
	background: transparent; border: 0; border-bottom: 1px solid #BFB09C; border-radius: 0; appearance: none; -webkit-appearance: none;
	transition: border-color .2s;
}
.bb-field select { background-image: linear-gradient(45deg, transparent 50%, var(--bb-ink) 50%), linear-gradient(135deg, var(--bb-ink) 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 7px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.bb-field textarea { min-height: 110px; resize: vertical; }
.bb-field input:focus, .bb-field select:focus, .bb-field textarea:focus { outline: none; border-bottom-color: var(--bb-red); box-shadow: 0 1px 0 0 var(--bb-red); }
.bb-field .help { font-size: 13px; color: var(--bb-stone); margin-top: 6px; }
.bb-phone { display: flex; gap: 10px; }
.bb-phone .cc { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 52px; padding: 0 6px 0 0; border-bottom: 1px solid #BFB09C; font-size: 17px; color: var(--bb-ink-soft); }
.bb-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.55; color: var(--bb-ink-soft); }
.bb-consent input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--bb-red); }
.bb-hp { position: absolute !important; left: -9999px !important; }
.bb-alert { padding: 16px 20px; font-size: 15px; border-left: 3px solid var(--bb-tulsi); background: #E9EDE3; color: #2F3A28; }
.bb-alert--error { border-color: var(--bb-red); background: var(--bb-red-soft); color: var(--bb-red-deep); }

/* ---------- About ---------- */
.bb-quote { font: italic 400 clamp(26px, 3vw, 40px)/1.3 var(--bb-serif); color: var(--bb-ink); margin: 0; padding-left: 28px; border-left: 2px solid var(--bb-red); max-width: 26ch; }
.bb-values { display: grid; gap: 0; margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 900px) { .bb-values { grid-template-columns: repeat(3, 1fr); } }
.bb-value { padding: 36px 0; border-top: 1px solid var(--bb-line); }
@media (min-width: 900px) { .bb-value { padding: 40px 36px 0 0; } .bb-value + .bb-value { padding-left: 36px; border-left: 1px solid var(--bb-line); } }
.bb-value h3 { font-family: var(--bb-serif); font-size: clamp(28px, 2.6vw, 36px); font-weight: 500; }
.bb-value p { color: var(--bb-ink-soft); font-size: 16px; }
.bb-vm { display: grid; gap: 1px; background: var(--bb-line); }
@media (min-width: 900px) { .bb-vm { grid-template-columns: 1fr 1fr; } }
.bb-vm > div { background: var(--bb-ivory); padding: clamp(32px, 5vw, 64px); }
.bb-vm p:not(.bb-eyebrow) { font: 400 clamp(22px, 2.2vw, 30px)/1.35 var(--bb-serif); color: var(--bb-ink); margin: 0; }
.bb-services { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; border-top: 1px solid var(--bb-line); }
.bb-services li { display: grid; gap: 6px 40px; padding: 26px 0; border-bottom: 1px solid var(--bb-line); }
@media (min-width: 800px) { .bb-services li { grid-template-columns: 70px 1fr 2fr; align-items: baseline; } }
.bb-services .n { font: 500 15px/1 var(--bb-serif); color: var(--bb-red); }
.bb-services h3 { margin: 0; font-family: var(--bb-serif); font-size: clamp(26px, 2.4vw, 32px); font-weight: 500; }
.bb-services p { margin: 0; color: var(--bb-ink-soft); font-size: 16px; }
.bb-reasons { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; }
@media (min-width: 900px) { .bb-reasons { grid-template-columns: 1fr 1fr; gap: 28px 56px; } }
.bb-reasons li { display: grid; grid-template-columns: 44px 1fr; gap: 6px; }
.bb-reasons .n { font: 500 15px/1.8 var(--bb-serif); color: var(--bb-red); }
.bb-reasons strong { display: block; font-weight: 650; margin-bottom: 4px; }
.bb-reasons span { color: var(--bb-ink-soft); font-size: 16px; }
.bb-relation { display: grid; gap: 16px; margin: 34px 0; }
@media (min-width: 760px) { .bb-relation { grid-template-columns: 1fr auto 1fr; align-items: stretch; } }
.bb-relation__box { padding: 26px 28px; border: 1px solid var(--bb-line); background: var(--bb-paper); }
.bb-relation__box span { display: block; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--bb-stone); margin-bottom: 6px; }
.bb-relation__box strong { display: block; font: 500 28px/1.15 var(--bb-serif); margin-bottom: 10px; }
.bb-relation__box p { font-size: 15px; color: var(--bb-ink-soft); margin: 0; }
.bb-relation__link { display: flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--bb-red); text-align: center; padding: 0 6px; }

/* ---------- Projects page ---------- */
.bb-plist { display: grid; gap: clamp(64px, 9vw, 120px); }
.bb-proj { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 1000px) { .bb-proj { grid-template-columns: 6fr 5fr; align-items: start; } .bb-proj--flip .bb-proj__media { order: 2; } }
.bb-proj__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bb-sand); }
@media (min-width: 1000px) { .bb-proj__media { position: sticky; top: 110px; } }
.bb-proj__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bb-proj h2 { margin-bottom: 8px; }
.bb-proj__tagline { font: italic 400 clamp(22px, 2vw, 26px)/1.3 var(--bb-serif); color: var(--bb-red); margin-bottom: 26px; }
.bb-spec { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 15px; }
.bb-spec th, .bb-spec td { text-align: left; vertical-align: top; padding: 12px 0; border-bottom: 1px solid var(--bb-line); }
.bb-spec th { width: 40%; padding-right: 16px; font: 650 12px/1.6 var(--bb-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--bb-stone); }
.bb-awaiting { color: #8A5A16; font-style: italic; }
.bb-editor-flag { display: inline-block; padding: 2px 8px; font: 650 11px/1.6 var(--bb-sans); letter-spacing: .06em; background: #FFF1CC; color: #7A4F00; border: 1px dashed #C99A2E; }
.bb-proj__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.bb-checklist { counter-reset: chk; list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 900px) { .bb-checklist { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.bb-checklist li { counter-increment: chk; position: relative; padding: 22px 0 22px 56px; border-top: 1px solid var(--bb-line); }
.bb-checklist li::before { content: counter(chk, decimal-leading-zero); position: absolute; left: 0; top: 22px; font: 500 18px/1.4 var(--bb-serif); color: var(--bb-red); }
.bb-checklist strong { display: block; margin-bottom: 4px; font-weight: 650; }
.bb-checklist span { font-size: 15.5px; color: var(--bb-ink-soft); }

/* ---------- Single project ---------- */
.bb-glance { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--bb-line); border: 1px solid var(--bb-line); }
@media (min-width: 900px) { .bb-glance { grid-template-columns: repeat(4, 1fr); } }
.bb-glance div { background: var(--bb-paper); padding: 24px 22px; }
.bb-glance span { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--bb-stone); margin-bottom: 8px; }
.bb-glance strong { font: 500 24px/1.2 var(--bb-serif); }
.bb-sp { display: grid; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 1060px) { .bb-sp { grid-template-columns: minmax(0, 1fr) 380px; } }
.bb-sp__aside { align-self: start; }
@media (min-width: 1060px) { .bb-sp__aside { position: sticky; top: 100px; } }
.bb-enqcard { background: var(--bb-paper); border: 1px solid var(--bb-line); padding: 30px; }
.bb-enqcard h2 { font-size: 34px; }
.bb-enqcard .bb-form { margin-top: 10px; gap: 14px; }
.bb-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .bb-gallery { grid-template-columns: repeat(3, 1fr); } }
.bb-gallery a { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bb-sand); }
.bb-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--bb-ease); }
.bb-gallery a:hover img { transform: scale(1.04); }
.bb-gallery__empty { border: 1px dashed var(--bb-line); padding: 36px; text-align: center; color: var(--bb-stone); font-size: 15px; background: var(--bb-paper); }
.bb-map-embed { aspect-ratio: 16 / 10; border: 1px solid var(--bb-line); background: var(--bb-paper); }
.bb-map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.bb-amen { columns: 2; column-gap: 32px; list-style: none; padding: 0; margin: 0; }
.bb-amen li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--bb-line); font-size: 16px; }
.bb-block + .bb-block { margin-top: clamp(48px, 6vw, 80px); }
.bb-block > h2 { font-size: clamp(30px, 3.2vw, 42px); }

/* FAQ */
.bb-faq { border-top: 1px solid var(--bb-line); }
.bb-faq details { border-bottom: 1px solid var(--bb-line); }
.bb-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font: 500 clamp(21px, 2vw, 26px)/1.3 var(--bb-serif); color: var(--bb-ink); }
.bb-faq summary::-webkit-details-marker { display: none; }
.bb-faq summary::after { content: ""; flex: 0 0 14px; height: 14px; background: linear-gradient(var(--bb-red), var(--bb-red)) center / 14px 1.5px no-repeat, linear-gradient(var(--bb-red), var(--bb-red)) center / 1.5px 14px no-repeat; transition: transform .3s var(--bb-ease); }
.bb-faq details[open] summary::after { transform: rotate(45deg); }
.bb-faq .answer { padding: 0 0 26px; max-width: 70ch; color: var(--bb-ink-soft); font-size: 16.5px; }

/* ---------- Contact ---------- */
.bb-contact { display: grid; gap: clamp(40px, 6vw, 88px); }
@media (min-width: 1000px) { .bb-contact { grid-template-columns: 7fr 5fr; } }
.bb-dl { margin: 0; border-top: 1px solid var(--bb-line); }
.bb-dl div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--bb-line); font-size: 15.5px; }
.bb-dl dt { font: 650 11.5px/1.9 var(--bb-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bb-stone); }
.bb-dl dd { margin: 0; color: var(--bb-ink); word-break: break-word; }
.bb-wa { margin-top: 36px; padding: 30px; background: var(--bb-night); color: #E9E2D6; }
.bb-wa h3 { color: #fff; font-family: var(--bb-serif); font-size: 30px; font-weight: 500; margin-bottom: 8px; }
.bb-wa p { font-size: 15.5px; color: rgba(233,226,214,.85); }
.bb-wa .bb-btn { --bg: #fff; --fg: var(--bb-ink); --bd: #fff; }
.bb-wa .bb-btn::before { background: var(--bb-red); }

/* ---------- Footer ---------- */
.bb-footer { background: var(--bb-night); color: rgba(233,226,214,.78); font-size: 15px; padding: clamp(64px, 8vw, 104px) 0 calc(28px + env(safe-area-inset-bottom)); }
.bb-footer a { color: rgba(246,241,232,.92); }
.bb-footer a:hover { color: #fff; }
.bb-footer__top { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(246,241,232,.12); }
@media (min-width: 900px) { .bb-footer__top { grid-template-columns: 5fr 2fr 2fr 3fr; } }
.bb-footer__brand img { height: 46px; width: auto; margin-bottom: 22px; }
.bb-footer__brand p { max-width: 36ch; }
.bb-footer__tag { font: italic 400 22px/1.3 var(--bb-serif); color: #F6F1E8; margin-bottom: 14px !important; }
.bb-footer h4 { font: 650 12px/1 var(--bb-sans); letter-spacing: .16em; text-transform: uppercase; color: #E7A79A; margin-bottom: 18px; }
.bb-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bb-footer__legal { padding-top: 30px; display: grid; gap: 18px; font-size: 12.5px; line-height: 1.7; color: rgba(233,226,214,.6); }
.bb-footer__legal strong { color: rgba(246,241,232,.85); font-weight: 600; }
.bb-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12.5px; color: rgba(233,226,214,.5); }

/* ---------- Floating & sticky CTAs ---------- */
.bb-wa-float {
	position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
	display: none; align-items: center; justify-content: center; background: #1F7A4D; color: #fff;
	box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); transition: transform .3s var(--bb-ease);
}
.bb-wa-float:hover { color: #fff; transform: translateY(-3px); }
.bb-wa-float svg { width: 28px; height: 28px; }
@media (min-width: 900px) { .bb-wa-float { display: inline-flex; } }
.bb-mbar { position: fixed; inset: auto 0 0 0; z-index: 45; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bb-paper); border-top: 1px solid var(--bb-line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -10px 30px -20px rgba(30,27,24,.4); }
.bb-mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 62px; font: 650 11.5px/1 var(--bb-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--bb-ink); }
.bb-mbar a + a { border-left: 1px solid var(--bb-line); }
.bb-mbar a.is-primary { background: var(--bb-red); color: #fff; }
.bb-mbar svg { width: 20px; height: 20px; }
@media (min-width: 900px) { .bb-mbar { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 62px; } }

/* ---------- Legal / generic page ---------- */
.bb-prose { max-width: 760px; }
.bb-prose h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 1.6em; }
.bb-prose h3 { margin-top: 1.4em; }
.bb-prose ul, .bb-prose ol { padding-left: 1.2em; }
.bb-prose li { margin-bottom: .5em; }

/* ---------- Reveal animation ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--bb-ease), transform .8s var(--bb-ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="img"] { opacity: 1; transform: none; overflow: hidden; }
.js [data-reveal="img"] img { transform: scale(1.04); transition: transform 1.6s var(--bb-ease); }
.js [data-reveal="img"].is-in img { transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.js .bb-process { --bb-progress: 1; }
}

.bb-btn svg:not(.arrow) { width: 20px; height: 20px; }

.bb-section--night + .bb-footer, main:has(> .bb-section--night:last-child) + .bb-footer { border-top: 1px solid rgba(246,241,232,.12); }
.bb-sp .bb-mapplate { grid-template-columns: 1fr; margin-top: 24px; }
.bb-enqcard .bb-form .row--2 { grid-template-columns: 1fr; }
.bb-glance .bb-awaiting { font-size: 15px; }
@media (max-width: 760px) { .bb-scrollcue { display: none; } .bb-hero__content { padding-bottom: 40px; } }
@media (max-width: 899px) { .bb-hero { min-height: calc(100svh - 62px); } }
