/* =========================================================
   Insight Bridge - theme styles
   Palette: navy #0a1f44 · gold #c9a227 · cream #f8f6f0
   Type:    Playfair Display (display) · Inter (body)
   ========================================================= */

:root {
	--navy: #0a1f44;
	--navy-800: #10294f;
	--navy-900: #071634;
	--navy-600: #1e3a5f;
	--gold: #c9a227;
	--gold-600: #a9871c;
	--gold-100: #faf3dc;
	--ink: #131a26;
	--text: #2c3444;
	--muted: #5f6b7a;
	--line: #e3e6ec;
	--cream: #f8f6f0;
	--paper: #ffffff;
	--success: #0f8a5f;
	--error: #b42318;
	--font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: 0 1px 2px rgba(10, 31, 68, .05), 0 1px 3px rgba(10, 31, 68, .08);
	--shadow: 0 18px 40px -18px rgba(10, 31, 68, .25);
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(64px, 9vw, 120px);
	--header-h: 84px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--navy); }
.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; left: 16px; top: 16px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .5); }
.section--cream { background: var(--cream); }
.section--navy { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-900) 100%); color: #d7deea; }
.section--navy .section-title, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .section-lead { color: #b7c2d6; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Typography helpers ---------- */
.eyebrow {
	font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
	color: var(--navy-600); margin: 0 0 14px; display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.eyebrow--gold { color: var(--gold); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow::before { display: none; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; text-align: left; }
.section-head--split > div { max-width: 720px; }
.section-title { margin-bottom: 16px; }
.section-lead { font-size: 1.1rem; color: var(--muted); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1;
	border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon--arrow-right { transform: translateX(3px); }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 24px -12px rgba(201, 162, 39, .8); }
.btn--gold:hover { background: #d9b336; color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-800); color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; border-color: #fff; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--sm { padding: 11px 20px; font-size: .88rem; }
.btn--lg { padding: 17px 32px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px);
	border-top: 3px solid var(--gold); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(10, 31, 68, .25); border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.site-brand { display: inline-flex; color: var(--navy); }
.ib-logo { height: 48px; width: auto; color: var(--navy); }
.ib-logo--light { color: #fff; }
.ib-logo--custom img { height: 48px; width: auto; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.site-nav__list a {
	display: block; padding: 10px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--navy);
	position: relative; transition: background .2s;
}
.site-nav__list a:hover { background: var(--cream); color: var(--navy); }
.site-nav__list .current-menu-item > a, .site-nav__list .current_page_item > a, .site-nav__list .current-menu-ancestor > a { color: var(--gold-600); font-weight: 600; }
.site-nav__list .sub-menu { display: none; }
.site-nav__mobile-actions { display: none; }
.site-actions { display: flex; align-items: center; gap: 6px; }
.site-actions__link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--navy); }
.site-actions__link:hover { background: var(--cream); color: var(--navy); }
.site-actions__link .icon { width: 20px; height: 20px; }
.site-actions__cart { position: relative; }
.ib-cart-count {
	position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
	background: var(--gold); color: var(--navy); font-size: .68rem; font-weight: 700; display: grid; place-items: center; line-height: 1;
}
.site-actions__cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; border-radius: 10px; color: var(--navy); cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* ---------- Hero ---------- */
.hero {
	position: relative; min-height: min(88vh, 860px); display: flex; align-items: center; color: #fff; overflow: hidden;
	background: var(--navy);
}
.hero--plain { background: radial-gradient(1200px 600px at 80% -10%, #1e3a5f 0%, var(--navy) 55%, var(--navy-900) 100%); }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(10, 31, 68, .94) 0%, rgba(10, 31, 68, .82) 45%, rgba(10, 31, 68, .45) 100%);
}
.hero__overlay::after {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(700px 400px at 15% 85%, rgba(201, 162, 39, .18), transparent 60%);
}
.hero__inner { position: relative; padding-block: clamp(96px, 14vw, 160px) clamp(80px, 10vw, 120px); max-width: 820px; margin-inline: auto; width: min(var(--container), 100% - 2 * var(--gutter)); }
.hero__inner .eyebrow::before { background: var(--gold); }
.hero__title { color: #fff; font-size: clamp(2.7rem, 6.2vw, 4.9rem); font-weight: 600; margin-bottom: 24px; }
.hero__title em { font-style: italic; color: var(--gold); }
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, .85); max-width: 620px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero__meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 36px; }
.hero__meta li { display: flex; flex-direction: column; }
.hero__meta strong { font-family: var(--font-head); font-size: 2rem; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.hero__meta span { font-size: .85rem; color: rgba(255, 255, 255, .75); letter-spacing: .02em; }
.hero__scroll {
	position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); color: #fff; opacity: .7;
	width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; display: grid; place-items: center;
	animation: bob 2.2s ease-in-out infinite;
}
.hero__scroll:hover { color: var(--gold); opacity: 1; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat {
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px;
	box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s;
}
.stat::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--gold), transparent); }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat__figure { font-family: var(--font-head); font-size: clamp(3rem, 5vw, 4.2rem); color: var(--navy); line-height: 1; margin: 0 0 16px; display: flex; align-items: baseline; }
.stat__unit { color: var(--gold); font-size: .55em; margin-left: 4px; }
.stat__unit--pre { margin: 0 2px 0 0; }
.stat__text { color: var(--muted); font-size: 1rem; margin: 0; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.pillar {
	position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px 30px;
	transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201, 162, 39, .5); }
.pillar__num { position: absolute; top: 22px; right: 24px; font-family: var(--font-head); font-size: .95rem; color: var(--gold); }
.pillar__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--gold-100); color: var(--navy); display: grid; place-items: center; margin-bottom: 22px; }
.pillar__icon .icon { width: 26px; height: 26px; }
.pillar__title { font-size: 1.3rem; margin-bottom: 10px; }
.pillar__text { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- Product cards (shop loop + home Toolroom) ---------- */
ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
ul.products.columns-2 { grid-template-columns: repeat(2, 1fr); }
ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
ul.products::before, ul.products::after,
.woocommerce ul.products::before, .woocommerce ul.products::after, .woocommerce-page ul.products::before, .woocommerce-page ul.products::after { display: none; content: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product, .woocommerce-page ul.products[class*="columns-"] li.product {
	float: none; width: auto; margin: 0; clear: none; text-align: left;
}
.woocommerce ul.products li.product .button, .woocommerce-page ul.products li.product .button { margin: 0; }
.woocommerce ul.products li.product a img, .woocommerce-page ul.products li.product a img { margin: 0; box-shadow: none; }
.woocommerce ul.products li.product .ib-product__title, .woocommerce-page ul.products li.product .ib-product__title { padding: 0; }
.ib-product {
	background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
	display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; color: var(--text);
}
.ib-product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ib-product__media { position: relative; display: block; background: #f3f4f7; aspect-ratio: 1; overflow: hidden; }
.ib-product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ib-product:hover .ib-product__media img { transform: scale(1.04); }
.ib-product__flag { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--navy); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.ib-product__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ib-product__cat { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold-600); margin: 0 0 8px; }
.ib-product__cat a { color: inherit; }
.ib-product__title { font-size: 1.2rem; margin: 0 0 8px; }
.ib-product__title a { color: var(--navy); }
.ib-product__excerpt { font-size: .92rem; color: var(--muted); margin: 0 0 18px; }
.ib-product__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.ib-product__price { font-family: var(--font-head); font-size: 1.35rem; color: var(--navy); font-weight: 600; }
.ib-product__price del { color: var(--muted); font-size: .8em; margin-right: 6px; opacity: .7; }
.ib-product__price ins { text-decoration: none; }
.ib-product .button, .woocommerce .ib-product a.button {
	background: var(--navy); color: #fff; border-radius: 999px; padding: 10px 18px; font-size: .85rem; font-weight: 600; line-height: 1.2; border: 0; transition: background .2s;
}
.ib-product .button:hover, .woocommerce .ib-product a.button:hover { background: var(--gold); color: var(--navy); }
.woocommerce .ib-product a.button.loading { opacity: .6; }
.woocommerce .ib-product a.added_to_cart { display: none; }
.section--navy .ib-product { border-color: transparent; }

/* ---------- Case studies ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case {
	background: var(--cream); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column;
	border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); background: var(--paper); }
.case__tag { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold-600); margin-bottom: 14px; }
.case__title { font-size: 1.45rem; margin-bottom: 14px; }
.case__text { color: var(--muted); margin-bottom: 24px; }
.case__result { margin-top: auto; display: flex; gap: 12px; align-items: flex-start; padding-top: 18px; border-top: 1px solid rgba(10, 31, 68, .12); color: var(--navy); margin-bottom: 0; }
.case__result .icon { color: var(--gold); width: 22px; height: 22px; margin-top: 2px; }
.case__result strong { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--navy); color: #fff; padding-block: clamp(72px, 9vw, 110px); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 400px at 20% 120%, rgba(201, 162, 39, .25), transparent 60%), radial-gradient(700px 400px at 90% -20%, rgba(30, 58, 95, .9), transparent 60%); }
.cta-band__inner { position: relative; text-align: center; max-width: 780px; }
.cta-band__inner .eyebrow::before { display: none; }
.cta-band__title { color: #fff; margin-bottom: 18px; }
.cta-band__text { color: rgba(255, 255, 255, .8); font-size: 1.1rem; margin-bottom: 34px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-600) 100%); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 480px; height: 480px; border-radius: 50%; border: 60px solid rgba(201, 162, 39, .12); }
.page-hero__inner { position: relative; padding-block: clamp(64px, 9vw, 110px); max-width: 860px; }
.page-hero--compact .page-hero__inner { padding-block: clamp(40px, 5vw, 64px); }
.page-hero__title { color: #fff; margin-bottom: 12px; }
.page-hero--compact .page-hero__title { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.page-hero__lead { color: rgba(255, 255, 255, .82); font-size: 1.15rem; max-width: 640px; margin: 0; }
.page-hero .eyebrow::before { background: var(--gold); }
.woocommerce-breadcrumb { font-size: .82rem; color: rgba(255, 255, 255, .65) !important; margin: 0 0 14px !important; }
.woocommerce-breadcrumb a { color: rgba(255, 255, 255, .85) !important; }
.woocommerce-breadcrumb a:hover { color: var(--gold) !important; }
.woocommerce-breadcrumb .sep { margin: 0 8px; opacity: .6; }

/* ---------- Prose (legal pages, editor content) ---------- */
.prose { max-width: 760px; }
.prose--page { margin-inline: auto; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose > :first-child { margin-top: 0; }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.story__text .section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 24px; }
.story__text .prose { margin-bottom: 28px; font-size: 1.05rem; }
.story__image { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fact { background: var(--navy); color: #fff; border-radius: var(--radius-sm); padding: 28px 24px; position: relative; overflow: hidden; }
.fact::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 90px; height: 90px; border-radius: 50%; background: rgba(201, 162, 39, .18); }
.fact strong { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; color: var(--gold); margin-bottom: 8px; }
.fact span { font-size: .85rem; color: rgba(255, 255, 255, .8); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 30px; }
.step__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; margin-bottom: 22px; }
.step__icon .icon { width: 26px; height: 26px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }
.offices { text-align: center; }
.offices .eyebrow::before { display: none; }
.offices__list { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.offices__list li { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); font-family: var(--font-head); font-size: 1.1rem; color: var(--navy); }
.offices__list .icon { color: var(--gold); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__heading { font-size: 1.6rem; margin-bottom: 24px; }
.info-card { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-card:last-of-type { border-bottom: 0; }
.info-card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--gold-100); color: var(--navy); display: grid; place-items: center; flex: none; }
.info-card__icon .icon { width: 22px; height: 22px; }
.info-card h3 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.info-card p, .info-card a { margin: 0; font-size: 1.02rem; color: var(--navy); }
.contact__form { background: var(--cream); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); }
.form__hp { position: absolute; left: -9999px; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form__field label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.form__field .req { color: var(--gold-600); }
.form__field input, .form__field select, .form__field textarea, .wc-page input.input-text, .wc-page select, .wc-page textarea {
	width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid #cfd5df; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form__field input:focus, .form__field select:focus, .form__field textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(10, 31, 68, .1); }
.form__field textarea { resize: vertical; min-height: 150px; }
.form__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 8px 0 0; }
.form__note { font-size: .85rem; color: var(--muted); }
.notice { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; font-size: .95rem; }
.notice--success { background: #e6f6ef; color: var(--success); }
.notice--error { background: #fdecea; color: var(--error); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b4bdcc; padding-top: clamp(56px, 7vw, 88px); font-size: .93rem; }
.site-footer a { color: #d7deea; }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer__brand .ib-logo { height: 50px; margin-bottom: 20px; }
.site-footer__tagline { font-family: var(--font-head); font-style: italic; color: var(--gold); font-size: 1.1rem; margin-bottom: 10px; }
.site-footer__blurb { max-width: 360px; }
.site-footer__heading { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer__links, .site-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--gold); margin-top: 4px; width: 18px; height: 18px; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-block: 26px; font-size: .85rem; color: #8b96a8; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; }

/* ---------- Blog fallback ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.post-card__media { display: block; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 18px; }
.post-card__title { font-size: 1.3rem; }

/* ---------- WooCommerce overrides ---------- */
.woocommerce .woocommerce-result-count { color: var(--muted); font-size: .9rem; margin-top: 10px; }
.woocommerce .woocommerce-ordering select { padding: 10px 36px 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.woocommerce .woocommerce-ordering, .woocommerce .woocommerce-result-count { margin-bottom: 32px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0 3px; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border-radius: 999px; padding: 10px 16px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--navy); color: #fff; }

/* Buttons */
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.wc-block-components-button, .wp-element-button, .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	background: var(--navy) !important; color: #fff !important; border-radius: 999px !important; font-weight: 600 !important; padding: 13px 24px !important; line-height: 1.2 !important; border: 0 !important;
	transition: background .2s, color .2s !important;
}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.wc-block-components-button:hover, .wp-element-button:hover { background: var(--gold) !important; color: var(--navy) !important; }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { background: var(--navy) !important; color: #fff !important; opacity: .5; }

/* Single product */
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: auto; margin: 0; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product div.images img { border-radius: var(--radius); }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 80px; float: none; }
.woocommerce div.product div.images .flex-control-thumbs img { border-radius: 8px; border: 2px solid transparent; }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active { border-color: var(--gold); }
.woocommerce div.product .product_title { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 10px; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--muted); font-size: 1.08rem; margin-bottom: 22px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-family: var(--font-head); font-size: 2rem; color: var(--navy); font-weight: 600; }
.woocommerce div.product p.price del { opacity: .5; font-size: .7em; }
.woocommerce div.product form.cart { display: flex; gap: 12px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.woocommerce div.product form.cart .quantity .qty { padding: 12px; border-radius: var(--radius-sm); border: 1px solid #cfd5df; width: 80px; }
.woocommerce div.product form.cart .button { flex: 1; padding: 15px 28px !important; }
.woocommerce div.product .product_meta { font-size: .85rem; color: var(--muted); }
.woocommerce div.product .product_meta > span { display: block; margin-bottom: 4px; }
.ib-badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.ib-badge { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 500; color: var(--navy); background: var(--gold-100); border-radius: 999px; padding: 7px 14px; }
.ib-badge .icon { color: var(--gold-600); width: 16px; height: 16px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 28px; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0; padding: 0 24px 0 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 14px 0; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--navy); border-bottom-color: var(--gold); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 760px; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 1.4rem; }
.woocommerce .related > h2, .woocommerce .upsells > h2 { font-size: 1.8rem; text-align: center; margin: 48px 0 32px; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--gold) !important; background: var(--cream) !important; color: var(--navy) !important; border-radius: var(--radius-sm); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--gold-600) !important; }
.woocommerce-error { border-top-color: var(--error) !important; }

/* Cart / checkout / account (classic templates) */
.wc-page table.shop_table { border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; }
.wc-page table.shop_table th { background: var(--cream); color: var(--navy); }
.wc-page .cart_totals h2, .wc-page .cross-sells h2 { font-size: 1.5rem; }
.wc-page .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; }
.wc-page .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--navy); }
.wc-page .woocommerce-MyAccount-navigation li.is-active a, .wc-page .woocommerce-MyAccount-navigation li a:hover { background: var(--cream); color: var(--gold-600); }
.wc-page .woocommerce-form-login, .wc-page .woocommerce-form-register, .wc-page .woocommerce-ResetPassword { border: 1px solid var(--line) !important; border-radius: var(--radius) !important; padding: 28px !important; }
.wc-page form .form-row label { font-weight: 600; color: var(--navy); font-size: .9rem; }
.wc-page .col2-set .col-1, .wc-page .col2-set .col-2 { max-width: 48%; }
.wc-page .woocommerce-form-login .button, .wc-page .woocommerce-form-register .button { width: 100%; }

/* ---------- Reveal animations ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0ms); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	.hero__scroll { animation: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.pillars { grid-template-columns: repeat(3, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
	:root { --header-h: 72px; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 24px var(--gutter) 40px; overflow-y: auto;
		transform: translateX(100%); transition: transform .3s var(--ease); z-index: 90; border-top: 1px solid var(--line);
	}
	.site-nav { visibility: hidden; }
	.site-nav.is-open { transform: none; visibility: visible; }
	.site-nav__list { flex-direction: column; gap: 4px; }
	.site-nav__list a { font-size: 1.15rem; padding: 14px 10px; border-radius: 10px; }
	.site-nav__list .sub-menu { display: block; list-style: none; padding-left: 16px; }
	.site-nav__mobile-actions { display: grid; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
	.site-actions__cta, .site-actions__label { display: none; }
	.nav-toggle { display: inline-flex; }
	body.nav-open { overflow: hidden; }
	.stats, .cases, .steps, .post-grid { grid-template-columns: 1fr; }
	ul.products, ul.products.columns-4 { grid-template-columns: repeat(2, 1fr); gap: 18px; }
	.story, .contact { grid-template-columns: 1fr; }
	.woocommerce div.product { grid-template-columns: 1fr; }
	.section-head--split { flex-direction: column; align-items: flex-start; }
	.wc-page .col2-set .col-1, .wc-page .col2-set .col-2 { max-width: 100%; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.pillars { grid-template-columns: 1fr; }
	ul.products, ul.products.columns-2, ul.products.columns-4 { grid-template-columns: 1fr; }
	.hero { min-height: 0; }
	.hero__scroll { display: none; }
	.hero__meta { gap: 22px; }
	.form__row--2 { grid-template-columns: 1fr; gap: 0; }
	.facts { grid-template-columns: 1fr 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
	.btn--lg { padding: 15px 24px; }
	.hero__actions .btn { width: 100%; }
}
