/* =========================================================================
   OSIAN V3 — Depth, motion & premium component refinements
   Loaded after style.css. Everything here is an upgrade layer.
   ========================================================================= */

:root {
  --glass:        rgba(255,255,255,.65);
  --glass-line:   rgba(255,255,255,.55);
  --glass-navy:   rgba(255,255,255,.06);
  --shadow-xl:    0 40px 90px -20px rgba(11,31,58,.28);
  --shadow-float: 0 18px 50px -12px rgba(11,31,58,.22);
  --tilt-ease:    transform .35s cubic-bezier(.22,.61,.36,1);
}

/* Smooth, GPU-friendly motion for interactive surfaces */
@media (prefers-reduced-motion: no-preference) {
  .card, .industry, .assurance-card, .tier-card, .step, .feature-tile, .hero__panel { will-change: transform; }
}

/* =========================================================================
   1. ICON SYSTEM
   ========================================================================= */
.osi-icon { display: inline-block; vertical-align: middle; flex: 0 0 auto; }

/* Icon medallion — the one consistent container for all feature/why/contact icons */
.ico-badge {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--ivory), #fff);
  border: 1px solid var(--gold-200);
  color: var(--gold-600);
  box-shadow: inset 0 1px 0 #fff, var(--shadow-sm);
  transition: var(--tilt-ease), color .3s, background .3s, border-color .3s;
}
.ico-badge .osi-icon { width: 26px; height: 26px; }
.section--navy .ico-badge { background: var(--glass-navy); border-color: rgba(200,163,91,.35); color: var(--gold); }

/* =========================================================================
   2. NAV — tighter, properly grouped right
   ========================================================================= */
:root { --header-h: 74px; }
.nav { gap: 2rem; }
.brand { font-size: 1.42rem; white-space: nowrap; line-height: 1; flex-shrink: 0; }
.brand > span:last-child { display: inline-flex; align-items: baseline; gap: .25rem; min-width: max-content; }
.brand b, .brand > span:last-child span { line-height: 1; }
.brand__mark { width: 38px; height: 38px; }
/* Push the menu + actions into one right-aligned cluster */
.nav .menu { margin-left: auto; gap: .1rem; }
.menu > li > a { font-size: .92rem; padding: .55rem .85rem; letter-spacing: .005em; }
.nav__actions { gap: .6rem; padding-left: .75rem; }
.nav__actions .btn { padding: .7rem 1.3rem; font-size: .9rem; white-space: nowrap; }
.btn-arrow::after { flex: 0 0 auto; line-height: 1; }
.menu > li > a::after { bottom: .25rem; height: 1.5px; }
.menu > li.current-menu-item > a,
.menu > li.current_page_item > a,
.menu > li.current-menu-ancestor > a,
.menu > li.current_page_ancestor > a {
  color: var(--gold-600);
  background: color-mix(in srgb, var(--gold-200), transparent 74%);
}
.menu > li.current-menu-item > a::after,
.menu > li.current_page_item > a::after,
.menu > li.current-menu-ancestor > a::after,
.menu > li.current_page_ancestor > a::after { transform: scaleX(1); }
/* Slightly condensed sticky height once scrolled (class added by JS) */
.site-header.scrolled { box-shadow: 0 10px 30px -12px rgba(11,31,58,.18); }
.site-header.scrolled .nav { min-height: 64px; }

/* =========================================================================
   3. CARDS — single arrow, depth, premium placeholder
   ========================================================================= */
/* (literal arrows removed from markup; ::after supplies the only one) */
.card { transform: perspective(1000px); transition: var(--tilt-ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { box-shadow: var(--shadow-xl); }
.card__body { padding: 1.5rem 1.6rem 1.7rem; }
.card__body h3 a { color: inherit; }
.card__link { font-size: .9rem; letter-spacing: .01em; }
.card__media > img { width: 100%; height: 100%; object-fit: cover; }
.media-icon {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(11,31,58,.82); color: var(--gold);
  border: 1px solid rgba(200,163,91,.45); backdrop-filter: blur(8px);
}

/* Rich placeholder when a product/post has no image */
.card__ph {
  height: 100%; min-height: 200px; position: relative; overflow: hidden;
  background: var(--grad-navy);
  display: grid; place-items: center; text-align: center; padding: 1.5rem;
}
.card__ph::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='48' height='84' viewBox='0 0 48 84' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 2 46 14v28L24 54 2 42V14z' fill='none' stroke='%23C8A35B' stroke-opacity='0.14'/%3E%3C/svg%3E");
  background-size: 64px; opacity: .7;
}
.card__ph .osi-icon { width: 40px; height: 40px; color: var(--gold); opacity: .9; position: relative; }
.card__ph b { position: relative; color: #fff; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; margin-top: .7rem; line-height: 1.25; }
.card:hover .card__ph::before { transform: scale(1.08); transition: transform .6s var(--ease); }

/* =========================================================================
   4. CERTIFICATION / COMPLIANCE STRIP
   ========================================================================= */
.trust-band { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.trust-item {
  display: flex; align-items: center; gap: .8rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem 1.15rem; transition: var(--tilt-ease), border-color .3s, box-shadow .3s;
}
.trust-item:hover { border-color: var(--gold-200); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.trust-item .ti-ico {
  width: 38px; height: 38px; border-radius: 10px; flex: 0 0 auto;
  display: grid; place-items: center; background: var(--ivory); border: 1px solid var(--gold-200); color: var(--gold-600);
}
.trust-item .ti-ico .osi-icon { width: 20px; height: 20px; }
.trust-item b { display: block; font-family: var(--sans); font-size: .8rem; font-weight: 600; color: var(--navy); letter-spacing: .01em; }
.trust-item span { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-top: 1px; }
.trust-item > div { min-width: 0; }
.trust-item > div span { overflow-wrap: anywhere; }

/* Hero clickable audience chips and clearer CTA hierarchy */
.audience-tags a {
  display: inline-flex; align-items: center; gap: .35rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.audience-tags a::after {
  content: "";
  width: .36rem; height: .36rem;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg); opacity: .72; transition: transform .22s var(--ease), opacity .22s;
}
.audience-tags a:hover { background: rgba(200,163,91,.12); transform: translateY(-1px); }
.audience-tags a:hover::after { transform: translateX(2px) rotate(45deg); opacity: 1; }
.hero__cta .btn-gold { box-shadow: 0 16px 40px -18px rgba(200,163,91,.85); }
.hero__cta .btn-ghost { padding-inline: 1.55rem; background: rgba(255,255,255,.035); }

/* Flow connectors with a visible progression on desktop */
.flow { isolation: isolate; }
.flow__item { background: rgba(255,255,255,.54); border: 1px solid rgba(231,227,217,.78); border-radius: var(--radius); padding: 1.35rem 1.1rem 1.45rem; }
.flow__item:not(:last-child)::after {
  content: "";
  position: absolute; top: 31px; right: -1.34rem; z-index: 3;
  width: 1.2rem; height: 1.2rem;
  border-top: 2px solid var(--gold); border-right: 2px solid var(--gold);
  transform: rotate(45deg);
  background: var(--ivory);
}

/* Product cards now expose procurement details and direct enquiry */
.product-card .card__body { flex: 1; display: flex; flex-direction: column; }
.product-card__chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: .95rem 0 1.15rem; }
.product-card__chips span {
  display: inline-flex; align-items: center; gap: .35rem;
  border: 1px solid var(--line); background: var(--ivory); color: var(--navy);
  border-radius: 999px; padding: .35rem .62rem; font-size: .76rem; font-weight: 700;
}
.product-card__chips .osi-icon { color: var(--gold-600); }
.product-card__actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.mini-quote {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: .48rem .85rem;
  background: var(--navy); color: #fff; font-size: .78rem; font-weight: 700;
}
.mini-quote:hover { background: var(--gold); color: var(--navy); }

/* Sidebar-free editorial listings */
.posts-list--full { max-width: none; }

/* Review trust cues and smart filters */
.filterbar a span {
  display: inline-grid; place-items: center;
  min-width: 1.55rem; height: 1.55rem; margin-left: .35rem;
  border-radius: 999px; background: rgba(255,255,255,.72);
  color: inherit; font-size: .72rem; font-weight: 800;
}
.review__trust {
  display: inline-flex; align-items: center; gap: .35rem; width: max-content;
  color: var(--gold-600); border: 1px solid var(--gold-200);
  background: color-mix(in srgb, var(--gold-200), white 70%);
  border-radius: 999px; padding: .34rem .65rem; font-size: .7rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem;
}
.review__trust .osi-icon { width: 16px; height: 16px; }
.empty-state {
  max-width: 620px; margin: 0 auto; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem); box-shadow: var(--shadow-sm);
}
.empty-state .ico-badge { margin: 0 auto 1rem; }
.empty-state p { color: var(--muted); margin: .6rem auto 1.4rem; max-width: 44ch; }

/* =========================================================================
   5. WHO WE SERVE — creative segment cards
   ========================================================================= */
.journey-grid { gap: 1.5rem; }
.journey-grid .industry {
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  padding: 1.9rem 1.7rem; min-height: 0; align-items: stretch; flex-direction: column;
  position: relative; overflow: hidden;
}
.journey-grid .industry::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--grad-gold); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease);
}
.journey-grid .industry:hover::after { transform: scaleY(1); }
.journey-grid .industry:hover { border-color: var(--gold-200); box-shadow: var(--shadow-float); }
.journey-grid .industry .seg-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); margin-bottom: 1.1rem; transition: var(--tilt-ease), background .3s;
}
.journey-grid .industry:hover .seg-ico { background: var(--grad-gold); color: var(--navy); }
.journey-grid .industry .seg-ico .osi-icon { width: 26px; height: 26px; }
.journey-grid .industry h3 { color: var(--navy); font-size: 1.22rem; margin-bottom: .7rem; }
.journey-grid .industry p { color: var(--muted); font-size: .9rem; margin-top: .55rem; line-height: 1.6; }
.journey-grid .industry p b { color: var(--navy); font-family: var(--sans); font-weight: 600; }
.journey-grid .industry .pain-tag { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); }
.journey-grid .industry .link-arrow { color: var(--gold-600); margin-top: auto; padding-top: 1.2rem; font-size: .88rem; }

/* =========================================================================
   6. WHY OSIAN — icon feature tiles
   ========================================================================= */
.feature-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.7rem; height: 100%;
  transition: var(--tilt-ease), box-shadow .35s, border-color .35s;
}
.feature-tile:hover { box-shadow: var(--shadow-float); border-color: var(--gold-200); }
.feature-tile:hover .ico-badge { background: var(--grad-gold); border-color: var(--gold); color: var(--navy); }
.feature-tile h3 { font-size: 1.15rem; margin-top: 1.1rem; }
.feature-tile p { color: var(--muted); font-size: .93rem; margin-top: .5rem; line-height: 1.65; }

/* =========================================================================
   7. ASSURANCE CARDS (now on navy) — add icons
   ========================================================================= */
.section--navy .assurance-card { background: var(--glass-navy); border-color: rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.section--navy .assurance-card h3 { color: #fff; }
.section--navy .assurance-card p { color: var(--on-navy-soft); }
.section--navy .assurance-card:hover { border-color: rgba(200,163,91,.4); transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.assurance-card .ico-badge { margin-bottom: 1.1rem; }

/* =========================================================================
   8. CASE STUDY — premium feature layout
   ========================================================================= */
.case { border: 0; box-shadow: var(--shadow); border-radius: var(--radius-lg); }
.case__media { position: relative; min-height: 340px; }
.case__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(11,31,58,.35)); }
.case__media > img { width: 100%; height: 100%; object-fit: cover; }
.case__media .case__ph { position: absolute; inset: 0; display: grid; place-items: center; background: var(--grad-navy); }
.case__media .case__ph .osi-icon { width: 56px; height: 56px; color: var(--gold); opacity: .85; }
.case__badge {
  position: absolute; top: 1.2rem; left: 1.2rem; z-index: 2;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; gap: .35rem;
  border-radius: 50px; padding: .4rem .9rem; font-size: .74rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--navy);
}
.case__badge .osi-icon { color: var(--gold-600); }
.case__body { padding: 2.75rem; }
.crs { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.crs__row { display: grid; grid-template-columns: 92px 1fr; gap: 1rem; align-items: start; }
.crs__row b { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); padding-top: .2rem; }
.crs__row p { color: var(--ink); font-size: .96rem; margin: 0; }
.case__metric { margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }

/* =========================================================================
   9. CONTACT — icon details + premium form
   ========================================================================= */
.contact-detail { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: var(--tilt-ease), border-color .3s, box-shadow .3s; }
.contact-detail:hover { border-color: var(--gold-200); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.contact-detail .ico-badge { width: 46px; height: 46px; }
.contact-detail .ico-badge .osi-icon { width: 22px; height: 22px; }
.contact-detail h3 { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.contact-detail p { margin: .15rem 0 0; font-size: 1rem; color: var(--navy); font-weight: 500; }

.quote-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.25rem; box-shadow: var(--shadow-float); position: relative; overflow: hidden; }
.quote-form-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-gold); }
.quote-form-card .form-title { font-family: var(--serif); font-size: 1.55rem; color: var(--navy); margin-bottom: .35rem; }
.quote-form-card .form-sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.5rem; }
input, textarea, select { font-size: .96rem; padding: .85rem 1rem; border-radius: var(--radius-sm); }
label { font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--navy); margin-bottom: .35rem; }
.form-alt { font-size: .85rem; color: var(--muted); margin-top: 1rem; text-align: center; display: flex; align-items: center; justify-content: center; gap: .4rem; }
.form-alt a { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; }

/* =========================================================================
   10. PAGINATION — premium pills
   ========================================================================= */
.pagination, .nav-links { display: flex; gap: .5rem; justify-content: center; margin-top: 3.5rem; flex-wrap: wrap; align-items: center; }
.pagination .page-numbers, .nav-links .page-numbers {
  min-width: 46px; height: 46px; display: inline-grid; place-items: center; padding: 0 .9rem;
  border-radius: 12px; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: .95rem;
  background: #fff; transition: var(--tilt-ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.pagination .page-numbers:hover, .nav-links .page-numbers:hover { border-color: var(--gold); color: var(--gold-600); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pagination .page-numbers.current, .nav-links .page-numbers.current { background: var(--grad-navy); color: #fff; border-color: var(--navy); }
.pagination .page-numbers.dots { border: 0; background: transparent; }

/* =========================================================================
   11. COMMENTS — refined form
   ========================================================================= */
.comments { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.25rem; margin-top: 3.5rem; }
.comment-respond { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.comment-reply-title { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); margin-bottom: .4rem; }
.comment-form { display: grid; gap: 1rem; }
.comment-form p { margin: 0; }
.comment-form-author, .comment-form-email { display: inline-block; width: calc(50% - .5rem); }
.comment-form-author { margin-right: 1rem; }
.comment-form-url { display: none; }
.comment-form .form-submit { margin-top: .25rem; }
.comment-body { box-shadow: var(--shadow-sm); }
.comment-form-cookies-consent { display: flex; align-items: center; gap: .5rem; }
.comment-form-cookies-consent input { width: auto; }

/* =========================================================================
   12. HERO — depth, glass tilt panel, parallax, animated mesh
   ========================================================================= */
.hero { isolation: isolate; }
.hero { background: var(--navy); }
.hero__photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,31,58,.92) 0%, rgba(11,31,58,.82) 42%, rgba(11,31,58,.5) 100%);
}
.hero__image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__mesh { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__mesh span {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5;
}
.hero__mesh .m1 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(200,163,91,.35), transparent 70%); top: -120px; right: -60px; animation: osi-drift 18s ease-in-out infinite alternate; }
.hero__mesh .m2 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(27,58,99,.7), transparent 70%); bottom: -140px; left: -80px; animation: osi-drift 22s ease-in-out infinite alternate-reverse; }
@keyframes osi-drift { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,30px) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .hero__mesh span { animation: none; } }

.hero__float { position: absolute; z-index: 1; pointer-events: none; }
.hero__float svg { color: rgba(200,163,91,.5); }
.hero__float.f1 { top: 14%; left: 6%; }
.hero__float.f2 { bottom: 16%; right: 42%; }

/* Glass spec panel with depth + tilt */
.hero__panel {
  background: var(--glass-navy); border: 1px solid rgba(200,163,91,.3);
  box-shadow: var(--shadow-xl); transform-style: preserve-3d; transition: var(--tilt-ease);
  position: relative;
}
.hero__panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, rgba(255,255,255,.1), transparent 45%); pointer-events: none; }
.hero__panel li { transform: translateZ(20px); }
.hero__panel .panel-tag {
  position: absolute; top: -14px; left: 24px; background: var(--grad-gold); color: var(--navy);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .4rem .9rem; border-radius: 50px; box-shadow: var(--shadow); transform: translateZ(40px);
}
.hero__panel li .osi-icon { color: var(--gold); width: 20px; height: 20px; margin-top: 2px; }
.hero__panel li::before { display: none; }

/* Generated image sections */
.ops-system--visual, .category-context--visual { align-items: center; }
.ops-visual, .context-visual { position: relative; display: grid; gap: 1rem; }
.ops-image, .context-image {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-float);
}
.ops-visual .ops-list, .context-visual .context-list {
  margin-top: -3.5rem; margin-inline: 1.25rem; position: relative; z-index: 2;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border: 1px solid rgba(231,227,217,.8); border-radius: var(--radius);
  padding: .75rem; box-shadow: var(--shadow);
}
.product-gallery__main img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* =========================================================================
   13. TILT ENGINE base (JS sets --rx / --ry)
   ========================================================================= */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tilt { transform: perspective(1000px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(var(--ty,0)); }
}

/* =========================================================================
   14. RESPONSIVE additions for V3 components
   ========================================================================= */
@media (max-width: 992px) {
  .trust-band { grid-template-columns: repeat(2, 1fr); }
  .nav .menu { margin-left: 0; }
  .case__body { padding: 2rem; }
  .crs__row { grid-template-columns: 84px 1fr; }
  .flow__item:not(:last-child)::after { display: none; }
}
@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .trust-band { grid-template-columns: 1fr; }
  .hero__float { display: none; }
  .hero__panel { transform: none !important; }
  .ops-visual .ops-list, .context-visual .context-list { margin-top: 0; margin-inline: 0; }
  .ops-image, .context-image { border-radius: var(--radius); }
  .crs__row { grid-template-columns: 1fr; gap: .25rem; }
  .crs__row b { padding-top: 0; }
  .comment-form-author, .comment-form-email { width: 100%; margin: 0; }
  .comments { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .ico-badge { width: 48px; height: 48px; }
  .ico-badge .osi-icon { width: 22px; height: 22px; }
  .case__body { padding: 1.5rem; }
  .quote-form-card { padding: 1.5rem; }
  .feature-tile { padding: 1.5rem; }
}

/* =========================================================================
   15. MOBILE FIXES — kill 3D depth clipping + tighten hero type
   ========================================================================= */
@media (max-width: 720px) {
  .hero__panel, .hero__panel li { transform: none !important; }
  .hero__panel { transform-style: flat; }
  .card, .industry, .assurance-card, .feature-tile, .tier-card { transform: none !important; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .hero__panel { padding: 1.5rem 1.35rem; }
  .hero__panel .panel-tag { left: 16px; }
  .audience-tags { gap: .45rem; }
}

/* =========================================================================
   16. MOBILE OVERFLOW CURE — grid blowout + long-word wrap
   ========================================================================= */
@media (max-width: 992px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .hero__grid, .ops-system, .content-area, .case { grid-template-columns: minmax(0, 1fr); }
  .hero h1, .hero p, .hero__panel li span, .card__ph b { overflow-wrap: break-word; }
  .hero p { max-width: 100%; }
  .hero__cta .btn { white-space: normal; }
}
html, body { overflow-x: clip; }


/* =========================================================================
   17. FOOTER V3 — line icons + blurb contrast
   ========================================================================= */
.footer-brand p { color: var(--on-navy); opacity: .92; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .osi-icon { color: var(--gold); width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; }

/* Service tier CTA */
.tier-card { display: flex; flex-direction: column; }
.tier-card .tier-cta { margin-top: auto; padding-top: 1.3rem; }


/* =========================================================================
   18. IMPORT PLAYBOOK — balanced editorial composition (fixes lopsided block)
   ========================================================================= */
.category-context--visual { grid-template-columns: 1.02fr .98fr; align-items: stretch; gap: 3.5rem; }
.category-context--visual .context-copy { align-self: center; }
.playbook-points { display: grid; gap: 1rem; margin-top: 1.9rem; }
.playbook-points > div { display: flex; gap: 1rem; align-items: flex-start; }
.playbook-points .pp-ico { width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto; display: grid; place-items: center; background: linear-gradient(145deg, var(--ivory), #fff); border: 1px solid var(--gold-200); color: var(--gold-600); box-shadow: inset 0 1px 0 #fff, var(--shadow-sm); }
.playbook-points .pp-ico .osi-icon { width: 22px; height: 22px; }
.playbook-points b { display: block; color: var(--navy); font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.playbook-points span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.6; margin-top: .15rem; }

.context-figure { position: relative; margin: 0; height: 100%; min-height: 460px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
.context-figure .context-image { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; display: block; }
.context-figure::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(200,163,91,.28); border-radius: var(--radius-lg); pointer-events: none; }
.context-cap { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: .55rem; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius-sm); padding: .7rem .95rem; font-family: var(--sans); font-weight: 600; font-size: .85rem; color: var(--navy); box-shadow: var(--shadow); }
.context-cap .osi-icon { width: 18px; height: 18px; color: var(--gold-600); flex: 0 0 auto; }

@media (max-width: 992px) {
  .category-context--visual { grid-template-columns: 1fr; gap: 2.25rem; }
  .context-figure { min-height: 340px; }
}
@media (max-width: 480px) {
  .context-figure { min-height: 240px; }
  .context-cap { font-size: .8rem; padding: .6rem .8rem; }
}


/* Contact form — honeypot + status notices */
.osian-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden;}
.form-note{display:flex;align-items:center;gap:.55rem;border-radius:var(--radius-sm);padding:.85rem 1.05rem;font-size:.9rem;line-height:1.4;margin-bottom:1.4rem;}
.form-note .osi-icon{flex:0 0 auto;}
.form-note--ok{background:#e9f6ef;border:1px solid #b8e0cb;color:#1d6b46;}
.form-note--err{background:#fdecec;border:1px solid #f3c2c2;color:#a3302b;}


/* =========================================================================
   19. MOBILE POLISH (V3.2) — clean header, pro menu, footer, WA button
   ========================================================================= */
@media (max-width: 720px) {

  /* --- Header: clean = logo + hamburger only (remove Get a Quote) --- */
  .nav__actions { display: none !important; }
  .nav { gap: 1rem; }
  .nav-toggle { margin-left: auto; }

  /* --- Mobile menu: professional list with dividers --- */
  .menu {
    inset: var(--header-h) 0 auto 0;
    padding: .4rem 0 .75rem;
    gap: 0;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .menu > li { border-bottom: 1px solid var(--line); }
  .menu > li:last-child { border-bottom: 0; }
  .menu > li > a {
    display: block;
    padding: .95rem 1.5rem;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--navy);
  }
  .menu > li > a::after { display: none; }
  .menu .current-menu-item > a { color: var(--gold-600); }

  /* Submenu — indented, ivory panel, gold tick, muted text */
  .menu .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    margin: 0; padding: 0; border: 0; box-shadow: none;
    background: var(--ivory);
    border-top: 1px solid var(--line);
  }
  .menu .sub-menu li { border: 0; }
  .menu .sub-menu li + li { border-top: 1px solid rgba(11,31,58,.06); }
  .menu .sub-menu a {
    display: block;
    padding: .8rem 1.5rem .8rem 2.6rem;
    font-size: .92rem;
    color: var(--muted);
    position: relative;
  }
  .menu .sub-menu a::before {
    content: ""; position: absolute; left: 1.6rem; top: 50%;
    width: 8px; height: 1.5px; background: var(--gold); border-radius: 2px;
  }
  .menu .sub-menu a:hover { color: var(--gold-600); background: #fff; }

  /* --- WhatsApp float: anchored at bottom, safe-area aware (was too high) --- */
  .wa-float {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    right: 16px !important;
    width: 54px !important; height: 54px !important;
  }

  /* --- Footer: brand full, Company|Categories 2-col, contact full --- */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.9rem 1.25rem; }
  .footer-grid > .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:nth-child(4) { grid-column: 1 / -1; }
  .site-footer h4 { margin-bottom: .9rem; }
  .footer-bottom .container { flex-direction: column; gap: .35rem; text-align: center; }
}

@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr; }
  .brand { font-size: 1.3rem; }
}

/* =========================================================================
   20. FOOTER — premium refinement + button contrast fix
   ========================================================================= */
/* FIX: gold button text was inheriting the footer link colour (gold-on-gold) */
.site-footer .btn-gold { color: var(--navy) !important; font-weight: 600; }
.site-footer .btn-gold:hover { background: #fff !important; color: var(--navy) !important; }

/* Column headings — refined eyebrow with gold underline */
.site-footer h4 {
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; margin-bottom: 1.25rem; padding-bottom: .75rem; position: relative;
}
.site-footer h4::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px;
  background: var(--gold); border-radius: 2px;
}

/* Links — brighter, comfortable, gold hover with a subtle slide */
.site-footer { color: #9aa6ba; }
.site-footer ul:not(.footer-contact) li { padding: 0; }
.site-footer ul:not(.footer-contact) a {
  display: inline-block; padding: .42rem 0; color: #b3bdce; font-size: .94rem;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.site-footer ul:not(.footer-contact) a:hover { color: var(--gold); transform: translateX(3px); }

/* Brand blurb */
.footer-brand p { color: #aab4c6; max-width: 34ch; font-size: .92rem; line-height: 1.8; }

/* Get-in-touch contact rows — a touch brighter, aligned */
.footer-contact li { color: #b3bdce; font-size: .92rem; line-height: 1.55; padding: .3rem 0; }

/* Footer quote button — intentional sizing */
.site-footer .btn-gold { margin-top: 1.6rem; padding: .85rem 1.6rem; }

/* Bottom bar — refined, dim, hairline */
.footer-bottom { margin-top: 3.25rem; border-top: 1px solid rgba(255,255,255,.08); color: #7e8aa0; }
.footer-bottom span { font-size: .84rem; }

/* =========================================================================
   21. MOBILE MENU — cleaner active state (gold text + gold rail, white rows)
   ========================================================================= */
@media (max-width: 720px) {
  .menu > li > a { background: #fff; }
  .menu .current-menu-item > a,
  .menu .current-menu-ancestor > a,
  .menu .current-menu-parent > a {
    color: var(--gold-600);
    box-shadow: inset 3px 0 0 var(--gold);
  }
  .menu .sub-menu { background: var(--cream); }
}


/* =========================================================================
   22. MOBILE SUBMENU — accordion (collapsed until caret tapped)
   ========================================================================= */
.menu .submenu-toggle { display: none; }
@media (max-width: 720px) {
  .menu .menu-item-has-children { position: relative; }
  .menu .submenu-toggle {
    display: grid; place-items: center; padding: 0;
    position: absolute; top: 0; right: 0; height: 57px; width: 60px;
    background: none; border: 0; cursor: pointer; color: var(--navy); z-index: 3;
  }
  .menu .submenu-toggle .chev {
    width: 9px; height: 9px; display: inline-block;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); margin-top: -4px; transition: transform .3s var(--ease);
  }
  .menu .menu-item-has-children.is-expanded > .submenu-toggle { color: var(--gold-600); }
  .menu .menu-item-has-children.is-expanded > .submenu-toggle .chev { transform: rotate(-135deg); margin-top: 4px; }

  .menu .sub-menu {
    max-height: 0 !important; overflow: hidden;
    border-top: 0 !important; transition: max-height .32s var(--ease);
  }
  .menu .menu-item-has-children.is-expanded > .sub-menu {
    max-height: 400px !important; border-top: 1px solid var(--line) !important;
  }
}


/* =========================================================================
   23. MOBILE FOOTER — centered, compact, balanced (common standard)
   ========================================================================= */
@media (max-width: 720px) {
  .site-footer { text-align: center; padding-top: 3rem; }

  /* kill the uneven 2-col grid → single centered column */
  .footer-grid { display: block; }
  .footer-grid > div { margin: 0 0 2.25rem; }
  .footer-grid > div:last-child { margin-bottom: 0; }

  /* Brand block centered */
  .footer-brand .brand { justify-content: center; }
  .footer-brand p { margin: 1rem auto 0; max-width: 30ch; text-align: center; }

  /* Section headings centered, centered gold underline */
  .site-footer h4 { text-align: center; }
  .site-footer h4::after { left: 50%; transform: translateX(-50%); }

  /* Link groups → centered, inline, wrapping, gold-dot separators */
  .site-footer ul:not(.footer-contact) {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 0; max-width: 21rem; margin: 0 auto;
  }
  .site-footer ul:not(.footer-contact) li { display: inline-flex; align-items: center; padding: 0; }
  .site-footer ul:not(.footer-contact) li:not(:last-child)::after {
    content: "\2022"; color: var(--gold); opacity: .6; margin: 0 .6rem; font-size: .7em;
  }
  .site-footer ul:not(.footer-contact) a { padding: .32rem 0; }
  .site-footer ul:not(.footer-contact) a:hover { transform: none; }

  /* Contact centered */
  .footer-contact { max-width: 23rem; margin: 0 auto; }
  .footer-contact li { justify-content: center; text-align: left; }

  /* CTA → full-width, centered, prominent */
  .site-footer .btn-gold {
    display: flex; width: 100%; max-width: 21rem;
    margin: 1.6rem auto 0; justify-content: center;
  }

  /* Bottom bar centered */
  .footer-bottom { margin-top: 2.5rem; }
  .footer-bottom .container { align-items: center; gap: .4rem; }
}