/* =====================================================================
   OneBridge Advisory: REDESIGN LAYER (preview)
   Design reference: the clarity of large advisory-firm sites (bold sans
   headings, generous white space, flat tiles, strong dark hero, clear
   white / light / dark rhythm). OneBridge navy + gold only. No content
   changes. Not linked by the live pages until approved.
   ===================================================================== */
:root{
  --rd-navy:#0B1F33; --rd-navy-deep:#081422; --rd-gold:#B5965A; --rd-gold-ink:#8A6D35;
  --rd-ink:#101B28; --rd-body:#364250; --rd-muted:#5B6673;
  --rd-cream:#F5F3EE; --rd-white:#FFFFFF; --rd-line:#E3E0D8;
  --rd-sans:'Manrope','Inter',Arial,sans-serif;
}

/* =========================== GLOBAL (all pages) =========================== */

/* Desktop shows the full menu, so the hamburger is redundant there. */
@media (min-width:981px){ body .nav .menu.menu{display:none!important} }

/* Crisp corporate type scale: one hero size, one section size. */
/* #main-content (an ID) outranks the many class-based heading rules in the pages. */
#main-content :is(h1,h2,h3), #main-content :is(h1,h2,h3) *{
  font-family:var(--rd-sans)!important; letter-spacing:-.025em!important; font-style:normal!important;
}
#main-content h1, #main-content h1 *{font-weight:700!important}
#main-content h1{font-size:clamp(38px,4.4vw,62px)!important;line-height:1.07!important}
#main-content h2, #main-content h2 *{font-weight:700!important}
#main-content h2{font-size:clamp(28px,2.9vw,42px)!important;line-height:1.14!important}
#main-content h3, #main-content h3 *{font-weight:700!important;letter-spacing:-.012em!important}
/* h3 sizes stay page-specific (services titles are large, card titles small); home sets its own below. */
#main-content .home-page h3, #main-content.home-page h3{font-size:clamp(17px,1.35vw,20px)!important;line-height:1.3!important}

/* About: headings sized to their columns so they never run into neighbouring text. */
#main-content .about-hero h1{font-size:clamp(34px,3.5vw,50px)!important}
#main-content .about-hero p{max-width:560px!important}
#main-content .about-why h2{font-size:clamp(26px,2.3vw,34px)!important}
#main-content .about-why h2 *{white-space:normal!important}
#main-content .about-thinking h2{margin-bottom:18px!important;line-height:1.2!important}

/* Services Alco-Beverage: headings had a fixed 42px height; let them grow if they wrap. */
#main-content .s-alcohol-item h3{height:auto!important;min-height:42px!important}

/* Section labels: larger, bolder, easier to read. */
body main :is(.home-eyebrow,.eyebrow,[class$="-eyebrow"],[class*="kicker"]){
  font-size:12.5px!important;font-weight:700!important;letter-spacing:.16em!important;
}

/* =========================== HOME PAGE =========================== */

/* Clear section rhythm, no hairline dividers. */
body .home-page > section{border-top:0!important;border-bottom:0!important}
body .home-page + .home-footer-separator, body .home-footer-separator{display:none!important}
body .home-page .ob-problem.ob-problem      {background:var(--rd-white)!important}
body .home-page .ob-solution.ob-solution    {background:var(--rd-cream)!important}
body .home-page .home-why.home-why          {background:var(--rd-white)!important}
body .home-page .ob-organisations.ob-organisations{background:var(--rd-cream)!important}
body .home-page .home-capabilities.home-capabilities{background:var(--rd-white)!important}
body .home-page .ob-who.ob-who              {background:var(--rd-cream)!important}
body .home-page .home-industries.home-industries{background:var(--rd-white)!important}

/* Readable body copy on light sections. */
body .home-page .ob-section-lead{font-size:18px!important;line-height:1.65!important;color:var(--rd-body)!important}
body .home-page section:not(.ob-stages):not(.ob-final) .home-head p,
body .home-page .industry-ref-head p, body .home-page .ob-who-copy p{
  font-size:17px!important;line-height:1.65!important;color:var(--rd-muted)!important;
}

/* ---- 01 Hero: strong dark hero, white type, clear calls to action ---- */
body .home-page .home-hero.home-hero{min-height:min(600px,76vh)!important;display:flex!important;align-items:center!important}
body .home-page .home-hero-bg.home-hero-bg{
  background:
    linear-gradient(90deg,rgba(8,20,34,.95) 0%,rgba(8,20,34,.90) 45%,rgba(8,20,34,.80) 75%,rgba(8,20,34,.68) 100%),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1900&q=88') center/cover no-repeat!important;
  filter:none!important;
}
#main-content .home-hero h1, #main-content .home-hero h1 *{color:#fff!important}
#main-content .home-hero h1{max-width:17ch!important}
body .home-page .home-hero .home-lead{color:rgba(255,255,255,.84)!important;font-size:18px!important;line-height:1.65!important;max-width:560px!important;margin-top:22px!important}
body .home-page .home-hero .home-actions{gap:14px!important;margin-top:34px!important}
body .home-page .home-hero .home-btn{border-radius:0!important;padding:16px 26px!important;font-weight:700!important}
body .home-page .home-hero .home-btn-primary{background:var(--rd-gold)!important;color:var(--rd-navy-deep)!important;border:1px solid var(--rd-gold)!important}
body .home-page .home-hero .home-btn-primary:hover{background:#C8A96B!important}
body .home-page .home-hero .home-btn-secondary{background:transparent!important;color:#fff!important;border:1px solid rgba(255,255,255,.55)!important}
body .home-page .home-hero .home-btn-secondary:hover{background:#fff!important;color:var(--rd-navy)!important}

/* ---- 02 / 03 Problem & Solution: cleaner editorial split ---- */
/* These headings are deliberately two unbroken lines; size them to fit their column. */
#main-content :is(.ob-problem,.ob-solution) h2{font-size:clamp(26px,2.45vw,36px)!important}
body .home-page :is(.ob-problem-image,.ob-solution-image) img{box-shadow:none!important;border:0!important;border-radius:0!important}
body .home-page :is(.ob-problem-image,.ob-solution-image){box-shadow:0 30px 60px -30px rgba(8,20,34,.45)!important}

/* ---- 04 Why OneBridge: from 8 near-empty boxes to a clean feature grid ---- */
body .home-page .why-grid.why-grid{gap:44px 36px!important}
body .home-page .why-card.why-card{
  background:transparent!important;border:0!important;border-top:2px solid var(--rd-gold)!important;
  box-shadow:none!important;min-height:0!important;padding:22px 0 0!important;display:block!important;
  transition:border-color .3s ease!important;
}
body .home-page .why-card.why-card:hover{border-top-color:var(--rd-navy)!important;transform:none!important;box-shadow:none!important}
body .home-page .why-card .why-number{display:block!important;margin:0 0 12px!important;color:var(--rd-gold-ink)!important;font-size:13px!important;font-weight:700!important;letter-spacing:.1em!important}
body .home-page .why-card h3{margin:0!important;color:var(--rd-ink)!important}

/* ---- 05 Business stages (navy): flat tiles, gold accent on hover ---- */
body .home-page .requirement-grid.requirement-grid{gap:16px!important}
body .home-page .requirement-card.requirement-card{
  border:0!important;border-radius:0!important;background:rgba(255,255,255,.045)!important;box-shadow:none!important;
  padding:28px 24px!important;position:relative!important;
  transition:background-color .3s ease, box-shadow .3s ease!important;
}
body .home-page .requirement-card.requirement-card:hover{background:rgba(255,255,255,.09)!important;box-shadow:inset 0 3px 0 var(--rd-gold)!important;transform:none!important}

/* ---- 06 Organisations: white tiles on light, no borders ---- */
body .home-page .ob-org-grid{gap:16px!important}
body .home-page .ob-org-card.ob-org-card{
  border:0!important;border-radius:0!important;background:var(--rd-white)!important;box-shadow:none!important;padding:30px 24px!important;
  transition:box-shadow .3s ease!important;
}
body .home-page .ob-org-card.ob-org-card:hover{box-shadow:inset 0 3px 0 var(--rd-gold), 0 18px 36px -18px rgba(8,20,34,.25)!important;transform:none!important}

/* ---- 07 Capabilities: light tiles, lift on hover ---- */
body .home-page .cap-grid{gap:16px!important}
body .home-page .cap-card.cap-card{
  border:0!important;border-radius:0!important;background:var(--rd-cream)!important;box-shadow:none!important;padding:28px 24px!important;
  transition:background-color .3s ease, box-shadow .3s ease!important;
}
body .home-page .cap-card.cap-card:hover{background:var(--rd-white)!important;box-shadow:inset 0 3px 0 var(--rd-gold), 0 22px 44px -22px rgba(8,20,34,.30)!important;transform:none!important}

/* Headings must never spill out of their column: the old pages force some
   heading lines to stay on one line, which overflowed with the new font. */
#main-content :is(h1,h2), #main-content :is(h1,h2) *{white-space:normal!important}
#main-content :is(h1,h2){max-width:100%;overflow-wrap:break-word}
#main-content :is(.home-head,.ob-who-head,.industry-ref-head,.capability-head) > *{min-width:0!important}

/* ---- 08 Who delivers: leaders as a slow continuous rail (see redesign.js) ---- */
#main-content .ob-who h2{font-size:clamp(26px,2.3vw,34px)!important}
#main-content .ob-who-head{column-gap:56px!important}
body .home-page .ob-leader-strip.rd-marquee{
  overflow:hidden!important;scroll-snap-type:none!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%);
          mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%);
}
body .home-page .rd-track{display:flex;gap:12px;width:max-content;animation:rdMarquee 70s linear infinite}
body .home-page .rd-marquee:hover .rd-track, body .home-page .rd-marquee:focus-within .rd-track{animation-play-state:paused}
@keyframes rdMarquee{to{transform:translateX(calc(-50% - 6px))}}
body .home-page .rd-track .leader-link{border:0!important;background:var(--rd-white)!important;flex:0 0 230px!important}

/* ---- 09 Industries: no box-in-box, clean rows ---- */
body .home-page .industry-ref-list-panel.industry-ref-list-panel{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
body .home-page .industry-ref-item.industry-ref-item{
  border:0!important;border-left:3px solid transparent!important;border-radius:0!important;background:var(--rd-cream)!important;
  transition:border-color .25s ease, background-color .25s ease!important;
}
body .home-page .industry-ref-item.industry-ref-item:hover,
body .home-page .industry-ref-item.industry-ref-item.active{border-left-color:var(--rd-gold)!important;background:#EFEBE2!important}

/* ---- 10 Final call to action ---- */
body .home-page .ob-final .home-btn{border-radius:0!important;background:var(--rd-gold)!important;color:var(--rd-navy-deep)!important;border:1px solid var(--rd-gold)!important;font-weight:700!important}
body .home-page .ob-final .home-btn:hover{background:#C8A96B!important}

/* =========================== INNER PAGES =========================== */

/* One type family inside page content (footer wordmark keeps its serif, like the logo). */
#main-content{--ob-serif:var(--rd-sans)!important}
#main-content :is(.leader-content,.leader) :is(strong,b,h3,h4),
#main-content :is([class*="flow"],[class*="journey"]) :is(strong,b,span){font-family:var(--rd-sans)!important}

/* No dated underlines on headings. */
#main-content :is(h1,h2), #main-content :is(h1,h2) *{text-decoration:none!important;border-bottom:0!important;background-image:none!important}

/* ---- Dark navy hero on every inner page (Home, Services, Community already are) ---- */
#main-content :is(.about-hero,.partner-hero,.consultation-hero-premium,.contact-hero,.knowledge-hero){
  background:var(--rd-navy)!important;
}
#main-content :is(.partner-hero,.consultation-hero-premium,.contact-hero,.knowledge-hero)::before,
#main-content :is(.partner-hero,.consultation-hero-premium,.contact-hero,.knowledge-hero)::after{opacity:.18!important}
#main-content .about-hero-bg{
  background:
    linear-gradient(90deg,rgba(8,20,34,.96) 0%,rgba(8,20,34,.90) 42%,rgba(8,20,34,.60) 72%,rgba(8,20,34,.40) 100%),
    url('https://images.unsplash.com/photo-1781123768769-364577a2f37f?auto=format&fit=crop&fm=jpg&q=88&w=2200') center/cover no-repeat!important;
  filter:none!important;
}
/* Hero text: white headline (gold accent lines keep their gold), soft white copy. */
#main-content :is(.about-hero,.partner-hero,.consultation-hero-premium,.contact-hero,.knowledge-hero) h1{color:#fff!important}
#main-content :is(.about-hero,.partner-hero,.consultation-hero-premium,.contact-hero,.knowledge-hero) :is(p,li):not(.contact-form-panel *),
#main-content .contact-hero .hero-message strong{color:rgba(255,255,255,.82)!important}
#main-content .contact-hero .hero-message strong{color:#fff!important}
/* Hero buttons: gold on navy (the form's own submit button is left alone). */
#main-content :is(.about-hero,.partner-hero,.consultation-hero-premium,.knowledge-hero) :is(a,button):is([class*="btn"],[class*="cta"]):not(form *){
  background:var(--rd-gold)!important;color:var(--rd-navy-deep)!important;border-color:var(--rd-gold)!important;border-radius:0!important;
}
/* Contact form card sits on navy: drop the heavy shadow, keep the gold top edge. */
#main-content .contact-form-panel{border:0!important;border-top:3px solid var(--rd-gold)!important;box-shadow:0 30px 60px -30px rgba(0,0,0,.5)!important}

/* About: the "Business requirement → … → Better Business Outcome" line in the page font. */
#main-content .why-rule, #main-content .why-rule *{font-family:var(--rd-sans)!important}

/* Consultation: the hero is now navy, so the journey section below turns light
   (two navy blocks back to back read as one heavy mass). */
#main-content .consultation-journey.consultation-journey{background:var(--rd-cream)!important;color:var(--rd-ink)!important}
#main-content .consultation-journey h2, #main-content .consultation-journey h2 *{color:var(--rd-ink)!important}
#main-content .consultation-journey .consultation-section-intro p{color:var(--rd-muted)!important}
#main-content .consultation-journey-line article{background:var(--rd-white)!important;box-shadow:none!important}
#main-content .consultation-journey-line article:nth-of-type(4){box-shadow:inset 0 3px 0 var(--rd-gold)!important}
#main-content .consultation-journey-line article strong{color:var(--rd-gold-ink)!important}
#main-content .consultation-journey-line article p{color:var(--rd-body)!important}
#main-content .consultation-journey-line > b{color:var(--rd-gold)!important}

/* ---- Flat tiles instead of bordered boxes ---- */
#main-content :is(.partner-model,.knowledge-card,.experience-item,.process-step,.leader){
  border:0!important;border-radius:0!important;box-shadow:none!important;
  transition:background-color .3s ease, box-shadow .3s ease!important;
}
#main-content :is(.partner-model,.process-step){background:var(--rd-cream)!important}
#main-content :is(.knowledge-card,.experience-item,.leader){background:var(--rd-white)!important}
#main-content :is(.partner-model,.knowledge-card,.experience-item,.process-step,.leader):hover{
  box-shadow:inset 0 3px 0 var(--rd-gold), 0 22px 44px -22px rgba(8,20,34,.30)!important;transform:none!important;
}
#main-content :is(.partner-model-grid,.knowledge-grid,.leaders-grid,.experience-grid,.process-line){gap:16px!important}
/* Community tiles were columns separated by rules; as tiles they need inner padding. */
#main-content :is(.experience-item,.process-step){padding:28px 24px 30px!important;border-right:0!important}
#main-content .experience-grid{border:0!important;background:transparent!important}
#main-content .process-line::before, #main-content .process-line::after{display:none!important}

/* ---- Small screens ---- */
@media (max-width:640px){
  body .home-page .why-grid.why-grid{gap:28px 20px!important}
  body .home-page .home-hero.home-hero{min-height:auto!important}
}
@media (prefers-reduced-motion:reduce){
  body .home-page .rd-track{animation:none}
  body .home-page .ob-leader-strip.rd-marquee{overflow-x:auto!important}
}

/* ---- Wide layout: content uses the full screen with a slim responsive gutter ---- */
:root{--rd-gutter:clamp(16px,4vw,72px);--rd-max:1680px}
#main-content :is(.container,.home-container,.about-container,.s-container,.partner-container),
html body :is(.container,.home-container,.about-container,.s-container,.partner-container){
  width:min(var(--rd-max), calc(100% - 2 * var(--rd-gutter)))!important;
  max-width:none!important;padding-left:0!important;padding-right:0!important;
  margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important;
}
body .home-page .home-why .why-cta-wrap.why-cta-wrap{width:min(var(--rd-max), calc(100% - 2 * var(--rd-gutter)))!important}

/* ---- Home hero: each line of the heading stays on one line, sized to fit ---- */
#main-content .home-hero h1{max-width:none!important;font-size:clamp(24px, calc((100vw - 2 * var(--rd-gutter)) / 13.2), 64px)!important}
#main-content .home-hero h1 .hero-line{display:block!important;white-space:nowrap!important}
#main-content .home-hero h1 .hero-line *{white-space:nowrap!important}
#main-content .home-hero .home-hero-copy{max-width:none!important}

/* ---- Hero intro lines: no narrow cap; redesign.js keeps them on one line where they fit ---- */
#main-content :is(.home-hero .home-lead,.about-hero .about-lead,.s-hero .s-lead,section:first-child .lead){max-width:none!important}
#main-content .home-hero .home-lead{white-space:normal}

/* Inner wrappers that kept the old narrow cap */
#main-content :is(.about-hero-copy,.belief-body,.consultation-section-intro){max-width:none!important}

/* Home banner intro line in gold; the overlay above is dark across the full width so it reads over the bright towers. */
body .home-page .home-hero .home-lead.home-lead{color:#D6B97E!important;font-weight:500!important;text-shadow:0 1px 12px rgba(8,20,34,.55)}

/* ---- Compact footer: same width as the page, links in rows, tighter spacing ---- */
body .footer .footer-inner.container.container{
  width:min(var(--rd-max), calc(100% - 2 * var(--rd-gutter)))!important;max-width:none!important;
  margin-left:auto!important;margin-right:auto!important;padding:26px 0 24px!important;
}
body .footer .footer-grid.footer-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important;min-height:0!important}
body .footer .footer-grid > .footer-column{min-height:0!important;padding-top:0!important;padding-bottom:0!important;justify-content:flex-start!important}
body .footer .footer-column h4{margin:0 0 10px!important}
body .footer .footer-links.footer-links{flex-direction:row!important;flex-wrap:wrap!important;gap:6px 20px!important}
body .footer .footer-links .footer-email{margin-top:0!important}
body .footer .footer-tagline{margin-top:8px!important}
body .footer .copyright.copyright{margin-top:18px!important;padding-top:10px!important}
@media (max-width:1024px){
  body .footer .footer-grid.footer-grid{grid-template-columns:1fr 1fr!important;gap:18px 0!important}
  body .footer .footer-grid > .footer-brand{grid-column:1 / -1!important;padding-right:0!important;border:0!important}
  body .footer .footer-grid > .footer-column:not(.footer-brand){padding-left:0!important;padding-right:16px!important;border-left:0!important}
  body .footer .footer-links.footer-links{gap:0 18px!important}
}
@media (max-width:640px){
  body .footer .footer-grid.footer-grid{grid-template-columns:1fr!important;gap:4px!important}
  body .footer .footer-grid > .footer-column{border-top:0!important;border-left:0!important;padding-left:0!important}
  body .footer .footer-tagline{margin-bottom:0!important}
  body .footer .copyright.copyright{flex-direction:column!important;gap:4px!important}
}
