/* Somashekara & Co — public site styles */
:root {
  --navy: #1b4f82;
  --navy-900: #0f2e4f;
  --navy-950: #0a2039;
  --navy-50: #eef4fa;
  --orange: #f08a24;
  --orange-600: #d9731a;
  --ink: #16212e;
  --text: #3c4a5a;
  --muted: #6b7787;
  --line: #e2e8f0;
  --soft: #f6f8fb;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px -12px rgba(15, 46, 79, .18);
  --shadow-lg: 0 24px 60px -20px rgba(15, 46, 79, .30);
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --container: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
.h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.mt-lg { margin-top: 40px; }
.mt { margin-top: 22px; }
.pt-0 { padding-top: 0 !important; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 999; }
.skip:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: all .2s; font-family: inherit; line-height: 1.2; white-space: nowrap; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-900); color: #fff; transform: translateY(-1px); }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-600); color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Topbar */
.topbar { background: var(--navy-950); color: #c8d6e5; font-size: .85rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { color: #dbe6f1; }
.topbar a:hover { color: var(--orange); }
.tb-left, .tb-right { display: flex; gap: 22px; align-items: center; }
.tb-left .bi { color: var(--orange); margin-right: 4px; }
.tb-right { gap: 14px; }
.tb-link { font-weight: 600; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.15); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px -14px rgba(15, 46, 79, .35); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 20px; }
.brand img { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 18px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 5px; padding: 10px 13px; font-weight: 600; font-size: .95rem; color: var(--ink); border-radius: 8px; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { color: var(--navy); background: var(--navy-50); }
.main-nav .caret { font-size: .7rem; }
.sub-toggle { display: none; }
.only-mobile { display: none !important; }
.has-mega { position: static !important; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { max-width: var(--container); margin: 0 auto; padding: 28px 20px 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 36px; }
.mega-col a { display: block; padding: 5px 0; color: var(--text); font-size: .92rem; }
.mega-col a:hover { color: var(--orange-600); padding-left: 4px; }
.mega-head { font-weight: 800; color: var(--navy) !important; font-size: .98rem !important; border-bottom: 2px solid var(--navy-50); padding-bottom: 8px !important; margin-bottom: 6px; }
.mega-head .bi { color: var(--orange); margin-right: 4px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background:
  radial-gradient(1000px 500px at 85% 10%, rgba(240, 138, 36, .18), transparent 60%),
  linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy) 100%); }
.hero.has-img { background: var(--navy-950) var(--hero-img) center/cover no-repeat; }
.hero.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--navy-950), var(--navy-900) 55%, var(--navy)); opacity: var(--hero-op, .82); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000 30%, transparent); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 84px 20px 96px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #ffd2a6; background: rgba(240, 138, 36, .14); border: 1px solid rgba(240, 138, 36, .35); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 3.9rem); line-height: 1.06; letter-spacing: -.035em; }
.hero .lead { font-size: 1.12rem; color: #cfdceb; max-width: 560px; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 28px; color: #e3ecf5; font-weight: 600; font-size: .95rem; }
.hero-points .bi { color: var(--orange); margin-right: 6px; }
.hero-card { position: relative; justify-self: center; width: 100%; max-width: 400px; }
.founder-figure { margin: 0; position: relative; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, #dfe9f2, #b9cde0); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); aspect-ratio: 3/4; }
.founder-figure img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.founder-figure figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 14px; padding: 14px 18px; display: flex; flex-direction: column; border-left: 4px solid var(--orange); }
.founder-figure figcaption strong { font-size: 1.05rem; }
.founder-figure figcaption span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.hero-call { position: absolute; top: 26px; left: -36px; display: flex; gap: 12px; align-items: center; background: var(--orange); color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 800; }
.hero-call .bi { font-size: 1.4rem; }
.hero-call small { display: block; font-weight: 600; font-size: .72rem; opacity: .9; text-transform: uppercase; letter-spacing: .08em; }
.hero-call:hover { color: #fff; background: var(--orange-600); }

/* Category strip */
.cat-strip { position: relative; z-index: 2; margin-top: -38px; }
.cat-strip-in { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(6, 1fr); overflow: hidden; }
.cat-chip { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 12px; text-align: center; color: var(--ink); font-weight: 700; font-size: .88rem; border-right: 1px solid var(--line); line-height: 1.3; }
.cat-chip:last-child { border-right: 0; }
.cat-chip .bi { font-size: 1.6rem; color: var(--navy); transition: .2s; }
.cat-chip:hover { background: var(--navy); color: #fff; }
.cat-chip:hover .bi { color: var(--orange); }

/* Sections */
.section { padding: 92px 0; }
.section-sm { padding: 40px 0; }
.bg-soft { background: var(--soft); }
.kicker { display: inline-block; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--orange-600); margin-bottom: 10px; }
.sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.sec-head p { color: var(--muted); font-size: 1.05rem; }
.sec-head.light h2 { color: #fff; }
.row-head { max-width: none; display: flex; justify-content: space-between; align-items: end; text-align: left; gap: 20px; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-top { align-items: start; }
.prose { color: var(--text); }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.prose ul li::before { content: "\F26B"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--orange); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; position: relative; padding-left: 34px; margin-bottom: 8px; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy-50); color: var(--navy); font-weight: 800; font-size: .75rem; display: grid; place-items: center; }
.prose img { border-radius: var(--radius-sm); margin: 1em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--navy-50); color: var(--ink); }
.prose blockquote { border-left: 4px solid var(--orange); margin: 1.2em 0; padding: 6px 0 6px 18px; color: var(--ink); font-style: italic; }

/* About home */
.quote-card { background: linear-gradient(150deg, var(--navy-900), var(--navy)); color: #fff; border-radius: 22px; padding: 44px 40px 34px; position: relative; box-shadow: var(--shadow-lg); }
.q-icon { font-size: 3rem; color: var(--orange); line-height: 1; }
.quote-card blockquote { margin: 10px 0 26px; font-family: var(--serif); font-size: 1.45rem; line-height: 1.45; font-weight: 500; color: #fff; }
.q-by { display: flex; gap: 14px; align-items: center; border-top: 1px solid rgba(255,255,255,.16); padding-top: 20px; }
.q-by img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--orange); }
.q-by strong { display: block; color: #fff; }
.q-by span { font-size: .85rem; color: #bcd0e4; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.stat strong { display: block; font-size: 2rem; color: var(--navy); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .88rem; font-weight: 600; }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; color: var(--text); transition: all .25s; position: relative; overflow: hidden; }
.svc-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--orange); transition: width .3s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.svc-card:hover::after { width: 100%; }
.svc-card small { color: var(--orange-600); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.svc-card h3 { margin-bottom: 8px; }
.svc-card p { font-size: .94rem; color: var(--muted); flex: 1; }
.svc-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--navy-50); color: var(--navy); display: grid; place-items: center; font-size: 1.45rem; margin-bottom: 18px; transition: .25s; }
.svc-ic.big { width: 64px; height: 64px; font-size: 1.8rem; margin: 0; flex-shrink: 0; }
.svc-card:hover .svc-ic { background: var(--navy); color: #fff; }
.more { font-weight: 700; font-size: .9rem; color: var(--navy); display: inline-flex; gap: 6px; align-items: center; }
.svc-card:hover .more { color: var(--orange-600); }
.svc-group { margin-bottom: 64px; }
.svc-group-head { display: flex; gap: 18px; align-items: center; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.svc-group-head h2 { margin: 0 0 4px; font-size: 1.6rem; }
.svc-group-head p { margin: 0; color: var(--muted); }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; justify-content: center; }
.cat-tabs a { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--text); background: #fff; }
.cat-tabs a:hover { border-color: var(--navy); color: var(--navy); }
.cat-tabs a.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Why */
.why { background: linear-gradient(135deg, var(--navy-950), var(--navy-900)); color: #c9d8e8; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-item { padding: 30px 26px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: rgba(255,255,255,.03); transition: .25s; }
.why-item:hover { background: rgba(255,255,255,.07); border-color: rgba(240,138,36,.5); }
.why-ic { font-size: 2rem; color: var(--orange); display: block; margin-bottom: 14px; }
.why-item h3 { color: #fff; }
.why-item p { font-size: .94rem; margin: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--soft); }
.steps li span { font-family: var(--serif); font-size: 2.6rem; color: var(--orange); line-height: 1; display: block; margin-bottom: 12px; font-weight: 600; }
.steps p { font-size: .94rem; color: var(--muted); margin: 0; }

/* Industries */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ind-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: .25s; }
.ind-card > .bi { font-size: 1.9rem; color: var(--navy); display: block; margin-bottom: 14px; }
.ind-card img { border-radius: 10px; margin-bottom: 14px; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.ind-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.ind-card p { font-size: .9rem; color: var(--muted); margin: 0; }
.ind-card:hover { border-color: var(--navy); box-shadow: var(--shadow); }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { margin: 0; background: var(--soft); border-radius: var(--radius); padding: 28px; }
.stars { color: var(--orange); margin-bottom: 12px; display: flex; gap: 2px; }
.testi blockquote { margin: 0 0 18px; color: var(--ink); }
.testi figcaption strong { display: block; color: var(--ink); }
.testi figcaption span { font-size: .85rem; color: var(--muted); }
.logos { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; align-items: center; }
.logo-item img { max-height: 48px; width: auto; filter: grayscale(1); opacity: .7; transition: .2s; }
.logo-item img:hover { filter: none; opacity: 1; }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-img { display: block; aspect-ratio: 16/9; background: var(--navy-50); overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-img img { transform: scale(1.04); }
.post-ph { display: grid; place-items: center; height: 100%; font-size: 2.6rem; color: var(--navy); opacity: .5; }
.post-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 1.1rem; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--navy); }
.post-body p { font-size: .92rem; color: var(--muted); flex: 1; }
.post-meta { display: flex; gap: 12px; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 10px; flex-wrap: wrap; }
.post-meta.big { font-size: .9rem; margin-bottom: 22px; gap: 18px; }
.tag { background: var(--navy-50); color: var(--navy); padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: .75rem; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 44px; }
.pager a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.pager a.on, .pager a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty { text-align: center; padding: 60px 20px; background: var(--soft); border-radius: var(--radius); }
.empty .bi { font-size: 2.8rem; color: var(--navy); }
.empty p { color: var(--muted); max-width: 460px; margin: 0 auto; }

/* Forms */
.form-card { background: #fff; border-radius: 18px; padding: 34px 32px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card h2, .form-card h3 { margin-bottom: 20px; }
.form-card.sticky { position: sticky; top: 100px; }
.enq-form .grid-2, .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.enq-form.compact .grid-2 { grid-template-columns: 1fr; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .95rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfcfe; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(27, 79, 130, .12); background: #fff; }
.field input[type=file] { padding: 9px; background: #fff; }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; margin: 10px 0 0; }
.form-msg:empty { display: none; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-weight: 600; font-size: .92rem; }
.form-msg.ok { background: #e8f7ee; color: #1b7a43; }
.form-msg.err { background: #fdecec; color: #b42318; }
.alert { margin: 18px 0; padding: 14px 18px; border-radius: 10px; font-weight: 600; }
.alert-success { background: #e8f7ee; color: #1b7a43; }
.alert-error { background: #fdecec; color: #b42318; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .bi { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: #fff; color: var(--orange); display: grid; place-items: center; font-size: 1.15rem; box-shadow: var(--shadow); }
.contact-list small { display: block; font-size: .75rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a, .contact-list span { color: var(--ink); font-weight: 700; }
.faq-title { margin-top: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; color: var(--orange); font-weight: 400; transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 16px; margin: 0; color: var(--muted); }

/* Page hero */
.page-hero { background: linear-gradient(120deg, var(--navy-950), var(--navy) 120%); color: #cfdceb; padding: 64px 0 60px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 70px solid rgba(240, 138, 36, .09); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 10px; max-width: 900px; position: relative; z-index: 1; }
.page-hero p { max-width: 720px; margin: 0; font-size: 1.06rem; position: relative; z-index: 1; }
.crumbs { font-size: .85rem; margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 1; }
.crumbs a { color: #ffd2a6; }
.crumbs span { color: #9fb6cc; }

/* Detail layout */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.detail-img { border-radius: var(--radius); margin-bottom: 28px; width: 100%; }
.detail-side { display: grid; gap: 24px; }
.side-box { background: var(--soft); border-radius: var(--radius); padding: 24px; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links a { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .93rem; }
.side-links a:hover { color: var(--orange-600); }
.side-links .bi { color: var(--navy); }
.side-links small { width: 100%; color: var(--muted); font-weight: 500; font-size: .78rem; }
.inline-cta { display: flex; gap: 16px; align-items: center; background: var(--navy-50); border-left: 4px solid var(--orange); border-radius: 10px; padding: 18px 22px; margin-top: 32px; }
.inline-cta > .bi { font-size: 1.8rem; color: var(--navy); }
.inline-cta strong { display: block; color: var(--ink); }
.inline-cta span { font-size: .92rem; }
.note { font-size: .88rem; color: var(--muted); background: var(--soft); padding: 12px 16px; border-radius: 10px; margin-top: 26px; }

/* About page */
.value-list { display: grid; gap: 16px; }
.value { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.value > .bi { font-size: 1.6rem; color: var(--orange); flex-shrink: 0; }
.value h3 { margin-bottom: 4px; font-size: 1.05rem; }
.value p { margin: 0; font-size: .92rem; color: var(--muted); }
.founder-block { display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: center; }
.founder-photo { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: #dfe9f2; position: relative; }
.founder-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--navy), var(--orange)); }
.founder-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.role { color: var(--orange-600); font-weight: 700; margin-top: -8px; }
.pull { font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; color: var(--navy-900); border-left: 4px solid var(--orange); margin: 22px 0; padding: 4px 0 4px 22px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { text-align: center; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.team-img { width: 130px; height: 130px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; background: var(--navy-50); display: grid; place-items: center; font-size: 3rem; color: var(--navy); }
.team-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-card p { font-size: .9rem; color: var(--muted); }

/* Careers */
.jobs { display: grid; gap: 14px; margin-top: 26px; }
.job { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.job summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; }
.job summary::-webkit-details-marker { display: none; }
.job h3 { margin: 0 0 6px; }
.job-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.job-meta .bi { color: var(--orange); }
.job-caret { transition: .2s; color: var(--navy); }
.job[open] .job-caret { transform: rotate(180deg); }
.job-body { padding: 0 24px 22px; }
.empty-inline { background: var(--soft); padding: 18px; border-radius: 10px; }

/* Contact page */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.c-card { display: flex; flex-direction: column; gap: 2px; padding: 26px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--ink); transition: .25s; }
.c-card .bi { font-size: 1.6rem; color: var(--orange); margin-bottom: 10px; }
.c-card small { color: var(--muted); font-weight: 700; text-transform: uppercase; font-size: .72rem; letter-spacing: .1em; }
.c-card strong { font-size: 1rem; word-break: break-word; }
a.c-card:hover { border-color: var(--navy); box-shadow: var(--shadow); color: var(--navy); }
.office-list { display: grid; gap: 16px; }
.office { padding: 22px; border-radius: var(--radius); background: var(--soft); }
.office h3 { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.office p { margin: 0 0 6px; display: flex; gap: 8px; }
.office p .bi { color: var(--orange); }
.map { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 320px; border: 0; display: block; }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--orange-600), var(--orange)); color: #fff; padding: 56px 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #fff3e6; }
.cta-band .btn-accent { background: var(--navy-950); }
.cta-band .btn-accent:hover { background: #000; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Newsletter */
.newsletter { background: var(--navy-50); padding: 48px 0; }
.nl-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; }
.newsletter h2 { font-size: 1.5rem; margin-bottom: 4px; }
.newsletter p { margin: 0; color: var(--muted); }
.nl-form { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 10px; position: relative; }
.nl-form input { font: inherit; padding: 13px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; min-width: 0; }
.nl-form input:focus { outline: none; border-color: var(--navy); }
.nl-form .form-msg { grid-column: 1 / -1; margin-top: 4px; }

/* Footer */
.site-footer { background: var(--navy-950); color: #a9bdd1; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1.1fr .85fr 1.3fr; gap: 36px; padding: 72px 20px 52px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--orange); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #c8d6e5; }
.site-footer a:hover { color: var(--orange); }
.f-logo { display: inline-block; margin-bottom: 18px; }
.f-logo-chip { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 12px; }
.f-logo img { height: 44px; width: auto; }
.f-social { display: flex; gap: 10px; margin-top: 16px; }
.f-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); }
.f-social a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.f-person { color: #fff; font-weight: 700; margin-bottom: 8px; }
.f-list li { display: flex; gap: 10px; }
.f-list .bi, .f-addr .bi { color: var(--orange); }
.f-addr { display: flex; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: .85rem; }
.fb-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fb-credit { color: #8fa6bd; }
.fb-credit a { color: #fff; font-weight: 700; }
.fb-credit a:hover { color: var(--orange); }

/* Floating */
.float-actions { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 10px; z-index: 90; }
.float-actions a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.5rem; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); transition: transform .2s; }
.float-actions a:hover { transform: scale(1.08); color: #fff; }
.fa-wa { background: #25d366; }
.fa-call { background: var(--navy); font-size: 1.25rem !important; }

/* Disclaimer */
.disclaimer { position: fixed; inset: 0; background: rgba(10, 32, 57, .7); z-index: 200; display: grid; place-items: center; padding: 20px; backdrop-filter: blur(3px); }
.disclaimer[hidden] { display: none; }
.disc-box { background: #fff; max-width: 620px; border-radius: 18px; padding: 34px; box-shadow: var(--shadow-lg); border-top: 5px solid var(--orange); }
.disc-box p { font-size: .95rem; }
.disc-actions { text-align: right; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1100px) {
  .main-nav > ul > li > a { padding: 10px 9px; font-size: .9rem; }
  .why-grid, .ind-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .f-about { grid-column: 1 / -1; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .nav-toggle { display: flex; }
  /* backdrop-filter would make the header the containing block for the fixed menu and clip it */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  html:has(body.nav-open) { overflow: hidden; }
  body.nav-open .float-actions { display: none; }
  .main-nav { height: 100vh; height: 100dvh; padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
  .main-nav > ul > li > a { font-size: 1rem; }
  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; flex-direction: column; align-items: stretch; padding: 90px 20px 30px; gap: 20px; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; overflow-y: auto; box-shadow: var(--shadow-lg); z-index: 99; }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .nav-toggle { position: relative; z-index: 101; }
  .main-nav ul { flex-direction: column; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a { padding: 14px 6px; }
  .has-mega { position: relative !important; }
  .main-nav .caret { display: none; }
  .sub-toggle { display: grid; place-items: center; position: absolute; right: 0; top: 6px; width: 40px; height: 40px; border: 0; background: var(--navy-50); color: var(--navy); border-radius: 8px; cursor: pointer; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; }
  .has-mega:hover .mega { display: none; }
  .has-mega.open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr; padding: 0 0 14px 8px; gap: 14px; }
  .only-mobile { display: flex !important; }
  .nav-cta { width: 100%; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(10,32,57,.45); z-index: 98; }
  .hero-in { grid-template-columns: 1fr; padding: 56px 20px 90px; gap: 44px; }
  .hero-card { max-width: 360px; }
  .hero-call { left: -10px; right: auto; top: -18px; }
  .cat-strip { margin-top: 0; padding-top: 24px; }
  .hero-in { padding-bottom: 56px; }
  .cat-strip-in { grid-template-columns: repeat(3, 1fr); }
  .cat-chip:nth-child(3) { border-right: 0; }
  .cat-chip:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .split, .founder-block, .detail, .nl-in { grid-template-columns: 1fr; gap: 40px; }
  .founder-photo { max-width: 400px; }
  .svc-grid, .post-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card.sticky { position: static; }
  .tb-hours { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .topbar { display: none; }
  .header-in { min-height: 66px; }
  .brand img { height: 36px; }
  .svc-grid, .post-grid, .testi-grid, .why-grid, .ind-grid, .steps, .team-grid, .contact-cards { grid-template-columns: 1fr; }
  .cat-strip-in { grid-template-columns: repeat(2, 1fr); }
  .cat-chip { border-bottom: 1px solid var(--line); }
  .cat-chip:nth-child(odd) { border-right: 1px solid var(--line); }
  .cat-chip:nth-child(even) { border-right: 0; }
  .cat-chip:nth-child(3) { border-right: 1px solid var(--line); }
  .hero-points { grid-template-columns: 1fr; }
  .hero-btns .btn { width: 100%; }
  .enq-form .grid-2, .grid-2 { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .quote-card { padding: 32px 24px 26px; }
  .quote-card blockquote { font-size: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; padding-top: 52px; }
  .nl-form { grid-template-columns: 1fr; }
  .float-actions a { width: 48px; height: 48px; }
}

/* ---------- Team ---------- */
.cat-tabs button { font: inherit; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--text); background: #fff; cursor: pointer; }
.cat-tabs button em { font-style: normal; font-size: .75rem; background: var(--soft); padding: 1px 7px; border-radius: 99px; margin-left: 4px; }
.cat-tabs button:hover { border-color: var(--navy); color: var(--navy); }
.cat-tabs button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.cat-tabs button.on em { background: rgba(255,255,255,.2); }
.team-section { margin-bottom: 56px; }
.team-section[hidden] { display: none; }
.team-group-title { font-size: 1.4rem; padding-bottom: 12px; margin-bottom: 26px; border-bottom: 1px solid var(--line); position: relative; }
.team-group-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 3px; background: var(--orange); }
.tm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tm-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: .25s; }
.tm-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.tm-photo { display: block; aspect-ratio: 4/4.2; background: linear-gradient(180deg, #e4edf6, #c4d6e7); overflow: hidden; position: relative; }
.tm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s; }
.tm-card:hover .tm-photo img { transform: scale(1.04); }
.initials { display: grid; place-items: center; width: 100%; height: 100%; font-size: 3.2rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; background: linear-gradient(160deg, #e7f0fb, #cfdeee); }
.tm-body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.tm-body h3 { margin: 0 0 2px; font-size: 1.15rem; }
.tm-body h3 a { color: var(--ink); }
.tm-body h3 a:hover { color: var(--navy); }
.tm-role { color: var(--orange-600); font-weight: 700; font-size: .9rem; margin: 0 0 4px; }
.tm-qual { color: var(--muted); font-size: .84rem; margin: 0 0 10px; font-weight: 600; }
.tm-bio { font-size: .92rem; color: var(--text); margin: 0 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chips span { background: var(--navy-50); color: var(--navy); font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.chips.lg span { font-size: .88rem; padding: 7px 14px; }
.tm-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.tm-social { display: flex; gap: 6px; }
.tm-social a { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--navy); font-size: .9rem; }
.tm-social a:hover { background: var(--navy); color: #fff; }
.tm-grid.mini { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tm-mini { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: .25s; }
.tm-mini:hover { box-shadow: var(--shadow); color: var(--navy); }
.tm-mini-img { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; margin-bottom: 12px; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--navy-50); }
.tm-mini-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tm-mini-img .initials { font-size: 2rem; }
.tm-mini small { color: var(--muted); font-weight: 600; }
.join { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.join h2 { margin-bottom: 6px; } .join p { margin: 0; color: var(--muted); }
.btn-row-pub { display: flex; gap: 12px; flex-wrap: wrap; }

/* Profile */
.pf-hero { background: linear-gradient(120deg, var(--navy-950), var(--navy) 120%); color: #cfdceb; padding: 48px 0 56px; position: relative; overflow: hidden; }
.pf-hero.has-cover { background: var(--navy-950) var(--cover) center/cover no-repeat; }
.pf-hero.has-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,32,57,.94), rgba(15,46,79,.78)); }
.pf-hero > .container { position: relative; z-index: 1; }
.pf-head { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: center; margin-top: 14px; }
.pf-photo { aspect-ratio: 3/4; border-radius: 20px; overflow: hidden; background: #dfe9f2; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); border: 4px solid rgba(255,255,255,.12); }
.pf-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pf-id h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 6px; }
.pf-id .eyebrow { margin-bottom: 14px; }
.pf-role { font-size: 1.1rem; font-weight: 700; color: #ffd2a6; margin-bottom: 14px; }
.pf-role span { color: #7f9bb6; }
.pf-intro { max-width: 640px; font-size: 1.04rem; }
.pf-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 18px; }
.pf-social { display: flex; gap: 10px; }
.pf-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 1.05rem; }
.pf-social a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.pf-h { font-size: 1.5rem; margin: 36px 0 16px; }
.detail-main > .pf-h:first-child { margin-top: 0; }
.pf-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.pf-list { background: var(--soft); border-radius: var(--radius); padding: 22px 24px; }
.pf-list h3 { font-size: 1rem; display: flex; gap: 8px; align-items: center; }
.pf-list h3 .bi { color: var(--orange); }
.pf-list ul { list-style: none; margin: 0; padding: 0; }
.pf-list li { position: relative; padding: 0 0 10px 18px; font-size: .93rem; }
.pf-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--navy); }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border: 0; }
.facts .bi { color: var(--orange); font-size: 1.1rem; margin-top: 2px; }
.facts small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.facts span, .facts a { color: var(--ink); font-weight: 600; word-break: break-word; }

/* Social feeds */
.feed-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.feed-tabs button { font: inherit; display: inline-flex; gap: 6px; align-items: center; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .88rem; color: var(--text); cursor: pointer; }
.feed-tabs button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.feed-panel { display: none; }
.feed-panel.on { display: block; }
.no-js .feed-panel { display: block; margin-bottom: 24px; }
.feed-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fd-li { width: 100%; height: 560px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.fd-ig { width: 100%; height: 620px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.fd-yt { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #000; }
.fd-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fd-x, .fd-fb { max-width: 520px; }
.fd-fb iframe { width: 100%; height: 640px; border: 0; border-radius: 12px; }

@media (max-width: 991px) {
  .tm-grid { grid-template-columns: repeat(2, 1fr); }
  .tm-grid.mini { grid-template-columns: repeat(2, 1fr); }
  .pf-head { grid-template-columns: 200px 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .tm-grid, .pf-lists, .feed-grid { grid-template-columns: 1fr; }
  .pf-head { grid-template-columns: 1fr; }
  .pf-photo { max-width: 220px; }
  .pf-actions .btn { flex: 1 1 auto; }
}

/* ---------- Site popup ---------- */
html:has(body.sp-lock) { overflow: hidden; }
.sp-overlay { position: fixed; inset: 0; z-index: 190; background: rgba(10, 32, 57, .62); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .25s; }
.sp-overlay[hidden] { display: none; }
.sp-overlay.open { opacity: 1; }
.sp-box { position: relative; background: #fff; border-radius: 20px; overflow: hidden; width: 100%; max-width: 1040px; max-height: calc(100vh - 40px); display: grid; grid-template-columns: 1fr 1.1fr; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); transform: translateY(16px) scale(.98); transition: transform .3s; }
.sp-overlay.open .sp-box { transform: none; }
.sp-box.sp-right { grid-template-columns: 1.1fr 1fr; }
.sp-box.sp-right .sp-media { order: 2; }
.sp-box.sp-top, .sp-box.sp-none { grid-template-columns: 1fr; max-width: 620px; }
.sp-box.sp-top .sp-media { max-height: 240px; }
.sp-media { min-height: 100%; background: var(--navy-50); }
.sp-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.sp-body { padding: 40px 38px 32px; overflow-y: auto; }
.sp-body h2 { font-family: var(--serif); font-weight: 600; color: var(--navy-900); font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0 40px 10px 0; letter-spacing: -.01em; }
.sp-text { color: var(--text); margin-bottom: 18px; }
.sp-text p:last-child { margin-bottom: 0; }
.sp-body .enq-form.compact .grid-2 { grid-template-columns: 1fr 1fr; }
.sp-body .form-note { display: none; }
.sp-body .btn-block { background: var(--orange); }
.sp-body .btn-block:hover { background: var(--orange-600); }
.sp-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px -6px rgba(0,0,0,.35); display: grid; place-items: center; }
.sp-close:hover { background: var(--navy); color: #fff; }
@media (max-width: 767px) {
  .sp-overlay { padding: 12px; align-items: end; }
  .sp-box, .sp-box.sp-right { grid-template-columns: 1fr; max-height: calc(100vh - 24px); border-radius: 18px; }
  .sp-box.sp-right .sp-media { order: 0; }
  .sp-media { display: none; }
  .sp-overlay { align-items: center; }
  .sp-body h2 { margin-right: 44px; }
  .sp-body { padding: 24px 20px 20px; }
  .sp-body .enq-form.compact .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Mobile hero spacing ---------- */
@media (max-width: 640px) {
  .hero .hero-in { padding: 48px 20px 60px; gap: 48px; }
  .hero .eyebrow { font-size: .7rem; letter-spacing: .1em; padding: 7px 14px; margin-bottom: 20px; line-height: 1.5; }
  .hero h1 { font-size: clamp(2.05rem, 9.6vw, 2.5rem); line-height: 1.1; margin-bottom: 18px; }
  .hero .lead { font-size: 1.02rem; line-height: 1.7; margin-bottom: 30px; }
  .hero-btns { gap: 12px; margin-bottom: 32px; }
  .hero-points { gap: 12px; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.12); }
  .hero-card { margin-top: 8px; width: calc(100% - 8px); }
  .hero-call { left: -6px; top: -22px; padding: 10px 16px; }
  .cat-strip { padding-top: 32px; }
  .cat-chip { padding: 20px 10px; }
}

/* Popup contact block */
.sp-body { display: flex; flex-direction: column; }
.sp-contact { margin-top: auto; padding-top: 24px; }
.sp-contact-title { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.sp-contact-title::before, .sp-contact-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sp-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sp-c { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); color: var(--ink); font-weight: 700; font-size: .92rem; min-width: 0; transition: .2s; }
.sp-c > .bi { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 1rem; }
.sp-c span { min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.sp-c small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.sp-c:hover { border-color: var(--navy); background: #fff; color: var(--navy); }
.sp-c:hover > .bi { background: var(--orange); }
@media (max-width: 767px) {
  .sp-contact { padding-top: 20px; }
  .sp-contact-grid { grid-template-columns: 1fr; gap: 10px; }
}
/* popup: scroll inside the content column; give the email card more room */
.sp-body { max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); }
.sp-contact-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.sp-c { padding: 11px 12px; gap: 10px; }
.sp-c > .bi { width: 34px; height: 34px; font-size: .9rem; }
.sp-c span { overflow-wrap: normal; word-break: normal; }
@media (max-width: 767px) {
  .sp-body { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); -webkit-overflow-scrolling: touch; }
  .sp-contact-grid { grid-template-columns: 1fr; }
}
.sp-contact-grid { grid-template-columns: auto minmax(0, 1fr); }
.sp-c span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 767px) { .sp-contact-grid { grid-template-columns: 1fr; } }
.sp-c { font-size: .86rem; padding: 10px 12px; gap: 9px; }
.sp-c > .bi { width: 32px; height: 32px; font-size: .85rem; }
.sp-contact-grid { gap: 10px; }
@media (max-width: 767px) { .sp-c { font-size: .92rem; } }

/* Form validation */
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid, .nl-form input.is-invalid { border-color: #d64545; box-shadow: 0 0 0 4px rgba(214, 69, 69, .12); background: #fff; }
.cf-turnstile { margin: 0 0 12px; }
.nl-form .cf-turnstile { grid-column: 1 / -1; margin: 0; }
