/* Insight Resourcing — site styles
   Palette and type are brand-derived: navy + mint from the logo SVG. */

:root {
  --navy: #02174c;
  --navy-deep: #010d2e;
  --navy-soft: #0a2566;
  --mint: #0af886;
  --mint-deep: #05c76a;
  --mint-tint: #e6fff3;
  --paper: #f4f7fb;
  --white: #ffffff;
  --ink: #0b1b3f;
  --slate: #5b6b8c;
  --line: rgba(2, 23, 76, 0.1);
  --line-dark: rgba(255, 255, 255, 0.12);

  --display: "Clash Display", "Outfit", "Helvetica Neue", Arial, sans-serif;
  --body: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;

  --max: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 22px;
  --radius-lg: 36px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; margin: 0; color: inherit; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; }
.muted { color: var(--slate); }
.measure { max-width: 62ch; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 128px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.on-navy { background: var(--navy); color: var(--white); }
.on-paper { background: var(--paper); }
.on-mint { background: var(--mint); color: var(--navy); }
.on-navy .muted { color: rgba(255,255,255,.68); }

/* Cloud watermark — the brand mark as a huge faint outline on navy sections */
.cloud-bg { position: relative; overflow: hidden; isolation: isolate; }
.cloud-bg::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(120vw, 1500px); aspect-ratio: 1;
  right: -28%; top: -10%;
  background: url("../assets/brand/cloud-outline.svg") no-repeat center / contain;
  opacity: .07;
}
.cloud-bg.cloud-left::before { right: auto; left: -40%; top: 10%; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--body); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 1em 1.6em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-mint { background: var(--mint); color: var(--navy); }
.btn-mint:hover { background: #45ffa6; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-ghost-navy { border-color: rgba(2,23,76,.3); color: var(--navy); }
.btn-ghost-navy:hover { border-color: var(--navy); }
.btn svg { width: 1em; height: 1em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(2, 23, 76, .72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a { font-weight: 600; font-size: .95rem; opacity: .82; transition: opacity .2s; padding: 6px 0; position: relative; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--mint); border-radius: 2px; }
.nav .btn { padding: .75em 1.25em; font-size: .9rem; }
.nav .btn:hover { opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); width: 44px; height: 44px; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .3s var(--ease), opacity .2s; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 84px 0 0 0; background: var(--navy); flex-direction: column; align-items: flex-start;
    padding: 32px var(--gutter); gap: 8px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
  }
  .nav a { font-family: var(--display); font-size: 2rem; font-weight: 500; letter-spacing: -0.01em; opacity: 1; padding: 10px 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin-top: 18px; font-size: 1.1rem; }
  body.nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero (home) */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(56px, 7vw, 96px) clamp(48px, 6vw, 80px); min-height: calc(100svh - 84px); display: grid; align-items: center; }
.hero-video { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .25; pointer-events: none; }
.hero-inner { display: grid; gap: clamp(36px, 5vw, 64px); }
.hero-copy { max-width: 960px; }
.hero-copy h1 { font-size: clamp(2.1rem, 5vw, 4rem); margin-bottom: .5em; }
.hero-copy .lede { max-width: 70ch; color: rgba(255,255,255,.82); }
.hero-copy .sep { color: var(--mint); font-weight: 700; }
.trust-line { margin-top: 22px; font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 1.9vw, 1.5rem); letter-spacing: -0.01em; }
.trust-line span {
  display: inline-block; padding-bottom: 6px; position: relative;
  background: linear-gradient(90deg, #fff 0%, #fff 40%, var(--mint) 50%, #fff 60%, #fff 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: trust-sheen 6s ease-in-out infinite, trust-in .9s var(--ease) both .3s;
}
.trust-line span::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--mint); border-radius: 2px; animation: trust-rule 1.1s var(--ease) forwards .6s; }
@keyframes trust-sheen { 0%, 20% { background-position: 100% 0; } 60%, 100% { background-position: 0 0; } }
@keyframes trust-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes trust-rule { to { width: 100%; } }
.hero-panel {
  background: var(--mint); color: var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3.5vw, 44px);
  display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: clamp(24px, 4vw, 64px); align-items: center;
}
.stat { display: grid; gap: 2px; }
.stat b { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: .95; letter-spacing: -0.03em; }
.stat span { font-weight: 700; font-size: .95rem; }
.hero-panel .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 1000px) {
  .hero-panel { grid-template-columns: repeat(3, 1fr); }
  .hero-panel .hero-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 560px) {
  .hero { min-height: 0; }
  .hero-panel { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero-copy .sep { display: block; height: 8px; overflow: hidden; color: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .trust-line span { animation: none; color: var(--mint); background: none; }
  .trust-line span::after { animation: none; width: 100%; }
}

/* Logo marquee */
.marquee-section { padding-block: 44px 40px; border-bottom: 1px solid var(--line); }
.marquee-section .wrap > p { text-align: center; font-weight: 700; color: var(--slate); margin-bottom: 26px; font-size: .95rem; }
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: clamp(36px, 4.5vw, 64px); width: max-content; align-items: center; animation: marquee var(--marquee-duration, 90s) linear infinite; padding-block: 8px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 64px; width: auto; max-width: 200px; object-fit: contain; mix-blend-mode: multiply; }
.logo-chip { display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 14px 18px; border-radius: 16px; background: transparent; transition: background .25s, transform .25s var(--ease); }
.marquee-track .logo-chip { margin: -14px -18px; }
a.logo-chip:hover, a.logo-chip:focus-visible { background: var(--mint); transform: translateY(-2px); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

/* Split intro */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.split h2 { margin-bottom: .4em; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Sector tiles */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); flex-wrap: wrap; }
.section-head p { max-width: 54ch; margin: .6em 0 0; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  display: grid; align-content: space-between; gap: 40px; min-height: 190px;
  padding: 24px; border-radius: var(--radius); background: var(--navy); color: var(--white);
  transition: transform .3s var(--ease), background .3s;
}
.tile.alt { background: var(--white); color: var(--navy); border: 1px solid var(--line); }
.tile:hover { transform: translateY(-4px); }
.tile h3 { font-size: 1.5rem; }
.tile small { font-weight: 700; font-size: .9rem; opacity: .75; }
.tile .arrow { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--navy); justify-self: end; }
.tile .arrow svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 0; gap: 20px; } }

/* Role panels (roles page) */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel { border-radius: var(--radius-lg); padding: clamp(28px, 3.5vw, 44px); scroll-margin-top: 100px; }
.panel.navy { background: var(--navy); color: var(--white); }
.panel.mint { background: var(--mint-tint); color: var(--navy); border: 1px solid rgba(10,248,134,.5); }
.panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 8px; }
.panel .roles-intro { margin-bottom: 20px; opacity: .8; max-width: 48ch; }
.panel ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.panel li { break-inside: avoid; padding: 9px 0; border-top: 1px solid var(--line-dark); font-weight: 600; font-size: .98rem; }
.panel.mint li { border-color: rgba(2,23,76,.12); }
.legend { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 700; font-size: .95rem; color: var(--slate); }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 8px; }
@media (max-width: 900px) { .panels { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .panel ul { columns: 1; } }

/* Testimonials carousel */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; gap: 20px; transition: transform .55s var(--ease); will-change: transform; }
.tcard {
  flex: 0 0 calc((100% - 40px) / 3);
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 18px; min-height: 380px;
}
.tcard-head { display: flex; align-items: center; gap: 14px; }
.avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 1.1rem; flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.tcard-who b { display: block; font-size: 1.05rem; line-height: 1.25; }
.tcard-who span { display: block; color: var(--slate); font-size: .9rem; line-height: 1.35; }
.tcard-logo { margin-left: auto; height: 44px; width: 110px; display: grid; place-items: end; flex: none; }
.tcard-logo img { max-height: 44px; max-width: 110px; width: auto; height: auto; object-fit: contain; }
.tcard q { quotes: "“" "”"; display: block; font-size: 1.02rem; line-height: 1.55; }
.tcard q::before { content: open-quote; color: var(--mint-deep); font-family: var(--display); font-size: 1.6em; line-height: 0; vertical-align: -0.3em; margin-right: 2px; }
.tcard q::after { content: no-close-quote; }
.tcard .clamp { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.tcard.expanded .clamp { -webkit-line-clamp: unset; display: block; }
.tcard .more { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; align-self: flex-start; margin-top: auto; }
.tcard .more:hover { text-decoration: underline; }
.carousel-nav { display: flex; gap: 10px; justify-content: center; margin-top: 28px; align-items: center; }
.carousel-nav button {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); background: transparent; color: var(--white); cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.carousel-nav button:hover { background: var(--mint); border-color: var(--mint); color: var(--navy); }
.carousel-nav button svg { width: 18px; height: 18px; }
.carousel-nav .count { font-weight: 700; min-width: 70px; text-align: center; opacity: .8; font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) { .tcard { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .tcard { flex-basis: 100%; min-height: 0; } }

/* Testimonials page: full wall */
.twall { columns: 2; column-gap: 20px; }
.twall .tcard { break-inside: avoid; margin-bottom: 20px; min-height: 0; border: 1px solid var(--line); }
.twall .tcard .clamp { display: block; -webkit-line-clamp: unset; }
@media (max-width: 800px) { .twall { columns: 1; } }

/* Clients page grid */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.logo-grid div { background: var(--white); border: 1px solid var(--line); border-radius: 16px; aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 18px; }
.logo-grid img { max-height: 64px; max-width: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.logo-grid .logo-chip { width: 100%; height: 100%; border-radius: 12px; }
.logo-grid a.logo-chip:hover { transform: none; }

/* People cards */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; }
.person .photo { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; background: var(--paper); }
.person .photo img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--slate); font-weight: 700; margin-bottom: 14px; }
.person ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.person li a { font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 10px; }
.person li a:hover { text-decoration: underline; }
.person li svg { width: 18px; height: 18px; color: var(--mint-deep); flex: none; }
.on-navy .person { background: rgba(255,255,255,.06); border-color: var(--line-dark); }
.on-navy .person .role { color: rgba(255,255,255,.7); }
.on-navy .person li a { color: var(--white); }
.on-navy .person li svg { color: var(--mint); }
@media (max-width: 900px) { .people { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .person { grid-template-columns: 1fr; } }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.form input, .form textarea {
  font: inherit; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); width: 100%;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(10,248,134,.35); }
.form textarea { min-height: 150px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Jobs (JobAdder widget) */
.jobs-layout { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.jobs-aside { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); position: sticky; top: 100px; }
.jobs-aside h3 { margin-bottom: 10px; }
.jobs-aside .btn { margin-top: 18px; }
.jobs-fallback { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 28px; }
.jobs-fallback[hidden] { display: none; }
/* JobAdder widget skin — class names follow apps.jobadder.com/widgets/v1/sample-job-styles.css */
#ja-jobs-widget { font-family: var(--body); }
#ja-jobs-widget .ja-job-item, #ja-jobs-widget .job-item, #ja-jobs-widget .ja-job { border-top: 1px solid var(--line); padding: 22px 0; }
#ja-jobs-widget h2, #ja-jobs-widget h3, #ja-jobs-widget .ja-job-title, #ja-jobs-widget .job-title { font-family: var(--display); font-size: 1.4rem; letter-spacing: -0.01em; margin: 0 0 6px; }
#ja-jobs-widget a { color: var(--navy); font-weight: 700; }
#ja-jobs-widget .ja-job-summary, #ja-jobs-widget .job-summary { color: var(--slate); }
#ja-jobs-widget input, #ja-jobs-widget select { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); }
#ja-jobs-widget button, #ja-jobs-widget .button, #ja-jobs-widget input[type="submit"] {
  font: inherit; font-weight: 700; background: var(--navy); color: var(--white); border: 0; border-radius: 999px; padding: .8em 1.4em; cursor: pointer;
}
@media (max-width: 900px) { .jobs-layout { grid-template-columns: 1fr; } .jobs-aside { position: static; } }

/* Page hero (interior pages) */
.page-hero { padding-block: clamp(56px, 7vw, 96px) clamp(48px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); margin-bottom: .35em; }
.page-hero .lede { max-width: 58ch; color: rgba(255,255,255,.82); }

/* CTA band */
.cta-band { background: var(--mint); color: var(--navy); }
.cta-band .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--white); padding-block: 64px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid img { height: 55px; width: auto; margin-bottom: 18px; }
.footer-grid h4 { font-family: var(--body); font-size: .95rem; font-weight: 800; margin-bottom: 14px; color: rgba(255,255,255,.7); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a:hover { text-decoration: underline; }
.footer-tag { color: rgba(255,255,255,.72); max-width: 32ch; }
.footer-dash { display: inline-flex; gap: 8px; margin-top: 18px; }
.footer-dash i { width: 42px; height: 3px; background: var(--mint); border-radius: 2px; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .9rem; color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--white); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Prose (privacy etc.) */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.6rem; margin: 1.6em 0 .5em; }
.prose ul { padding-left: 1.2em; }

/* Utilities */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* ===== Dark theme: whole site on brand navy, white type, mint hairlines ===== */
body { background: var(--navy); color: var(--white); line-height: 1.55; }
.section, .section-tight, .on-paper, .marquee-section, .page-hero, .hero { background: var(--navy); color: var(--white); }
.muted { color: rgba(255,255,255,.68); }
main > section + section { border-top: 1px solid var(--mint); }
.site-footer { border-top: 1px solid var(--mint); }
.cloud-bg::before { display: none; }

/* Header: see-through blur with mint rule */
.site-header { background: rgba(2, 23, 76, .32); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); border-bottom: 1px solid var(--mint); }

/* Hero copy */
.sectors-line { margin-top: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(.95rem, 1.3vw, 1.1rem); color: var(--white); }
.hero-copy .lede { margin-bottom: 0; }

/* Marquee: logos on white tiles so colour logos sit cleanly on navy */
.marquee-section .wrap > p { color: var(--white); text-transform: uppercase; font-weight: 700; letter-spacing: .06em; }
.marquee-section { border-bottom: 0; }
.logo-chip { background: var(--white); border-radius: 16px; padding: 12px 20px; height: 88px; box-sizing: border-box; }
.marquee-track .logo-chip { margin: 0; }
.marquee-track { gap: 18px; }
.marquee-track img { height: 56px; mix-blend-mode: normal; }
a.logo-chip:hover, a.logo-chip:focus-visible { background: var(--mint); }
.logo-grid div { background: transparent; border: 0; padding: 0; }
.logo-grid .logo-chip { height: 100%; border-radius: 16px; }

/* Buttons by context */
.btn-navy { background: var(--mint); color: var(--navy); }
.btn-navy:hover { background: #45ffa6; }
.btn-ghost-navy { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost-navy:hover { border-color: var(--white); }
.cta-band .btn-navy, .hero-panel .btn-navy { background: var(--navy); color: var(--white); }
.cta-band .btn-navy:hover, .hero-panel .btn-navy:hover { background: var(--navy-soft); }
.cta-band .btn-ghost-navy, .hero-panel .btn-ghost-navy { border-color: rgba(2,23,76,.35); color: var(--navy); }
.cta-band .btn-ghost-navy:hover, .hero-panel .btn-ghost-navy:hover { border-color: var(--navy); }

/* Tiles and panels */
.tile { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: var(--white); }
.tile.alt { background: var(--mint); color: var(--navy); border-color: var(--mint); }
.tile.alt .arrow { background: var(--navy); color: var(--mint); }
.panel.navy { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.panel.mint { background: var(--mint); color: var(--navy); border-color: var(--mint); }
.panel.mint li { border-color: rgba(2,23,76,.18); }
.legend { color: rgba(255,255,255,.75); }
.legend i[style*="--navy"] { background: rgba(255,255,255,.25) !important; border: 1px solid rgba(255,255,255,.5); }

/* People, forms, jobs */
.person { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.person .role { color: rgba(255,255,255,.7); }
.person li a { color: var(--white); }
.person li svg { color: var(--mint); }
.form input, .form textarea { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); color: var(--white); }
.form input:focus, .form textarea:focus { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(10,248,134,.25); }
.jobs-aside { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.jobs-fallback { border-color: rgba(255,255,255,.25); }
#ja-jobs-widget a { color: var(--mint); }
#ja-jobs-widget .ja-job-item, #ja-jobs-widget .job-item, #ja-jobs-widget .ja-job { border-color: rgba(255,255,255,.14); }
#ja-jobs-widget .ja-job-summary, #ja-jobs-widget .job-summary { color: rgba(255,255,255,.7); }
#ja-jobs-widget button, #ja-jobs-widget .button, #ja-jobs-widget input[type="submit"] { background: var(--mint); color: var(--navy); }
#ja-jobs-widget input, #ja-jobs-widget select { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); color: var(--white); }
.prose a, .jobs-fallback a, .contact-grid a:not(.btn) { color: var(--mint); }

/* Testimonials: cards stay white for contrast; wall border tidy */
.twall .tcard { border: 0; }
.carousel-nav button { border-color: rgba(255,255,255,.35); }

/* Page heroes: a little tighter now that every section is navy */
.page-hero { padding-bottom: clamp(32px, 4vw, 56px); }
.page-hero .lede { color: rgba(255,255,255,.82); }
.cta-band, .cta-band.section-tight { background: var(--mint); color: var(--navy); border-top: 1px solid var(--mint); }
.cta-band .lede { color: var(--navy); }


/* ===== Round 3 tweaks ===== */
/* Marquee on white, no tiles */
.marquee-section, main > .marquee-section { background: var(--white); color: var(--navy); }
.marquee-section .wrap > p { color: var(--navy); }
.marquee-track .logo-chip { background: transparent; height: 88px; padding: 12px 20px; }
.marquee-track a.logo-chip:hover, .marquee-track a.logo-chip:focus-visible { background: var(--mint); }
.marquee-track { gap: 28px; }
.marquee-track img { height: 60px; }
/* Roles: uniform light-blue boxes, mint rule under each heading */
.tile, .tile.alt { background: rgba(255,255,255,.08); color: var(--white); border: 1px solid rgba(255,255,255,.16); }
.tile.alt .arrow { background: var(--mint); color: var(--navy); }
.tile h3 { padding-bottom: 10px; position: relative; }
.tile h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: var(--mint); border-radius: 2px; }
.tile small { display: block; margin-top: 6px; }
.panel.mint, .panel.navy { background: rgba(255,255,255,.08); color: var(--white); border: 1px solid rgba(255,255,255,.16); }
.panel.mint li { border-color: var(--line-dark); }
.panel h3 { padding-bottom: 12px; margin-bottom: 14px; position: relative; }
.panel h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--mint); border-radius: 2px; }
/* Testimonial logos bigger */
.tcard-logo { height: 60px; width: 150px; }
.tcard-logo img { max-height: 60px; max-width: 150px; }
/* Footer LinkedIn links */
.li-link { display: inline-flex; align-items: center; gap: 10px; }
.li-link svg { width: 18px; height: 18px; color: var(--mint); flex: none; }

/* Video behind every page banner */
.page-hero { position: relative; overflow: hidden; isolation: isolate; }

/* Team photography */
.feature-img { margin: 0 0 clamp(36px, 5vw, 56px); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.14); }
.feature-img img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.feature-img-home { margin: clamp(40px, 5vw, 64px) 0 0; }
.feature-img-home img { aspect-ratio: 16 / 8; object-position: 50% 8%; }
@media (max-width: 700px) { .feature-img-home img { aspect-ratio: 4 / 3; } }
.person .photo { background: var(--navy-soft); }

/* Marquee heading: sentence case */
.marquee-section .wrap > p { text-transform: none; letter-spacing: 0; }
/* Adam avatar: show more of the t-shirt */

/* Per-logo size tweaks */
.lg-trend-windows-doors { transform: scale(1.3); }
.twall .lg-sai-global, .carousel .lg-sai-global { transform: scale(1.4); }
.twall .lg-gumtree, .carousel .lg-gumtree { transform: scale(1.4); }
.twall .lg-oncall-group-australia, .carousel .lg-oncall-group-australia { transform: scale(1.4); }
.twall .lg-southern-star-windows-doors, .carousel .lg-southern-star-windows-doors { transform: scale(1.4); }
.twall .lg-drive-com-au, .carousel .lg-drive-com-au { transform: scale(1.25); }
.twall .lg-doordash, .carousel .lg-doordash { transform: scale(1.4); }
.twall .lg-audience-360, .carousel .lg-audience-360 { transform: scale(1.5); }
.logo-grid :is(.lg-doordash, .lg-audience-360, .lg-carsales-com, .lg-little-dot-studios, .lg-pandora, .lg-sai-global, .lg-southern-star-windows-doors, .lg-sparc-media, .lg-the-media-shop, .lg-the-urban-list, .lg-dye-durham, .lg-gumtree, .lg-news-corp, .lg-ogury, .lg-pathzz, .lg-oncall-group-australia, .lg-studio-bide, .lg-village-cinemas) { transform: scale(1.4); }
.logo-grid .lg-trend-windows-doors { transform: scale(1.82); }
.tcard-logo img, .logo-grid img, .marquee-track img { transform-origin: center; }
.tcard-logo { overflow: visible; }

/* Mobile nav fix: backdrop-filter on the header made the fixed menu collapse. Blur lives on a pseudo-element now. */
.site-header { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(2, 23, 76, .32); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }
.site-header { isolation: isolate; }
@media (max-width: 900px) {
  .nav { position: fixed; top: 85px; left: 0; right: 0; bottom: 0; background: var(--navy); z-index: 60; overflow-y: auto; }
  body.nav-open .site-header::before { background: var(--navy); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Marquee performance (mobile Safari): no blend/mask on the moving track, GPU-composited, eager images */
.marquee-track img { mix-blend-mode: normal; }
.marquee-track { will-change: transform; transform: translate3d(0,0,0); backface-visibility: hidden; }
.marquee-track .logo-chip { contain: layout paint; }
@media (max-width: 900px) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { gap: 20px; animation-duration: 120s; }
  .marquee-track .logo-chip { height: 72px; padding: 8px 12px; }
  .marquee-track img { height: 48px; max-width: 150px; }
}

/* JS-driven marquee: no CSS animation, no mask */
.marquee-track.is-js { animation: none; width: max-content; will-change: transform; }
.marquee-track.is-js .logo-chip { contain: none; }
