:root {
    --cream: #f8f1e9;
    --paper: #fffaf5;
    --pink: #ef6f8c;
    --pink-dark: #df4f72;
    --pink-soft: #efb1bc;
    --pink-pale: #f8d7dd;
    --ink: #101010;
    --muted: #6d635f;
    --line: #e7d6d0;
    --gold: #ba8330;
    --shadow: 0 18px 45px rgba(91, 54, 55, 0.12);
    --serif: "Bodoni Moda", Didot, "Times New Roman", serif;
    --sans: "Inter", Arial, sans-serif;
    --script: "Allura", "Brush Script MT", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.screen-reader-text { position: absolute; left: -9999px; }
.screen-reader-text:focus { left: 10px; top: 10px; z-index: 9999; background: #fff; padding: 10px; }

.bb-site {
    width: min(1420px, calc(100% - 40px));
    margin: 20px auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 124px;
    background: var(--paper);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.bb-main { min-width: 0; }
.bb-rail {
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    border-left: 1px solid var(--line);
    background: var(--paper);
}
.bb-rail__item {
    min-height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 18px 10px;
    border-bottom: 1px solid var(--line);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    text-align: center;
    transition: background .2s ease, color .2s ease;
}
.bb-rail__item small { font-size: 10px; font-weight: 500; }
.bb-rail__item:hover { background: var(--pink-pale); }
.bb-rail__item.is-active { background: linear-gradient(135deg, var(--pink), var(--pink-dark)); color: #111; }
.bb-home .bb-rail__item.is-active { background: #101010; color: #fff; }

.bb-eyebrow {
    margin: 0 0 18px;
    color: var(--pink-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: .98; margin-top: 0; }
.bb-dots {
    background-image: radial-gradient(rgba(223,79,114,.12) .7px, transparent .7px);
    background-size: 11px 11px;
}
.bb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 52px;
    padding: 14px 24px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: 0 8px 16px rgba(0,0,0,.12);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.bb-button:hover, .bb-button:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 22px rgba(0,0,0,.16); }
.bb-button--outline { background: transparent; color: #111; box-shadow: none; }
.bb-button--light { background: #fffaf5; color: #111; box-shadow: 6px 6px 0 rgba(223,79,114,.12); }
.bb-actions { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 34px; }
.bb-home .bb-actions { display: grid; grid-template-columns: 1.08fr .92fr; gap: 12px; }
.bb-home .bb-actions .bb-button { width: 100%; min-width: 0; padding-left: 14px; padding-right: 14px; gap: 10px; font-size: 10.5px; white-space: nowrap; }

.bb-footer {
    min-height: 118px;
    display: grid;
    grid-template-columns: 1.15fr .8fr 1fr;
    align-items: center;
    gap: 28px;
    padding: 25px 42px;
    background: linear-gradient(90deg, #efb6c0, #f3cbd0);
    border-top: 1px solid rgba(223,79,114,.14);
}
.bb-footer__title { font-family: var(--serif); font-size: clamp(38px, 4vw, 64px); line-height: 1; }
.bb-footer__title span { color: var(--pink-dark); margin-left: 10px; }
.bb-footer__social { display: grid; gap: 7px; width: max-content; font-size: 13px; }
.bb-footer__social a { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; column-gap: 10px; font-weight: 600; }
.bb-social-icon { display: block; width: 18px; height: 18px; justify-self: center; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bb-social-icon--facebook { fill: currentColor; stroke: none; }
.bb-footer__social a:hover span { text-decoration: underline; }

/* Home */
.bb-home-hero { display: grid; grid-template-columns: 1.02fr 1fr; min-height: 610px; align-items: stretch; }
.bb-home-hero__image { min-height: 0; overflow: hidden; background: #f1c1c5; }
.bb-home-hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.bb-home-hero__copy { padding: clamp(50px, 6vw, 100px) clamp(45px, 6vw, 92px); }
.bb-home-hero h1 { font-size: clamp(55px, 6vw, 88px); margin-bottom: 30px; letter-spacing: -.04em; }
.bb-home-hero h1 em { font-family: var(--script); color: var(--pink); font-weight: 400; font-size: 1.12em; }
.bb-home-hero h1 span { color: var(--pink); font-size: .72em; margin-left: 8px; }
.bb-home-hero p:not(.bb-eyebrow) { max-width: 620px; color: #302b29; font-size: 15px; }
.bb-home-services { padding: 46px 50px 34px; border-top: 1px solid var(--line); }
.bb-home-services__heading { text-align: center; max-width: 760px; margin: 0 auto 38px; }
.bb-home-services h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.05; }
.bb-service-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.bb-service-mini-grid article { padding: 0 26px; text-align: center; border-right: 1px solid var(--line); }
.bb-service-mini-grid article:last-child { border-right: 0; }
.bb-service-mini-grid h3 { font-family: var(--sans); font-size: 13px; font-weight: 700; line-height: 1.3; text-transform: uppercase; margin: 14px 0 10px; }
.bb-service-mini-grid p { margin: 0; font-size: 13px; color: #4c4441; }
.bb-icon-circle { width: 54px; height: 54px; border: 1.5px solid var(--pink); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #7d4a3d; font-size: 24px; }

/* About */
.bb-about-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; padding: 42px 54px 38px; min-height: 770px; }
.bb-about-copy h1 { font-size: clamp(52px, 5vw, 76px); letter-spacing: -.035em; margin-bottom: 28px; }
.bb-about-copy h1 span { font-size: .8em; }
.bb-about-copy p { font-size: 14px; margin: 0 0 16px; }
.bb-pullquote { font-family: var(--serif); font-weight: 600; font-size: 18px !important; line-height: 1.3; padding: 10px 0; }
.bb-script-signoff { font-family: var(--script); color: var(--pink); font-size: 31px !important; line-height: 1.05; margin-top: 24px !important; }
.bb-about-visual { position: relative; align-self: start; }
.bb-about-visual::after { content: ""; position: absolute; right: 0; top: 350px; width: 58%; height: 320px; background: #fffaf5; z-index: 0; }
.bb-polaroid { position: relative; z-index: 1; width: 72%; margin: 10px 0 34px 4%; padding: 14px 14px 22px; background: #fff; box-shadow: 0 14px 30px rgba(67,40,40,.12); transform: rotate(.4deg); }
.bb-polaroid img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.bb-polaroid .bb-tape { display: block; }
.bb-polaroid .bb-paperclip { display: none; }
.bb-tape { position: absolute; width: 108px; height: 28px; top: -14px; left: 52%; transform: translateX(-50%) rotate(2deg); background: rgba(239,225,184,.78); z-index: 3; }
.bb-paperclip { position: absolute; right: -14px; top: -10px; color: var(--gold); font-size: 42px; transform: rotate(15deg); z-index: 4; }
.bb-mission-note { position: absolute; right: -31%; bottom: -2%; top: auto; width: 55%; min-height: 250px; z-index: 4; padding: 48px 30px 42px; background-color: #fffaf0; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 29px, rgba(189,159,126,.12) 30px); box-shadow: 0 12px 28px rgba(67,40,40,.16); clip-path: polygon(0 1%,7% 0,14% 1.2%,21% .2%,29% 1%,36% .1%,44% 1%,51% .2%,59% 1.1%,67% .1%,75% 1%,83% .2%,91% 1.2%,100% .3%,99% 93%,92% 95%,85% 94%,77% 97%,69% 94%,61% 97%,53% 94%,45% 97%,37% 94%,29% 97%,21% 94%,13% 97%,5% 94%,0 96%); transform: rotate(-2deg); }
.bb-mission-note::before { content: ""; position: absolute; top: -15px; left: 50%; width: 118px; height: 32px; background: rgba(229,211,166,.78); transform: translateX(-50%) rotate(1.5deg); box-shadow: 0 2px 4px rgba(80,60,40,.05); }
.bb-mission-note h2 { font-family: var(--script); font-size: 40px; margin: 0 0 22px; }
.bb-mission-note p { font-size: 13px; margin: 0; }
.bb-credentials { position: relative; z-index: 3; clear: both; margin-top: 12px; }
.bb-credentials > h2 { display: flex; align-items: center; gap: 14px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.bb-credentials > h2::before, .bb-credentials > h2::after { content: ""; flex: 1; height: 1px; background: var(--pink-soft); }
.bb-credential-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--pink-soft); font-size: 12px; }
.bb-credential-row strong { text-transform: uppercase; line-height: 1.3; }
.bb-credential-row p { margin: 0; }

/* Work with me */
.bb-work-hero { display: grid; grid-template-columns: .88fr 1.12fr; min-height: 650px; border-bottom: 1px solid var(--line); }
.bb-work-hero__copy { padding: 48px 52px 46px; }
.bb-work-hero__copy h1 { font-size: clamp(56px, 5.5vw, 82px); letter-spacing: -.04em; margin-bottom: 16px; }
.bb-work-hero__copy p { font-size: 14px; margin: 0 0 18px; }
.bb-work-hero__copy .bb-button { margin-top: 15px; }
.bb-work-hero__image { overflow: hidden; }
.bb-work-hero__image img { height: 100%; object-fit: cover; object-position: center 42%; }
.bb-divider-heart { display: flex; align-items: center; gap: 12px; color: var(--pink); margin: 14px 0 22px; }
.bb-divider-heart::before { content: ""; width: 125px; height: 1px; background: var(--pink); }
.bb-work-services { padding: 42px 40px 30px; }
.bb-work-services > h2 { text-align: center; font-size: clamp(44px, 5vw, 68px); margin-bottom: 8px; }
.bb-title-rule { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--pink); margin-bottom: 30px; }
.bb-title-rule::before, .bb-title-rule::after { content: ""; width: 24%; height: 1px; background: var(--pink-soft); }
.bb-work-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.bb-work-grid article { padding: 0 24px 12px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.bb-work-grid article:first-child { padding-left: 0; }
.bb-work-grid article:last-child { border-right: 0; padding-right: 0; }
.bb-number { font-family: var(--serif); font-style: italic; color: var(--pink); font-size: 22px; }
.bb-work-grid h3 { font-size: 35px; margin: 4px 0 18px; }
.bb-work-grid p, .bb-work-grid li { font-size: 12.5px; }
.bb-work-grid h4 { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; margin: 18px 0 8px; }
.bb-work-grid ul { padding-left: 16px; margin: 0 0 20px; }
.bb-work-grid li { margin-bottom: 5px; }
.bb-work-grid li::marker { color: var(--pink); }
.bb-work-grid article > a { margin-top: auto; width: fit-content; padding-bottom: 5px; border-bottom: 2px solid var(--pink); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.bb-tailored-note { max-width: 690px; margin: 30px auto 0; display: flex; align-items: center; gap: 20px; }
.bb-tailored-note p { font-size: 13px; margin: 0; }
.bb-work-cta { text-align: center; background: linear-gradient(120deg, #efb3bf, #f3c8ce); padding: 46px 30px 52px; }
.bb-work-cta h2 { font-size: clamp(42px, 5vw, 68px); margin-bottom: 8px; }
.bb-work-cta > span { color: var(--pink-dark); font-size: 22px; }
.bb-work-cta p { max-width: 690px; margin: 10px auto 24px; font-size: 13px; }

/* Testimonials */
.bb-testimonials-layout { display: grid; grid-template-columns: .38fr .62fr; min-height: 0; align-items: stretch; }
.bb-testimonials-intro { padding: 46px 38px 18px; display: flex; flex-direction: column; }
.bb-testimonials-intro h1 { font-size: clamp(54px, 5.4vw, 80px); letter-spacing: -.04em; margin-bottom: 24px; }
.bb-testimonials-intro h1 span { color: var(--pink); font-family: var(--sans); font-size: .3em; margin-left: 8px; }
.bb-testimonials-intro p { max-width: 340px; margin: 0 0 15px; font-size: 13.5px; }
.bb-testimonials-intro .bb-button { margin-top: 10px; }
.bb-story-panel { position: relative; overflow: hidden; background: radial-gradient(circle at 70% 15%, #f4d8de 0, #efb5c0 46%, #edabb8 100%); padding: 38px 36px 18px; }
.bb-story-header { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid rgba(17,17,17,.4); padding-bottom: 18px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bb-story-header span:last-child { position: absolute; left: 34px; top: 52px; color: rgba(223,79,114,.28); font-family: var(--serif); font-size: 100px; line-height: 1; }
.bb-story-top { display: grid; grid-template-columns: 58% 38%; gap: 4%; align-items: start; }
.bb-story-main { width: 100%; padding: 30px 8px 10px; }
.bb-story-main blockquote { margin: 0; font-family: var(--serif); font-size: clamp(25px, 2vw, 34px); line-height: 1.12; text-wrap: pretty; }
.bb-keep-together { white-space: nowrap; }
.bb-client { margin: 22px 0 0; font-size: 11.5px; text-transform: none; }
.bb-client strong { text-transform: uppercase; letter-spacing: .15em; }
.bb-y2k-collage { position: relative; width: 100%; min-height: 380px; margin-top: 12px; transform: rotate(1.5deg); }
.bb-collage-paper { position: absolute; left: 3%; top: 76px; width: 92%; padding: 25px 20px 31px; background: #fffaf5; box-shadow: 0 14px 24px rgba(70,39,45,.15); transform: rotate(2deg); }
.bb-collage-paper::before { content: ""; position: absolute; inset: -18px -14px 18px 18px; background: rgba(255,255,255,.28); border: 1px solid rgba(255,255,255,.5); z-index: -1; transform: rotate(-6deg); }
.bb-collage-paper h2 { color: #d35673; font-size: 22px; line-height: 1.08; text-transform: uppercase; margin-bottom: 18px; overflow-wrap: normal; }
.bb-collage-paper strong { display: inline-block; background: #111; color: #fff; padding: 3px 11px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.bb-collage-paper p { margin: 8px 0 14px; font-size: 12px; }
.bb-collage-note-small { position: absolute; right: 20%; top: 0; padding: 15px 22px; background: #fffaf5; font-family: var(--serif); font-style: italic; font-size: 18px; text-align: center; box-shadow: 0 8px 16px rgba(0,0,0,.08); transform: rotate(-3deg); z-index: 2; }
.bb-collage-note-small span { color: var(--pink); }
.bb-collage-tape { position: absolute; top: -5px; right: 28%; width: 90px; height: 25px; background: rgba(227,197,172,.75); z-index: 4; transform: rotate(4deg); }
.bb-collage-clip { position: absolute; right: 2%; top: 52px; font-size: 48px; color: #6f5f5b; z-index: 4; transform: rotate(10deg); }
.bb-collage-ribbon { position: absolute; left: 3%; bottom: 5px; background: #fff5ed; padding: 7px 12px; font-family: var(--serif); font-size: 11px; box-shadow: 0 5px 12px rgba(0,0,0,.08); z-index: 4; }
.bb-collage-seal { position: absolute; right: 1%; bottom: -4px; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: #e59ab0; font-family: var(--serif); font-style: italic; text-align: center; line-height: 1.05; transform: rotate(-8deg); z-index: 5; }
.bb-collage-star { position: absolute; color: #fff7f4; font-size: 30px; z-index: 6; }
.star-one { left: -8px; top: 64px; } .star-two { right: -20px; bottom: 46px; }
.bb-intro-quotes { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; border-top: 1px solid rgba(17,17,17,.18); background: #efb5c0; }
.bb-intro-quotes blockquote { margin: 0; padding: 14px 12px; border-right: 1px solid rgba(17,17,17,.16); }
.bb-intro-quotes blockquote:last-child { border-right: 0; }
.bb-intro-quotes p { margin: 0 0 9px; font-family: var(--serif); font-size: 13px; line-height: 1.28; }
.bb-intro-quotes footer { font-size: 9px; line-height: 1.35; }
.bb-intro-quotes footer strong { text-transform: uppercase; letter-spacing: .14em; }
.bb-project-snapshot { margin-top: 12px; padding: 20px 24px 16px; border: 1px solid rgba(223,79,114,.16); border-radius: 16px; background: rgba(255,250,245,.68); }
.bb-project-snapshot > h2 { margin: 0 0 16px; color: var(--pink-dark); font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bb-project-snapshot__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.bb-project-snapshot__grid article { display: grid; grid-template-columns: 46px 1fr; gap: 12px; min-width: 0; padding: 0 18px; border-right: 1px solid rgba(223,79,114,.16); }
.bb-project-snapshot__grid article:first-child { padding-left: 0; }
.bb-project-snapshot__grid article:last-child { padding-right: 0; border-right: 0; }
.bb-project-icon { width: 44px; height: 44px; fill: none; stroke: var(--pink-dark); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bb-project-snapshot h3 { margin: 0 0 5px; font-family: var(--sans); font-size: 10.5px; font-weight: 700; line-height: 1.25; text-transform: uppercase; }
.bb-project-snapshot article p { margin: 0; font-size: 10.5px; line-height: 1.5; }
.bb-project-result { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid rgba(223,79,114,.18); font-size: 11.5px; }
.bb-project-result strong { color: var(--pink-dark); text-transform: uppercase; letter-spacing: .04em; }
.bb-transformation-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1.25fr; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 16px; border: 1px solid rgba(223,79,114,.18); background: rgba(255,250,245,.5); font-size: 10.5px; font-weight: 700; text-align: center; text-transform: uppercase; }
.bb-transformation-flow b { color: var(--pink-dark); font-size: 20px; font-weight: 400; }

/* Contact */
.bb-contact-layout { display: flex; width: 100%; min-height: 800px; align-items: stretch; }
.bb-contact-photo { flex: 0 0 34%; min-width: 0; overflow: hidden; }
.bb-contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.bb-contact-center { flex: 0 0 39%; min-width: 0; padding: 40px 34px 30px; }
.bb-contact-heading h1 { font-size: clamp(64px, 6vw, 92px); margin-bottom: 6px; letter-spacing: -.05em; }
.bb-contact-heading .bb-script-signoff { margin: 0 0 14px !important; }
.bb-contact-heading > p:last-child { font-size: 12.5px; }
.bb-contact-form { margin-top: 20px; padding: 24px; background: rgba(255,250,245,.9); border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(65,40,40,.08); }
.bb-contact-form label { display: block; margin-bottom: 15px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.bb-contact-form label span { color: #8a7c77; font-weight: 400; }
.bb-contact-form input, .bb-contact-form select, .bb-contact-form textarea { width: 100%; margin-top: 7px; border: 1px solid #ddcbc4; background: rgba(255,255,255,.55); padding: 10px 12px; outline: 0; border-radius: 0; }
.bb-contact-form input:focus, .bb-contact-form select:focus, .bb-contact-form textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 2px rgba(223,79,114,.13); }
.bb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bb-contact-form .bb-button { width: 72%; margin-top: 4px; }
.bb-honeypot { position: absolute; left: -9999px; }
.bb-form-message { margin: 18px 0 0; padding: 14px 16px; border: 1px solid var(--line); background: #fff; font-size: 13px; }
.bb-form-message p { margin: 4px 0 0; }
.bb-form-message--success { border-color: #c98899; background: #fff6f8; }
.bb-form-message--error { border-color: #b94e4e; background: #fff4f4; }
.bb-contact-note-wrap { flex: 1 1 27%; min-width: 0; background: linear-gradient(135deg, #eca8b7, #efc2ca); padding: 62px 24px; }
.bb-contact-note { position: relative; padding: 40px 28px 46px; background: #fffaf5; box-shadow: 0 15px 30px rgba(78,43,47,.14); clip-path: polygon(0 0,100% 0,100% 96%,94% 98%,87% 96%,79% 99%,72% 96%,64% 99%,57% 96%,49% 99%,42% 96%,34% 99%,27% 96%,19% 99%,12% 96%,4% 99%,0 96%); }
.bb-contact-note h2 { font-size: clamp(44px, 4vw, 62px); margin-bottom: 10px; }
.bb-contact-note p { font-size: 12.5px; }
.bb-contact-note h3 { font-family: var(--script); color: var(--pink); font-size: 29px; font-weight: 400; margin: 18px 0 2px; }
.bb-contact-direct { display: grid; gap: 4px; margin-top: 26px; font-size: 12px; }
.bb-contact-direct strong { text-transform: uppercase; margin-top: 8px; }
.bb-contact-direct a:hover { text-decoration: underline; }

.bb-generic { padding: 80px; min-height: 600px; }

@media (max-width: 1100px) {
    .bb-project-snapshot__grid article { grid-template-columns: 38px 1fr; padding: 0 12px; }
    .bb-project-icon { width: 36px; height: 36px; }
    .bb-transformation-flow { font-size: 9.5px; gap: 6px; padding-left: 10px; padding-right: 10px; }
    .bb-site { width: min(100% - 20px, 1100px); grid-template-columns: 1fr; }
    .bb-rail { order: -1; grid-template-columns: repeat(5, 1fr); grid-template-rows: none; border-left: 0; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
    .bb-rail__item { min-height: 70px; border-right: 1px solid var(--line); border-bottom: 0; }
    .bb-home-hero__copy, .bb-work-hero__copy { padding: 50px 42px; }
    .bb-home-hero h1, .bb-work-hero__copy h1 { font-size: 62px; }
    .bb-work-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
    .bb-work-grid article:nth-child(2) { border-right: 0; }
    .bb-work-grid article:nth-child(3) { padding-left: 0; }
    .bb-testimonials-layout { grid-template-columns: .42fr .58fr; }
    .bb-story-main { width: 100%; padding-right: 0; }
    .bb-y2k-collage { width: 100%; min-height: 455px; margin: 18px auto 0; }
    .bb-contact-layout { display: grid; grid-template-columns: .38fr .62fr; }
    .bb-contact-note-wrap { grid-column: 1 / -1; padding: 35px 14%; }
    .bb-contact-note { max-width: 720px; margin: auto; }
}

@media (max-width: 760px) {
    .bb-project-snapshot { margin-top: 22px; padding: 20px; }
    .bb-project-snapshot__grid { grid-template-columns: 1fr; gap: 18px; }
    .bb-project-snapshot__grid article, .bb-project-snapshot__grid article:first-child, .bb-project-snapshot__grid article:last-child { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid rgba(223,79,114,.16); }
    .bb-project-snapshot__grid article:last-child { padding-bottom: 0; border-bottom: 0; }
    .bb-transformation-flow { grid-template-columns: 1fr; gap: 4px; }
    .bb-transformation-flow b { transform: rotate(90deg); }
    body { font-size: 15px; }
    .bb-site { width: 100%; margin: 0; box-shadow: none; }
    .bb-rail { overflow-x: auto; grid-template-columns: repeat(5, minmax(110px, 1fr)); }
    .bb-rail__item { min-height: 60px; padding: 10px 6px; }
    .bb-home-hero, .bb-work-hero, .bb-about-layout, .bb-testimonials-layout, .bb-contact-layout { grid-template-columns: 1fr; }
    .bb-home-hero__image { min-height: 0; }
    .bb-home-hero__image img { height: auto; object-fit: contain; object-position: left top; }
    .bb-home-hero__copy, .bb-work-hero__copy, .bb-about-layout, .bb-testimonials-intro, .bb-contact-center { padding: 38px 24px; }
    .bb-home-hero h1, .bb-work-hero__copy h1, .bb-about-copy h1, .bb-testimonials-intro h1 { font-size: 50px; }
    .bb-actions { flex-direction: column; }
    .bb-home .bb-actions { display: flex; }
    .bb-home .bb-actions .bb-button { white-space: normal; }
    .bb-button { width: 100%; }
    .bb-home-services { padding: 38px 20px; }
    .bb-service-mini-grid { grid-template-columns: 1fr 1fr; gap: 28px 0; }
    .bb-service-mini-grid article:nth-child(2) { border-right: 0; }
    .bb-service-mini-grid article:nth-child(3), .bb-service-mini-grid article:nth-child(4) { border-top: 1px solid var(--line); padding-top: 28px; }
    .bb-about-layout { gap: 30px; }
    .bb-about-visual { padding-bottom: 210px; }
    .bb-polaroid { width: 78%; margin-left: 2%; }
    .bb-mission-note { top: auto; bottom: -185px; width: 56%; right: -18%; }
    .bb-credential-row { grid-template-columns: 1fr; gap: 5px; }
    .bb-credential-row p { grid-column: auto; }
    .bb-work-hero__image { min-height: 520px; }
    .bb-work-services { padding: 38px 22px; }
    .bb-work-grid { grid-template-columns: 1fr; }
    .bb-work-grid article, .bb-work-grid article:first-child, .bb-work-grid article:last-child, .bb-work-grid article:nth-child(3) { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .bb-work-grid article:last-child { border-bottom: 0; }
    .bb-tailored-note { align-items: flex-start; }
    .bb-testimonials-intro { padding-bottom: 42px; }
    .bb-story-panel { padding: 38px 24px 0; }
    .bb-story-top { grid-template-columns: 1fr; }
    .bb-story-main { padding-top: 38px; }
    .bb-client { margin-top: 18px; padding-top: 0; }
    .bb-story-main blockquote { font-size: 30px; }
    .bb-y2k-collage { width: 100%; min-height: 455px; }
    .bb-intro-quotes { grid-template-columns: 1fr; margin-top: 28px; }
    .bb-intro-quotes blockquote { border-right: 0; border-bottom: 1px solid rgba(17,17,17,.16); }
    .bb-contact-photo { min-height: 520px; }
    .bb-contact-layout { display: grid; }
    .bb-contact-note-wrap { padding: 38px 22px; }
    .bb-form-row { grid-template-columns: 1fr; gap: 0; }
    .bb-contact-form { padding: 22px 18px; }
    .bb-contact-form .bb-button { width: 100%; }
    .bb-footer { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; }
    .bb-footer__social { justify-items: center; }
}

@media (max-width: 480px) {
    .bb-home-hero__image { min-height: 400px; }
    .bb-service-mini-grid { grid-template-columns: 1fr; }
    .bb-service-mini-grid article { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 8px; }
    .bb-service-mini-grid article:last-child { border-bottom: 0; }
    .bb-about-visual { padding-bottom: 260px; }
    .bb-polaroid { width: 90%; }
    .bb-mission-note { width: 66%; top: auto; bottom: -245px; right: -6%; }
    .bb-contact-photo { min-height: 440px; }
}

/* Responsive compatibility refinements — desktop design remains unchanged. */
html, body { max-width: 100%; }
body { overflow-x: hidden; }
.bb-main, .bb-site, .bb-footer, .bb-contact-layout, .bb-story-panel { min-width: 0; }
.bb-footer__social a span, .bb-contact-direct a { overflow-wrap: anywhere; }
.admin-bar .bb-rail { top: 32px; }

@media (max-width: 900px) {
    /* Reflow desktop split layouts before they become cramped on tablets. */
    .bb-home-hero,
    .bb-about-layout,
    .bb-testimonials-layout {
        grid-template-columns: 1fr;
    }

    .bb-home-hero__image img {
        height: auto;
        object-fit: contain;
        object-position: left top;
    }
    .bb-home-hero__copy {
        padding: 46px 42px 50px;
    }
    .bb-home .bb-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .bb-home .bb-actions .bb-button {
        white-space: normal;
        line-height: 1.3;
    }
    .bb-service-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 30px;
    }
    .bb-service-mini-grid article:nth-child(2) { border-right: 0; }
    .bb-service-mini-grid article:nth-child(3),
    .bb-service-mini-grid article:nth-child(4) {
        border-top: 1px solid var(--line);
        padding-top: 30px;
    }

    /* Keep the approved taped-note treatment, but place it safely in the flow. */
    .bb-about-layout { gap: 34px; }
    .bb-about-visual { padding-bottom: 0; }
    .bb-about-visual::after { display: none; }
    .bb-polaroid {
        width: min(76%, 560px);
        margin: 4px auto 30px;
    }
    .bb-mission-note {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(62%, 320px);
        min-height: 0;
        margin: -96px -24px 12px auto;
        padding: 45px 28px 38px;
    }
    .bb-credentials {
        width: min(100%, 680px);
        margin: 22px auto 0;
    }

    /* Give the testimonial story and collage their full tablet width. */
    .bb-testimonials-intro { padding-bottom: 34px; }
    .bb-story-panel { padding: 38px 42px 24px; }
    .bb-story-top {
        grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
        gap: 28px;
    }
    .bb-story-main { padding-right: 0; }
    .bb-y2k-collage {
        width: 100%;
        min-height: 420px;
        margin-top: 12px;
    }

    /* Preserve the footer design while preventing tablet crowding. */
    .bb-footer {
        grid-template-columns: minmax(0, 1fr) minmax(220px, .8fr);
        gap: 22px;
        padding: 28px 34px;
    }
    .bb-footer__social {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, max-content);
        justify-content: center;
        gap: 12px 28px;
        width: 100%;
    }
}

@media (max-width: 760px) {
    .admin-bar .bb-rail { top: 46px; }

    /* Keep every navigation item visible without sideways page overflow. */
    .bb-rail {
        overflow: visible;
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .bb-rail__item {
        min-width: 0;
        min-height: 60px;
        padding: 9px 3px;
        gap: 3px;
        font-size: 8px;
        line-height: 1.12;
        letter-spacing: 0;
        overflow-wrap: anywhere;
    }
    .bb-rail__item small { font-size: 8px; }

    .bb-home-hero__copy,
    .bb-work-hero__copy,
    .bb-about-layout,
    .bb-testimonials-intro,
    .bb-contact-center {
        padding-left: 22px;
        padding-right: 22px;
    }
    .bb-home .bb-actions {
        display: flex;
        flex-direction: column;
    }

    .bb-polaroid {
        width: min(90%, 500px);
        margin-bottom: 26px;
    }
    .bb-mission-note {
        width: min(72%, 300px);
        margin: -82px -14px 14px auto;
        padding: 42px 24px 34px;
    }
    .bb-mission-note h2 {
        font-size: 36px;
        margin-bottom: 16px;
    }
    .bb-mission-note p { font-size: 12.5px; }
    .bb-credentials { margin-top: 18px; }
    .bb-credentials > h2 {
        gap: 9px;
        font-size: 11px;
        letter-spacing: .11em;
        text-align: center;
    }

    .bb-story-panel { padding: 34px 20px 20px; }
    .bb-story-top { grid-template-columns: 1fr; gap: 8px; }
    .bb-story-main { padding-top: 34px; }
    .bb-y2k-collage {
        width: min(100%, 500px);
        min-height: 430px;
        margin: 20px auto 0;
    }
    .bb-collage-paper {
        left: 4%;
        width: 92%;
        padding-left: 18px;
        padding-right: 18px;
    }
    .bb-collage-paper h2 {
        max-width: 100%;
        font-size: clamp(18px, 6vw, 22px);
        overflow-wrap: anywhere;
    }
    .bb-collage-note-small { right: 12%; }
    .bb-project-snapshot { border-radius: 14px; }

    .bb-contact-heading h1 { font-size: clamp(54px, 17vw, 76px); }
    .bb-contact-note { padding-left: 24px; padding-right: 24px; }

    .bb-footer {
        grid-template-columns: 1fr;
        justify-items: stretch;
        text-align: center;
        gap: 20px;
        padding: 28px 20px;
    }
    .bb-footer__title { font-size: clamp(42px, 13vw, 58px); }
    .bb-footer .bb-button { width: 100%; }
    .bb-footer__social {
        grid-column: auto;
        grid-template-columns: 1fr;
        justify-content: start;
        justify-items: start;
        width: max-content;
        max-width: 100%;
        margin: 0 auto;
        text-align: left;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .bb-rail__item { font-size: 7.2px; padding-left: 2px; padding-right: 2px; }
    .bb-rail__item small { font-size: 7.5px; }

    .bb-about-copy h1,
    .bb-home-hero h1,
    .bb-work-hero__copy h1,
    .bb-testimonials-intro h1 {
        overflow-wrap: normal;
        word-break: normal;
    }
    .bb-polaroid { width: 94%; padding: 10px 10px 18px; }
    .bb-mission-note {
        width: 78%;
        margin: -70px -8px 14px auto;
        padding: 38px 20px 30px;
    }
    .bb-mission-note::before { width: 96px; height: 27px; }

    .bb-story-main blockquote { font-size: clamp(28px, 8vw, 33px); }
    .bb-y2k-collage { min-height: 415px; }
    .bb-collage-note-small {
        right: 10%;
        padding: 13px 18px;
        font-size: 16px;
    }
    .bb-collage-tape { right: 25%; width: 76px; }
    .bb-collage-clip { right: 0; }
    .bb-collage-ribbon { left: 1%; font-size: 10px; }
    .bb-collage-seal { width: 78px; height: 78px; }

    .bb-contact-photo { min-height: 400px; }
    .bb-contact-form { padding: 20px 14px; }
}
