:root { --brand-cyan:#00b9eb; --electric-terracotta:var(--bronze); --terracotta-deep:#806540; }
.link-arrow { width:.85em; height:.85em; flex:none; display:inline-block; vertical-align:baseline; fill:none; stroke:currentColor; stroke-width:1.5; }
.desktop-nav a:focus-visible,.mobile-nav a:focus-visible {outline-color:var(--brand-cyan)}
.site-footer .footer-brand img,.header-lockup img {object-fit:contain;object-position:left center}
main :is(article,figure,aside),.masthead > * {min-width:0}
.bambu-opening { background:var(--limestone);pointer-events:none }
.bambu-opening .opening-interiors path {stroke:var(--charcoal);stroke-width:2.2;stroke-dasharray:none;animation:none}
.opening-interiors {opacity:0;animation:lockup-lettering .35s 1.7s ease forwards}
@keyframes lockup-lettering {to {opacity:1}}
.opening-exit .opening-wordmark {transform:translateY(-.5rem);transition:transform .24s ease}
.material-real .texture-card {background-size:cover;background-position:center}
.material-real .texture-card::before,.material-real .texture-card::after {display:none}
.material-real .texture-oak {background-image:url('material-timber.webp')}
.material-real .texture-fabric {background-image:url('material-textile.webp')}
.material-real .texture-stone {background-image:url('material-terrazzo.webp')}
.material-real .texture-metal {background-image:url('material-steel.webp')}
.bambu-value-row span,.editorial-about .about-articles article {border-color:var(--bronze)}
.bambu-decision-note {border-color:var(--bronze)}
.mobile-nav nav a small {color:var(--bronze)}
.news-entry {max-width:48rem;margin-inline:auto}
.news-entry p {max-width:64ch}
.news-entry h2 {font-size:clamp(1.4rem,3vw,2rem);margin-top:2rem}
.news-entry .lead {font-size:1.2rem}
@media(prefers-reduced-motion:reduce){*,*::before,*::after {scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}

/* Bridge the compact header from the phone layout to the desktop breakpoint. */
@media (min-width:761px) and (max-width:950px) {
  .masthead .mobile-nav { display:block; align-self:center; }
  .mobile-nav > summary { display:grid; place-items:center; width:44px; height:44px; padding:0; background:transparent; cursor:pointer; }
  .mobile-nav .menu-bars { display:flex; width:25px; height:18px; flex-direction:column; justify-content:space-between; }
  .mobile-nav .menu-bars > span { display:block; height:2px; width:100%; background:var(--bronze); }
  .mobile-nav[open] .menu-bars > :first-child { transform:translateY(8px) rotate(45deg); }
  .mobile-nav[open] .menu-bars > :nth-child(2) { opacity:0; }
  .mobile-nav[open] .menu-bars > :last-child { transform:translateY(-8px) rotate(-45deg); }
}
.menu-bars { animation:none; }

/* Keep the expanded mobile menu above every page section on iOS Safari. */
header:has(.mobile-nav[open]) { position:relative; z-index:10000; isolation:auto; }
.mobile-nav[open] { z-index:10001; }
.mobile-nav[open] > nav { position:fixed!important; inset:var(--bambu-menu-top,72px) 0 0!important; width:100vw!important; height:calc(100dvh - var(--bambu-menu-top,72px))!important; max-height:none!important; overflow-y:auto!important; overscroll-behavior:contain; background:#1f1f21!important; opacity:1!important; visibility:visible!important; z-index:10002!important; -webkit-overflow-scrolling:touch; }
body:has(.mobile-nav[open]) { overflow:hidden; }
@media(max-width:760px) { .mobile-nav[open] > nav { top:var(--bambu-menu-top,72px)!important; } }

/* About: architectural drawing as a restrained visual layer, not another text panel. */
.startup-about-hero { position:relative; isolation:isolate; min-height:clamp(420px,58vw,680px); display:flex; flex-direction:column; justify-content:center; }
.startup-about-hero::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,#1f1f21 0%,#1f1f21ee 42%,#1f1f2199 100%),url("assets/studies/line-study.svg") right center/auto 115% no-repeat; opacity:.95; pointer-events:none; }
.startup-about-hero h1 { max-width:12ch; font-size:clamp(3rem,8vw,7rem); line-height:.99; letter-spacing:-.065em; }
.startup-about-hero>p:last-child { max-width:51ch; font-size:clamp(1.1rem,1.7vw,1.35rem); line-height:1.55; }
@media(max-width:760px) { .startup-about-hero { min-height:480px; padding:clamp(1.5rem,6vw,3rem)!important; } .startup-about-hero::before { background:linear-gradient(90deg,#1f1f21 0%,#1f1f21dd 65%,#1f1f21bb 100%),url("assets/studies/line-study.svg") 65% center/auto 105% no-repeat; } .startup-about-hero h1 { font-size:clamp(2.7rem,10.5vw,4.5rem); overflow-wrap:normal; } }

/* Editorial rhythm: remove compounded section margins, keep breathing room where it serves the content. */
main.wrap:not(.bambu-home) > section + section { margin-top:clamp(1.75rem,4vw,3.75rem); }
main.wrap:not(.bambu-home) > .intro + section { margin-top:clamp(1.5rem,3vw,2.75rem); }
main.wrap:not(.bambu-home) > .editorial-panel,
main.wrap:not(.bambu-home) > .related-services,
main.wrap:not(.bambu-home) > .tools-directory { margin-top:clamp(1.5rem,3vw,2.75rem); }
main.wrap:not(.bambu-home) > .bambu-editorial-journey { margin-block:clamp(2rem,4vw,3.75rem) 0; }
main.wrap:not(.bambu-home) > .end-cta { margin-top:clamp(2rem,4vw,3.75rem); }
main.wrap:not(.bambu-home) > section:last-child { margin-bottom:0; }
main.wrap:not(.bambu-home) > section > h2 + p { max-width:68ch; }
/* About should feel intentional rather than a full-screen void. */
.startup-about-hero { min-height:clamp(360px,43vw,540px); }
@media(max-width:760px) {
  main.wrap:not(.bambu-home) > section + section { margin-top:clamp(1.5rem,6vw,2.5rem); }
  main.wrap:not(.bambu-home) > .bambu-editorial-journey { margin-block:2rem 0; }
  .startup-about-hero { min-height:390px; }
}

/* Final spacing pass: do not stack component-owned margins on top of page section rhythm. */
main.wrap:not(.bambu-home) > section + section { margin-block-start:clamp(1.75rem,4vw,3.75rem); }
main.wrap:not(.bambu-home) > .bambu-editorial-journey { margin-block-end:0; }
main.wrap:not(.bambu-home) > .end-cta { margin-block-end:0; }
main.wrap:not(.bambu-home) > .related-services + .tools-directory { margin-block-start:clamp(1.25rem,2.5vw,2.25rem); }
main.wrap:not(.bambu-home) > .tools-directory + .bambu-editorial-journey { margin-block-start:clamp(1.75rem,3vw,3rem); }
/* Make the open navigation a full viewport overlay without the old fixed 72px cap. */
.mobile-nav[open] > nav { top:var(--bambu-menu-top,72px)!important; bottom:0!important; height:auto!important; max-height:none!important; box-sizing:border-box; }
@media(max-width:760px){
  main.wrap:not(.bambu-home) > section + section { margin-block-start:clamp(1.5rem,6vw,2.5rem); }
  .mobile-nav[open] > nav { padding-bottom:max(2rem,env(safe-area-inset-bottom))!important; }
}

/* BAMBU refinement / consistent type, surfaces and responsive editorial rhythm.
   Preserve useful explanations; improve their presentation rather than hiding them. */
:root { --bambu-ink:#1f1f21; --bambu-paper:#f4f3ee; --bambu-rule:rgba(31,31,33,.18); --bambu-focus:#00b9eb; }
html { scroll-padding-top:clamp(5rem,9vw,7rem); }
body { overflow-wrap:break-word; }
main :is(p,li) { text-wrap:pretty; }
main :is(h1,h2,h3) { text-wrap:balance; }
main p { line-height:1.62; }
main :is(p,li) a:not(.cta):not(.text-link) { text-underline-offset:.17em; }
:where(a,button,input,textarea,select,summary,[tabindex]):focus-visible {
  outline:2px solid var(--bambu-focus); outline-offset:4px;
}
img,video,svg { max-width:100%; }
img { height:auto; }
main :is(.cta,.text-link,.editorial-links a,.routes a) { transition:color .2s ease,background-color .2s ease,border-color .2s ease,transform .2s ease; }
@media(hover:hover) {
  main .cta:hover { transform:translateY(-2px); }
  main .editorial-links a:hover,main .routes a:hover { transform:translateX(3px); }
}
@media(prefers-reduced-motion:reduce) {
  main :is(.cta,.text-link,.editorial-links a,.routes a) { transition:none!important; transform:none!important; }
}
/* Align the transitions between editorial sections; no arbitrary empty panels. */
main.wrap:not(.bambu-home) > section { scroll-margin-top:6rem; }
main.wrap:not(.bambu-home) > section + section { margin-block-start:clamp(2rem,4.2vw,4rem); }
main.wrap:not(.bambu-home) > .intro + section { margin-block-start:clamp(1.5rem,3vw,2.75rem); }
main.wrap:not(.bambu-home) > :is(.related-services,.tools-directory,.editorial-panel) {
  min-height:0; margin-block-end:0;
}
main.wrap:not(.bambu-home) > .bambu-editorial-journey { margin-block:clamp(2rem,4vw,3.75rem) 0; }
main.wrap:not(.bambu-home) > section:last-child { margin-block-end:0; }
main.wrap:not(.bambu-home) > .intro p:not(.kicker) { max-width:62ch; font-size:clamp(1.05rem,1.55vw,1.3rem); }
main.wrap:not(.bambu-home) > .intro h1 { line-height:1.03; }
/* Introduce an architectural rhythm within long-form sections, without deleting copy. */
main.wrap:not(.bambu-home) > :is(.editorial-panel,.approvals-answer,.service-note) {
  border-radius:0; box-sizing:border-box;
}
main.wrap:not(.bambu-home) > .editorial-panel { padding:clamp(1.5rem,3.5vw,3.25rem); }
main.wrap:not(.bambu-home) .editorial-links { row-gap:.65rem; }
main.wrap:not(.bambu-home) .related-services-grid { row-gap:.7rem; }
main.wrap:not(.bambu-home) :is(.related-services,.tools-directory) > h2 { max-width:22ch; }
main.wrap:not(.bambu-home) .bambu-editorial-journey { overflow:hidden; }
main.wrap:not(.bambu-home) .bambu-journey-steps li { min-height:0; }
main.wrap:not(.bambu-home) .bambu-journey-steps p { max-width:43ch; }
/* The homepage should flow as a sequence of composed scenes, not disconnected boxes. */
.bambu-home > section + section { margin-block-start:0!important; }
.bambu-home :is(.relaunch-belief,.relaunch-method,.relaunch-focus,.relaunch-standards) {
  scroll-margin-top:6rem;
}
.bambu-home .relaunch-belief { padding-block:clamp(3rem,7vw,6rem); }
.bambu-home .relaunch-method { padding-block:clamp(3rem,6vw,5.5rem); }
.bambu-home .relaunch-focus { padding-block:clamp(3rem,6vw,5.5rem); }
.bambu-home .relaunch-standards { padding-block:clamp(3rem,6vw,5.5rem); }
.bambu-home .relaunch-method-grid article { min-width:0; }
.bambu-home .relaunch-method-grid p { max-width:39ch; }
.bambu-home .relaunch-final { padding-block:clamp(3.25rem,7vw,6.5rem); }
/* About page: strong opening, then accessible, readable substance. */
.startup-about-hero { min-height:clamp(340px,42vw,540px); }
.startup-manifesto p:not(.kicker) { max-width:70ch; }
.startup-pillars article { min-width:0; }
.startup-pillars article p { max-width:56ch; }
.startup-founder-note p { max-width:66ch; }
/* Navigation stays in front of content, including iOS Safari. */
@media(max-width:950px) {
  body:has(.mobile-nav[open]) > header { position:relative; z-index:100000!important; isolation:auto!important; }
  body:has(.mobile-nav[open]) .mobile-nav > nav {
    top:var(--bambu-menu-top,72px)!important; bottom:0!important;
    height:auto!important; max-height:none!important; box-sizing:border-box;
    padding-bottom:max(2rem,env(safe-area-inset-bottom))!important;
  }
  body:has(.mobile-nav[open]) .mobile-nav { position:static; }
}
@media(max-width:760px) {
  main.wrap:not(.bambu-home) > section + section { margin-block-start:clamp(1.75rem,6vw,2.75rem); }
  main.wrap:not(.bambu-home) > .bambu-editorial-journey { margin-block-start:2rem; }
  main.wrap:not(.bambu-home) > .intro h1 { font-size:clamp(2.25rem,9.5vw,4.25rem); }
  .startup-about-hero { min-height:370px; }
  .bambu-home .relaunch-belief { padding-block:3rem; }
  .bambu-home .relaunch-method,.bambu-home .relaunch-focus,.bambu-home .relaunch-standards { padding-block:3rem; }
  .bambu-home .relaunch-final { padding-block:3.5rem; }
  .site-footer .footer-top { row-gap:2rem; }
  .contact-prompts { gap:.75rem; }
}
@media(max-width:420px) {
  .mobile-nav[open] > nav { padding-inline:1.25rem!important; }
  .mobile-nav[open] > nav > a,.mobile-nav[open] .mobile-expertise > summary {
    font-size:clamp(1.6rem,8vw,2.25rem)!important; padding-block:.75rem!important;
  }
}

/* Homepage composition: use space deliberately, not as an automatic luxury cue. */
.bambu-home .relaunch-audiences { padding-block:clamp(2.75rem,5.5vw,5rem); }
.bambu-home .relaunch-reveal { padding-block:clamp(2.75rem,5vw,5rem); }
.bambu-home .bambu-material-story { padding-block:clamp(2.75rem,5vw,5rem); }
.bambu-home .relaunch-reveal .relaunch-section-top { margin-bottom:clamp(1.25rem,2.5vw,2rem); }
.bambu-home .relaunch-reveal .bambu-reveal { box-sizing:border-box; }
.bambu-home .relaunch-reveal .reveal-controls { padding-block:clamp(1.25rem,2vw,2rem); }
.bambu-home .relaunch-reveal .reveal-explainer { max-width:65ch; }
.bambu-home .relaunch-audience-grid > *,
.bambu-home .standards-principles > *,
.bambu-home .relaunch-method-grid > * { min-width:0; }
.bambu-home .relaunch-audience-grid p,
.bambu-home .standards-principles p { max-width:55ch; }
.bambu-home .relaunch-section-top > p { line-height:1.55; }
.bambu-home .relaunch-reveal .relaunch-disclaimer { line-height:1.45; }
/* Reduce overly tall introductory panels on narrow devices while preserving imagery. */
@media(max-width:760px) {
  .bambu-home .relaunch-audiences,
  .bambu-home .relaunch-reveal,
  .bambu-home .bambu-material-story { padding-block:2.75rem; }
  .bambu-home .relaunch-reveal .reveal-controls { padding:1.25rem!important; }
  .bambu-home .relaunch-reveal .reveal-stage-buttons { gap:.4rem; }
  .bambu-home .relaunch-audience-grid > * { min-height:0; }
  .bambu-home .standards-principles > * { min-height:0; }
  .bambu-home .relaunch-method-grid > * { min-height:0; }
  .bambu-home .relaunch-reveal .reveal-viewport { touch-action:pan-y; }
}
/* Keep keyboard users informed of current navigation without heavy decoration. */
.desktop-nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] { text-decoration-color:var(--bronze); text-underline-offset:.4em; }

/* Enquiry fallback is intentionally secondary to the primary email action. */
.enquiry-copy { display:inline-flex; align-items:center; justify-content:center;
  border:1px solid currentColor; border-radius:0; background:transparent; color:inherit;
  font:inherit; font-size:.88rem; font-weight:600; padding:.8rem 1rem; cursor:pointer;
  margin:.85rem 0 .5rem; transition:background-color .2s,color .2s; }
.enquiry-copy:hover { background:#1f1f21; color:#f4f3ee; }
.enquiry-copy:focus-visible { outline:2px solid var(--bambu-focus); outline-offset:3px; }
.enquiry-form .form-help { max-width:65ch; line-height:1.5; }
@media(prefers-reduced-motion:reduce) { .enquiry-copy { transition:none; } }

:where(main,footer) :is(h1,h2,h3,[tabindex="-1"]):focus { outline:none; }
:where(main,footer) :is(h1,h2,h3,[tabindex="-1"]):focus-visible {
  outline:2px solid var(--bambu-focus); outline-offset:5px;
}
@media(min-width:951px) {
  .desktop-nav .nav-submenu a { min-height:2.5rem; display:flex; align-items:center; }
}
/* Fine-tune spacing around form controls and reduce awkward tap targets. */
.enquiry-form input,.enquiry-form select,.enquiry-form textarea { box-sizing:border-box; max-width:100%; }
.enquiry-form :is(input,select,textarea):focus-visible { outline:2px solid var(--bambu-focus); outline-offset:2px; }
.enquiry-form label { min-width:0; }
@media(max-width:760px) {
  .enquiry-form :is(input,select,textarea) { font-size:16px; }
  .enquiry-form :is(button,a) { min-height:44px; }
  .mobile-nav>summary { min-width:44px; min-height:44px; }
  .mobile-nav[open]>nav a { min-height:44px; }
}
/* Keep the page usable when system preferences require larger text. */
@media(max-width:760px) {
  .bambu-home :is(.relaunch-section-top,.relaunch-method-grid,.relaunch-audience-grid,.standards-principles) > * { min-width:0; }
  .site-footer .footer-top > * { min-width:0; }
}

/* Planning tools: stable button hierarchy regardless of how many actions exist. */
.tool-actions button[data-copy],
.tool-actions button[data-download] { background:transparent; color:#1f1f21; border-color:#80766a; }
.tool-actions button[data-email] { background:#b89b68; color:#1f1f21; border-color:#b89b68; }
.tool-actions button[data-reset],
.tool-actions button[type="reset"] { background:transparent; color:#1f1f21; border-color:#1f1f21; }
.tool-actions button:focus-visible { outline:2px solid var(--bambu-focus); outline-offset:3px; }
.tool-actions button { transition:background-color .2s ease,color .2s ease; }
@media(min-width:761px) {
  .interactive-tool .tool-actions button { flex:0 1 auto; }
}
@media(prefers-reduced-motion:reduce) { .tool-actions button { transition:none; } }

/* Progressive page-to-page transitions: instant navigation remains the fallback. */
@view-transition { navigation:auto; }
@media(prefers-reduced-motion:no-preference) {
  ::view-transition-old(root) { animation:160ms ease-in both bambu-page-out; }
  ::view-transition-new(root) { animation:260ms ease-out both bambu-page-in; }
  @keyframes bambu-page-out { from { opacity:1; } to { opacity:.75; } }
  @keyframes bambu-page-in { from { opacity:.75; } to { opacity:1; } }
}
@media(prefers-reduced-motion:reduce) {
  ::view-transition-old(root),::view-transition-new(root) { animation-duration:0.01ms!important; }
}

.journal-launch-entry {
  padding-block: clamp(2rem, 5vw, 4.5rem);
}
.journal-launch-entry h1 {
  font-size: clamp(2.25rem, 5.5vw, 4.75rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  margin-block: 1.4rem;
}
.journal-launch-visual { margin: 1.6rem 0; }
.journal-launch-visual img { display: block; width: 100%; height: auto; }
.journal-launch-visual figcaption {
  color: #55514a;
  font-size: .875rem;
  margin-top: .55rem;
}
