:root {
  --ink: #0a0f14;
  --ink-2: #121b23;
  --paper: #fff;
  --mist: #f3f5f6;
  --line: #d8dee2;
  --muted: #56646e;
  --brand: #3bbfdc;
  --brand-dark: #0b6f8a;
  --danger: #b3261e;
  --display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-family: var(--display);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.65; font-size: 1.0625rem; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .6em; letter-spacing: -.025em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3, .h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.narrow-lg { width: min(860px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.pre { white-space: pre-line; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 26px 12px 23px; font-weight: 600; font-size: .94rem; border-bottom: 3px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--ink); }
.nav a[aria-current] { border-bottom-color: var(--brand); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--ink); width: 44px; height: 44px; padding: 11px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); }

/* buttons: sharp, with a moving arrow */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; text-decoration: none; font: inherit; font-weight: 700; letter-spacing: .01em; padding: 14px 24px; border: 2px solid var(--ink); cursor: pointer; transition: background .18s, color .18s, border-color .18s; }
.btn::after { content: '\2192'; transition: transform .18s; }
.btn:hover { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.btn:hover::after { transform: translateX(4px); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-sm::after { display: none; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-brand { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.btn-brand:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-wa { background: #0f7a41; border-color: #0f7a41; color: #fff; }
.btn-wa:hover { background: #0b5f32; border-color: #0b5f32; color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.actions form { margin: 0; }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--brand); padding-bottom: 2px; }
.link-arrow::after { content: ' \2192'; }
.link-arrow:hover { color: var(--brand-dark); }

/* hero */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.rise, .line { animation: rise .95s cubic-bezier(.2, .7, .1, 1) both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .25s; } .d3 { animation-delay: .4s; }
.d4 { animation-delay: .55s; } .d5 { animation-delay: .75s; } .d6 { animation-delay: .9s; }

.hero { position: relative; display: flex; flex-direction: column; min-height: clamp(640px, calc(100vh - 72px), 880px); overflow: hidden; color: #fff; background: radial-gradient(75% 95% at 76% 46%, #0d2230 0%, #060b10 62%, #04070a 100%); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(4, 7, 10, .9) 0%, rgba(4, 7, 10, .62) 36%, rgba(4, 7, 10, 0) 62%); }
.globe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero.is-ready .globe { opacity: 1; }
.hero.no-webgl::after { content: ''; position: absolute; right: -8%; top: 8%; width: 62vmin; height: 62vmin; border-radius: 50%; z-index: 0; background: radial-gradient(circle at 35% 35%, rgba(59, 191, 220, .5), rgba(11, 111, 138, .25) 45%, transparent 70%); }
.globe-labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.globe-label { position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap; font-weight: 600; font-size: 13px; line-height: 1; color: #eaf8fc; padding: 6px 10px; background: rgba(4, 9, 14, .72); border-left: 3px solid var(--brand); will-change: transform, opacity; }
.globe-label--origin { background: #fff; color: var(--ink); border-left-color: var(--brand); font-weight: 700; }
.hero-grid { position: relative; z-index: 3; flex: 1; display: flex; align-items: center; padding: 56px 0; }
.hero-copy { max-width: 640px; }
.kicker { font-size: 1.05rem; font-weight: 600; color: var(--brand); margin: 0 0 20px; }
.hero-title { font-size: clamp(2.7rem, 6.4vw, 5.8rem); line-height: .98; letter-spacing: -.035em; font-weight: 800; margin: 0 0 26px; color: #fff; }
.hero-title .line { display: block; }
.dot { color: var(--brand); }
.hero .lead { font-size: 1.15rem; color: #c5d3db; max-width: 540px; margin-bottom: 30px; }
.hero-meta { position: relative; z-index: 3; border-top: 1px solid rgba(255, 255, 255, .16); background: rgba(4, 8, 12, .55); backdrop-filter: blur(6px); }
.meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; }
.meta-grid > div { padding: 22px 24px 20px 0; }
.meta-grid > div + div { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.meta-grid dt { font-size: .95rem; font-weight: 500; color: #9db0bb; margin: 0 0 8px; }
.meta-grid dd { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.meta-grid dd.text { font-size: clamp(1.1rem, 1.8vw, 1.45rem); letter-spacing: -.01em; line-height: 1.25; padding-top: 6px; }

/* ticker */
.marquee { overflow: hidden; background: var(--ink); color: #fff; border-bottom: 1px solid #1b2731; }
.marquee-track { display: flex; width: max-content; animation: ticker 140s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li { font-size: 1rem; font-weight: 600; line-height: 1; padding: 22px 0; white-space: nowrap; color: #c3d0d8; }
.marquee li::after { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #54646f; margin: 0 28px; vertical-align: middle; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.alt { background: var(--mist); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split-form { grid-template-columns: 1.2fr 1fr; }
.grid { display: grid; gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-5 { grid-template-columns: repeat(5, 1fr); gap: 12px; }
.prose p, .prose-wide { font-size: 1.08rem; }
.prose-wide { max-width: 820px; margin-bottom: 32px; }

.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: clamp(44px, 7vw, 84px) 0 clamp(32px, 5vw, 56px); }
.page-head h1 { margin-bottom: .3em; max-width: 900px; }
.page-head .lead { color: var(--muted); margin: 0; font-size: 1.2rem; max-width: 700px; }
.page-head .eyebrow { font-size: 1rem; font-weight: 600; margin-bottom: 14px; }
.page-head .eyebrow a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--brand); }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.checks li { padding: 18px 0 18px 34px; position: relative; border-bottom: 1px solid var(--line); }
.checks li::before { content: ''; position: absolute; left: 0; top: 1.5em; width: 14px; height: 14px; background: var(--brand); }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding: 4px 0; }

.card { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: 24px; color: inherit; transition: border-color .18s, transform .18s; }
.card h2 a, .card h3 a { color: var(--ink); text-decoration: none; }
.card h2 a:hover, .card h3 a:hover { color: var(--brand-dark); }
.card:hover { border-top-color: var(--brand); }
.job { display: flex; flex-direction: column; }
.job .job-actions { margin-top: auto; padding-top: 14px; }
.tag { display: inline-block; font-size: .85rem; font-weight: 600; padding: 4px 10px; background: var(--mist); color: var(--ink); border-radius: 3px; line-height: 1.3; vertical-align: middle; }
.tag-urgent { background: #fde8e6; color: #8a1c14; }
.tag-info { background: #fff1cf; color: #6b4500; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 12px; }
.pills.lead .tag { margin: 0; }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: .98rem; }
.panel { background: var(--mist); border-top: 3px solid var(--ink); padding: 28px; }
.section.alt .panel { background: var(--paper); }

.photo-card { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink); text-decoration: none; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter .4s, transform .5s; }
.photo-card:hover img { filter: none; transform: scale(1.05); }
.photo-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(4, 8, 12, .85)); }
.photo-card span { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 18px 16px 18px; color: #fff; font-weight: 700; font-size: 1rem; line-height: 1.25; border-left: 4px solid var(--brand); margin: 0 0 16px; }

.sector-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sector-grid li { background: var(--paper); padding: 30px 14px 26px; text-align: center; font-weight: 700; display: grid; gap: 14px; justify-items: center; transition: background .18s, color .18s; }
.sector-grid li:hover { background: var(--ink); color: #fff; }
.sector-icon { color: var(--brand-dark); transition: color .18s; }
.sector-grid li:hover .sector-icon { color: var(--brand); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.chips li { border: 1px solid var(--ink); padding: 7px 14px; font-weight: 600; font-size: .92rem; }

.quote { margin: 0; padding: 36px 0 0; border-top: 3px solid var(--ink); position: relative; }
.quote::before { content: '\201C'; position: absolute; top: 10px; left: 0; font-size: 5rem; line-height: 1; color: var(--brand); font-weight: 800; }
.quote blockquote { margin: 26px 0 18px; font-size: 1.02rem; }
.quote figcaption strong { display: block; }
.quote figcaption span { color: var(--muted); font-size: .9rem; }

.cta { background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 72px) 0; }
.cta-inner { text-align: left; }
.cta h2 { color: #fff; }

/* clients */
.client-group { margin-bottom: 44px; }
.client-group h2 { display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.client-group .count { font-size: 1rem; font-weight: 600; color: var(--muted); }
.client-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.client-list li { padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: .98rem; padding-right: 16px; }

/* forms */
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.filters input, .filters select { flex: 1 1 220px; max-width: 360px; }
.form { display: grid; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: clamp(22px, 4vw, 36px); margin-bottom: 32px; }
.form label { font-weight: 600; font-size: .92rem; margin-top: 10px; }
input, select, textarea { font: inherit; color: inherit; width: 100%; padding: 12px 14px; border: 1px solid #98a5ad; background: #fff; border-radius: 0; }
input[type='file'] { padding: 9px; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(59, 191, 220, .5); border-color: var(--ink); }
[aria-invalid='true'] { border-color: var(--danger); }
.form .btn { justify-self: start; margin-top: 18px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.err { color: var(--danger); font-size: .9rem; margin: 2px 0 0; font-weight: 600; }
.notice { background: var(--mist); border-left: 4px solid var(--brand); padding: 10px 14px; margin: 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.flash { padding: 14px 18px; margin: 20px 0 0; font-weight: 600; border-left: 4px solid; }
.flash-success { background: #e4f6ea; color: #14532d; border-color: #1f8a4c; }
.offices { display: grid; gap: 16px; align-content: start; }
.offices .card { padding: 20px; }
.empty { background: var(--mist); padding: 28px; text-align: center; }
.contact-lines a { color: inherit; }
.contact-lines a:hover { color: var(--brand-dark); }

.lead.section { background: var(--mist); }
.tabs { display: none; }
.tabs-ready .tabs { display: flex; gap: 0; margin: 28px 0 0; border-bottom: 1px solid var(--line); }
.tab { font: inherit; font-weight: 700; padding: 14px 24px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--muted); cursor: pointer; margin-bottom: -1px; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); border-bottom-color: var(--brand); }
.tabs-ready .tab-panel { display: none; }
.tabs-ready .tab-panel.is-active { display: grid; }
.tabs-ready .tab-title { display: none; }
.lead .form { margin-top: 0; border-top-color: var(--brand); }

/* admin */
.enquiry { margin: 16px 0; }
.enquiry.done, tr.done { opacity: .55; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { background: var(--mist); font-size: .88rem; font-weight: 700; color: var(--muted); }
.row-actions { display: flex; gap: 8px; }
.row-actions form { margin: 0; }

/* footer */
.site-footer { background: var(--ink); color: #b4c2ca; padding-top: 64px; font-size: .98rem; }
.site-footer h3 { color: #fff; font-size: 1.05rem; font-weight: 700; letter-spacing: 0; margin-bottom: 16px; }
.site-footer a { color: #dbe7ec; text-decoration-color: rgba(59, 191, 220, .6); }
.site-footer a:hover { color: var(--brand); }
.site-footer address { font-style: normal; }
.footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; gap: 48px; }
.footer-logo { background: #fff; padding: 6px 10px; margin-bottom: 18px; }
.credential { font-size: .92rem; border-left: 3px solid var(--brand); padding-left: 12px; color: #fff; }
.legal { border-top: 1px solid #22323e; margin-top: 48px; padding: 22px 0 30px; font-size: .88rem; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; background: #0f7a41; color: #fff; text-decoration: none; font-weight: 700; padding: 12px 18px; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.wa-float:hover { background: #0b5f32; color: #fff; }

@media (max-width: 1060px) {
  .nav a:not(.btn) { padding-inline: 8px; }
}
@media (max-width: 960px) {
  .sector-grid { grid-template-columns: repeat(3, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .cards-5 { grid-template-columns: repeat(3, 1fr); }
  .split, .split-form { grid-template-columns: 1fr; }
  .meta-grid { grid-template-columns: repeat(2, 1fr); }
  .meta-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .meta-grid > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
}
@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); gap: 0; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current] { border-bottom-color: var(--brand); }
  .nav .btn { margin: 12px 0 0; justify-content: center; }
}
@media (max-width: 820px) {
  .hero { min-height: 1000px; }
  .hero .lead { font-size: 1.02rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hero::before { background: linear-gradient(180deg, rgba(4, 7, 10, .92) 0%, rgba(4, 7, 10, .66) 42%, rgba(4, 7, 10, 0) 68%); }
  .hero-grid { align-items: flex-start; padding: 40px 0 0; }
}
@media (max-width: 640px) {
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-2, .cards-3, .footer-grid, .two { grid-template-columns: 1fr; }
  .cards-5 { grid-template-columns: repeat(2, 1fr); }
  .globe-label { font-size: 11px; padding: 4px 7px; border-left-width: 2px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .line { animation: none; }
  .globe { transition: none; }
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  *, *::before, *::after { transition: none !important; }
}
